]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.0726: Vim9: leaking memory when calling not compiled :def function v8.2.0726
Bram Moolenaar [Sat, 9 May 2020 21:20:20 +0000 (23:20 +0200)]
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.

4 years agopatch 8.2.0725: Vim9: cannot call a function declared later in Vim9 script v8.2.0725
Bram Moolenaar [Sat, 9 May 2020 20:50:08 +0000 (22:50 +0200)]
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.

4 years agopatch 8.2.0724: Vim9: appending to buffer/window/tab variable not tested v8.2.0724
Bram Moolenaar [Sat, 9 May 2020 16:44:56 +0000 (18:44 +0200)]
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.

4 years agopatch 8.2.0723: Vim9: nested constant expression not evaluated compile time v8.2.0723
Bram Moolenaar [Sat, 9 May 2020 16:28:34 +0000 (18:28 +0200)]
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.

4 years agopatch 8.2.0722: Vim9: not handling constant expression for elseif v8.2.0722
Bram Moolenaar [Sat, 9 May 2020 15:35:53 +0000 (17:35 +0200)]
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.

4 years agopatch 8.2.0721: Vim9: leaking memory when skipping v8.2.0721
Bram Moolenaar [Sat, 9 May 2020 14:44:22 +0000 (16:44 +0200)]
patch 8.2.0721: Vim9: leaking memory when skipping

Problem:    Vim9: leaking memory when skipping.
Solution:   Disable skipping in generate_ppconst().

4 years agopatch 8.2.0720: occasional exit when encountering an X error v8.2.0720
Bram Moolenaar [Sat, 9 May 2020 14:11:33 +0000 (16:11 +0200)]
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.

4 years agopatch 8.2.0719: Vim9: more expressions can be evaluated at compile time v8.2.0719
Bram Moolenaar [Sat, 9 May 2020 13:44:01 +0000 (15:44 +0200)]
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').

4 years agopatch 8.2.0718: gcc warning for returning pointer to local variable v8.2.0718
Bram Moolenaar [Sat, 9 May 2020 11:06:24 +0000 (13:06 +0200)]
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.

4 years agopatch 8.2.0717: Vim9: postponed constant expressions does not scale v8.2.0717
Bram Moolenaar [Fri, 8 May 2020 17:10:34 +0000 (19:10 +0200)]
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.

4 years agopatch 8.2.0716: Vim9: another memory leak v8.2.0716
Bram Moolenaar [Thu, 7 May 2020 21:20:21 +0000 (23:20 +0200)]
patch 8.2.0716: Vim9: another memory leak

Problem:    Vim9: another memory leak.
Solution:   Clear typval when failing.

4 years agopatch 8.2.0715: Vim9: leaking memory v8.2.0715
Bram Moolenaar [Thu, 7 May 2020 20:23:58 +0000 (22:23 +0200)]
patch 8.2.0715: Vim9: leaking memory

Problem:    Vim9: leaking memory.
Solution:   Free strings after concatenating them.

4 years agopatch 8.2.0714: Vim9: handling constant expression does not scale v8.2.0714
Bram Moolenaar [Thu, 7 May 2020 20:19:01 +0000 (22:19 +0200)]
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.

4 years agoUpdate runtime files
Bram Moolenaar [Thu, 7 May 2020 16:56:00 +0000 (18:56 +0200)]
Update runtime files

4 years agopatch 8.2.0713: the pam_environment file is not recognized v8.2.0713
Bram Moolenaar [Thu, 7 May 2020 16:51:27 +0000 (18:51 +0200)]
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)

4 years agopatch 8.2.0712: various code not fully tested v8.2.0712
Bram Moolenaar [Thu, 7 May 2020 16:43:44 +0000 (18:43 +0200)]
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)

4 years agopatch 8.2.0711: temp directory might be cleared v8.2.0711
Bram Moolenaar [Thu, 7 May 2020 16:37:03 +0000 (18:37 +0200)]
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)

4 years agopatch 8.2.0710: Netbeans test sometimes fails v8.2.0710
Bram Moolenaar [Thu, 7 May 2020 16:16:35 +0000 (18:16 +0200)]
patch 8.2.0710: Netbeans test sometimes fails

Problem:    Netbeans test sometimes fails.
Solution:   Mark any test using an external command as flaky.

4 years agopatch 8.2.0709: MS-Windows: compiler warning for int vs size_t v8.2.0709
Bram Moolenaar [Thu, 7 May 2020 15:46:59 +0000 (17:46 +0200)]
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)

4 years agopatch 8.2.0708: Vim9: constant expressions are not simplified v8.2.0708
Bram Moolenaar [Thu, 7 May 2020 14:58:17 +0000 (16:58 +0200)]
patch 8.2.0708: Vim9: constant expressions are not simplified

Problem:    Vim9: constant expressions are not simplified.
Solution:   Simplify string concatenation.

4 years agopatch 8.2.0707: Vim9 function test fails v8.2.0707
Bram Moolenaar [Thu, 7 May 2020 12:37:19 +0000 (14:37 +0200)]
patch 8.2.0707: Vim9 function test fails

Problem:    Vim9 function test fails.
Solution:   Adjust expected error code.

4 years agopatch 8.2.0706: Vim9: using assert_fails() causes function to finish v8.2.0706
Bram Moolenaar [Thu, 7 May 2020 12:07:25 +0000 (14:07 +0200)]
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.

4 years agopatch 8.2.0705: indent tests don't run on CI for FreeBSD v8.2.0705
Bram Moolenaar [Wed, 6 May 2020 20:25:05 +0000 (22:25 +0200)]
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)

4 years agopatch 8.2.0704: Vim9: memory leak in disassemble test v8.2.0704
Bram Moolenaar [Wed, 6 May 2020 20:18:17 +0000 (22:18 +0200)]
patch 8.2.0704: Vim9: memory leak in disassemble test

Problem:    Vim9: memory leak in disassemble test.
Solution:   Decrement refcount when creating funccal.

4 years agopatch 8.2.0703: Vim9: closure cannot store value in outer context v8.2.0703
Bram Moolenaar [Wed, 6 May 2020 19:06:30 +0000 (21:06 +0200)]
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.

4 years agopatch 8.2.0702: running channel tests may leave running process behind v8.2.0702
Bram Moolenaar [Wed, 6 May 2020 17:38:30 +0000 (19:38 +0200)]
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)

4 years agopatch 8.2.0701: Vim9 test fails without job feature v8.2.0701
Bram Moolenaar [Tue, 5 May 2020 21:32:58 +0000 (23:32 +0200)]
patch 8.2.0701: Vim9 test fails without job feature

Problem:    Vim9 test fails without job feature.
Solution:   Add feature check.

4 years agopatch 8.2.0700: Vim9: converting error message to exception not tested v8.2.0700
Bram Moolenaar [Tue, 5 May 2020 20:08:26 +0000 (22:08 +0200)]
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.

4 years agopatch 8.2.0699: Vim9: not all errors tested v8.2.0699
Bram Moolenaar [Tue, 5 May 2020 19:25:22 +0000 (21:25 +0200)]
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.

4 years agopatch 8.2.0698: insert mode completion not fully tested v8.2.0698
Bram Moolenaar [Tue, 5 May 2020 17:57:18 +0000 (19:57 +0200)]
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)

4 years agopatch 8.2.0697: Vim9: memory leak when using nested function v8.2.0697
Bram Moolenaar [Tue, 5 May 2020 17:46:20 +0000 (19:46 +0200)]
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.

4 years agopatch 8.2.0696: Vim9: nested function does not work properly v8.2.0696
Bram Moolenaar [Tue, 5 May 2020 15:53:16 +0000 (17:53 +0200)]
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.

4 years agopatch 8.2.0695: Vim9: cannot define a function inside a function v8.2.0695
Bram Moolenaar [Mon, 4 May 2020 21:24:44 +0000 (23:24 +0200)]
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.

4 years agopatch 8.2.0694: Haiku: channel and terminal do not work v8.2.0694
Bram Moolenaar [Sun, 3 May 2020 20:57:32 +0000 (22:57 +0200)]
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)

4 years agopatch 8.2.0693: closure using argument not tested v8.2.0693
Bram Moolenaar [Sun, 3 May 2020 20:30:49 +0000 (22:30 +0200)]
patch 8.2.0693: closure using argument not tested

Problem:    Closure using argument not tested.
Solution:   Add a test, make it work.

4 years agopatch 8.2.0692: startup test fails on MS-Windows v8.2.0692
Bram Moolenaar [Sun, 3 May 2020 16:21:04 +0000 (18:21 +0200)]
patch 8.2.0692: startup test fails on MS-Windows

Problem:    Startup test fails on MS-Windows.
Solution:   Allow for any path.

4 years agopatch 8.2.0691: startup test fails v8.2.0691
Bram Moolenaar [Sun, 3 May 2020 15:55:32 +0000 (17:55 +0200)]
patch 8.2.0691: startup test fails

Problem:    Startup test fails.
Solution:   Adjust expected output from -V2 argument.

4 years agopatch 8.2.0690: line number of option set by modeline is wrong v8.2.0690
Bram Moolenaar [Sun, 3 May 2020 15:19:33 +0000 (17:19 +0200)]
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)

4 years agopatch 8.2.0689: when using getaddrinfo() the error message is unclear v8.2.0689
Bram Moolenaar [Sun, 3 May 2020 15:03:29 +0000 (17:03 +0200)]
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)

4 years agopatch 8.2.0688: output clobbered if setting 'verbose' to see shell commands v8.2.0688
Bram Moolenaar [Sun, 3 May 2020 15:01:24 +0000 (17:01 +0200)]
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.

4 years agopatch 8.2.0687: some tests do not work on FreeBSD v8.2.0687
Bram Moolenaar [Sun, 3 May 2020 14:29:50 +0000 (16:29 +0200)]
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)

4 years agopatch 8.2.0686: formatoptions not sufficiently tested v8.2.0686
Bram Moolenaar [Sun, 3 May 2020 14:04:43 +0000 (16:04 +0200)]
patch 8.2.0686: formatoptions not sufficiently tested

Problem:    Formatoptions not sufficiently tested.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #6031)

4 years agopatch 8.2.0685: Build failure v8.2.0685
Bram Moolenaar [Sun, 3 May 2020 13:47:33 +0000 (15:47 +0200)]
patch 8.2.0685: Build failure

Problem:    Build failure.
Solution:   Include missing changes.

4 years agopatch 8.2.0684: Vim9: memory leak when using lambda v8.2.0684
Bram Moolenaar [Sun, 3 May 2020 13:38:16 +0000 (15:38 +0200)]
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.

4 years agopatch 8.2.0683: Vim9: parsing type does not always work v8.2.0683
Bram Moolenaar [Sat, 2 May 2020 21:12:58 +0000 (23:12 +0200)]
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.

4 years agopatch 8.2.0682: Vim9: parsing function argument type can get stuck v8.2.0682
Bram Moolenaar [Sat, 2 May 2020 17:04:58 +0000 (19:04 +0200)]
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.

4 years agopatch 8.2.0681: pattern for 'hlsearch' highlighting may leak v8.2.0681
Bram Moolenaar [Sat, 2 May 2020 16:33:25 +0000 (18:33 +0200)]
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)

4 years agopatch 8.2.0680: PTYGROUP and PTYMODE are unused v8.2.0680
Bram Moolenaar [Sat, 2 May 2020 16:14:37 +0000 (18:14 +0200)]
patch 8.2.0680: PTYGROUP and PTYMODE are unused

Problem:    PTYGROUP and PTYMODE are unused.
Solution:   Remove from autoconf. (closes #6024)

4 years agopatch 8.2.0679: Vim9: incomplete support for closures v8.2.0679
Bram Moolenaar [Sat, 2 May 2020 15:52:42 +0000 (17:52 +0200)]
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.

4 years agopatch 8.2.0678: rare crash for popup menu v8.2.0678
Bram Moolenaar [Sat, 2 May 2020 12:52:57 +0000 (14:52 +0200)]
patch 8.2.0678: rare crash for popup menu

Problem:    Rare crash for popup menu.
Solution:   Check for NULL pointer. (Nobuhiro Takasaki, closes #6027)

4 years agopatch 8.2.0677: Vim9: no support for closures v8.2.0677
Bram Moolenaar [Fri, 1 May 2020 17:29:08 +0000 (19:29 +0200)]
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.

4 years agopatch 8.2.0676: pattern in list of distributed files does not match v8.2.0676
Bram Moolenaar [Fri, 1 May 2020 14:08:11 +0000 (16:08 +0200)]
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.

4 years agoUpdate runtime files
Bram Moolenaar [Fri, 1 May 2020 14:07:38 +0000 (16:07 +0200)]
Update runtime files

4 years agopatch 8.2.0675: Vim9: no support for closures v8.2.0675
Bram Moolenaar [Fri, 1 May 2020 13:44:29 +0000 (15:44 +0200)]
patch 8.2.0675: Vim9: no support for closures

Problem:    Vim9: no support for closures.
Solution:   Do not re-use stack entries.

4 years agopatch 8.2.0674: some source files are too big v8.2.0674
Bram Moolenaar [Fri, 1 May 2020 12:26:37 +0000 (14:26 +0200)]
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)

4 years agopatch 8.2.0673: cannot build Haiku in shadow directory v8.2.0673
Bram Moolenaar [Fri, 1 May 2020 12:14:07 +0000 (14:14 +0200)]
patch 8.2.0673: cannot build Haiku in shadow directory

Problem:    Cannot build Haiku in shadow directory.
Solution:   Add symlink. (Ozaki Kiichi, closes #6023)

4 years agopatch 8.2.0672: heredoc in scripts does not accept lower case marker v8.2.0672
Bram Moolenaar [Fri, 1 May 2020 12:10:13 +0000 (14:10 +0200)]
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)

4 years agopatch 8.2.0671: Haiku: compiler warnings v8.2.0671
Bram Moolenaar [Thu, 30 Apr 2020 20:51:01 +0000 (22:51 +0200)]
patch 8.2.0671: Haiku: compiler warnings

Problem:    Haiku: compiler warnings.
Solution:   Avoid the warnings. Drop display_errors() copy. (Emir Sari,
            closes #6018)

4 years agopatch 8.2.0670: cannot change window when evaluating 'completefunc' v8.2.0670
Bram Moolenaar [Thu, 30 Apr 2020 20:31:18 +0000 (22:31 +0200)]
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.

4 years agopatch 8.2.0669: MS-Windows: display in VTP is a bit slow v8.2.0669
Bram Moolenaar [Thu, 30 Apr 2020 18:59:57 +0000 (20:59 +0200)]
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)

4 years agopatch 8.2.0668: compiler warning for int/size_t usage v8.2.0668
Bram Moolenaar [Thu, 30 Apr 2020 18:21:43 +0000 (20:21 +0200)]
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)

4 years agopatch 8.2.0667: cannot install Haiku version from source v8.2.0667
Bram Moolenaar [Thu, 30 Apr 2020 17:54:38 +0000 (19:54 +0200)]
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)

4 years agopatch 8.2.0666: Ruby test fails on MS-Windows v8.2.0666
Bram Moolenaar [Thu, 30 Apr 2020 17:19:29 +0000 (19:19 +0200)]
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)

4 years agopatch 8.2.0665: wrongly assuming Python executable is called "python" v8.2.0665
Bram Moolenaar [Thu, 30 Apr 2020 17:09:35 +0000 (19:09 +0200)]
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.

4 years agopatch 8.2.0664: included undesired changes in Makefile v8.2.0664
Bram Moolenaar [Wed, 29 Apr 2020 21:11:32 +0000 (23:11 +0200)]
patch 8.2.0664: included undesired changes in Makefile

Problem:    Included undesired changes in Makefile.
Solution:   Revert the changes.

4 years agopatch 8.2.0663: not all systemd temp files are recognized v8.2.0663
Bram Moolenaar [Wed, 29 Apr 2020 21:02:40 +0000 (23:02 +0200)]
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)

4 years agopatch 8.2.0662: cannot use input() in a channel callback v8.2.0662
Bram Moolenaar [Wed, 29 Apr 2020 20:30:13 +0000 (22:30 +0200)]
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)

4 years agopatch 8.2.0661: eval test is still old style v8.2.0661
Bram Moolenaar [Wed, 29 Apr 2020 20:01:21 +0000 (22:01 +0200)]
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)

4 years agopatch 8.2.0660: the search.c file is a bit big v8.2.0660
Bram Moolenaar [Wed, 29 Apr 2020 19:04:15 +0000 (21:04 +0200)]
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)

4 years agopatch 8.2.0659: Vim9: no test for equal func type v8.2.0659
Bram Moolenaar [Tue, 28 Apr 2020 20:49:08 +0000 (22:49 +0200)]
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.

4 years agopatch 8.2.0658: HP-UX build fails when setenv() is not defined v8.2.0658
Bram Moolenaar [Tue, 28 Apr 2020 19:58:29 +0000 (21:58 +0200)]
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)

4 years agopatch 8.2.0657: Vim9: no check if called variable is a FuncRef v8.2.0657
Bram Moolenaar [Tue, 28 Apr 2020 19:29:34 +0000 (21:29 +0200)]
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.

4 years agopatch 8.2.0656: MS-Windows: redrawing right screen edge may not be needed v8.2.0656
Bram Moolenaar [Tue, 28 Apr 2020 18:44:42 +0000 (20:44 +0200)]
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)

4 years agopatch 8.2.0655: search code not sufficiently tested v8.2.0655
Bram Moolenaar [Tue, 28 Apr 2020 18:29:07 +0000 (20:29 +0200)]
patch 8.2.0655: search code not sufficiently tested

Problem:    Search code not sufficiently tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5999)

4 years agopatch 8.2.0654: building with Python fails v8.2.0654
Bram Moolenaar [Mon, 27 Apr 2020 22:02:41 +0000 (00:02 +0200)]
patch 8.2.0654: building with Python fails

Problem:    Building with Python fails.
Solution:   Add missing argument.

4 years agopatch 8.2.0653: using uninitialized pointer v8.2.0653
Bram Moolenaar [Mon, 27 Apr 2020 21:39:30 +0000 (23:39 +0200)]
patch 8.2.0653: using uninitialized pointer

Problem:    using uninitialized pointer.
Solution:   Move assignment up. (John Marriott)

4 years agopatch 8.2.0652: compiler warning for char conversion v8.2.0652
Bram Moolenaar [Mon, 27 Apr 2020 21:16:41 +0000 (23:16 +0200)]
patch 8.2.0652: compiler warning for char conversion

Problem:    Compiler warning for char conversion.
Solution:   Use unsigned char buffer.

4 years agopatch 8.2.0651: old style benchmark test still in list of distributed files v8.2.0651
Bram Moolenaar [Mon, 27 Apr 2020 20:51:33 +0000 (22:51 +0200)]
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.

4 years agopatch 8.2.0650: Vim9: script function can be deleted v8.2.0650
Bram Moolenaar [Mon, 27 Apr 2020 20:47:51 +0000 (22:47 +0200)]
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.

4 years agopatch 8.2.0649: undo problem whn an InsertLeave autocommand resets undo v8.2.0649
Bram Moolenaar [Mon, 27 Apr 2020 18:18:31 +0000 (20:18 +0200)]
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.

4 years agopatch 8.2.0648: semicolon search does not work in first line v8.2.0648
Bram Moolenaar [Mon, 27 Apr 2020 17:29:01 +0000 (19:29 +0200)]
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)

4 years agopatch 8.2.0647: MS-Windows: repeat count for events was not used v8.2.0647
Bram Moolenaar [Sun, 26 Apr 2020 17:00:07 +0000 (19:00 +0200)]
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)

4 years agopatch 8.2.0646: t_Co uses the value of $COLORS in the GUI v8.2.0646
Bram Moolenaar [Sun, 26 Apr 2020 14:52:49 +0000 (16:52 +0200)]
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)

4 years agopatch 8.2.0645: MS-Windows terminal: CTRL-C does not get to child job v8.2.0645
Bram Moolenaar [Sun, 26 Apr 2020 14:06:01 +0000 (16:06 +0200)]
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)

4 years agopatch 8.2.0644: insufficient testing for invalid function arguments v8.2.0644
Bram Moolenaar [Sun, 26 Apr 2020 13:59:55 +0000 (15:59 +0200)]
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)

4 years agopatch 8.2.0643: terminal uses brown instead of dark yellow v8.2.0643
Bram Moolenaar [Sun, 26 Apr 2020 12:47:44 +0000 (14:47 +0200)]
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)

4 years agopatch 8.2.0642: Vim9: using invalid index v8.2.0642
Bram Moolenaar [Sun, 26 Apr 2020 12:29:56 +0000 (14:29 +0200)]
patch 8.2.0642: Vim9: using invalid index

Problem:    Vim9: using invalid index.
Solution:   Check index for being valid.  Fix memory leak.

4 years agopatch 8.2.0641: Vim9: not expanded in :hardcopy and syn-include v8.2.0641
Bram Moolenaar [Sun, 26 Apr 2020 11:50:41 +0000 (13:50 +0200)]
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".

4 years agopatch 8.2.0640: Vim9: expanding does not work v8.2.0640
Bram Moolenaar [Sat, 25 Apr 2020 18:02:55 +0000 (20:02 +0200)]
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.

4 years agopatch 8.2.0639: MS-Windows: messages test still fails v8.2.0639
Bram Moolenaar [Sat, 25 Apr 2020 15:13:56 +0000 (17:13 +0200)]
patch 8.2.0639: MS-Windows: messages test still fails

Problem:    MS-Windows: messages test still fails.
Solution:   Filter out the maintainer message.

4 years agopatch 8.2.0638: MS-Windows: messages test fails v8.2.0638
Bram Moolenaar [Sat, 25 Apr 2020 14:41:58 +0000 (16:41 +0200)]
patch 8.2.0638: MS-Windows: messages test fails

Problem:    MS-Windows: messages test fails.
Solution:   Clear environment variables.

4 years agopatch 8.2.0637: incsearch highlighting does not work for ":sort!" v8.2.0637
Bram Moolenaar [Sat, 25 Apr 2020 13:54:16 +0000 (15:54 +0200)]
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)

4 years agopatch 8.2.0636: :messages does not show the maintainer when $LANG is unset v8.2.0636
Bram Moolenaar [Sat, 25 Apr 2020 13:45:37 +0000 (15:45 +0200)]
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)

4 years agopatch 8.2.0635: when using 256 colors DarkYellow does not show expected color v8.2.0635
Bram Moolenaar [Sat, 25 Apr 2020 13:35:32 +0000 (15:35 +0200)]
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)

4 years agopatch 8.2.0634: crash with null partial and blob v8.2.0634
Bram Moolenaar [Sat, 25 Apr 2020 13:24:44 +0000 (15:24 +0200)]
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)

4 years agopatch 8.2.0633: crash when using null partial in filter() v8.2.0633
Bram Moolenaar [Fri, 24 Apr 2020 20:47:31 +0000 (22:47 +0200)]
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)

4 years agopatch 8.2.0632: crash when using Haiku v8.2.0632
Bram Moolenaar [Fri, 24 Apr 2020 20:19:00 +0000 (22:19 +0200)]
patch 8.2.0632: crash when using Haiku

Problem:    Crash when using Haiku.
Solution:   Lock the screen. (closes #5975, closes #5973)

4 years agopatch 8.2.0631: Haiku file formatted with wrong tabstop v8.2.0631
Bram Moolenaar [Fri, 24 Apr 2020 20:16:13 +0000 (22:16 +0200)]
patch 8.2.0631: Haiku file formatted with wrong tabstop

Problem:    Haiku file formatted with wrong tabstop.
Solution:   Use normal tabstop. Fix white space.

4 years agopatch 8.2.0630: "make tags" does not cover Haiku GUI file v8.2.0630
Bram Moolenaar [Fri, 24 Apr 2020 19:21:06 +0000 (21:21 +0200)]
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.

4 years agopatch 8.2.0629: setting a boolean option to v:false does not work v8.2.0629
Bram Moolenaar [Fri, 24 Apr 2020 18:57:01 +0000 (20:57 +0200)]
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)