]> granicus.if.org Git - vim/log
vim
5 years agopatch 8.2.0177: memory leak in get_tags() v8.2.0177
Bram Moolenaar [Wed, 29 Jan 2020 21:38:45 +0000 (22:38 +0100)]
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)

5 years agopatch 8.2.0176: generating os headers does not work for Swedish v8.2.0176
Bram Moolenaar [Wed, 29 Jan 2020 21:29:40 +0000 (22:29 +0100)]
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)

5 years agopatch 8.2.0175: crash when removing list element in map() v8.2.0175
Bram Moolenaar [Wed, 29 Jan 2020 21:17:16 +0000 (22:17 +0100)]
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)

5 years agopatch 8.2.0174: various commands not completely tested v8.2.0174
Bram Moolenaar [Wed, 29 Jan 2020 20:57:34 +0000 (21:57 +0100)]
patch 8.2.0174: various commands not completely tested

Problem:    Various commands not completely tested.
Solution:   Add more test cases. (Yegappan Lakshmanan, closes #5551)

5 years agopatch 8.2.0173: build fails with old compiler v8.2.0173
Bram Moolenaar [Wed, 29 Jan 2020 20:27:21 +0000 (21:27 +0100)]
patch 8.2.0173: build fails with old compiler

Problem:    Build fails with old compiler.
Solution:   Do not use anonymous unions. (John Marriott)

5 years agopatch 8.2.0172: Coverity warning for not restoring character v8.2.0172
Bram Moolenaar [Tue, 28 Jan 2020 22:13:42 +0000 (23:13 +0100)]
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.

5 years agopatch 8.2.0171: Coverity warning for using uninitialized buffer v8.2.0171
Bram Moolenaar [Tue, 28 Jan 2020 22:09:23 +0000 (23:09 +0100)]
patch 8.2.0171: Coverity warning for using uninitialized buffer

Problem:    Coverity warning for using uninitialized buffer.
Solution:   Check the skip flag.

5 years agopatch 8.2.0170: Coverity warning for ignoring return value v8.2.0170
Bram Moolenaar [Tue, 28 Jan 2020 22:04:06 +0000 (23:04 +0100)]
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.

5 years agopatch 8.2.0169: Coverity warning for dead code v8.2.0169
Bram Moolenaar [Tue, 28 Jan 2020 21:59:45 +0000 (22:59 +0100)]
patch 8.2.0169: Coverity warning for dead code

Problem:    Coverity warning for dead code.
Solution:   Check if inside try-finally.

5 years agopatch 8.2.0168: Coverity warning for assigning NULL to an option v8.2.0168
Bram Moolenaar [Tue, 28 Jan 2020 21:52:48 +0000 (22:52 +0100)]
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.

5 years agopatch 8.2.0167: Coverity warning for ignoring return value v8.2.0167
Bram Moolenaar [Tue, 28 Jan 2020 21:46:22 +0000 (22:46 +0100)]
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.

5 years agopatch 8.2.0166: Coverity warning for using uninitialized variable v8.2.0166
Bram Moolenaar [Tue, 28 Jan 2020 21:39:19 +0000 (22:39 +0100)]
patch 8.2.0166: Coverity warning for using uninitialized variable

Problem:    Coverity warning for using uninitialized variable.
Solution:   Check for failure.

5 years agopatch 8.2.0165: Coverity warning for using NULL pointer v8.2.0165
Bram Moolenaar [Tue, 28 Jan 2020 21:30:32 +0000 (22:30 +0100)]
patch 8.2.0165: Coverity warning for using NULL pointer

Problem:    Coverity warning for using NULL pointer.
Solution:   Add missing "else".

5 years agopatch 8.2.0164: test_alot takes too long v8.2.0164
Bram Moolenaar [Tue, 28 Jan 2020 20:53:28 +0000 (21:53 +0100)]
patch 8.2.0164: test_alot takes too long

Problem:    Test_alot takes too long.
Solution:   Run several tests individually.

5 years agopatch 8.2.0163: test hangs on MS-Windows console v8.2.0163
Bram Moolenaar [Tue, 28 Jan 2020 19:49:11 +0000 (20:49 +0100)]
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)

5 years agopatch 8.2.0162: balloon test fails in the GUI v8.2.0162
Bram Moolenaar [Mon, 27 Jan 2020 22:01:30 +0000 (23:01 +0100)]
patch 8.2.0162: balloon test fails in the GUI

Problem:    Balloon test fails in the GUI.
Solution:   Skip test in the GUI.

5 years agopatch 8.2.0161: not recognizing .gv file as dot filetype v8.2.0161
Bram Moolenaar [Mon, 27 Jan 2020 21:47:09 +0000 (22:47 +0100)]
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)

5 years agopatch 8.2.0160: range test fails v8.2.0160
Bram Moolenaar [Mon, 27 Jan 2020 21:37:23 +0000 (22:37 +0100)]
patch 8.2.0160: range test fails

Problem:    Range test fails.
Solution:   Include change in list code. (#5541)

5 years agopatch 8.2.0159: non-materialized range() list causes problems v8.2.0159
Bram Moolenaar [Mon, 27 Jan 2020 21:09:39 +0000 (22:09 +0100)]
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.

5 years agopatch 8.2.0158: triggering CompleteDone earlier is not backwards compatible v8.2.0158
Bram Moolenaar [Sun, 26 Jan 2020 21:43:31 +0000 (22:43 +0100)]
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.

5 years agopatch 8.2.0157: Vim9 script files not in list of distributed files v8.2.0157
Bram Moolenaar [Sun, 26 Jan 2020 21:05:06 +0000 (22:05 +0100)]
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.

5 years agopatch 8.2.0156: various typos in source files and tests v8.2.0156
Bram Moolenaar [Sun, 26 Jan 2020 21:00:26 +0000 (22:00 +0100)]
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)

5 years agopatch 8.2.0155: warnings from MinGW compiler; tests fail without +float v8.2.0155
Bram Moolenaar [Sun, 26 Jan 2020 20:42:03 +0000 (21:42 +0100)]
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.

5 years agopatch 8.2.0154: reallocating the list of scripts is inefficient v8.2.0154
Bram Moolenaar [Sun, 26 Jan 2020 18:26:46 +0000 (19:26 +0100)]
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.

5 years agopatch 8.2.0153: warning shows when listing version info v8.2.0153
Bram Moolenaar [Sun, 26 Jan 2020 17:56:34 +0000 (18:56 +0100)]
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)

5 years agopatch 8.2.0152: restoring ctrl_x_mode is not needed v8.2.0152
Bram Moolenaar [Sun, 26 Jan 2020 17:35:31 +0000 (18:35 +0100)]
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.

5 years agopatch 8.2.0151: detecting a script was already sourced is unreliable v8.2.0151
Bram Moolenaar [Sun, 26 Jan 2020 16:38:12 +0000 (17:38 +0100)]
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.

5 years agopatch 8.2.0150: cannot define python function when using :execute v8.2.0150
Bram Moolenaar [Sun, 26 Jan 2020 15:50:05 +0000 (16:50 +0100)]
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.

5 years agopatch 8.2.0149: maintaining a Vim9 branch separately is more work v8.2.0149
Bram Moolenaar [Sun, 26 Jan 2020 14:56:19 +0000 (15:56 +0100)]
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.

5 years agoUpdate runtime files.
Bram Moolenaar [Sat, 25 Jan 2020 12:27:42 +0000 (13:27 +0100)]
Update runtime files.

5 years agopatch 8.2.0148: mapping related function in wrong source file v8.2.0148
Bram Moolenaar [Fri, 24 Jan 2020 19:21:19 +0000 (20:21 +0100)]
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)

5 years agopatch 8.2.0147: block Visual mode operators not correct when 'linebreak' set v8.2.0147
Bram Moolenaar [Thu, 23 Jan 2020 19:58:09 +0000 (20:58 +0100)]
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)

5 years agopatch 8.2.0146: wrong indent when 'showbreak' and 'breakindent' are set v8.2.0146
Bram Moolenaar [Thu, 23 Jan 2020 18:59:22 +0000 (19:59 +0100)]
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)

5 years agopatch 8.2.0145: using #error for compilation errors should be OK now v8.2.0145
Bram Moolenaar [Thu, 23 Jan 2020 15:52:01 +0000 (16:52 +0100)]
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)

5 years agopatch 8.2.0144: some mapping code is not fully tested v8.2.0144
Bram Moolenaar [Thu, 23 Jan 2020 15:19:54 +0000 (16:19 +0100)]
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)

5 years agopatch 8.2.0143: Coverity warning for possible use of NULL pointer v8.2.0143
Bram Moolenaar [Thu, 23 Jan 2020 14:48:42 +0000 (15:48 +0100)]
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.

5 years agopatch 8.2.0142: possible to enter popup window with CTRL-W p v8.2.0142
Bram Moolenaar [Thu, 23 Jan 2020 14:33:54 +0000 (15:33 +0100)]
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)

5 years agopatch 8.2.0141: no swift filetype detection v8.2.0141
Bram Moolenaar [Wed, 22 Jan 2020 21:10:54 +0000 (22:10 +0100)]
patch 8.2.0141: no swift filetype detection

Problem:    No swift filetype detection.
Solution:   Add swift, swiftgyb and sil. (Emir Sarı, closes #5517)

5 years agoUpdate runtime files.
Bram Moolenaar [Tue, 21 Jan 2020 21:33:58 +0000 (22:33 +0100)]
Update runtime files.

5 years agopatch 8.2.0140: CI does not test building doc tags v8.2.0140
Bram Moolenaar [Tue, 21 Jan 2020 21:13:42 +0000 (22:13 +0100)]
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)

5 years agopatch 8.2.0139: MS-Windows: default for IME is inconsistent v8.2.0139
Bram Moolenaar [Mon, 20 Jan 2020 21:05:34 +0000 (22:05 +0100)]
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)

5 years agopatch 8.2.0138: memory leak when starting a job fails v8.2.0138
Bram Moolenaar [Mon, 20 Jan 2020 20:59:39 +0000 (21:59 +0100)]
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)

5 years agopatch 8.2.0137: crash when using win_execute() from a new tab v8.2.0137
Bram Moolenaar [Mon, 20 Jan 2020 20:44:31 +0000 (21:44 +0100)]
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)

5 years agopatch 8.2.0136: stray ch_logfile() call v8.2.0136
Bram Moolenaar [Mon, 20 Jan 2020 20:32:51 +0000 (21:32 +0100)]
patch 8.2.0136: stray ch_logfile() call

Problem:    Stray ch_logfile() call.
Solution:   Remove it. (closes #5503)

5 years agopatch 8.2.0135: bracketed paste can still cause invalid memory access v8.2.0135
Bram Moolenaar [Mon, 20 Jan 2020 20:12:20 +0000 (21:12 +0100)]
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.

5 years agopatch 8.2.0134: some map functionality not covered by tests v8.2.0134
Bram Moolenaar [Mon, 20 Jan 2020 19:41:42 +0000 (20:41 +0100)]
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)

5 years agopatch 8.2.0133: invalid memory access with search command v8.2.0133
Bram Moolenaar [Mon, 20 Jan 2020 19:22:30 +0000 (20:22 +0100)]
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)

5 years agopatch 8.2.0132: script may be re-used when deleting and creating a new one v8.2.0132
Bram Moolenaar [Sun, 19 Jan 2020 19:18:09 +0000 (20:18 +0100)]
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.

5 years agopatch 8.2.0131: command line is not cleared when switching tabs v8.2.0131
Bram Moolenaar [Sun, 19 Jan 2020 14:45:17 +0000 (15:45 +0100)]
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)

5 years agopatch 8.2.0130: Python3 ranges are not tested v8.2.0130
Bram Moolenaar [Sun, 19 Jan 2020 12:57:54 +0000 (13:57 +0100)]
patch 8.2.0130: Python3 ranges are not tested

Problem:    Python3 ranges are not tested.
Solution:   Add test. (Dominique Pelle, closes #5498)

5 years agopatch 8.2.0129: MS-Windows installer doesn't use Turkish translations v8.2.0129
Bram Moolenaar [Sat, 18 Jan 2020 15:10:40 +0000 (16:10 +0100)]
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)

5 years agopatch 8.2.0128: cannot list options one per line v8.2.0128
Bram Moolenaar [Sat, 18 Jan 2020 14:53:19 +0000 (15:53 +0100)]
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.

5 years agopatch 8.2.0127: some buffer commands work in a popup window v8.2.0127
Bram Moolenaar [Sat, 18 Jan 2020 14:06:19 +0000 (15:06 +0100)]
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)

5 years agopatch 8.2.0126: textprop test fails v8.2.0126
Bram Moolenaar [Fri, 17 Jan 2020 20:00:59 +0000 (21:00 +0100)]
patch 8.2.0126: textprop test fails

Problem:    Textprop test fails.
Solution:   Fix sign in computation.

5 years agopatch 8.2.0125: :mode no longer works for any system v8.2.0125
Bram Moolenaar [Fri, 17 Jan 2020 18:32:20 +0000 (19:32 +0100)]
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.

5 years agopatch 8.2.0124: compiler warnings for variable types v8.2.0124
Bram Moolenaar [Fri, 17 Jan 2020 18:12:03 +0000 (19:12 +0100)]
patch 8.2.0124: compiler warnings for variable types

Problem:    Compiler warnings for variable types.
Solution:   Change type, add type cast. (Mike Williams)

5 years agopatch 8.2.0123: complete_info() does not work when CompleteDone is triggered v8.2.0123
Bram Moolenaar [Fri, 17 Jan 2020 17:58:59 +0000 (18:58 +0100)]
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.

5 years agopatch 8.2.0122: readme files still mention MS-DOS v8.2.0122
Bram Moolenaar [Thu, 16 Jan 2020 18:40:38 +0000 (19:40 +0100)]
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)

5 years agopatch 8.2.0121: filter() and map() on blob don't work v8.2.0121
Bram Moolenaar [Wed, 15 Jan 2020 19:51:34 +0000 (20:51 +0100)]
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)

5 years agopatch 8.2.0120: virtcol() does not check arguments to be valid v8.2.0120
Bram Moolenaar [Wed, 15 Jan 2020 19:36:55 +0000 (20:36 +0100)]
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)

5 years agopatch 8.2.0119: message test fails on some platforms v8.2.0119
Bram Moolenaar [Tue, 14 Jan 2020 21:02:14 +0000 (22:02 +0100)]
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)

5 years agopatch 8.2.0118: crash when cycling to buffers involving popup window v8.2.0118
Bram Moolenaar [Tue, 14 Jan 2020 19:42:48 +0000 (20:42 +0100)]
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.

5 years agoUpdate runtime files.
Bram Moolenaar [Tue, 14 Jan 2020 18:29:13 +0000 (19:29 +0100)]
Update runtime files.

5 years agopatch 8.2.0117: crash when using gettabwinvar() with invalid arguments v8.2.0117
Bram Moolenaar [Tue, 14 Jan 2020 18:05:39 +0000 (19:05 +0100)]
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)

5 years agopatch 8.2.0116: BufEnter autocmd not triggered on ":tab drop" v8.2.0116
Bram Moolenaar [Mon, 13 Jan 2020 19:54:51 +0000 (20:54 +0100)]
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)

5 years agopatch 8.2.0115: byte2line() does not work correctly with text properties v8.2.0115
Bram Moolenaar [Mon, 13 Jan 2020 19:40:51 +0000 (20:40 +0100)]
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)

5 years agopatch 8.2.0114: info about sourced scripts is scattered v8.2.0114
Bram Moolenaar [Sun, 12 Jan 2020 16:42:55 +0000 (17:42 +0100)]
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.

5 years agopatch 8.2.0113: "make cmdidxs" fails v8.2.0113
Bram Moolenaar [Sun, 12 Jan 2020 14:46:08 +0000 (15:46 +0100)]
patch 8.2.0113: "make cmdidxs" fails

Problem:    "make cmdidxs" fails.
Solution:   Allow address for ":cquit".  Add --not-a-term to avoid a delay.

5 years agopatch 8.2.0112: illegal memory access when using 'cindent' v8.2.0112
Bram Moolenaar [Sun, 12 Jan 2020 12:48:18 +0000 (13:48 +0100)]
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)

5 years agopatch 8.2.0111: VAR_SPECIAL is also used for booleans v8.2.0111
Bram Moolenaar [Sat, 11 Jan 2020 15:05:23 +0000 (16:05 +0100)]
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.

5 years agopatch 8.2.0110: prop_find() is not implemented v8.2.0110
Bram Moolenaar [Fri, 10 Jan 2020 18:56:46 +0000 (19:56 +0100)]
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)

5 years agoUpdate runtime files.
Bram Moolenaar [Thu, 9 Jan 2020 20:46:04 +0000 (21:46 +0100)]
Update runtime files.

5 years agopatch 8.2.0109: corrupted text properties when expanding spaces v8.2.0109
Bram Moolenaar [Thu, 9 Jan 2020 20:35:48 +0000 (21:35 +0100)]
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)

5 years agopatch 8.2.0108: when sign text is changed a manual redraw is needed v8.2.0108
Bram Moolenaar [Thu, 9 Jan 2020 20:01:59 +0000 (21:01 +0100)]
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)

5 years agopatch 8.2.0107: hgignore is out of sync from gitignore v8.2.0107
Bram Moolenaar [Thu, 9 Jan 2020 15:25:52 +0000 (16:25 +0100)]
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)

5 years agopatch 8.2.0106: printf formats are not exactly right v8.2.0106
Bram Moolenaar [Wed, 8 Jan 2020 21:06:14 +0000 (22:06 +0100)]
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)

5 years agopatch 8.2.0105: Vim license not easy to find on github v8.2.0105
Bram Moolenaar [Wed, 8 Jan 2020 20:43:02 +0000 (21:43 +0100)]
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)

5 years agopatch 8.2.0104: using channel or job with ":execute" has strange effects v8.2.0104
Bram Moolenaar [Wed, 8 Jan 2020 19:09:01 +0000 (20:09 +0100)]
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.

5 years agopatch 8.2.0103: using null object with execute() has strange effects v8.2.0103
Bram Moolenaar [Wed, 8 Jan 2020 18:32:18 +0000 (19:32 +0100)]
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.

5 years agopatch 8.2.0102: messages test fails in small version v8.2.0102
Bram Moolenaar [Wed, 8 Jan 2020 18:27:40 +0000 (19:27 +0100)]
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.

5 years agopatch 8.2.0101: crash when passing null object to ":echomsg" v8.2.0101
Bram Moolenaar [Wed, 8 Jan 2020 17:56:20 +0000 (18:56 +0100)]
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)

5 years agopatch 8.2.0100: macros for Ruby are too complicated v8.2.0100
Bram Moolenaar [Tue, 7 Jan 2020 20:32:19 +0000 (21:32 +0100)]
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)

5 years agopatch 8.2.0099: use of NULL pointer when out of memory v8.2.0099
Bram Moolenaar [Tue, 7 Jan 2020 20:05:49 +0000 (21:05 +0100)]
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)

5 years agopatch 8.2.0098: exe stack length can be wrong without being detected v8.2.0098
Bram Moolenaar [Tue, 7 Jan 2020 19:59:34 +0000 (20:59 +0100)]
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.

5 years agopatch 8.2.0097: crash with autocommand and spellfile v8.2.0097
Bram Moolenaar [Tue, 7 Jan 2020 19:11:42 +0000 (20:11 +0100)]
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)

5 years agopatch 8.2.0096: cannot create tiny popup window in last column v8.2.0096
Bram Moolenaar [Mon, 6 Jan 2020 22:07:48 +0000 (23:07 +0100)]
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)

5 years agopatch 8.2.0095: cannot specify exit code for :cquit v8.2.0095
Bram Moolenaar [Mon, 6 Jan 2020 20:47:21 +0000 (21:47 +0100)]
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)

5 years agopatch 8.2.0094: MS-Windows: cannot build with Strawberry Perl 5.30 v8.2.0094
Bram Moolenaar [Mon, 6 Jan 2020 20:22:09 +0000 (21:22 +0100)]
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)

5 years agopatch 8.2.0093: win_splitmove() can make Vim hang v8.2.0093
Bram Moolenaar [Mon, 6 Jan 2020 20:03:24 +0000 (21:03 +0100)]
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)

5 years agopatch 8.2.0092: tags functionality insufficiently tested v8.2.0092
Bram Moolenaar [Mon, 6 Jan 2020 19:09:13 +0000 (20:09 +0100)]
patch 8.2.0092: tags functionality insufficiently tested

Problem:    Tags functionality insufficiently tested.
Solution:   Add more tags tests. (Yegappan Lakshmanan, closes #5446)

5 years agopatch 8.2.0091: compiler warnings for size_t / int types v8.2.0091
Bram Moolenaar [Mon, 6 Jan 2020 18:53:43 +0000 (19:53 +0100)]
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)

5 years agopatch 8.2.0090: generated files show up in git status v8.2.0090
Bram Moolenaar [Sun, 5 Jan 2020 21:10:31 +0000 (22:10 +0100)]
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.

5 years agopatch 8.2.0089: crash when running out of memory in :setfiletype completion v8.2.0089
Bram Moolenaar [Sun, 5 Jan 2020 21:05:49 +0000 (22:05 +0100)]
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)

5 years agopatch 8.2.0088: insufficient tests for tags; bug in using extra tag field v8.2.0088
Bram Moolenaar [Sun, 5 Jan 2020 19:35:44 +0000 (20:35 +0100)]
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)

5 years agopatch 8.2.0087: crash in command line expansion when out of memory v8.2.0087
Bram Moolenaar [Sun, 5 Jan 2020 13:38:40 +0000 (14:38 +0100)]
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)

5 years agopatch 8.2.0086: build error for small version v8.2.0086
Bram Moolenaar [Sat, 4 Jan 2020 18:00:11 +0000 (19:00 +0100)]
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.

5 years agopatch 8.2.0085: dead code in builtin functions v8.2.0085
Bram Moolenaar [Sat, 4 Jan 2020 15:13:49 +0000 (16:13 +0100)]
patch 8.2.0085: dead code in builtin functions

Problem:    Dead code in builtin functions.
Solution:   Clean up the code.

5 years agopatch 8.2.0084: complete item "user_data" can only be a string v8.2.0084
Bram Moolenaar [Sat, 4 Jan 2020 13:32:48 +0000 (14:32 +0100)]
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)

5 years agopatch 8.2.0083: text properties wrong when tabs and spaces are exchanged v8.2.0083
Bram Moolenaar [Fri, 3 Jan 2020 20:25:59 +0000 (21:25 +0100)]
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)

5 years agopatch 8.2.0082: when reusing a buffer listeners are not cleared v8.2.0082
Bram Moolenaar [Fri, 3 Jan 2020 20:00:02 +0000 (21:00 +0100)]
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)