]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.3554: xxd has various way to exit v8.2.3554
DungSaga [Fri, 22 Oct 2021 14:55:31 +0000 (15:55 +0100)]
patch 8.2.3554: xxd has various way to exit

Problem:    Xxd has various way to exit.
Solution:   Add function to print error and exit. (closes #9035)

3 years agopatch 8.2.3553: xxd test fails on MS-Windows v8.2.3553
Bram Moolenaar [Fri, 22 Oct 2021 14:11:37 +0000 (15:11 +0100)]
patch 8.2.3553: xxd test fails on MS-Windows

Problem:    Xxd test fails on MS-Windows.
Solution:   Split shell command in two.

3 years agopatch 8.2.3552: xxd revert does not handle end of line correctly v8.2.3552
DungSaga [Fri, 22 Oct 2021 11:55:42 +0000 (12:55 +0100)]
patch 8.2.3552: xxd revert does not handle end of line correctly

Problem:    Xxd revert does not handle end of line correctly.
Solution:   Check for newline first. (closes #9034)

3 years agopatch 8.2.3551: checking first character of url twice v8.2.3551
itchyny [Thu, 21 Oct 2021 17:01:13 +0000 (18:01 +0100)]
patch 8.2.3551: checking first character of url twice

Problem:    Checking first character of url twice.
Solution:   Only check once. (closes #9026)

3 years agopatch 8.2.3550: completion() does not work properly v8.2.3550
Shougo Matsushita [Thu, 21 Oct 2021 10:39:53 +0000 (11:39 +0100)]
patch 8.2.3550: completion() does not work properly

Problem:    completion() does not work properly.
Solution:   Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita,
            closes #9016)

3 years agopatch 8.2.3549: mistakes in test comments v8.2.3549
zeertzjq [Thu, 21 Oct 2021 09:50:44 +0000 (10:50 +0100)]
patch 8.2.3549: mistakes in test comments

Problem:    Mistakes in test comments.
Solution:   Fix the comments. (closes #9029)

3 years agopatch 8.2.3548: GTK GUI crashen when reading from stdin v8.2.3548
Bram Moolenaar [Wed, 20 Oct 2021 22:08:11 +0000 (23:08 +0100)]
patch 8.2.3548: GTK GUI crashen when reading from stdin

Problem:    GTK GUI crashen when reading from stdin.
Solution:   Do not overwrite the NUL after the string. (closes #9028)

3 years agopatch 8.2.3547: opening the quickfix window triggers BufWinEnter twice v8.2.3547
Bram Moolenaar [Wed, 20 Oct 2021 20:58:42 +0000 (21:58 +0100)]
patch 8.2.3547: opening the quickfix window triggers BufWinEnter twice

Problem:    Opening the quickfix window triggers BufWinEnter twice. (Yorick
            Peterse)
Solution:   Only trigger BufWinEnter with "quickfix". (closes #9022)

3 years agopatch 8.2.3546: build failure without the +eval feature v8.2.3546
zeertzjq [Wed, 20 Oct 2021 16:21:24 +0000 (17:21 +0100)]
patch 8.2.3546: build failure without the +eval feature

Problem:    Build failure without the +eval feature.
Solution:   Add #ifdef. (closes #9025)

3 years agopatch 8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalid v8.2.3545
zeertzjq [Wed, 20 Oct 2021 10:01:15 +0000 (11:01 +0100)]
patch 8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalid

Problem:    setcellwidths() may make 'listchars' or 'fillchars' invalid.
Solution:   Check the value and give an error. (closes #9024)

3 years agopatch 8.2.3544: Unix: may leak file descriptor using non-existing directory v8.2.3544
itchyny [Wed, 20 Oct 2021 09:00:05 +0000 (10:00 +0100)]
patch 8.2.3544: Unix: may leak file descriptor using non-existing directory

Problem:    Unix: may leak file descriptor when using a non-existing
            directory.
Solution:   Always close the file. (closes #9023)

3 years agopatch 8.2.3543: swapname has double slash when 'directory' ends in it v8.2.3543
Bram Moolenaar [Tue, 19 Oct 2021 21:12:25 +0000 (22:12 +0100)]
patch 8.2.3543: swapname has double slash when 'directory' ends in it

Problem:    Swapname has double slash when 'directory' ends in double slash.
            (Shane Smith)
Solution:   Remove the superfluous slash. (closes #8876)

3 years agopatch 8.2.3542: too many comments are old style v8.2.3542
Bram Moolenaar [Tue, 19 Oct 2021 19:48:52 +0000 (20:48 +0100)]
patch 8.2.3542: too many comments are old style

Problem:    Too many comments are old style.
Solution:   Change comments to // style. (closes #9021)

3 years agopatch 8.2.3541: compiler warning for unused variable in tiny version v8.2.3541
Bram Moolenaar [Tue, 19 Oct 2021 19:24:34 +0000 (20:24 +0100)]
patch 8.2.3541: compiler warning for unused variable in tiny version

Problem:    Compiler warning for unused variable in tiny version.
Solution:   Add #ifdef. (John Marriott)

3 years agopatch 8.2.3540: the mark '] is wrong after put with a count v8.2.3540
Bram Moolenaar [Tue, 19 Oct 2021 19:08:45 +0000 (20:08 +0100)]
patch 8.2.3540: the mark '] is wrong after put with a count

Problem:    The mark '] is wrong after put with a count. (Naohiro Ono)
Solution:   Use the right line number. (closes #8956)

3 years agopatch 8.2.3539: GTK3: with 'rightleft' set scrollbar may move unintentionally v8.2.3539
Bram Moolenaar [Tue, 19 Oct 2021 13:22:03 +0000 (14:22 +0100)]
patch 8.2.3539: GTK3: with 'rightleft' set scrollbar may move unintentionally

Problem:    GTK3: with 'rightleft' set scrollbar may move unintentionally.
Solution:   Ignore events while moving the scrollbar thumb. (closes #8958)

3 years agopatch 8.2.3538: else-if indenting is confusing v8.2.3538
Yegappan Lakshmanan [Tue, 19 Oct 2021 12:44:52 +0000 (13:44 +0100)]
patch 8.2.3538: else-if indenting is confusing

Problem:    Else-if indenting is confusing.
Solution:   Add curly brackets. (Yegappan Lakshmanan, closes #9017)

3 years agopatch 8.2.3537: mode() does not return the right value in 'operatorfunc' v8.2.3537
naohiro ono [Tue, 19 Oct 2021 10:15:41 +0000 (11:15 +0100)]
patch 8.2.3537: mode() does not return the right value in 'operatorfunc'

Problem:    mode() does not return the right value in 'operatorfunc'.
Solution:   Reset finish_op while calling 'operatorfunc'.

3 years agopatch 8.2.3536: the do_highlight() function is way too long v8.2.3536
Yegappan Lakshmanan [Mon, 18 Oct 2021 21:13:57 +0000 (22:13 +0100)]
patch 8.2.3536: the do_highlight() function is way too long

Problem:    The do_highlight() function is way too long.
Solution:   Split it into several functions. (Yegappan Lakshmanan,
            closes #9011)

3 years agopatch 8.2.3535: if-else indenting is confusing v8.2.3535
Dominique Pelle [Mon, 18 Oct 2021 19:56:39 +0000 (20:56 +0100)]
patch 8.2.3535: if-else indenting is confusing

Problem:    If-else indenting is confusing.
Solution:   Add curly brackets and indent. (Dominique Pellé, closes #9010)

3 years agopatch 8.2.3534: autoread test is a bit flaky v8.2.3534
Bram Moolenaar [Mon, 18 Oct 2021 13:37:13 +0000 (14:37 +0100)]
patch 8.2.3534: autoread test is a bit flaky

Problem:    Autoread test is a bit flaky.
Solution:   Wait a brief moment before overwriting the file.

3 years agopatch 8.2.3533: inefficient code in xxd v8.2.3533
DungSaga [Mon, 18 Oct 2021 12:16:03 +0000 (13:16 +0100)]
patch 8.2.3533: inefficient code in xxd

Problem:    Inefficient code in xxd.
Solution:   Don't use "p" when "hextype" is non-zero. (closes #9013)

3 years agopatch 8.2.3532: the previous '' mark is restored after moving the cursor v8.2.3532
Bram Moolenaar [Sun, 17 Oct 2021 20:53:58 +0000 (21:53 +0100)]
patch 8.2.3532: the previous '' mark is restored after moving the cursor

Problem:    The previous '' mark is restored after moving the cursor to the
            original jump position. (Tony Chen)
Solution:   Forget the previous position after checking. (closes #8985)

3 years agopatch 8.2.3531: command line completion test fails on MS-Windows v8.2.3531
Bram Moolenaar [Sun, 17 Oct 2021 17:05:26 +0000 (18:05 +0100)]
patch 8.2.3531: command line completion test fails on MS-Windows

Problem:    Command line completion test fails on MS-Windows.
Solution:   Do not test with "\{" on MS-Windows.

3 years agopatch 8.2.3530: ":buf \{a}" fails while ":edit \{a}" works v8.2.3530
Bram Moolenaar [Sun, 17 Oct 2021 16:20:23 +0000 (17:20 +0100)]
patch 8.2.3530: ":buf \{a}" fails while ":edit \{a}" works

Problem:    ":buf \{a}" fails while ":edit \{a}" works.
Solution:   Unescape "\{". (closes #8917)

3 years agopatch 8.2.3529: xxd usage output is incomplete v8.2.3529
Atsushi SUGAWARA [Sun, 17 Oct 2021 15:09:08 +0000 (16:09 +0100)]
patch 8.2.3529: xxd usage output is incomplete

Problem:    Xxd usage output is incomplete.
Solution:   Add "bytes" to "-g" flag. (Atsushi Sugawara, closes #8944)

3 years agopatch 8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scope v8.2.3528
Bram Moolenaar [Sun, 17 Oct 2021 13:13:09 +0000 (14:13 +0100)]
patch 8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scope

Problem:    'thesaurus' and 'thesaurusfunc' do not have the same scope.
Solution:   Make 'thesaurusfunc' global-local.

3 years agopatch 8.2.3527: gcc complains about uninitialized variable v8.2.3527
Bram Moolenaar [Sun, 17 Oct 2021 10:33:47 +0000 (11:33 +0100)]
patch 8.2.3527: gcc complains about uninitialized variable

Problem:    Gcc complains about uninitialized variable. (Tony Mechelynck)
Solution:   Initialize it.

3 years agopatch 8.2.3526: tests have clumsy check for X11 based GUI v8.2.3526
Bram Moolenaar [Sat, 16 Oct 2021 20:58:27 +0000 (21:58 +0100)]
patch 8.2.3526: tests have clumsy check for X11 based GUI

Problem:    Tests have clumsy check for X11 based GUI.
Solution:   Add CheckX11BasedGui.

3 years agopatch 8.2.3525: option variable name does not match option name v8.2.3525
Bram Moolenaar [Sat, 16 Oct 2021 20:14:11 +0000 (21:14 +0100)]
patch 8.2.3525: option variable name does not match option name

Problem:    Option variable name does not match option name. (Christ van
            Willigen)
Solution:   Rename the variable.

3 years agopatch 8.2.3524: GUI: ligatures are not used v8.2.3524
Dusan Popovic [Sat, 16 Oct 2021 19:52:05 +0000 (20:52 +0100)]
patch 8.2.3524: GUI: ligatures are not used

Problem:    GUI: ligatures are not used.
Solution:   Add the 'guiligatures' option. (Dusan Popovic, closes #8933)

3 years agopatch 8.2.3523: duplicated code in xxd v8.2.3523
DungSaga [Sat, 16 Oct 2021 18:07:46 +0000 (19:07 +0100)]
patch 8.2.3523: duplicated code in xxd

Problem:    Duplicated code in xxd.
Solution:   Remove duplicated lines. (closes #8972)

3 years agopatch 8.2.3522: cannot use \x and \u when setting 'listchars' v8.2.3522
Bram Moolenaar [Sat, 16 Oct 2021 16:51:40 +0000 (17:51 +0100)]
patch 8.2.3522: cannot use \x and \u when setting 'listchars'

Problem:    Cannot use \x and \u when setting 'listchars'.
Solution:   Support hex and unicode in hex form. (closes #9006)

3 years agopatch 8.2.3521: options completion test fails v8.2.3521
Bram Moolenaar [Sat, 16 Oct 2021 15:48:27 +0000 (16:48 +0100)]
patch 8.2.3521: options completion test fails

Problem:    Options completion test fails.
Solution:   Add 'thesaurusfunc' to the results.

3 years agopatch 8.2.3520: cannot define a function for thesaurus completion v8.2.3520
Yegappan Lakshmanan [Sat, 16 Oct 2021 14:41:29 +0000 (15:41 +0100)]
patch 8.2.3520: cannot define a function for thesaurus completion

Problem:    Cannot define a function for thesaurus completion.
Solution:   Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987,
            closes 8950)

3 years agoUpdate runtime files
Bram Moolenaar [Sat, 16 Oct 2021 14:23:36 +0000 (15:23 +0100)]
Update runtime files

3 years agopatch 8.2.3519: TOML files are not recognized v8.2.3519
Aman Verma [Sat, 16 Oct 2021 12:44:04 +0000 (13:44 +0100)]
patch 8.2.3519: TOML files are not recognized

Problem:    TOML files are not recognized.
Solution:   Add filetype patterns for TOML. (Aman Verma, closes #8984)

3 years agopatch 8.2.3518: Test_xrestore sometimes fails v8.2.3518
Bram Moolenaar [Sat, 16 Oct 2021 12:00:14 +0000 (13:00 +0100)]
patch 8.2.3518: Test_xrestore sometimes fails

Problem:    Test_xrestore sometimes fails.
Solution:   Mark the test as flayky.  Move marking test as flaky to the test
            instead of listing them in runtest.

3 years agopatch 8.2.3517: TextChanged does not trigger after TextChangedI v8.2.3517
Christian Brabandt [Sat, 16 Oct 2021 10:58:55 +0000 (11:58 +0100)]
patch 8.2.3517: TextChanged does not trigger after TextChangedI

Problem:    TextChanged does not trigger after TextChangedI.
Solution:   Store the tick separately for TextChangedI. (Christian Brabandt,
            closes #8968, closes #8932)

3 years agopatch 8.2.3516: terminal window does not have transparent background v8.2.3516
Milly [Fri, 15 Oct 2021 21:25:43 +0000 (22:25 +0100)]
patch 8.2.3516: terminal window does not have transparent background

Problem:    Terminal window does not have transparent background when
            'termguicolors' is used.
Solution:   Fix the background color. (closes #2361, closes #9002)

3 years agopatch 8.2.3515: nano time test fails on Mac and FreeBSD v8.2.3515
ichizok [Fri, 15 Oct 2021 16:23:12 +0000 (17:23 +0100)]
patch 8.2.3515: nano time test fails on Mac and FreeBSD

Problem:    Nano time test fails on Mac and FreeBSD.
Solution:   Also check nano time when not on Linux. (Ozaki Kiichi,
            closes #9000)

3 years agopatch 8.2.3514: autoread test with nano second time sometimes fails v8.2.3514
Bram Moolenaar [Fri, 15 Oct 2021 16:09:50 +0000 (17:09 +0100)]
patch 8.2.3514: autoread test with nano second time sometimes fails

Problem:    Autoread test with nano second time sometimes fails.
Solution:   Mark the test as being flaky.

3 years agopatch 8.2.3513: using freed memory when using a timer and searching v8.2.3513
Bram Moolenaar [Fri, 15 Oct 2021 11:51:29 +0000 (12:51 +0100)]
patch 8.2.3513: using freed memory when using a timer and searching

Problem:    Using freed memory when using a timer and searching. (Dominique
            Pellé)
Solution:   Allocated mr_pattern.

3 years agopatch 8.2.3512: timestamp test fails on some systems v8.2.3512
Bram Moolenaar [Thu, 14 Oct 2021 23:38:02 +0000 (00:38 +0100)]
patch 8.2.3512: timestamp test fails on some systems

Problem:    Timestamp test fails on some systems.
Solution:   Sleep for a short while.

3 years agopatch 8.2.3511: Vim9: entry for loop variable is created every round v8.2.3511
Bram Moolenaar [Thu, 14 Oct 2021 23:18:37 +0000 (00:18 +0100)]
patch 8.2.3511: Vim9: entry for loop variable is created every round

Problem:    Vim9: entry for loop variable is created every round.
Solution:   Only create the entry once. (closes #8996)

3 years agopatch 8.2.3510: changes are only detected with one second accuracy v8.2.3510
Leah Neukirchen [Thu, 14 Oct 2021 20:27:55 +0000 (21:27 +0100)]
patch 8.2.3510: changes are only detected with one second accuracy

Problem:    Changes are only detected with one second accuracy.
Solution:   Use the nanosecond time if possible.  (Leah Neukirchen,
            closes #8873, closes #8875)

3 years agopatch 8.2.3509: undo file is not synced v8.2.3509
Bram Moolenaar [Thu, 14 Oct 2021 16:52:23 +0000 (17:52 +0100)]
patch 8.2.3509: undo file is not synced

Problem:    Undo file is not synced. (Sami Farin)
Solution:   Sync the undo file if 'fsync' is set. (Christian Brabandt,
            closes #8879, closes #8920)

3 years agopatch 8.2.3508: Vim9: bad separators for "g" and "s" insufficiently tested v8.2.3508
Bram Moolenaar [Thu, 14 Oct 2021 15:53:42 +0000 (16:53 +0100)]
patch 8.2.3508: Vim9: bad separators for "g" and "s" insufficiently tested

Problem:    Vim9: bad separators for "g" and "s" insufficiently tested.
Solution:   Add a few more test cases.

3 years agopatch 8.2.3507: generating proto files may fail v8.2.3507
Bram Moolenaar [Thu, 14 Oct 2021 15:27:19 +0000 (16:27 +0100)]
patch 8.2.3507: generating proto files may fail

Problem:    Generating proto files may fail.
Solution:   Define __attribute().

3 years agopatch 8.2.3506: Vim9: special cases for "g" and "s" insufficiently tested v8.2.3506
Bram Moolenaar [Wed, 13 Oct 2021 20:17:05 +0000 (21:17 +0100)]
patch 8.2.3506: Vim9: special cases for "g" and "s" insufficiently tested

Problem:    Vim9: special cases for "g" and "s" insufficiently tested.
Solution:   Add a few more test cases.

3 years agopatch 8.2.3505: Vim9: build failure without the +eval feature v8.2.3505
Bram Moolenaar [Wed, 13 Oct 2021 14:37:15 +0000 (15:37 +0100)]
patch 8.2.3505: Vim9: build failure without the +eval feature

Problem:    Vim9: build failure without the +eval feature.
Solution:   Add #ifdef.

3 years agopatch 8.2.3504: Vim9: warning for signed vs unsigned v8.2.3504
Bram Moolenaar [Wed, 13 Oct 2021 14:28:28 +0000 (15:28 +0100)]
patch 8.2.3504: Vim9: warning for signed vs unsigned

Problem:    Vim9: warning for signed vs unsigned.
Solution:   Add type cast.

3 years agopatch 8.2.3503: Vim9: using g:pat:cmd is confusing v8.2.3503
Bram Moolenaar [Wed, 13 Oct 2021 14:04:34 +0000 (15:04 +0100)]
patch 8.2.3503: Vim9: using g:pat:cmd is confusing

Problem:    Vim9: using g:pat:cmd is confusing.
Solution:   Do not recognize g: as the :global command.  Also for s:pat:repl.
            (closes #8982)

3 years agopatch 8.2.3502: cannot enter password in shell command v8.2.3502
Bram Moolenaar [Wed, 13 Oct 2021 09:05:30 +0000 (10:05 +0100)]
patch 8.2.3502: cannot enter password in shell command

Problem:    Cannot enter password in shell command.
Solution:   Revert patch 8.2.2919.

3 years agopatch 8.2.3501: tmux filetype dection is incomplete v8.2.3501
Eric Pruitt [Tue, 12 Oct 2021 12:58:23 +0000 (13:58 +0100)]
patch 8.2.3501: tmux filetype dection is incomplete

Problem:    tmux filetype dection is incomplete
Solution:   Also use tmux for files having text after .conf. (Eric Pruitt,
            closes #8971)

3 years agopatch 8.2.3500: Github CI fails to install clang v8.2.3500
Christian Brabandt [Tue, 12 Oct 2021 11:02:49 +0000 (12:02 +0100)]
patch 8.2.3500: Github CI fails to install clang

Problem:    Github CI fails to install clang.
Solution:   Install llvm-11 explicitly. (Christian Brabandt, closes #8993)

3 years agopatch 8.2.3499: GUI geometry startup test fails v8.2.3499
Bram Moolenaar [Mon, 11 Oct 2021 21:57:34 +0000 (22:57 +0100)]
patch 8.2.3499: GUI geometry startup test fails

Problem:    GUI geometry startup test fails.
Solution:   Check string values instead of numbers

3 years agopatch 8.2.3498: recover test may fail on some systems v8.2.3498
James McCoy [Mon, 11 Oct 2021 20:04:37 +0000 (21:04 +0100)]
patch 8.2.3498: recover test may fail on some systems

Problem:    Recover test may fail on some systems.
Solution:   Adjust the little endian and 64 bit detection. (James McCoy,
            closes #8941)

3 years agopatch 8.2.3497: put test fails when run by itself v8.2.3497
Dominique Pelle [Mon, 11 Oct 2021 19:26:55 +0000 (20:26 +0100)]
patch 8.2.3497: put test fails when run by itself

Problem:    Put test fails when run by itself.
Solution:   Source check.vim. (Dominique Pellé, closes #8990)

3 years agopatch 8.2.3496: crypt test fails if xxd was not installed yet v8.2.3496
James McCoy [Mon, 11 Oct 2021 15:27:03 +0000 (16:27 +0100)]
patch 8.2.3496: crypt test fails if xxd was not installed yet

Problem:    Crypt test fails on MS-Windows if xxd was not installed yet.
Solution:   Use the just built xxd executable if it exists. (James McCoy,
            closes #8929)

3 years agopatch 8.2.3495: GUI geometry startup test fails on some systems v8.2.3495
Bram Moolenaar [Mon, 11 Oct 2021 15:08:32 +0000 (16:08 +0100)]
patch 8.2.3495: GUI geometry startup test fails on some systems

Problem:    GUI geometry startup test fails on some systems. (Drew Vogel)
Solution:   Add tolerance to the size check. (closes #8815)

3 years agopatch 8.2.3494: illegal memory access in utf_head_off v8.2.3494
Bram Moolenaar [Mon, 11 Oct 2021 14:40:43 +0000 (15:40 +0100)]
patch 8.2.3494: illegal memory access in utf_head_off

Problem:    Illegal memory access in utf_head_off.
Solution:   Check cursor position when reselecting the Visual area.
            (closes #8963)

3 years agopatch 8.2.3493: large count test fails on MS-Windows v8.2.3493
Bram Moolenaar [Sun, 10 Oct 2021 12:54:01 +0000 (13:54 +0100)]
patch 8.2.3493: large count test fails on MS-Windows

Problem:    Large count test fails on MS-Windows.
Solution:   Skip the test on MS-Windows.

3 years agopatch 8.2.3492: crash when pasting too many times v8.2.3492
Bram Moolenaar [Sun, 10 Oct 2021 11:35:17 +0000 (12:35 +0100)]
patch 8.2.3492: crash when pasting too many times

Problem:    Crash when pasting too many times.
Solution:   Limit the size to what fits in an int. (closes #8962)

3 years agopatch 8.2.3491: xpm2 filetype dection is not so good v8.2.3491
Bram Moolenaar [Sat, 9 Oct 2021 15:29:43 +0000 (16:29 +0100)]
patch 8.2.3491: xpm2 filetype dection is not so good

Problem:    xpm2 filetype dection is not so good.
Solution:   Adjust the check for xpm2. (closes #8914)

3 years agopatch 8.2.3490: superfluous return statements v8.2.3490
=?UTF-8?q?Dundar=20G=C3=B6c?= [Sat, 9 Oct 2021 14:39:25 +0000 (15:39 +0100)]
patch 8.2.3490: superfluous return statements

Problem:    Superfluous return statements.
Solution:   Remove superfluous return statements from void functions.
            (closes #8977)

3 years agopatch 8.2.3489: ml_get error after search with range v8.2.3489
Bram Moolenaar [Sat, 9 Oct 2021 12:58:55 +0000 (13:58 +0100)]
patch 8.2.3489: ml_get error after search with range

Problem:    ml_get error after search with range.
Solution:   Limit the line number to the buffer line count.

3 years agopatch 8.2.3488: issue template is not easy to use v8.2.3488
snxx [Sat, 9 Oct 2021 11:50:20 +0000 (12:50 +0100)]
patch 8.2.3488: issue template is not easy to use

Problem:    Issue template is not easy to use.
Solution:   Use a yaml template. (closes #8928)

3 years agopatch 8.2.3487: illegal memory access if buffer name is very long v8.2.3487
Bram Moolenaar [Fri, 8 Oct 2021 17:39:28 +0000 (18:39 +0100)]
patch 8.2.3487: illegal memory access if buffer name is very long

Problem:    Illegal memory access if buffer name is very long.
Solution:   Make sure not to go over the end of the buffer.

3 years agopatch 8.2.3486: illegal memory access with invalid sequence of commands v8.2.3486
Bram Moolenaar [Wed, 6 Oct 2021 21:08:11 +0000 (22:08 +0100)]
patch 8.2.3486: illegal memory access with invalid sequence of commands

Problem:    Illegal memory access with invalid sequence of commands.
Solution:   Do not call leave_block() when not in a try block. (closes #8966)
            Reset did_emsg so that exception is shown as an error.

3 years agopatch 8.2.3485: Python 3 test fails with Python 3.10 v8.2.3485
Zdenek Dohnal [Wed, 6 Oct 2021 18:39:16 +0000 (19:39 +0100)]
patch 8.2.3485: Python 3 test fails with Python 3.10

Problem:    Python 3 test fails with Python 3.10.
Solution:   Adjust expected error message. (zdohnal Dohnal, closes #8969)

3 years agopatch 8.2.3484: crash when going through spell suggestions v8.2.3484
Bram Moolenaar [Wed, 6 Oct 2021 12:41:07 +0000 (13:41 +0100)]
patch 8.2.3484: crash when going through spell suggestions

Problem:    Crash when going through spell suggestions.
Solution:   Limit the text length for finding suggestions to the original
            length.  Do not update buffers when exiting. (closes #8965)

3 years agopatch 8.2.3483: #ifdef for using sysinfo() is incomplete v8.2.3483
Bram Moolenaar [Wed, 6 Oct 2021 10:27:21 +0000 (11:27 +0100)]
patch 8.2.3483: #ifdef for using sysinfo() is incomplete

Problem:    #ifdef for using sysinfo() is incomplete.
Solution:   Also check for HAVE_SYSINFO. Make autoconf check use TRY_LINK.
            (closes #8952)

3 years agopatch 8.2.3482: reading beyond end of line ending in quote and backslash v8.2.3482
Bram Moolenaar [Tue, 5 Oct 2021 20:58:53 +0000 (21:58 +0100)]
patch 8.2.3482: reading beyond end of line ending in quote and backslash

Problem:    Reading beyond end of line ending in quote and backslash.
Solution:   Check for non-NUL after backslash. (closes #8964)

3 years agopatch 8.2.3481: failures when char is unsigned v8.2.3481
James McCoy [Tue, 5 Oct 2021 18:44:04 +0000 (19:44 +0100)]
patch 8.2.3481: failures when char is unsigned

Problem:    Failures when char is unsigned.
Solution:   Use int8_T.  Make a CI run with unsigned char. (James McCoy,
            closes #8936)

3 years agopatch 8.2.3480: test does not fail without the fix for a crash v8.2.3480
Dominique Pelle [Tue, 5 Oct 2021 18:28:01 +0000 (19:28 +0100)]
patch 8.2.3480: test does not fail without the fix for a crash

Problem:    Test does not fail without the fix for a crash.
Solution:   Write the bad code in a file and source it. (Dominique Pellé,
            closes #8961)

3 years agopatch 8.2.3479: crash when calling job_start with an invalid argument v8.2.3479
Bram Moolenaar [Tue, 5 Oct 2021 18:19:35 +0000 (19:19 +0100)]
patch 8.2.3479: crash when calling job_start with an invalid argument

Problem:    Crash when calling job_start with an invalid argument. (Virginia
            Senioria)
Solution:   Clear the first item in argv. (closes #8957)

3 years agopatch 8.2.3478: still crash with error in :catch and also in :finally v8.2.3478
Bram Moolenaar [Tue, 5 Oct 2021 10:22:27 +0000 (11:22 +0100)]
patch 8.2.3478: still crash with error in :catch and also in :finally

Problem:    Still crash with error in :catch and also in :finally.
Solution:   Only call finish_exception() once. (closes #8954)

3 years agopatch 8.2.3477: startup test fails on MS-Windows v8.2.3477
Bram Moolenaar [Tue, 5 Oct 2021 00:19:53 +0000 (01:19 +0100)]
patch 8.2.3477: startup test fails on MS-Windows

Problem:    Startup test fails on MS-Windows.
Solution:   Skip the test if not on Unix.

3 years agopatch 8.2.3476: renaming a buffer on startup may cause using freed memory v8.2.3476
Bram Moolenaar [Mon, 4 Oct 2021 22:13:13 +0000 (23:13 +0100)]
patch 8.2.3476: renaming a buffer on startup may cause using freed memory

Problem:    Renaming a buffer on startup may cause using freed memory.
Solution:   Check if the buffer is used in a window. (closes #8955)

3 years agopatch 8.2.3475: expression register set by not executed put command v8.2.3475
kuuote [Mon, 4 Oct 2021 21:17:36 +0000 (22:17 +0100)]
patch 8.2.3475: expression register set by not executed put command

Problem:    Expression register set by not executed put command.
Solution:   Do not set the register if the command is skipped. (closes #8909)

3 years agopatch 8.2.3474: some places use "Vimscript" instead of "Vim script" v8.2.3474
h-east [Mon, 4 Oct 2021 20:51:57 +0000 (21:51 +0100)]
patch 8.2.3474: some places use "Vimscript" instead of "Vim script"

Problem:    Some places use "Vimscript" instead of "Vim script".
Solution:   Consistently use "Vim script". (Hirohito Higashi, closes #8910)

3 years agoUpdate runtime files
Bram Moolenaar [Mon, 4 Oct 2021 20:32:54 +0000 (21:32 +0100)]
Update runtime files

3 years agopatch 8.2.3473: some files with tcl syntax are not recognized v8.2.3473
Bram Moolenaar [Mon, 4 Oct 2021 19:41:45 +0000 (20:41 +0100)]
patch 8.2.3473: some files with tcl syntax are not recognized

Problem:    Some files with tcl syntax are not recognized.
Solution:   Add a few file patterns. (Doug Kearns

3 years agopatch 8.2.3472: other crashes with empty search pattern not tested v8.2.3472
Bram Moolenaar [Mon, 4 Oct 2021 19:09:19 +0000 (20:09 +0100)]
patch 8.2.3472: other crashes with empty search pattern not tested

Problem:    Other crashes with empty search pattern not tested.
Solution:   Add a few more test lines. (Dominique Pellé)

3 years agopatch 8.2.3471: crash when using CTRL-T after an empty search pattern v8.2.3471
Bram Moolenaar [Mon, 4 Oct 2021 18:47:35 +0000 (19:47 +0100)]
patch 8.2.3471: crash when using CTRL-T after an empty search pattern

Problem:    Crash when using CTRL-T after an empty search pattern.
Solution:   Bail out when there is no previous search pattern. (closes #8953)

3 years agopatch 8.2.3470: crash with error in :catch and also in :finally v8.2.3470
Bram Moolenaar [Mon, 4 Oct 2021 17:52:19 +0000 (18:52 +0100)]
patch 8.2.3470: crash with error in :catch and also in :finally

Problem:    Crash with error in :catch and also in :finally.
Solution:   Only discard an exception if there is one. (closes #8954)

3 years agopatch 8.2.3469: some files with json syntax are not recognized v8.2.3469
Bram Moolenaar [Sun, 3 Oct 2021 19:11:20 +0000 (20:11 +0100)]
patch 8.2.3469: some files with json syntax are not recognized

Problem:    Some files with json syntax are not recognized.
Solution:   Add a few file patterns. (Emiliano Ruiz Carletti, closes #8947)

3 years agopatch 8.2.3468: problem with :cd when editing file in non-existent directory v8.2.3468
Bram Moolenaar [Sun, 3 Oct 2021 18:29:48 +0000 (19:29 +0100)]
patch 8.2.3468: problem with :cd when editing file in non-existent directory

Problem:    Problem with :cd when editing file in non-existent directory. (Yee
            Cheng Chin)
Solution:   Prepend the current directory to get the full path. (closes #8903)

3 years agopatch 8.2.3467: CursorHoldI event interferes with "CTRL-G U" v8.2.3467
Bram Moolenaar [Sun, 3 Oct 2021 15:22:05 +0000 (16:22 +0100)]
patch 8.2.3467: CursorHoldI event interferes with "CTRL-G U"

Problem:    CursorHoldI event interferes with "CTRL-G U". (Naohiro Ono)
Solution:   Restore the flag for "CTRL-G U" after triggering CursorHoldI.
            (closes #8937)

3 years agopatch 8.2.3466: completion submode not indicated for virtual replace v8.2.3466
zeertzjq [Sun, 3 Oct 2021 14:19:14 +0000 (15:19 +0100)]
patch 8.2.3466: completion submode not indicated for virtual replace

Problem:    Completion submode not indicated for virtual replace.
Solution:   Add submode to "Rv". (closes #8945)

3 years agopatch 8.2.3465: cannot detect insert scroll mode v8.2.3465
zeertzjq [Sun, 3 Oct 2021 11:01:27 +0000 (12:01 +0100)]
patch 8.2.3465: cannot detect insert scroll mode

Problem:    Cannot detect insert scroll mode.
Solution:   Add "scroll" to complete_info(). (closes #8943)

3 years agopatch 8.2.3464: nginx files are not recognized v8.2.3464
Chris Aumann [Sun, 3 Oct 2021 10:46:09 +0000 (11:46 +0100)]
patch 8.2.3464: nginx files are not recognized

Problem:    nginx files are not recognized.
Solution:   Add several file patterns. (Chris Aumann, closes #8922)

3 years agopatch 8.2.3463: pattern matching with ModeChanged not tested v8.2.3463
Bram Moolenaar [Sat, 2 Oct 2021 20:48:15 +0000 (21:48 +0100)]
patch 8.2.3463: pattern matching with ModeChanged not tested

Problem:    Pattern matching with ModeChanged not tested.
Solution:   Add a few more test lines. (issue #8856)

3 years agopatch 8.2.3462: ModeChanged only uses one character for new_mode and old_mode v8.2.3462
Bram Moolenaar [Sat, 2 Oct 2021 15:55:39 +0000 (16:55 +0100)]
patch 8.2.3462: ModeChanged only uses one character for new_mode and old_mode

Problem:    The ModeChanged event only uses one character for the new_mode and
            old_mode values.
Solution:   Pass one as first argument to mode(). (issue #8856)

3 years agopatch 8.2.3461: cannot distinguish Normal and Terminal-Normal mode v8.2.3461
Bram Moolenaar [Sat, 2 Oct 2021 15:34:55 +0000 (16:34 +0100)]
patch 8.2.3461: cannot distinguish Normal and Terminal-Normal mode

Problem:    Cannot distinguish Normal and Terminal-Normal mode.
Solution:   Make mode() return "nt" for Terminal-Normal mode. (issue #8856)

3 years agopatch 8.2.3460: some type casts are not needed v8.2.3460
=?UTF-8?q?Dundar=20G=C3=B6c?= [Sat, 2 Oct 2021 10:26:51 +0000 (11:26 +0100)]
patch 8.2.3460: some type casts are not needed

Problem:    Some type casts are not needed.
Solution:   Remove unnecessary type casts. (closes #8934)

3 years agopatch 8.2.3459: Vim9: need more tests for empty string arguments v8.2.3459
Yegappan Lakshmanan [Thu, 30 Sep 2021 18:00:00 +0000 (19:00 +0100)]
patch 8.2.3459: Vim9: need more tests for empty string arguments

Problem:    Vim9: need more tests for empty string arguments.
Solution:   Add more tests.  Also use empty argument with menu_info() to get
            the top-level menu names. (Yegappan Lakshmanan, closes #8925)

3 years agopatch 8.2.3458: not all dictdconf files are recognized v8.2.3458
Bram Moolenaar [Sun, 26 Sep 2021 21:11:52 +0000 (22:11 +0100)]
patch 8.2.3458: not all dictdconf files are recognized

Problem:    Not all dictdconf files are recognized.
Solution:   Adjust the pattern. (Doug Kearns)

3 years agopatch 8.2.3457: MS-Windows Vim9: test executed and fails v8.2.3457
Bram Moolenaar [Sun, 26 Sep 2021 19:14:39 +0000 (20:14 +0100)]
patch 8.2.3457: MS-Windows Vim9: test executed and fails

Problem:    MS-Windows Vim9: test executed and fails.
Solution:   Add extra check for not being on MS-Windows.