Bram Moolenaar
35d5af6c0b
patch 8.1.1403: cannot build without the timer feature
...
Problem: Cannot build without the timer feature.
Solution: Add #ifdef.
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 )
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 )
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.
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.
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 )
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().
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.
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.
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 )
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)
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.
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.
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 )
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.
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.
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 )
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).
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().
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.
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)
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.
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
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 )
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'.
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 )
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 )
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)
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 )
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.
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 )
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 )
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 )
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 )
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)
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.
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.
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.
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.
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().
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 )
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 )
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
2019-05-20 21:52:45 +02:00
Bram Moolenaar
80341bcd89
patch 8.1.1360: buffer left 'nomodifiable' after :substitute
...
Problem: Buffer left 'nomodifiable' after :substitute. (Ingo Karkat)
Solution: Save the value of 'modifiable' earlier' (Christian Brabandt,
closes #4403 )
2019-05-20 20:34:51 +02:00
Bram Moolenaar
f3333b02f3
patch 8.1.1359: text property wrong after :substitute with backslash
...
Problem: Text property wrong after :substitute with backslash.
Solution: Adjust text property columns when removing backslashes.
(closes #4397 )
2019-05-19 22:53:40 +02:00
Bram Moolenaar
386b43e594
patch 8.1.1358: cannot enter character with a CSI byte
...
Problem: Cannot enter character with a CSI byte.
Solution: Only check "gui.in_use" when VIMDLL is defined. (Ken Takata,
closes #4396 )
2019-05-19 21:57:11 +02:00
Bram Moolenaar
999dc14644
patch 8.1.1357: test 37 is old style
...
Problem: Test 37 is old style.
Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #4398 )
2019-05-19 21:44:08 +02:00
Bram Moolenaar
8471e57026
patch 8.1.1356: some text in heredoc assignment ends the text
...
Problem: Some text in heredoc assignment ends the text. (Ozaki Kiichi)
Solution: Recognize "let v =<<" and skip until the end.
2019-05-19 21:37:18 +02:00
Bram Moolenaar
16e9b85113
patch 8.1.1355: obvious mistakes are accepted as valid expressions
...
Problem: Obvious mistakes are accepted as valid expressions.
Solution: Be more strict about parsing numbers. (Yasuhiro Matsumoto,
closes #3981 )
2019-05-19 19:59:35 +02:00
Bram Moolenaar
f5842c5a53
patch 8.1.1354: getting a list of text lines is clumsy
...
Problem: Getting a list of text lines is clumsy.
Solution: Add the =<< assignment. (Yegappan Lakshmanan, closes #4386 )
2019-05-19 18:41:26 +02:00