0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

14710 Commits

Author SHA1 Message Date
Bram Moolenaar
728104da6c Add missing change to version.c 2021-11-16 17:50:34 +00:00
Yegappan Lakshmanan
2a16dc6613 patch 8.2.3605: cannot clear and unlinke a highlight group with hlset()
Problem:    Cannot clear and unlinke a highlight group with hlset() in a
            single call.
Solution:   Add the "force" option. (Yegappan Lakshmanan, closes #9117)
v8.2.3605
2021-11-16 17:19:30 +00:00
Bram Moolenaar
c143fa0778 patch 8.2.3604: not all sudoers files are recognized
Problem:    Not all sudoers files are recognized.
Solution:   Add a file pattern. (Doug Kearns, closes #1192)
v8.2.3604
2021-11-16 16:38:42 +00:00
Bram Moolenaar
b1b163efd7 patch 8.2.3603: fish filetype not recognized
Problem:    Fish filetype not recognized.
Solution:   Add a file pattern and match script line. (Doug Kearns)
v8.2.3603
2021-11-16 15:28:10 +00:00
K.Takata
1be7e21583 patch 8.2.3602: Python3 test fails with Python 3.10 on MS-Windows
Problem:    Python3 test fails with Python 3.10 on MS-Windows.
Solution:   Adjust the expected error. (Ken Takata, closes #9118)
v8.2.3602
2021-11-16 13:08:56 +00:00
ichizok
fa53722367 patch 8.2.3601: check for overflow in put count does not work well
Problem:    Check for overflow in put count does not work well.
Solution:   Improve the overflow check. (Ozaki Kiichi, closes #9102)
v8.2.3601
2021-11-16 12:50:46 +00:00
Bram Moolenaar
314b773abb patch 8.2.3600: filetype test fails
Problem:    Filetype test fails.
Solution:   Add missint change.
v8.2.3600
2021-11-16 11:53:13 +00:00
Bram Moolenaar
782b4bbc16 patch 8.2.3599: not all gdbinit files are recognized
Problem:    Not all gdbinit files are recognized.
Solution:   Add "gdbinit". (Doug Kearns)
v8.2.3599
2021-11-16 11:10:11 +00:00
zainin
0818ab82e7 patch 8.2.3598: RouterOS filetype is not recognized
Problem:    RouterOS filetype is not recognized.
Solution:   Add file and script patterns. (closes #9097)
v8.2.3598
2021-11-15 21:44:11 +00:00
Bram Moolenaar
36968af155 patch 8.2.3597: Vim seems to hang when writing a long text to a terminal
Problem:    Vim seems to hang when writing a very long text to a terminal
            window.
Solution:   Limit the amount of text based on 'termwinscroll'. (issue #9080)
v8.2.3597
2021-11-15 17:13:11 +00:00
Yegappan Lakshmanan
733b124a90 patch 8.2.3596: crash when using :pedit in Vim9 script
Problem:    Crash when using :pedit in Vim9 script.
Solution:   Move check for arguments to after checking there are arguments.
            (Yegappan Lakshmanan, closes #9134, closes #9135)
v8.2.3596
2021-11-15 11:22:09 +00:00
Bram Moolenaar
0d5a12ea04 patch 8.2.3595: check for signed overflow might not work everywhere
Problem:    Check for signed overflow might not work everywhere.
Solution:   Limit to 32 bit int. (closes #9043, closes #9067)
v8.2.3595
2021-11-14 14:05:18 +00:00
Bram Moolenaar
786e05beb5 patch 8.2.3594: xxd code is a bit difficult to understand
Problem:    Xxd code is a bit difficult to understand.
Solution:   Move some lines to a separate function. (closes #9037)
v8.2.3594
2021-11-14 13:46:05 +00:00
Bram Moolenaar
7f13b24ab6 patch 8.2.3593: directory is wrong after executing "lcd" with win_execute()
Problem:    Directory is wrong after executing "lcd" with win_execute().
Solution:   Correct the directory when going back to the original window.
            (closes #9132)
v8.2.3593
2021-11-14 11:41:31 +00:00
Dominique Pelle
6a950a6007 patch 8.2.3592: Test_hlset fails when terminal has many columns
Problem:    Test_hlset fails when terminal has many columns.
Solution:   Set the number of columns to 80. (Dominique Pellé, closes #9101,
            closes #9100)
v8.2.3592
2021-11-13 18:44:37 +00:00
naohiro ono
23beefed73 patch 8.2.3591: no event is triggered when closing a window
Problem:    No event is triggered when closing a window.
Solution:   Add the WinClosed event. (Naohiro Ono, closes #9110)
v8.2.3591
2021-11-13 12:38:49 +00:00
Drew Vogel
a0fca17251 patch 8.2.3590: test for v:colornames sometimes fails
Problem:    Test for v:colornames sometimes fails. (Dominique Pellé)
Solution:   Check features.  Clear v:colornames between tests. (Drew Vogel,
            closes #9105, closes #9073)
v8.2.3590
2021-11-13 10:50:01 +00:00
Bram Moolenaar
5300be620c patch 8.2.3589: failure when "term_rows" of term_start() is an unusual value
Problem:    Failure when the "term_rows" argument of term_start() is an
            unusual value.
Solution:   Limit to range of zero to 1000. (closes #9116)
v8.2.3589
2021-11-13 10:27:40 +00:00
Bram Moolenaar
606efc7df4 patch 8.2.3588: break statement is never reached
Problem:    Break statement is never reached.
Solution:   Rely on return value of set_chars_option() not changing.
            (closes #9103)
v8.2.3588
2021-11-12 19:52:47 +00:00
Bram Moolenaar
0a15c7676b patch 8.2.3587: compiler test fails with backslash file separator
Problem:    Compiler test fails with backslash file separator.
Solution:   Accept slash and backslash.
v8.2.3587
2021-11-12 16:09:54 +00:00
Bram Moolenaar
326e7da609 patch 8.2.3586: command completion test fails
Problem:    Command completion test fails.
Solution:   Add new argument to expected output
v8.2.3586
2021-11-12 16:06:03 +00:00
Bram Moolenaar
8813739673 patch 8.2.3585: crash when passing float to "term_rows" of term_start()
Problem:    Crash when passing float to "term_rows" in the options argument of
            term_start(). (Virginia Senioria)
Solution:   Bail out if the argument is not a number. (closes #9116)
v8.2.3585
2021-11-12 16:01:15 +00:00
Bram Moolenaar
58ef8a31d7 patch 8.2.3584: "verbose set efm" reports location of the :compiler command
Problem:    "verbose set efm" reports the location of the :compiler command.
            (Gary Johnson)
Solution:   Add the "-keepscript" argument to :command and use it when
            defining CompilerSet.
v8.2.3584
2021-11-12 11:25:11 +00:00
Bram Moolenaar
0c71114aed patch 8.2.3583: the "gd" and "gD" commands do not update search stats
Problem:    The "gd" and "gD" commands do not update search stats. (Gary
            Johnson)
Solution:   Clear search stats.
v8.2.3583
2021-11-12 10:30:04 +00:00
Bram Moolenaar
113cb513f7 Update runtime files 2021-11-07 20:27:04 +00:00
Bram Moolenaar
15d9890eee patch 8.2.3582: reading uninitialized memory when giving spell suggestions
Problem:    Reading uninitialized memory when giving spell suggestions.
Solution:   Check that preword is not empty.
v8.2.3582
2021-11-04 15:46:05 +00:00
Bram Moolenaar
0b5b06cb47 patch 8.2.3581: reading character past end of line
Problem:    Reading character past end of line.
Solution:   Correct the cursor column.
v8.2.3581
2021-11-04 15:10:11 +00:00
Christian Brabandt
aaec1d4fb1 patch 8.2.3580: gj does not move properly with a wide character
Problem:    gj does not move properly with a wide character.
Solution:   Move one to the right. (Christian Brabandt, closes #8702)
v8.2.3580
2021-11-04 13:28:29 +00:00
Christian Brabandt
4b2c804767 patch 8.2.3579: CI sometimes fails for MinGW
Problem:    CI sometimes fails for MinGW.
Solution:   Use backslashes in HandleSwapExists(). (Christian Brabandt,
            closes #9078)
v8.2.3579
2021-11-03 22:31:44 +00:00
Bram Moolenaar
b32aa8a6a1 Add missing piece of patch 8.2.3578 2021-11-03 22:25:06 +00:00
Yegappan Lakshmanan
d1a8d658e1 patch 8.2.3578: manipulating highlighting is complicated
Problem:    Manipulating highlighting is complicated.
Solution:   Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
            closes #9039)
v8.2.3578
2021-11-03 21:56:45 +00:00
Bram Moolenaar
0f0044125c patch 8.2.3577: overflow check fails with 32 ints
Problem:    Overflow check fails with 32 ints.
Solution:   Only test with 64 bit ints.
v8.2.3577
2021-11-03 13:43:16 +00:00
Sean Dewar
a63780b977 patch 8.2.3576: some functions are not documented for use with a method
Problem:    Some functions are not documented for use with a method.
Solution:   Add examples.  Fix that sign_unplacelist() only takes one
            argument. (Sean Dewar, closes #9081)
v8.2.3576
2021-11-03 13:15:47 +00:00
Bram Moolenaar
e551ccfb93 patch 8.2.3575: overflow check still fails when sizeof(int) == sizeof(long)
Problem:    Overflow check still fails when sizeof(int) == sizeof(long).
Solution:   Use a float to check the result.
v8.2.3575
2021-11-02 23:11:00 +00:00
Bram Moolenaar
8a1962d135 patch 8.2.3574: divide by zero
Problem:    Divide by zero.
Solution:   Don't check for overflow if multiplicand is zero.
v8.2.3574
2021-11-02 22:48:49 +00:00
Bram Moolenaar
69b3072d98 patch 8.2.3573: cannot decide whether to skip test that fails with 64 bit
Problem:    Cannot decide whether to skip test that fails with 64 bit ints.
            (closes #9072)
Solution:   Add v:sizeofint, v:sizeoflong and v:sizeofpointer.  Improve the
            check for multiply overflow.
v8.2.3573
2021-11-02 21:39:49 +00:00
zeertzjq
7a33ebfc5b patch 8.2.3572: memory leak when closing window and using "multispace"
Problem:    Memory leak when closing window and using "multispace" in
            'listchars'.
Solution:   Free the memory. (closes #9071)
v8.2.3572
2021-11-02 20:56:07 +00:00
Bram Moolenaar
e2f66064d1 patch 8.2.3571: some unicode control characters are considered printable
Problem:    Some unicode control characters are considered printable.
Solution:   Make 0x2060 - 0x2069 not printable.
v8.2.3571
2021-11-02 20:24:38 +00:00
Bram Moolenaar
ec6e63079d patch 8.2.3570: Test_very_large_count fails on 32bit systems
Problem:    Test_very_large_count fails on 32bit systems.
Solution:   Bail out when using 32 bit numbers. (closes #9072)
v8.2.3570
2021-11-01 22:58:43 +00:00
Christian Brabandt
fd916d654d patch 8.2.3569: error for :let when vimrc is Vim 9 script
Problem:    Error for :let when vimrc is Vim 9 script.
Solution:   Prepend :legacy in the code for converting arguments. (Christian
            Brabandt, closes #9068, closes #9077)
v8.2.3569
2021-11-01 22:44:33 +00:00
Dominique Pelle
8753c1dd2c patch 8.2.3568: ctrl-hat test fails with Athena and Motif
Problem:    Ctrl-hat test fails with Athena and Motif. (Elimar Riesebieter)
Solution:   Run the test only with GTK. (Dominique Pellé, closes #9069)
v8.2.3568
2021-10-31 20:19:17 +00:00
Dominique Pelle
9cd063e319 patch 8.2.3567: CTRL-I in Insert mode is not tested
Problem:    CTRL-I in Insert mode is not tested
Solution:   Add a test case. (Dominique Pellé, closes #8866)
v8.2.3567
2021-10-28 21:06:05 +01:00
Gary Johnson
44db603f69 patch 8.2.3566: build failure on old systems when using nano timestamp
Problem:    Build failure on old systems when using nano timestamp.
Solution:   Define _BSD_SOURCE, _SVID_SOURCE and _DEFAULT_SOURCE. (Gary
            Johnson, closes #9054)
v8.2.3566
2021-10-28 20:49:06 +01:00
Bram Moolenaar
2446ec9b56 patch 8.2.3565: Makefile dependencies are outdated
Problem:    Makefile dependencies are outdated. (Gary Johnson)
Solution:   Run "make depend" and add missing dependencies.
v8.2.3565
2021-10-26 12:00:01 +01:00
Bram Moolenaar
777e7c21b7 patch 8.2.3564: invalid memory access when scrolling without valid screen
Problem:    Invalid memory access when scrolling without a valid screen.
Solution:   Do not set VALID_BOTLINE in w_valid.
v8.2.3564
2021-10-25 17:07:04 +01:00
Bram Moolenaar
2a52196b78 patch 8.2.3563: build failure with +eval but without GUI or +termguicolors
Problem:    Build failure with +eval but without GUI or +termguicolors
Solution:   Adjust #ifdef. (John Marriott)
v8.2.3563
2021-10-25 10:30:14 +01:00
Drew Vogel
e30d10253f patch 8.2.3562: cannot add color names
Problem:    Cannot add color names.
Solution:   Add the v:colornames dictionary. (Drew Vogel, closes #8761)
v8.2.3562
2021-10-24 20:35:07 +01:00
James McCoy
3c5904d2a5 patch 8.2.3561: cscope has a complicated way of giving an error message
Problem:    Cscope has a complicated way of giving an error message.
Solution:   Use semsg(). (James McCoy, closes #9038)
v8.2.3561
2021-10-24 14:50:07 +01:00
Bram Moolenaar
844fb64a60 patch 8.2.3560: using freed memory with lambda
Problem:    Using freed memory with lambda.
Solution:   Do not free lines early, keep them until the expression is
            finished.
v8.2.3560
2021-10-23 13:32:30 +01:00
Bram Moolenaar
ee56f3f119 patch 8.2.3559: loop variable recreated every time
Problem:    Loop variable recreated every time.
Solution:   Keep the loop variable when looping.
v8.2.3559
2021-10-23 12:34:27 +01:00