Bram Moolenaar
b43683729b
patch 8.1.1409: Coverity warns for using uninitialized memory
...
Problem: Coverity warns for using uninitialized memory.
Solution: Add a condition to clearing the growarray.
v8.1.1409
2019-05-27 20:01:41 +02:00
Bram Moolenaar
bf0ecb2cb6
patch 8.1.1408: PFL_HIDDEN conflicts with system header file
...
Problem: PFL_HIDDEN conflicts with system header file.
Solution: Rename to POPF_HIDDEN.
v8.1.1408
2019-05-27 10:04:40 +02:00
Bram Moolenaar
7a8d0278bd
patch 8.1.1407: popup_create() does not support text properties
...
Problem: Popup_create() does not support text properties.
Solution: Support the third form of the text argument.
v8.1.1407
2019-05-26 23:32:06 +02:00
Bram Moolenaar
2cd0dce898
patch 8.1.1406: popup_hide() and popup_show() not implemented yet
...
Problem: popup_hide() and popup_show() not implemented yet.
Solution: Implement the functions.
v8.1.1406
2019-05-26 22:17:52 +02:00
Bram Moolenaar
68e6560b84
Update runtime files.
2019-05-26 21:33:31 +02:00
Bram Moolenaar
20c023aee0
patch 8.1.1405: "highlight" option of popup windows not supported
...
Problem: "highlight" option of popup windows not supported.
Solution: Implement the "highlight" option.
v8.1.1405
2019-05-26 21:03:24 +02:00
Bram Moolenaar
9d591525a5
patch 8.1.1404: cannot change the patch level when building with NSIS
...
Problem: Cannot change the patch level when building with NSIS.
Solution: Use $PATCHLEVEL if defined. (Christian Brabandt)
v8.1.1404
2019-05-26 20:49:42 +02:00
Bram Moolenaar
35d5af6c0b
patch 8.1.1403: cannot build without the timer feature
...
Problem: Cannot build without the timer feature.
Solution: Add #ifdef.
v8.1.1403
2019-05-26 20:44:10 +02:00
Bram Moolenaar
51fe3b14f6
patch 8.1.1402: "timer" option of popup windows not supported
...
Problem: "timer" option of popup windows not supported.
Solution: Implement the "timer" option. (Yasuhiro Matsumoto, closes #4439 )
v8.1.1402
2019-05-26 20:10:06 +02:00
Bram Moolenaar
076073950c
patch 8.1.1401: misspelled mkspellmem as makespellmem
...
Problem: Misspelled mkspellmem as makespellmem.
Solution: Drop duplicate help entry, fix test. (Naruhiko Nishino, Ken
Takata, closes #4437 )
v8.1.1401
2019-05-26 19:20:43 +02:00
Bram Moolenaar
9c27b1c6d1
patch 8.1.1400: using global pointer for tab-local popups is clumsy
...
Problem: Using global pointer for tab-local popups is clumsy.
Solution: Use the pointer in tabpage_T.
v8.1.1400
2019-05-26 18:48:13 +02:00
Bram Moolenaar
ec58384afa
patch 8.1.1399: popup windows not adjusted when switching tabs
...
Problem: Popup windows not adjusted when switching tabs.
Solution: Save and restore first_tab_popupwin. Fix closing a tabpage.
v8.1.1399
2019-05-26 14:11:23 +02:00
Bram Moolenaar
a8c99fb78e
patch 8.1.1398: duplicate line in MSVC build file
...
Problem: Duplicate line in MSVC build file.
Solution: Remove the line. (Ken Takata, closes #4436 )
v8.1.1398
2019-05-26 13:14:02 +02:00
Bram Moolenaar
80f95425cf
patch 8.1.1397: build fails in tiny version
...
Problem: Build fails in tiny version.
Solution: Always define hl_combine_attr().
v8.1.1397
2019-05-25 23:42:13 +02:00
Bram Moolenaar
193ffd1d9f
patch 8.1.1396: 'wincolor' does not apply to lines below the buffer
...
Problem: 'wincolor' does not apply to lines below the buffer.
Solution: Also apply 'wincolor' to the "~" lines and the number column.
v8.1.1396
2019-05-25 22:57:30 +02:00
Bram Moolenaar
adfde115d5
patch 8.1.1395: saving for undo may access invalid memory
...
Problem: Saving for undo may access invalid memory. (Dominique Pelle)
Solution: Set ml_line_len also when returning a constant string.
v8.1.1395
2019-05-25 22:11:45 +02:00
Bram Moolenaar
a5e44600eb
patch 8.1.1394: not restoring t_F2 in registers test
...
Problem: Not restoring t_F2 in registers test.
Solution: Assign to &t_F2 instead of t_F2. (Andy Massimino, closes #4434 )
v8.1.1394
2019-05-25 21:52:30 +02:00
Bram Moolenaar
51e14387f1
patch 8.1.1393: unnecessary type casts
...
Problem: Unnecessary type casts.
Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
v8.1.1393
2019-05-25 20:21:28 +02:00
Bram Moolenaar
682725c141
patch 8.1.1392: build failure in tiny version
...
Problem: Build failure in tiny version.
Solution: Define ex_popupclear to ex_ni if not implemented. Add UNUSED.
v8.1.1392
2019-05-25 20:10:37 +02:00
Bram Moolenaar
4d784b21d1
patch 8.1.1391: no popup window support
...
Problem: No popup window support.
Solution: Add initial code for popup windows. Add the 'wincolor' option.
v8.1.1391
2019-05-25 19:51:39 +02:00
Bram Moolenaar
8f46e4c4bd
patch 8.1.1390: search stats are off when using count or offset
...
Problem: Search stats are off when using count or offset.
Solution: Recompute the stats when needed. (Masato Nishihata, closes #4410 )
v8.1.1390
2019-05-24 22:08:15 +02:00
Bram Moolenaar
7b31a181c8
patch 8.1.1389: changes are not flushed when end and start overlap
...
Problem: Changes are not flushed when end and start overlap. (Paul Jolly)
Solution: When end of a previous changes overlaps with start of a new
change, first flush listeners.
v8.1.1389
2019-05-24 21:39:27 +02:00
Bram Moolenaar
f0884c5f3f
patch 8.1.1388: errors when calling prop_remove() for an unloaded buffer
...
Problem: Errors when calling prop_remove() for an unloaded buffer.
Solution: Bail out when the buffer is not loaded. Add a few more tests for
failing when the buffer number is invalid.
v8.1.1388
2019-05-24 21:22:29 +02:00
Bram Moolenaar
d79eef2eb1
patch 8.1.1387: calling prop_add() in an empty buffer doesn't work
...
Problem: Calling prop_add() in an empty buffer doesn't work. (Dominique
Pelle)
Solution: Open the memline before adding a text property. (closes #4412 )
v8.1.1387
2019-05-24 20:41:55 +02:00
Bram Moolenaar
18a4ba29ae
patch 8.1.1386: unessesary type casts for lalloc()
...
Problem: Unessesary type casts for lalloc().
Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
v8.1.1386
2019-05-24 19:39:03 +02:00
Bram Moolenaar
71de720c2c
patch 8.1.1385: signed/unsigned compiler warning
...
Problem: Signed/unsigned compiler warning.
Solution: Use STRLEN() instead of strlen().
v8.1.1385
2019-05-24 19:04:29 +02:00
Bram Moolenaar
964b3746b9
patch 8.1.1384: using "int" for alloc() often results in compiler warnings
...
Problem: Using "int" for alloc() often results in compiler warnings.
Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim
only works with 32 bit ints anyway.
v8.1.1384
2019-05-24 18:54:09 +02:00
Bram Moolenaar
d33a764123
patch 8.1.1383: warning for size_t/int mixup
...
Problem: Warning for size_t/int mixup.
Solution: Change type. (Mike Williams)
v8.1.1383
2019-05-24 17:56:14 +02:00
Bram Moolenaar
3020a87cb1
patch 8.1.1382: error when editing test file
...
Problem: Error when editing test file.
Solution: Remove part of modeline.
v8.1.1382
2019-05-24 17:33:01 +02:00
Bram Moolenaar
d22a6f8aaf
patch 8.1.1381: MS-Windows: missing build dependency
...
Problem: MS-Windows: missing build dependency.
Solution: Make gui_dwrite.cpp depend on gui_dwrite.h. (Ken Takata,
closes #4423
v8.1.1381
2019-05-24 17:17:54 +02:00
Bram Moolenaar
fa8f861957
patch 8.1.1380: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set
...
Problem: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set.
Solution: Invert condition. (closes #4422 )
v8.1.1380
2019-05-24 17:05:44 +02:00
Bram Moolenaar
8239c62067
patch 8.1.1379: filechanged test hangs
...
Problem: Filechanged test hangs.
Solution: Do not check 'autoread'.
v8.1.1379
2019-05-24 16:46:01 +02:00
Bram Moolenaar
701ff0a3e5
patch 8.1.1378: delete() can not handle a file name that looks like a pattern
...
Problem: Delete() can not handle a file name that looks like a pattern.
Solution: Use readdir() instead of appending "/*" and expanding wildcards.
(Ken Takata, closes #4424 , closes #696 )
v8.1.1378
2019-05-24 14:14:14 +02:00
Bram Moolenaar
fcc4d921d6
patch 8.1.1377: MS-Windows GUI uses wrong shell command for bash
...
Problem: MS-Windows GUI uses wrong shell command for bash. (Robert Bogomip)
Solution: Check that 'shellcmdflag' is "/c". (Ken Takata, closes #4418 )
v8.1.1377
2019-05-24 13:32:36 +02:00
Bram Moolenaar
e2ad826f43
patch 8.1.1376: warnings for size_t/int mixups
...
Problem: Warnings for size_t/int mixups.
Solution: Change types, add type casts. (Mike Williams)
v8.1.1376
2019-05-24 13:22:22 +02:00
Bram Moolenaar
984f031fb0
patch 8.1.1375: without "TS" in 'shortmess' get a hit-enter prompt often
...
Problem: Without "TS" in 'shortmess' get a hit-enter prompt often.
Solution: Always truncate the search message. Also avoid putting it in the
message history. (closes #4413 )
v8.1.1375
2019-05-24 13:11:47 +02:00
Bram Moolenaar
c97582b029
patch 8.1.1374: check for file changed triggers too often
...
Problem: Check for file changed triggers too often.
Solution: Don't use "b_p_ar" when it is negative.
v8.1.1374
2019-05-24 11:45:22 +02:00
Bram Moolenaar
0ab190c057
patch 8.1.1373: "[p" in Visual mode puts in wrong line
...
Problem: "[p" in Visual mode puts in wrong line.
Solution: Call nv_put() instead of duplicating the functionality.
(closes #4408 )
v8.1.1373
2019-05-23 23:27:36 +02:00
Bram Moolenaar
1c6fd1e100
patch 8.1.1372: when evaluating 'statusline' the current window is unknown
...
Problem: When evaluating 'statusline' the current window is unknown.
(Daniel Hahler)
Solution: Set "g:actual_curwin" for %{} items. Set "g:statusline_winid"
when evaluationg %!. (closes #4406 , closes #3299 )
v8.1.1372
2019-05-23 22:11:59 +02:00
Bram Moolenaar
99499b1c05
patch 8.1.1371: cannot recover from a swap file
...
Problem: Cannot recover from a swap file.
Solution: Do not expand environment variables in the swap file name.
Do not check the extension when we already know a file is a swap
file. (Ken Takata, closes 4415, closes #4369 )
v8.1.1371
2019-05-23 21:35:48 +02:00
Bram Moolenaar
05b8b07e27
patch 8.1.1370: not using the new github feature for donations
...
Problem: Not using the new github feature for donations.
Solution: Add a Sponsor button. (closes #4417 )
v8.1.1370
2019-05-23 20:42:10 +02:00
Bram Moolenaar
294d9bf966
patch 8.1.1369: get E484 when using system() during GUI startup
...
Problem: Get E484 when using system() during GUI startup.
Solution: Check "gui.starting". (Ken Takata)
v8.1.1369
2019-05-23 20:12:46 +02:00
Bram Moolenaar
e09244ee35
patch 8.1.1368: modeline test fails with python but without pythonhome
...
Problem: Modeline test fails with python but without pythonhome.
Solution: Correct test argument.
v8.1.1368
2019-05-23 17:35:55 +02:00
Bram Moolenaar
7e800c6047
patch 8.1.1367: can set 'modelineexpr' in modeline
...
Problem: can set 'modelineexpr' in modeline.
Solution: Add P_SECURE flag.
v8.1.1367
2019-05-23 17:08:49 +02:00
Bram Moolenaar
110289e781
patch 8.1.1366: using expressions in a modeline is unsafe
...
Problem: Using expressions in a modeline is unsafe.
Solution: Disallow using expressions in a modeline, unless the
'modelineexpr' option is set. Update help, add more tests.
v8.1.1366
2019-05-23 15:38:06 +02:00
Bram Moolenaar
5357552140
patch 8.1.1365: source command doesn't check for the sandbox
...
Problem: Source command doesn't check for the sandbox. (Armin Razmjou)
Solution: Check for the sandbox when sourcing a file.
v8.1.1365
2019-05-22 22:38:25 +02:00
Bram Moolenaar
5c017b2de2
patch 8.1.1364: design for popup window support needs more details
...
Problem: Design for popup window support needs more details.
Solution: Add details about using a window and buffer. Rename popup_show()
to popup_create() and add popup_show() and popup_hide().
v8.1.1364
2019-05-21 23:09:01 +02:00
Bram Moolenaar
e0b5949a3b
patch 8.1.1363: ":vert options" does not make a vertical split
...
Problem: ":vert options" does not make a vertical split.
Solution: Pass the right modifiers in $OPTWIN_CMD. (Ken Takata,
closes #4401 )
v8.1.1363
2019-05-21 20:54:45 +02:00
Bram Moolenaar
c79745a82f
patch 8.1.1362: code and data in tests can be hard to read
...
Problem: Code and data in tests can be hard to read.
Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes #4400 )
v8.1.1362
2019-05-20 22:12:34 +02:00
Bram Moolenaar
0b0ad35c33
patch 8.1.1361: Python setuptools don't work with Python 3
...
Problem: Python setuptools don't work with Python 3.
Solution: Add dummy implementation for find_module. (Joel Frederico,
closes #4402 , closes #3984
v8.1.1361
2019-05-20 21:52:45 +02:00