Milly
6eca04e9f1
patch 9.1.0797: testing of options can be further improved
...
Problem: testing of options can be further improved
Solution: split the generated option test into test_options_all.vim,
add more test cases, save and restore values, fix use-after-free
closes : #15894
Signed-off-by: Milly <milly.ca@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-10-21 22:20:51 +02:00
Luca Saccarola
c9df1fb35a
patch 9.1.0327: No support for using $XDG_CONFIG_HOME
...
Problem: No support for using $XDG_CONFIG_HOME
Solution: optionally source $XDG_CONFIG_HOME/vim/vimrc
(Luca Saccarola)
fixes : #2034
closes : #14182
Signed-off-by: Luca Saccarola <github.e41mv@aleeas.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-14 22:57:50 +02:00
zeertzjq
c422662933
patch 9.1.0259: Normal mode TextChanged isn't tested properly
...
Problem: Normal mode TextChanged isn't tested properly.
Solution: Combine Test_Changed_ChangedI() and Test_Changed_ChangedI_2()
and also run it on Windows. Fix a typo in main.c.
(zeertzjq)
closes : #14396
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-03 22:38:07 +02:00
Christian Brabandt
ee17b6f70d
patch 9.0.1886: Various Typos
...
Problem: Various Typos
Solution: Fix Typos
This is a collection of typo related commits.
closes : #12753
closes : #13016
Co-authored-by: Adri Verhoef <a3@a3.xs4all.nl>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Viktor Szépe <viktor@szepe.net>
Co-authored-by: nuid64 <lvkuzvesov@proton.me>
Co-authored-by: Meng Xiangzhuo <aumo@foxmail.com>
Co-authored-by: Dominique Pellé <dominique.pelle@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-09 11:31:38 +02:00
Christian Brabandt
fc68299d43
patch 9.0.1857: [security] heap-use-after-free in is_qf_win()
...
Problem: heap-use-after-free in is_qf_win()
Solution: Check buffer is valid before accessing it
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-03 20:20:52 +02:00
K.Takata
3c240f608c
patch 9.0.1593: MS-Windows: assert error when compiled with debug mode
...
Problem: MS-Windows: assert error when compiled with debug mode.
Solution: Adjust arguments to setvbuf(). (Ken Takata, closes #12467 )
2023-05-31 12:47:45 +01:00
Bram Moolenaar
50809a45eb
patch 9.0.1572: error messages are not translated
...
Problem: Error messages are not translated.
Solution: Add _().
2023-05-20 16:39:07 +01:00
ichizok
378447fc18
patch 9.0.1544: recent glibc marks sigset() as a deprecated
...
Problem: Recent glibc marks sigset() as a deprecated.
Solution: Use sigaction() in mch_signal() if possible. (Ozaki Kiichi,
closes #12373 )
2023-05-11 22:25:42 +01:00
ichizok
7e5fe38efc
patch 9.0.1454: code indenting is confused by macros
...
Problem: Code indenting is confused by macros.
Solution: Put semicolon after the macros instead of inside. (Ozaki Kiichi,
closes #12257 )
2023-04-15 13:17:50 +01:00
Bram Moolenaar
c174c2e58c
patch 9.0.1428: cursor in wrong position when leaving insert mode
...
Problem: Cursor in wrong position when leaving insert mode.
Solution: Update the w_valid flags. Position the cursor also when not
redrawing. (closes #12137 )
2023-03-25 20:06:49 +00:00
Yegappan Lakshmanan
e857598896
patch 9.0.1196: code is indented more than necessary
...
Problem: Code is indented more than necessary.
Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
closes #11813 )
2023-01-14 12:32:28 +00:00
Bram Moolenaar
b536540ab3
patch 9.0.1101: unused global variable
...
Problem: Unused global variable.
Solution: Remove the variable. (closes #11752 )
2022-12-26 14:37:44 +00:00
Bram Moolenaar
c216a7a21a
patch 9.0.1007: there is no way to get a list of swap file names
...
Problem: There is no way to get a list of swap file names.
Solution: Add the swapfilelist() function. Use it in the test script to
clean up. Remove deleting individual swap files.
2022-12-05 13:50:55 +00:00
Bram Moolenaar
733a69b29f
patch 9.0.0980: the keyboard state response may end up in a shell command
...
Problem: The keyboard state response may end up in a shell command.
Solution: Only request the keyboard protocol state when the typeahead is
empty, no more commands are following and not exiting. Add the
t_RK termcap entry for this.
2022-12-01 12:03:47 +00:00
Bram Moolenaar
4c5678ff0c
patch 9.0.0977: it is not easy to see what client-server commands are doing
...
Problem: It is not easy to see what client-server commands are doing.
Solution: Add channel log messages if ch_log() is available. Move the
channel logging and make it available with the +eval feature.
2022-11-30 18:12:19 +00:00
Bram Moolenaar
e76062c078
patch 9.0.0965: using one window for executing autocommands is insufficient
...
Problem: Using one window for executing autocommands is insufficient.
Solution: Use up to five windows for executing autocommands.
2022-11-28 18:51:43 +00:00
Bram Moolenaar
24fe33a83a
patch 9.0.0934: various code formatting issues
...
Problem: Various code formatting issues.
Solution: Improve code formatting.
2022-11-24 00:09:02 +00:00
Bram Moolenaar
35fc61cb5b
patch 9.0.0917: the WinScrolled autocommand event is not enough
...
Problem: The WinScrolled autocommand event is not enough.
Solution: Add WinResized and provide information about what changed.
(closes #11576 )
2022-11-22 12:40:50 +00:00
Bram Moolenaar
0a60f79fd0
patch 9.0.0913: only change in current window triggers the WinScrolled event
...
Problem: Only a change in the current window triggers the WinScrolled
event.
Solution: Trigger WinScrolled if any window scrolled or changed size.
(issue #11576 )
2022-11-19 21:18:11 +00:00
K.Takata
0fd7be7f95
patch 9.0.0848: help item for --log argument is not aligned nicely
...
Problem: Help item for --log argument is not aligned nicely.
Solution: Add a Tab. (Ken Takata, closes #11521 )
2022-11-09 16:29:24 +00:00
Martin Tournoij
7904fa420e
patch 9.0.0657: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +cmdwin feature. Now the tiny and small builds are
equal, drop the small build. (Martin Tournoij, closes #11268 )
2022-10-04 16:28:45 +01:00
Bram Moolenaar
f7e7302acb
patch 9.0.0571: MS-Windows: CTRL-C can make Vim exit
...
Problem: MS-Windows: CTRL-C can make Vim exit.
Solution: Check the not-a-term argument.
2022-09-24 13:10:04 +01:00
Luuk van Baal
470a14140b
patch 9.0.0461: 'scroll' is not always updated
...
Problem: 'scroll' is not always updated.
Solution: Call win_init_size() at the right place.
2022-09-14 01:27:23 +01:00
Luuk van Baal
5ed391708a
patch 9.0.0455: a few problems with 'splitscroll'
...
Problem: A few problems with 'splitscroll'.
Solution: Fix 'splitscroll' problems. (Luuk van Baal, closes #11117 )
2022-09-13 11:55:10 +01:00
Bram Moolenaar
58779858fb
patch 9.0.0397: :defer not tested with exceptions and ":qa!"
...
Problem: :defer not tested with exceptions and ":qa!".
Solution: Test :defer works when exceptions are thrown and when ":qa!" is
used. Invoke the deferred calls on exit.
2022-09-06 18:31:14 +01:00
Bram Moolenaar
13608d851a
patch 9.0.0318: clearing screen causes flicker
...
Problem: Clearing screen causes flicker.
Solution: Do not clear but redraw in more cases. Add () to "wait_return".
2022-08-29 15:06:50 +01:00
Bram Moolenaar
471c0fa3ee
patch 9.0.0245: mechanism to prevent recursive screen updating is incomplete
...
Problem: Mechanism to prevent recursive screen updating is incomplete.
Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl().
(issue #10952 )
2022-08-22 15:19:16 +01:00
Bram Moolenaar
a4d158b3c8
patch 9.0.0206: redraw flags are not named specifically
...
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-14 14:17:45 +01:00
Bram Moolenaar
7a1d32809b
patch 8.2.5109: mode not updated after CTRL-O CTRL-C in Insert mode
...
Problem: Mode not updated after CTRL-O CTRL-C in Insert mode.
Solution: Set redraw_mode and use it. (closes #10581 )
2022-06-16 13:04:45 +01:00
Bram Moolenaar
2d12c25a1b
patch 8.2.5084: when the GUI shows a dialog tests get stuck
...
Problem: When the GUI shows a dialog tests get stuck.
Solution: Add the --gui-dialog-file argument.
2022-06-13 21:42:45 +01:00
Bram Moolenaar
1d97db3d98
patch 8.2.5056: the channel log only contains some of the raw terminal output
...
Problem: The channel log only contains some of the raw terminal output.
Solution: Add the "o" flag to log all terminal output. Use it for "--log".
2022-06-04 22:15:54 +01:00
Bram Moolenaar
8e145b8246
patch 8.2.4993: smart/C/lisp indenting is optional
...
Problem: smart/C/lisp indenting is optional, which makes the code more
complex, while it only reduces the executable size a bit.
Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
2022-05-21 20:17:31 +01:00
Bram Moolenaar
249591057b
patch 8.2.4911: the mode #defines are not clearly named
...
Problem: The mode #defines are not clearly named.
Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-05-07 20:01:16 +01:00
Bram Moolenaar
31e5c60a68
patch 8.2.4753: error from setting an option is silently ignored
...
Problem: Error from setting an option is silently ignored.
Solution: Handle option value errors better. Fix uses of N_().
2022-04-15 13:53:33 +01:00
Bram Moolenaar
c9a9a0ac1e
patch 8.2.4742: there is no way to start logging very early in startup
...
Problem: There is no way to start logging very early in startup.
Solution: Add the --log argument. Include the date in the start message in
the log file. Avoid a duplicate message when forking. Log an
executed shell command.
2022-04-12 15:09:23 +01:00
zeertzjq
d58862d18f
patch 8.2.4739: accessing freed memory after WinScrolled autocmd event
...
Problem: Accessing freed memory after WinScrolled autocmd event.
Solution: Check the window pointer is still valid. (closes #10156 )
Remove the argument from may_trigger_winscrolled().
2022-04-12 11:32:48 +01:00
LemonBoy
0937182d49
patch 8.2.4713: plugins cannot track text scrolling
...
Problem: Plugins cannot track text scrolling.
Solution: Add the WinScrolled event. (closes #10102 )
2022-04-08 15:18:45 +01:00
Bram Moolenaar
0b962e5685
patch 8.2.4677: the Athena GUI support is outdated
...
Problem: The Athena GUI support is outdated.
Solution: Remove the Athena GUI code.
2022-04-03 18:02:37 +01:00
zeertzjq
3e559cd884
patch 8.2.4638: superfluous check if a redraw is needed for 'cursorline'
...
Problem: Superfluous check if a redraw is needed for 'cursorline'.
Solution: Remove check_redraw_cursorline(). (closes #10030 , closes #10029 )
2022-03-27 19:26:55 +01:00
Bram Moolenaar
e7a74d5375
patch 8.2.4591: cursor line not updated when a callback moves the cursor
...
Problem: Cursor line not updated when a callback moves the cursor.
Solution: Check if the cursor moved. (closes #9970 )
2022-03-19 11:10:15 +00:00
K.Takata
b247e0622e
patch 8.2.4316: __CYGWIN32__ is not defined on 64 bit systems
...
Problem: __CYGWIN32__ is not defined on 64 bit systems.
Solution: Update #ifdefs. (Ken Takata, closes #9709 )
2022-02-07 10:45:23 +00:00
Bram Moolenaar
4fa1346bf4
patch 8.2.4300: cannot build tiny version
...
Problem: Cannot build tiny version. (Tony Mechelynck)
Solution: Add #ifdef.
2022-02-05 12:39:24 +00:00
Bram Moolenaar
46f3080e5c
patch 8.2.4299: SafeState autocommand interferes with debugging
...
Problem: SafeState autocommand interferes with debugging.
Solution: Do not trigger SafeState while debugging. (closes #9697 )
2022-02-05 12:10:52 +00:00
K.Takata
972db23279
patch 8.2.4294: MS-Windows: #ifdefs for Cygwin are too complicated
...
Problem: MS-Windows: #ifdefs for Cygwin are too complicated.
Solution: Simplify the conditions. (Ken Takata, closes #9693 )
2022-02-04 10:45:38 +00:00
Yegappan Lakshmanan
4dc0dd8699
patch 8.2.4252: generating the normal command table at runtime is inefficient
...
Problem: Generating the normal command table at runtime is inefficient.
Solution: Generate the table with a Vim script and put it in a header file.
(Yegappan Lakshmanan, closes #9648 )
2022-01-29 13:06:40 +00:00
Bram Moolenaar
069613c9e8
patch 8.2.4098: typing "interrupt" at debug prompt may keep exception around
...
Problem: Typing "interrupt" at debug prompt may keep exception around,
causing function calls to fail.
Solution: Discard any exception at the toplevel. (closes #9532 )
2022-01-15 15:23:44 +00:00
K.Takata
33b25d1317
patch 8.2.4079: MS-Windows: "gvim --version" didn't work with VIMDLL
...
Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL.
Solution: Adjust #ifdef. (Ken Takata, closes #9517 )
2022-01-13 16:06:45 +00:00
Dominique Pelle
748b308eeb
patch 8.2.4038: various code not used when features are disabled
...
Problem: Various code not used when features are disabled.
Solution: Add #ifdefs. (Dominique Pellé, closes #9491 )
2022-01-08 12:41:16 +00:00
Bram Moolenaar
9a846fbaa5
patch 8.2.3977: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-01 21:59:18 +00:00
Bram Moolenaar
460ae5dfca
patch 8.2.3967: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 14:19:49 +00:00