Bram Moolenaar
373c65104e
patch 8.2.1036: popupwin test fails sometimes
...
Problem: Popupwin test fails sometimes.
Solution: Use WaitForAssert() instead of a sleep.
2020-06-22 19:24:23 +02:00
Bram Moolenaar
7633fe595e
patch 8.2.1035: setreg() does not always clear the register
...
Problem: setreg() does not always clear the register.
Solution: Clear the register if the dict argument is empty. (Andy Massimino,
closes #3370 )
2020-06-22 19:10:56 +02:00
Bram Moolenaar
38041da1c2
patch 8.2.1034: compiler warning for uninitialized variables
...
Problem: Compiler warning for uninitialized variables.
Solution: Add initializations. (John Marriott)
2020-06-21 22:17:18 +02:00
Bram Moolenaar
73fef33014
Update runtime files
2020-06-21 22:12:03 +02:00
Bram Moolenaar
8d9437968b
patch 8.2.1033: not easy to read the test time in the test output
...
Problem: Not easy to read the test time in the test output.
Solution: Align the times. Make slow tests bold.
2020-06-21 20:39:37 +02:00
Bram Moolenaar
7fe875583b
patch 8.2.1032: error message for declaring a variable cannot be translated
...
Problem: Error message for declaring a variable cannot be translated.
Solution: Enclose in _(). Make environment variable a separate message.
2020-06-21 20:38:28 +02:00
Bram Moolenaar
f5433fbfe4
patch 8.2.1031: build failure with Perl5.32
...
Problem: Build failure with Perl5.32.
Solution: Define a few more functions. (Felix Yan, closes #6310 )
2020-06-21 20:06:54 +02:00
Bram Moolenaar
da58134eed
patch 8.2.1030: reducing size of a terminal window may cause a crash
...
Problem: Reducing size of a terminal window may cause a crash.
Solution: Make sure the row and column don't become negative. (closes #6273 )
2020-06-21 17:57:32 +02:00
Bram Moolenaar
23c5527373
patch 8.2.1029: Vim9: cannot chain function calls with -> at line start
...
Problem: Vim9: cannot chain function calls with -> at line start.
Solution: Peek ahead for a following line starting with "->". (closes #6306 )
2020-06-21 16:58:13 +02:00
Bram Moolenaar
e55b1c098d
patch 8.2.1028: Vim9: no error for declaring buffer, window, etc. variable
...
Problem: Vim9: no error for declaring buffer, window, etc. variable.
Solution: Give an error. Unify the error messages.
2020-06-21 15:52:59 +02:00
Bram Moolenaar
820ffa567c
patch 8.2.1027: GUI: multi-byte characters do not work in a terminal
...
Problem: GUI: multi-byte characters do not work in a terminal.
Solution: Do not assume a key is one byte. (closes #6304 )
2020-06-21 15:09:14 +02:00
Bram Moolenaar
a3b7fdc1bb
patch 8.2.1026: Vim9: cannot break the line after "->"
...
Problem: Vim9: cannot break the line after "->".
Solution: Check for a continuation line after "->", "[" and ".". Ignore
trailing white space.
2020-06-21 14:12:17 +02:00
Bram Moolenaar
8c524f76eb
patch 8.2.1025: tabpage menu and tabline not sufficiently tested
...
Problem: Tabpage menu and tabline not sufficiently tested.
Solution: Add tests. (Yegappan Lakshmanan, closes #6307 )
2020-06-21 13:23:45 +02:00
Bram Moolenaar
6797966dfc
patch 8.2.1024: Vim9: no error for using "let g:var = val"
...
Problem: Vim9: no error for using "let g:var = val".
Solution: Add an error.
2020-06-20 22:50:47 +02:00
Bram Moolenaar
0cb5bcf583
patch 8.2.1023: Vim9: redefining a function uses a new index every time
...
Problem: Vim9: redefining a function uses a new index every time.
Solution: When redefining a function clear the contents and re-use the
index.
2020-06-20 18:19:09 +02:00
Bram Moolenaar
845e0ee594
patch 8.2.1022: various parts of code not covered by tests
...
Problem: Various parts of code not covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6300 )
2020-06-20 16:05:32 +02:00
Bram Moolenaar
a190548e91
patch 8.2.1021: Ruby interface not tested enough
...
Problem: Ruby interface not tested enough.
Solution: Add a couple more tests. (Dominique Pellé, closes #6301 )
2020-06-20 16:00:25 +02:00
Bram Moolenaar
b326edf5b3
patch 8.2.1020: popupwin test fails in the GUI
...
Problem: Popupwin test fails in the GUI.
Solution: Send GUI byte sequence for <C-S-a>.
2020-06-20 15:03:38 +02:00
Bram Moolenaar
ef6746f637
patch 8.2.1019: mapping <M-S-a> does not work in the GUI
...
Problem: Mapping <M-S-a> does not work in the GUI.
Solution: Move the logic to remove the shift modifier to
may_remove_shift_modifier() and also use it in the GUI.
2020-06-20 14:43:23 +02:00
Bram Moolenaar
280b0dc815
patch 8.2.1018: typo in enum value
...
Problem: Typo in enum value. (James McCoy)
Solution: Fix the typo.
2020-06-20 13:29:03 +02:00
Bram Moolenaar
1089374130
patch 8.2.1017: Appveyor output doesn't show MinGW console features
...
Problem: Appveyor output doesn't show MinGW console features.
Solution: List the features of the console build.
2020-06-19 22:37:47 +02:00
Bram Moolenaar
7e380030c1
patch 8.2.1016: Vim9: test fails when channel feature is missing
...
Problem: Vim9: test fails when channel feature is missing.
Solution: Process an :if command when skipping
2020-06-19 22:35:44 +02:00
Bram Moolenaar
20298ce679
patch 8.2.1015: popup filter gets key with modifier prepended
...
Problem: Popup filter gets key with modifier prepended when using
modifyOtherKeys.
Solution: Remove the shift modifier when it is included in the key, also
when the Alt or Meta modifier is used.
2020-06-19 21:46:52 +02:00
Bram Moolenaar
1e0b7b11db
patch 8.2.1014: using "name" for a string result is confusing
...
Problem: Using "name" for a string result is confusing.
Solution: Rename to "end".
2020-06-19 19:30:53 +02:00
Bram Moolenaar
ec9b017b87
patch 8.2.1013: channel tests can be a bit flaky
...
Problem: Channel tests can be a bit flaky.
Solution: Set the g:test_is_flaky flag in SetUp().
2020-06-19 19:10:59 +02:00
Bram Moolenaar
3b74b6b4bb
patch 8.2.1012: Vim9: cannot declare single character script variables
...
Problem: Vim9: cannot declare single character script variables.
Solution: Don't see "b:", "s:", etc. as namespace. Fix item size of
sn_var_vals.
2020-06-19 19:01:43 +02:00
Bram Moolenaar
c785b9a7f4
patch 8.2.1011: Vim9: some code not tested
...
Problem: Vim9: some code not tested.
Solution: Add a few more test cases. Reorder checks for clearer error.
Remove unreachable code.
2020-06-19 18:34:15 +02:00
Bram Moolenaar
128d307963
patch 8.2.1010: build failure in libvterm with debug enabled
...
Problem: Build failure in libvterm with debug enabled. (John Little)
Solution: Use "->" instead of ".".
2020-06-19 17:20:41 +02:00
Bram Moolenaar
c5b1c20b6b
patch 8.2.1009: Vim9: some failures not checked for
...
Problem: Vim9: some failures not checked for.
Solution: Add test cases. Remove unused code.
2020-06-18 22:43:27 +02:00
Bram Moolenaar
0779fab297
patch 8.2.1008: Vim9: no test for disassambling newly added instructions
...
Problem: Vim9: no test for disassambling newly added instructions.
Solution: Add a function and check disassembly.
2020-06-18 22:18:18 +02:00
Bram Moolenaar
c8cb883015
patch 8.2.1007: completion doesn't work after ":r ++arg !"
...
Problem: Completion doesn't work after ":r ++arg !".
Solution: Skip over "++arg". (Christian Brabandt, closes #6275 ,
closes #6258 )
2020-06-18 21:14:30 +02:00
Bram Moolenaar
efd8855594
patch 8.2.1006: Vim9: require unnecessary return statement
...
Problem: Vim9: require unnecessary return statement.
Solution: Improve the use of the had_return flag. (closes #6270 )
2020-06-18 20:50:10 +02:00
Bram Moolenaar
9b68c82b7c
patch 8.2.1005: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing
...
Problem: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing.
Solution: Use an enum value.
2020-06-18 19:31:08 +02:00
Bram Moolenaar
511feec6f0
patch 8.2.1004: line numbers below filler lines not always updated
...
Problem: Line numbers below filler lines not always updated.
Solution: Don't break out of the win_line() loop too early. (Christian
Brabandt, closes #6294 , closes #6138 )
2020-06-18 19:15:27 +02:00
Bram Moolenaar
865af6b990
patch 8.2.1003: Vim9: return type of sort() is too generic
...
Problem: Vim9: return type of sort() is too generic.
Solution: Get type from the first argument. (closes #6292 )
2020-06-18 18:45:49 +02:00
Bram Moolenaar
ceb2e77510
patch 8.2.1002: test may fail when run directly
...
Problem: Test may fail when run directly.
Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285 )
2020-06-18 18:33:59 +02:00
Bram Moolenaar
72abcf42d4
patch 8.2.1001: Vim9: crash with nested "if" and assignment
...
Problem: Vim9: crash with nested "if" and assignment.
Solution: Skip more of the assignment. Do not set ctx_skip when code is
reachable.
2020-06-18 18:26:24 +02:00
Bram Moolenaar
158ea175a9
patch 8.2.1000: get error when leaving Ex mode with :visual
...
Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
autocommand was used.
Solution: Reset ex_pressedreturn. (closes #6293 )
2020-06-18 17:28:39 +02:00
Bram Moolenaar
2f03e5a0a9
patch 8.2.0999: moving to next sentence gets stuck on quote
...
Problem: Moving to next sentence gets stuck on quote.
Solution: When moving to the next sentence doesn't result in moving, advance
a character and try again. (closes #6291 )
2020-06-18 15:33:25 +02:00
Bram Moolenaar
3d9207ad2f
patch 8.2.0998: not all tag code is tested
...
Problem: Not all tag code is tested.
Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6284 )
2020-06-17 22:58:35 +02:00
Bram Moolenaar
856c1110c1
patch 8.2.0997: cannot execute a register containing line continuation
...
Problem: Cannot execute a register containing line continuation.
Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
closes #6272 )
2020-06-17 21:47:23 +02:00
Bram Moolenaar
40a019f157
patch 8.2.0996: using "aucmdwin" in win_gettype() is not ideal
...
Problem: Using "aucmdwin" in win_gettype() is not ideal.
Solution: Rename to "autocmd".
2020-06-17 21:41:35 +02:00
Bram Moolenaar
e17f8817a1
patch 8.2.0995: insufficient testing for the readdir() sort option
...
Problem: Insufficient testing for the readdir() sort option.
Solution: Add a few more tests. (Christian Brabandt, closes #6278 )
2020-06-17 20:30:44 +02:00
Bram Moolenaar
9bb3eb3e02
patch 8.2.0994: Vim9: missing function causes compilation error
...
Problem: Vim9: missing function causes compilation error.
Solution: Call test function indirectly.
2020-06-17 20:03:36 +02:00
Bram Moolenaar
f7d267ef20
patch 8.2.0993: Vim9 script test fails with normal features
...
Problem: Vim9 script test fails with normal features.
Solution: Use :func instead of :def for now.
2020-06-17 12:04:54 +02:00
Bram Moolenaar
101f4810e2
patch 8.2.0992: Vim9: crash when using :import in the Vim command
...
Problem: Vim9: crash when using :import in the Vim command.
Solution: Give an error when using :import outside of a script.
(closes #6271 )
2020-06-16 23:18:51 +02:00
Bram Moolenaar
0fe937fd86
patch 8.2.0991: cannot get window type for autocmd and preview window
...
Problem: Cannot get window type for autocmd and preview window.
Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277 )
2020-06-16 22:42:04 +02:00
Bram Moolenaar
a1bc6f1293
patch 8.2.0990: Using duplicate error number
...
Problem: Using duplicate error number.
Solution: Use an unused error number. Add a test for it.
2020-06-16 22:27:39 +02:00
Bram Moolenaar
a6e8bf2d89
patch 8.2.0989: crash after resizing a terminal window
...
Problem: Crash after resizing a terminal window. (August Masquelier)
Solution: Add check for valid row in libvterm. (closes #6273 )
2020-06-16 20:58:07 +02:00
Bram Moolenaar
84cf6bd81b
patch 8.2.0988: getting directory contents is always case sorted
...
Problem: Getting directory contents is always case sorted.
Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229 )
2020-06-16 20:03:43 +02:00
Bram Moolenaar
9af78769ee
patch 8.2.0987: Vim9: cannot assign to [var; var]
...
Problem: Vim9: cannot assign to [var; var].
Solution: Assign rest of items to a list.
2020-06-16 11:34:42 +02:00
Bram Moolenaar
c70222d12a
patch 8.2.0986: MS-Windows: functions test fails
...
Problem: MS-Windows: functions test fails.
Solution: Only simplify ///path on Unix.
2020-06-15 23:18:12 +02:00
Bram Moolenaar
fdcbe3c3fe
patch 8.2.0985: simplify() does not remove slashes from "///path"
...
Problem: Simplify() does not remove slashes from "///path".
Solution: Reduce > 2 slashes to one. (closes #6263 )
2020-06-15 21:41:56 +02:00
Bram Moolenaar
ab176ce982
patch 8.2.0984: not using previous window when closing a shell popup window
...
Problem: Not using previous window when closing a shell popup window.
Solution: Use "prevwin" if it was set. (closes #6267 )
2020-06-15 21:19:08 +02:00
Bram Moolenaar
ad72350360
patch 8.2.0983: SConstruct file type not recognized
...
Problem: SConstruct file type not recognized.
Solution: Use python for SConstruct files. (Roland Hieber)
2020-06-15 20:24:58 +02:00
Bram Moolenaar
b340baed9f
patch 8.2.0982: insufficient testing for reading/writing files
...
Problem: Insufficient testing for reading/writing files.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6257 )
Add "ui_delay" to test_override() and use it for the CTRL-O test.
2020-06-15 19:51:56 +02:00
Bram Moolenaar
47a519a933
patch 8.2.0981: Vim9: cannot compile "[var, var] = list"
...
Problem: Vim9: cannot compile "[var, var] = list".
Solution: Implement list assignment.
2020-06-14 23:05:10 +02:00
Bram Moolenaar
a65d8b5bb9
patch 8.2.0980: raku file extension not recognized
...
Problem: Raku file extension not recognized. (Steven Penny)
Solution: Recognize .raku and .rakumod. (closes #6255 )
2020-06-14 20:04:32 +02:00
Bram Moolenaar
65e0d77a66
Update runtime files
2020-06-14 17:29:55 +02:00
Bram Moolenaar
8e20f75e58
patch 8.2.0979: a couple of screendump tests fail
...
Problem: A couple of screendump tests fail.
Solution: Do not redraw when clearing t_8u.
2020-06-14 16:43:47 +02:00
Bram Moolenaar
0c8059e0b6
patch 8.2.0978: leaking memory in termcodes test
...
Problem: Leaking memory in termcodes test.
Solution: Set t_8u with set_option_value().
2020-06-14 15:35:58 +02:00
Bram Moolenaar
8dff4cbf6d
patch 8.2.0977: t_8u is made empty for the wrong terminals
...
Problem: t_8u is made empty for the wrong terminals. (Dominique Pelle)
Solution: Invert the check for TPR_YES. (closes #6254 )
2020-06-14 14:34:16 +02:00
Bram Moolenaar
df7df59d85
patch 8.2.0976: some 'cpoptions' not tested
...
Problem: Some 'cpoptions' not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6253 )
2020-06-14 13:50:55 +02:00
Bram Moolenaar
984dddbef4
patch 8.2.0975: Vim9: script variable does not accept optional s: prefix
...
Problem: Vim9: script variable does not accept optional s: prefix.
Solution: Adjust the accepted syntax.
2020-06-14 12:50:24 +02:00
Bram Moolenaar
f3decc5830
patch 8.2.0974: Vim9: memory leak when script var has wrong type
...
Problem: Vim9: memory leak when script var has wrong type.
Solution: Free the variable name.
2020-06-13 19:56:38 +02:00
Bram Moolenaar
34db91f7a4
patch 8.2.0973: Vim9: type is not checked when assigning to a script variable
...
Problem: Vim9: type is not checked when assigning to a script variable.
Solution: Check the type.
2020-06-13 19:00:10 +02:00
Bram Moolenaar
c82a5b5da5
patch 8.2.0972: Vim9 script variable declarations need a type
...
Problem: Vim9 script variable declarations need a type.
Solution: Make "let var: type" declare a script-local variable.
2020-06-13 18:09:19 +02:00
Bram Moolenaar
142499de33
patch 8.2.0971: build with tiny features fails
...
Problem: Build with tiny features fails.
Solution: Add #ifdef.
2020-06-13 16:39:31 +02:00
Bram Moolenaar
0c0eddd3dd
patch 8.2.0970: terminal properties are not available in Vim script
...
Problem: Terminal properties are not available in Vim script.
Solution: Add the terminalprops() function.
2020-06-13 15:47:25 +02:00
Bram Moolenaar
4a021dfbee
patch 8.2.0969: assert_equal() output for dicts is hard to figure out
...
Problem: Assert_equal() output for dicts is hard to figure out.
Solution: Only show the different items.
2020-06-13 15:13:38 +02:00
Bram Moolenaar
c9630d2658
patch 8.2.0968: no proper testing of the 'cpoptions' flags
...
Problem: No proper testing of the 'cpoptions' flags.
Solution: Add tests. (Yegappan Lakshmanan, closes #6251 )
2020-06-13 13:20:48 +02:00
Bram Moolenaar
71ccd03ee8
patch 8.2.0967: unnecessary type casts for vim_strnsave()
...
Problem: Unnecessary type casts for vim_strnsave().
Solution: Remove the type casts.
2020-06-12 22:59:11 +02:00
Bram Moolenaar
722e505d1a
patch 8.2.0966: 'shortmess' flag "n" not used in two places
...
Problem: 'shortmess' flag "n" not used in two places.
Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245 ,
closes #6244 )
2020-06-12 22:31:00 +02:00
Bram Moolenaar
5055c56cfb
patch 8.2.0965: has_funcundefined() is not used
...
Problem: Has_funcundefined() is not used.
Solution: Delete the function. (Dominique Pellé, closes #6242 )
2020-06-12 22:15:31 +02:00
Bram Moolenaar
37d1673ce0
patch 8.2.0964: TextYankPost does not provide info about Visual selection
...
Problem: TextYankPost does not provide info about Visual selection.
Solution: Add the 'visual' key in v:event. (closes #6249 )
2020-06-12 22:09:01 +02:00
Bram Moolenaar
6c6be9e88d
patch 8.2.0963: number increment/decrement does not work with 'virtualedit'
...
Problem: Number increment/decrement does not work with 'virtualedit'.
Solution: Handle coladd changing. (Christian Brabandt, closes #6240 ,
closes #923 )
2020-06-12 20:19:44 +02:00
Bram Moolenaar
f6e020b122
patch 8.2.0962: terminal test sometimes hangs on Travis
...
Problem: Terminal test sometimes hangs on Travis.
Solution: Do show output for this test temporarily.
2020-06-12 20:11:55 +02:00
Bram Moolenaar
ec68028604
patch 8.2.0961: MS-Windows: no completion for locales
...
Problem: MS-Windows: no completion for locales.
Solution: Use the directories in $VIMRUNTIME/lang to complete locales.
(Christian Brabandt, closes 36248)
2020-06-12 19:35:32 +02:00
Bram Moolenaar
9721fb4ea3
patch 8.2.0960: cannot use :import in legacy Vim script
...
Problem: Cannot use :import in legacy Vim script.
Solution: Support :import in any Vim script.
2020-06-11 23:10:46 +02:00
Bram Moolenaar
00e260bb6c
patch 8.2.0959: using 'quickfixtextfunc' is a bit slow
...
Problem: Using 'quickfixtextfunc' is a bit slow.
Solution: Process a list of entries. (Yegappan Lakshmanan, closes #6234 )
2020-06-11 19:35:52 +02:00
Bram Moolenaar
1de5f7c81d
patch 8.2.0958: not sufficient testing for buffer writing
...
Problem: Not sufficient testing for buffer writing.
Solution: Add a few tests. (Yegappan Lakshmanan, closes #6238 )
2020-06-11 19:22:43 +02:00
Bram Moolenaar
2d4070d3b0
patch 8.2.0957: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize one variable.
2020-06-11 12:30:13 +02:00
Bram Moolenaar
e0ebeda4d8
patch 8.2.0956: spell test fails
...
Problem: Spell test fails.
Solution: Add missing change the spell checking.
2020-06-10 22:17:58 +02:00
Bram Moolenaar
215f49c4d7
patch 8.2.0955: build fails
...
Problem: Build fails.
Solution: Add missing struct change.
2020-06-10 22:12:04 +02:00
Bram Moolenaar
f1f0ff9557
patch 8.2.0954: not all desktop files are recognized
...
Problem: Not all desktop files are recognized.
Solution: Add the *.directory pattern. (Eisuke Kawashima, closes #3317 )
2020-06-10 22:07:52 +02:00
Bram Moolenaar
362b44bd4a
patch 8.2.0953: spell checking doesn't work for CamelCased words
...
Problem: Spell checking doesn't work for CamelCased words.
Solution: Add the "camel" value in the new option 'spelloptions'.
(closes #1235 )
2020-06-10 21:47:00 +02:00
Bram Moolenaar
be5ee8686a
patch 8.2.0952: no simple way to interrupt Vim
...
Problem: No simple way to interrupt Vim.
Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
closes #1718 )
2020-06-10 20:56:58 +02:00
Bram Moolenaar
6ba24d8763
patch 8.2.0951: search stat test has leftover from debugging
...
Problem: Search stat test has leftover from debugging.
Solution: Remove line that writes a file. (Christian Brabandt, closes #6224 )
2020-06-10 20:21:09 +02:00
Bram Moolenaar
13b8205b44
patch 8.2.0950: tagjump test fails
...
Problem: Tagjump test fails.
Solution: Adjust expected text of the prompt.
2020-06-10 17:13:48 +02:00
Bram Moolenaar
ea1233fccf
patch 8.2.0949: strptime() does not use DST
...
Problem: Strptime() does not use DST.
Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230 )
2020-06-10 16:54:13 +02:00
Bram Moolenaar
d281b7c227
patch 8.2.0948: spell test fails
...
Problem: Spell test fails.
Solution: Adjust expected text of the prompt.
2020-06-10 16:39:32 +02:00
Bram Moolenaar
ab54032f29
patch 8.2.0947: readdirex() doesn't handle broken link properly
...
Problem: Readdirex() doesn't handle broken link properly.
Solution: Small fixes to readdirex(). (Christian Brabandt, closes #6226 ,
closes #6213 )
2020-06-10 15:55:36 +02:00
Bram Moolenaar
eebd555733
patch 8.2.0946: cannot use "q" to cancel a number prompt
...
Problem: Cannot use "q" to cancel a number prompt.
Solution: Recognize "q" instead of ignoring it.
2020-06-10 15:45:57 +02:00
Bram Moolenaar
152e79e94b
patch 8.2.0945: cannot use "z=" when 'spell' is off
...
Problem: Cannot use "z=" when 'spell' is off.
Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
Gary Johnson, closes #6227 )
2020-06-10 15:32:08 +02:00
Bram Moolenaar
253ea9fa42
patch 8.2.0944: xxd test leaves file behind
...
Problem: Xxd test leaves file behind.
Solution: Delete the file "XXDfile". (Christian Brabandt, closes #6228 )
2020-06-10 14:21:20 +02:00
Bram Moolenaar
32ee627750
patch 8.2.0943: displaying ^M or ^J depends on current buffer
...
Problem: Displaying ^M or ^J depends on current buffer.
Solution: Pass the displayed buffer to transchar(). (closes #6225 )
2020-06-10 14:16:49 +02:00
Bram Moolenaar
0e390f40e9
patch 8.2.0942: expanding to local dir after homedir keeps "~/"
...
Problem: Expanding to local dir after homedir keeps "~/".
Solution: Adjust modify_fname(). (Christian Brabandt, closes #6205 ,
closes #5979 )
2020-06-10 13:12:28 +02:00
Bram Moolenaar
517f00f788
patch 8.2.0941: detecting terminal properties is unstructured
...
Problem: Detecting terminal properties is unstructured.
Solution: Add a table with terminal properties. Set properties when a
terminal is detected.
2020-06-10 12:15:51 +02:00
Bram Moolenaar
0ca8b5ba7b
patch 8.2.0940: build failure with tiny features
...
Problem: Build failure with tiny features.
Solution: Add #ifdef. Add UNUSED. A bit more cleaning up.
2020-06-09 21:35:36 +02:00
Bram Moolenaar
218cb0fb62
patch 8.2.0939: checking for term escape sequences is long and confusing
...
Problem: checking for term escape sequences is long and confusing
Solution: Refactor code into separate functions.
2020-06-09 21:26:36 +02:00
Bram Moolenaar
59de417b90
patch 8.2.0938: NFA regexp uses tolower ()to compare ignore-case
...
Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs)
Solution: Use utf_fold() when possible. (ref. neovim #12456 )
2020-06-09 19:34:54 +02:00
Bram Moolenaar
dcf59c37d0
patch 8.2.0937: asan failure in the flatten() test
...
Problem: Asan failure in the flatten() test.
Solution: Free the flattened list.
2020-06-09 17:30:04 +02:00
Bram Moolenaar
a45551a535
patch 8.2.0936: some terminals misinterpret the code for getting cursor style
...
Problem: Some terminals misinterpret the code for getting cursor style.
Solution: Send a sequence to the terminal and check the result. (IWAMOTO
Kouichi, closes #2126 ) Merged with current code.
2020-06-09 15:57:37 +02:00
Bram Moolenaar
077a1e670a
patch 8.2.0935: flattening a list with existing code is slow
...
Problem: Flattening a list with existing code is slow.
Solution: Add flatten(). (Mopp, closes #3676 )
2020-06-08 20:50:43 +02:00
Bram Moolenaar
ec98e93a82
patch 8.2.0934: lhelpgrep twice in help window doesn't jump to the help topic
...
Problem: Running lhelpgrep twice in a help window doesn't jump to the help
topic.
Solution: Check whether any window with the location list is present.
(Yegappan Lakshmanan, closes #6215 )
2020-06-08 19:35:59 +02:00
Bram Moolenaar
7ba5a7eff3
patch 8.2.0933: 'quickfixtextfunc' does not get window ID of location list
...
Problem: 'quickfixtextfunc' does not get window ID of location list.
Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
closes #6222 )
2020-06-08 19:20:27 +02:00
Bram Moolenaar
f154f3ab2c
patch 8.2.0932: missspelling spelllang
...
Problem: Missspelling spelllang.
Solution: Add an "l". (Dominique Pelle)
2020-06-08 18:54:49 +02:00
Bram Moolenaar
6938e27abd
patch 8.2.0931: some remarks about BeOS remain
...
Problem: Some remarks about BeOS remain.
Solution: Remove BeOS remarks from the help and other files. (Emir Sari,
closes #6221 )
2020-06-07 22:23:19 +02:00
Bram Moolenaar
b5e18f29fa
patch 8.2.0930: script filetype detection trips over env -S argument
...
Problem: Script filetype detection trips over env -S argument.
Solution: Remove "-S" and "--ignore-environment". (closes #5013 )
Add tests.
2020-06-07 21:58:54 +02:00
Bram Moolenaar
cc613031b9
patch 8.2.0929: v:register is not cleared after an operator was executed
...
Problem: v:register is not cleared after an operator was executed.
Solution: Clear v:register after finishing an operator (Andy Massimino,
closes #5305 )
2020-06-07 21:31:18 +02:00
Bram Moolenaar
acc2240640
Update runtime files
2020-06-07 21:07:18 +02:00
Bram Moolenaar
df44a27b53
patch 8.2.0928: many type casts are used for vim_strnsave()
...
Problem: Many type casts are used for vim_strnsave().
Solution: Make the length argument size_t instead of int. (Ken Takata,
closes #5633 ) Remove some type casts.
2020-06-07 20:49:05 +02:00
Bram Moolenaar
da84ac2a6f
patch 8.2.0927: some sshconfig and ssdhconfig files are not recognized
...
Problem: Some sshconfig and ssdhconfig files are not recognized.
Solution: Add filetype patterns.
2020-06-07 20:07:43 +02:00
Bram Moolenaar
951a2fb1b8
patch 8.2.0926: cmdline test fails on Appveyor
...
Problem: Cmdline test fails on Appveyor.
Solution: Add CR to the commands. (Naruhiko Nishino, closes #6220 )
2020-06-07 19:38:10 +02:00
Bram Moolenaar
1f1fd44ef7
patch 8.2.0925: getcompletion() does not return command line arguments
...
Problem: Getcompletion() does not return command line arguments.
Solution: Add the "cmdline" option. (Shougo, closes #1140 )
2020-06-07 18:45:14 +02:00
Bram Moolenaar
bb861e293e
patch 8.2.0924: cannot save and restore a register properly
...
Problem: Cannot save and restore a register properly.
Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
Massimino, closes #3370 )
2020-06-07 18:16:36 +02:00
Bram Moolenaar
c82dd86084
patch 8.2.0923: cmdline test is slow
...
Problem: Cmdline test is slow.
Solution: Use WaitForAssert().
2020-06-07 17:30:33 +02:00
Bram Moolenaar
48af321a33
patch 8.2.0922: search test fails
...
Problem: Search test fails.
Solution: Remove failure tests for calls that no longer fail.
2020-06-07 17:20:02 +02:00
Bram Moolenaar
4fdb8bd054
patch 8.2.0921: CTRL-W T in cmdline window causes trouble
...
Problem: CTRL-W T in cmdline window causes trouble.
Solution: Disallow CTRL-W T in the cmdline window. Add more tests.
(Naruhiko Nishino, closes #6219 )
2020-06-07 17:03:21 +02:00
Bram Moolenaar
5b157fe2ed
patch 8.2.0920: writing viminfo fails with a circular reference
...
Problem: Writing viminfo fails with a circular reference.
Solution: Use copyID to detect the cycle. (closes #6217 )
2020-06-07 16:08:08 +02:00
Bram Moolenaar
673fc3e23f
patch 8.2.0919: merging modifier for modifyOtherKeys is done twice
...
Problem: Merging modifier for modifyOtherKeys is done twice.
Solution: Remove the merging done in vgetc().
2020-06-07 15:46:11 +02:00
Bram Moolenaar
a9c0104947
patch 8.2.0918: duplicate code for evaluating expression argument
...
Problem: Duplicate code for evaluating expression argument.
Solution: Merge the code and make the use more flexible.
2020-06-07 14:50:50 +02:00
Bram Moolenaar
e928366de5
patch 8.2.0917: quickfix entries do not suport a "note" type
...
Problem: Quickfix entries do not suport a "note" type.
Solution: Add support for "note". (partly by Yegappan Lakshmanan,
closes #5527 , closes #6216 )
2020-06-07 14:10:47 +02:00
Bram Moolenaar
975a880a13
patch 8.2.0916: mapping with partly modifyOtherKeys code does not work
...
Problem: Mapping with partly modifyOtherKeys code does not work.
Solution: If there is no mapping with a separate modifier include the
modifier in the key and then try mapping again. (closes #6200 )
2020-06-06 22:36:24 +02:00
Bram Moolenaar
adc17a5f9d
patch 8.2.0915: search() cannot skip over matches like searchpair() can
...
Problem: Search() cannot skip over matches like searchpair() can.
Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861 )
2020-06-06 18:37:51 +02:00
Bram Moolenaar
d8df304c59
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
...
Problem: MS-Windows: cannot specify a "modified by" text.
Solution: Add MODIFIED_BY in the MSVC build file. (Chen Lei, closes #1275 )
2020-06-06 16:18:46 +02:00
Bram Moolenaar
439c036ed0
patch 8.2.0913: code for resetting v:register is duplicated
...
Problem: Code for resetting v:register is duplicated.
Solution: Add reset_reg_var().
2020-06-06 15:58:03 +02:00
Bram Moolenaar
11f1ffd182
patch 8.2.0912: a few test cases for CJK formatting are disabled
...
Problem: A few test cases for CJK formatting are disabled.
Solution: Fix the tests and enable them. (closes #6212 )
2020-06-06 15:23:26 +02:00
Bram Moolenaar
9b7cce28d5
patch 8.2.0911: crash when opening a buffer for the cmdline window fails
...
Problem: Crash when opening a buffer for the cmdline window fails. (Chris
Barber)
Solution: Check do_ecmd() succeeds. Reset got_int if "q" was used at the
more prompt. (closes #6211 )
2020-06-06 15:14:08 +02:00
Bram Moolenaar
87fda407f8
Also fix the patch number.
2020-06-06 13:25:31 +02:00
Bram Moolenaar
fe712ced6e
Fix duplicated code that only appears in git.
2020-06-06 13:17:59 +02:00
Bram Moolenaar
8f1dde5021
patch 8.2.0910: Vim is not reproducibly buildable
...
Problem: Vim is not reproducibly buildable.
Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure.
(James McCoy, closes #513 ) Give a warning about using it.
2020-06-05 23:16:29 +02:00
Bram Moolenaar
002bc79991
patch 8.2.0909: cannot go back to the previous local directory
...
Problem: Cannot go back to the previous local directory.
Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362 )
2020-06-05 22:33:42 +02:00
Bram Moolenaar
3fffa97159
patch 8.2.0908: crash when changing the function table while listing it
...
Problem: Crash when changing the function table while listing it.
Solution: Bail out when the function table changes. (closes #6209 )
2020-06-05 21:06:10 +02:00
Bram Moolenaar
07188fc5ef
patch 8.2.0907: when using :global clipboard isn't set correctly
...
Problem: When using :global clipboard isn't set correctly.
Solution: Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian
Brabandt, closes #6203 , closes #6198 )
2020-06-05 20:03:16 +02:00
Bram Moolenaar
ea563cc22b
patch 8.2.0906: when setting 'termguicolors' SpellBad is no longer red
...
Problem: When setting 'termguicolors' SpellBad is no longer red.
Solution: Only use the RGB guisp color for cterm when using the "underline"
or "undercurl" attributes to avoid the background color to be
cleared. Also make t_8u empty when the termresponse indicates a
real xterm. (closes #6207 )
2020-06-05 19:36:57 +02:00
Bram Moolenaar
e0c3c3d6cb
patch 8.2.0905: test coverage could be better
...
Problem: Test coverage could be better.
Solution: Add a couple of tests. (Dominique Pelle, closes #6202 )
2020-06-04 22:46:04 +02:00
Bram Moolenaar
46cd43bda1
patch 8.2.0904: assuming modifyOtherKeys for rhs of mapping
...
Problem: Assuming modifyOtherKeys for rhs of mapping.
Solution: Ignore seenModifyOtherKeys for mapped characters. (closes #6200 )
2020-06-04 22:22:11 +02:00
Bram Moolenaar
852ea366d6
patch 8.2.0903: comparing WINVER does not work correctly
...
Problem: comparing WINVER does not work correctly.
Solution: Use arithmethic expansion. (Ozaki Kiichi, closes #6197 )
2020-06-04 21:32:49 +02:00
Bram Moolenaar
442a85369f
patch 8.2.0902: using searchcount() in 'statusline' causes an error
...
Problem: Using searchcount() in 'statusline' causes an error.
Solution: Avoid saving/restoring the search patten recursively.
(closes #6194 )
2020-06-04 20:56:09 +02:00
Bram Moolenaar
e52702f003
patch 8.2.0901: formatting CJK text isn't optimal
...
Problem: Formatting CJK text isn't optimal.
Solution: Properly break CJK lines. (closes #3875 )
2020-06-04 18:22:13 +02:00
Bram Moolenaar
9155825b24
patch 8.2.0900: function list test fails on MS-Windows
...
Problem: Function list test fails on MS-Windows.
Solution: Make sure the fileformat is "unix"
2020-06-04 17:19:05 +02:00
Bram Moolenaar
30cc44a97f
patch 8.2.0899: assert_equalfile() does not give a hint about the difference
...
Problem: Assert_equalfile() does not give a hint about the difference.
Solution: Display the last seen text.
2020-06-04 16:52:40 +02:00
Bram Moolenaar
6b0e528368
patch 8.2.0898: missing help for a function goes unnoticed
...
Problem: Missing help for a function goes unnoticed.
Solution: Add a test. (Gary Johnson)
2020-06-04 15:52:25 +02:00
Bram Moolenaar
ebacddbc16
patch 8.2.0897: list of functions in patched version is outdated
...
Problem: List of functions in patched version is outdated.
Solution: Update the function lists only.
2020-06-04 15:22:21 +02:00
Bram Moolenaar
14681627f3
patch 8.2.0896: crash when calling searchcount() with a string
...
Problem: Crash when calling searchcount() with a string.
Solution: Check the argument is a dict. (closes #6192 )
2020-06-03 22:57:39 +02:00
Bram Moolenaar
408c23b079
patch 8.2.0895: :mkspell output does not mention the tree type
...
Problem: :mkspell output does not mention the tree type.
Solution: Back out increasing the limits, it has no effect. Mention the
tree being compressed. Only give a message once per second.
2020-06-03 22:15:45 +02:00
Bram Moolenaar
59f88fbf24
patch 8.2.0894: :mkspell can take very long if the word count is high
...
Problem: :mkspell can take very long if the word count is high.
Solution: Use long to avoid negative numbers. Increase the limits by 20% if
the compression did not have effect.
2020-06-03 20:51:11 +02:00
Bram Moolenaar
fb517bac23
patch 8.2.0893: assert_equalfile() does not take a third argument
...
Problem: Assert_equalfile() does not take a third argument.
Solution: Implement the third argument. (Gary Johnson)
2020-06-03 19:55:35 +02:00
Bram Moolenaar
c5acc0f7fe
patch 8.2.0892: ubsan warns for undefined behavior
...
Problem: Ubsan warns for undefined behavior.
Solution: Use unsigned instead of signed variable. (Dominique Pelle,
closes #6193 )
2020-06-03 18:55:38 +02:00
Bram Moolenaar
cc836556d9
patch 8.2.0891: clang warns for invalid conversion
...
Problem: Clang warns for invalid conversion.
Solution: Use zero instead of INVALCOLOR.
2020-06-03 10:04:49 +02:00
Bram Moolenaar
1e5f8f6d65
patch 8.2.0890: no color in terminal window when 'termguicolor' is set
...
Problem: No color in terminal window when 'termguicolor' is set.
Solution: Clear the underline color. (closes #6186 )
2020-06-02 23:18:24 +02:00
Bram Moolenaar
791fb1bcda
patch 8.2.0889: using old style comments
...
Problem: Using old style comments.
Solution: Use // comments. (Yegappan Lakshmanan, closes #6190 )
2020-06-02 22:24:36 +02:00
Bram Moolenaar
441d60efd8
patch 8.2.0888: readdirex() returns size -2 for a directory
...
Problem: Readdirex() returns size -2 for a directory.
Solution: Add missing "else". (Ken Takata, closes #6185 )
2020-06-02 22:19:50 +02:00
Bram Moolenaar
57f75a5a36
patch 8.2.0887: searchcount().exact_match is 1 right after a match
...
Problem: Searchcount().exact_match is 1 right after a match.
Solution: Use LT_POS() instead of LTOREQ_POS(). (closes #6189 )
2020-06-02 22:06:21 +02:00
Bram Moolenaar
c17e66c5c0
patch 8.2.0886: cannot use octal numbers in scriptversion 4
...
Problem: Cannot use octal numbers in scriptversion 4.
Solution: Add the "0o" notation. (Ken Takata, closes #5304 )
2020-06-02 21:38:22 +02:00
Bram Moolenaar
3ac498c8a1
patch 8.2.0885: "make shadow" does not link new lua test dir
...
Problem: "make shadow" does not link new lua test dir.
Solution: Also link testdir/testluaplugin. (Elimar Riesebieter)
2020-06-02 20:25:36 +02:00
Bram Moolenaar
ea6561af92
patch 8.2.0884: searchcount() test fails on slower systems
...
Problem: Searchcount() test fails on slower systems.
Solution: Set a longer timeout.
2020-06-01 21:32:45 +02:00
Bram Moolenaar
5fbf3bc3f9
patch 8.2.0883: memory leak in test 49
...
Problem: Memory leak in test 49.
Solution: Free "sfile" from the exception.
2020-06-01 21:13:11 +02:00
Bram Moolenaar
48b1c21809
patch 8.2.0882: leaking memory when using reduce()
...
Problem: Leaking memory when using reduce().
Solution: Free the intermediate value.
2020-06-01 20:11:02 +02:00
Bram Moolenaar
d6a77f95ee
patch 8.2.0881: compiler warning for argument type
...
Problem: Compiler warning for argument type.
Solution: Add type cast. (Mike Williams)
2020-06-01 19:14:12 +02:00
Bram Moolenaar
109aece79d
patch 8.2.0880: leaking memory when using searchcount()
...
Problem: Leaking memory when using searchcount().
Solution: Free the last used search pattern.
2020-06-01 19:08:54 +02:00
Bram Moolenaar
f9ca08e95f
patch 8.2.0879: compiler warning for unused function argument
...
Problem: Compiler warning for unused function argument.
Solution: Add UNUSED.
2020-06-01 18:56:03 +02:00
Bram Moolenaar
85629985b7
patch 8.2.0878: no reduce() function
...
Problem: No reduce() function.
Solution: Add a reduce() function. (closes #5481 )
2020-06-01 18:39:20 +02:00
Bram Moolenaar
e8f5ec0d30
patch 8.2.0877: cannot get the search statistics
...
Problem: Cannot get the search statistics.
Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446 )
2020-06-01 17:28:35 +02:00
Bram Moolenaar
950587242c
patch 8.2.0876: :pwd does not give a hint about the scope of the directory
...
Problem: :pwd does not give a hint about the scope of the directory
Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes #5469 )
2020-06-01 16:26:19 +02:00
Bram Moolenaar
6c9ba04280
patch 8.2.0875: getting attributes for directory entries is slow
...
Problem: Getting attributes for directory entries is slow.
Solution: Add readdirex(). (Ken Takata, closes #5619 )
2020-06-01 16:09:41 +02:00
Bram Moolenaar
d14fd5285e
patch 8.2.0874: signals test is a bit flaky
...
Problem: Signals test is a bit flaky.
Solution: Flush the XautoOut file. Delete files that may be left behind
from a failure. (Dominique Pelle, closes #6179 )
2020-06-01 15:05:19 +02:00
Bram Moolenaar
2891459b81
patch 8.2.0873: a .jl file can be sawfish (lisp) or Julia
...
Problem: A .jl file can be sawfish (lisp) or Julia.
Solution: Do not recognize *.jl as lisp, since it might be Julia.
(closes #6178 )
2020-06-01 14:43:59 +02:00
Bram Moolenaar
f15c8b6eb3
patch 8.2.0872: XIM code is mixed with multi-byte code
...
Problem: XIM code is mixed with multi-byte code.
Solution: Move the XIM code to a separate file. (Yegappan Lakshmanan,
closes #6177 )
2020-06-01 14:34:43 +02:00
Bram Moolenaar
f17e7ea67a
patch 8.2.0871: cannot use getmarklist() as a method
...
Problem: Cannot use getmarklist() as a method.
Solution: Make getmarklist() work as a method. Add one to the column
number to match getpos(). (Yegappan Lakshmanan, closes #6176 )
2020-06-01 14:14:44 +02:00
Bram Moolenaar
ad772a63ec
patch 8.2.0870: MS-Windows: Control keys don't work in the GUI
...
Problem: MS-Windows: Control keys don't work in the GUI.
Solution: Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto,
closes #6175 )
2020-06-01 14:07:49 +02:00
Bram Moolenaar
858ba06d5f
patch 8.2.0869: it is not possible to customize the quickfix window contents
...
Problem: It is not possible to customize the quickfix window contents.
Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465 )
2020-05-31 23:11:59 +02:00
Bram Moolenaar
2245ae18e3
patch 8.2.0868: trim() always trims both ends
...
Problem: trim() always trims both ends.
Solution: Add an argument to only trim the beginning or end. (Yegappan
Lakshmanan, closes #6126 )
2020-05-31 22:20:36 +02:00
Bram Moolenaar
fccd93f091
patch 8.2.0867: using \{xxx} for encoding a modifier is not nice
...
Problem: Using \{xxx} for encoding a modifier is not nice.
Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
different code.
2020-05-31 22:06:51 +02:00
Bram Moolenaar
494e9069cb
patch 8.2.0866: not enough tests for buffer writing
...
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes #6167 )
2020-05-31 21:28:02 +02:00
Bram Moolenaar
e35a52aee7
patch 8.2.0865: syntax foldlevel is taken from the start of the line
...
Problem: Syntax foldlevel is taken from the start of the line.
Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
the line. (Brad King, closes #6087 )
2020-05-31 19:48:53 +02:00
Bram Moolenaar
d881b516da
patch 8.2.0864: pragmas are indented all the way to the left
...
Problem: Pragmas are indented all the way to the left.
Solution: Add an option to indent progmas like normal code. (Max Rumpf,
closes #5468 )
2020-05-31 17:49:30 +02:00
Bram Moolenaar
e023e88bed
patch 8.2.0863: cannot set a separate color for underline/undercurl
...
Problem: Cannot set a separate color for underline/undercurl.
Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011 )
2020-05-31 16:42:30 +02:00
Bram Moolenaar
b10090928c
patch 8.2.0862: ":term ++curwin" makes the current buffer hidden
...
Problem: ":term ++curwin" makes the current buffer hidden. (Harm te
Hennepe)
Solution: Do not hide the current buffer. (closes #6170 )
2020-05-31 16:04:42 +02:00
Bram Moolenaar
cfb4b47de0
patch 8.2.0861: cannot easily get all the current marks
...
Problem: Cannot easily get all the current marks.
Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032 )
2020-05-31 15:41:57 +02:00
Bram Moolenaar
aaad995f83
patch 8.2.0860: cannot use CTRL-A and CTRL-X on unsigned numbers
...
Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes #6144 )
2020-05-31 15:08:59 +02:00
Bram Moolenaar
f09715bc5c
patch 8.2.0859: no Turkish translation of the manual
...
Problem: No Turkish translation of the manual.
Solution: Add Turkish translations. (Emir Sarı, closes #5641 )
2020-05-31 14:25:22 +02:00
Bram Moolenaar
788fbb4707
patch 8.2.0858: not easy to require Lua modules
...
Problem: Not easy to require Lua modules.
Solution: Improve use of Lua path. (Prabir Shrestha, closes #6098 )
2020-05-31 14:08:12 +02:00
Bram Moolenaar
5cd1cb9ff9
patch 8.2.0857: GTK cell height can be a pixel too much
...
Problem: GTK cell height can be a pixel too much.
Solution: Subtract 3 instead of 1 when rounding. (closes #6168 )
2020-05-31 13:53:04 +02:00
Bram Moolenaar
928eec649b
patch 8.2.0856: CTRL-S stops output
...
Problem: CTRL-S stops output.
Solution: Invert the IXON flag. (closes #6166 )
2020-05-31 13:09:47 +02:00
Bram Moolenaar
ebe9d34aa0
patch 8.2.0855: GUI tests fail because the test doesn't use a modifier
...
Problem: GUI tests fail because the test doesn't use a modifier.
Solution: Add "\{xxx}" to be able to encode a modifier.
2020-05-30 21:52:54 +02:00
Bram Moolenaar
363d6148df
patch 8.2.0854: xxd cannot show offset as a decimal number
...
Problem: Xxd cannot show offset as a decimal number.
Solution: Add the "-d" flag. (Aapo Rantalainen, closes #5616
2020-05-30 20:50:25 +02:00
Bram Moolenaar
ca70c07b72
patch 8.2.0853: ml_delete() often called with FALSE argument
...
Problem: ml_delete() often called with FALSE argument.
Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
2020-05-30 20:30:46 +02:00
Bram Moolenaar
d6cd5ffade
patch 8.2.0852: cannot map CTRL-S on some systems
...
Problem: Cannot map CTRL-S on some systems.
Solution: Do not use CTRL-S for flow control.
2020-05-30 20:05:02 +02:00
Bram Moolenaar
f4ae6b245a
patch 8.2.0851: can't distinguish <M-a> from accented "a" in the GUI
...
Problem: Can't distinguish <M-a> from accented "a" in the GUI.
Solution: Use another way to make mapping <C-bslash> work. (closes #6163 )
2020-05-30 19:52:46 +02:00
Bram Moolenaar
95da136142
patch 8.2.0850: MS-Windows: exepath() works different from cmd.exe
...
Problem: MS-Windows: exepath() works different from cmd.exe.
Solution: Make exepath() work better on MS-Windows. (closes #6115 )
2020-05-30 18:37:55 +02:00
Bram Moolenaar
041c7107f2
patch 8.2.0849: BeOS code is not maintained and probably unused
...
Problem: BeOS code is not maintained and probably unused.
Solution: Remove the BeOS code. (Emir Sari, closes #5817 )
2020-05-30 18:14:57 +02:00
Bram Moolenaar
06b7b58455
patch 8.2.0848: MS-Windows: the Windows terminal code has some flaws
...
Problem: MS-Windows: the Windows terminal code has some flaws.
Solution: Do not redraw the right edge of the screen. Remove the background
color trick. Flush the screen output buffer often. (Nobuhiro
Takasaki, #5546 )
2020-05-30 17:49:25 +02:00
Bram Moolenaar
367d59e6ba
patch 8.2.0847: typval related code is spread out
...
Problem: Typval related code is spread out.
Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093 )
2020-05-30 17:06:14 +02:00
Bram Moolenaar
d5c2c7763d
patch 8.2.0846: build failure with small features
...
Problem: Build failure with small features.
Solution: Add #ifdef.
2020-05-30 16:17:33 +02:00
Bram Moolenaar
87be9be1db
patch 8.2.0845: text properties crossing lines not handled correctly
...
Problem: Text properties crossing lines not handled correctly.
Solution: When joining lines merge text properties if possible.
(Axel Forsman, closes #5839 , closes #5683 )
2020-05-30 15:32:02 +02:00
Bram Moolenaar
a9d4b84d97
patch 8.2.0844: text properties crossing lines not handled correctly
...
Problem: Text properties crossing lines not handled correctly.
Solution: When saving for undo include an extra line when needed and do not
adjust properties when undoing. (Axel Forsman, closes #5875 )
2020-05-30 14:46:52 +02:00
Bram Moolenaar
0016fd2e29
patch 8.2.0843: filetype elm not detected
...
Problem: Filetype elm not detected.
Solution: Recognize *.elm files. (closes #6157 )
2020-05-30 13:15:14 +02:00
Bram Moolenaar
208534d9ae
patch 8.2.0842: MS-Windows: channel tests fail
...
Problem: MS-Windows: channel tests fail.
Solution: Adjust #ifdefs. (closes #6162 )
2020-05-30 13:07:39 +02:00
Bram Moolenaar
823654bc06
patch 8.2.0841: 'verbose' value 16 causes duplicate output
...
Problem: 'verbose' value 16 causes duplicate output.
Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
closes #6153 )
2020-05-29 23:03:09 +02:00
Bram Moolenaar
6cb0726215
patch 8.2.0840: search match count wrong when only match is in fold
...
Problem: Search match count wrong when only match is in fold.
Solution: Update search stats when in a closed fold. (Christian Brabandt,
closes #6160 , closes #6152 )
2020-05-29 22:49:43 +02:00
Bram Moolenaar
b42c0d5427
patch 8.2.0839: dropping modifier when putting a character back in typeahead
...
Problem: Dropping modifier when putting a character back in typeahead.
Solution: Add modifier to ins_char_typebuf(). (closes #6158 )
2020-05-29 22:41:41 +02:00
Bram Moolenaar
09307e3bc1
patch 8.2.0838: MS-Windows: compiler warning for uninitialized variables
...
Problem: MS-Windows: compiler warning for uninitialized variables.
Solution: Initialize variables.
2020-05-29 21:42:55 +02:00
Bram Moolenaar
b60db8ba14
patch 8.2.0837: compiler warning for value set but not used
...
Problem: Compiler warning for value set but not used.
Solution: Move variable inside #ifdef.
2020-05-29 21:38:42 +02:00
Bram Moolenaar
14798ab9a5
patch 8.2.0836: not all :cdo output is visible
...
Problem: Not all :cdo output is visible.
Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes #6155 )
2020-05-28 21:30:11 +02:00
Bram Moolenaar
c998370562
patch 8.2.0835: Motif: mapping <C-bslash> still doesn't work
...
Problem: Motif: mapping <C-bslash> still doesn't work.
Solution: Accept CSI for K_SPECIAL. Do not apply CTRL to the character
early. (closes #6150 )
2020-05-28 21:03:53 +02:00
Bram Moolenaar
3f65c66df9
patch 8.2.0834: :drop command in terminal popup causes problems
...
Problem: :drop command in terminal popup causes problems.
Solution: Check for using a popup window. (closes #6151 )
2020-05-27 23:15:16 +02:00
Bram Moolenaar
ca5bc74607
patch 8.2.0833: mapping <C-bslash> doesn't work in the GUI
...
Problem: Mapping <C-bslash> doesn't work in the GUI.
Solution: Reset seenModifyOtherKeys when starting the GUI. (closes #6150 )
2020-05-27 22:08:34 +02:00
Bram Moolenaar
a55ba06f69
patch 8.2.0832: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Add initial value.
2020-05-27 21:29:04 +02:00
Bram Moolenaar
f4b68e9056
patch 8.2.0831: compiler warnings for integer sizes
...
Problem: Compiler warnings for integer sizes.
Solution: Add type casts. (Mike Williams)
2020-05-27 21:22:14 +02:00
Bram Moolenaar
80a20df86a
patch 8.2.0830: Motif: can't map "!"
...
Problem: Motif: can't map "!". (Ben Jackson)
Solution: Remove the shift modifier if it's already included in the key.
(closes #6147 )
2020-05-26 22:14:27 +02:00
Bram Moolenaar
388a5d4f20
Update runtime files
2020-05-26 21:20:45 +02:00
Bram Moolenaar
fcb0b61d15
patch 8.2.0829: filter() may give misleading error message
...
Problem: filter() may give misleading error message.
Solution: Also mention Blob as an allowed argument.
2020-05-26 20:22:01 +02:00
Bram Moolenaar
92c098d18e
patch 8.2.0828: Travis: regexp patttern doesn't work everywhere
...
Problem: Travis: regexp patttern doesn't work everywhere.
Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146 )
2020-05-26 20:09:11 +02:00
Bram Moolenaar
285b189260
patch 8.2.0827: Vim9: crash in :defcompile
...
Problem: Vim9: crash in :defcompile.
Solution: Fix off-by-one error.
2020-05-26 11:37:26 +02:00
Bram Moolenaar
ebc3de634f
patch 8.2.0826: Vim9: crash in :defcompile
...
Problem: Vim9: crash in :defcompile.
Solution: Restart the loop after a call to compile_def_function() caused the
hash table to resize.
2020-05-26 11:08:28 +02:00
Bram Moolenaar
a14e697547
patch 8.2.0825: def_function() may return pointer that was freed
...
Problem: def_function() may return pointer that was freed.
Solution: Set "fp" to NULL after freeing it.
2020-05-25 23:29:28 +02:00
Bram Moolenaar
1919371b2b
patch 8.2.0824: still not enough memory allocated when converting string
...
Problem: Still not enough memory allocated when converting string with
special character.
Solution: Reserve space for expanding K_SPECIAL. (closes #6130 )
2020-05-25 23:01:42 +02:00
Bram Moolenaar
25e0f5863e
patch 8.2.0823: Vim9: script reload test is disabled
...
Problem: Vim9: script reload test is disabled.
Solution: Compile a function in the context of the script where it was
defined. Set execution stack for compiled function. Add a test
that an error is reported for the right file/function.
2020-05-25 22:36:50 +02:00
Bram Moolenaar
2eec37926d
patch 8.2.0822: Vim9: code left over from discovery phase
...
Problem: Vim9: code left over from discovery phase.
Solution: Remove the dead code.
2020-05-25 20:33:55 +02:00
Bram Moolenaar
45a1508a22
patch 8.2.0821: Vim9: memory leak in expr test
...
Problem: Vim9: memory leak in expr test.
Solution: Do not decrement the length of the list of functions if the
current function is not at the end.
2020-05-25 00:28:33 +02:00
Bram Moolenaar
6ff71d8b7f
patch 8.2.0820: Vim9: function type isn't set until compiled
...
Problem: Vim9: function type isn't set until compiled.
Solution: Set function type early.
2020-05-24 23:45:24 +02:00
Bram Moolenaar
f40e51a880
patch 8.2.0819: compiler warning for unused variable
...
Problem: Compiler warning for unused variable.
Solution: Remove the variable.
2020-05-24 23:14:23 +02:00
Bram Moolenaar
822ba24743
patch 8.2.0818: Vim9: using a discovery phase doesn't work well
...
Problem: Vim9: using a discovery phase doesn't work well.
Solution: Remove the discovery phase, instead compile a function only when
it is used. Add :defcompile to compile def functions earlier.
2020-05-24 23:00:18 +02:00
Bram Moolenaar
f7271e8316
patch 8.2.0817: not enough memory allocated when converting string
...
Problem: Not enough memory allocated when converting string with special
character.
Solution: Reserve space for modifier code. (closes #6130 )
2020-05-24 18:45:07 +02:00
Bram Moolenaar
87202264f8
patch 8.2.0816: terminal test fails when compiled with Athena
...
Problem: Terminal test fails when compiled with Athena.
Solution: Do give an error when the GUI is not running. (hint by Dominique
Pelle, closes #5928 , closes #6132 )
2020-05-24 17:23:45 +02:00
Bram Moolenaar
9c65253fe7
patch 8.2.0815: maparg() does not provide enough information for mapset()
...
Problem: maparg() does not provide enough information for mapset().
Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified"
2020-05-24 13:10:18 +02:00
Bram Moolenaar
3718427ba3
patch 8.2.0814: clang warning for implicit conversion
...
Problem: Clang warning for implicit conversion.
Solution: Add type cast. (Dominique Pelle, closes #6124 )
2020-05-23 19:30:05 +02:00
Bram Moolenaar
591cec8366
patch 8.2.0813: libvterm code is slightly different from upstream
...
Problem: libvterm code is slightly different from upstream.
Solution: Use upstream text to avoid future merge problems. Mainly comment
style changes.
2020-05-22 22:06:06 +02:00
Bram Moolenaar
c94c1467b9
patch 8.2.0812: mapset() does not properly handle <> notation
...
Problem: mapset() does not properly handle <> notation.
Solution: Convert <> codes. (closes #6116 )
2020-05-22 20:01:06 +02:00
Bram Moolenaar
9cdcd1d0dc
patch 8.2.0811: terminal keycode test is flaky
...
Problem: Terminal keycode test is flaky.
Solution: Use WaitForAssert()
2020-05-22 14:44:26 +02:00
Bram Moolenaar
2e61e2d083
patch 8.2.0810: error when appending "tagfile" to 'wildoptions'
...
Problem: Error when appending "tagfile" to 'wildoptions'.
Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
closes #6105 )
2020-05-22 14:10:36 +02:00
Bram Moolenaar
5a80f8ad5d
patch 8.2.0809: build failure with small features
...
Problem: Build failure with small features. (Tony Mechelynck)
Solution: Move "expr" inside #ifdef.
2020-05-22 13:38:18 +02:00
Bram Moolenaar
98f1671cc0
patch 8.2.0808: not enough testing for the terminal window
...
Problem: Not enough testing for the terminal window.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6069 ) Fix memory
leak.
2020-05-22 13:34:01 +02:00
Bram Moolenaar
4c9243f9fb
patch 8.2.0807: cannot easily restore a mapping
...
Problem: Cannot easily restore a mapping.
Solution: Add mapset().
2020-05-22 13:10:44 +02:00
Bram Moolenaar
74fae513f8
patch 8.2.0806: using "func!" after vim9script gives confusing error
...
Problem: using "func!" after vim9script gives confusing error.
Solution: Give E477. (closes #6107 )
2020-05-21 21:50:58 +02:00
Bram Moolenaar
fe81389d60
patch 8.2.0805: terminal key codes test fails on some systems
...
Problem: Terminal key codes test fails on some systems.
Solution: Skip keypad 3 and 9. (Yegappan Lakshmanan, closes #6070 )
2020-05-21 20:38:31 +02:00
Bram Moolenaar
e5886ccb51
patch 8.2.0804: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revision 727, but add the index instead of switching
between RGB and indexed.
2020-05-21 20:10:04 +02:00
Bram Moolenaar
83a52533b2
patch 8.2.0803: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 764 - 767
2020-05-20 19:30:19 +02:00
Bram Moolenaar
d863728913
patch 8.2.0802: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 759 - 762.
2020-05-20 18:41:41 +02:00
Bram Moolenaar
eaa3e0dae5
patch 8.2.0801: terminal test fails on Mac
...
Problem: Terminal test fails on Mac.
Solution: Concatenate OSC pieces.
2020-05-19 23:11:00 +02:00
Bram Moolenaar
a09195f29e
patch 8.2.0800: errors from failing test are unclear
...
Problem: Errors from failing test are unclear.
Solution: Include text where parsing failed.
2020-05-19 22:38:59 +02:00
Bram Moolenaar
74c6963656
patch 8.2.0799: build fails if snprintf is not available
...
Problem: Build fails if snprintf is not available.
Solution: Use vim_snprintf().
2020-05-19 21:43:47 +02:00
Bram Moolenaar
be593bf135
patch 8.2.0798: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 755 - 758.
2020-05-19 21:20:04 +02:00
Bram Moolenaar
904e48a22b
patch 8.2.0797: MS-Windows: compiler still can't handle C99 construct
...
Problem: MS-Windows: compiler still can't handle C99 construct.
Solution: Change to C90 construct. (Dominique Pelle, closes #6106 )
2020-05-19 10:33:02 +02:00
Bram Moolenaar
37ebd42f16
patch 8.2.0796: MS-Windows: compiler can't handle C99 construct in libvterm
...
Problem: MS-Windows: compiler can't handle C99 construct in libvterm.
Solution: Change to C90 construct.
2020-05-18 23:27:50 +02:00
Bram Moolenaar
88d68de95d
patch 8.2.0795: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 748 - 754.
2020-05-18 21:51:01 +02:00
Bram Moolenaar
d098b824c1
patch 8.2.0794: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 743 - 747.
2020-05-18 21:12:59 +02:00
Bram Moolenaar
1e1d2e89fa
patch 8.2.0793: MS-Windows: cannot build GUI with small features
...
Problem: MS-Windows: cannot build GUI with small features. (Michael Soyka)
Solution: Add #ifdef around use of windowsVersion. (Ken Takata)
2020-05-18 20:17:02 +02:00
Bram Moolenaar
c33b3216c8
patch 8.2.0792: build failure with small features
...
Problem: Build failure with small features.
Solution: Add #ifdef.
2020-05-18 20:12:09 +02:00
Bram Moolenaar
b5383b174b
patch 8.2.0791: a second popup window with terminal causes trouble
...
Problem: A second popup window with terminal causes trouble.
Solution: Disallow opening a second terminal-popup window. (closes #6101 ,
closes #6103 ) Avoid defaulting to an invalid line number.
2020-05-18 19:46:48 +02:00
Bram Moolenaar
843700875e
patch 8.2.0790: Vim9: list index not well tested
...
Problem: Vim9: list index not well tested.
Solution: Add a few more tests.
2020-05-18 14:20:36 +02:00
Bram Moolenaar
66b3101672
patch 8.2.0789: Vim9: expression testing lost coverage using constants
...
Problem: Vim9: expression testing lost coverage using constants.
Solution: Use a few variables instead of constants.
2020-05-18 13:38:02 +02:00
Bram Moolenaar
deb17451ed
patch 8.2.0788: memory leak in libvterm
...
Problem: Memory leak in libvterm.
Solution: free tmpbuffer.
2020-05-17 23:34:42 +02:00
Bram Moolenaar
a2e408f598
patch 8.2.0787: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 741 - 742.
2020-05-17 23:00:52 +02:00
Bram Moolenaar
0b39ec3c7d
patch 8.2.0786: channel test is flaky on FreeBSD
...
Problem: Channel test is flaky on FreeBSD.
Solution: Set the sockiet TCP_NODELAY option. Adjust expected line count in
netbeans test. (Ozaki Kiichi, closes #6097 )
2020-05-17 22:33:53 +02:00
Bram Moolenaar
6fc3b59ee9
patch 8.2.0785: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 734 - 740.
2020-05-17 22:27:55 +02:00
Bram Moolenaar
94d729cbe8
patch 8.2.0784: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 730 - 733.
2020-05-17 21:50:16 +02:00
Bram Moolenaar
c4c9f7e43e
patch 8.2.0783: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 728 - 729.
2020-05-17 20:52:45 +02:00
Bram Moolenaar
df1643a6a7
patch 8.2.0782: cannot build with Lua on MS-Windows
...
Problem: Cannot build with Lua on MS-Windows.
Solution: Add DLL symbol for luaL_Loadstring. (Ken Takata)
2020-05-17 18:53:27 +02:00
Bram Moolenaar
9309eb2f28
patch 8.2.0781: compiler warning for not using value in Lua
...
Problem: Compiler warning for not using value in Lua.
Solution: Add "(void)".
2020-05-17 16:53:56 +02:00
Bram Moolenaar
2d2970ea59
patch 8.2.0780: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 724 - 726.
2020-05-17 16:29:47 +02:00
Bram Moolenaar
f4e16ae041
patch 8.2.0779: tmode_T not used everywhere
...
Problem: Tmode_T not used everywhere.
Solution: Also use tmode_T for settmode().
2020-05-17 16:10:11 +02:00
Bram Moolenaar
d4a5f40c0c
patch 8.2.0778: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 720 - 723.
2020-05-17 16:04:44 +02:00
Bram Moolenaar
ed37d9b324
Update feature_request.md
2020-05-17 15:17:26 +02:00
Bram Moolenaar
79ea680e6b
patch 8.2.0777: terminal test fails
...
Problem: Terminal test fails.
Solution: Adjust character position for double-wide characters.
2020-05-17 15:09:27 +02:00
Bram Moolenaar
e178ba3654
patch 8.2.0776: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revision 719.
2020-05-17 14:59:47 +02:00
Bram Moolenaar
eb04f0893a
patch 8.2.0775: not easy to call a Vim function from Lua
...
Problem: Not easy to call a Vim function from Lua.
Solution: Add vim.call() and vim.fn(). (Prabir Shrestha, closes #6063 )
2020-05-17 14:32:35 +02:00
Bram Moolenaar
26e86445bf
patch 8.2.0774: t_TI and t_TE are output when using 'visualbell'
...
Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique
Pelle)
Solution: Do not change the terminal mode for a short sleep. Do not output
t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an
enum.
2020-05-17 14:06:16 +02:00
Bram Moolenaar
3b1f18f785
patch 8.2.0773: switching to raw mode every time ":" is used
...
Problem: Switching to raw mode every time ":" is used.
Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the
next time TMODE_RAW is used it is set, but not every time.
2020-05-16 23:15:08 +02:00
Bram Moolenaar
df671b4629
patch 8.2.0772: Vim9: some variable initializations not tested
...
Problem: Vim9: some variable initializations not tested.
Solution: Add a few more tests
2020-05-16 22:33:33 +02:00
Bram Moolenaar
6f5b6dfb16
patch 8.2.0771: Vim9: cannot call a compiled closure from not compiled code
...
Problem: Vim9: cannot call a compiled closure from not compiled code.
Solution: Pass funcexe to call_user_func().
2020-05-16 21:20:12 +02:00
Bram Moolenaar
aa5fc4ec51
patch 8.2.0770: cannot map CTRL-B when using the GUI
...
Problem: Cannot map CTRL-B when using the GUI.
Solution: Reset the CTRL modifier when used. (closes #6092 )
2020-05-16 18:57:53 +02:00
Bram Moolenaar
129d6bf6b3
patch 8.2.0769: VimLeavePre not triggered when Vim is terminated
...
Problem: VimLeavePre not triggered when Vim is terminated.
Solution: Unblock autocommands.
2020-05-16 16:08:35 +02:00
Bram Moolenaar
e75ba268b3
patch 8.2.0768: Vim9: memory leak in script test
...
Problem: Vim9: memory leak in script test.
Solution: Clear typval before giving an error message.
2020-05-16 15:43:31 +02:00
Bram Moolenaar
645e3fe3fe
patch 8.2.0767: modifyOtherKeys active when using a shell command in autocmd
...
Problem: ModifyOtherKeys active when using a shell command in autocmd.
Solution: Output T_CTE when going to cooked mode. (closes 5617)
2020-05-16 15:05:04 +02:00
Bram Moolenaar
e882f7a73c
patch 8.2.0766: display error when using 'number' and 'breakindent'
...
Problem: Display error when using 'number' and 'breakindent'.
Solution: Adjust extra spaces in the first row. (Ken Takata, closes #6089 ,
closes #5986 )
2020-05-16 14:07:39 +02:00
Bram Moolenaar
fd615a3c90
patch 8.2.0765: In the GUI can't use all the modifiers.
...
Problem: In the GUI can't use all the modifiers. (Andri Möll)
Solution: Do not apply Alt/Meta early, do it later like with the terminal.
Avoid the Motif test from crashing.
2020-05-16 14:01:51 +02:00
Bram Moolenaar
a6e67e4f41
patch 8.2.0764: Vim9: assigning to option not fully tested
...
Problem: Vim9: assigning to option not fully tested.
Solution: Add more test cases. Allow using any type for assignment.
2020-05-15 23:36:40 +02:00
Bram Moolenaar
4457e1d98f
patch 8.2.0763: GUI test fails without the terminal feature
...
Problem: GUI test fails without the terminal feature.
Solution: Check the terminal feature is supported. (Ken Takata,
closes #6084 )
2020-05-15 22:46:44 +02:00
Bram Moolenaar
76cb683097
patch 8.2.0762: buffer is not considered modified after setting crypt key
...
Problem: Buffer is not considered modified after setting crypt key.
Solution: Set the modified flag. (Christian Brabandt, closes #6082 )
2020-05-15 22:30:38 +02:00
Bram Moolenaar
4aeeb63938
patch 8.2.0761: Vim9: instructions not tested
...
Problem: Vim9: instructions not tested
Solution: Use a variable instead of a constant.
2020-05-15 22:01:57 +02:00
Bram Moolenaar
4dac32caf3
patch 8.2.0760: Vim9: dict member errors not tested
...
Problem: Vim9: dict member errors not tested.
Solution: Delete unreachable error. Add tests.
2020-05-15 21:44:19 +02:00
Bram Moolenaar
270d0388d2
patch 8.2.0759: Vim9: missing changes for performance improvements
...
Problem: Vim9: missing changes for performance improvements
Solution: Use GA_GROW(). Don't call breakcheck so often.
2020-05-15 21:42:53 +02:00
Bram Moolenaar
cb7904016e
patch 8.2.0758: Vim9: no test for STORELIST and STOREDICT
...
Problem: Vim9: no test for STORELIST and STOREDICT.
Solution: Add a test. Make matches stricter.
2020-05-15 20:53:00 +02:00
Bram Moolenaar
4902ab16cb
patch 8.2.0757: Vim9: no test for MEMBER instruction
...
Problem: Vim9: no test for MEMBER instruction.
Solution: Add a test. Make matches stricter.
2020-05-15 19:21:31 +02:00
Bram Moolenaar
7e6f3fcc3c
patch 8.2.0756: MS-Windows: still a compiler warning
...
Problem: MS-Windows: still a compiler warning.
Solution: Move flag to another place in the Makefile. (Ken Takata,
closes #6083 )
2020-05-15 18:21:51 +02:00
Bram Moolenaar
227a69de1e
patch 8.2.0755: Vim9: No error when variable initializer is not a constant
...
Problem: Vim9: No error when variable initializer is not a constant.
Solution: Return FAIL when trying to get a variable value. Do not execute a
script when an error is deteted in the first or second phase.
2020-05-15 18:17:28 +02:00
Bram Moolenaar
a5d0077efb
patch 8.2.0754: Vim9: No test for forward declaration
...
Problem: Vim9: No test for forward declaration.
Solution: Add a test.
2020-05-14 23:20:55 +02:00
Bram Moolenaar
32e351179e
patch 8.2.0753: Vim9: expressions are evaluated in the discovery phase
...
Problem: Vim9: expressions are evaluated in the discovery phase.
Solution: Bail out if an expression is not a constant. Require a type for
declared constants.
2020-05-14 22:41:15 +02:00
Bram Moolenaar
e06a28f5e3
patch 8.2.0752: terminal in popup window test is a bit flaky
...
Problem: Terminal in popup window test is a bit flaky.
Solution: Wait for shell job status to be "run". Mark as flaky test.
2020-05-13 23:24:12 +02:00
Bram Moolenaar
2b72821924
Update version.c for missing patch number
2020-05-13 23:21:55 +02:00
Bram Moolenaar
7e9f351b2e
patch 8.2.0751: Vim9: performance can be improved
...
Problem: Vim9: performance can be improved.
Solution: Don't call break. Inline check for list materialize. Make an
inline version of ga_grow().
2020-05-13 22:44:22 +02:00
Bram Moolenaar
37d1b4f941
patch 8.2.0750: netbeans test is a bit flaky
...
Problem: Netbeans test is a bit flaky.
Solution: Allow for standard sign to be defined. Use WaitForAssert().
2020-05-13 17:16:04 +02:00
Bram Moolenaar
55ba4b844f
patch 8.2.0749: TERM signal test fails on FreeBSD
...
Problem: TERM signal test fails on FreeBSD.
Solution: Do not check the messages, the may appear anywhere. (Dominique
Pelle, closes #6075 )
2020-05-13 16:53:49 +02:00
Bram Moolenaar
ef6b979bfa
patch 8.2.0748: cannot get a list of all popups
...
Problem: Cannot get a list of all popups.
Solution: Add popup_list(). Use it in the test runner.
2020-05-13 16:34:15 +02:00
Bram Moolenaar
03a9f84817
patch 8.2.0747: cannot forcefully close all popups
...
Problem: Cannot forcefully close all popups.
Solution: Add the "force" argument to popup_clear(). Use it after running a
test. Put back the check for a popup when editing a file.
2020-05-13 13:40:16 +02:00
Bram Moolenaar
d502aa4c10
patch 8.2.0746: popup_clear() hangs when a popup can't be closed
...
Problem: popup_clear() hangs when a popup can't be closed.
Solution: Bail out when a popup can't be closed.
2020-05-13 01:04:32 +02:00
Bram Moolenaar
06f0853cb0
patch 8.2.0745: crash on exit when not all popups are closed
...
Problem: Crash on exit when not all popups are closed.
Solution: Close popups when freeing all memory. Disable checking for popup
when editing a file for now.
2020-05-12 23:45:16 +02:00
Bram Moolenaar
47e13953ff
Update runtime files
2020-05-12 22:49:12 +02:00
Bram Moolenaar
9e6ba8cbef
patch 8.2.0744: the name vim is not capatilized in a message
...
Problem: The name vim is not capatilized in a message.
Solution: Use "Vim" instead of "vim".
2020-05-12 22:21:26 +02:00
Bram Moolenaar
5aed0ccb96
patch 8.2.0743: can move to another buffer from a terminal in popup window
...
Problem: Can move to another buffer from a terminal in popup window.
Solution: Do not allow "gf" or editing a file. (closes #6072 )
2020-05-12 22:02:21 +02:00
Bram Moolenaar
48a687148c
patch 8.2.0742: handling of a TERM signal not tested
...
Problem: Handling of a TERM signal not tested.
Solution: Add a test for SIGTERM. (Dominique Pelle, closes #6055 )
2020-05-12 14:42:02 +02:00
Bram Moolenaar
c3fd98cf8e
patch 8.2.0741: Python tests fail because of changed message
...
Problem: Python tests fail because of changed message.
Solution: Adjust the expected messages (Dominique Pelle, closes #6066 )
2020-05-12 13:08:07 +02:00
Bram Moolenaar
86181df9f5
patch 8.2.0740: minor message mistakes
...
Problem: Minor message mistakes.
Solution: Change vim to Vim and other fixes.
2020-05-11 23:14:04 +02:00
Bram Moolenaar
b415168a98
patch 8.2.0739: incomplete profiling when exiting because of a dealy signal
...
Problem: Incomplete profiling when exiting because of a dealy signal.
Solution: Call __gcov_flush() if available.
2020-05-11 22:13:28 +02:00
Bram Moolenaar
91689ea8ae
patch 8.2.0738: mouse handling in a terminal window not well tested
...
Problem: Mouse handling in a terminal window not well tested.
Solution: Add tests. (Yegappan Lakshmanan, closes #6052 )
2020-05-11 22:04:53 +02:00
Bram Moolenaar
5c3128efe6
patch 8.2.0737: when shell doesn't support CTRL-Z Vim still handles it
...
Problem: When shell doesn't support CTRL-Z Vim still handles it.
Solution: Ignore the STOP signal if it was ignored on startup.
(Kurtis Rader, closes #5990 , closes #6058 )
2020-05-11 20:54:42 +02:00
Bram Moolenaar
aacc6afdb8
patch 8.2.0736: some files not recognized as pamenv
...
Problem: Some files not recognized as pamenv.
Solution: Add pam_inv.conf. (closes #6065 )
2020-05-11 19:46:36 +02:00
Bram Moolenaar
bc38f25c02
patch 8.2.0735: Vim9: using unitialized memory
...
Problem: Vim9: using unitialized memory.
Solution: Clear the arg_lvar field.
2020-05-10 23:20:06 +02:00
Bram Moolenaar
04816717df
patch 8.2.0734: Vim9: leaking memory when using :finish
...
Problem: Vim9: leaking memory when using :finish.
Solution: Do not check for next line in third pass.
2020-05-10 23:11:53 +02:00
Bram Moolenaar
cb2bdb1c6d
patch 8.2.0733: Vim9: assigning to dict or list argument does not work
...
Problem: Vim9: assigning to dict or list argument does not work.
Solution: Recognize an argument as assignment target.
2020-05-10 22:53:56 +02:00
Bram Moolenaar
f163bd5e41
patch 8.2.0732: Vim9: storing value in dict messes up stack
...
Problem: Vim9: storing value in dict messes up stack.
Solution: Correct item count of stack.
2020-05-10 21:47:43 +02:00
Bram Moolenaar
7e5bd91dc9
patch 8.2.0731: Vim9: parsing declarations continues after :finish
...
Problem: Vim9: parsing declarations continues after :finish.
Solution: Bail out when encountering :finish.
2020-05-10 21:20:29 +02:00
Bram Moolenaar
1cc2a94f80
patch 8.2.0730: Vim9: Assignment to dict member does not work
...
Problem: Vim9: Assignment to dict member does not work.
Solution: Parse dict assignment. Implement getting dict member.
2020-05-10 19:10:31 +02:00
Bram Moolenaar
89483d4043
patch 8.2.0729: Vim9: When reloading a script variables are not cleared
...
Problem: Vim9: When reloading a script variables are not cleared.
Solution: When sourcing a script again clear all script-local variables.
2020-05-10 15:24:44 +02:00
Bram Moolenaar
69212b11d1
patch 8.2.0728: messages about a deadly signal are not left aligned
...
Problem: Messages about a deadly signal are not left aligned.
Solution: Output a CR before the NL. (Dominique Pelle, #6055 )
2020-05-10 14:14:03 +02:00
Bram Moolenaar
d695ba732d
patch 8.2.0727: MS-Windows: new gcc compiler does not support scanf format
...
Problem: MS-Windows: new gcc compiler does not support scanf format.
Solution: Use "%ll" instead of "%I". (Ken Takata)
2020-05-10 13:42:43 +02:00
Bram Moolenaar
3b6a6eb7b4
patch 8.2.0726: Vim9: leaking memory when calling not compiled :def function
...
Problem: Vim9: leaking memory when calling not compiled :def function.
Solution: Check if function is compiled earlier.
2020-05-09 23:20:20 +02:00
Bram Moolenaar
09689a0284
patch 8.2.0725: Vim9: cannot call a function declared later in Vim9 script
...
Problem: Vim9: cannot call a function declared later in Vim9 script.
Solution: Make two passes through the script file.
2020-05-09 22:50:08 +02:00
Bram Moolenaar
396f3138ca
patch 8.2.0724: Vim9: appending to buffer/window/tab variable not tested
...
Problem: Vim9: appending to buffer/window/tab variable not tested
Solution: Add a test.
2020-05-09 18:44:56 +02:00
Bram Moolenaar
1c74721233
patch 8.2.0723: Vim9: nested constant expression not evaluated compile time
...
Problem: Vim9: nested constant expression not evaluated compile time.
Solution: Use compile_expr1() for parenthesis.
2020-05-09 18:28:34 +02:00
Bram Moolenaar
7f14155f42
patch 8.2.0722: Vim9: not handling constant expression for elseif
...
Problem: Vim9: not handling constant expression for elseif.
Solution: Use postponed constants. Delete the code for evaluating a
constant expression.
2020-05-09 17:35:53 +02:00
Bram Moolenaar
497f76bfbf
patch 8.2.0721: Vim9: leaking memory when skipping
...
Problem: Vim9: leaking memory when skipping.
Solution: Disable skipping in generate_ppconst().
2020-05-09 16:44:22 +02:00
Bram Moolenaar
b1062eb23e
patch 8.2.0720: occasional exit when encountering an X error
...
Problem: Occasional exit when encountering an X error. (Manfred Lotz)
Solution: On an X error do not exit, do preserve files.
2020-05-09 16:11:33 +02:00
Bram Moolenaar
a5565e4189
patch 8.2.0719: Vim9: more expressions can be evaluated at compile time
...
Problem: Vim9: more expressions can be evaluated at compile time
Solution: Recognize has('name').
2020-05-09 15:44:01 +02:00
Bram Moolenaar
7d3664df90
patch 8.2.0718: gcc warning for returning pointer to local variable
...
Problem: Gcc warning for returning pointer to local variable. (John
Marriott)
Solution: Return another pointer.
2020-05-09 13:06:24 +02:00
Bram Moolenaar
7d131b0715
patch 8.2.0717: Vim9: postponed constant expressions does not scale
...
Problem: Vim9: postponed constant expressions does not scale.
Solution: Add a structure to pass around postponed constants.
2020-05-08 19:10:34 +02:00
Bram Moolenaar
5c2fe64443
patch 8.2.0716: Vim9: another memory leak
...
Problem: Vim9: another memory leak.
Solution: Clear typval when failing.
2020-05-07 23:20:21 +02:00
Bram Moolenaar
cca34aa4be
patch 8.2.0715: Vim9: leaking memory
...
Problem: Vim9: leaking memory.
Solution: Free strings after concatenating them.
2020-05-07 22:23:58 +02:00
Bram Moolenaar
f0eefce93b
patch 8.2.0714: Vim9: handling constant expression does not scale
...
Problem: Vim9: handling constant expression does not scale.
Solution: Use another solution, passint typval_T.
2020-05-07 22:19:01 +02:00
Bram Moolenaar
2cfb4a2a72
Update runtime files
2020-05-07 18:56:00 +02:00
Bram Moolenaar
6115481053
patch 8.2.0713: the pam_environment file is not recognized
...
Problem: The pam_environment file is not recognized.
Solution: Add a filetype pattern for pamenv. (closes #6051 )
2020-05-07 18:51:27 +02:00
Bram Moolenaar
0ff5dedf0f
patch 8.2.0712: various code not fully tested
...
Problem: Various code not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6049 )
2020-05-07 18:43:44 +02:00
Bram Moolenaar
b2d0e51366
patch 8.2.0711: temp directory might be cleared
...
Problem: With a long running Vim the temp directory might be cleared on
some systems.
Solution: Lock the temp directory. (closes #6044 )
2020-05-07 18:37:03 +02:00
Bram Moolenaar
4a070cc82e
patch 8.2.0710: Netbeans test sometimes fails
...
Problem: Netbeans test sometimes fails.
Solution: Mark any test using an external command as flaky.
2020-05-07 18:16:35 +02:00
Bram Moolenaar
ea554ca4fa
patch 8.2.0709: MS-Windows: compiler warning for int vs size_t
...
Problem: MS-Windows: compiler warning for int vs size_t.
Solution: Add type cast. (Mike Williams)
2020-05-07 17:46:59 +02:00
Bram Moolenaar
61a8981699
patch 8.2.0708: Vim9: constant expressions are not simplified
...
Problem: Vim9: constant expressions are not simplified.
Solution: Simplify string concatenation.
2020-05-07 16:58:17 +02:00
Bram Moolenaar
f391586f3f
patch 8.2.0707: Vim9 function test fails
...
Problem: Vim9 function test fails.
Solution: Adjust expected error code.
2020-05-07 14:37:19 +02:00
Bram Moolenaar
8a1c101315
patch 8.2.0706: Vim9: using assert_fails() causes function to finish
...
Problem: Vim9: using assert_fails() causes function to finish.
Solution: Check did_emsg instead of called_emsg.
2020-05-07 14:07:25 +02:00
Bram Moolenaar
3657686a0e
patch 8.2.0705: indent tests don't run on CI for FreeBSD
...
Problem: Indent tests don't run on CI for FreeBSD.
Solution: Set modeline. (Ozaki Kiichi, closes #6048 )
2020-05-06 22:25:05 +02:00
Bram Moolenaar
f821ddaa0c
patch 8.2.0704: Vim9: memory leak in disassemble test
...
Problem: Vim9: memory leak in disassemble test.
Solution: Decrement refcount when creating funccal.
2020-05-06 22:18:17 +02:00
Bram Moolenaar
b68b346e6d
patch 8.2.0703: Vim9: closure cannot store value in outer context
...
Problem: Vim9: closure cannot store value in outer context.
Solution: Make storing value in outer context work. Make :disassemble
accept a function reference.
2020-05-06 21:06:30 +02:00
Bram Moolenaar
54ed0dff29
patch 8.2.0702: running channel tests may leave running process behind
...
Problem: Running channel tests may leave running process behind.
Solution: Make Python client exit when running into EOF. (Kurtis Rader,
part of #6046 )
2020-05-06 19:38:30 +02:00
Bram Moolenaar
2a1381c305
patch 8.2.0701: Vim9 test fails without job feature
...
Problem: Vim9 test fails without job feature.
Solution: Add feature check.
2020-05-05 23:32:58 +02:00
Bram Moolenaar
40ee466c36
patch 8.2.0700: Vim9: converting error message to exception not tested
...
Problem: Vim9: converting error message to exception not tested.
Solution: Test exception from error. Do not continue after :echoerr.
2020-05-05 22:08:26 +02:00
Bram Moolenaar
015f4267f4
patch 8.2.0699: Vim9: not all errors tested
...
Problem: Vim9: not all errors tested.
Solution: Add test for deleted function. Bail out on first error.
2020-05-05 21:25:22 +02:00
Bram Moolenaar
f9ab52e155
patch 8.2.0698: insert mode completion not fully tested
...
Problem: Insert mode completion not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6041 )
2020-05-05 19:57:18 +02:00
Bram Moolenaar
221fcc741a
patch 8.2.0697: Vim9: memory leak when using nested function
...
Problem: Vim9: memory leak when using nested function.
Solution: Unreference function when deleting instructions. Adjust reference
count for local variables.
2020-05-05 19:46:20 +02:00
Bram Moolenaar
0e65d3de0a
patch 8.2.0696: Vim9: nested function does not work properly
...
Problem: Vim9: nested function does not work properly
Solution: Create a function reference. Check argument count.
2020-05-05 17:53:16 +02:00
Bram Moolenaar
04b1269783
patch 8.2.0695: Vim9: cannot define a function inside a function
...
Problem: Vim9: cannot define a function inside a function.
Solution: Initial support for :def inside :def.
2020-05-04 23:24:44 +02:00
Bram Moolenaar
80a8d3889b
patch 8.2.0694: Haiku: channel and terminal do not work
...
Problem: Haiku: channel and terminal do not work.
Solution: Close files when the job has finished. (Ozaki Kiichi,
closes #6039 )
2020-05-03 22:57:32 +02:00
Bram Moolenaar
2fd4cd755c
patch 8.2.0693: closure using argument not tested
...
Problem: Closure using argument not tested.
Solution: Add a test, make it work.
2020-05-03 22:30:49 +02:00
Bram Moolenaar
4515bcdec8
patch 8.2.0692: startup test fails on MS-Windows
...
Problem: Startup test fails on MS-Windows.
Solution: Allow for any path.
2020-05-03 18:21:04 +02:00
Bram Moolenaar
7779ee30d9
patch 8.2.0691: startup test fails
...
Problem: Startup test fails.
Solution: Adjust expected output from -V2 argument.
2020-05-03 17:55:32 +02:00
Bram Moolenaar
5125874951
patch 8.2.0690: line number of option set by modeline is wrong
...
Problem: Line number of option set by modeline is wrong.
Solution: Do not double the line number. (Ozaki Kiichi, closes #6035 )
2020-05-03 17:19:33 +02:00
Bram Moolenaar
a38b2b737e
patch 8.2.0689: when using getaddrinfo() the error message is unclear
...
Problem: When using getaddrinfo() the error message is unclear.
Solution: Use gai_strerror() to get the message. (Ozaki Kiichi,
closes #6034 )
2020-05-03 17:03:29 +02:00
Bram Moolenaar
647a530b33
patch 8.2.0688: output clobbered if setting 'verbose' to see shell commands
...
Problem: Output clobbered if setting 'verbose' to see shell commands.
Solution: Only output "Searching for" when 'verbose' is 11 or higher.
2020-05-03 17:01:24 +02:00
Bram Moolenaar
41d4299f26
patch 8.2.0687: some tests do not work on FreeBSD
...
Problem: Some tests do not work on FreeBSD.
Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi,
closes #6036 )
2020-05-03 16:29:50 +02:00
Bram Moolenaar
2eaeaf3c31
patch 8.2.0686: formatoptions not sufficiently tested
...
Problem: Formatoptions not sufficiently tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6031 )
2020-05-03 16:04:43 +02:00
Bram Moolenaar
3df02f507f
patch 8.2.0685: Build failure
...
Problem: Build failure.
Solution: Include missing changes.
2020-05-03 15:47:33 +02:00
Bram Moolenaar
f7779c63d4
patch 8.2.0684: Vim9: memory leak when using lambda
...
Problem: Vim9: memory leak when using lambda.
Solution: Move the funccal context to the partial. Free the function when
exiting.
2020-05-03 15:38:16 +02:00
Bram Moolenaar
5adc55cb74
patch 8.2.0683: Vim9: parsing type does not always work
...
Problem: Vim9: parsing type does not always work.
Solution: Handle func type without return value. Test more closures.
Fix type check offset. Fix garbage collection.
2020-05-02 23:12:58 +02:00
Bram Moolenaar
1c0d44f8ef
patch 8.2.0682: Vim9: parsing function argument type can get stuck
...
Problem: Vim9: parsing function argument type can get stuck.
Solution: Bail out when not making progress.
2020-05-02 19:04:58 +02:00
Bram Moolenaar
0b6849e9e3
patch 8.2.0681: pattern for 'hlsearch' highlighting may leak
...
Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pelle)
Solution: Call end_search_hl() to make sure the previous pattern is freed.
(closes #6028 )
2020-05-02 18:33:25 +02:00
Bram Moolenaar
01f731e97c
patch 8.2.0680: PTYGROUP and PTYMODE are unused
...
Problem: PTYGROUP and PTYMODE are unused.
Solution: Remove from autoconf. (closes #6024 )
2020-05-02 18:14:37 +02:00
Bram Moolenaar
bf67ea1af0
patch 8.2.0679: Vim9: incomplete support for closures
...
Problem: Vim9: incomplete support for closures.
Solution: At the end of a function copy arguments and local variables if
they are still used by a referenced closure.
2020-05-02 17:52:42 +02:00
Bram Moolenaar
d58a662f44
patch 8.2.0678: rare crash for popup menu
...
Problem: Rare crash for popup menu.
Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes #6027 )
2020-05-02 14:52:57 +02:00
Bram Moolenaar
c8cd2b34d1
patch 8.2.0677: Vim9: no support for closures
...
Problem: Vim9: no support for closures.
Solution: Find variables in the outer function scope, so long as the scope
exists.
2020-05-01 19:29:08 +02:00
Bram Moolenaar
37addecc42
patch 8.2.0676: pattern in list of distributed files does not match
...
Problem: Pattern in list of distributed files does not match.
Solution: Drop "testdir/test_[a-z]*.ok". Add CI sed files.
2020-05-01 16:08:11 +02:00
Bram Moolenaar
7ceefb35c8
Update runtime files
2020-05-01 16:07:38 +02:00
Bram Moolenaar
b84a381c75
patch 8.2.0675: Vim9: no support for closures
...
Problem: Vim9: no support for closures.
Solution: Do not re-use stack entries.
2020-05-01 15:44:29 +02:00
Bram Moolenaar
11abd09521
patch 8.2.0674: some source files are too big
...
Problem: Some source files are too big.
Solution: Move text formatting functions to a new file. (Yegappan
Lakshmanan, closes #6021 )
2020-05-01 14:26:37 +02:00
Bram Moolenaar
4cfde1d273
patch 8.2.0673: cannot build Haiku in shadow directory
...
Problem: Cannot build Haiku in shadow directory.
Solution: Add symlink. (Ozaki Kiichi, closes #6023 )
2020-05-01 14:14:07 +02:00
Bram Moolenaar
6ab0953fef
patch 8.2.0672: heredoc in scripts does not accept lower case marker
...
Problem: Heredoc in scripts does not accept lower case marker.
Solution: Allow lower case only in non-Vim scripts. (Ken Takata,
closes #6019 )
2020-05-01 14:10:13 +02:00
Bram Moolenaar
9e175141f3
patch 8.2.0671: Haiku: compiler warnings
...
Problem: Haiku: compiler warnings.
Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sari,
closes #6018 )
2020-04-30 22:51:01 +02:00
Bram Moolenaar
6adb9ea0a6
patch 8.2.0670: cannot change window when evaluating 'completefunc'
...
Problem: Cannot change window when evaluating 'completefunc'.
Solution: Make a difference between not changing text or buffers and also
not changing window.
2020-04-30 22:31:18 +02:00
Bram Moolenaar
4e5534fab7
patch 8.2.0669: MS-Windows: display in VTP is a bit slow
...
Problem: MS-Windows: display in VTP is a bit slow.
Solution: Optimize the code. (Nobuhiro Takasaki, closes #6014 )
2020-04-30 20:59:57 +02:00
Bram Moolenaar
7f6f56f43c
patch 8.2.0668: compiler warning for int/size_t usage
...
Problem: Compiler warning for int/size_t usage.
Solution: Change "int" to "size_t". (Mike Williams)
2020-04-30 20:21:43 +02:00
Bram Moolenaar
2c5c1638a9
patch 8.2.0667: cannot install Haiku version from source
...
Problem: Cannot install Haiku version from source.
Solution: Update Makefile and rdef file. (Emir Sari, closes #6013 )
2020-04-30 19:54:38 +02:00
Bram Moolenaar
88e6cc2539
patch 8.2.0666: Ruby test fails on MS-Windows
...
Problem: Ruby test fails on MS-Windows.
Solution: Remove the "maintainer" line. (Ken Takata, closes #6015 )
2020-04-30 19:19:29 +02:00
Bram Moolenaar
a161cb5ddd
patch 8.2.0665: wrongly assuming Python executable is called "python"
...
Problem: Wrongly assuming Python executable is called "python".
Solution: Use detected python command. (Ken Takata, closes #6016 )
Also use CheckFunction if possible.
2020-04-30 19:09:35 +02:00
Bram Moolenaar
8dbafd0790
patch 8.2.0664: included undesired changes in Makefile
...
Problem: Included undesired changes in Makefile.
Solution: Revert the changes.
2020-04-29 23:11:32 +02:00
Bram Moolenaar
512fe833c3
patch 8.2.0663: not all systemd temp files are recognized
...
Problem: Not all systemd temp files are recognized.
Solution: Add two more patterns. (Jamie Macdonald, closes #6003 )
2020-04-29 23:02:40 +02:00
Bram Moolenaar
dfc33a665d
patch 8.2.0662: cannot use input() in a channel callback
...
Problem: Cannot use input() in a channel callback.
Solution: Reset vgetc_busy. (closes #6010 )
2020-04-29 22:30:13 +02:00
Bram Moolenaar
339d60c89b
patch 8.2.0661: eval test is still old style
...
Problem: Eval test is still old style.
Solution: Change into new style tests. (Yegappan Lakshmanan, closes #6009 )
2020-04-29 22:01:21 +02:00
Bram Moolenaar
ed8ce057b7
patch 8.2.0660: the search.c file is a bit big
...
Problem: The search.c file is a bit big.
Solution: Split off the text object code to a separate file. (Yegappan
Lakshmanan, closes #6007 )
2020-04-29 21:04:15 +02:00
Bram Moolenaar
939b5db480
patch 8.2.0659: Vim9: no test for equal func type
...
Problem: Vim9: no test for equal func type.
Solution: Add a test. Improve type check.
2020-04-28 22:49:08 +02:00
Bram Moolenaar
affc8fd2cd
patch 8.2.0658: HP-UX build fails when setenv() is not defined
...
Problem: HP-UX build fails when setenv() is not defined.
Solution: Change "colors" to "t_colors". (John Marriott)
2020-04-28 21:58:29 +02:00
Bram Moolenaar
a0a9f43ab2
patch 8.2.0657: Vim9: no check if called variable is a FuncRef
...
Problem: Vim9: no check if called variable is a FuncRef.
Solution: Add a type check.
2020-04-28 21:29:34 +02:00
Bram Moolenaar
7ed8f59ae0
patch 8.2.0656: MS-Windows: redrawing right screen edge may not be needed
...
Problem: MS-Windows: redrawing right screen edge may not be needed.
Solution: Check the build version. (Nobuhiro Takasaki, closes #6002 )
2020-04-28 20:44:42 +02:00
Bram Moolenaar
224a5f17c6
patch 8.2.0655: search code not sufficiently tested
...
Problem: Search code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5999 )
2020-04-28 20:29:07 +02:00
Bram Moolenaar
a14bb7e113
patch 8.2.0654: building with Python fails
...
Problem: Building with Python fails.
Solution: Add missing argument.
2020-04-28 00:02:41 +02:00
Bram Moolenaar
03afdcf1f4
patch 8.2.0653: using uninitialized pointer
...
Problem: using uninitialized pointer.
Solution: Move assignment up. (John Marriott)
2020-04-27 23:39:30 +02:00
Bram Moolenaar
909ed7e902
patch 8.2.0652: compiler warning for char conversion
...
Problem: Compiler warning for char conversion.
Solution: Use unsigned char buffer.
2020-04-27 23:16:41 +02:00
Bram Moolenaar
57700ee4ac
patch 8.2.0651: old style benchmark test still in list of distributed files
...
Problem: Old style benchmark test still in list of distributed files.
Solution: Remove the files from the list.
2020-04-27 22:51:33 +02:00
Bram Moolenaar
4c17ad94ec
patch 8.2.0650: Vim9: script function can be deleted
...
Problem: Vim9: script function can be deleted.
Solution: Disallow deleting script function. Delete functions when sourcing
a script again.
2020-04-27 22:47:51 +02:00
Bram Moolenaar
db93495d27
patch 8.2.0649: undo problem whn an InsertLeave autocommand resets undo
...
Problem: Undo problem whn an InsertLeave autocommand resets undo. (Kutsan
Kaplan)
Solution: Do not create a new undo block when leaving Insert mode.
2020-04-27 20:18:31 +02:00
Bram Moolenaar
0e71704b77
patch 8.2.0648: semicolon search does not work in first line
...
Problem: Semicolon search does not work in first line.
Solution: Allow the cursor to be in line zero. (Christian Brabandt,
closes #5996 )
2020-04-27 19:29:01 +02:00
Bram Moolenaar
bc970da807
patch 8.2.0647: MS-Windows: repeat count for events was not used
...
Problem: MS-Windows: repeat count for events was not used.
Solution: Check the repeat count. (Nobuhiro Takasaki, closes #5989 )
2020-04-26 19:00:07 +02:00
Bram Moolenaar
759d81549c
patch 8.2.0646: t_Co uses the value of $COLORS in the GUI
...
Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata)
Solution: Ignore $COLORS for the GUI. (closes #5992 )
2020-04-26 16:52:49 +02:00
Bram Moolenaar
07b761a012
patch 8.2.0645: MS-Windows terminal: CTRL-C does not get to child job
...
Problem: MS-Windows terminal: CTRL-C does not get to child job.
Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro
Takasaki, closes #5987 )
2020-04-26 16:06:01 +02:00
Bram Moolenaar
99fa721944
patch 8.2.0644: insufficient testing for invalid function arguments
...
Problem: Insufficient testing for invalid function arguments.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5988 )
2020-04-26 15:59:55 +02:00
Bram Moolenaar
e297802d6d
patch 8.2.0643: terminal uses brown instead of dark yellow
...
Problem: Terminal uses brown instead of dark yellow. (Romain Lafourcade)
Solution: Use color index 3 instead of 130. (closes #5993 )
2020-04-26 14:47:44 +02:00
Bram Moolenaar
7d41aa8874
patch 8.2.0642: Vim9: using invalid index
...
Problem: Vim9: using invalid index.
Solution: Check index for being valid. Fix memory leak.
2020-04-26 14:29:56 +02:00
Bram Moolenaar
6378c4fef3
patch 8.2.0641: Vim9: not expanded in :hardcopy and syn-include
...
Problem: Vim9: not expanded in :hardcopy and "syntax include".
Solution: Add the EX_EXPAND flag. Expend "syntax include".
2020-04-26 13:50:41 +02:00
Bram Moolenaar
cfe435d7fe
patch 8.2.0640: Vim9: expanding does not work
...
Problem: Vim9: expanding does not work.
Solution: Find wildcards in not compiled commands. Reorganize test files.
2020-04-25 20:02:55 +02:00
Bram Moolenaar
49b2fb36ca
patch 8.2.0639: MS-Windows: messages test still fails
...
Problem: MS-Windows: messages test still fails.
Solution: Filter out the maintainer message.
2020-04-25 17:13:56 +02:00
Bram Moolenaar
47a1a8baf9
patch 8.2.0638: MS-Windows: messages test fails
...
Problem: MS-Windows: messages test fails.
Solution: Clear environment variables.
2020-04-25 16:41:58 +02:00
Bram Moolenaar
333015a46e
patch 8.2.0637: incsearch highlighting does not work for ":sort!"
...
Problem: Incsearch highlighting does not work for ":sort!".
Solution: Skip over the exclamation point. (closes #5983 )
2020-04-25 15:54:16 +02:00
Bram Moolenaar
41f6918bf4
patch 8.2.0636: :messages does not show the maintainer when $LANG is unset
...
Problem: :messages does not show the maintainer when $LANG is unset.
Solution: Call get_mess_lang() if available. (closes #5978 )
2020-04-25 15:45:37 +02:00
Bram Moolenaar
e93c968f52
patch 8.2.0635: when using 256 colors DarkYellow does not show expected color
...
Problem: When using 256 colors DarkYellow does not show expected color.
Solution: Use color 3 instead of 130. (Romain Lafourcade, closes #5985 )
2020-04-25 15:35:32 +02:00
Bram Moolenaar
92b83ccfda
patch 8.2.0634: crash with null partial and blob
...
Problem: Crash with null partial and blob.
Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
closes #5984 )
2020-04-25 15:24:44 +02:00
Bram Moolenaar
9d8d0b5c64
patch 8.2.0633: crash when using null partial in filter()
...
Problem: Crash when using null partial in filter().
Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976 )
2020-04-24 22:47:31 +02:00
Bram Moolenaar
92c461ef1b
patch 8.2.0632: crash when using Haiku
...
Problem: Crash when using Haiku.
Solution: Lock the screen. (closes #5975 , closes #5973 )
2020-04-24 22:19:00 +02:00
Bram Moolenaar
b52575f9cf
patch 8.2.0631: Haiku file formatted with wrong tabstop
...
Problem: Haiku file formatted with wrong tabstop.
Solution: Use normal tabstop. Fix white space.
2020-04-24 22:16:13 +02:00
Bram Moolenaar
7714d7b31f
patch 8.2.0630: "make tags" does not cover Haiku GUI file
...
Problem: "make tags" does not cover Haiku GUI file.
Solution: Add *.cc files.
2020-04-24 21:21:06 +02:00
Bram Moolenaar
65d032c779
patch 8.2.0629: setting a boolean option to v:false does not work
...
Problem: Setting a boolean option to v:false does not work.
Solution: Do not use the string representation of the value. (Christian
Brabandt, closes #5974 )
2020-04-24 20:57:01 +02:00
Bram Moolenaar
e71ebb46a2
patch 8.2.0628: error in menu translations
...
Problem: Error in menu translations.
Solution: Insert a backslash before a space in one more file. (Shun Bai,
Emir Sari)
2020-04-23 23:54:04 +02:00
Bram Moolenaar
b8ce6b0005
patch 8.2.0627: Vim9: error message does not work
...
Problem: Vim9: error message does not work. (Yegappan Lakshmanan)
Solution: Swap lines.
2020-04-23 22:23:14 +02:00
Bram Moolenaar
f93c7fea08
patch 8.2.0626: Vim9: wrong syntax of function in Vim9 script
...
Problem: Vim9: wrong syntax of function in Vim9 script.
Solution: Give error for missing space. Implement :echomsg and :echoerr.
(closes #5670 )
2020-04-23 22:16:53 +02:00
Bram Moolenaar
1df8b3fb04
patch 8.2.0625: Vim9: confusing error when calling unknown function
...
Problem: Vim9: confusing error when calling unknown function.
Solution: Give error while compiling.
2020-04-23 18:13:23 +02:00
Bram Moolenaar
a72cfb80cd
patch 8.2.0624: Vim9: no check for space before #comment
...
Problem: Vim9: no check for space before #comment.
Solution: Add space checks. Fix :throw with double quoted string.
2020-04-23 17:07:30 +02:00
Bram Moolenaar
f7b398c6a9
patch 8.2.0623: typo in test comment
...
Problem: Typo in test comment. (Christ van Willegen)
Solution: Avoid mixing up a data structure with a body part.
2020-04-23 15:46:35 +02:00
Bram Moolenaar
beae4084fd
patch 8.2.0622: Haiku: GUI does not compile
...
Problem: Haiku: GUI does not compile.
Solution: Various fixes. (Emir Sari, closes #5961 )
2020-04-23 15:41:49 +02:00
Bram Moolenaar
95a467e7ee
patch 8.2.0621: after running tests asan files may remain
...
Problem: After running tests asan files may remain.
Solution: Clean up asan files with "make testclean".
2020-04-23 14:41:46 +02:00
Bram Moolenaar
0d6fe631f7
patch 8.2.0620: error in menu translations
...
Problem: Error in menu translations.
Solution: Insert a backslash before a space.
2020-04-23 13:58:12 +02:00
Bram Moolenaar
ea04a6e8ba
patch 8.2.0619: null dict is not handled like an empty dict
...
Problem: Null dict is not handled like an empty dict.
Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968 )
2020-04-23 13:38:02 +02:00
Bram Moolenaar
db950e4c03
patch 8.2.0618: echoing a null list results in no output
...
Problem: Echoing a null list results in no output. (Yegappan Lakshmanan)
Solution: Return "[]" instead of NULL in echo_string_core().
2020-04-22 19:13:19 +02:00
Bram Moolenaar
d2662ad2de
patch 8.2.0617: new error check triggers in Swedish menu
...
Problem: New error check triggers in Swedish menu.
Solution: Insert backslash. (Mats Tegner, closes #5966 )
2020-04-22 14:30:31 +02:00
Bram Moolenaar
e770598f31
patch 8.2.0616: build error when disabling the diff feature
...
Problem: Build error when disabling the diff feature.
Solution: Move parenthesis outside of #ifdef. (Tom Ryder)
2020-04-21 22:23:15 +02:00
Bram Moolenaar
ad48e6c159
patch 8.2.0615: regexp benchmark stest is old style
...
Problem: Regexp benchmark stest is old style.
Solution: Make it a new style test. Fix using a NULL list. Add more tests.
(Yegappan Lakshmanan, closes #5963 )
2020-04-21 22:19:45 +02:00
Bram Moolenaar
ff06f283e3
patch 8.2.0614: get ml_get error when deleting a line in 'completefunc'
...
Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan
Lakshmanan)
Solution: Lock the text while evaluating 'completefunc'.
2020-04-21 22:01:14 +02:00
Bram Moolenaar
1966c24881
patch 8.2.0613: Vim9: no check for space before #comment
...
Problem: Vim9: no check for space before #comment.
Solution: Add space checks.
2020-04-20 22:42:32 +02:00
Bram Moolenaar
2c7f8c574f
Update runtime files
2020-04-20 19:52:53 +02:00
Bram Moolenaar
2c5ed4e330
patch 8.2.0612: Vim9: no check for space before #comment
...
Problem: Vim9: no check for space before #comment.
Solution: Add space checks.
2020-04-20 19:42:10 +02:00
Bram Moolenaar
faac410409
patch 8.2.0611: Vim9: no check for space before #comment
...
Problem: Vim9: no check for space before #comment.
Solution: Add space checks.
2020-04-20 17:46:14 +02:00
Bram Moolenaar
08f4157c5c
patch 8.2.0610: some tests are still old style
...
Problem: Some tests are still old style.
Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957 )
2020-04-20 16:50:00 +02:00
Bram Moolenaar
ad4dc83389
patch 8.2.0609: configure does not detect moonjit correctly
...
Problem: Configure does not detect moonjit correctly.
Solution: Double the brackets. (Ozaki Kiichi)
2020-04-20 16:21:53 +02:00
Bram Moolenaar
4da6df40f5
patch 8.2.0608: warning from clang when building message test
...
Problem: Warning from clang when building message test.
Solution: Use a void pointer. (Dominique Pelle, closes #5958 )
2020-04-20 16:12:09 +02:00
Bram Moolenaar
2bb76accc6
patch 8.2.0607: gcc warns for using uninitialized variable
...
Problem: Gcc warns for using uninitialized variable. (John Marriott)
Solution: Set name_end also for environment variables.
2020-04-19 22:57:44 +02:00
Bram Moolenaar
fbf2122cf9
patch 8.2.0606: several syntax HL errors not checked
...
Problem: Several syntax HL errors not checked.
Solution: Add tests. (Yegappan Lakshmanan, closes #5954 )
2020-04-19 18:31:25 +02:00
Bram Moolenaar
7bdaea6e0d
patch 8.2.0605: Vim9: cannot unlet an environment variable
...
Problem: Vim9: cannot unlet an environment variable.
Solution: Implement unlet for $VAR.
2020-04-19 18:27:26 +02:00
Bram Moolenaar
eb58a24658
patch 8.2.0604: :startinsert in a terminal window used later
...
Problem: :startinsert in a terminal window used later.
Solution: Ignore :startinsert in a terminal window. (closes #5952 )
2020-04-19 18:13:19 +02:00
Bram Moolenaar
f49e564082
patch 8.2.0603: configure does not detect moonjit
...
Problem: Configure does not detect moonjit.
Solution: Add check for moonjit. (Shlomi Fish, closes #5947 )
2020-04-19 17:46:53 +02:00
Bram Moolenaar
7e0868efcf
patch 8.2.0602: :unlet $VAR does not work properly
...
Problem: :unlet $VAR does not work properly.
Solution: Make ":lockvar $VAR" fail. Check the "skip" flag.
2020-04-19 17:24:53 +02:00
Bram Moolenaar
d72c1bf0a6
patch 8.2.0601: Vim9: :unlet is not compiled
...
Problem: Vim9: :unlet is not compiled.
Solution: Implement :unlet instruction and check for errors.
2020-04-19 16:28:59 +02:00
Bram Moolenaar
d3aac2917d
patch 8.2.0600: Vim9: cannot read or write w:, t: and b: variables
...
Problem: Vim9: cannot read or write w:, t: and b: variables.
Solution: Implement load and store for w:, t: and b: variables.
(closes #5950 )
2020-04-19 14:32:17 +02:00
Bram Moolenaar
173d841e86
patch 8.2.0599: Netbeans interface insufficiently tested
...
Problem: Netbeans interface insufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5921 )
2020-04-19 14:02:26 +02:00
Bram Moolenaar
61fbb3371e
patch 8.2.0598: test_eval_stuff fails in normal terminal
...
Problem: Test_eval_stuff fails in normal terminal.
Solution: Close the new window.
2020-04-18 23:20:37 +02:00
Bram Moolenaar
90455cfa87
patch 8.2.0597: test_eval is old style
...
Problem: Test_eval is old style.
Solution: Change some tests to a new style test.
2020-04-18 21:56:38 +02:00
Bram Moolenaar
ec9749f33d
patch 8.2.0596: crash in test49
...
Problem: Crash in test49.
Solution: Check the right pointer.
2020-04-18 20:51:40 +02:00
Bram Moolenaar
a26b9700d7
patch 8.2.0595: Vim9: not all commands using ends_excmd() tested
...
Problem: Vim9: not all commands using ends_excmd() tested.
Solution: Find # comment after regular commands. Add more tests. Report
error for where it was caused.
2020-04-18 19:53:28 +02:00
Bram Moolenaar
b6fb0516ec
patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501
...
Problem: MS-Windows: cannot build with WINVER set to 0x0501.
Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946 )
2020-04-18 18:24:18 +02:00
Bram Moolenaar
a494f56f88
patch 8.2.0593: finding a user command is not optimal
...
Problem: Finding a user command is not optimal.
Solution: Start further down in the list of commands.
2020-04-18 17:45:38 +02:00
Bram Moolenaar
2695de63e3
patch 8.2.0592: MS-Windows with VTP: cursor is not made invisible
...
Problem: MS-Windows with VTP: cursor is not made invisible.
Solution: Output the code to make the cursor visible or invisible. (Nobuhiro
Takasaki, closes #5941 )
2020-04-17 21:13:01 +02:00
Bram Moolenaar
aa82259fef
patch 8.2.0591: MS-Windows: should always support IPv6
...
Problem: MS-Windows: should always support IPv6
Solution: Add build flag. (Ozaki Kiichi, closes #5944 )
2020-04-17 20:48:57 +02:00
Bram Moolenaar
aa0489e12d
patch 8.2.0590: no 'backspace' value allows ignoring the insertion point
...
Problem: No 'backspace' value allows ignoring the insertion point.
Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940 )
2020-04-17 19:41:21 +02:00
Bram Moolenaar
0fc1288aef
patch 8.2.0589: .bsd file type not recognized
...
Problem: .bsd file type not recognized.
Solution: Recognize .bsd as BSDL. (Daniel Kho, closes #5945 )
2020-04-17 19:23:06 +02:00
Bram Moolenaar
314ca7cbb4
patch 8.2.0588: Putty does not use "sgr" 'ttymouse' by default
...
Problem: Putty does not use "sgr" 'ttymouse' by default.
Solution: Make "sgr" the default for Putty. (Christian Brabandt,
closes #5942 )
2020-04-17 16:40:31 +02:00
Bram Moolenaar
21cfe500f3
patch 8.2.0587: compiler warning for unused variable
...
Problem: Compiler warning for unused variable.
Solution: Add UNUSED.
2020-04-16 23:01:50 +02:00
Bram Moolenaar
4a8d9f2ed8
patch 8.2.0586: Vim9: # comment not sufficiently tested
...
Problem: Vim9: # comment not sufficiently tested
Solution: Check for preceding white space.
2020-04-16 22:54:32 +02:00
Bram Moolenaar
7a09224583
patch 8.2.0585: Vim9: # comment not recognized after :vim9script
...
Problem: Vim9: # comment not recognized after :vim9script.
Solution: Check script type. Make comment after ":echo" work. And in
several other places.
2020-04-16 22:10:49 +02:00
Bram Moolenaar
c5f33db888
patch 8.2.0584: viminfo file uses obsolete function file_readable()
...
Problem: Viminfo file uses obsolete function file_readable().
Solution: Use filereadable(). (closes #5934 )
2020-04-16 21:04:41 +02:00
Bram Moolenaar
cb711abf0f
patch 8.2.0583: Vim9: # comment not recognized in :def function
...
Problem: Vim9: # comment not recognized in :def function.
Solution: Recognize and skip # comment.
2020-04-16 13:00:29 +02:00
Bram Moolenaar
b4a549fb16
patch 8.2.0582: color ramp test does not show text colors
...
Problem: Color ramp test does not show text colors.
Solution: Add a row of 16 text colors and 16 bold text colors.
2020-04-15 21:44:11 +02:00
Bram Moolenaar
81ccbf199f
patch 8.2.0581: Win32 console: the cursor position is always top-left
...
Problem: Win32 console: the cursor position is always top-left.
Solution: Revert the patch for restoring screen.
2020-04-15 21:05:30 +02:00
Bram Moolenaar
edd327cc07
patch 8.2.0580: window size wrong if 'ea' is off and 'splitright' is on
...
Problem: Window size wrong if 'ea' is off and 'splitright' is on and
splitting then closing a window.
Solution: Put abandoned window space in the right place. (Mark Waggoner)
2020-04-15 20:05:47 +02:00
Bram Moolenaar
4d5d0dfe94
patch 8.2.0579: Coverity warns for unused value
...
Problem: Coverity warns for unused value.
Solution: Change order and use "else if".
2020-04-14 20:56:31 +02:00
Bram Moolenaar
6c2b7b8055
patch 8.2.0578: heredoc for interfaces does not support "trim"
...
Problem: Heredoc for interfaces does not support "trim".
Solution: Update the script heredoc support to be same as the :let command.
(Yegappan Lakshmanan, closes #5916 )
2020-04-14 20:15:49 +02:00
Bram Moolenaar
7a1637f4c0
patch 8.2.0577: not all modifiers supported for :options
...
Problem: Not all modifiers supported for :options.
Solution: Use all cmdmod.split flags. (closes #4401 )
2020-04-13 21:16:21 +02:00
Bram Moolenaar
067297e16a
patch 8.2.0576: some errors are not covered by tests
...
Problem: Some errors are not covered by tests.
Solution: Add a few more tests. (Dominique Pelle, closes #5920 )
2020-04-13 19:55:50 +02:00
Bram Moolenaar
e3242346cf
patch 8.2.0575: :digraph! not tested
...
Problem: :digraph! not tested.
Solution: Add a test. (Dominique Pelle, closes #5925 )
2020-04-13 19:46:43 +02:00
Bram Moolenaar
352f554b85
patch 8.2.0574: ipv6 feature not shown in :version output
...
Problem: Ipv6 feature not shown in :version output.
Solution: Add ipv6 in :version output. (Ozaki Kiichi, closes #5924 )
2020-04-13 19:04:21 +02:00
Bram Moolenaar
278e83863b
patch 8.2.0573: using :version twice leaks memory
...
Problem: using :version twice leaks memory
Solution: Only initialize variables once. (Dominique Pelle, closes #5917 )
2020-04-13 18:25:33 +02:00
Bram Moolenaar
df1956075d
patch 8.2.0572: using two lines for free and reset
...
Problem: Using two lines for free and reset.
Solution: Use VIM_CLEAR() instead. (Yegappan Lakshmanan)
2020-04-13 18:13:33 +02:00
Bram Moolenaar
0015795baa
patch 8.2.0571: double free when passing invalid argument to job_start()
...
Problem: Double free when passing invalid argument to job_start().
Solution: Clear the argument when freed. (Masato Nishihata, closes #5926 )
2020-04-13 17:44:47 +02:00
Bram Moolenaar
6e949784be
patch 8.2.0570: Vim9: no error when omitting type from argument
...
Problem: Vim9: no error when omitting type from argument.
Solution: Enforce specifying argument types.
2020-04-13 17:21:00 +02:00
Bram Moolenaar
fbda69b309
patch 8.2.0569: build failure with tiny version
...
Problem: Build failure with tiny version.
Solution: Add #ifdef.
2020-04-13 15:06:53 +02:00
Bram Moolenaar
55b0fb7001
patch 8.2.0568: the man filetype plugin overwrites the unnamed register
...
Problem: The man filetype plugin overwrites the unnamed register.
Solution: Use the black hole register. (Jason Franklin)
2020-04-13 14:58:37 +02:00
Bram Moolenaar
2c330432cf
patch 8.2.0567: Vim9: cannot put comments halfway expressions
...
Problem: Vim9: cannot put comments halfway expressions.
Solution: Support # comments in many places.
2020-04-13 14:41:35 +02:00
Bram Moolenaar
1a2f4bf6c8
patch 8.2.0566: Vim9: variable can be used uninitialized
...
Problem: Vim9: variable can be used uninitialized.
Solution: Jump to after where variable is used.
2020-04-12 23:09:25 +02:00
Bram Moolenaar
675f716efb
patch 8.2.0565: Vim9: tests contain superfluous line continuation
...
Problem: Vim9: tests contain superfluous line continuation.
Solution: Remove line continuation no longer needed. Skip empty lines.
2020-04-12 22:53:54 +02:00
Bram Moolenaar
23e032523e
patch 8.2.0564: Vim9: calling a def function from non-vim9 may fail
...
Problem: Vim9: calling a def function from non-vim9 may fail.
Solution: Convert varargs to a list.
2020-04-12 22:22:31 +02:00
Bram Moolenaar
5e774c7579
patch 8.2.0563: Vim9: cannot split a function line
...
Problem: Vim9: cannot split a function line.
Solution: Continue in next line so long as the function isn't done.
2020-04-12 21:53:00 +02:00
Bram Moolenaar
9c7e6dd653
patch 8.2.0562: Vim9: cannot split an expression into multiple lines
...
Problem: Vim9: cannot split an expression into multiple lines.
Solution: Continue in next line after an operator.
2020-04-12 20:55:20 +02:00
Bram Moolenaar
e6085c5350
patch 8.2.0561: Vim9: cannot split function call in multiple lines
...
Problem: Vim9: cannot split function call in multiple lines.
Solution: Find more arguments in following lines.
2020-04-12 20:19:16 +02:00
Bram Moolenaar
2196bce56f
patch 8.2.0560: compiler warning in tiny build
...
Problem: Compiler warning in tiny build.
Solution: Move declaration inside #ifdef. (Dominique Pelle, closes #5915 )
2020-04-12 20:01:11 +02:00
Bram Moolenaar
a80faa8930
patch 8.2.0559: clearing a struct is verbose
...
Problem: Clearing a struct is verbose.
Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
2020-04-12 19:37:17 +02:00
Bram Moolenaar
82de464f76
patch 8.2.0558: Vim9: dict code not covered by tests
...
Problem: Vim9: dict code not covered by tests.
Solution: Remove dead code, adjust test case.
2020-04-12 18:02:06 +02:00
Bram Moolenaar
bfe13ccc58
patch 8.2.0557: no IPv6 support for channels
...
Problem: No IPv6 support for channels.
Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893 )
2020-04-12 17:53:12 +02:00
Bram Moolenaar
c5f1ef53c2
patch 8.2.0556: Vim9: memory leak when finding common type
...
Problem: Vim9: memory leak when finding common type.
Solution: Store allocated memory in type growarray.
2020-04-12 17:11:27 +02:00
Bram Moolenaar
4fdae9996f
patch 8.2.0555: Vim9: line continuation is not always needed
...
Problem: Vim9: line continuation is not always needed.
Solution: Recognize continuation lines automatically in list and dict.
2020-04-12 16:38:57 +02:00
Bram Moolenaar
acc770a10f
patch 8.2.0554: the GUI doesn't set t_Co
...
Problem: The GUI doesn't set t_Co.
Solution: In the GUI set t_Co to 256 * 256 * 256. (closes #5903 )
2020-04-12 15:11:06 +02:00
Bram Moolenaar
cd630becc8
patch 8.2.0553: error for unused argument
...
Problem: Error for unused argument.
Solution: Add UNUSED.
2020-04-12 14:50:26 +02:00
Bram Moolenaar
99aaf0ce7c
patch 8.2.0552: Vim9: some errors not covered by tests
...
Problem: Vim9: some errors not covered by tests.
Solution: Add more tests. Check Funcref argument types.
2020-04-12 14:39:53 +02:00
Bram Moolenaar
1363a30cef
patch 8.2.0551: not all code for options is tested
...
Problem: Not all code for options is tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5913 )
2020-04-12 13:50:26 +02:00
Bram Moolenaar
88c1ee84d6
patch 8.2.0550: some changes in the libvterm upstream code
...
Problem: Some changes in the libvterm upstream code.
Solution: Include some changes.
2020-04-12 13:38:57 +02:00
Bram Moolenaar
3b922f1138
patch 8.2.0549: user systemd files not recognized
...
Problem: User systemd files not recognized.
Solution: Add filetype patterns. (Kevin Locke, closes #5914 )
2020-04-12 12:54:52 +02:00
Bram Moolenaar
08938eeba4
patch 8.2.0548: Vim9: not all possible func type errors tested
...
Problem: Vim9: not all possible func type errors tested.
Solution: Add more tests.
2020-04-11 23:17:17 +02:00
Bram Moolenaar
e7f234120f
patch 8.2.0547: Win32: restoring screen not always done right
...
Problem: Win32: restoring screen not always done right.
Solution: Use a more appropriate method. (Nobuhiro Takasaki, closes #5909 )
2020-04-11 22:38:34 +02:00
Bram Moolenaar
fe27081724
patch 8.2.0546: Vim9: varargs implementation is inefficient
...
Problem: Vim9: varargs implementation is inefficient.
Solution: Create list without moving the arguments.
2020-04-11 22:31:27 +02:00
Bram Moolenaar
d19a8f97ad
patch 8.2.0545: unused arguments ignored in non-standard way
...
Problem: Unused arguments ignored in non-standard way.
Solution: Add UNUSED instead of (void).
2020-04-11 21:42:48 +02:00
Bram Moolenaar
880e4d9117
patch 8.2.0544: memory leak in search test
...
Problem: Memory leak in search test.
Solution: Free msgbuf. (Dominique Pelle, closes #5912 )
2020-04-11 21:31:28 +02:00
Bram Moolenaar
1378fbc459
patch 8.2.0543: Vim9: function with varargs does not work properly
...
Problem: Vim9: function with varargs does not work properly.
Solution: Improve function type spec and add tests. Fix bugs.
2020-04-11 20:50:33 +02:00
Bram Moolenaar
8832a34578
patch 8.2.0542: no test for E386
...
Problem: No test for E386.
Solution: Add a test. (Dominique Pelle, closes #5911 )
2020-04-11 18:36:38 +02:00
Bram Moolenaar
81ea1dfb97
patch 8.2.0541: Travis CI does not give compiler warnings
...
Problem: Travis CI does not give compiler warnings.
Solution: Add flags for warnings. Fix uncovered problems. (Ozaki Kiichi,
closes #5898 )
2020-04-11 18:01:41 +02:00
Bram Moolenaar
004a6781b3
patch 8.2.0540: regexp and other code not tested
...
Problem: Regexp and other code not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5904 )
2020-04-11 17:09:31 +02:00
Bram Moolenaar
d1caa941d8
Update runtime files
2020-04-10 22:10:56 +02:00
Bram Moolenaar
7b293c730b
patch 8.2.0539: comparing two NULL list fails
...
Problem: Comparing two NULL list fails.
Solution: Change the order of comparing two lists.
2020-04-09 21:33:22 +02:00
Bram Moolenaar
9c8bb7c0e2
patch 8.2.0538: Vim9: VAR_PARTIAL is not used during compilation
...
Problem: Vim9: VAR_PARTIAL is not used during compilation.
Solution: Remove VAR_PARTIAL.
2020-04-09 21:08:09 +02:00
Bram Moolenaar
cab2767874
patch 8.2.0537: Vim9: no check for sandbox when setting v:var
...
Problem: Vim9: no check for sandbox when setting v:var.
Solution: Check for sandbox.
2020-04-09 20:10:55 +02:00
Bram Moolenaar
5da356e073
patch 8.2.0536: Vim9: some compilation code not tested
...
Problem: Vim9: some compilation code not tested.
Solution: Add more test cases.
2020-04-09 19:34:43 +02:00
Bram Moolenaar
4d23c52824
patch 8.2.0535: regexp patterns not fully tested
...
Problem: Regexp patterns not fully tested.
Solution: Add more regexp tests and others. (Yegappan Lakshmanan,
closes #5901 )
2020-04-09 18:42:11 +02:00
Bram Moolenaar
25d5700952
patch 8.2.0534: client-server test fails under valgrind
...
Problem: Client-server test fails under valgrind.
Solution: Use WaitForAssert().
2020-04-08 22:56:34 +02:00
Bram Moolenaar
6a2c5a7dd5
patch 8.2.0533: tests using term_wait() can still be flaky
...
Problem: Tests using term_wait() can still be flaky.
Solution: Increase the wait time when rerunning a test. (James McCoy,
closes #5899 ) Halve the initial times to make tests run faster
when there is no rerun.
2020-04-08 21:50:25 +02:00
Bram Moolenaar
7035fd9d90
patch 8.2.0532: cannot use simplify() as a method
...
Problem: Cannot use simplify() as a method.
Solution: Add FEARG_1. (closes #5996 )
2020-04-08 20:03:52 +02:00
Bram Moolenaar
476a613135
patch 8.2.0531: various errors not tested
...
Problem: Various errors not tested.
Solution: Add tests. (Yegappan Lakshmanan, closes #5895 )
2020-04-08 19:48:56 +02:00
Bram Moolenaar
a65c288134
patch 8.2.0530: test crashes on s390
...
Problem: Test crashes on s390. (James McCoy)
Solution: Explicitly define an 8 big signed type. (closes #5897 )
2020-04-08 11:31:48 +02:00
Bram Moolenaar
49cf7cc8d2
patch 8.2.0529: Vim9: function argument with default not checked
...
Problem: Vim9: function argument with default not checked.
Solution: Check type of argument with default value.
2020-04-07 22:45:00 +02:00
Bram Moolenaar
0b76b42d0a
patch 8.2.0528: Vim9: function arguments insufficiently tested
...
Problem: Vim9: function arguments insufficiently tested.
Solution: Check types. Add more tests. Fix function with varargs only.
2020-04-07 22:05:08 +02:00
Bram Moolenaar
ec5929d0fe
patch 8.2.0527: Vim9: function types insufficiently tested
...
Problem: Vim9: function types insufficiently tested.
Solution: Add more tests. Fix white space check. Add "test_vim9" target.
2020-04-07 20:53:39 +02:00
Bram Moolenaar
86b9a3e8cd
patch 8.2.0526: Gcc 9 complains about empty statement
...
Problem: Gcc 9 complains about empty statement.
Solution: Add {}. (Dominique Pelle, closes #5894 )
2020-04-07 19:57:29 +02:00
Bram Moolenaar
40655d5016
patch 8.2.0525: Win32: typo in assignment and misplaced paren
...
Problem: Win32: typo in assignment and misplaced paren.
Solution: Fix the syntax.
2020-04-06 23:49:50 +02:00
Bram Moolenaar
c74fbfedfa
patch 8.2.0524: Win32: searching for file matches is slow
...
Problem: Win32: searching for file matches is slow.
Solution: Instead of making another round to find any short filename, check
for the short name right away. Avoid using an ordinary file like a
directory. (Nir Lichtman, closes #5883 )
2020-04-06 22:56:28 +02:00
Bram Moolenaar
00d253e2b2
patch 8.2.0523: loops are repeated
...
Problem: Loops are repeated.
Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882 )
2020-04-06 22:13:01 +02:00
Bram Moolenaar
ee4e0c1e9a
patch 8.2.0522: several errors are not tested for
...
Problem: Several errors are not tested for.
Solution: Add tests. (Yegappan Lakshmanan, closes #5892 )
2020-04-06 21:35:05 +02:00
Bram Moolenaar
15352dc6ec
patch 8.2.0521: crash when reading a blob fails
...
Problem: Crash when reading a blob fails.
Solution: Avoid keeping a pointer to a freed blob object. (Dominique Pelle,
closes #5890 ) Adjust error messages.
2020-04-06 21:12:42 +02:00
Bram Moolenaar
6c307dcd55
patch 8.2.0520: tests are not listed in sorted order
...
Problem: Tests are not listed in sorted order.
Solution: Move test_ex_mode. (Doug Richardson, closes #5889 )
2020-04-05 23:04:57 +02:00
Bram Moolenaar
8922860afb
patch 8.2.0519: Vim9: return type not properly checked
...
Problem: Vim9: return type not properly checked.
Solution: Check type properly, also at runtime.
2020-04-05 22:14:54 +02:00
Bram Moolenaar
5ba8d3578c
patch 8.2.0518: a terminal falls back to setting $TERM to "xterm"
...
Problem: A terminal falls back to setting $TERM to "xterm".
Solution: Use "xterm-color" if more than 16 colors are supported and
"xterm-256color" if at least 256 colors are supported.
(closes #5887 )
2020-04-05 21:42:12 +02:00
Bram Moolenaar
4c68375057
patch 8.2.0517: Vim9: cannot separate "func" and "func(): void"
...
Problem: Vim9: cannot separate "func" and "func(): void".
Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
2020-04-05 21:38:23 +02:00
Bram Moolenaar
f87a0400fd
patch 8.2.0516: client-server code is spread out
...
Problem: Client-server code is spread out.
Solution: Move client-server code to a new file. (Yegappan Lakshmanan,
closes #5885 )
2020-04-05 20:21:03 +02:00
Bram Moolenaar
b8ed3aa9e7
patch 8.2.0515: some compilers cannot add to "void *"
...
Problem: Some compilers cannot add to "void *".
Solution: Cast to "char *".
2020-04-05 19:09:05 +02:00
Bram Moolenaar
bdff012f44
patch 8.2.0514: several global functions are used in only one file
...
Problem: Several global functions are used in only one file.
Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884 )
2020-04-05 18:56:05 +02:00
Bram Moolenaar
5d905c2b96
patch 8.2.0513: reading past allocate memory when using varargs
...
Problem: Reading past allocate memory when using varargs.
Solution: Fix copying function argument types.
2020-04-05 18:20:45 +02:00
Bram Moolenaar
5deeb3f1f9
patch 8.2.0512: Vim9: no optional arguments in func type
...
Problem: Vim9: no optional arguments in func type.
Solution: Check for question mark after type. Find function reference
without function().
2020-04-05 17:08:17 +02:00
Bram Moolenaar
d7ffc0ba8c
patch 8.2.0511: Cscope code not fully tested
...
Problem: Cscope code not fully tested.
Solution: Add more test cases. (Dominique Pelle, closes #5886 )
2020-04-05 15:36:16 +02:00
Bram Moolenaar
8d4ed11da6
patch 8.2.0510: Coverity complains about using uninitialized variable
...
Problem: Coverity complains about using uninitialized variable.
Solution: Assign a value to "scol". Move code inside NULL check.
2020-04-04 14:50:32 +02:00
Bram Moolenaar
cde0ff39da
patch 8.2.0509: various code is not properly tested.
...
Problem: various code is not properly tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5871 )
2020-04-04 14:00:39 +02:00
Bram Moolenaar
d77a8525d5
patch 8.2.0508: Vim9: func and partial types not done yet
...
Problem: Vim9: func and partial types not done yet
Solution: Fill in details about func declaration, drop a separate partial
declaration.
2020-04-03 21:59:57 +02:00
Bram Moolenaar
5259275347
patch 8.2.0507: getbufvar() may get the wrong dictionary
...
Problem: Getbufvar() may get the wrong dictionary. (David le Blanc)
Solution: Check for empty name. (closes #5878 )
2020-04-03 18:43:35 +02:00
Bram Moolenaar
d1e9dc2723
patch 8.2.0506: Coverity complains about ignoring return value
...
Problem: Coverity complains about ignoring return value.
Solution: Add (void).
2020-04-03 18:13:57 +02:00
Bram Moolenaar
01603a9970
patch 8.2.0505: term_getty() not sufficiently tested
...
Problem: term_getty() not sufficiently tested.
Solution: Add more asserts. (Dominique Pelle, closes #5877 )
2020-04-03 12:56:17 +02:00
Bram Moolenaar
3cca299520
patch 8.2.0504: Vim9: leaking scope memory when compilation fails
...
Problem: Vim9: leaking scope memory when compilation fails.
Solution: Cleanup the scope list.
2020-04-02 22:57:36 +02:00
Bram Moolenaar
585fea7b98
patch 8.2.0503: Vim9: some code is not tested
...
Problem: Vim9: some code is not tested.
Solution: Add tests. Fix uncovered problems.
2020-04-02 22:33:21 +02:00
Bram Moolenaar
e8c4abbbd7
patch 8.2.0502: Vim9: some code is not tested
...
Problem: Vim9: some code is not tested.
Solution: Add more tests. Fix uncovered problems.
2020-04-02 21:13:25 +02:00
Bram Moolenaar
2c869deeb7
patch 8.2.0501: Vim9: script test fails when channel feature is missing
...
Problem: Vim9: script test fails when channel feature is missing.
Solution: Add a has() condition.
2020-04-02 19:12:08 +02:00
Bram Moolenaar
aeea72151c
patch 8.2.0500: using the same loop in many places
...
Problem: Using the same loop in many places.
Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339 )
2020-04-02 18:50:46 +02:00
Bram Moolenaar
f10806b250
patch 8.2.0499: calling a lambda is slower than evaluating a string
...
Problem: Calling a lambda is slower than evaluating a string.
Solution: Make calling a lambda faster. (Ken Takata, closes #5727 )
2020-04-02 18:34:35 +02:00
Bram Moolenaar
4227c789ff
patch 8.2.0498: Coverity complains about uninitialized field
...
Problem: Coverity complains about uninitialized field.
Solution: Initialize the whole typval_T.
2020-04-02 16:00:04 +02:00
Bram Moolenaar
e5bae13da3
patch 8.2.0497: too verbose output from the asan build in Travis
...
Problem: Too verbose output from the asan build in Travis.
Solution: Filter out suppression messages. (Ozaki Kiichi, closes #5874 )
2020-04-02 15:17:32 +02:00
Bram Moolenaar
a4d4cf490e
patch 8.2.0496: Vim9: disassemble test fails
...
Problem: Vim9: disassemble test fails.
Solution: Separate test cases with recognized constant expressions.
2020-04-02 13:50:27 +02:00
Bram Moolenaar
80c34ca312
patch 8.2.0495: Vim9: some code not tested
...
Problem: Vim9: some code not tested.
Solution: Add more tests. Support more const expressions.
2020-04-01 23:05:18 +02:00
Bram Moolenaar
ea94fbe83b
patch 8.2.0494: Vim9: asan error
...
Problem: Vim9: asan error.
Solution: Only get the type when there is one.
2020-04-01 22:36:49 +02:00
Bram Moolenaar
e69f6d044c
patch 8.2.0493: Vim9: some error messages not tested
...
Problem: Vim9: some error messages not tested.
Solution: Add more tests. Fix uncovered bugs.
2020-04-01 22:11:01 +02:00
Bram Moolenaar
a8c1770469
patch 8.2.0492: Vim9: some error messages not tested
...
Problem: Vim9: some error messages not tested.
Solution: Add more tests. Remove dead code. Fix uncovered bugs.
2020-04-01 21:17:24 +02:00
Bram Moolenaar
2da0f0c445
patch 8.2.0491: cannot recognize a <script> mapping using maparg()
...
Problem: Cannot recognize a <script> mapping using maparg().
Solution: Add the "script" key. (closes #5873 )
2020-04-01 19:22:12 +02:00
Bram Moolenaar
0afdcf8601
patch 8.2.0490: Win32: VTP doesn't respect 'restorescreen'
...
Problem: Win32: VTP doesn't respect 'restorescreen'.
Solution: Use escape codes to switch to alternate screen. (Nobuhiro
Takasaki, closes #5872 )
2020-04-01 18:29:10 +02:00
Bram Moolenaar
25b70c780a
patch 8.2.0489: Vim9: memory leaks
...
Problem: Vim9: memory leaks.
Solution: Free memory in the right place. Add hints for using asan.
2020-04-01 16:34:17 +02:00
Bram Moolenaar
05afceeddc
patch 8.2.0488: Vim9: compiling can break when using a lambda inside :def
...
Problem: Vim9: Compiling can break when using a lambda inside :def.
Solution: Do not keep a pointer to the dfunc_T for longer time.
2020-03-31 23:32:31 +02:00
Bram Moolenaar
bd5da371aa
patch 8.2.0487: Vim9: compiling not sufficiently tested
...
Problem: Vim9: compiling not sufficiently tested.
Solution: Add more tests. Fix bug with PCALL.
2020-03-31 23:13:10 +02:00
Bram Moolenaar
9be61bbb17
patch 8.2.0486: Vim9: some code and error messages not tested
...
Problem: Vim9: some code and error messages not tested.
Solution: Add more tests.
2020-03-30 22:51:24 +02:00
Bram Moolenaar
01b3862956
patch 8.2.0485: Vim9 script test fails
...
Problem: Vim9 script test fails.
Solution: Stricter condition for adding new local variable.
2020-03-30 21:28:39 +02:00
Bram Moolenaar
92dba36fc8
patch 8.2.0484: Vim9: some error messages not tested
...
Problem: Vim9: some error messages not tested.
Solution: Add more tests.
2020-03-30 21:22:56 +02:00
Bram Moolenaar
d25ec2cfa0
patch 8.2.0483: Vim9: "let x = x + 1" does not give an error
...
Problem: Vim9: "let x = x + 1" does not give an error.
Solution: Hide the variable when compiling the expression.
2020-03-30 21:05:45 +02:00
Bram Moolenaar
ca68ae1311
patch 8.2.0482: channel and sandbox code not sufficiently tested
...
Problem: Channel and sandbox code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5855 )
2020-03-30 19:32:53 +02:00
Bram Moolenaar
7d333a900d
patch 8.2.0481: Travis is still using trusty
...
Problem: Travis is still using trusty.
Solution: Adjust config to use bionic. (Ozaki Kiichi, closes #5868 )
2020-03-30 19:13:29 +02:00
Bram Moolenaar
0b37a2f379
patch 8.2.0480: Vim9: some code is not tested
...
Problem: Vim9: some code is not tested.
Solution: Add more tests.
2020-03-29 21:38:15 +02:00
Bram Moolenaar
2027973b5b
patch 8.2.0479: unloading shared libraries on exit has no purpose
...
Problem: Unloading shared libraries on exit has no purpose.
Solution: Do not unload shared libraries on exit.
2020-03-29 20:51:07 +02:00
Bram Moolenaar
5908fdf72f
patch 8.2.0478: new buffers are not added to the Buffers menu
...
Problem: New buffers are not added to the Buffers menu.
Solution: Turn number into string. (Yee Cheng Chin, closes #5864 )
2020-03-29 20:08:45 +02:00
Bram Moolenaar
c58164c5cf
patch 8.2.0477: Vim9: error messages not tested
...
Problem: Vim9: error messages not tested.
Solution: Add more tests.
2020-03-29 18:40:30 +02:00
Bram Moolenaar
52ea92b19d
patch 8.2.0476: terminal nasty callback test fails sometimes
...
Problem: Terminal nasty callback test fails sometimes.
Solution: use term_wait() instead of a sleep. (Yee Cheng Chin,closes #5865 )
2020-03-29 17:50:48 +02:00
Bram Moolenaar
bf54dbeb5c
patch 8.2.0475: channel out_cb test still fails sometimes on Mac
...
Problem: Channel out_cb test still fails sometimes on Mac.
Solution: Use an ever longer timeout.
2020-03-29 16:18:58 +02:00
Bram Moolenaar
0fff44152d
patch 8.2.0474: cannot use :write when using a plugin with BufWriteCmd
...
Problem: Cannot use :write when using a plugin with BufWriteCmd.
Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes #5807 )
2020-03-29 16:06:29 +02:00
Bram Moolenaar
8601545338
patch 8.2.0473: variables declared in an outer scope
...
Problem: Variables declared in an outer scope.
Solution: Decleare variables only in the scope where they are used.
2020-03-29 15:12:15 +02:00
Bram Moolenaar
360bdbda81
patch 8.2.0472: terminal highlight name is set twice, leaking memory
...
Problem: Terminal highlight name is set twice, leaking memory.
Solution: Delete one.
2020-03-28 22:37:14 +01:00
Bram Moolenaar
a30590d3e7
patch 8.2.0471: missing change to compile_list()
...
Problem: Missing change to compile_list().
Solution: Add error message.
2020-03-28 22:06:23 +01:00
Bram Moolenaar
7b1b36b1cb
patch 8.2.0470: Test_confirm_cmd_cancel() can fail on a slow system
...
Problem: Test_confirm_cmd_cancel() can fail on a slow system.
Solution: Use WaitForAssert(). (Ozaki Kiichi, closes #5861 )
2020-03-28 21:48:55 +01:00
Bram Moolenaar
ee619e5bc0
patch 8.2.0469: Vim9: no error for missing ] after list
...
Problem: Vim9: no error for missing ] after list.
Solution: Add error message. Add more tests.
2020-03-28 21:38:06 +01:00
Bram Moolenaar
7c003aa314
patch 8.2.0468: GUI: pixel dust with some fonts and characters
...
Problem: GUI: pixel dust with some fonts and characters.
Solution: Always redraw the character before the cursor. (Nir Lichtman,
closes #5549 , closes #5856 )
2020-03-28 20:44:41 +01:00
Bram Moolenaar
33fa29cf74
patch 8.2.0467: Vim9: some errors are not tested
...
Problem: Vim9: some errors are not tested
Solution: Add more tests. Fix that Vim9 script flag is not reset.
2020-03-28 19:41:33 +01:00
Bram Moolenaar
09c569038c
patch 8.2.0466: not parsing messages recursively breaks the govim plugin
...
Problem: Not parsing messages recursively breaks the govim plugin.
Solution: When called recursively do handle messages but do not close
channels.
2020-03-28 18:06:31 +01:00
Bram Moolenaar
599c89c82f
patch 8.2.0465: Vim9: dead code and wrong return type
...
Problem: Vim9: dead code and wrong return type.
Solution: Remove dead code. Fix return type. Add more tests.
2020-03-28 14:53:20 +01:00
Bram Moolenaar
495282b6e7
Correct list of patch numbers
2020-03-27 20:59:54 +01:00
Bram Moolenaar
14285cb801
patch 8.2.0464: typos and other small problems
...
Problem: Typos and other small problems.
Solution: Fix the typos. Add missing files to the distribution.
2020-03-27 20:58:37 +01:00
Bram Moolenaar
2d9d409ad4
patch 8.2.0464: typos and other small problems
...
Problem: Typos and other small problems.
Solution: Fix the typos. Add missing file to distribution.
2020-03-27 20:52:45 +01:00
Bram Moolenaar
191acfdeca
Update runtime files
2020-03-27 20:42:43 +01:00
Bram Moolenaar
37bb030cd9
patch 8.2.0462: previewwindow test fails on some systems
...
Problem: Previewwindow test fails on some systems. (James McCoy)
Solution: Wait a bit after sending the "o". (closes #5849 )
2020-03-27 20:24:14 +01:00
Bram Moolenaar
9207d1f523
patch 8.2.0461: confirm test fails on amd64 system
...
Problem: Confirm test fails on amd64 system. (Alimar Riesebieter)
Solution: Add an extra WaitForAssert(). (Dominique Pelle)
2020-03-27 19:41:02 +01:00
Bram Moolenaar
bd5e622bfa
patch 8.2.0460: build failure because of wrong feature name
...
Problem: Build failure because of wrong feature name.
Solution: Correct feature name.
2020-03-26 23:13:34 +01:00
Bram Moolenaar
15c476023f
patch 8.2.0459: cannot check if a function name is correct
...
Problem: Cannot check if a function name is correct.
Solution: Add "?funcname" to exists().
2020-03-26 22:16:48 +01:00
Bram Moolenaar
bea9023d42
patch 8.2.0458: missing feature check in test function
...
Problem: Missing feature check in test function.
Solution: Add check commands.
2020-03-26 22:09:52 +01:00
Bram Moolenaar
26bde6e2eb
patch 8.2.0457: Test_quotestar() often fails when run under valgrind
...
Problem: Test_quotestar() often fails when run under valgrind.
Solution: Wait longer for the GUI to start.
2020-03-26 21:11:58 +01:00
Bram Moolenaar
72749f062f
patch 8.2.0456: Test_confirm_cmd is flaky
...
Problem: Test_confirm_cmd is flaky.
Solution: Add a term_wait() call. (closes #5854 )
2020-03-26 20:51:43 +01:00
Bram Moolenaar
83d4790a04
patch 8.2.0455: cannot set the highlight group for a specific terminal
...
Problem: Cannot set the highlight group for a specific terminal.
Solution: Add the "highlight" option to term_start(). (closes #5818 )
2020-03-26 20:34:00 +01:00
Bram Moolenaar
3ed9efc2b1
patch 8.2.0454: some tests fail when the system is slow
...
Problem: Some tests fail when the system is slow.
Solution: Make the run number global, use in the test to increase the
waiting time. (closes #5841 )
2020-03-26 16:50:57 +01:00
Bram Moolenaar
7851b1ca99
patch 8.2.0453: trailing space in job_start() command causes empty argument
...
Problem: Trailing space in job_start() command causes empty argument.
Solution: Ignore trailing space. (closes #5851 )
2020-03-26 16:27:38 +01:00
Bram Moolenaar
a9c3a30891
patch 8.2.0452: channel_parse_messages() fails when called recursively
...
Problem: channel_parse_messages() fails when called recursively.
Solution: Return for a recursive call. (closes #5835 )
2020-03-26 16:03:45 +01:00
Bram Moolenaar
82e743c5b3
patch 8.2.0451: Win32: double-width character displayed incorrectly
...
Problem: Win32: double-width character displayed incorrectly.
Solution: First move the cursor to the first column. (Nobuhiro Takasaki,
closes #5848 )
2020-03-26 15:39:53 +01:00
Bram Moolenaar
7d941ee032
patch 8.2.0450: not enough testing for restricted mode and function calls
...
Problem: Not enough testing for restricted mode and function calls.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5847 )
2020-03-26 14:11:58 +01:00
Bram Moolenaar
cf3f8bf4dd
patch 8.2.0449: Vim9: crash if return type is invalid
...
Problem: Vim9: crash if return type is invalid. (Yegappan Lakshmanan)
Solution: Always return some type, not NULL.
2020-03-26 13:15:42 +01:00
Bram Moolenaar
0e05de4622
patch 8.2.0448: various functions not properly tested
...
Problem: Various functions not properly tested.
Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
closes #5843 )
2020-03-25 22:23:46 +01:00
Bram Moolenaar
bfcfd5784a
patch 8.2.0447: terminal scroll tests fails on some systems
...
Problem: Terminal scroll tests fails on some systems.
Solution: Remove the fixed 100msec wait for Win32. Add a loop to wait until
scrolling has finished. (James McCoy, closes #5842 )
2020-03-25 21:27:22 +01:00
Bram Moolenaar
a07e31af54
patch 8.2.0446: listener with undo of deleting all lines not tested
...
Problem: Listener with undo of deleting all lines not tested.
Solution: Add a test.
2020-03-25 21:13:46 +01:00
Bram Moolenaar
f66ca9f1df
patch 8.2.0445: png and xpm files not in MS-Windows zip file
...
Problem: Png and xpm files not in MS-Windows zip file.
Solution: Move files to shared between Unix and Windows target.
2020-03-25 20:17:00 +01:00
Bram Moolenaar
d36ef573b2
patch 8.2.0444: swap file test fails on some systems
...
Problem: Swap file test fails on some systems.
Solution: Preserve the swap file. Send NL terminated keys.
2020-03-24 21:44:51 +01:00
Bram Moolenaar
45fffdf10b
patch 8.2.0443: clipboard code is spread out
...
Problem: Clipboard code is spread out.
Solution: Move clipboard code to its own file. (Yegappan Lakshmanan,
closes #5827 )
2020-03-24 21:42:01 +01:00
Bram Moolenaar
71658f74ae
patch 8.2.0442: channel contents might be used after being freed
...
Problem: Channel contents might be used after being freed.
Solution: Reset the job channel before freeing the channel.
2020-03-24 20:35:19 +01:00
Bram Moolenaar
f3710ee22d
patch 8.2.0441: terminal noblock test is still failing on BSD
...
Problem: Terminal noblock test is still failing on BSD.
Solution: Reduce the amount of text.
2020-03-24 12:12:30 +01:00
Bram Moolenaar
d06dbf3f42
patch 8.2.0440: terminal noblock test is still very flaky on BSD
...
Problem: Terminal noblock test is still very flaky on BSD.
Solution: Increase the waiting time.
2020-03-24 10:33:00 +01:00
Bram Moolenaar
1082772f4c
patch 8.2.0439: :disassemble has minor flaws
...
Problem: :disassemble has minor flaws.
Solution: Format the code. Use (int) instead of (char) for %c.
(also by James McCoy, closes #5831 )
2020-03-23 22:53:22 +01:00
Bram Moolenaar
d7b7770f11
patch 8.2.0438: terminal noblock test is very flaky on BSD
...
Problem: Terminal noblock test is very flaky on BSD.
Solution: Change WaitFor() to WaitForAssert() to be able to see why it
failed. Add a short wait in between sending keys.
2020-03-23 22:46:44 +01:00
Bram Moolenaar
0df541963d
patch 8.2.0437: MS-Windows installer contains old stuff
...
Problem: MS-Windows installer contains old stuff.
Solution: Rely on Windows NT. (Ken Takata, closes #5832 )
2020-03-23 22:17:11 +01:00
Bram Moolenaar
db99f9f29a
patch 8.2.0436: no warnings for incorrect printf arguments
...
Problem: No warnings for incorrect printf arguments.
Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique
Pelle, closes #5834 )
2020-03-23 22:12:22 +01:00
Bram Moolenaar
dbbb0ef729
patch 8.2.0435: channel contents might be freed twice
...
Problem: Channel contents might be freed twice.
Solution: Call either channel_free_channel() or channel_free(), not both.
(Nobuhiro Takasaki, closes #5835 )
2020-03-23 22:01:17 +01:00
Bram Moolenaar
a8bd349638
patch 8.2.0434: MS-Windows with VTP: Normal color not working
...
Problem: MS-Windows with VTP: Normal color not working.
Solution: After changing the Normal color update the VTP console color.
(Nobuhiro Takasaki, closes #5836 )
2020-03-23 21:45:29 +01:00
Bram Moolenaar
bad8804cdd
patch 8.2.0433: INT signal not properly tested
...
Problem: INT signal not properly tested.
Solution: Add a test. Also clean up some unnecessary lines. (Dominique
Pelle, closes #5828 )
2020-03-23 20:54:32 +01:00
Bram Moolenaar
ab505b1a48
patch 8.2.0432: a few tests fail in a huge terminal
...
Problem: A few tests fail in a huge terminal.
Solution: Make the tests pass. (Dominique Pelle, closes #5829 )
2020-03-23 19:28:44 +01:00
Bram Moolenaar
56ba21a156
patch 8.2.0431: some compilers don't support using \e for Esc
...
Problem: Some compilers don't support using \e for Esc. (Yegappan
Lakshmanan)
Solution: use \033 instead.
2020-03-23 19:17:29 +01:00
Bram Moolenaar
5080b0a047
patch 8.2.0430: window creation failure not properly tested
...
Problem: Window creation failure not properly tested.
Solution: Improve the test. (Yegappan Lakshmanan, closes #5826 )
2020-03-22 21:23:47 +01:00
Bram Moolenaar
c5a8fdc42d
patch 8.2.0429: no warning when test checks for option that never exists
...
Problem: No warning when test checks for option that never exists.
Solution: In tests check that the option can exist.
2020-03-22 20:13:39 +01:00
Bram Moolenaar
d5bc32df20
patch 8.2.0428: buffer name may leak
...
Problem: Buffer name may leak.
Solution: Free the buffer name before overwriting it.
2020-03-22 19:25:50 +01:00
Bram Moolenaar
7929651e05
patch 8.2.0427: it is not possible to check for a typo in a feature name
...
Problem: It is not possible to check for a typo in a feature name.
Solution: Add an extra argument to has().
2020-03-22 16:17:14 +01:00
Bram Moolenaar
9b9be007e7
patch 8.2.0426: some errors were not tested for
...
Problem: Some errors were not tested for.
Solution: Add tests. (Dominique Pelle, closes #5824 )
2020-03-22 14:41:22 +01:00
Bram Moolenaar
515545e11f
patch 8.2.0425: code for modeless selection not sufficiently tested
...
Problem: Code for modeless selection not sufficiently tested.
Solution: Add tests. Move mouse code functionality to a common script file.
(Yegappan Lakshmanan, closes #5821 )
2020-03-22 14:08:59 +01:00
Bram Moolenaar
97acfc781b
patch 8.2.0424: checking for wrong return value
...
Problem: Checking for wrong return value. (Tom)
Solution: Invert the check and fix the test.
2020-03-22 13:44:28 +01:00
Bram Moolenaar
ce436de5a9
patch 8.2.0423: in some environments a few tests are expected to fail
...
Problem: In some environments a few tests are expected to fail.
Solution: Add $TEST_MAY_FAIL to list tests that should not cause make to
fail.
2020-03-21 15:17:20 +01:00
Bram Moolenaar
0f1563ffee
patch 8.2.0422: crash when passing popup window to win_splitmove()
...
Problem: Crash when passing popup window to win_splitmove(). (john Devin)
Solution: Disallow moving a popup window. (closes #5816 )
2020-03-20 21:15:51 +01:00
Bram Moolenaar
9645e2d9fc
patch 8.2.0421: interrupting with CTRL-C does not always work
...
Problem: Interrupting with CTRL-C does not always work.
Solution: Recognize CTRL-C while modifyOtherKeys is set.
2020-03-20 20:48:49 +01:00
Bram Moolenaar
f1ec378b01
patch 8.2.0420: Vim9: cannot interrupt a loop with CTRL-C
...
Problem: Vim9: cannot interrupt a loop with CTRL-C.
Solution: Check for CTRL-C once in a while. Doesn't fully work yet.
2020-03-20 19:37:47 +01:00
Bram Moolenaar
20431c9dbb
patch 8.2.0419: various memory leaks in Vim9 script code
...
Problem: Various memory leaks in Vim9 script code.
Solution: Fix the leaks. (Ozaki Kiichi, closes #5814 )
2020-03-20 18:39:46 +01:00
Bram Moolenaar
8b63313510
patch 8.2.0418: code in eval.c not sufficiently covered by tests
...
Problem: Code in eval.c not sufficiently covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5815 )
2020-03-20 18:20:51 +01:00
Bram Moolenaar
98be7fecac
patch 8.2.0417: Travis CI config can be improved
...
Problem: Travis CI config can be improved.
Solution: Remove COVERAGE variable. Add load-snd-dummy script. add "-i NONE"
to avoid messages about viminfo. (Ozaki Kiichi, closes #5813 )
2020-03-20 18:12:59 +01:00
Bram Moolenaar
ff78155aa1
Update runtime files
2020-03-19 20:37:11 +01:00
Bram Moolenaar
95e59a355b
patch 8.2.0416: test leaves file behind
...
Problem: Test leaves file behind.
Solution: Delete the file.
2020-03-19 20:33:33 +01:00
Bram Moolenaar
40d235e730
patch 8.2.0415: bsdl filetype is not detected
...
Problem: Bsdl filetype is not detected.
Solution: Add an entry in the filetype list. (Daniel Kho, closes #5810 )
2020-03-19 20:32:01 +01:00
Bram Moolenaar
373a876d0c
patch 8.2.0414: channel connect_waittime() test is flaky
...
Problem: Channel connect_waittime() test is flaky.
Solution: Set the test_is_flaky flag. Use test_is_flaky for more tests.
2020-03-19 19:44:32 +01:00
Bram Moolenaar
5e94a29ebb
patch 8.2.0413: buffer menu does not handle special buffers properly
...
Problem: Buffer menu does not handle special buffers properly.
Solution: Keep a dictionary with buffer names to reliably keep track of
entries.
Also trigger BufFilePre and BufFilePost for command-line and
terminal buffers when the name changes.
2020-03-19 18:46:57 +01:00
Bram Moolenaar
37f471df6e
patch 8.2.0412: MS-Windows: cannot use vimtutor from the start menu
...
Problem: MS-Windows: cannot use vimtutor from the start menu.
Solution: Better check for writable directory. Use the right path for the
executable. (Wu Yongwei, closes #5774 , closes #5756 )
2020-03-19 17:13:40 +01:00
Bram Moolenaar
24e9b6fe4b
patch 8.2.0411: Mac: breakcheck is using a value from the stone ages
...
Problem: Mac: breakcheck is using a value from the stone ages.
Solution: Delete BREAKCHECK_SKIP from the Mac header file. (Ben Jackson)
2020-03-19 16:28:44 +01:00
Bram Moolenaar
3696839ef1
patch 8.2.0410: channel test fails too often on slow Mac
...
Problem: Channel test fails too often on slow Mac.
Solution: Increase waiting time to 10 seconds.
2020-03-19 16:22:44 +01:00
Bram Moolenaar
b68df220c5
patch 8.2.0409: search test leaves file behind
...
Problem: Search test leaves file behind.
Solution: Delete the file. Also use Check commands.
2020-03-19 15:05:28 +01:00
Bram Moolenaar
22da5596d0
patch 8.2.0408: delete() commented out for testing
...
Problem: Delete() commented out for testing.
Solution: Undo commenting-out.
2020-03-19 14:52:20 +01:00
Bram Moolenaar
2d10cd4780
patch 8.2.0407: no early check if :find and :sfind have an argument
...
Problem: No early check if :find and :sfind have an argument.
Solution: Add EX_NEEDARG.
2020-03-19 14:37:30 +01:00
Bram Moolenaar
e32848780c
patch 8.2.0406: FileReadCmd event not well tested
...
Problem: FileReadCmd event not well tested.
Solution: Add a test.
2020-03-19 13:55:03 +01:00
Bram Moolenaar
3fa5e13262
patch 8.2.0405: MSVC: build fails with some combination of features
...
Problem: MSVC: build fails with some combination of features.
Solution: Enable CHANNEL if TERMINAL is enabled. (Mike Williams)
2020-03-19 13:36:56 +01:00
Bram Moolenaar
18a2b87ca2
patch 8.2.0404: writefile() error does not give a hint
...
Problem: Writefile() error does not give a hint.
Solution: Add remark about first argument.
2020-03-19 13:08:45 +01:00
Bram Moolenaar
a3a9c8ef69
patch 8.2.0403: when 'buftype' is "nofile" there is no overwrite check
...
Problem: When 'buftype' is "nofile" there is no overwrite check.
Solution: Also check for existing file when 'buftype' is set.
(closes #5807 )
2020-03-19 12:38:34 +01:00
Bram Moolenaar
30d53e2c11
patch 8.2.0402: setting local instead of global flag
...
Problem: Setting local instead of global flag.
Solution: Prepend "g:" to "test_is_flaky".
2020-03-18 21:10:44 +01:00
Bram Moolenaar
8dfcce3a78
patch 8.2.0401: not enough test coverage for evalvars.c
...
Problem: Not enough test coverage for evalvars.c.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5804 )
2020-03-18 19:32:26 +01:00
Bram Moolenaar
3cdcb090a6
patch 8.2.0400: not all tests using a terminal are in the list of flaky tests
...
Problem: Not all tests using a terminal are in the list of flaky tests.
Solution: Introduce the test_is_flaky flag.
2020-03-18 19:18:10 +01:00
Bram Moolenaar
292b90d4fa
patch 8.2.0399: various memory leaks
...
Problem: Various memory leaks.
Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803 )
2020-03-18 15:23:16 +01:00
Bram Moolenaar
a21df1db3c
patch 8.2.0398: profile test fails when two functions take same time
...
Problem: Profile test fails when two functions take same time.
Solution: Add a short sleep in once function. (closes #5797 )
2020-03-17 20:57:09 +01:00
Bram Moolenaar
5715b3147b
patch 8.2.0397: delayed screen update when using undo from Insert mode
...
Problem: Delayed screen update when using undo from Insert mode.
Solution: Update w_topline and cursor shape before sleeping. (closes #5790 )
2020-03-16 22:08:45 +01:00
Bram Moolenaar
24ebd83e03
patch 8.2.0396: cmdexpand.c insufficiently tested
...
Problem: Cmdexpand.c insufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5789 )
2020-03-16 21:25:24 +01:00
Bram Moolenaar
a2cbdea968
patch 8.2.0395: build fails with FEAT_EVAL but without FEAT_MENU
...
Problem: Build fails with FEAT_EVAL but without FEAT_MENU.
Solution: Add #ifdef. (John Marriott)
2020-03-16 21:08:31 +01:00
Bram Moolenaar
7f009dfa06
patch 8.2.0394: Coverity complains about using NULL pointer
...
Problem: Coverity complains about using NULL pointer.
Solution: Use empty string when option value is NULL.
2020-03-16 20:27:38 +01:00
Bram Moolenaar
c030063329
patch 8.2.0393: Coverity warns for not using return value
...
Problem: Coverity warns for not using return value.
Solution: Add (void).
2020-03-16 20:07:16 +01:00
Bram Moolenaar
56cb337872
patch 8.2.0392: Coverity warns for using array index out of range
...
Problem: Coverity warns for using array index out of range.
Solution: Add extra "if" to avoid warning.
2020-03-16 20:04:41 +01:00
Bram Moolenaar
b2e1f8a28f
patch 8.2.0391: CI test coverage dropped
...
Problem: CI test coverage dropped.
Solution: Set $DISPLAY also for non-GUI builds. (James McCoy, closes #5788 )
2020-03-16 12:09:30 +01:00
Bram Moolenaar
ddbfe238a5
patch 8.2.0390: terminal postponed scrollback test is flaky
...
Problem: Terminal postponed scrollback test is flaky.
Solution: Add delay in between sending keys. Rename dump files.
2020-03-15 20:33:40 +01:00
Bram Moolenaar
e4fc746d13
patch 8.2.0389: delayed redraw when shifting text from Insert mode
...
Problem: Delayed redraw when shifting text from Insert mode.
Solution: Use msg_attr_keep() instead of msg(). (closes #5782 )
2020-03-15 19:17:50 +01:00
Bram Moolenaar
833805a486
patch 8.2.0388: printmbcharset option not tested
...
Problem: Printmbcharset option not tested.
Solution: Add a test. Enable PostScript for AppVeyor build. (Dominique
Pelle, closes #5783 )
2020-03-15 18:27:43 +01:00
Bram Moolenaar
bb65a5690c
patch 8.2.0387: error for possible NULL argument to qsort()
...
Problem: Error for possible NULL argument to qsort().
Solution: Don't call qsort() when there is nothing to sort. (Dominique
Pelle, closes #5780 )
2020-03-15 18:15:03 +01:00
Bram Moolenaar
0bdbc10e8a
patch 8.2.0386: part from unfinished patch got included
...
Problem: Part from unfinished patch got included.
Solution: Undo that part.
2020-03-15 16:51:40 +01:00
Bram Moolenaar
0eabd4dc8f
patch 8.2.0385: menu functionality insufficiently tested
...
Problem: Menu functionality insufficiently tested.
Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760 )
2020-03-15 16:13:53 +01:00
Bram Moolenaar
5e4d1eba95
patch 8.2.0384: Travis CI has warnings
...
Problem: Travis CI has warnings.
Solution: Avoid warnings, clean up the config. (Ozaki Kiichi, closes #5779 )
2020-03-15 15:10:11 +01:00
Bram Moolenaar
4f32f9c90e
patch 8.2.0383: wrong feature check causes test not to be run
...
Problem: Wrong feature check causes test not to be run.
Solution: Use CheckFunction instead of CheckFeature. (Ozaki Kiichi,
closes #5781 )
2020-03-15 14:53:35 +01:00
Bram Moolenaar
353c351bd2
patch 8.2.0382: some tests fail when run under valgrind
...
Problem: Some tests fail when run under valgrind.
Solution: Increase timeouts.
2020-03-15 14:19:26 +01:00
Bram Moolenaar
2573af3519
patch 8.2.0381: using freed memory with :lvimgrep and autocommand
...
Problem: Using freed memory with :lvimgrep and autocommand. (extracted from
POC by Dominique Pelle)
Solution: Avoid deleting a dummy buffer used in a window. (closes #5777 )
2020-03-14 17:21:34 +01:00
Bram Moolenaar
1939826509
patch 8.2.0380: tiny popup when creating a terminal popup without minwidth
...
Problem: Tiny popup when creating a terminal popup without minwidth.
Solution: Use a default mininum size of 5 lines of 20 characters.
2020-03-14 15:28:08 +01:00
Bram Moolenaar
b17893aa94
Update runtime files
2020-03-14 08:19:51 +01:00
Bram Moolenaar
965fd8d4dc
patch 8.2.0379: gcc warns for ambiguous else
...
Problem: Gcc warns for ambiguous else.
Solution: Add braces. (Dominique Pelle, closes #5778 )
2020-03-14 07:46:40 +01:00
Bram Moolenaar
346f18e5fe
patch 8.2.0378: prop_find() does not find all props
...
Problem: prop_find() does not find all props.
Solution: Check being in the start line. (Axel Forsman, closes #5776 )
2020-03-13 21:36:40 +01:00
Bram Moolenaar
d47e6f0b4c
patch 8.2.0377: no CI test for a big-endian system
...
Problem: No CI test for a big-endian system.
Solution: Test with s390x. (James McCoy, closes #5772 )
2020-03-13 15:44:49 +01:00
Bram Moolenaar
fa5d8a191d
patch 8.2.0376: nasty callback test fails on some systems
...
Problem: Nasty callback test fails on some systems.
Solution: Increase the sleep time.
2020-03-13 14:55:23 +01:00
Bram Moolenaar
8210693795
patch 8.2.0375: Coverity warning for not using return value
...
Problem: Coverity warning for not using return value.
Solution: Move error message to separate function.
2020-03-13 14:34:38 +01:00
Bram Moolenaar
8a677a37d0
patch 8.2.0374: using wrong printf directive for jump location
...
Problem: Using wrong printf directive for jump location.
Solution: Change "%lld" to "%d". (James McCoy, closes #5773 )
2020-03-12 19:15:45 +01:00
Bram Moolenaar
3a05ce63fe
patch 8.2.0373: type of term_sendkeys() is unknown
...
Problem: Type of term_sendkeys() is unknown.
Solution: Just return zero. (closes #5762 )
2020-03-11 19:30:01 +01:00
Bram Moolenaar
66b98854d8
patch 8.2.0372: prop_find() may not find text property at start of the line
...
Problem: Prop_find() may not find text property at start of the line.
Solution: Adjust the loop to find properties. (Axel Forsman, closes #5761 ,
closes #5663 )
2020-03-11 19:15:52 +01:00
Bram Moolenaar
cee52204ca
patch 8.2.0371: crash with combination of terminal popup and autocmd
...
Problem: Crash with combination of terminal popup and autocmd.
Solution: Disallow closing a popup that is the current window. Add a check
that the current buffer is valid. (closes #5754 )
2020-03-11 14:19:58 +01:00
Bram Moolenaar
e49b4bb895
patch 8.2.0370: the typebuf_was_filled flag is sometimes not reset
...
Problem: The typebuf_was_filled flag is sometimes not reset, which may
cause a hang.
Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is
empty.
2020-03-11 13:01:40 +01:00
Bram Moolenaar
1671f44881
patch 8.2.0369: various Normal mode commands not fully tested
...
Problem: Various Normal mode commands not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5751 )
2020-03-10 07:48:13 +01:00
Bram Moolenaar
5269bd2a72
patch 8.2.0368: Vim9: import that redefines local variable does not fail
...
Problem: Vim9: import that redefines local variable does not fail.
Solution: Check for already defined symbols.
2020-03-09 19:25:27 +01:00
Bram Moolenaar
3a2505cc18
patch 8.2.0367: can use :pedit in a popup window
...
Problem: Can use :pedit in a popup window.
Solution: Disallow it.
2020-03-09 16:40:41 +01:00
Bram Moolenaar
2e09634a78
patch 8.2.0366: hardcopy command not tested enough
...
Problem: Hardcopy command not tested enough.
Solution: Add tests for printing. (Dominique Pelle, closes #5748 )
2020-03-09 12:13:27 +01:00
Bram Moolenaar
283e5f4e69
patch 8.2.0365: tag kind can't be a multi-byte character
...
Problem: Tag kind can't be a multi-byte character. (Marcin Szamotulski)
Solution: Recognize multi-byte character. (closes #5724 )
2020-03-09 08:17:52 +01:00
Bram Moolenaar
693e80e938
patch 8.2.0364: printf test failing on Haiku
...
Problem: Printf test failing on Haiku.
Solution: Make a difference between int and short. (Dominique Pelle,
closes #5749 )
2020-03-08 18:41:09 +01:00
Bram Moolenaar
f5f1e10d0d
patch 8.2.0363: some Normal mode commands not tested
...
Problem: Some Normal mode commands not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5746 )
2020-03-08 05:13:15 +01:00
Bram Moolenaar
d0d440f702
patch 8.2.0362: MS-Windows: channel test fails if grep is not available
...
Problem: MS-Windows: channel test fails if grep is not available.
Solution: Use another command. (Ken Takata, closes #5739 )
2020-03-07 17:24:59 +01:00
Bram Moolenaar
14e57909e6
patch 8.2.0361: internal error when using "0" for a callback
...
Problem: Internal error when using "0" for a callback.
Solution: Give a normal error. (closes #5743 )
2020-03-07 16:59:25 +01:00
Bram Moolenaar
8eab731328
patch 8.2.0360: yaml files are only recognized by the file extension
...
Problem: Yaml files are only recognized by the file extension.
Solution: Check for a line starting with "%YAML". (Jason Franklin)
2020-03-06 22:25:56 +01:00
Bram Moolenaar
ba2920fe97
patch 8.2.0359: popup_atcursor() may hang
...
Problem: popup_atcursor() may hang. (Yasuhiro Matsumoto)
Solution: Take the decoration into account. (closes #5728 )
2020-03-06 21:43:17 +01:00
Bram Moolenaar
bd7206e02c
patch 8.2.0358: insufficient testing for indent.c
...
Problem: Insufficient testing for indent.c.
Solution: Add indent tests. (Yegappan Lakshmanan, closes #5736 )
2020-03-06 20:36:04 +01:00
Bram Moolenaar
49b79bd488
patch 8.2.0357: cannot delete a text property matching both id and type
...
Problem: Cannot delete a text property matching both id and type. (Axel
Forsman)
Solution: Add the "both" argument.
2020-03-05 21:52:55 +01:00
Bram Moolenaar
8f027fe470
patch 8.2.0356: MS-Windows: feedkeys() with VIMDLL cannot handle CSI
...
Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly.
Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken
Takata, closes #5726 )
2020-03-04 23:21:35 +01:00
Bram Moolenaar
a471eeae75
patch 8.2.0355: Vim9: str_val is confusing, it's a number
...
Problem: Vim9: str_val is confusing, it's a number
Solution: Rename to stnr_val.
2020-03-04 22:20:26 +01:00
Bram Moolenaar
a65bb53514
patch 8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL
...
Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
Solution: Remove it, it was only for debugging.
2020-03-04 22:06:07 +01:00
Bram Moolenaar
d0df1aacd8
patch 8.2.0353: Vim9: while loop not tested
...
Problem: Vim9: while loop not tested.
Solution: Add test with "while", "break" and "continue"
2020-03-04 21:50:46 +01:00
Bram Moolenaar
36ddf93831
patch 8.2.0352: FreeBSD: test for sourcing utf-8 is skipped
...
Problem: FreeBSD: test for sourcing utf-8 is skipped.
Solution: Run the matchadd_conceal test separately to avoid that setting
'term' to "ansi" causes problems for other tests. (Ozaki Kiichi,
closes #5721 )
2020-03-03 23:06:48 +01:00
Bram Moolenaar
3e919d2924
patch 8.2.0351: terminal in popup test is still a bit flaky
...
Problem: Terminal in popup test is still a bit flaky.
Solution: Clear and redraw before opening the popup.
2020-03-03 22:56:39 +01:00
Bram Moolenaar
080457c02d
patch 8.2.0350: Vim9: expression tests don't use recognized constants
...
Problem: Vim9: expression tests don't use recognized constants.
Solution: Recognize "true" and "false" as constants. Make skipping work for
assignment and expression evaluation.
2020-03-03 21:53:32 +01:00
Bram Moolenaar
6d69bf602b
patch 8.2.0349: Vim9: constant expression not well tested
...
Problem: Vim9: constant expression not well tested.
Solution: Add tests for "if" with constant expression.
2020-03-03 19:02:12 +01:00
Bram Moolenaar
5381c7a162
patch 8.2.0348: Vim9: not all code tested
...
Problem: Vim9: not all code tested.
Solution: Add a few more tests. fix using "b:" in literal dictionary.
2020-03-02 22:53:32 +01:00
Bram Moolenaar
91ffc8a5f5
patch 8.2.0347: various code not covered by tests
...
Problem: Various code not covered by tests.
Solution: Add more test coverage. (Yegappan Lakshmanan, closes #5720 )
2020-03-02 20:54:22 +01:00
Bram Moolenaar
61a6d4e48b
patch 8.2.0346: Vim9: finding common list type not tested
...
Problem: Vim9: finding common list type not tested.
Solution: Add more tests. Fix listing function. Fix overwriting type.
2020-03-01 23:32:25 +01:00
Bram Moolenaar
815eb83b09
patch 8.2.0345: compiler warning when building without the float feature
...
Problem: Compiler warning when building without the float feature.
Solution: Add #ifdef. (John Marriott)
2020-03-01 20:34:26 +01:00
Bram Moolenaar
ab55c6826f
patch 8.2.0344: ":def" not skipped properly
...
Problem: ":def" not skipped properly.
Solution: Add CMD_def to list of commands the require evaluation even when
not being executed.
2020-03-01 19:41:43 +01:00
Bram Moolenaar
eab6dff19f
Update runtime files
2020-03-01 19:06:45 +01:00
Bram Moolenaar
f51cb4e08e
patch 8.2.0343: Vim9: using wrong instruction, limited test coverage
...
Problem: Vim9: using wrong instruction, limited test coverage.
Solution: Use ISN_PUSHJOB. Add a few more tests.
2020-03-01 17:55:14 +01:00
Bram Moolenaar
0546d7df13
patch 8.2.0342: some code in ex_getln.c not covered by tests
...
Problem: Some code in ex_getln.c not covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5717 )
2020-03-01 16:53:09 +01:00
Bram Moolenaar
41fe061753
patch 8.2.0341: using ":for" in Vim9 script gives an error
...
Problem: Using ":for" in Vim9 script gives an error.
Solution: Pass the LET_NO_COMMAND flag. (closes #5715 )
2020-03-01 16:22:40 +01:00
Bram Moolenaar
087d2e1518
patch 8.2.0340: Vim9: function and partial types not tested
...
Problem: Vim9: function and partial types not tested.
Solution: Support more for partial, add tests.
2020-03-01 15:36:42 +01:00
Bram Moolenaar
fbdd08ed9b
patch 8.2.0339: Vim9: function return type may depend on arguments
...
Problem: Vim9: function return type may depend on arguments.
Solution: Instead of a fixed return type use a function to figure out the
return type.
2020-03-01 14:04:46 +01:00
Bram Moolenaar
f4f190d821
patch 8.2.0338: build failure without the channel feature
...
Problem: Build failure without the channel feature.
Solution: Add #ifdef
2020-03-01 13:01:16 +01:00
Bram Moolenaar
b54b8e0c86
patch 8.2.0337: build fails on a few systems
...
Problem: Build fails on a few systems.
Solution: Use vim_snprintf() instead of snprintf().
2020-03-01 01:05:53 +01:00
Bram Moolenaar
42a480bf72
patch 8.2.0336: Vim9: insufficient test coverage for compiling
...
Problem: Vim9: insufficient test coverage for compiling.
Solution: Add more tests.
2020-02-29 23:23:47 +01:00
Bram Moolenaar
cc390ff5b2
patch 8.2.0335: no completion for :disassemble
...
Problem: No completion for :disassemble.
Solution: Make completion work. Also complete script-local functions if the
name starts with "s:".
2020-02-29 22:06:30 +01:00
Bram Moolenaar
dd58923c6b
patch 8.2.0334: abort called when using test_void()
...
Problem: Abort called when using test_void(). (Dominique Pelle)
Solution: Only give an error, don't abort.
2020-02-29 17:38:12 +01:00
Bram Moolenaar
57c339569e
patch 8.2.0333: terminal in popup test is flaky
...
Problem: Terminal in popup test is flaky.
Solution: Make sure redraw is done before opening the popup.
2020-02-29 16:09:16 +01:00
Bram Moolenaar
d30ae2fc4a
patch 8.2.0332: some code in ex_getln.c not covered by tests
...
Problem: Some code in ex_getln.c not covered by tests.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5710 )
2020-02-29 14:23:58 +01:00
Bram Moolenaar
7c215c5893
patch 8.2.0331: internal error when using test_void() and test_unknown()
...
Problem: Internal error when using test_void() and test_unknown().
(Dominique Pelle)
Solution: Give a normal error.
2020-02-29 13:43:27 +01:00
Bram Moolenaar
57c732ed78
patch 8.2.0330: build error with popup window but without terminal
...
Problem: Build error with popup window but without terminal.
Solution: Add #ifdef.
2020-02-28 22:51:54 +01:00
Bram Moolenaar
ec084d3356
patch 8.2.0329: popup filter converts 0x80 bytes
...
Problem: Popup filter converts 0x80 bytes.
Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706 )
2020-02-28 22:44:47 +01:00
Bram Moolenaar
e52e0c89d1
patch 8.2.0328: no redraw when leaving term-normal mode in popup terminal
...
Problem: No redraw when leaving terminal-normal mode in a terminal popup
window.
Solution: Redraw the popup window. (closes #5708 )
2020-02-28 22:20:10 +01:00
Bram Moolenaar
80ae880f5f
patch 8.2.0327: crash when opening and closing two popup terminal windows
...
Problem: Crash when opening and closing two popup terminal windows.
Solution: Check that prevwin is valid. (closes #5707 )
2020-02-28 19:11:18 +01:00
Bram Moolenaar
d5aec0ced1
patch 8.2.0326: compiler warning for using uninitialized variable
...
Problem: Compiler warning for using uninitialized variable. (Yegappan
Lakshmanan)
Solution: Do not jump to failed but return.
2020-02-27 21:48:51 +01:00
Bram Moolenaar
578fe947e3
patch 8.2.0325: ex_getln.c code not covered by tests
...
Problem: Ex_getln.c code not covered by tests.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5702 )
2020-02-27 21:32:51 +01:00
Bram Moolenaar
12f2003871
patch 8.2.0324: text property not updated correctly when inserting/deleting
...
Problem: Text property not updated correctly when inserting/deleting.
Solution: Use the right column when deleting. Make zero-width text
properties respect start_incl and end_incl. (Axel Forsman,
closes #5696 , closes #5679 )
2020-02-26 22:06:00 +01:00
Bram Moolenaar
7eeefd4a39
patch 8.2.0323: Vim9: calling a function that is defined later is slow
...
Problem: Vim9: calling a function that is defined later is slow.
Solution: Once the function is found update the instruction so it can be
called directly.
2020-02-26 21:24:23 +01:00
Bram Moolenaar
b35efa5ed0
patch 8.2.0322: Vim9: error checks not tested
...
Problem: Vim9: error checks not tested.
Solution: Add more test cases. Avoid error for function loaded later.
2020-02-26 20:15:18 +01:00
Bram Moolenaar
ad39c094d2
patch 8.2.0321: Vim9: ":execute" does not work yet
...
Problem: Vim9: ":execute" does not work yet.
Solution: Add ISN_EXECUTE. (closes #5699 ) Also make :echo work with more
than one argument.
2020-02-26 18:23:43 +01:00
Bram Moolenaar
b3f740695a
patch 8.2.0320: no Haiku support
...
Problem: No Haiku support.
Solution: Add support for Haiku. (Emir Sari, closes #5605 )
2020-02-26 16:16:53 +01:00
Bram Moolenaar
d672dde584
patch 8.2.0319: file missing in distribution, comments outdated
...
Problem: File missing in distribution, comments outdated.
Solution: Correct path of README file. Update comments.
2020-02-26 13:43:51 +01:00
Bram Moolenaar
bc93cebb69
Update runtime files.
2020-02-26 13:36:21 +01:00
Bram Moolenaar
0c2ca58ef0
patch 8.2.0318: Vim9: types not sufficiently tested
...
Problem: Vim9: types not sufficiently tested.
Solution: Add tests with more types.
2020-02-25 22:58:29 +01:00
Bram Moolenaar
703ea9eaef
patch 8.2.0317: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build
...
Problem: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build.
Solution: Move where CFLAGS is updated. (Ken Takata, closes #5692 )
2020-02-25 22:04:55 +01:00
Bram Moolenaar
8d588ccee5
patch 8.2.0316: ex_getln.c code has insufficient test coverage
...
Problem: ex_getln.c code has insufficient test coverage.
Solution: Add more tests. Fix a problem. (Yegappan Lakshmanan, closes #5693 )
2020-02-25 21:47:45 +01:00
Bram Moolenaar
c593bec412
patch 8.2.0315: build failure on HP-UX system
...
Problem: Build failure on HP-UX system.
Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
statement. (John Marriott)
2020-02-25 21:26:49 +01:00
Bram Moolenaar
e010c720b2
patch 8.2.0314: short name not set for terminal buffer
...
Problem: Short name not set for terminal buffer.
Solution: Set the short name. (closes #5687 )
2020-02-24 21:37:54 +01:00
Bram Moolenaar
fa29c8abd6
patch 8.2.0313: Vim9: insufficient script tests
...
Problem: Vim9: insufficient script tests.
Solution: Add tests. Make import of alphanumeric name work.
2020-02-23 22:35:05 +01:00
Bram Moolenaar
f2d5c240a5
patch 8.2.0312: Vim9: insufficient script tests
...
Problem: Vim9: insufficient script tests.
Solution: Add more tests. Make "import * as Name" work.
2020-02-23 21:25:54 +01:00
Bram Moolenaar
750802b55c
patch 8.2.0311: Vim9: insufficient script tests
...
Problem: Vim9: insufficient script tests.
Solution: Add tests. Free imports when re-using a script.
2020-02-23 18:08:33 +01:00
Bram Moolenaar
8fb1b47a5e
patch 8.2.0310: autocmd test fails on a slow system
...
Problem: Autocmd test fails on a slow system.
Solution: Adjust the expectations. (James McCoy, closes #5685 )
2020-02-23 16:16:26 +01:00
Bram Moolenaar
b81f56fb57
patch 8.2.0309: window-local values have confusing name
...
Problem: Window-local values have confusing name.
Solution: Rename w_p_bri* to w_briopt_*.
2020-02-23 15:29:46 +01:00
Bram Moolenaar
1aa76b8fd0
patch 8.2.0308: 'showbreak' does not work for a very long line
...
Problem: 'showbreak' does not work for a very long line. (John Little)
Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523 ,
closes #5684 )
2020-02-23 15:17:27 +01:00
Bram Moolenaar
026270c01d
patch 8.2.0307: Python 3 vim.eval not well tested
...
Problem: Python 3 vim.eval not well tested.
Solution: Add a test. (Dominique Pelle, closes #5680 )
2020-02-23 15:10:16 +01:00
Bram Moolenaar
83f37b9142
patch 8.2.0306: Vim9: :substitute(pat(repl does not work in Vim9 script
...
Problem: Vim9: :substitute(pat(repl does not work in Vim9 script.
Solution: Remember starting with a colon. (closes #5676 )
2020-02-23 14:35:01 +01:00
Bram Moolenaar
8040a7147f
patch 8.2.0305: relativenumber test fails on some systems
...
Problem: Relativenumber test fails on some systems. (James McCoy)
Solution: Clear the command line.
2020-02-23 13:38:08 +01:00
Bram Moolenaar
95ffd43f88
patch 8.2.0304: terminal test if failing on some systems
...
Problem: Terminal test if failing on some systems.
Solution: Wait for the job to finish. (James McCoy)
2020-02-23 13:29:31 +01:00
Bram Moolenaar
d28e0b3652
patch 8.2.0303: TermChanged test fails in the GUI
...
Problem: TermChanged test fails in the GUI.
Solution: Skip the test when running the GUI.
2020-02-22 23:08:52 +01:00
Bram Moolenaar
0c81d1b112
patch 8.2.0302: setting 'term' may cause error in TermChanged autocommand
...
Problem: Setting 'term' may cause error in TermChanged autocommand.
Solution: Use aucmd_prepbuf() to switch to the buffer where the autocommand
is to be executed. (closes #5682 )
2020-02-22 22:45:55 +01:00
Bram Moolenaar
b654103ad1
patch 8.2.0301: insufficient testing for exception handling
...
Problem: Insufficient testing for exception handling and the "attention"
prompt.
Solution: Add test cases. (Yegappan Lakshmanan, closes #5681 )
2020-02-22 21:21:27 +01:00
Bram Moolenaar
b4d2cb1083
patch 8.2.0300: Vim9: expression test fails without channel support
...
Problem: Vim9: expression test fails without channel support.
Solution: Add has('channel') check.
2020-02-22 20:33:08 +01:00
Bram Moolenaar
8ed04587d3
patch 8.2.0299: Vim9: ISN_STORE with argument not tested
...
Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool()
not tested.
Solution: Add tests. Add test_unknown() and test_void().
2020-02-22 19:07:28 +01:00
Bram Moolenaar
0c6ceaf903
patch 8.2.0298: Vim9 script: cannot start command with a string constant
...
Problem: Vim9 script: cannot start command with a string constant.
Solution: Recognize expression starting with '('.
2020-02-22 18:36:32 +01:00
Bram Moolenaar
8b430b4c1d
patch 8.2.0297: compiler warnings for the Ruby interface
...
Problem: Compiler warnings for the Ruby interface.
Solution: Undefine a few macros, fix initialization. (Ozaki Kiichi,
closes #5677 )
2020-02-22 15:01:00 +01:00
Bram Moolenaar
f9706e9df0
patch 8.2.0296: mixing up "long long" and __int64 may cause problems
...
Problem: Mixing up "long long" and __int64 may cause problems. (John
Marriott)
Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
2020-02-22 14:27:04 +01:00
Bram Moolenaar
c036e87bd7
patch 8.2.0295: highlighting for :s wrong when using different separator
...
Problem: Highlighting for :s wrong when using different separator.
Solution: Use separat argument for search direction and separator. (Rob
Pilling, closes #5665 )
2020-02-21 21:30:52 +01:00
Bram Moolenaar
5b1c8fe3d5
patch 8.2.0294: cannot use Ex command that is also a function name
...
Problem: Cannot use Ex command that is also a function name.
Solution: Recognize an Ex command by a colon prefix.
2020-02-21 18:42:43 +01:00
Bram Moolenaar
818fc9ad14
patch 8.2.0293: various Ex commands not sufficiently tested
...
Problem: Various Ex commands not sufficiently tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673 )
2020-02-21 17:54:45 +01:00
Bram Moolenaar
09f28f49c9
patch 8.2.0292: Vim9: CHECKNR and CHECKTYPE instructions not tested
...
Problem: Vim9: CHECKNR and CHECKTYPE instructions not tested.
Solution: Add tests.
2020-02-20 23:08:34 +01:00
Bram Moolenaar
436472f5e0
patch 8.2.0291: Vim9: assigning [] to list<string> doesn't work
...
Problem: Vim9: assigning [] to list<string> doesn't work.
Solution: Use void for empty list and dict. (Ken Takata, closes #5669 )
2020-02-20 22:54:43 +01:00
Bram Moolenaar
85683ec620
patch 8.2.0290: running individual test differs from all tests
...
Problem: Running individual test differs from all tests.
Solution: Pass on environment variables. (Yee Cheng Chin, closes #5672 )
2020-02-20 22:35:02 +01:00
Bram Moolenaar
e0807ea4a7
patch 8.2.0289: Vim9: :echo did not clear the rest of the line
...
Problem: Vim9: :echo did not clear the rest of the line.
Solution: Call msg_clr_eos(). (Ken Takata, closes #5668 )
2020-02-20 22:18:06 +01:00
Bram Moolenaar
0062c2d4f9
patch 8.2.0288: Vim9: some float and blob operators not tested
...
Problem: Vim9: some float and blob operators not tested.
Solution: Add float and blob tests. Fix addition.
2020-02-20 22:14:31 +01:00
Bram Moolenaar
f575adff06
patch 8.2.0287: Vim9: return in try block not tested; catch not tested
...
Problem: Vim9: return in try block not tested; catch with pattern not
tested.
Solution: Add tests. Make it work.
2020-02-20 20:41:06 +01:00
Bram Moolenaar
11ec807639
patch 8.2.0286: cannot use popup_close() for a terminal popup
...
Problem: Cannot use popup_close() for a terminal popup.
Solution: Allow using popup_close(). (closes #5666 )
2020-02-20 20:12:29 +01:00
Bram Moolenaar
0bbf722aaa
patch 8.2.0285: unused error message; cannot create s:var
...
Problem: Unused error message. Cannot create s:var.
Solution: Remove the error message. Make assignment to s:var work.
2020-02-19 22:31:48 +01:00
Bram Moolenaar
c0d656c89d
patch 8.2.0284: Vim9: assignment test fails
...
Problem: Vim9: assignment test fails.
Solution: Avoid duplicating "s:".
2020-02-19 21:12:40 +01:00
Bram Moolenaar
fd1823e0b7
patch 8.2.0283: Vim9: failing to load script var not tested
...
Problem: Vim9: failing to load script var not tested.
Solution: Add more tests. Fix using s: in old script.
2020-02-19 20:23:11 +01:00
Bram Moolenaar
401d9ffb5a
patch 8.2.0282: Vim9: setting number option not tested
...
Problem: Vim9: setting number option not tested.
Solution: Add more tests. Fix assigning to global variable.
2020-02-19 18:14:44 +01:00
Bram Moolenaar
a2f6e42ded
patch 8.2.0281: two placed signs in the same line are not combined
...
Problem: Two placed signs in the same line are not combined. E.g. in the
terminal debugger a breakpoint and the PC cannot be both be
displayed.
Solution: Combine the sign column and line highlight attributes.
2020-02-19 17:13:04 +01:00
Bram Moolenaar
257cc5ee95
patch 8.2.0280: Vim9: throw in :def function not caught higher up
...
Problem: Vim9: throw in :def function not caught higher up.
Solution: Set "need_rethrow".
2020-02-19 17:06:11 +01:00
Bram Moolenaar
63ce4849ef
patch 8.2.0279: Vim9: no test for deleted :def function
...
Problem: Vim9: no test for deleted :def function.
Solution: Add a test. Clear uf_cleared flag when redefining a function.
2020-02-19 15:46:48 +01:00
Bram Moolenaar
9ae3bbdb96
patch 8.2.0278: channel test is flaky on Mac
...
Problem: Channel test is flaky on Mac.
Solution: Reset variable before sending message.
2020-02-19 14:31:33 +01:00
Bram Moolenaar
ee2e52aa06
patch 8.2.0277: Vim9: not all instructions covered by tests
...
Problem: Vim9: not all instructions covered by tests.
Solution: Add more test cases.
2020-02-19 14:17:18 +01:00
Bram Moolenaar
38a5f517a7
patch 8.2.0276: Vim9: not allowing space before ")" in function call
...
Problem: Vim9: not allowing space before ")" in function call is too
restrictive. (Ben Jackson)
Solution: Skip space before the ")". Adjust other space checks.
2020-02-19 12:40:39 +01:00
Bram Moolenaar
406cd90f19
patch 8.2.0275: some Ex code not covered by tests
...
Problem: Some Ex code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes #5659 )
2020-02-18 21:54:41 +01:00
Bram Moolenaar
9e2bcb5d23
patch 8.2.0274: hang with combination of feedkeys(), Ex mode and :global
...
Problem: Hang with combination of feedkeys(), Ex mode and :global.
(Yegappan Lakshmanan)
Solution: Add the pending_exmode_active flag.
2020-02-18 21:33:00 +01:00
Bram Moolenaar
1fa8d2c33d
patch 8.2.0273: MS-Windows uninstall may delete wrong batch file
...
Problem: MS-Windows uninstall may delete wrong batch file.
Solution: Add specific marker in the generated batch file. (Ken Takata,
closes #5654 )
2020-02-17 22:53:14 +01:00
Bram Moolenaar
414b796627
patch 8.2.0272: ":helptags ALL" gives error for some directories
...
Problem: ":helptags ALL" gives error for directories without write
permission. (Matěj Cepl)
Solution: Ignore errors for ":helptags ALL". (Ken Takata, closes #5026 ,
closes #5652 )
2020-02-17 22:39:35 +01:00
Bram Moolenaar
82f654e092
patch 8.2.0271: the "num64" feature is available everywhere
...
Problem: The "num64" feature is available everywhere and building without
it causes problems.
Solution: Graduage the "num64" feature. (James McCoy, closes #5650 )
2020-02-17 22:12:50 +01:00
Bram Moolenaar
bc2b71d44a
patch 8.2.0270: some code not covered by tests
...
Problem: Some code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes #5649 )
2020-02-17 21:33:30 +01:00
Bram Moolenaar
b13af50f73
patch 8.2.0269: Vim9: operator after list index does not work
...
Problem: Vim9: operator after list index does not work. (Yasuhiro
Matsumoto)
Solution: After indexing a list change the type to the list member type.
(closes #5651 )
2020-02-17 21:12:08 +01:00
Bram Moolenaar
40d9da2a43
patch 8.2.0268: trycatch test fails
...
Problem: Trycatch test fails.
Solution: When calling function fails only check for following command, do
not give another error.
2020-02-17 10:01:24 +01:00
Bram Moolenaar
e51bb17dd0
patch 8.2.0267: no check for a following cmd when calling a function fails
...
Problem: No check for a following command when calling a function fails.
Solution: Also check for a following command when inside a try block.
(closes #5642 )
2020-02-16 19:42:23 +01:00
Bram Moolenaar
a28be85ccd
patch 8.2.0266: terminal in popup test sometimes fails on Mac
...
Problem: Terminal in popup test sometimes fails on Mac.
Solution: Add a short delay.
2020-02-16 17:04:09 +01:00
Bram Moolenaar
a76b31542e
patch 8.2.0265: "eval" after "if 0" doesn't check for following command
...
Problem: "eval" after "if 0" doesn't check for following command.
Solution: Add "eval" to list of commands that check for a following command.
(closes #5640 )
2020-02-16 16:20:21 +01:00
Bram Moolenaar
a36c830a32
patch 8.2.0264: fileformat test still fails on MS-Windows
...
Problem: Fileformat test still fails on MS-Windows.
Solution: Set fileformat of buffer in the right place.
2020-02-16 15:08:28 +01:00
Bram Moolenaar
df2ecddf9d
patch 8.2.0263: a few new Vim9 messages are not localized
...
Problem: A few new Vim9 messages are not localized.
Solution: Add the gettext wrapper. (Dominique Pelle, closes #5647 )
2020-02-16 15:03:48 +01:00
Bram Moolenaar
50434bd74c
patch 8.2.0262: fileformat test fails on MS-Windows
...
Problem: Fileformat test fails on MS-Windows.
Solution: Set fileformat of buffer.
2020-02-16 14:55:22 +01:00
Bram Moolenaar
f0cee1971f
patch 8.2.0261: some code not covered by tests
...
Problem: Some code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes #5645 )
2020-02-16 13:33:56 +01:00
Bram Moolenaar
f4140488c7
patch 8.2.0260: several lines of code are duplicated
...
Problem: Several lines of code are duplicated.
Solution: Move duplicated code to a function. (Yegappan Lakshmanan,
closes #5330 )
2020-02-15 23:06:45 +01:00
Bram Moolenaar
ebdf3c964a
Update runtime files.
2020-02-15 21:41:42 +01:00
Bram Moolenaar
c2adc00fa7
patch 8.2.0259: terminal in popup test sometimes fails
...
Problem: Terminal in popup test sometimes fails.
Solution: Clear the command line.
2020-02-14 17:05:18 +01:00
Bram Moolenaar
4132eb505c
patch 8.2.0258: modifyOtherKeys cannot be temporarily disabled
...
Problem: ModifyOtherKeys cannot be temporarily disabled.
Solution: Add echoraw() with an example for modifyOtherKeys.
2020-02-14 16:53:00 +01:00
Bram Moolenaar
00f3b4e007
patch 8.2.0257: cannot recognize a terminal in a popup window
...
Problem: Cannot recognize a terminal in a popup window.
Solution: Add the win_gettype() function.
2020-02-14 14:32:22 +01:00
Bram Moolenaar
0a8fed6231
patch 8.2.0256: time and timer related code is spread out
...
Problem: Time and timer related code is spread out.
Solution: Move time and timer related code to a new file. (Yegappan
Lakshmanan, closes #5604 )
2020-02-14 13:22:17 +01:00
Bram Moolenaar
f2cecb6c10
patch 8.2.0255: VMS: missing files in build
...
Problem: VMS: missing files in build.
Solution: Add the files. (Zoltan Arpadffy)
2020-02-13 21:59:25 +01:00
Bram Moolenaar
ae8d2de3a9
patch 8.2.0254: compiler warning for checking size_t to be negative
...
Problem: Compiler warning for checking size_t to be negative.
Solution: Only check for zero. (Zoltan Arpadffy)
2020-02-13 21:42:24 +01:00
Bram Moolenaar
21456cdccb
patch 8.2.0253: crash when using :disassamble without argument
...
Problem: Crash when using :disassamble without argument. (Dhiraj Mishra)
Solution: Check for missing argument. (Dominique Pelle, closes #5635 ,
closes #5637 )
2020-02-13 21:29:32 +01:00
Bram Moolenaar
3dd64608f6
patch 8.2.0252: Windows compiler warns for using size_t
...
Problem: Windows compiler warns for using size_t.
Solution: Change to int. (Mike Williams)
2020-02-13 20:31:28 +01:00
Bram Moolenaar
7306d6b1c9
patch 8.2.0251: a couple of function return types can be more specific
...
Problem: A couple of function return types can be more specific.
Solution: Use a better return type. (Ken Takata, closes #5629 )
2020-02-12 22:25:56 +01:00
Bram Moolenaar
4f5776c17c
patch 8.2.0250: test_clear_search_pat() is unused
...
Problem: test_clear_search_pat() is unused.
Solution: Remove the function. (Yegappan Lakshmanan, closes #5624 )
2020-02-12 22:15:19 +01:00
Bram Moolenaar
3fb377fa78
patch 8.2.0249: MS-Windows: various warnings
...
Problem: MS-Windows: various warnings.
Solution: Set the charset to utf-8. Add _WIN32_WINNT and _USING_V110_SDK71_.
(Ken Takata, closes #5625 )
2020-02-12 21:52:32 +01:00
Bram Moolenaar
2f18975088
patch 8.2.0248: MS-Windows: dealing with deprecation is too complicated
...
Problem: MS-Windows: dealing with deprecation is too complicated.
Solution: Use io.h directly. Move _CRT_SECURE_NO_DEPRECATE to the build
file. Suppress C4091 warning by setting "_WIN32_WINNT". (Ken
Takata, closes #5626 )
2020-02-12 21:15:43 +01:00
Bram Moolenaar
3b0ef8cfdb
patch 8.2.0247: misleading comment in NSIS installer script
...
Problem: Misleading comment in NSIS installer script.
Solution: Negate the meaning of the comment. (Ken Takata, closes #5627 )
2020-02-12 21:03:32 +01:00
Bram Moolenaar
49c99fcca0
patch 8.2.0246: MSVC: deprecation warnings with Ruby
...
Problem: MSVC: deprecation warnings with Ruby.
Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata,
closes #5622 )
2020-02-11 23:01:39 +01:00
Bram Moolenaar
5489eab345
patch 8.2.0245: MSVC: error message if the auto directory already exists
...
Problem: MSVC: error message if the auto directory already exists.
Solution: Add "if not exists". (Ken Takata, closes #5620 )
2020-02-11 22:49:18 +01:00
Bram Moolenaar
5f1d3ae8a8
patch 8.2.0244: compiler warning in Lua interface
...
Problem: Compiler warning in Lua interface.
Solution: Add type cast. (Ken Takata, closes #5621 )
2020-02-11 22:37:35 +01:00
Bram Moolenaar
9f6277bdde
patch 8.2.0243: insufficient code coverage for ex_docmd.c functions
...
Problem: Insufficient code coverage for ex_docmd.c functions.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5618 )
2020-02-11 22:04:02 +01:00
Bram Moolenaar
799439a5d8
patch 8.2.0242: preview popup window test fails with long directory name
...
Problem: Preview popup window test fails with long directory name. (Jakub
Kądziołka)
Solution: Use "silent cd". (closes #5615 )
2020-02-11 21:44:17 +01:00
Bram Moolenaar
99234f29aa
patch 8.2.0241: crash when setting 'buftype' to "quickfix"
...
Problem: Crash when setting 'buftype' to "quickfix".
Solution: Check that error list is not NULL. (closes #5613 )
2020-02-10 22:56:54 +01:00
Bram Moolenaar
408030e8d0
patch 8.2.0240: using memory after it was freed
...
Problem: Using memory after it was freed. (Dominique Pelle)
Solution: Do not mix converion buffer with other buffer.
2020-02-10 22:44:32 +01:00
Bram Moolenaar
355757aed6
patch 8.2.0239: MS-Windows: 'env' job option does not override existing vars
...
Problem: MS-Windows: 'env' job option does not override existing
environment variables. (Tim Pope)
Solution: Set the environment variables later. (Yasuhiro Matsumoto,
closes #5485 , closes #5608 )
2020-02-10 22:06:32 +01:00
Bram Moolenaar
b3e195cca7
patch 8.2.0238: MS-Windows: job_stop() results in exit value zero
...
Problem: MS-Windows: job_stop() results in exit value zero.
Solution: Call TerminateJobObject() with -1 instead of 0. (Yasuhiro
Matsumoto, closes #5150 , closes #5614 )
2020-02-10 21:32:19 +01:00
Bram Moolenaar
7ba3b91e03
patch 8.2.0237: crash when setting 'wincolor' on finished terminal window
...
Problem: Crash when setting 'wincolor' on finished terminal window.
(Bakudankun)
Solution: Check that the vterm is not NULL. (Yasuhiro Matsumoto, closes
#5607 , closes #5610 )
2020-02-10 20:34:04 +01:00
Bram Moolenaar
57ea2924e5
patch 8.2.0236: MS-Windows unintall doesn't delete vimtutur.bat
...
Problem: MS-Windows unintall doesn't delete vimtutur.bat.
Solution: Change directory before deletion. (Ken Takata, closes #5603 )
2020-02-09 14:27:20 +01:00
Bram Moolenaar
dbe5d361fe
patch 8.2.0235: draw error when an empty group is removed from 'statusline'
...
Problem: Draw error when an empty group is removed from 'statusline'.
Solution: Do not use highlighting from a removed group.
2020-02-08 18:35:31 +01:00
Bram Moolenaar
d5b9914938
patch 8.2.0234: message test fails on SunOS
...
Problem: Message test fails on SunOS.
Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes #5595 )
2020-02-08 17:14:46 +01:00
Bram Moolenaar
4f645c54ef
patch 8.2.0233: crash when using garbagecollect() in between rand()
...
Problem: Crash when using garbagecollect() in between rand().
Solution: Redesign the rand() and srand() implementation. (Yasuhiro
Matsumoto, closes #5587 , closes #5588 )
2020-02-08 16:40:39 +01:00
Bram Moolenaar
165315584d
patch 8.2.0232: the :compiler command causes a crash
...
Problem: The :compiler command causes a crash. (Daniel Steinberg)
Solution: Do not use the script index if it isn't set.
2020-02-08 16:00:46 +01:00
Bram Moolenaar
d02e508a18
patch 8.2.0231: silent system command may clear the screen
...
Problem: Silent system command may clear the screen.
Solution: Do not clear the screen in t_te.
2020-02-08 14:22:53 +01:00
Bram Moolenaar
670218839a
patch 8.2.0230: terminal popup test is flaky
...
Problem: Terminal popup test is flaky.
Solution: Increase wait time a bit.
2020-02-07 22:20:53 +01:00
Bram Moolenaar
f2460a3aec
patch 8.2.0229: compare instructions not tested
...
Problem: Compare instructions not tested.
Solution: Add test cases. Fix disassemble with line continuation.
2020-02-07 22:09:54 +01:00
Bram Moolenaar
348808f7c0
patch 8.2.0228: configure does not recognize gcc version on BSD
...
Problem: Configure does not recognize gcc version on BSD.
Solution: Do not use "\+" in the pattern matching the version number. (Ozaki
Kiichi, closes #5590 )
2020-02-07 20:50:07 +01:00
Bram Moolenaar
c2a4b35b86
patch 8.2.0227: compiling a few instructions not tested
...
Problem: Compiling a few instructions not tested.
Solution: Add more test cases.
2020-02-06 22:41:16 +01:00
Bram Moolenaar
04d0522046
patch 8.2.0226: compiling for loop not tested
...
Problem: Compiling for loop not tested.
Solution: Add a test. Make variable initialization work for more types.
2020-02-06 22:06:54 +01:00
Bram Moolenaar
777770fbb0
patch 8.2.0225: compiling lambda not tested yet
...
Problem: compiling lambda not tested yet.
Solution: Add test for lambda and funcref. Drop unused instruction arg.
2020-02-06 21:27:08 +01:00
Bram Moolenaar
158906cffc
patch 8.2.0224: compiling :elseif not tested yet
...
Problem: compiling :elseif not tested yet.
Solution: Add test for :elseif. Fix generating jumps.
2020-02-06 20:39:45 +01:00
Bram Moolenaar
5cab73f8cc
patch 8.2.0223: some instructions not yet tested
...
Problem: Some instructions not yet tested.
Solution: Disassemble more instructions. Move tests to a new file. Compile
call to s:function().
2020-02-06 19:25:19 +01:00
Bram Moolenaar
170fcfcf25
patch 8.2.0222: Vim9: optional function arguments don't work yet
...
Problem: Vim9: optional function arguments don't work yet.
Solution: Implement optional function arguments.
2020-02-06 17:51:35 +01:00
Bram Moolenaar
6e587dcbf3
patch 8.2.0221: no test for Vim9 += and ..=
...
Problem: No test for Vim9 += and ..=.
Solution: Add tests.
2020-02-06 13:15:52 +01:00
Bram Moolenaar
1af5ce01c3
patch 8.2.0220: terminal test did pass on Mac
...
Problem: Terminal test did pass on Mac.
Solution: Remove the skip again.
2020-02-06 11:54:35 +01:00
Bram Moolenaar
4af11174f7
patch 8.2.0219: terminal test still fails on Mac
...
Problem: Terminal test still fails on Mac.
Solution: Skip part of the test on Mac.
2020-02-05 23:01:34 +01:00
Bram Moolenaar
0de50864a7
patch 8.2.0218: several Vim9 instructions are not tested
...
Problem: Several Vim9 instructions are not tested.
Solution: Add more tests.
2020-02-05 22:55:48 +01:00
Bram Moolenaar
adbc11c2ee
patch 8.2.0217: terminal test fails on Mac
...
Problem: Terminal test fails on Mac.
Solution: Add a short wait.
2020-02-05 22:21:08 +01:00
Bram Moolenaar
ff80cb6807
patch 8.2.0216: several Vim9 instructions are not tested
...
Problem: Several Vim9 instructions are not tested.
Solution: Add more tests. Fix :disassamble output. Make catch with pattern
work.
2020-02-05 22:10:05 +01:00
Bram Moolenaar
a78e9c61a0
patch 8.2.0215: wrong file name shortening
...
Problem: Wrong file name shortening. (Ingo Karkat)
Solution: Better check for path separator. (Yasuhiro Matsumoto,
closes #5583 , closes #5584 )
2020-02-05 21:14:00 +01:00
Bram Moolenaar
2e6638d5f0
patch 8.2.0214: a popup window with a terminal can be made hidden
...
Problem: A popup window with a terminal can be made hidden.
Solution: Disallow hiding a terminal popup.
2020-02-05 21:07:18 +01:00
Bram Moolenaar
7077892a79
patch 8.2.0213: configure does not recognize gcc 10.0 and later
...
Problem: Configure does not recognize gcc 10.0 and later.
Solution: Adjust the pattern matching the version number. (Sergei
Trofimovich, closes #5580 )
2020-02-05 20:44:24 +01:00
Bram Moolenaar
07ada5ff2f
patch 8.2.0212: missing search/substitute pattern hardly tested
...
Problem: Missing search/substitute pattern hardly tested.
Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
closes #5579 )
2020-02-05 20:38:22 +01:00
Bram Moolenaar
94255df057
patch 8.2.0211: test for ANSI colors fails without an "ls" command
...
Problem: Test for ANSI colors fails without an "ls" command.
Solution: Use "dir". (Ken Takata, closes #5582 )
2020-02-05 20:10:33 +01:00
Bram Moolenaar
eed3571fe0
patch 8.2.0210: Coverity complains about uninitialized field
...
Problem: Coverity complains about uninitialized field.
Solution: Initialize the field.
2020-02-04 23:08:14 +01:00
Bram Moolenaar
560979ed4f
Update runtime files.
2020-02-04 22:53:05 +01:00
Bram Moolenaar
80147dda4f
patch 8.2.0209: function a bit far away from where it's used
...
Problem: Function a bit far away from where it's used.
Solution: Move function close to where it's used. (Ken Takata, closes #5569 )
2020-02-04 22:32:59 +01:00
Bram Moolenaar
d816cd94d8
patch 8.2.0208: fnamemodify() does not apply ":~" when followed by ":."
...
Problem: Fnamemodify() does not apply ":~" when followed by ":.".
Solution: Don't let a failing ":." cause the ":~" to be skipped. (Yasuhiro
Matsumoto, closes #5577 )
2020-02-04 22:23:09 +01:00
Bram Moolenaar
bfe1204312
patch 8.2.0207: crash when missing member type on list argument
...
Problem: Crash when missing member type on list argument.
Solution: Check for invalid type. (closes #5572 )
2020-02-04 21:54:07 +01:00
Bram Moolenaar
26e117e9bc
patch 8.2.0206: calling Vim9 function using default argument fails
...
Problem: Calling Vim9 function using default argument fails.
Solution: Give an appropriate error. (closes #5572 )
2020-02-04 21:24:15 +01:00
Bram Moolenaar
a5edb670dc
patch 8.2.0205: error code E899 used twice
...
Problem: Error code E899 used twice.
Solution: Use E863 for the terminal in popup error.
2020-02-03 22:58:48 +01:00
Bram Moolenaar
631ebc4814
patch 8.2.0204: crash when using winnr('j') in a popup window
...
Problem: Crash when using winnr('j') in a popup window.
Solution: Do not search for neighbors in a popup window. (closes #5568 )
2020-02-03 22:15:26 +01:00
Bram Moolenaar
e20b9ececa
patch 8.2.0203: :helptags and some other functionality not tested
...
Problem: :helptags and some other functionality not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5567 )
2020-02-03 21:40:04 +01:00
Bram Moolenaar
e7ddf4e337
patch 8.2.0202: when 'lazyredraw' is set the window title may not be updated
...
Problem: When 'lazyredraw' is set the window title may not be updated.
Solution: Set "do_redraw" before entering the main loop. (Jason Franklin)
2020-02-03 21:29:30 +01:00
Bram Moolenaar
4e12a5df37
patch 8.2.0201: cannot assign to an imported variable
...
Problem: Cannot assign to an imported variable.
Solution: Make it work.
2020-02-03 20:50:59 +01:00
Bram Moolenaar
b283a8a680
patch 8.2.0200: Vim9 script commands not sufficiently tested
...
Problem: Vim9 script commands not sufficiently tested.
Solution: Add more tests. Fix storing global variable. Make script
variables work.
2020-02-02 22:24:04 +01:00
Bram Moolenaar
0f18b6d17b
patch 8.2.0199: Vim9 script commands not sufficiently tested
...
Problem: Vim9 script commands not sufficiently tested.
Solution: Add more tests. Fix script-local function use.
2020-02-02 17:22:27 +01:00
Bram Moolenaar
43c60eda2a
patch 8.2.0198: no tests for y/n prompt
...
Problem: No tests for y/n prompt.
Solution: Add tests. (Dominique Pelle, closes #5564 )
2020-02-02 15:55:19 +01:00
Bram Moolenaar
ea3db914c0
patch 8.2.0197: some Ex commands not sufficiently tested
...
Problem: Some Ex commands not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5565 )
2020-02-02 15:32:13 +01:00
Bram Moolenaar
d98c0b63ab
patch 8.2.0196: blocking commands for a finished job in a popup window
...
Problem: Blocking commands for a finished job in a popup window.
Solution: Do not block commands if the job has finished. Adjust test.
2020-02-02 15:25:16 +01:00
Bram Moolenaar
3180fe6c6d
patch 8.2.0195: some tests fail when run in the GUI
...
Problem: Some tests fail when run in the GUI.
Solution: Make sure the window width is enough. In the GUI run terminal Vim
in the terminal, if possible.
2020-02-02 13:47:06 +01:00
Bram Moolenaar
3c01c4a028
patch 8.2.0194: some commands can cause problems in terminal popup
...
Problem: Some commands can cause problems in terminal popup.
Solution: Disallow more commands.
2020-02-01 23:04:24 +01:00
Bram Moolenaar
284d1c24e2
patch 8.2.0193: still build failure without +terminal feature
...
Problem: Still build failure without +terminal feature.
Solution: Add more #ifdefs.
2020-02-01 22:39:32 +01:00
Bram Moolenaar
91cd59a0a2
patch 8.2.0192: build failure without +terminal feature
...
Problem: Build failure without +terminal feature.
Solution: Add #ifdefs.
2020-02-01 22:18:37 +01:00
Bram Moolenaar
219c7d0638
patch 8.2.0191: cannot put a terminal in a popup window
...
Problem: Cannot put a terminal in a popup window.
Solution: Allow opening a terminal in a popup window. It will always have
keyboard focus until closed.
2020-02-01 21:57:29 +01:00
Bram Moolenaar
ab067a21b9
patch 8.2.0190: Kotlin files are not recognized
...
Problem: Kotlin files are not recognized.
Solution: Detect Kotlin files. (Alkeryn, closes #5560 )
2020-01-31 22:57:59 +01:00
Bram Moolenaar
7cc96923c4
patch 8.2.0189: cd() with NULL argument crashes
...
Problem: cd() with NULL argument crashes.
Solution: Check for NULL. (Ken Takata, closes #5558 )
2020-01-31 22:41:38 +01:00
Bram Moolenaar
7f829cab35
patch 8.2.0188: Check commands don't work well with Vim9 script
...
Problem: Check commands don't work well with Vim9 script.
Solution: Improve constant expression handling.
2020-01-31 22:12:41 +01:00
Bram Moolenaar
0b76ad53b3
patch 8.2.0187: reduntant code
...
Problem: Reduntant code.
Solution: Remove unused assignments. (Dominique Pelle, closes #5557 )
2020-01-31 21:20:51 +01:00
Bram Moolenaar
705724e430
patch 8.2.0186: a couple of tests may fail when features are missing
...
Problem: A couple of tests may fail when features are missing.
Solution: Check for features. (Dominique Pelle, closes #5561 )
2020-01-31 21:13:42 +01:00
Bram Moolenaar
a259d8d30b
patch 8.2.0185: Vim9 script: cannot use "if has()" to skip lines
...
Problem: Vim9 script: cannot use "if has()" to skip lines.
Solution: Evaluate constant expression at runtime.
2020-01-31 20:10:50 +01:00
Bram Moolenaar
92be6e3f46
patch 8.2.0184: blob test fails
...
Problem: Blob test fails.
Solution: Check for different error when float feature is missing.
2020-01-30 19:39:04 +01:00
Bram Moolenaar
5feabe00c4
patch 8.2.0183: tests fail when the float feature is disabled
...
Problem: Tests fail when the float feature is disabled.
Solution: Skip tests that don't work without float support.
2020-01-30 18:24:53 +01:00
Bram Moolenaar
9f2d020d39
patch 8.2.0182: min() and max() materialize a range() list
...
Problem: Min() and max() materialize a range() list.
Solution: Compute the result without materializing the list. (#5541 )
2020-01-30 16:40:10 +01:00
Bram Moolenaar
21109272f5
patch 8.2.0181: problems parsing :term arguments
...
Problem: Problems parsing :term arguments.
Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi,
closes #5536 )
2020-01-30 16:27:20 +01:00
Bram Moolenaar
0c3064b39b
patch 8.2.0180: test for wrapmargin fails if terminal is not 80 columns
...
Problem: Test for wrapmargin fails if terminal is not 80 columns.
Solution: Vertical split the window. (Ken Takata, closes #5554 )
2020-01-30 16:09:25 +01:00
Bram Moolenaar
b09920203a
patch 8.2.0179: still a few places where range() does not work
...
Problem: Still a few places where range() does not work.
Solution: Fix using range() causing problems.
2020-01-30 14:55:42 +01:00
Bram Moolenaar
df54382eac
patch 8.2.0178: with VTP the screen may not be restored properly
...
Problem: With VTP the screen may not be restored properly.
Solution: Add another set of saved RGB values. (Nobuhiro Takasaki,
closes #5548 )
2020-01-30 11:53:59 +01:00
Bram Moolenaar
70b3e706b4
patch 8.2.0177: memory leak in get_tags()
...
Problem: Memory leak in get_tags().
Solution: Free matches when finding a pseudo-tag line. (Dominique Pelle,
closes #5553 )
2020-01-29 22:38:45 +01:00
Bram Moolenaar
e258368b4f
patch 8.2.0176: generating os headers does not work for Swedish
...
Problem: Generating os headers does not work for Swedish.
Solution: Set the locale to C. (Christian Brabandt, closes #5258 )
2020-01-29 22:29:40 +01:00
Bram Moolenaar
db661fb95d
patch 8.2.0175: crash when removing list element in map()
...
Problem: Crash when removing list element in map().
Solution: Lock the list. (closes #2652 )
2020-01-29 22:17:16 +01:00
Bram Moolenaar
5d98dc2a48
patch 8.2.0174: various commands not completely tested
...
Problem: Various commands not completely tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #5551 )
2020-01-29 21:57:34 +01:00
Bram Moolenaar
0ff6aad393
patch 8.2.0173: build fails with old compiler
...
Problem: Build fails with old compiler.
Solution: Do not use anonymous unions. (John Marriott)
2020-01-29 21:27:21 +01:00
Bram Moolenaar
4549ece47c
patch 8.2.0172: Coverity warning for not restoring character
...
Problem: Coverity warning for not restoring character.
Solution: Restore the character also in case of failure.
2020-01-28 23:13:42 +01:00
Bram Moolenaar
9a5e5a3e33
patch 8.2.0171: Coverity warning for using uninitialized buffer
...
Problem: Coverity warning for using uninitialized buffer.
Solution: Check the skip flag.
2020-01-28 23:09:23 +01:00
Bram Moolenaar
a6d536829a
patch 8.2.0170: Coverity warning for ignoring return value
...
Problem: Coverity warning for ignoring return value.
Solution: Check the return value and return if failed.
2020-01-28 23:04:06 +01:00
Bram Moolenaar
8cbd6dfc0c
patch 8.2.0169: Coverity warning for dead code
...
Problem: Coverity warning for dead code.
Solution: Check if inside try-finally.
2020-01-28 22:59:45 +01:00
Bram Moolenaar
97a2af39cd
patch 8.2.0168: Coverity warning for assigning NULL to an option
...
Problem: Coverity warning for assigning NULL to an option.
Solution: Use empty string instead of NULL.
2020-01-28 22:52:48 +01:00
Bram Moolenaar
58ceca5cae
patch 8.2.0167: Coverity warning for ignoring return value
...
Problem: Coverity warning for ignoring return value.
Solution: Check the return value and jump if failed.
2020-01-28 22:46:22 +01:00
Bram Moolenaar
07da94b0f0
patch 8.2.0166: Coverity warning for using uninitialized variable
...
Problem: Coverity warning for using uninitialized variable.
Solution: Check for failure.
2020-01-28 22:39:19 +01:00
Bram Moolenaar
5b18c248d3
patch 8.2.0165: Coverity warning for using NULL pointer
...
Problem: Coverity warning for using NULL pointer.
Solution: Add missing "else".
2020-01-28 22:30:32 +01:00
Bram Moolenaar
842931cd7a
patch 8.2.0164: test_alot takes too long
...
Problem: Test_alot takes too long.
Solution: Run several tests individually.
2020-01-28 21:53:28 +01:00
Bram Moolenaar
272ca95fc3
patch 8.2.0163: test hangs on MS-Windows console
...
Problem: Test hangs on MS-Windows console.
Solution: use feedkeys() instead of test_feedinput(). (Ken Takata)
2020-01-28 20:49:11 +01:00
Bram Moolenaar
7d8ea0b241
patch 8.2.0162: balloon test fails in the GUI
...
Problem: Balloon test fails in the GUI.
Solution: Skip test in the GUI.
2020-01-27 23:01:30 +01:00
Bram Moolenaar
f8ddb25789
patch 8.2.0161: not recognizing .gv file as dot filetype
...
Problem: Not recognizing .gv file as dot filetype.
Solution: Add *.gv to dot pattern. (closes #5544 )
2020-01-27 22:47:09 +01:00
Bram Moolenaar
89bfc8218c
patch 8.2.0160: range test fails
...
Problem: Range test fails.
Solution: Include change in list code. (#5541 )
2020-01-27 22:37:23 +01:00
Bram Moolenaar
50985eb1f0
patch 8.2.0159: non-materialized range() list causes problems
...
Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
Solution: Materialize the list where needed.
2020-01-27 22:09:39 +01:00
Bram Moolenaar
3f169ce17e
patch 8.2.0158: triggering CompleteDone earlier is not backwards compatible
...
Problem: Triggering CompleteDone earlier is not backwards compatible.
(Daniel Hahler)
Solution: Add CompleteDonePre instead.
2020-01-26 22:43:31 +01:00
Bram Moolenaar
318e7a9c03
patch 8.2.0157: Vim9 script files not in list of distributed files
...
Problem: Vim9 script files not in list of distributed files.
Solution: Add the entries.
2020-01-26 22:05:06 +01:00
Bram Moolenaar
4b96df5a01
patch 8.2.0156: various typos in source files and tests
...
Problem: Various typos in source files and tests.
Solution: Fix the typos. (Emir Sari, closes #5532 )
2020-01-26 22:00:26 +01:00
Bram Moolenaar
a5d5953d59
patch 8.2.0155: warnings from MinGW compiler; tests fail without +float
...
Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when
building without +float feature.
Solution: Init variables. Fix Json parsing. Skip a few tests that require
the +float feature.
2020-01-26 21:42:03 +01:00
Bram Moolenaar
21b9e9773d
patch 8.2.0154: reallocating the list of scripts is inefficient
...
Problem: Reallocating the list of scripts is inefficient.
Solution: Instead of using a growarray of scriptitem_T, store pointers and
allocate each scriptitem_T separately. Also avoids that the
growarray pointers change when sourcing a new script.
2020-01-26 19:26:46 +01:00
Bram Moolenaar
b3de5114ac
patch 8.2.0153: warning shows when listing version info
...
Problem: Warning shows when listing version info.
Solution: Use "-u NONE". (Ozaki Kiichi, closes #5534 )
2020-01-26 18:56:34 +01:00
Bram Moolenaar
da812e282a
patch 8.2.0152: restoring ctrl_x_mode is not needed
...
Problem: Restoring ctrl_x_mode is not needed.
Solution: Remove restoring the old value, it's changed again soon.
2020-01-26 18:35:31 +01:00
Bram Moolenaar
978d170bdc
patch 8.2.0151: detecting a script was already sourced is unreliable
...
Problem: Detecting a script was already sourced is unreliable.
Solution: Do not use the inode number.
2020-01-26 17:38:12 +01:00
Bram Moolenaar
673660ab00
patch 8.2.0150: cannot define python function when using :execute
...
Problem: Cannot define python function when using :execute. (Yasuhiro
Matsumoto)
Solution: Do not recognize "def" inside "function.
2020-01-26 16:50:05 +01:00
Bram Moolenaar
8a7d6542b3
patch 8.2.0149: maintaining a Vim9 branch separately is more work
...
Problem: Maintaining a Vim9 branch separately is more work.
Solution: Merge the Vim9 script changes.
2020-01-26 15:56:19 +01:00
Bram Moolenaar
1d9215b9aa
Update runtime files.
2020-01-25 13:27:42 +01:00
Bram Moolenaar
7f51bbe0d1
patch 8.2.0148: mapping related function in wrong source file
...
Problem: Mapping related function in wrong source file.
Solution: Move the function. Add a few more test cases. (Yegappan
Lakshmanan, closes #5528 )
2020-01-24 20:21:19 +01:00
Bram Moolenaar
03c3bd9fd0
patch 8.2.0147: block Visual mode operators not correct when 'linebreak' set
...
Problem: Block Visual mode operators not correct when 'linebreak' set.
Solution: Set w_p_lbr to lbr_saved more often. (Ken Takata, closes #5524 )
2020-01-23 20:58:09 +01:00
Bram Moolenaar
dfede9a70b
patch 8.2.0146: wrong indent when 'showbreak' and 'breakindent' are set
...
Problem: Wrong indent when 'showbreak' and 'breakindent' are set and
'briopt' includes "sbr".
Solution: Reset "need_showbreak" where needed. (Ken Takata, closes #5523 )
2020-01-23 19:59:22 +01:00
Bram Moolenaar
2c02d3843a
patch 8.2.0145: using #error for compilation errors should be OK now
...
Problem: Using #error for compilation errors should be OK now.
Solution: Use #error. (Ken Takata, closes #5299 )
2020-01-23 16:52:01 +01:00
Bram Moolenaar
c2a60ae10e
patch 8.2.0144: some mapping code is not fully tested
...
Problem: Some mapping code is not fully tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #5519 )
2020-01-23 16:19:54 +01:00
Bram Moolenaar
81c3ea7496
patch 8.2.0143: Coverity warning for possible use of NULL pointer
...
Problem: Coverity warning for possible use of NULL pointer.
Solution: Check argv is not NULL.
2020-01-23 15:48:42 +01:00
Bram Moolenaar
8bf716cdba
patch 8.2.0142: possible to enter popup window with CTRL-W p
...
Problem: Possible to enter popup window with CTRL-W p. (John Devin)
Solution: Check entered window is not a popup window. (closes #5515 )
2020-01-23 15:33:54 +01:00
Bram Moolenaar
0d76683e09
patch 8.2.0141: no swift filetype detection
...
Problem: No swift filetype detection.
Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes #5517 )
2020-01-22 22:10:54 +01:00
Bram Moolenaar
ade0d39468
Update runtime files.
2020-01-21 22:33:58 +01:00
Bram Moolenaar
2387773d93
patch 8.2.0140: CI does not test building doc tags
...
Problem: CI does not test building doc tags.
Solution: Add the vimtags/gcc build. Cleanup showing version. (Ozaki Kiichi,
closes #5513 )
2020-01-21 22:13:42 +01:00
Bram Moolenaar
f0764e8bb6
patch 8.2.0139: MS-Windows: default for IME is inconsistent
...
Problem: MS-Windows: default for IME is inconsistent.
Solution: Also make IME default enabled with MVC. (Ken Takata, closes #5508 )
2020-01-20 22:05:34 +01:00
Bram Moolenaar
538feb56e8
patch 8.2.0138: memory leak when starting a job fails
...
Problem: Memory leak when starting a job fails.
Solution: Free the list of arguments. (Ozaki Kiichi, closes #5510 )
2020-01-20 21:59:39 +01:00
Bram Moolenaar
a44b3eeafa
patch 8.2.0137: crash when using win_execute() from a new tab
...
Problem: Crash when using win_execute() from a new tab.
Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes #5512 )
2020-01-20 21:44:31 +01:00
Bram Moolenaar
ed5adff1e6
patch 8.2.0136: stray ch_logfile() call
...
Problem: Stray ch_logfile() call.
Solution: Remove it. (closes #5503 )
2020-01-20 21:32:51 +01:00
Bram Moolenaar
fe4bbac116
patch 8.2.0135: bracketed paste can still cause invalid memory access
...
Problem: Bracketed paste can still cause invalid memory access. (Dominique
Pelle)
Solution: Check for NULL pointer.
2020-01-20 21:12:20 +01:00
Bram Moolenaar
8ba6bb7c94
patch 8.2.0134: some map functionality not covered by tests
...
Problem: Some map functionality not covered by tests.
Solution: Add tests. (Yegappan Lakshmanan, closes #5504 )
2020-01-20 20:41:42 +01:00
Bram Moolenaar
98a336dd49
patch 8.2.0133: invalid memory access with search command
...
Problem: Invalid memory access with search command.
Solution: When :normal runs out of characters in bracketed paste mode break
out of the loop.(closes #5511 )
2020-01-20 20:22:30 +01:00
Bram Moolenaar
ca33eb256e
patch 8.2.0132: script may be re-used when deleting and creating a new one
...
Problem: Script may be re-used when deleting and creating a new one.
Solution: When the inode matches, also check the file name.
2020-01-19 20:18:09 +01:00
Bram Moolenaar
479950f6c9
patch 8.2.0131: command line is not cleared when switching tabs
...
Problem: Command line is not cleared when switching tabs and the command
line height differs.
Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino,
closes #5495 )
2020-01-19 15:45:17 +01:00
Bram Moolenaar
904edabb64
patch 8.2.0130: Python3 ranges are not tested
...
Problem: Python3 ranges are not tested.
Solution: Add test. (Dominique Pelle, closes #5498 )
2020-01-19 13:57:54 +01:00
Bram Moolenaar
1a928c2099
patch 8.2.0129: MS-Windows installer doesn't use Turkish translations
...
Problem: MS-Windows installer doesn't use Turkish translations.
Solution: Enable the Turkish translations and fix a few. (Emir Sarı,
closes #5493 )
2020-01-18 16:10:40 +01:00
Bram Moolenaar
6b915c0c0e
patch 8.2.0128: cannot list options one per line
...
Problem: Cannot list options one per line.
Solution: Use ":set!" to list one option per line.
2020-01-18 15:53:19 +01:00
Bram Moolenaar
3029bcc094
patch 8.2.0127: some buffer commands work in a popup window
...
Problem: Some buffer commands work in a popup window.
Solution: Disallow :bnext, :bprev, etc. (Naruhiko Nishino, closes #5494 )
2020-01-18 15:06:19 +01:00
Bram Moolenaar
94b6fb78c5
patch 8.2.0126: textprop test fails
...
Problem: Textprop test fails.
Solution: Fix sign in computation.
2020-01-17 21:00:59 +01:00
Bram Moolenaar
3c71aec696
patch 8.2.0125: :mode no longer works for any system
...
Problem: :mode no longer works for any system.
Solution: Always give an error message.
2020-01-17 19:32:20 +01:00
Bram Moolenaar
109ef128bd
patch 8.2.0124: compiler warnings for variable types
...
Problem: Compiler warnings for variable types.
Solution: Change type, add type cast. (Mike Williams)
2020-01-17 19:12:03 +01:00
Bram Moolenaar
17e04781f2
patch 8.2.0123: complete_info() does not work when CompleteDone is triggered
...
Problem: complete_info() does not work when CompleteDone is triggered.
Solution: Trigger CompleteDone before clearing the info.
2020-01-17 18:58:59 +01:00
Bram Moolenaar
f2a44e5c48
patch 8.2.0122: readme files still mention MS-DOS
...
Problem: Readme files still mention MS-DOS.
Solution: Update readme files. (Ken Takata, closes #5486 )
2020-01-16 19:40:38 +01:00
Bram Moolenaar
49c57ce500
patch 8.2.0121: filter() and map() on blob don't work
...
Problem: filter() and map() on blob don't work.
Solution: Correct the code. (closes #5483 )
2020-01-15 20:51:34 +01:00
Bram Moolenaar
b3d33d8570
patch 8.2.0120: virtcol() does not check arguments to be valid
...
Problem: virtcol() does not check arguments to be valid, which may lead to
a crash.
Solution: Check the column to be valid. Do not decrement MAXCOL.
(closes #5480 )
2020-01-15 20:36:55 +01:00
Bram Moolenaar
1470dc35c4
patch 8.2.0119: message test fails on some platforms
...
Problem: Message test fails on some platforms. (Elimar Riesebieter)
Solution: Add type cast to vim_snprintf() argument. (Dominique Pelle)
2020-01-14 22:02:14 +01:00
Bram Moolenaar
ca7c078b79
patch 8.2.0118: crash when cycling to buffers involving popup window
...
Problem: Crash when cycling to buffers involving popup window .
Solution: Do not decrement buffer reference count.
2020-01-14 20:42:48 +01:00
Bram Moolenaar
8024f93636
Update runtime files.
2020-01-14 19:29:13 +01:00
Bram Moolenaar
ee93b737aa
patch 8.2.0117: crash when using gettabwinvar() with invalid arguments
...
Problem: Crash when using gettabwinvar() with invalid arguments. (Yilin
Yang)
Solution: Use "curtab" if "tp" is NULL. (closes #5475 )
2020-01-14 19:05:39 +01:00
Bram Moolenaar
c10b521628
patch 8.2.0116: BufEnter autocmd not triggered on ":tab drop"
...
Problem: BufEnter autocmd not triggered on ":tab drop". (Andy Stewart)
Solution: Decrement autocmd_no_enter for the last file. (closes #1660 ,
closes #5473 )
2020-01-13 20:54:51 +01:00
Bram Moolenaar
9df53b62de
patch 8.2.0115: byte2line() does not work correctly with text properties
...
Problem: Byte2line() does not work correctly with text properties. (Billie
Cleek)
Solution: Take the bytes of the text properties into account.
(closes #5334 )
2020-01-13 20:40:51 +01:00
Bram Moolenaar
7ebcba61b2
patch 8.2.0114: info about sourced scripts is scattered
...
Problem: Info about sourced scripts is scattered.
Solution: Use scriptitem_T for info about a script, including s: variables.
Drop ga_scripts.
2020-01-12 17:42:55 +01:00
Bram Moolenaar
9b24dfcb9f
patch 8.2.0113: "make cmdidxs" fails
...
Problem: "make cmdidxs" fails.
Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay.
2020-01-12 15:46:08 +01:00
Bram Moolenaar
02ad46394e
patch 8.2.0112: illegal memory access when using 'cindent'
...
Problem: Illegal memory access when using 'cindent'.
Solution: Check for NUL byte. (Dominique Pelle, closes #5470 )
2020-01-12 13:48:18 +01:00
Bram Moolenaar
9b4a15d5db
patch 8.2.0111: VAR_SPECIAL is also used for booleans
...
Problem: VAR_SPECIAL is also used for booleans.
Solution: Add VAR_BOOL for better type checking.
2020-01-11 16:05:23 +01:00
Bram Moolenaar
e05a89ac63
patch 8.2.0110: prop_find() is not implemented
...
Problem: prop_find() is not implemented.
Solution: Implement prop_find(). (Ryan Hackett, closes #5421 , closes #4970 )
2020-01-10 19:56:46 +01:00
Bram Moolenaar
2963456ff2
Update runtime files.
2020-01-09 21:46:04 +01:00
Bram Moolenaar
ac15fd8c67
patch 8.2.0109: corrupted text properties when expanding spaces
...
Problem: Corrupted text properties when expanding spaces.
Solution: Reallocate the line. (Nobuhiro Takasaki, closes #5457 )
2020-01-09 21:35:48 +01:00
Bram Moolenaar
bf0acff012
patch 8.2.0108: when sign text is changed a manual redraw is needed
...
Problem: When sign text is changed a manual redraw is needed. (Pontus
Lietzler)
Solution: Redraw automatically. (closes #5455 )
2020-01-09 21:01:59 +01:00
Bram Moolenaar
4ba6441818
patch 8.2.0107: hgignore is out of sync from gitignore
...
Problem: Hgignore is out of sync from gitignore.
Solution: Add lines to hgignore. (Ken Takata)
2020-01-09 16:25:52 +01:00
Bram Moolenaar
b16ad96849
patch 8.2.0106: printf formats are not exactly right
...
Problem: Printf formats are not exactly right.
Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456 )
2020-01-08 22:06:14 +01:00
Bram Moolenaar
c838626fea
patch 8.2.0105: Vim license not easy to find on github
...
Problem: Vim license not easy to find on github.
Solution: Add a separate LICENCE file. (closes #5458 )
2020-01-08 21:43:02 +01:00
Bram Moolenaar
b662591e50
patch 8.2.0104: using channel or job with ":execute" has strange effects
...
Problem: Using channel or job with ":execute" has strange effects.
Solution: Give an error message for Job and Channel.
2020-01-08 20:09:01 +01:00
Bram Moolenaar
e2a8f0773e
patch 8.2.0103: using null object with execute() has strange effects
...
Problem: Using null object with execute() has strange effects.
Solution: Give an error message ofr Job and Channel.
2020-01-08 19:32:18 +01:00
Bram Moolenaar
da292b07af
patch 8.2.0102: messages test fails in small version
...
Problem: Messages test fails in small version.
Solution: Only use test_null_job() when available.
2020-01-08 19:27:40 +01:00
Bram Moolenaar
9db2afe46d
patch 8.2.0101: crash when passing null object to ":echomsg"
...
Problem: Crash when passing null object to ":echomsg".
Solution: Check for NULL pointer. (Yasuhiro Matsumoto, closes #5460 )
2020-01-08 18:56:20 +01:00
Bram Moolenaar
41a4141ecb
patch 8.2.0100: macros for Ruby are too complicated
...
Problem: Macros for Ruby are too complicated.
Solution: Do not use DYNAMIC_RUBY_VER, use RUBY_VERSION. (Ken Takata,
closes #5452 )
2020-01-07 21:32:19 +01:00
Bram Moolenaar
8b7aa2f9b2
patch 8.2.0099: use of NULL pointer when out of memory
...
Problem: Use of NULL pointer when out of memory.
Solution: Check for NULL pointer. (Dominique Pelle, closes #5449 )
2020-01-07 21:05:49 +01:00
Bram Moolenaar
e31ee86859
patch 8.2.0098: exe stack length can be wrong without being detected
...
Problem: Exe stack length can be wrong without being detected.
Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
2020-01-07 20:59:34 +01:00
Bram Moolenaar
ce6db0273f
patch 8.2.0097: crash with autocommand and spellfile
...
Problem: Crash with autocommand and spellfile. (Tim Pope)
Solution: Do not pop exestack when not pushed. (closes #5450 )
2020-01-07 20:11:42 +01:00
Bram Moolenaar
fbcdf671f0
patch 8.2.0096: cannot create tiny popup window in last column
...
Problem: Cannot create tiny popup window in last column. (Daniel Steinberg)
Solution: Remove position limit. (closes #5447 )
2020-01-06 23:07:48 +01:00
Bram Moolenaar
1860bde9d3
patch 8.2.0095: cannot specify exit code for :cquit
...
Problem: Cannot specify exit code for :cquit.
Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442 )
2020-01-06 21:47:21 +01:00
Bram Moolenaar
e73b38f8e1
patch 8.2.0094: MS-Windows: cannot build with Strawberry Perl 5.30
...
Problem: MS-Windows: cannot build with Strawberry Perl 5.30.
Solution: Define __builtin_expect() as a workaround. (Ken Takata,
closes #5267 )
2020-01-06 21:22:09 +01:00
Bram Moolenaar
7b94e77132
patch 8.2.0093: win_splitmove() can make Vim hang
...
Problem: win_splitmove() can make Vim hang.
Solution: Check windows exists in the current tab page. (closes #5444 )
2020-01-06 21:03:24 +01:00
Bram Moolenaar
a1353b5352
patch 8.2.0092: tags functionality insufficiently tested
...
Problem: Tags functionality insufficiently tested.
Solution: Add more tags tests. (Yegappan Lakshmanan, closes #5446 )
2020-01-06 20:09:13 +01:00
Bram Moolenaar
4d7a248b64
patch 8.2.0091: compiler warnings for size_t / int types
...
Problem: Compiler warnings for size_t / int types.
Solution: Change type to size_t. (Mike Williams)
2020-01-06 19:53:43 +01:00
Bram Moolenaar
b376ace1ae
patch 8.2.0090: generated files show up in git status
...
Problem: Generated files show up in git status.
Solution: Ignore a few more files.
2020-01-05 22:10:31 +01:00
Bram Moolenaar
f0f8055102
patch 8.2.0089: crash when running out of memory in :setfiletype completion
...
Problem: Crash when running out of memory in :setfiletype completion.
Solution: Do not allocate memory. (Dominique Pelle, closes #5438 )
2020-01-05 22:05:49 +01:00
Bram Moolenaar
830c1afc9d
patch 8.2.0088: insufficient tests for tags; bug in using extra tag field
...
Problem: Insufficient tests for tags; bug in using extra tag field when
using an ex command to position the cursor.
Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes #5439 )
2020-01-05 20:35:44 +01:00
Bram Moolenaar
61d7c0d52c
patch 8.2.0087: crash in command line expansion when out of memory
...
Problem: Crash in command line expansion when out of memory.
Solution: Check for NULL pointer. Also make ExpandGeneric() static.
(Dominique Pelle, closes #5437 )
2020-01-05 14:38:40 +01:00
Bram Moolenaar
ab782c5b6f
patch 8.2.0086: build error for small version
...
Problem: Build error for small version. (Tony Mechelynck)
Solution: Only use "user_data" with the +eval feature. Remove unused
variable.
2020-01-04 19:00:11 +01:00
Bram Moolenaar
3d8a513b46
patch 8.2.0085: dead code in builtin functions
...
Problem: Dead code in builtin functions.
Solution: Clean up the code.
2020-01-04 16:13:49 +01:00
Bram Moolenaar
0892832bb6
patch 8.2.0084: complete item "user_data" can only be a string
...
Problem: Complete item "user_data" can only be a string.
Solution: Accept any type of variable. (closes #5412 )
2020-01-04 14:32:48 +01:00
Bram Moolenaar
5cb0b93d52
patch 8.2.0083: text properties wrong when tabs and spaces are exchanged
...
Problem: Text properties wrong when tabs and spaces are exchanged.
Solution: Take text properties into account. (Nobuhiro Takasaki,
closes #5427 )
2020-01-03 21:25:59 +01:00
Bram Moolenaar
f10997a154
patch 8.2.0082: when reusing a buffer listeners are not cleared
...
Problem: When reusing a buffer listeners are not cleared. (Axel Forsman)
Solution: Clear listeners when reusing a buffer. (closes #5431 )
2020-01-03 21:00:02 +01:00
Bram Moolenaar
467c32bd72
patch 8.2.0081: MS-Windows also need the change to support INIT4()
...
Problem: MS-Windows also need the change to support INIT4().
Solution: Add the ctags arguments. (Ken Takata)
2020-01-03 19:12:09 +01:00
Bram Moolenaar
509ff0688d
patch 8.2.0080: globals using INIT4() are not in the tags file
...
Problem: Globals using INIT4() are not in the tags file.
Solution: Adjust the tags command.
2020-01-02 22:38:49 +01:00
Bram Moolenaar
d7df279808
Update a few runtime files.
2020-01-02 21:34:42 +01:00
Bram Moolenaar
7fc4785ea1
patch 8.2.0079: Python 3 unicode test still fails on MS-Windows
...
Problem: Python 3 unicode test still fails on MS-Windows.
Solution: Do not set 'encoding' to "euc-tw" on MS-Windows.
2020-01-02 16:38:07 +01:00
Bram Moolenaar
b9adef79ec
patch 8.2.0078: expanding <sfile> works differently the second time
...
Problem: Expanding <sfile> works differently the second time.
Solution: Keep the expanded name when redefining a function. (closes #5425 )
2020-01-02 14:31:22 +01:00
Bram Moolenaar
271fa08a35
patch 8.2.0077: settagstack() cannot truncate at current index
...
Problem: settagstack() cannot truncate at current index.
Solution: Add the "t" action. (Yegappan Lakshmanan, closes #5417 )
2020-01-02 14:02:16 +01:00
Bram Moolenaar
955f4e6f36
patch 8.2.0076: Python 3 unicode test fails on MS-Windows
...
Problem: Python 3 unicode test fails on MS-Windows.
Solution: Do not set 'encoding' to "debug" on MS-Windows.
2020-01-01 17:44:56 +01:00
Bram Moolenaar
2466aea508
patch 8.2.0075: Python 3 unicode test still sometimes fails
...
Problem: Python 3 unicode test still sometimes fails.
Solution: Skip the test when 'termencoding' is not empty.
2020-01-01 17:09:11 +01:00
Bram Moolenaar
4b7cdca230
patch 8.2.0074: Python 3 unicode test someitmes fails
...
Problem: Python 3 unicode test someitmes fails.
Solution: Make 'termencoding' empty. Correct number of error message.
2020-01-01 16:18:38 +01:00
Bram Moolenaar
ea8b7aecab
patch 8.2.0073: initializing globals with COMMA is clumsy
...
Problem: Initializing globals with COMMA is clumsy.
Solution: Use INIT2(), INIT3(), etc.
2020-01-01 15:46:47 +01:00
Bram Moolenaar
bb062c1588
patch 8.2.0072: memory test still fails on Cirrus CI
...
Problem: Memory test still fails on Cirrus CI.
Solution: Allow for a tiny bit more tolerance in the upper limit.
2020-01-01 15:26:32 +01:00
Bram Moolenaar
1832d12aea
patch 8.2.0071: memory test often fails on Cirrus CI
...
Problem: Memory test often fails on Cirrus CI.
Solution: Allow for more tolerance in the upper limit. Remove sleep.
2020-01-01 15:17:25 +01:00
Bram Moolenaar
d518f952f0
patch 8.2.0070: crash when using Python 3 with "debug" encoding
...
Problem: Crash when using Python 3 with "debug" encoding. (Dominique Pelle)
Solution: Use "euc-jp" whenever enc_dbcs is set.
2020-01-01 15:04:17 +01:00
Bram Moolenaar
87396072c5
patch 8.2.0069: ETYPE_ is used for two different enums
...
Problem: ETYPE_ is used for two different enums.
Solution: Rename one to use EXPR_.
2019-12-31 22:36:18 +01:00
Bram Moolenaar
556684ff71
patch 8.2.0068: crash when using Python 3 with "utf32" encoding
...
Problem: Crash when using Python 3 with "utf32" encoding. (Dominique Pelle)
Solution: Use "utf-8" whenever enc_utf8 is set. (closes #5423 )
2019-12-31 21:59:01 +01:00
Bram Moolenaar
ef140544f6
patch 8.2.0067: ERROR_UNKNOWN clashes on some systems
...
Problem: ERROR_UNKNOWN clashes on some systems.
Solution: Rename ERROR_ to FCERR_. (Ola Söder, closes #5415 )
2019-12-31 21:27:13 +01:00
Bram Moolenaar
d2c946bacf
patch 8.2.0066: some corners of vim_snprintf() are not tested
...
Problem: Some corners of vim_snprintf() are not tested.
Solution: Add a test in C. (Dominique Pelle, closes #5422 )
2019-12-31 19:24:51 +01:00
Bram Moolenaar
dba7c85b61
patch 8.2.0065: Amiga and alikes: autoopen only used on Amiga OS4
...
Problem: Amiga and alikes: autoopen only used on Amiga OS4.
Solution: Adjust #ifdefs. (Ola Söder, closes #5413 )
2019-12-30 22:33:17 +01:00
Bram Moolenaar
efcc329020
patch 8.2.0064: diffmode completion doesn't use per-window setting
...
Problem: Diffmode completion doesn't use per-window setting.
Solution: Check if a window is in diff mode. (Dominique Pell, closes #5419 )
2019-12-30 21:59:03 +01:00
Bram Moolenaar
08b28b7ad5
patch 8.2.0063: wrong size argument to vim_snprintf()
...
Problem: Wrong size argument to vim_snprintf(). (Dominique Pelle)
Solution: Reduce the size by the length. (related to #5410 )
2019-12-30 20:42:39 +01:00
Bram Moolenaar
e7538ae997
patch 8.2.0062: memory test is flaky on FreeBSD
...
Problem: Memory test is flaky on FreeBSD.
Solution: Add a short sleep before getting the first size.
2019-12-30 19:59:24 +01:00
Bram Moolenaar
3fbcc128cb
patch 8.2.0061: the execute stack can grow big and never shrinks
...
Problem: The execute stack can grow big and never shrinks.
Solution: Reduce the size in gargage collect.
2019-12-30 19:19:53 +01:00
Bram Moolenaar
d0337e360e
patch 8.2.0060: message test only runs with one encoding
...
Problem: Message test only runs with one encoding. (Dominique Pelle)
Solution: Run the test with "utf-8" and "latin1". Fix underflow. (related
to #5410 )
2019-12-30 17:55:34 +01:00
Bram Moolenaar
85b0957616
patch 8.2.0059: compiler warnings for unused variables in small build
...
Problem: Compiler warnings for unused variables in small build. (Tony
Mechelynck)
Solution: Add #ifdef.
2019-12-30 10:57:00 +01:00
Bram Moolenaar
eb698d0b32
patch 8.2.0058: running tests changes ~/.viminfo
...
Problem: Running tests changes ~/.viminfo.
Solution: Make 'viminfo' empty when summarizing tests results. (closes #5414 )
2019-12-30 00:07:57 +01:00
Bram Moolenaar
09d4640f6c
patch 8.2.0057: cannot build with small features
...
Problem: Cannot build with small features.
Solution: Add #ifdefs.
2019-12-29 23:53:01 +01:00
Bram Moolenaar
1a47ae32cd
patch 8.2.0056: execution stack is incomplete and inefficient
...
Problem: Execution stack is incomplete and inefficient.
Solution: Introduce a proper execution stack and use it instead of
sourcing_name/sourcing_lnum. Create a string only when used.
2019-12-29 23:04:25 +01:00
Bram Moolenaar
257a396879
patch 8.2.0055: cannot use ":gui" in vimrc with VIMDLL enabled
...
Problem: Cannot use ":gui" in vimrc with VIMDLL enabled.
Solution: Change the logic, check "gui.starting". (Ken Takata, closes #5408 )
2019-12-29 15:19:03 +01:00
Bram Moolenaar
ae7dba8969
patch 8.2.0054: :diffget and :diffput don't have good completion
...
Problem: :diffget and :diffput don't have good completion.
Solution: Add proper completion. (Dominique Pelle, closes #5409 )
2019-12-29 13:56:33 +01:00
Bram Moolenaar
e20e68b40d
patch 8.2.0053: windowsversion() does not always return the right value
...
Problem: windowsversion() does not always return the right value.
Solution: Add a compatibility section in the manifest. (Ken Takata,
closes #5407 )
2019-12-29 13:43:54 +01:00
Bram Moolenaar
c6d539b671
patch 8.2.0052: more-prompt not properly tested
...
Problem: More-prompt not properly tested.
Solution: Add a test case. (Dominique Pelle, closes #5404 )
2019-12-28 17:10:46 +01:00
Bram Moolenaar
731a799bb9
patch 8.2.0051: command line completion test skipped
...
Problem: Command line completion test skipped. (Christian Brabandt)
Solution: Invert condition.
2019-12-28 14:06:50 +01:00
Bram Moolenaar
8cd6cd8087
patch 8.2.0050: after deleting a file mark it is still in viminfo
...
Problem: After deleting a file mark it is still in viminfo.
Solution: When a file mark was deleted more recently than the mark in the
merged viminfo file was updated, do not store the mark. (Pavol
Juhas, closes #5401 , closes #1339 )
2019-12-27 17:33:26 +01:00
Bram Moolenaar
297610ba4b
patch 8.2.0049: command line completion not fully tested
...
Problem: Command line completion not fully tested.
Solution: Add more test cases. Make help sorting stable. (Dominique Pelle,
closes #5402 )
2019-12-27 17:20:55 +01:00
Bram Moolenaar
5c463a28ff
patch 8.2.0048: another timers test is flaky on Travis for Mac
...
Problem: Another timers test is flaky on Travis for Mac.
Solution: Increase maximum expected time.
2019-12-27 17:14:33 +01:00
Bram Moolenaar
0c1e3744ff
patch 8.2.0047: cannot skip tests for specific MS-Windows platform
...
Problem: Cannot skip tests for specific MS-Windows platform.
Solution: Add windowsversion().
2019-12-27 13:49:24 +01:00
Bram Moolenaar
5666fcd0bd
Update runtime files.
2019-12-26 14:35:26 +01:00
Bram Moolenaar
767340574b
patch 8.2.0046: tests for spell suggestions are slow
...
Problem: Tests for spell suggestions are slow.
Solution: Use shorter words. Test with latin1 and utf-8 to cover more code.
(Dominique Pelle, closes #5399 )
2019-12-26 14:30:15 +01:00
Bram Moolenaar
ec57ec692e
patch 8.2.0045: script test fails
...
Problem: Script test fails.
Solution: For numbers "is" and "isnot" work like "==" and "!=".
2019-12-25 19:33:22 +01:00
Bram Moolenaar
07a3db89b8
patch 8.2.0044: expression type is used inconsistently
...
Problem: Expression type is used inconsistently.
Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename
"TYPE_" to "ETYPE_" to avoid confusion.
2019-12-25 18:14:14 +01:00
Bram Moolenaar
818fed7a5e
patch 8.2.0043: timers test is still flaky on Travis for Mac
...
Problem: Timers test is still flaky on Travis for Mac.
Solution: Increase maximum expected time.
2019-12-25 15:47:14 +01:00
Bram Moolenaar
eac7ce01e9
patch 8.2.0042: clearing funccal values twice
...
Problem: Clearing funccal values twice.
Solution: Remove clearing individual fields.
2019-12-25 15:04:03 +01:00
Bram Moolenaar
6c52f82371
patch 8.2.0041: leaking memory when selecting spell suggestion
...
Problem: Leaking memory when selecting spell suggestion.
Solution: Free previous value at the right time.
2019-12-25 14:13:03 +01:00
Bram Moolenaar
03af01f1cb
patch 8.2.0040: timers test is still flaky on Travis for Mac
...
Problem: Timers test is still flaky on Travis for Mac.
Solution: Run separately instead of as part of test_alot.
2019-12-25 13:59:51 +01:00
Bram Moolenaar
569fea2c31
patch 8.2.0039: memory access error when "z=" has no suggestions
...
Problem: Memory access error when "z=" has no suggestions.
Solution: Check for negative index.
2019-12-25 13:55:24 +01:00
Bram Moolenaar
e9a8d1f9ad
patch 8.2.0038: spell suggestions insufficiently tested
...
Problem: Spell suggestions insufficiently tested.
Solution: Add spell suggestion tests. (Dominique Pelle, closes #5398 )
2019-12-25 13:36:36 +01:00
Bram Moolenaar
1500a42c42
patch 8.2.0037: missing renamed message
...
Problem: Missing renamed message.
Solution: Now really add the error number.
2019-12-24 15:38:21 +01:00
Bram Moolenaar
49d68bf5e4
patch 8.2.0036: not enough test coverage for match functions
...
Problem: Not enough test coverage for match functions.
Solution: Add a few more test cases. (Dominique Pelle, closes #5394 )
Add error number.
2019-12-24 15:17:00 +01:00
Bram Moolenaar
53989554a4
patch 8.2.0035: saving and restoring called_emsg is clumsy
...
Problem: Saving and restoring called_emsg is clumsy.
Solution: Count the number of error messages.
2019-12-23 22:59:18 +01:00
Bram Moolenaar
70188f5b23
patch 8.2.0034: missing check for out of memory
...
Problem: Missing check for out of memory.
Solution: Check for NULL after vim_strsave(). (Dominique Pelle,
closes #5393 )
2019-12-23 18:18:52 +01:00
Bram Moolenaar
7c77b34967
patch 8.2.0033: crash when make_extmatch() runs out of memory
...
Problem: Crash when make_extmatch() runs out of memory.
Solution: Check for NULL. (Dominique Pelle, closs #5392 )
2019-12-22 19:40:40 +01:00
Bram Moolenaar
7c2a2f869b
patch 8.2.0032: MS-Windows: test for blank job fails
...
Problem: MS-Windows: test for blank job fails
Solution: Check before escaping.
2019-12-22 18:28:51 +01:00
Bram Moolenaar
ba0a7475c5
patch 8.2.0031: MS-Windows: test for empty job fails
...
Problem: MS-Windows: test for empty job fails
Solution: Check for error message, make it also fail on Unix.
2019-12-22 16:09:06 +01:00
Bram Moolenaar
64e74c9cc7
patch 8.2.0030: "gF" does not work on output of "verbose command"
...
Problem: "gF" does not work on output of "verbose command".
Solution: Recognize " line " and translations. (closes #5391 )
2019-12-22 15:38:06 +01:00
Bram Moolenaar
a27655ef6d
patch 8.2.0029: MS-Windows: crash with empty job command
...
Problem: MS-Windows: crash with empty job command.
Solution: Check for NULL result. (Yasuhiro Matsumoto, closes #5390 )
2019-12-21 22:22:01 +01:00
Bram Moolenaar
3ba35409a6
patch 8.2.0028: searchpairpos() is not tested
...
Problem: Searchpairpos() is not tested.
Solution: Add tests. Also improve searchpair() testing. (Dominique Pelle,
closes #5388 )
2019-12-21 22:00:50 +01:00
Bram Moolenaar
aa2f0ee639
patch 8.2.0027: still some /* */ comments
...
Problem: Still some /* */ comments.
Solution: Convert to // comments.
2019-12-21 18:47:26 +01:00
Bram Moolenaar
85a2002adb
patch 8.2.0026: still some /* */ comments
...
Problem: Still some /* */ comments.
Solution: Convert to // comments.
2019-12-21 18:25:54 +01:00
Bram Moolenaar
fe72d08400
patch 8.2.0025: repeated word in comment
...
Problem: Repeated word in comment.
Solution: Remove one. (Rene Nyffenegger, closes #5384 )
2019-12-20 19:07:00 +01:00
Bram Moolenaar
95a9dd1efc
Update runtime files.
2019-12-19 22:12:03 +01:00
Bram Moolenaar
a4ce82fe2e
patch 8.2.0024: filetype Rego not recognized
...
Problem: Filetype Rego not recognized.
Solution: Add *.rego. (Matt Dunford, closes #5376 )
2019-12-19 15:57:42 +01:00
Bram Moolenaar
59cb041d0a
patch 8.2.0023: command line editing not sufficiently tested
...
Problem: Command line editing not sufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes #5374 )
2019-12-18 22:26:31 +01:00
Bram Moolenaar
0ce3733f78
patch 8.2.0022: click in popup window doesn't close it in the GUI
...
Problem: Click in popup window doesn't close it in the GUI. (Sergey Vlasov)
Solution: When processing the selection also send a button release event.
(closes #5367 )
2019-12-18 21:33:22 +01:00
Bram Moolenaar
bc28e9f15b
patch 8.2.0021: timer test fails too often on Travis with MacOS
...
Problem: Timer test fails too often on Travis with MacOS.
Solution: Be less strict with the time.
2019-12-18 20:10:23 +01:00
Bram Moolenaar
f19f8d1a4b
patch 8.2.0020: mouse clicks in the command line not tested
...
Problem: Mouse clicks in the command line not tested.
Solution: Add tests. (Dominique Pelle, closes #5366 )
2019-12-18 19:36:23 +01:00
Bram Moolenaar
a9e9679de3
patch 8.2.0019: cannot number of lines of another buffer
...
Problem: Cannot number of lines of another buffer.
Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto,
closes #5370 )
2019-12-17 22:40:15 +01:00
Bram Moolenaar
91b65e4944
patch 8.2.0018: :join does not add white space where it should
...
Problem: :join does not add white space where it should. (Zdenek Dohnal)
Solution: Handle joining multiple lines propely.
2019-12-17 22:10:58 +01:00
Bram Moolenaar
6f345a1458
patch 8.2.0017: OS/2 and MS-DOS are still mentioned
...
Problem: OS/2 and MS-DOS are still mentioned, even though support was
removed long ago.
Solution: Update documentation. (Yegappan Lakshmanan, closes #5368 )
2019-12-17 21:27:18 +01:00
Bram Moolenaar
a48e78e11f
patch 8.2.0016: test name used twice, option not restored properly
...
Problem: Test name used twice, option not restored properly.
Solution: Rename function, restore option with "&".
2019-12-17 20:29:26 +01:00
Bram Moolenaar
e74331db4b
patch 8.2.0015: not all modeline variants are tested
...
Problem: Not all modeline variants are tested.
Solution: Add modeline tests. (Dominique Pelle, closes #5369 )
2019-12-17 19:22:40 +01:00
Bram Moolenaar
afc13bd827
patch 8.2.0014: test69 and test95 are old style
...
Problem: Test69 and test95 are old style.
Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5365 )
2019-12-16 22:43:31 +01:00
Bram Moolenaar
ddef129160
patch 8.2.0013: not using a typedef for condstack
...
Problem: Not using a typedef for condstack.
Solution: Add a typedef.
2019-12-16 17:10:33 +01:00
Bram Moolenaar
559b9c68fe
patch 8.2.0012: some undo functionality is not tested
...
Problem: Some undo functionality is not tested.
Solution: Add a few more test cases. (Dominique Pelle, closes #5364 )
2019-12-15 18:09:19 +01:00
Bram Moolenaar
5e5a98d7de
patch 8.2.0011: screen updating wrong when opeing preview window
...
Problem: Screen updating wrong when opeing preview window.
Solution: Redraw the window when the preview window opens.
2019-12-15 14:55:33 +01:00
Bram Moolenaar
f9cb05c147
patch 8.2.0010: test64 is old style
...
Problem: Test64 is old style.
Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5363 )
2019-12-15 13:39:22 +01:00
Bram Moolenaar
95f0b6e5a5
patch 8.2.0009: VMS: terminal version doesn't build
...
Problem: VMS: terminal version doesn't build.
Solution: Move MIN definition. Adjust #ifdefs. (Zoltan Arpadffy)
2019-12-15 12:54:18 +01:00
Bram Moolenaar
3e2d1c8cd6
patch 8.2.0008: test72 is old style
...
Problem: Test72 is old style.
Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5362 )
2019-12-14 20:35:01 +01:00
Bram Moolenaar
09dd2bb336
patch 8.2.0007: popup menu positioned wrong with folding in two tabs
...
Problem: Popup menu positioned wrong with folding in two tabs.
Solution: Update the cursor line height. (closes #5353 )
2019-12-14 18:42:15 +01:00
Bram Moolenaar
6e43b30a85
patch 8.2.0006: test using long file name may fail
...
Problem: Test using long file name may fail. (Vladimir Lomov)
Solution: Limit the name length. (Christian Brabandt, closes #5358 )
2019-12-14 17:53:27 +01:00
Bram Moolenaar
5021225656
patch 8.2.0005: duplication in version info
...
Problem: Duplication in version info.
Solution: Use preprocessor string concatenation. (Ken Takata, closes #5357 )
2019-12-14 17:24:53 +01:00
Bram Moolenaar
a6e8f888e7
patch 8.2.0004: get E685 and E931 if buffer reload is interrupted
...
Problem: Get E685 and E931 if buffer reload is interrupted.
Solution: Do not abort deleting a dummy buffer. (closes #5361 )
2019-12-14 16:18:15 +01:00
Bram Moolenaar
f5f4b6cb5f
patch 8.2.0003: Build file dependencies are incomplete
...
Problem: Build file dependencies are incomplete.
Solution: Fix the dependencies. (Ken Takata, closes #5356 )
2019-12-14 13:17:11 +01:00
Bram Moolenaar
3b68123cd2
patch 8.2.0002: "dj" only deletes first line of closed fold
...
Problem: "dj" only deletes first line of closed fold.
Solution: Adjust last line of operator for linewise motion. (closes #5354 )
2019-12-13 19:35:55 +01:00
Bram Moolenaar
74ee5e2384
patch 8.2.0001: #endif comments do reflect corresponding #ifdef
...
Problem: #endif comments do reflect corresponding #ifdef.
Solution: Update the comments. (Rene Nyffenegger, closes #5351 )
2019-12-13 18:13:22 +01:00
Bram Moolenaar
98056533b9
Vim 8.2 release
2019-12-12 14:18:35 +01:00
Bram Moolenaar
469bdbde1e
Minor runtime file updates.
2019-12-11 23:05:48 +01:00
Bram Moolenaar
36698e34aa
patch 8.1.2424: MS-Windows: console buffer is resized unnecessarily
...
Problem: MS-Windows: console buffer is resized unnecessarily.
Solution: Only call ResizeConBuf() when the size differs. (Nobuhiro
Takasaki, closes #5343 )
2019-12-11 22:57:40 +01:00
Bram Moolenaar
e24437b643
patch 8.1.2423: MS-Windows properties shows version as "8, 1, 0"
...
Problem: MS-Windows properties shows version as "8, 1, 0".
Solution: Use "8.1.0". (Ken Takata, closes #5342 )
2019-12-11 22:41:29 +01:00
Bram Moolenaar
9810cfbe55
patch 8.1.2422: "make depend" does not work correctly for libvterm
...
Problem: "make depend" does not work correctly for libvterm.
Solution: Fix build dependencies. And a few minor improvements.
2019-12-11 21:23:00 +01:00
Bram Moolenaar
213ed008bb
patch 8.1.2421: test88 is old style
...
Problem: Test88 is old style.
Solution: Turn into a new style test. (Yegappan Lakshmanan, closes #5347 )
2019-12-11 20:12:26 +01:00
Bram Moolenaar
4954019c93
patch 8.1.2420: crash when calling popup_close() in win_execute()
...
Problem: Crash when calling popup_close() in win_execute().
Solution: Disallow popup_close() in popup window. (Yasuhiro Matsumoto,
closes #5345 )
2019-12-11 19:34:54 +01:00
Bram Moolenaar
0efd1bdcf4
patch 8.1.2419: with a long file name the hit-enter prompt appears
...
Problem: With a long file name the hit-enter prompt appears. (J. Lewis
Muir)
Solution: When checking for text to wrap don't do this when outputing a CR.
2019-12-11 19:00:04 +01:00
Bram Moolenaar
99ebf22c52
patch 8.1.2418: bufnr('$') is wrong after recycling popup buffer
...
Problem: bufnr('$') is wrong after recycling popup buffer.
Solution: Sort the buffer list by buffer number. (closes #5335 )
2019-12-10 23:44:48 +01:00
Bram Moolenaar
1e46705a83
patch 8.1.2417: MinGW/Cygwin build does not clean up all files
...
Problem: MinGW/Cygwin build does not clean up all files.
Solution: Delete *.map files. (Michael Soyka)
2019-12-10 22:48:15 +01:00
Bram Moolenaar
e24c5b3332
patch 8.1.2416: loading menus sets v:errmsg
...
Problem: Loading menus sets v:errmsg.
Solution: Avoid setting v:errmsg and add a test for that. (Jason Franklin)
2019-12-10 22:11:53 +01:00
Bram Moolenaar
04357fbb87
patch 8.1.2415: popup menu flickers if an info popup is used
...
Problem: Popup menu flickers if an info popup is used. (Nick Spoons)
Solution: Set the pum_skip_redraw flag.
2019-12-10 21:50:56 +01:00
Bram Moolenaar
2ed639abdc
Update a few runtime files.
2019-12-09 23:11:18 +01:00
Bram Moolenaar
661ed8b4b6
patch 8.1.2414: MS-Windows: properties dialog box shows wrong character
...
Problem: MS-Windows: properties dialog box shows wrong character.
Solution: Explicitly specify encoding. (Ken Takata, closes #5338 )
2019-12-09 22:22:49 +01:00
Bram Moolenaar
0ba89ec47c
patch 8.1.2413: cannot update ex_cmdidxs.h on MS-Windows
...
Problem: Cannot update ex_cmdidxs.h on MS-Windows.
Solution: Add build rules and dependencies. (Ken Takata, closes #5337 )
2019-12-09 21:48:11 +01:00
Bram Moolenaar
0ff822d2eb
patch 8.1.2412: crash when evaluating expression with error
...
Problem: Crash when evaluating expression with error. (Dhiraj Mishra)
Solution: Check parsing failed. (closes #5329 )
2019-12-08 18:41:34 +01:00
Bram Moolenaar
1b03a193b3
patch 8.1.2411: function argument copied unnecessarily
...
Problem: Function argument copied unnecessarily.
Solution: Use the argument directly.
2019-12-08 17:08:29 +01:00
Bram Moolenaar
32b364fcc0
Runtime file updates.
2019-12-08 15:07:48 +01:00
Bram Moolenaar
e2a3f36bf2
patch 8.1.2410: MS-Windows: test_iminsert fails without IME support
...
Problem: MS-Windows: test_iminsert fails without IME support.
Solution: Skip the test when imgetstatus() doesn't work.
2019-12-07 21:40:48 +01:00
Bram Moolenaar
5f1920ada2
patch 8.1.2409: creating the distribution doesn't work as documented
...
Problem: Creating the distribution doesn't work as documented.
Solution: Adjust name of uninstall binary. Create src/auto directory if
needed.
2019-12-07 21:01:43 +01:00
Bram Moolenaar
bfd3433330
patch 8.1.2408: syntax menu and build instructions outdated
...
Problem: Syntax menu and build instructions outdated.
Solution: Update build instructions and syntax menu.
2019-12-07 19:24:34 +01:00
Bram Moolenaar
d283e89138
patch 8.1.2407: proto files, dependencies and build instructions outdated
...
Problem: proto file, dependenciess and Build instructions outdated.
Solution: Update proto files, dependencies and build instructions.
2019-12-07 18:50:29 +01:00
Bram Moolenaar
6b649ac4fd
patch 8.1.2406: leaking memory in test_paste and test_registers
...
Problem: Leaking memory in test_paste and test_registers.
Solution: Free the old title. Don't copy expr_line.
2019-12-07 17:47:22 +01:00
Bram Moolenaar
1f9a028def
patch 8.1.2405: matchadd_conceal test fails under valgrind
...
Problem: matchadd_conceal test fails under valgrind.
Solution: Use WaitForAssert() and wait a bit longer.
2019-12-07 17:22:04 +01:00
Bram Moolenaar
08d2e795e7
patch 8.1.2404: channel test fails under valgrind
...
Problem: Channel test fails under valgrind.
Solution: Sleep a bit longer.
2019-12-07 17:10:25 +01:00
Bram Moolenaar
3c47e8384d
patch 8.1.2403: autocmd test fails under valgrind
...
Problem: Autocmd test fails under valgrind.
Solution: Wait a bit longer.
2019-12-07 17:05:31 +01:00
Bram Moolenaar
664f3cf3f2
Runtime file updates.
2019-12-07 16:03:51 +01:00
Bram Moolenaar
f48ee3c284
patch 8.1.2402: typos and other small things
...
Problem: Typos and other small things.
Solution: Small fixes.
2019-12-06 22:18:20 +01:00
Bram Moolenaar
88a3e2b2ac
patch 8.1.2401: :cexpr does not handle | in expression
...
Problem: :cexpr does not handle | in expression.
Solution: Remove EX_TRLBAR and set nextcmd pointer.
2019-12-06 21:11:39 +01:00
Bram Moolenaar
1f3e7d3bf0
patch 8.1.2400: test39 is old style
...
Problem: Test39 is old style.
Solution: Convert the test cases into new style. (Yegappan Lakshmanan,
closes #5324 )
2019-12-06 20:43:36 +01:00
Bram Moolenaar
bef93ac9db
patch 8.1.2399: info popup on top of cursor if it doesn't fit
...
Problem: Info popup on top of cursor if it doesn't fit.
Solution: Hide the popup if it doesn't fit.
2019-12-06 20:17:35 +01:00
Bram Moolenaar
9a838fe543
patch 8.1.2398: strptime() test fails on Japanese Mac
...
Problem: strptime() test fails on Japanese Mac.
Solution: Use %T instead of %X.
2019-12-06 12:45:01 +01:00
Bram Moolenaar
e7dd0deb3c
patch 8.1.2397: should not define __USE_XOPEN
...
Problem: Should not define __USE_XOPEN. _XOPEN_SOURCE is not needed for
Android.
Solution: Remove __USE_XOPEN and adjust #ifdefs. (Ozaki Kiichi,
closes #5322 )
2019-12-05 23:07:06 +01:00
Bram Moolenaar
c08ee7476b
Update runtime files.
2019-12-05 22:47:25 +01:00
Bram Moolenaar
e38eab22c1
patch 8.1.2396: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-05 21:50:01 +01:00
Bram Moolenaar
0d6f5d9740
patch 8.1.2395: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-05 21:33:15 +01:00
Bram Moolenaar
63d9e730f7
patch 8.1.2394: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-05 21:10:38 +01:00
Bram Moolenaar
0f8737355d
patch 8.1.2393: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-05 20:28:46 +01:00
Bram Moolenaar
6e0ce171e1
patch 8.1.2392: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-05 20:12:41 +01:00
Bram Moolenaar
c95e8d6490
patch 8.1.2391: cannot build when __QNXNTO__ is defined
...
Problem: Cannot build when __QNXNTO__ is defined. (Ian Wayne Larson)
Solution: Move the check for "qansi". (Ken Takata, closes #5317 )
2019-12-05 18:35:44 +01:00
Bram Moolenaar
309976ec1f
patch 8.1.2390: test94 is old style, fix 7.4.441 not tested
...
Problem: Test94 is old style, fix 7.4.441 not tested.
Solution: Turn test94 into a new style test. Add tests for the fix in patch
7.4.441. (Yegappan Lakshmanan, closes #5316 )
2019-12-05 18:16:33 +01:00
Bram Moolenaar
707d226ac5
patch 8.1.2389: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-04 22:16:54 +01:00
Bram Moolenaar
4ba37b5833
patch 8.1.2388: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-04 21:57:43 +01:00
Bram Moolenaar
2ab2e8608f
patch 8.1.2387: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-04 21:24:53 +01:00
Bram Moolenaar
9834b96820
Update version 8.2 notes and make syntax.
2019-12-04 20:43:03 +01:00
Bram Moolenaar
42e931b0f5
patch 8.1.2386: 'wincolor' is not used for 'listchars'
...
Problem: 'wincolor' is not used for 'listchars'.
Solution: Combine the colors. (closes #5308 )
2019-12-04 19:08:50 +01:00
Bram Moolenaar
85db547598
patch 8.1.2385: opening cmdline window with feedkeys() does not work
...
Problem: Opening cmdline window with feedkeys() does not work. (Yegappan
Lakshmanan)
Solution: Recognize K_CMDWIN also when ex_normal_busy is set.
2019-12-04 15:11:08 +01:00
Bram Moolenaar
079119babe
patch 8.1.2384: test 48 is old style
...
Problem: Test 48 is old style.
Solution: Merge test cases into new style test. (Yegappan Lakshmanan,
closes #5307 )
2019-12-03 22:59:23 +01:00
Bram Moolenaar
4ceaa3a6e0
Update a few runtime files
2019-12-03 22:49:09 +01:00
Bram Moolenaar
734a867ffe
patch 8.1.2383: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-02 22:49:38 +01:00
Bram Moolenaar
a050b9471c
patch 8.1.2382: MS-Windows: When using VTP bold+inverse doesn't work
...
Problem: MS-Windows: When using VTP bold+inverse doesn't work.
Solution: Compare with the default colors. (Nobuhiro Takasaki, closes #5303 )
2019-12-02 21:35:31 +01:00
Bram Moolenaar
54c8d229f5
patch 8.1.2381: not all register related code is covered by tests
...
Problem: Not all register related code is covered by tests.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #5301 )
2019-12-02 20:41:39 +01:00
Bram Moolenaar
306139005c
patch 8.1.2380: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-01 22:11:18 +01:00
Bram Moolenaar
217e1b8359
patch 8.1.2379: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-01 21:41:28 +01:00
Bram Moolenaar
5d18efecfd
patch 8.1.2378: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-01 21:11:22 +01:00
Bram Moolenaar
fa5612c7d8
patch 8.1.2377: GUI: when losing focus a pending operator is executed
...
Problem: GUI: when losing focus a pending operator is executed.
Solution: Do not execute an operator when getting K_IGNORE. (closes #5300 )
2019-12-01 19:37:07 +01:00
Bram Moolenaar
912bc4a51a
patch 8.1.2376: preprocessor indents are incorrect
...
Problem: Preprocessor indents are incorrect.
Solution: Fix the indents. (Ken Takata, closes #5298 )
2019-12-01 18:58:11 +01:00
Bram Moolenaar
6f1f0ca3ed
patch 8.1.2375: no suffucient testing for registers
...
Problem: No suffucient testing for registers.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #5296 )
Fix that "p" on last virtual column of tab inserts spaces.
2019-12-01 18:16:18 +01:00
Bram Moolenaar
269e4bd9d2
patch 8.1.2374: unused parts of libvterm are included
...
Problem: Unused parts of libvterm are included.
Solution: Delete the unused files.
2019-12-01 15:31:12 +01:00
Bram Moolenaar
5a4c3082d7
patch 8.1.2373: cannot build with +popupwin but without +quickfix
...
Problem: Cannot build with +popupwin but without +quickfix. (John Marriott)
Solution: Adjust #ifdefs.
2019-12-01 15:23:11 +01:00
Bram Moolenaar
9625d3d92d
patch 8.1.2372: VMS: failing realloc leaks memory
...
Problem: VMS: failing realloc leaks memory. (Chakshu Gupta)
Solution: Free the memory. (partly fixes #5292 )
2019-11-30 22:57:53 +01:00
Bram Moolenaar
05ad5ff0ab
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
...
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291 )
2019-11-30 22:48:27 +01:00
Bram Moolenaar
0c5c3faef2
patch 8.1.2370: build problems on VMS
...
Problem: Build problems on VMS.
Solution: Adjust the build file. (Zoltan Arpadffy)
2019-11-30 22:38:16 +01:00
Bram Moolenaar
a2c2ae473a
patch 8.1.2369: cannot build with quickfix and without text properties
...
Problem: Cannot build with quickfix and without text properties.
Solution: Fix typo. (Naruhiko Nishino)
2019-11-30 20:58:46 +01:00
Bram Moolenaar
c667da5185
patch 8.1.2368: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-11-30 20:52:27 +01:00
Bram Moolenaar
71136db1bf
patch 8.1.2367: registers are not sufficiently tested
...
Problem: Registers are not sufficiently tested.
Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #5288 )
2019-11-30 19:48:46 +01:00
Bram Moolenaar
9bf703d46a
patch 8.1.2366: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-11-30 19:44:38 +01:00
Bram Moolenaar
20ebbeac46
patch 8.1.2365: missing tests for recent popupwin changes
...
Problem: Missing tests for recent popupwin changes.
Solution: Add test cases.
2019-11-30 17:58:27 +01:00
Bram Moolenaar
91359014b3
Update runtime files.
2019-11-30 17:57:03 +01:00
Bram Moolenaar
e219f73ed5
patch 8.1.2364: termwinscroll test is flaky on FreeBSD
...
Problem: Termwinscroll test is flaky on FreeBSD.
Solution: Add to list of flaky tests. Rename function.
2019-11-30 15:34:08 +01:00
Bram Moolenaar
dee50a5180
patch 8.1.2363: ml_get error when accessing Visual area in 'statusline'
...
Problem: ml_get error when accessing Visual area in 'statusline'.
Solution: Disable Visual mode when using another window. (closes #5278 )
2019-11-30 15:05:22 +01:00
Bram Moolenaar
7257073043
patch 8.1.2362: cannot place signs in a popup window
...
Problem: Cannot place signs in a popup window. (Maxim Kim)
Solution: Use the group prefix "PopUp" to specify which signs should show up
in a popup window. (closes #5277 )
2019-11-30 14:21:53 +01:00
Bram Moolenaar
310c32e892
patch 8.1.2361: MS-Windows: test failures related to VIMDLL
...
Problem: MS-Windows: test failures related to VIMDLL.
Solution: Adjust code and tests. (Ken Takata, closes #5283 )
2019-11-29 23:15:25 +01:00
Bram Moolenaar
15a7bdcb77
patch 8.1.2360: quickfix test coverage can still be improved
...
Problem: Quickfix test coverage can still be improved.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #5276 )
2019-11-29 22:06:47 +01:00
Bram Moolenaar
0387cae15c
patch 8.1.2359: cannot build without FEAT_FLOAT
...
Problem: Cannot build without FEAT_FLOAT. (John Marriott)
Solution: Fix #ifdefs around f_srand().
2019-11-29 21:07:58 +01:00
Bram Moolenaar
9134f1ecd4
patch 8.1.2358: tests fail on Cirrus CI for FreeBSD
...
Problem: Tests fail on Cirrus CI for FreeBSD.
Solution: Fix a test and skip some. (Christian Brabandt, closes #5281 )
2019-11-29 20:26:13 +01:00
Bram Moolenaar
68e9e5f7fc
patch 8.1.2357: no test with wrong argument for rand()
...
Problem: No test with wrong argument for rand().
Solution: Add a test case.
2019-11-28 22:55:43 +01:00
Bram Moolenaar
f8c1f9200c
patch 8.1.2356: rand() does not use the best algorithm
...
Problem: rand() does not use the best algorithm.
Solution: use xoshiro128** instead of xorshift. (Kaito Udagawa,
closes #5279 )
2019-11-28 22:13:14 +01:00
Bram Moolenaar
c7d2a57b3a
patch 8.1.2355: test with "man" fails on FreeBSD
...
Problem: Test with "man" fails on FreeBSD.
Solution: Use "-P" instead of "--pager".
2019-11-28 21:16:06 +01:00
Bram Moolenaar
31ff2e1b43
patch 8.1.2354: Cirrus CI runs on another repository
...
Problem: Cirrus CI runs on another repository.
Solution: Run Cirrus CI on vim/vim.
2019-11-28 20:53:08 +01:00
Bram Moolenaar
5708079a6b
patch 8.1.2353: build failure on FreeBSD
...
Problem: Build failure on FreeBSD.
Solution: Change #ifdef to only check for Linux-like systems.
2019-11-28 20:09:58 +01:00
Bram Moolenaar
424e98baab
Merge branch 'master' of github.com:vim/vim
2019-11-27 21:57:45 +01:00
Bram Moolenaar
7a212c6253
Merge pull request #5275 from vim/revert-5273-cirrus_ci
...
Revert "Cirrus CI: add a simple CI using BSD"
2019-11-27 21:57:06 +01:00
Bram Moolenaar
d52986e7be
Revert "Cirrus CI: add a simple CI using BSD"
2019-11-27 21:56:28 +01:00
Bram Moolenaar
ea599a65ee
patch 8.1.2352: CI doesn't cover FreeBSD
...
Problem: CI doesn't cover FreeBSD.
Solution: Configure Cirrus-CI. (Christian Brabandt, closes #5273 )
2019-11-27 21:55:41 +01:00
Christian Brabandt
8fbd6723af
Merge pull request #5273 from chrisbra/cirrus_ci
...
Cirrus CI: add a simple CI using BSD
2019-11-27 16:08:29 +01:00
Christian Brabandt
e307073680
Cirrus CI: add a simple CI using BSD
...
Cirrus CI allows to run CI tests in a wide variety of systems, such as
Mac, Windows and FreeBSD. For a starter, add a Cirrus-CI test just for
FreeBSD using version 12, assuming Windows and Linux are already tested
using appveyor and Travis CI
2019-11-27 15:59:06 +01:00
Bram Moolenaar
92e25ab2df
patch 8.1.2351: 'wincolor' not used for > for not fitting double width char
...
Problem: 'wincolor' not used for > for not fitting double width char.
Also: popup drawn on right half of double width character looks
wrong.
Solution: Adjust color for > character. Clear left half of double width
character if right half is being overwritten.
2019-11-26 22:39:10 +01:00
Bram Moolenaar
0c0734d527
Update runtime files
2019-11-26 21:44:46 +01:00
Bram Moolenaar
fc4ea2a72d
patch 8.1.2350: other text for CTRL-V in Insert mode with modifyOtherKeys
...
Problem: Other text for CTRL-V in Insert mode with modifyOtherKeys.
Solution: Convert the Escape sequence back to key as if modifyOtherKeys is
not set, and use CTRL-SHIFT-V to get the Escape sequence itself.
(closes #5254 )
2019-11-26 19:33:22 +01:00
Bram Moolenaar
cc4423ae13
patch 8.1.2349: :lockvar and :unlockvar cannot be followed by "| endif"
...
Problem: :lockvar and :unlockvar cannot be followed by "| endif".
Solution: Check for following commands. (closes #5269 )
2019-11-26 17:05:00 +01:00
Bram Moolenaar
8f76e6b12b
patch 8.1.2348: :const cannot be followed by "| endif"
...
Problem: :const cannot be followed by "| endif".
Solution: Check following command for :const. (closes #5269 )
Also fix completion after :const.
2019-11-26 16:50:30 +01:00
Bram Moolenaar
84f903326d
patch 8.1.2347: MacOS: build fails
...
Problem: MacOS: build fails.
Solution: Don't define _XOPEN_SOURCE for Mac.
2019-11-26 14:48:00 +01:00
Bram Moolenaar
38571a04b4
patch 8.1.2346: CTRL-R CTRL-R doesn't work with modifyOtherKeys
...
Problem: CTRL-R CTRL-R doesn't work with modifyOtherKeys.
Solution: Allow key codes when fetching argument for CTRL-R. (closes #5266 )
Also fix CTRL-G in Insert mode.
2019-11-26 14:28:15 +01:00
Bram Moolenaar
c1faf3dc38
patch 8.1.2345: .cjs files are not recognized as Javascript
...
Problem: .cjs files are not recognized as Javascript.
Solution: Add the *.cjs pattern. (closes #5268 )
2019-11-26 13:43:40 +01:00
Bram Moolenaar
6a228c6463
patch 8.1.2344: Cygwin: warning for using strptime()
...
Problem: Cygwin: warning for using strptime().
Solution: Move defining _XOPEN_SOURCE and __USE_XOPEN to vim.h. (Ken Takata,
closes #5265 ) Use 700 for _XOPEN_SOURCE for mkdtemp().
2019-11-26 13:29:01 +01:00
Bram Moolenaar
07e4a19795
patch 8.1.2343: using time() for srand() is not very random
...
Problem: Using time() for srand() is not very random.
Solution: use /dev/urandom if available
2019-11-26 12:23:30 +01:00
Bram Moolenaar
06b0b4bc27
patch 8.1.2342: random number generator in Vim script is slow
...
Problem: Random number generator in Vim script is slow.
Solution: Add rand() and srand(). (Yasuhiro Matsumoto, closes #1277 )
2019-11-25 15:40:55 +01:00
Bram Moolenaar
67a2deb9cb
patch 8.1.2341: not so easy to interrupt a script programatically
...
Problem: Not so easy to interrupt a script programatically.
Solution: Add the interrupt() function. (Yasuhiro Matsumoto, closes #2834 )
2019-11-25 00:05:32 +01:00
Bram Moolenaar
a106e6cde6
patch 8.1.2340: quickfix test fails under valgrind and asan
...
Problem: Quickfix test fails under valgrind and asan.
Solution: Make sure long line does not overflow IObuff. (Dominique Pelle,
closes #5263 ) Put back fix for large terminals. (Yegappan
Lakshmanan, closes #5264 )
2019-11-24 22:13:58 +01:00
Bram Moolenaar
70077dd1ca
patch 8.1.2339: insufficient testing for quickfix
...
Problem: Insufficient testing for quickfix.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5261 )
2019-11-24 12:12:42 +01:00
Bram Moolenaar
c672525b48
patch 8.1.2338: using Visual mark sith :s gives E20 if not set
...
Problem: Using Visual mark sith :s gives E20 if not set.
Solution: Ignore errors when handling 'incsearch'. (closes #3837 )
2019-11-23 21:56:46 +01:00
Bram Moolenaar
85c3502ef5
patch 8.1.2337: double-click time sometimes miscomputed
...
Problem: Double-click time sometimes miscomputed.
Solution: Correct time computation. (Dominique Pelle, closes #5259 )
2019-11-22 22:21:59 +01:00
Bram Moolenaar
4ebe0e62d0
patch 8.1.2336: when an expr mapping moves the cursor it is not restored
...
Problem: When an expr mapping moves the cursor it is not restored.
Solution: Position the cursor after an expr mapping. (closes #5256 )
2019-11-22 20:55:40 +01:00
Bram Moolenaar
2118a30295
patch 8.1.2335: error message for function arguments may use NULL pointer
...
Problem: Error message for function arguments may use NULL pointer.
(Coverity)
Solution: Use the original function name.
2019-11-22 19:29:45 +01:00
Bram Moolenaar
fd318115a5
patch 8.1.2334: possible NULL pointer dereference in popup_locate()
...
Problem: Possible NULL pointer dereference in popup_locate(). (Coverity)
Solution: Check for NULL pointer.
2019-11-22 19:22:08 +01:00
Bram Moolenaar
828ffd5963
patch 8.1.2333: with modifyOtherKeys CTRL-^ doesn't work
...
Problem: With modifyOtherKeys CTRL-^ doesn't work.
Solution: Handle the exception.
2019-11-21 23:24:00 +01:00
Bram Moolenaar
556ae8ea28
patch 8.1.2332: missing file in refactoring
...
Problem: Missing file in refactoring.
Solution: Update missing file.
2019-11-21 22:27:22 +01:00
Bram Moolenaar
7bae0b1bc8
patch 8.1.2331: the option.c file is still very big
...
Problem: The option.c file is still very big.
Solution: Move a few functions to where they fit better. (Yegappan
Lakshmanan, closes #4895 )
2019-11-21 22:14:18 +01:00
Bram Moolenaar
94d9f4fa65
patch 8.1.2330: vi' does not always work when 'selection' is exclusive
...
Problem: vi' does not always work when 'selection' is exclusive.
Solution: Adjust start position.
2019-11-21 20:55:26 +01:00
Bram Moolenaar
44f0bd878a
patch 8.1.2329: mouse multiple click test is a bit flaky
...
Problem: Mouse multiple click test is a bit flaky.
Solution: Add it to the list of flaky tests.
2019-11-21 18:27:01 +01:00
Bram Moolenaar
bd3bc0314e
patch 8.1.2328: a few hangul input pieces remain
...
Problem: A few hangul input pieces remain.
Solution: Update VMS makefile.
2019-11-21 17:34:51 +01:00
Bram Moolenaar
546125869f
patch 8.1.2327: cannot build with Hangul input
...
Problem: Cannot build with Hangul input.
Solution: Remove Hangul input support.
2019-11-21 17:13:31 +01:00
Bram Moolenaar
10455d43fe
patch 8.1.2326: cannot parse a date/time string
...
Problem: Cannot parse a date/time string.
Solution: Add strptime(). (Stephen Wall, closes #)
2019-11-21 15:36:18 +01:00
Bram Moolenaar
9ae862ebba
patch 8.1.2325: crash when using balloon with empty line
...
Problem: Crash when using balloon with empty line.
Solution: Handle empty lines. (Markus Braun)
2019-11-21 13:27:06 +01:00
Bram Moolenaar
202c3f7e3e
patch 8.1.2324: with of scrollbar in popup menu not taken into account
...
Problem: With of scrollbar in popup menu not taken into account.
Solution: Add the width of the scrollbar.
2019-11-21 12:12:35 +01:00
Bram Moolenaar
403f3eb4c1
Update runtime files.
2019-11-20 22:31:13 +01:00
Bram Moolenaar
a075490082
patch 8.1.2323: Old MSVC version no longer tested.
...
Problem: Old MSVC version no longer tested.
Solution: Drop support for MSCV 2008 and older. (Ken Takata, closes #5248 )
2019-11-19 23:01:28 +01:00
Bram Moolenaar
ffc4fb8fee
patch 8.1.2322: quickfix test fails in very big terminal
...
Problem: Quickfix test fails in very big terminal.
Solution: Adjust the expected result for the width. (Masato Nishihata,
closes #5244 )
2019-11-19 22:38:48 +01:00
Bram Moolenaar
0a5aa7b28a
patch 8.1.2321: cannot select all text with the mouse
...
Problem: Cannot select all text with the mouse. (John Marriott)
Solution: Move limiting the mouse column to f_getmousepos(). (closes #5242 )
2019-11-18 23:31:48 +01:00
Bram Moolenaar
f9ae154c51
patch 8.1.2320: insufficient test coverage for quickfix
...
Problem: Insufficient test coverage for quickfix.
Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan,
closes #5238 )
2019-11-18 22:02:16 +01:00
Bram Moolenaar
07a63d8633
patch 8.1.2319: compiler warning for int size
...
Problem: Compiler warning for int size.
Solution: Add typecast. (Mike Williams)
2019-11-18 21:38:37 +01:00
Bram Moolenaar
5f76334818
patch 8.1.2318: MS-Windows GUI: main background shows in toolbar
...
Problem: MS-Windows GUI: main background shows in toolbar.
Solution: Remove transparency from the toolbar. (Simon Sadler)
2019-11-17 22:54:10 +01:00
Bram Moolenaar
37ff4cf870
patch 8.1.2317: no test for spell affix file with flag on suffix
...
Problem: No test for spell affix file with flag on suffix.
Solution: Add a test case.
2019-11-17 20:10:20 +01:00
Bram Moolenaar
91b992c387
patch 8.1.2316: FORTIFY_SOURCE can also be present in CPPFLAGS
...
Problem: FORTIFY_SOURCE can also be present in CPPFLAGS.
Solution: Remove it in configure. (Benedikt Morbach, closes #2786 )
2019-11-17 19:07:42 +01:00
Bram Moolenaar
539aa6b25e
patch 8.1.2315: not always using the right window when jumping to an error
...
Problem: Not always using the right window when jumping to an error.
Solution: Add the "uselast" flag in 'switchbuf'. (closes #1652 )
2019-11-17 18:09:38 +01:00
Bram Moolenaar
7170b295b0
patch 8.1.2314: vi' sometimes does not select anything
...
Problem: vi' sometimes does not select anything.
Solution: Recognize an empty selection. (Christian Brabandt, closes #5183 )
2019-11-17 17:32:28 +01:00
Bram Moolenaar
eda1da0c9a
patch 8.1.2313: debugging where a delay comes from is not easy
...
Problem: Debugging where a delay comes from is not easy.
Solution: Use different values when calling ui_delay().
2019-11-17 17:06:33 +01:00
Bram Moolenaar
077b9dd354
patch 8.1.2312: "line:" field in tags file not used
...
Problem: "line:" field in tags file not used.
Solution: Recognize the field and use the value. (Andy Massimino, Daniel
Hahler, closes #5232 , closes #2546 , closes #1057 )
2019-11-17 16:18:31 +01:00
Bram Moolenaar
09c6f265b2
Update runtime files.
2019-11-17 15:55:14 +01:00
Bram Moolenaar
0324f9ea0a
patch 8.1.2311: warning for missing function prototype
...
Problem: Warning for missing function prototype.
Solution: Add the proto. (Dominique Pelle, closes #5233 )
2019-11-16 22:49:40 +01:00
Bram Moolenaar
d8a8c4ca08
patch 8.1.2310: no proper test for directory changes in quickfix
...
Problem: No proper test for directory changes in quickfix.
Solution: Add a test that uses multiple directories. (Yegappan Lakshmanan,
closes #5230 )
2019-11-16 21:04:57 +01:00
Bram Moolenaar
abe12a1a4f
patch 8.1.2309: compiler warning for argument type
...
Problem: Compiler warning for argument type.
Solution: Use linenr_T and cast to varnumber_T. (John Marriott)
2019-11-16 20:49:18 +01:00
Bram Moolenaar
ecafcc15ca
patch 8.1.2308: deleting text before zero-width textprop removes it
...
Problem: Deleting text before zero-width textprop removes it.
Solution: Keep zero-width textprop when deleting text.
2019-11-16 20:41:51 +01:00
Bram Moolenaar
a37cb55da6
patch 8.1.2307: positioning popup doesn't work for buffer-local textprop
...
Problem: Positioning popup doesn't work for buffer-local textprop.
Solution: Make it work. (closes #5225 )
2019-11-16 20:03:31 +01:00
Bram Moolenaar
f36a2c7e60
patch 8.1.2306: double and triple clicks are not tested
...
Problem: Double and triple clicks are not tested.
Solution: Test mouse clicks to select text. (closes #5226 )
2019-11-16 18:57:16 +01:00
Bram Moolenaar
e53ec39270
patch 8.1.2305: no warning for wrong entry in translations
...
Problem: No warning for wrong entry in translations.
Solution: Check semicolons in keywords entry of desktop file.
2019-11-16 18:49:50 +01:00
Bram Moolenaar
db3a205147
patch 8.1.2304: cannot get the mouse position when getting a mouse click
...
Problem: Cannot get the mouse position when getting a mouse click.
Solution: Add getmousepos().
2019-11-16 18:22:41 +01:00
Bram Moolenaar
08f23636ae
patch 8.1.2303: cursor in wrong position after horizontal scroll
...
Problem: Cursor in wrong position after horizontal scroll.
Solution: Set w_valid_leftcol. (closes #5214 , closes #5224 )
2019-11-16 14:19:33 +01:00
Bram Moolenaar
f4a1d1c054
patch 8.1.2302: :lockmarks does not work for '[ and ']
...
Problem: :lockmarks does not work for '[ and '].
Solution: save and restore '[ and '] marks. (James McCoy, closes #5222 )
2019-11-16 13:50:25 +01:00
Bram Moolenaar
ab85ca4e6a
patch 8.1.2301: MS-Windows GUI: drawing error when background color changes
...
Problem: MS-Windows GUI: drawing error when background color changes.
Solution: Implement gui_mch_new_colors(). (Simon Sadler)
2019-11-15 22:41:14 +01:00
Bram Moolenaar
1ebbb6ee45
Fix vim.desktop generation.
2019-11-14 21:39:32 +01:00
Bram Moolenaar
574ee7bc12
Update runtime files
2019-11-13 23:04:29 +01:00
Bram Moolenaar
afe45b68a6
patch 8.1.2300: redraw breaks going through list of popup windows
...
Problem: Redraw breaks going through list of popup windows.
Solution: Use different flags for popup_reset_handled(). (closes #5216 )
2019-11-13 22:35:19 +01:00
Bram Moolenaar
36e7a823c6
patch 8.1.2299: ConPTY in MS-Windows 1909 is still wrong
...
Problem: ConPTY in MS-Windows 1909 is still wrong.
Solution: Use same solution as for 1903. (Nobuhiro Takasaki, closes #5217 )
2019-11-13 21:49:24 +01:00
Bram Moolenaar
0743ef9f8a
patch 8.1.2298: missing part of 8.1.2296
...
Problem: Missing part of 8.1.2296.
Solution: s/test/text/
2019-11-13 16:37:31 +01:00
Bram Moolenaar
d6a98a3a97
patch 8.1.2297: the ex_vimgrep() function is too long
...
Problem: The ex_vimgrep() function is too long.
Solution: Split it in three parts. (Yegappan Lakshmanan, closes #5211 )
2019-11-12 22:59:51 +01:00
Bram Moolenaar
58e32ab503
patch 8.1.2296: text properties are not combined with syntax by default
...
Problem: Text properties are not combined with syntax by default.
Solution: Make it work as documented. (closes #5190 )
2019-11-12 22:44:22 +01:00
Bram Moolenaar
4eb7dae255
patch 8.1.2295: if buffer of popup is in another window cursorline sign shows
...
Problem: If buffer of popup is in another window cursorline sign shows.
Solution: Check the group of the sign.
2019-11-12 22:33:45 +01:00
Bram Moolenaar
cbee635eee
patch 8.1.2294: cursor pos wrong with concealing and search causes a scroll
...
Problem: Cursor position wrong when characters are concealed and asearch
causes a scroll.
Solution: Fix the cursor column in a concealed line after window scroll.
(closes #5215 , closes #5012 )
2019-11-12 20:49:15 +01:00
Bram Moolenaar
cc184cfb09
patch 8.1.2293: join adds trailing space when second line is empty
...
Problem: Join adds trailing space when second line is empty. (Brennan
Vincent)
Solution: Do not add a trailing space.
2019-11-12 20:31:20 +01:00
Bram Moolenaar
d002e411c6
patch 8.1.2292: v:mouse_winid not set on click in popup window
...
Problem: v:mouse_winid not set on click in popup window.
Solution: Set v:mouse_winid. (closes #5171 )
2019-11-11 21:45:05 +01:00
Bram Moolenaar
adf4aa200b
patch 8.1.2291: memory leak when executing command in a terminal
...
Problem: Memory leak when executing command in a terminal.
Solution: Free "argv". (Dominique Pelle, closes #5208 )
2019-11-10 22:36:44 +01:00
Bram Moolenaar
5ef1c6a483
Update runtime files
2019-11-10 22:09:11 +01:00
Bram Moolenaar
a9aa86ff95
patch 8.1.2290: autocommand test fails
...
Problem: Autocommand test fails.
Solution: Remove 'closeoff' from 'diffopt'.
2019-11-10 21:25:45 +01:00
Bram Moolenaar
c823477979
patch 8.1.2289: after :diffsplit closing the window does not disable diff
...
Problem: After :diffsplit closing the window does not disable diff.
Solution: Add "closeoff" to 'diffopt' and add it to the default.
2019-11-10 21:00:27 +01:00
Bram Moolenaar
5c6b6187ac
patch 8.1.2288: not using all space when popup with "topleft" flips to above
...
Problem: Not using all space when popup with "topleft" flips to above.
Solution: Recompute the height when a popup flips from below to above.
(closes #5151 )
2019-11-10 17:51:38 +01:00
Bram Moolenaar
1666ac9c56
patch 8.1.2287: using EndOfBuffer highlight in popup does not look good
...
Problem: Using EndOfBuffer highlight in popup does not look good.
Solution: Do not EndOfBuffer highlight. (closes #5204 )
2019-11-10 17:22:31 +01:00
Bram Moolenaar
622b646037
patch 8.1.2286: using border highlight in popup window leaks memory
...
Problem: Using border highlight in popup window leaks memory.
Solution: Free memory before overwriting. (Dominique Pelle, closes #5203 )
2019-11-10 15:16:54 +01:00
Bram Moolenaar
d6beab0248
patch 8.1.2285: padding in structures wastes memory
...
Problem: Padding in structures wastes memory.
Solution: Move fields to avoid padding. (Dominique Pelle, closes #5202 )
2019-11-10 15:07:19 +01:00
Bram Moolenaar
439b3aca37
patch 8.1.2284: compiler warning for unused variable
...
Problem: Compiler warning for unused variable. (Tony Mechelynck)
Solution: Add #ifdef.
2019-11-10 01:32:12 +01:00
Bram Moolenaar
91e22eb6e0
patch 8.1.2283: missed on use of p_sbr
...
Problem: Missed on use of p_sbr.
Solution: Add missing p_sbr change.
2019-11-10 00:19:12 +01:00
Bram Moolenaar
4c054e9fb2
patch 8.1.2282: crash when passing many arguments through a partial
...
Problem: Crash when passing many arguments through a partial. (Andy
Massimino)
Solution: Check the number of arguments. (closes #5186 )
2019-11-10 00:13:50 +01:00
Bram Moolenaar
ee85702c10
patch 8.1.2281: 'showbreak' cannot be set for one window
...
Problem: 'showbreak' cannot be set for one window.
Solution: Make 'showbreak' global-local.
2019-11-09 23:26:40 +01:00
Bram Moolenaar
b0745b221d
patch 8.1.2280: crash when passing partial to substitute()
...
Problem: Crash when passing partial to substitute().
Solution: Take extra arguments into account. (closes #5186 )
2019-11-09 22:28:11 +01:00
Bram Moolenaar
dbd4316806
patch 8.1.2279: computation of highlight attributes is too complicated
...
Problem: Computation of highlight attributes is too complicated.
Solution: Simplify the attribute computation and make it more consistent.
(closes #5190 ) Fix that 'combine' set to zero doesn't work.
2019-11-09 21:28:14 +01:00
Bram Moolenaar
3503d7c94a
patch 8.1.2278: using "cd" with "exe" may fail
...
Problem: Using "cd" with "exe" may fail.
Solution: Use chdir() instead.
2019-11-09 20:10:17 +01:00
Bram Moolenaar
b73e439606
patch 8.1.2277: terminal window is not updated when info popup changes
...
Problem: Terminal window is not updated when info popup changes.
Solution: Redraw windows when re-using an info popup. (closes #5192 )
2019-11-09 20:00:35 +01:00
Bram Moolenaar
5bf46e9786
patch 8.1.2276: MS-Windows: session test leaves files behind
...
Problem: MS-Windows: session test leaves files behind.
Solution: Wipe out buffers before deleting the directory. (closes #5187 )
2019-11-09 18:06:04 +01:00
Bram Moolenaar
1e15e61188
patch 8.1.2275: using "seesion" looks like a mistake
...
Problem: Using "seesion" looks like a mistake.
Solution: Use an underscore to make the function sort first.
2019-11-09 17:18:52 +01:00
Bram Moolenaar
d1c1c82389
patch 8.1.2274: newlines in 'balloonexpr' result only work in the GUI
...
Problem: Newlines in 'balloonexpr' result only work in the GUI.
Solution: Also recognize newlines in the terminal. (closes #5193 )
2019-11-09 16:59:14 +01:00
Bram Moolenaar
4dd8fe0b4f
patch 8.1.2273: wrong default when "pos" is changed with popup_atcursor()
...
Problem: Wrong default when "pos" is changed with popup_atcursor().
Solution: Adjust the default line and col when "pos" is not the default
value. (#5151 )
2019-11-09 15:33:31 +01:00
Bram Moolenaar
34059e7b67
patch 8.1.2272: test may hang at more prompt
...
Problem: Test may hang at more prompt.
Solution: Reset 'more' after resetting 'compatible'. (Michael Soyka)
2019-11-08 23:00:25 +01:00
Bram Moolenaar
398a59b6a5
patch 8.1.2271: build error if FEAT_TAG_BINS is not defined
...
Problem: Build error if FEAT_TAG_BINS is not defined. (John Marriott)
Solution: Add #ifdef.
2019-11-08 21:56:57 +01:00
Bram Moolenaar
0208b6b771
patch 8.1.2270: "gf" is not tested in Visual mode
...
Problem: "gf" is not tested in Visual mode.
Solution: Add Visual mode test and test errors. (Dominique Pelle,
closes #5197 )
2019-11-08 21:49:48 +01:00
Bram Moolenaar
dc9ef26845
patch 8.1.2269: tags file with very long line stops using binary search
...
Problem: Tags file with very long line stops using binary search.
Solution: Reallocate the buffer if needed.
2019-11-07 23:08:42 +01:00
Bram Moolenaar
3d2a47c782
patch 8.1.2268: spell file flag zero is not recognized
...
Problem: Spell file flag zero is not recognized.
Solution: Use -1 as an error value, so that zero can be used as a valid flag
number.
2019-11-07 20:48:42 +01:00
Bram Moolenaar
3b991527e8
patch 8.1.2267: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Rearrange the code.
2019-11-06 23:26:20 +01:00
Bram Moolenaar
f8b036bcae
patch 8.1.2266: position unknown for a mouse click in a popup window
...
Problem: Position unknown for a mouse click in a popup window.
Solution: Set v:mouse_col and v:mouse_lnum. (closes #5171 )
2019-11-06 21:09:17 +01:00
Bram Moolenaar
638a4a7508
patch 8.1.2265: when popup with "botleft" does not fit it flips incorrectly
...
Problem: When popup with "botleft" does not fit it flips incorrectly.
Solution: Only flip when there is more space on the other side. Add the
"posinvert" option to disable flipping and do it in both
directions if enabled. (closes #5151 )
2019-11-06 19:25:22 +01:00
Bram Moolenaar
fcf8a8743b
patch 8.1.2264: there are two test files for :let
...
Problem: There are two test files for :let.
Solution: Merge the two files.
2019-11-06 15:22:00 +01:00
Bram Moolenaar
215ba3b636
patch 8.1.2263: 'noesckeys' test fails in GUI
...
Problem: 'noesckeys' test fails in GUI.
Solution: Skip the test in the GUI.
2019-11-06 15:07:07 +01:00
Bram Moolenaar
1e673b9eb6
patch 8.1.2262: unpack assignment in function not recognized
...
Problem: Unpack assignment in function not recognized.
Solution: Skip over "[a, b]". (closes #5051 )
2019-11-06 15:02:50 +01:00
Bram Moolenaar
177c9f2f06
patch 8.1.2261: with modifyOtherKeys set 'noesckeys' doesn't work
...
Problem: With modifyOtherKeys set 'noesckeys' doesn't work. (James McCoy)
Solution: Disable modifyOtherKeys while in Insert mode when 'noesckeys' is
set. (closes #5180 )
2019-11-06 13:59:16 +01:00
Bram Moolenaar
36ec6f6953
patch 8.1.2260: terminal test may fail on MS-Windows
...
Problem: Terminal test may fail on MS-Windows.
Solution: Catch the situation that "term dir" fails with a CreateProcess
error.
2019-11-05 22:38:47 +01:00
Bram Moolenaar
7d2320414f
patch 8.1.2259: running tests may leave XfakeHOME behind
...
Problem: Running tests may leave XfakeHOME behind.
Solution: Source summarize.vim without using setup.vim. (closes #5177 )
Also fix that on MS-Windows the test log isn't echoed.
2019-11-05 22:37:20 +01:00
Bram Moolenaar
dc968e7a45
patch 8.1.2258: may get hit-enter prompt after entering a number
...
Problem: May get hit-enter prompt after entering a number. (Malcolm Rowe)
Solution: Put back accidentally deleted lines. (closes #5176 )
2019-11-05 21:53:20 +01:00
Bram Moolenaar
ae20f340ad
patch 8.1.2257: MS-Windows GUI: scroll wheel always uses current window
...
Problem: MS-Windows GUI: scroll wheel always uses current window.
Solution: Add the 'scrollfocus' option for MS-Windows.
2019-11-05 21:09:23 +01:00
Bram Moolenaar
e5a3272d32
patch 8.1.2256: test for ":term ++shell" fails on MS-Windows
...
Problem: Test for ":term ++shell" fails on MS-Windows.
Solution: Accept failure of "dir" executable.
2019-11-04 23:36:29 +01:00
Bram Moolenaar
2d6d76f9cd
patch 8.1.2255: ":term ++shell" does not work on MS-Windows
...
Problem: ":term ++shell" does not work on MS-Windows.
Solution: Add MS-Windows support.
2019-11-04 23:18:35 +01:00
Bram Moolenaar
0630bb6580
patch 8.1.2254: MS-Windows: mouse scroll wheel doesn't work in popup
...
Problem: MS-Windows: mouse scroll wheel doesn't work in popup.
Solution: Handle mouse wheel events separately. (closes #5138 )
2019-11-04 22:52:12 +01:00
Bram Moolenaar
ad4de52510
patch 8.1.2253: using "which" to check for an executable is not reliable
...
Problem: Using "which" to check for an executable is not reliable.
Solution: Use "command -v" instead. Also exit with error code when
generating tags has an error. (closes #5174 )
2019-11-04 21:24:48 +01:00
Bram Moolenaar
2ade714728
patch 8.1.2252: compiler warning for int size
...
Problem: Compiler warning for int size.
Solution: Add type cast. (Mike Williams)
2019-11-04 20:36:50 +01:00
Bram Moolenaar
197c6b7da3
patch 8.1.2251: ":term command" may not work without a shell
...
Problem: ":term command" may not work without a shell.
Solution: Add the ++shell option to :term. (closes #3340 )
2019-11-03 23:37:12 +01:00
Bram Moolenaar
30efcf3d26
patch 8.1.2250: CTRL-U and CTRL-D don't work in popup window
...
Problem: CTRL-U and CTRL-D don't work in popup window.
Solution: Initialize 'scroll'. Add "lastline" in popup_getpos().
(closes #5170 )
2019-11-03 22:29:38 +01:00
Bram Moolenaar
d047840ce4
patch 8.1.2249: "make vimtags" does not print any message
...
Problem: "make vimtags" does not print any message.
Solution: Add a message that the tags have been updated.
2019-11-03 21:46:19 +01:00
Bram Moolenaar
1e814bc017
patch 8.1.2248: CTRL-W dot does not work when modifyOtherKeys is enabled
...
Problem: CTRL-W dot does not work in a terminal when modifyOtherKeys is
enabled.
Solution: Use the modifier when needed. Pass the modifier along with the
key to avoid mistakes.
2019-11-03 21:19:41 +01:00
Bram Moolenaar
e890b9f5dd
patch 8.1.2247: "make vimtags" does not work in runtime/doc
...
Problem: "make vimtags" does not work in runtime/doc.
Solution: Test existence with "which" instead of "test -x". (Ken Takata)
2019-11-03 18:38:47 +01:00
Bram Moolenaar
1f068233c1
patch 8.1.2246: some tests are still in old style
...
Problem: Some tests are still in old style.
Solution: Change a few tests to new style. (Yegappan Lakshmanan)
2019-11-03 16:17:26 +01:00
Bram Moolenaar
2f7b7b1e12
patch 8.1.2245: third character of 'listchars' tab shows in wrong place
...
Problem: Third character of 'listchars' tab shows in wrong place when
'breakindent' is set.
Solution: Set c_final to NUL. (Naruhiko Nishino, closes #5165 )
2019-11-03 15:46:48 +01:00
Bram Moolenaar
82cf7f6df7
patch 8.1.2244: 'wrapscan' is not used for "gn"
...
Problem: 'wrapscan' is not used for "gn".
Solution: Only reset 'wrapscan' for the first search round. (closes #5164 )
2019-11-02 23:22:47 +01:00
Bram Moolenaar
32aa10203b
patch 8.1.2243: typos in comments
...
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes #5160 ) Also adjust
formatting a bit.
2019-11-02 22:54:41 +01:00
Bram Moolenaar
70def98a95
patch 8.1.2242: creating docs tags uses user preferences
...
Problem: Creating docs tags uses user preferences. (Tony Mechelynck)
Solution: Add "--clean".
2019-11-02 22:45:31 +01:00
Bram Moolenaar
024dbd229f
patch 8.1.2241: match highlight does not combine with 'wincolor'
...
Problem: Match highlight does not combine with 'wincolor'.
Solution: Apply 'wincolor' last on top of any other attribute. (closes #5159 )
2019-11-02 22:00:15 +01:00
Bram Moolenaar
f2885d3fb7
patch 8.1.2240: popup window width changes when scrolling
...
Problem: Popup window width changes when scrolling.
Solution: Also adjust maxwidth when applying minwidth and there is a
scrollbar. Fix off-by-one error. (closes #5162 )
2019-11-02 20:21:25 +01:00
Bram Moolenaar
1a577433ac
patch 8.1.2239: CI fails when running tests without building Vim
...
Problem: CI fails when running tests without building Vim.
Solution: Skip creating doc tags if the execute does not exist.
2019-11-02 18:22:08 +01:00
Bram Moolenaar
1ff14ba24c
Update runtime files.
2019-11-02 14:09:23 +01:00
Bram Moolenaar
757bd2ea49
patch 8.1.2238: error in docs tags goes unnoticed
...
Problem: Error in docs tags goes unnoticed.
Solution: Adjust tags build command. (Ken Takata, closes #5158 )
2019-11-01 19:46:22 +01:00
Bram Moolenaar
7a641ca1e1
patch 8.1.2237: mode() result depends on whether CURSOR_SHAPE is defined
...
Problem: Mode() result after usign "r" depends on whether CURSOR_SHAPE is
defined. (Christian Brabandt)
Solution: Move the #ifdef to only skip ui_cursor_shape().
2019-10-31 19:55:55 +01:00
Bram Moolenaar
bb26596242
patch 8.1.2236: ml_get error if pattern matches beyond last line
...
Problem: Ml_get error if pattern matches beyond last line.
Solution: Adjust position if needed. (Christian Brabandt, closes #5139 )
2019-10-31 04:38:36 +01:00
Bram Moolenaar
77ccc00340
patch 8.1.2235: "C" with 'virtualedit' set does not include multi-byte char
...
Problem: "C" with 'virtualedit' set does not include multi-byte char.
Solution: Include the whole multi-byte char. (Nobuhiro Takasaki,
closes #5152 )
2019-10-31 03:21:25 +01:00
Bram Moolenaar
3f39697b73
patch 8.1.2234: get_short_pathname() fails depending on encoding
...
Problem: get_short_pathname() fails depending on encoding.
Solution: Use the wide version of the library function. (closes #5129 )
2019-10-30 04:10:06 +01:00
Bram Moolenaar
69bf634858
patch 8.1.2233: cannot get the Vim command line arguments
...
Problem: Cannot get the Vim command line arguments.
Solution: Add v:argv. (Dmitri Vereshchagin, closes #1322 )
2019-10-29 04:16:57 +01:00
Bram Moolenaar
8b530c1ff9
patch 8.1.2231: not easy to move to the middle of a text line
...
Problem: Not easy to move to the middle of a text line.
Solution: Add the gM command. (Yasuhiro Matsumoto, closes #2070 )
2019-10-28 02:13:05 +01:00
Bram Moolenaar
077ff436a7
patch 8.1.2230: MS-Windows: testing external commands can be improved
...
Problem: MS-Windows: testing external commands can be improved.
Solution: Adjust tests, remove duplicate test. (closes #4928 )
2019-10-28 00:42:21 +01:00
Bram Moolenaar
efae76ab1a
patch 8.1.2229: cannot color number column above/below cursor differently
...
Problem: Cannot color number column above/below cursor differently.
Solution: Add LineNrAbove and LineNrBelow. (Shaun Brady, closes #624 )
2019-10-27 22:54:58 +01:00
Bram Moolenaar
38ba4dce4a
patch 8.1.2228: screenpos() returns wrong values when 'number' is set
...
Problem: screenpos() returns wrong values when 'number' is set. (Ben
Jackson)
Solution: Compare the column with the window width. (closes #5133 )
2019-10-27 21:39:09 +01:00
Bram Moolenaar
1c329c04be
patch 8.1.2227: layout wrong if 'lines' changes while cmdline window is open
...
Problem: Layout wrong if 'lines' changes while cmdline window is open.
Solution: Do not restore the window layout if 'lines' changed.
(closes #5130 )
2019-10-27 20:37:35 +01:00
Bram Moolenaar
5b418992cf
patch 8.1.2226: cannot use system copy/paste in non-xterm terminals
...
Problem: Cannot use system copy/paste in non-xterm terminals.
Solution: Instead of setting 'mouse' to "a" set it to "nvi" in defaults.vim.
2019-10-27 18:50:25 +01:00
Bram Moolenaar
52410575be
patch 8.1.2225: the "last used" info of a buffer is under used
...
Problem: The "last used" info of a buffer is under used.
Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used
field. (Andi Massimino, closes #4722 )
2019-10-27 05:12:45 +01:00
Bram Moolenaar
dfded98f87
patch 8.1.2224: cannot build Amiga version
...
Problem: Cannot build Amiga version.
Solution: Add dummy mch_setmouse(). (Ola Söder, closes #5126 )
2019-10-26 21:33:19 +02:00
Bram Moolenaar
cb86893114
patch 8.1.2223: cannot see what buffer an ml_get error is for
...
Problem: Cannot see what buffer an ml_get error is for.
Solution: Add the buffer number and name in the message
2019-10-26 20:56:21 +02:00
Bram Moolenaar
7ab5d77666
patch 8.1.2222: accessing invalid memory
...
Problem: Accessing invalid memory. (Dominique Pelle)
Solution: Reset highlight_match every time. (closes #5125 )
2019-10-26 20:45:24 +02:00
Bram Moolenaar
96f45c0b6f
Update runtime files
2019-10-26 19:53:45 +02:00
Bram Moolenaar
8fc4296436
patch 8.1.2221: cannot filter :disp output
...
Problem: Cannot filter :disp output.
Solution: Support filtereing :disp output. (Andi Massimino, closes #5117 )
2019-10-26 17:33:13 +02:00
Bram Moolenaar
6a0cc916bd
patch 8.1.2220: :cfile does not abort like other quickfix commands
...
Problem: :cfile does not abort like other quickfix commands.
Solution: Abort when desired. Add tests for aborting. (Yegappan Lakshmanan,
closes #5121 )
2019-10-26 16:48:44 +02:00
Bram Moolenaar
28ed4dfe1f
patch 8.1.2219: no autocommand for open window with terminal
...
Problem: No autocommand for open window with terminal.
Solution: Add TerminalWinOpen. (Christian Brabandt)
2019-10-26 16:21:40 +02:00
Bram Moolenaar
453c19257f
patch 8.1.2218: "gN" is off by one in Visual mode
...
Problem: "gN" is off by one in Visual mode.
Solution: Check moving forward. (Christian Brabandt, #5075 )
2019-10-26 14:42:09 +02:00
Bram Moolenaar
c7488a7fc8
patch 8.1.2217: compiler warning for unused variable
...
Problem: Compiler warning for unused variable.
Solution: Move variable inside #ifdef. (John Marriott)
2019-10-26 12:23:04 +02:00
Bram Moolenaar
1fd30d7bae
patch 8.1.2216: text property in wrong place after :substitute
...
Problem: Text property in wrong place after :substitute.
Solution: Pass the new column instead of the old one. (Christian Brabandt,
closes #4427 )
2019-10-25 22:13:29 +02:00
Bram Moolenaar
7aee6876eb
patch 8.1.2215: unreachable code in adjusting text prop columns
...
Problem: Unreachable code in adjusting text prop columns.
Solution: Remove the code. (Christian Brabandt)
2019-10-25 21:49:38 +02:00
Bram Moolenaar
11a58af66f
patch 8.1.2214: too much is redrawn when 'cursorline' is set
...
Problem: Too much is redrawn when 'cursorline' is set.
Solution: Don't do a complete redraw. (closes #5079 )
2019-10-24 22:32:31 +02:00
Bram Moolenaar
aa1f04d092
patch 8.1.2213: popup_textprop tests fail
...
Problem: Popup_textprop tests fail.
Solution: Adjust the column and line positioning.
2019-10-24 22:12:54 +02:00
Bram Moolenaar
3691f1ee72
patch 8.1.2212: cannot see the selection type in :reg output
...
Problem: Cannot see the selection type in :reg output. (Ayberk Aydın)
Solution: Add c/l/b. (Christian Brabandt, closes #5110 , closes #4546 )
2019-10-24 20:17:00 +02:00
Bram Moolenaar
336bf2b8b2
patch 8.1.2211: listener callback "added" argument is not the total
...
Problem: Listener callback "added" argument is not the total. (Andy
Massimino)
Solution: Compute the total. (closes #5105 )
2019-10-24 20:07:07 +02:00
Bram Moolenaar
b754b5bf6d
patch 8.1.2210: using negative offset for popup_create() does not work
...
Problem: Using negative offset for popup_create() does not work.
Solution: Use -1 instead of zero. (closes #5111 )
2019-10-24 19:25:00 +02:00
Bram Moolenaar
ec6f735012
patch 8.1.2209: LF in escape codes may be expanded to CR-LF
...
Problem: LF in escape codes may be expanded to CR-LF.
Solution: Do not expand LF in escape codes to CR-LF. (closes #5107 )
2019-10-24 17:49:27 +02:00
Bram Moolenaar
faf626e5d1
patch 8.1.2208: Unix: Tabs in output might be expanded to spaces
...
Problem: Unix: Tabs in output might be expanded to spaces.
Solution: Reset the XTABS flag. (closes #5108 )
2019-10-24 17:43:25 +02:00
Bram Moolenaar
edaad6e0a0
patch 8.1.2207: "gn" doesn't work quite right
...
Problem: "gn" doesn't work quite right. (Jaehwang Jerry Jung)
Solution: Improve and simplify the search logic. (Christian Brabandt,
closes #5103 , closes #5075 )
2019-10-24 15:23:37 +02:00
Bram Moolenaar
28686682e7
patch 8.1.2206: no test for fixed issue #3893
...
Problem: No test for fixed issue #3893 .
Solution: Add a test. (Christian Brabandt, #3893 )
2019-10-24 15:12:37 +02:00
Bram Moolenaar
6656c2ec4c
patch 8.1.2205: sign entry structure has confusing name
...
Problem: Sign entry structure has confusing name.
Solution: Rename signlist_T to sign_entry_T and prefix se_ to the fields.
2019-10-24 15:00:04 +02:00
Bram Moolenaar
8f7ab4bd1e
patch 8.1.2204: crash on exit when closing terminals
...
Problem: Crash on exit when closing terminals. (Corey Hickey)
Solution: Actually wait for the job to stop. (closes #5100 )
2019-10-23 23:16:45 +02:00
Bram Moolenaar
823edd1eed
patch 8.1.2203: running libvterm tests without the +terminal feature
...
Problem: Running libvterm tests without the +terminal feature.
Solution: Only add the libvterm test target when building libvterm.
2019-10-23 22:35:36 +02:00
Bram Moolenaar
93bbf33ceb
patch 8.1.2202: MS-Windows: build failure with GUI and small features
...
Problem: MS-Windows: build failure with GUI and small features.
Solution: Add #ifdef. (Michael Soyka, closes #5097 )
2019-10-23 21:43:16 +02:00
Bram Moolenaar
13a1f3fb0c
patch 8.1.2201: cannot build with dynamically linked Python 3.8
...
Problem: Cannot build with dynamically linked Python 3.8.
Solution: Implement py3__Py_DECREF() and py3__Py_XDECREF(). (Ken Takata,
closes #4080 )
2019-10-23 21:37:25 +02:00
Bram Moolenaar
1cac70953d
patch 8.1.2200: crash when memory allocation fails
...
Problem: Crash when memory allocation fails.
Solution: Check for NULL curwin and curbuf. (Christian Brabandt,
closes #4839 )
2019-10-22 21:54:31 +02:00
Bram Moolenaar
a720be78d7
patch 8.1.2199: build failure when using normal features without GUI
...
Problem: Build failure when using normal features without GUI and EXITFREE
defined.
Solution: Add #ifdef. (Dominique Pelle, closes #5106 )
2019-10-22 21:45:19 +02:00
Bram Moolenaar
396b7c78c0
patch 8.1.2198: crash when using :center in autocommand
...
Problem: Crash when using :center in autocommand.
Solution: Bail out early for an empty line. (Dominique pelle, closes #5095 )
2019-10-21 23:08:59 +02:00
Bram Moolenaar
34ba06b6e6
patch 8.1.2197: ExitPre autocommand may cause accessing freed memory
...
Problem: ExitPre autocommand may cause accessing freed memory.
Solution: Check the window pointer is still valid. (closes #5093 )
2019-10-20 22:27:10 +02:00
Bram Moolenaar
d53ebfc624
patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates
...
Problem: MS-Windows: running tests with MSVC lacks updates.
Solution: Improve running individual tests on MS-Windows. (closes #4922 )
2019-10-20 21:47:20 +02:00
Bram Moolenaar
4d14bac8e7
patch 8.1.2195: Vim does not exit when the terminal window is last window
...
Problem: Vim does not exit when closing a terminal window and it is the
last window.
Solution: Exit Vim if the closed terminal window is the last one.
(closes #4539 )
2019-10-20 21:15:15 +02:00
Bram Moolenaar
4b57018ee4
patch 8.1.2194: modifyOtherKeys is not enabled by default
...
Problem: ModifyOtherKeys is not enabled by default.
Solution: Add t_TI and t_TE to the builtin xterm termcap.
2019-10-20 19:53:22 +02:00
Bram Moolenaar
a13961536e
patch 8.1.2193: popup_setoptions(popup_getoptions()) does not work
...
Problem: Popup_setoptions(popup_getoptions()) does not work.
Solution: Also accept a list with three entries for "moved" and
"mousemoved". (closes #5081 )
2019-10-20 18:46:05 +02:00
Bram Moolenaar
dca7abe79c
patch 8.1.2192: cannot easily fill the info popup asynchronously
...
Problem: Cannot easily fill the info popup asynchronously.
Solution: Add the "popuphidden" value to 'completeopt'. (closes #4924 )
2019-10-20 18:17:57 +02:00
Bram Moolenaar
88d3d09e07
patch 8.1.2191: when using modifyOtherKeys CTRL-X mode may not work
...
Problem: When using modifyOtherKeys CTRL-X mode may not work.
Solution: Recognize a control character also in the form with a modifier.
2019-10-20 16:00:47 +02:00
Bram Moolenaar
83e9a1ce75
patch 8.1.2190: syntax test fails on Mac
...
Problem: Syntax test fails on Mac.
Solution: Limit the window size to 20 rows.
2019-10-20 14:51:23 +02:00
Bram Moolenaar
82260afb0e
patch 8.1.2189: syntax highlighting wrong for tab
...
Problem: Syntax highlighting wrong for tab.
Solution: Don't clear syntax attribute n_extra is non-zero.
2019-10-20 13:16:22 +02:00
Bram Moolenaar
2b78ab5d0c
patch 8.1.2188: build error for missing define
...
Problem: Build error for missing define.
Solution: Add missing change.
2019-10-19 22:50:20 +02:00
Bram Moolenaar
b40c2576d4
patch 8.1.2187: error for bad regexp even though regexp is not used
...
Problem: Error for bad regexp even though regexp is not used when writing
a file. (Arseny Nasokin)
Solution: Ignore regexp errors. (closes #5059 )
2019-10-19 21:01:05 +02:00
Bram Moolenaar
7eed964b41
patch 8.1.2186: error for bad regexp even though regexp is not used
...
Problem: Error for bad regexp even though regexp is not used, when writing
a file. (Arseny Nasokin)
Solution: Ignore regexp errors. (closes #5059 )
2019-10-19 20:57:28 +02:00
Bram Moolenaar
bbfd1562ae
patch 8.1.2185: syntax test fails
...
Problem: Syntax test fails.
Solution: Add missing file patch.
2019-10-19 20:38:15 +02:00
Bram Moolenaar
cfb381421f
patch 8.1.2184: option context is not copied when splitting a window
...
Problem: Option context is not copied when splitting a window. (Daniel
Hahler)
Solution: Copy the option context, so that ":verbose set" works.
(closes #5066 )
2019-10-19 20:18:47 +02:00
Bram Moolenaar
ba089307bb
patch 8.1.2183: running a test is a bit verbose
...
Problem: Running a test is a bit verbose.
Solution: Silence some messages. (Daniel Hahler, closes #5070 )
2019-10-19 18:56:58 +02:00
Bram Moolenaar
5b39d7adb0
patch 8.1.2182: test42 seen as binary by git diff
...
Problem: Test42 seen as binary by git diff.
Solution: Add .gitattributes file. Make explicit that 'cpo' does not
contain 'S'. (Daniel Hahler, closes #5072 )
2019-10-19 18:37:53 +02:00
Bram Moolenaar
a74fda6f4d
patch 8.1.2181: highlighting wrong when item follows tab
...
Problem: Highlighting wrong when item follows tab.
Solution: Don't use syntax attribute when n_extra is non-zero.
(Christian Brabandt, closes #5076 )
2019-10-19 17:38:03 +02:00
Bram Moolenaar
00e192becd
patch 8.1.2180: Error E303 is not useful when 'directory' is empty
...
Problem: Error E303 is not useful when 'directory' is empty.
Solution: Skip the error message. (Daniel Hahler, #5067 )
2019-10-19 17:01:28 +02:00
Bram Moolenaar
b98678a974
patch 8.1.2179: pressing "q" at the more prompt doesn't stop Python output
...
Problem: Pressing "q" at the more prompt doesn't stop Python output. (Daniel
Hahler)
Solution: Check for got_int in writer(). (closes #5053 )
Also do this for Lua.
2019-10-19 15:18:44 +02:00
Bram Moolenaar
15ee567809
patch 8.1.2178: accessing uninitialized memory in test
...
Problem: Accessing uninitialized memory in test.
Solution: Check if there was a match before using the match position.
(Dominique Pelle, closes #5088 )
2019-10-19 14:35:02 +02:00
Bram Moolenaar
afbdb905c3
patch 8.1.2177: Dart files are not recognized
...
Problem: Dart files are not recognized.
Solution: Add a filetype rule. (Eugene Ciurana, closes #5087 )
2019-10-19 14:10:21 +02:00
Bram Moolenaar
8459006af5
patch 8.1.2176: syntax attributes not combined with Visual highlighting
...
Problem: Syntax attributes not combined with Visual highlighting. (Arseny
Nasokin)
Solution: Combine the attributes. (closes #5083 )
2019-10-18 23:12:20 +02:00
Bram Moolenaar
c3bf7b56f2
patch 8.1.2175: meson files are not recognized
...
Problem: Meson files are not recognized.
Solution: Add the meson filetype. (Liam Beguin , Nirbheek Chauhan,
closes #5056 ) Also recognize hollywood.
2019-10-18 22:09:34 +02:00
Bram Moolenaar
89577b3b3e
patch 8.1.2174: screen not recognized as supporting "sgr" mouse codes
...
Problem: Screen not recognized as supporting "sgr" mouse codes.
Solution: Recognize screen 4.7. (Jordan Christiansen, closes #5042 )
2019-10-18 21:26:05 +02:00
Bram Moolenaar
92ea26b925
patch 8.1.2173: searchit() has too many arguments
...
Problem: Searchit() has too many arguments.
Solution: Move optional arguments to a struct. Add the "wrapped" argument.
2019-10-18 20:53:34 +02:00
Bram Moolenaar
7751d1d1a3
patch 8.1.2172: spell highlight is wrong at start of the line
...
Problem: Spell highlight is wrong at start of the line.
Solution: Fix setting the "v" variable. (closes #5078 )
2019-10-18 20:37:08 +02:00
Bram Moolenaar
a1cb1d1dce
patch 8.1.2171: mouse support not always available
...
Problem: Mouse support not always available.
Solution: Enable mouse support also in tiny version. Do not define
FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
2019-10-17 23:00:07 +02:00
Bram Moolenaar
0d2c4bf171
patch 8.1.2170: cannot build without the +termresponse feature
...
Problem: Cannot build without the +termresponse feature.
Solution: Add #ifdef.
2019-10-17 22:17:02 +02:00
Bram Moolenaar
3cea8a9a51
patch 8.1.2169: terminal flags are never reset
...
Problem: Terminal flags are never reset.
Solution: Reset the flags when setting 'term'.
2019-10-17 21:55:24 +02:00
Bram Moolenaar
b1ba9abcb3
patch 8.1.2168: heredoc assignment not skipped in if block
...
Problem: Heredoc assignment not skipped in if block.
Solution: Check if "skip" is set. (closes #5063 )
2019-10-16 23:34:42 +02:00
Bram Moolenaar
2559a47823
patch 8.1.2167: mapping test fails on MS-Windows
...
Problem: Mapping test fails on MS-Windows.
Solution: Remove all the existing Insert-mode mappings.
2019-10-16 23:33:12 +02:00
Bram Moolenaar
4a4981b7cd
patch 8.1.2166: rubyeval() not tested as a method
...
Problem: Rubyeval() not tested as a method.
Solution: Change a test case.
2019-10-16 22:36:11 +02:00
Bram Moolenaar
2e693a88b2
Update runtime files.
2019-10-16 22:35:02 +02:00
Bram Moolenaar
4f2f61a014
patch 8.1.2165: mapping test fails on Mac
...
Problem: Mapping test fails on Mac.
Solution: Remove the default Mac mapping.
2019-10-16 22:27:49 +02:00
Bram Moolenaar
7b3d939667
patch 8.1.2164: stuck when using "j" in a popupwin with popup_filter_menu
...
Problem: Stuck when using "j" in a popupwin with popup_filter_menu if a
line wraps.
Solution: Check the cursor line is visible. (closes #4577 )
2019-10-16 22:17:07 +02:00
Bram Moolenaar
b2fe1d676f
patch 8.1.2163: cannot build with +spell but without +syntax
...
Problem: Cannot build with +spell but without +syntax.
Solution: Add #ifdef. (John Marriott)
2019-10-16 21:33:40 +02:00
Bram Moolenaar
4e03933726
patch 8.1.2162: popup resize test is flaky
...
Problem: Popup resize test is flaky. (Christian Brabandt)
Solution: Add the function to the list of flaky tests.
2019-10-16 21:13:35 +02:00
Bram Moolenaar
4bd88d568a
patch 8.1.2161: mapping test fails
...
Problem: Mapping test fails.
Solution: Run the test separately.
2019-10-16 19:27:26 +02:00
Bram Moolenaar
a6cc5beb17
patch 8.1.2160: cannot build with +syntax but without +terminal
...
Problem: Cannot build with +syntax but without +terminal.
Solution: Add #ifdef.
2019-10-16 18:42:26 +02:00
Bram Moolenaar
fafb4b18cd
patch 8.1.2159: some mappings are listed twice
...
Problem: Some mappings are listed twice.
Solution: Skip mappings duplicated for modifyOtherKeys. (closes #5064 )
2019-10-16 18:34:57 +02:00
Bram Moolenaar
17efc7fa05
patch 8.1.2158: terminal attributes missing in Terminal-normal mode
...
Problem: Terminal attributes missing in Terminal-normal mode.
Solution: Use "syntax_attr".
2019-10-16 18:11:31 +02:00
Bram Moolenaar
8f7b29f033
patch 8.1.2157: libvterm source files missing from distribution
...
Problem: Libvterm source files missing from distribution.
Solution: Rename source files. (closes #5065 )
2019-10-16 17:15:18 +02:00
Bram Moolenaar
9115c611db
patch 8.1.2156: first character after Tab is not highlighted
...
Problem: First character after Tab is not highlighted.
Solution: Remember the syntax attribute for a column.
2019-10-16 16:57:06 +02:00
Bram Moolenaar
a3817730c0
patch 8.1.2155: in a terminal window 'cursorlineopt' does not work properly
...
Problem: In a terminal window 'cursorlineopt' does not work properly.
Solution: Check the 'cursorlineopt' value. (closes #5055 )
2019-10-16 16:31:44 +02:00
Bram Moolenaar
1142a31b8c
patch 8.1.2154: quickfix window height wrong when there is a tabline
...
Problem: Quickfix window height wrong when there is a tabline. (Daniel
Hahler)
Solution: Take the tabline height into account. (closes #5058 )
2019-10-16 14:51:39 +02:00
Bram Moolenaar
3439028c89
patch 8.1.2153: combining text property and syntax highlight is wrong
...
Problem: Combining text property and syntax highlight is wrong. (Nick
Jensen)
Solution: Compute the syntax highlight attribute much earlier.
(closes #5057 )
2019-10-16 14:38:26 +02:00
Bram Moolenaar
27fc8cab22
patch 8.1.2152: problems navigating tags file on MacOS Catalina
...
Problem: Problems navigating tags file on MacOS Catalina.
Solution: Use fseek instead of lseek. (John Lamb, fixes #5061 )
2019-10-15 22:23:37 +02:00
Bram Moolenaar
3c8cd4a1dc
patch 8.1.2151: state test is a bit flaky
...
Problem: State test is a bit flaky.
Solution: Add to the list of flaky tests.
2019-10-14 22:26:20 +02:00
Bram Moolenaar
03b00476ee
patch 8.1.2150: no test for 'ttymouse' set from xterm version response
...
Problem: No test for 'ttymouse' set from xterm version response.
Solution: Test the three possible values.
2019-10-14 22:22:03 +02:00
Bram Moolenaar
e3a22cb1ba
patch 8.1.2149: crash when running out of memory very early
...
Problem: Crash when running out of memory very early.
Solution: Do not use IObuff when it's NULL. (closes #5052 )
2019-10-14 22:01:57 +02:00
Bram Moolenaar
6aa7523b96
patch 8.1.2148: no test for right click extending Visual area
...
Problem: No test for right click extending Visual area.
Solution: Add a test. (Dominique Pelle, closes #5018 )
2019-10-13 21:01:34 +02:00
Bram Moolenaar
53efb18530
patch 8.1.2147: crash when allocating memory fails
...
Problem: Crash when allocating memory fails. (Zu-Ming Jiang)
Solution: Check that 'spellcapcheck' is not NULL. (closes #5048 )
2019-10-13 19:49:26 +02:00
Bram Moolenaar
1e7b52ad8a
patch 8.1.2146: build failure
...
Problem: Build failure.
Solution: Include omitted changed file.
2019-10-13 16:59:08 +02:00
Bram Moolenaar
459fd785e4
patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabled
...
Problem: Cannot map <C-H> when modifyOtherKeys is enabled.
Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use
only the first one when modifyOtherKeys has been detected.
2019-10-13 16:43:39 +02:00
Bram Moolenaar
171a921b51
patch 8.1.2144: side effects when using t_ti to enable modifyOtherKeys
...
Problem: Side effects when using t_ti to enable modifyOtherKeys.
Solution: Add t_TI and t_TE.
2019-10-12 21:08:59 +02:00
Bram Moolenaar
4facea310c
patch 8.1.2143: cannot see each command even when 'verbose' is set
...
Problem: Cannot see each command even when 'verbose' is set.
Solution: List each command when 'verbose' is at least 16.
2019-10-12 20:17:40 +02:00
Bram Moolenaar
d1e2f3984a
patch 8.1.2142: some key mappings do not work with modifyOtherKeys
...
Problem: Some key mappings do not work with modifyOtherKeys.
Solution: Remove the Shift modifier if it is already included in the key.
2019-10-12 18:22:50 +02:00
Bram Moolenaar
e8070987c6
patch 8.1.2141: :tselect has an extra hit-enter prompt
...
Problem: :tselect has an extra hit-enter prompt.
Solution: Do not set need_wait_return when only moving the cursor.
(closes #5040 )
2019-10-12 17:07:06 +02:00
Bram Moolenaar
ceba3dd518
patch 8.1.2140: "gk" and "gj" do not work correctly in number column
...
Problem: "gk" and "gj" do not work correctly in number column.
Solution: Allow for a negative "curswant". (Zach Wegner, closes #4969 )
2019-10-12 16:12:54 +02:00
Bram Moolenaar
18a79a6841
patch 8.1.2139: the modifyOtherKeys codes are not tested
...
Problem: The modifyOtherKeys codes are not tested.
Solution: Add a test case.
2019-10-12 15:36:11 +02:00
Bram Moolenaar
4cdbed33e4
patch 8.1.2138: including the build number in the Win32 binary is confusing
...
Problem: Including the build number in the Win32 binary is confusing.
Solution: Only use the patchlevel.
2019-10-12 15:02:47 +02:00
Bram Moolenaar
1a4cbb19de
patch 8.1.2137: parsing the termresponse is not tested
...
Problem: Parsing the termresponse is not tested.
Solution: Add a first test. (related to #5042 )
2019-10-12 13:25:44 +02:00
Bram Moolenaar
ec66c41d84
patch 8.1.2136: using freed memory with autocmd from fuzzer
...
Problem: using freed memory with autocmd from fuzzer. (Dhiraj Mishra,
Dominique Pelle)
Solution: Avoid using "wp" after autocommands. (closes #5041 )
2019-10-11 21:19:13 +02:00
Bram Moolenaar
00eab7f128
patch 8.1.2135: with modifyOtherKeys Alt-a does not work properly
...
Problem: With modifyOtherKeys Alt-a does not work properly.
Solution: Remove the ALT modifier. Get multi-byte after applying ALT.
2019-10-10 21:49:28 +02:00
Bram Moolenaar
6a0299d8f4
patch 8.1.2134: modifier keys are not always recognized
...
Problem: Modifier keys are not always recognized.
Solution: Handle key codes generated by xterm with modifyOtherKeys set.
Add this to libvterm so we can debug it.
2019-10-10 21:14:03 +02:00
Bram Moolenaar
07282f01da
patch 8.1.2133: some tests fail when run as root
...
Problem: Some tests fail when run as root.
Solution: Add CheckNotRoot and use it. (James McCoy, closes #5020 )
2019-10-10 16:46:17 +02:00
Bram Moolenaar
a129974bc7
patch 8.1.2132: MS-Windows: screen mess when not recognizing insider build
...
Problem: MS-Windows: screen mess when not recognizing insider build.
Solution: Always move the cursor to the first column first. (Nobuhiro
Takasaki, closes #5036 )
2019-10-10 16:36:00 +02:00
Bram Moolenaar
c25e702dee
patch 8.1.2131: MSVC tests fail
...
Problem: MSVC tests fail.
Solution: Replace backslashes with slashes.
2019-10-10 14:08:26 +02:00
Bram Moolenaar
073e779640
patch 8.1.2130: MSVC build fails
...
Problem: MSVC build fails.
Solution: Add the source file name explicitly.
2019-10-10 13:39:08 +02:00
Bram Moolenaar
1ac41a5c13
patch 8.1.2129: using hard coded executable path in test
...
Problem: Using hard coded executable path in test.
Solution: Use v:progpath. Use $VIMRUNTIME instead of "runtime". (James
McCoy, closes #5025 )
2019-10-10 13:30:12 +02:00
Bram Moolenaar
9326805442
patch 8.1.2128: renamed libvterm sources makes merging difficult
...
Problem: Renamed libvterm sources makes merging difficult.
Solution: Rename back to the original name and only rename the .o files.
Also clean the libvterm build artifacts. (James McCoy,
closes #5027 )
2019-10-10 13:22:54 +02:00
Bram Moolenaar
14c01f8348
patch 8.1.2127: the indent.c file is a bit big
...
Problem: The indent.c file is a bit big.
Solution: Move C-indent code a a new cindent.c file. Move other
indent-related code to indent.c. (Yegappan Lakshmanan,
closes #5031 )
2019-10-09 22:53:08 +02:00
Bram Moolenaar
6bd1d77067
patch 8.1.2126: viminfo not sufficiently tested
...
Problem: Viminfo not sufficiently tested.
Solution: Add more test cases. Clean up comments. (Yegappan Lakshmanan,
closes #5032 )
2019-10-09 22:01:25 +02:00
Bram Moolenaar
b189295b72
patch 8.1.2125: fnamemodify() fails when repeating :e
...
Problem: Fnamemodify() fails when repeating :e.
Solution: Do not go before the tail. (Rob Pilling, closes #5024 )
2019-10-08 23:26:50 +02:00
Bram Moolenaar
345f28df54
patch 8.1.2124: ruler is not updated if win_execute() moves cursor
...
Problem: Ruler is not updated if win_execute() moves cursor.
Solution: Update the status line. (closes #5022 )
2019-10-08 22:20:35 +02:00
Bram Moolenaar
c3e555b22f
patch 8.1.2123: parsing CSI sequence is messy
...
Problem: Parsing CSI sequence is messy.
Solution: Generalize parsing a CSI sequence.
2019-10-08 20:15:39 +02:00
Bram Moolenaar
fbbd102be0
patch 8.1.2122: cannot build without terminal feature
...
Problem: Cannot build without terminal feature.
Solution: Add #ifdef.
2019-10-07 22:38:58 +02:00
Bram Moolenaar
a27e1dcddc
patch 8.1.2121: mode is not updated when switching to terminal
...
Problem: Mode is not updated when switching to terminal in Insert mode.
Solution: Redraw the mode when entering a terminal window. (Jason Franklin)
2019-10-07 22:27:36 +02:00
Bram Moolenaar
1614a14901
patch 8.1.2120: some MB_ macros are more complicated than necessary
...
Problem: Some MB_ macros are more complicated than necessary. (Dominique
Pelle)
Solution: Simplify the macros. Expand inline.
2019-10-06 22:00:13 +02:00
Bram Moolenaar
524f3b19ae
patch 8.1.2119: memory access error for empty string
...
Problem: memory access error for empty string when 'encoding' is a single
byte encoding.
Solution: Check for empty string when getting the length. (Dominique Pelle,
closes #5021 , closes #5007 )
2019-10-06 20:08:38 +02:00
Bram Moolenaar
eb66328bd7
patch 8.1.2118: termcodes test fails when $TERM is "dumb"
...
Problem: Termcodes test fails when $TERM is "dumb".
Solution: Skip the test. (James McCoy, closes #5019 )
2019-10-06 12:02:15 +02:00
Bram Moolenaar
49474ca122
patch 8.1.2117: CursorLine highlight used while 'cursorline' is off
...
Problem: CursorLine highlight used while 'cursorline' is off.
Solution: Check 'cursorline' is set. (cloes #5017 )
2019-10-05 21:57:12 +02:00
Bram Moolenaar
1671de3098
patch 8.1.2116: no check for out of memory
...
Problem: No check for out of memory.
Solution: Check for NULL pointer.
2019-10-05 21:35:16 +02:00
Bram Moolenaar
2efc44b3f0
patch 8.1.2115: MS-Windows: shell commands fail if &shell contains a space
...
Problem: MS-Windows: shell commands fail if &shell contains a space.
Solution: Use quotes instead of escaping. (closes #4920 )
2019-10-05 12:09:32 +02:00
Bram Moolenaar
fd00c042af
patch 8.1.2114: when a popup is closed with CTRL-C the callback aborts
...
Problem: When a popup is closed with CTRL-C the callback aborts.
Solution: Reset got_int when invoking the callback. (closes #5008 )
2019-10-05 11:56:54 +02:00
Bram Moolenaar
9ca250855b
patch 8.1.2113: ":help expr-!~?" only works after searching
...
Problem: ":help expr-!~?" only works after searching.
Solution: Escape "~" after "expr-". (closes #5015 )
2019-10-05 11:30:09 +02:00
Bram Moolenaar
4c063dde73
patch 8.1.2112: build number for ConPTY is outdated
...
Problem: Build number for ConPTY is outdated.
Solution: Update to new build number. (Nobuhiro Takasaki, closes #5014 )
2019-10-04 21:29:12 +02:00
Bram Moolenaar
2a8d3b8997
patch 8.1.2111: viminfo file not sufficiently tested
...
Problem: Viminfo file not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5009 )
2019-10-04 21:20:25 +02:00
Bram Moolenaar
e8a7dfedfc
patch 8.1.2110: CTRL-C closes two popups instead of one
...
Problem: CTRL-C closes two popups instead of one.
Solution: Reset got_int when the filter consumed the key.
2019-10-03 22:35:52 +02:00
Bram Moolenaar
1824f45883
patch 8.1.2109: popup_getoptions() hangs with tab-local popup
...
Problem: popup_getoptions() hangs with tab-local popup.
Solution: Correct pointer name. (Marko Mahnič, closes #5006 )
2019-10-02 23:06:46 +02:00
Bram Moolenaar
23324a0b35
patch 8.1.2108: cannot close the cmdline window from CmdWinEnter
...
Problem: Cannot close the cmdline window from CmdWinEnter. (George Brown)
Solution: Reset cmdwin_result earlier. (Christian Brabandt, closes #4980 )
2019-10-01 17:39:04 +02:00
Bram Moolenaar
8617348e21
patch 8.1.2107: various memory leaks reported by asan
...
Problem: Various memory leaks reported by asan.
Solution: Free the memory. (Ozaki Kiichi, closes #5003 )
2019-10-01 17:02:16 +02:00
Bram Moolenaar
b4367b7fb6
patch 8.1.2106: no tests for dragging the mouse beyond the window
...
Problem: No tests for dragging the mouse beyond the window.
Solution: Add a test. (Dominique Pelle, closes #5004 )
2019-10-01 14:19:07 +02:00
Bram Moolenaar
2886dcceba
patch 8.1.2105: MS-Windows: system() may crash
...
Problem: MS-Windows: system() may crash.
Solution: Do not use "itmp" when it is NULL. (Yasuhiro Matsumoto,
closes #5005 )
2019-10-01 12:10:25 +02:00
Bram Moolenaar
792cf5e1be
patch 8.1.2104: the normal.c file is too big
...
Problem: The normal.c file is too big.
Solution: Move do_pending_operator() to ops.c. (Yegappan Lakshmanan,
closes #4999 ).
2019-09-30 23:12:16 +02:00
Bram Moolenaar
18223a592e
patch 8.1.2103: wrong error message if "termdebugger" is not executable
...
Problem: wrong error message if "termdebugger" is not executable.
Solution: Check if "termdebugger" is executable and give a clear error
message. (Ozaki Kiichi, closes #5000 ) Fix indents.
2019-09-30 20:47:54 +02:00
Bram Moolenaar
d17a57a433
patch 8.1.2102: can't build with GTK and FEAT_GUI_GNOME
...
Problem: Can't build with GTK and FEAT_GUI_GNOME. (Tony Mechelynck)
Solution: Adjust the #ifdef. (Yegappan Lakshmanan)
2019-09-29 20:53:55 +02:00
Bram Moolenaar
ac02a638b4
patch 8.1.2101: write_session_file() often defined but not used
...
Problem: write_session_file() often defined but not used.
Solution: Adjust the #ifdef. (Yegappan Lakshmanan, closes #4998 )
2019-09-29 19:02:46 +02:00
Bram Moolenaar
ee1a2b5a2a
patch 8.1.2100: :mksession is not sufficiently tested
...
Problem: :mksession is not sufficiently tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #4993 )
2019-09-29 14:23:39 +02:00
Bram Moolenaar
b7a97ef340
patch 8.1.2099: state() test fails on some Mac systems
...
Problem: state() test fails on some Mac systems.
Solution: Increase the wait time. (closes #4983 )
2019-09-28 22:11:56 +02:00
Bram Moolenaar
37ac4a531c
patch 8.1.2098: mksession test fails on MS-Windows
...
Problem: mksession test fails on MS-Windows.
Solution: Skip testing with backslashes on MS-Windows.
2019-09-28 19:29:04 +02:00
Bram Moolenaar
66f0e6c6e2
patch 8.1.2097: :mksession is not sufficiently tested
...
Problem: :mksession is not sufficiently tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #4992 )
2019-09-28 19:08:45 +02:00
Bram Moolenaar
8c96af9c05
patch 8.1.2096: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_COMMENTS.
2019-09-28 19:05:57 +02:00
Bram Moolenaar
a893194d91
patch 8.1.2095: leaking memory when getting item from dict
...
Problem: Leaking memory when getting item from dict.
Solution: Also free the key when not evaluating.
2019-09-28 17:25:10 +02:00
Bram Moolenaar
473952e852
patch 8.1.2094: the fileio.c file is too big
...
Problem: The fileio.c file is too big.
Solution: Move buf_write() to bufwrite.c. (Yegappan Lakshmanan,
closes #4990 )
2019-09-28 16:30:04 +02:00
Bram Moolenaar
9be0e0b9d3
patch 8.1.2093: MS-Windows: system() test fails
...
Problem: MS-Windows: system() test fails.
Solution: Expect CR when using systemlist().
2019-09-28 16:25:00 +02:00
Bram Moolenaar
1a61339806
patch 8.1.2092: MS-Windows: redirect in system() does not work
...
Problem: MS-Windows: redirect in system() does not work.
Solution: Handle 'shellxescape' and 'shellxquote' better. (Yasuhiro
Matsumoto, closes #2054 )
2019-09-28 15:51:37 +02:00
Bram Moolenaar
0f1c6708fd
patch 8.1.2091: double free when memory allocation fails
...
Problem: Double free when memory allocation fails. (Zu-Ming Jiang)
Solution: Use VIM_CLEAR() instead of vim_free(). (closes #4991 )
2019-09-28 15:24:00 +02:00
Bram Moolenaar
2e47cab715
patch 8.1.2090: not clear why channel log file ends
...
Problem: Not clear why channel log file ends.
Solution: Add a "closing" line.
2019-09-27 23:12:45 +02:00
Bram Moolenaar
7b666c7883
patch 8.1.2089: do not get a hint that $TEST_FILTER was active
...
Problem: Do not get a hint that $TEST_FILTER was active.
Solution: Mention $TEST_FILTER if no functions were executed.
2019-09-27 21:25:00 +02:00
Bram Moolenaar
383f387d9d
patch 8.1.2088: renamed libvterm mouse.c file not in distributed file list
...
Problem: Renamed libvterm mouse.c file not in distributed file list.
Solution: Rename the file in the file list.
2019-09-27 19:35:48 +02:00
Bram Moolenaar
5be4ceecea
Update runtime files.
2019-09-27 19:34:08 +02:00
Bram Moolenaar
a7f6c3cf07
patch 8.1.2087: cannot easily select one test function to execute
...
Problem: Cannot easily select one test function to execute.
Solution: Support the $TEST_FILTER environment variable. (Ozaki Kiichi,
closes #2695 )
2019-09-27 15:34:16 +02:00
Bram Moolenaar
38f1eeac3d
patch 8.1.2086: missing a few changes for the renamed files
...
Problem: Missing a few changes for the renamed files.
Solution: Rename in a few more places. (Ken Takata)
2019-09-27 14:19:09 +02:00
Bram Moolenaar
2313b61257
patch 8.1.2085: MS-Windows: draw error moving cursor over double-cell char
...
Problem: MS-Windows: draw error moving cursor over double-cell character.
Solution: Move the cursor to the left edge if needed. (Nobuhiro Takasaki,
closes #4986 )
2019-09-27 14:14:32 +02:00
Bram Moolenaar
5e8e967f25
patch 8.1.2084: Amiga: cannot get the user name
...
Problem: Amiga: cannot get the user name.
Solution: Use getpwuid() if available. (Ola Söder, closes #4985 )
2019-09-27 13:38:56 +02:00
Bram Moolenaar
ce0fac2897
patch 8.1.2083: multi-byte chars do not work properly with "%.*S" in printf()
...
Problem: Multi-byte chars do not work properly with "%.*S" in printf().
Solution: Use mb_ptr2cells(). Daniel Hahler, closes #4989 )
2019-09-27 13:32:06 +02:00
Bram Moolenaar
30e8e73506
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
...
Problem: Some files have a weird name to fit in 8.3 characters.
Solution: Use a nicer names.
2019-09-27 13:08:36 +02:00
Bram Moolenaar
46a426c9ac
patch 8.1.2081: the spell.c file is too big
...
Problem: The spell.c file is too big.
Solution: Move the code for spell suggestions to a separate file. (Yegappan
Lakshmanan, closes #4988 )
2019-09-27 12:41:56 +02:00
Bram Moolenaar
d2842ea60b
patch 8.1.2080: the terminal API is limited and can't be disabled
...
Problem: The terminal API is limited and can't be disabled.
Solution: Add term_setapi() to set the function prefix. (Ozaki Kiichi,
closes #2907 )
2019-09-26 23:08:54 +02:00
Bram Moolenaar
d2c1fb476d
patch 8.1.2079: popup window test fails without +terminal
...
Problem: Popup window test fails without +terminal.
Solution: Check for the +terminal feature.
2019-09-25 23:06:40 +02:00
Bram Moolenaar
f21118e4a9
patch 8.1.2078: build error with +textprop but without +terminal
...
Problem: Build error with +textprop but without +terminal. (Tony Mechelynck)
Solution: Add #ifdef.
2019-09-25 22:45:45 +02:00
Bram Moolenaar
4aea03eb87
patch 8.1.2077: the ops.c file is too big
...
Problem: The ops.c file is too big.
Solution: Move code for dealing with registers to a new file. (Yegappan
Lakshmanan, closes #4982 )
2019-09-25 22:37:17 +02:00
Bram Moolenaar
e0d749a496
patch 8.1.2076: crash when trying to put a terminal in a popup window
...
Problem: Crash when trying to put a terminal buffer in a popup window.
Solution: Check for NULL buffer. Do not allow putting a terminal in a popup
window.
2019-09-25 22:14:48 +02:00
Bram Moolenaar
101e99207f
patch 8.1.2075: get many log messages when waiting for a typed character
...
Problem: Get many log messages when waiting for a typed character.
Solution: Do not repeat the repeated messages when nothing happens.
2019-09-25 21:43:11 +02:00
Bram Moolenaar
0d0c3ca007
patch 8.1.2074: test for SafeState autocommand is a bit flaky
...
Problem: Test for SafeState autocommand is a bit flaky.
Solution: Add to list of flaky tests.
2019-09-25 21:16:15 +02:00
Bram Moolenaar
010ee9657a
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
...
Problem: When editing a buffer 'colorcolumn' may not work.
Solution: Set the buffer before copying option values. Call
check_colorcolumn() after copying window options.
2019-09-25 20:37:36 +02:00
Bram Moolenaar
03ac52fc02
patch 8.1.2072: "gk" moves to start of line instead of upwards
...
Problem: "gk" moves to start of line instead of upwards.
Solution: Fix off-by-one error. (Christian Brabandt, closes #4969 )
2019-09-24 22:47:46 +02:00
Bram Moolenaar
053f712ef2
patch 8.1.2071: when 'wincolor' is set text property changes highlighting
...
Problem: When 'wincolor' is set text property changes highlighting. (Andy
Stewart)
Solution: Fix combining colors. (closes #4968 )
2019-09-23 22:17:15 +02:00
Bram Moolenaar
b8ff5c271e
patch 8.1.2070: mouse code is spread out
...
Problem: Mouse code is spread out.
Solution: Move mouse terminal code parsing to mouse.c. (Yegappan Lakshmanan,
closes #4966 )
2019-09-23 21:16:54 +02:00
Bram Moolenaar
0f6629a08a
patch 8.1.2069: test for SafeStateAgain may still fail
...
Problem: Test for SafeStateAgain may still fail.
Solution: Send another message to trigger SafeStateAgain.
2019-09-22 23:24:13 +02:00
Bram Moolenaar
513537bfff
patch 8.1.2068: test for SafeState and SafeStateAgain may fail
...
Problem: Test for SafeState and SafeStateAgain may fail.
Solution: Accept more possible responses
2019-09-22 23:03:58 +02:00
Bram Moolenaar
cadbe1b1fb
patch 8.1.2067: no tests for SafeState and SafeStateAgain
...
Problem: No tests for SafeState and SafeStateAgain.
Solution: Add tests.
2019-09-22 21:50:09 +02:00
Bram Moolenaar
c258549032
patch 8.1.2066: no tests for state()
...
Problem: No tests for state().
Solution: Add tests. Clean up some feature checks. Make "a" flag work.
2019-09-22 21:29:53 +02:00
Bram Moolenaar
910c378d93
patch 8.1.2065: compiler warning building non-GUI with MinGW.
...
Problem: Compiler warning building non-GUI with MinGW.
Solution: Adjust #ifdefs. (Yegappan Lakshmanan, closes #4964 )
2019-09-22 14:11:50 +02:00
Bram Moolenaar
bd67aac279
patch 8.1.2064: MS-Windows: compiler warnings for unused arguments
...
Problem: MS-Windows: compiler warnings for unused arguments.
Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963 )
2019-09-21 23:09:04 +02:00