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
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
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