Bram Moolenaar
7f9969c559
patch 9.0.0067: cannot show virtual text
...
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
2022-07-25 18:13:54 +01:00
Bram Moolenaar
7ce5b2b590
patch 8.2.4969: changing text in Visual mode may cause invalid memory access
...
Problem: Changing text in Visual mode may cause invalid memory access.
Solution: Check the Visual position after making a change.
2022-05-16 19:40:59 +01:00
Bram Moolenaar
6ed545e797
patch 8.2.4928: various white space and cosmetic mistakes
...
Problem: Various white space and cosmetic mistakes.
Solution: Change spaces to tabs, improve comments.
2022-05-09 20:09:23 +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
zeertzjq
db08887f24
patch 8.2.4858: K_SPECIAL may be escaped twice
...
Problem: K_SPECIAL may be escaped twice.
Solution: Avoid double escaping. (closes #10340 )
2022-05-02 22:53:45 +01:00
zeertzjq
17c95d9608
patch 8.2.4829: a key may be simplified to NUL
...
Problem: A key may be simplified to NUL.
Solution: Use K_ZERO instead. Use macros instead of hard coded values.
(closes #10290 )
2022-04-26 12:51:07 +01:00
Bram Moolenaar
fe154990c1
patch 8.2.4610: some conditions are always true
...
Problem: Some conditions are always true.
Solution: Remove the useless conditions. (closes #9993 )
2022-03-22 20:42:12 +00:00
Bram Moolenaar
28e8f73ae2
patch 8.2.4335: no autocommand event triggered before changing directory
...
Problem: No autocommand event triggered before changing directory. (Ronnie
Magatti)
Solution: Add DirChangedPre. (closes #9721 )
2022-02-09 12:58:20 +00:00
zeertzjq
73257149d7
patch 8.2.4283: using a variable for the return value is not needed
...
Problem: Using a variable for the return value is not needed.
Solution: Return the value directly. (closes #9687 )
2022-02-02 13:16:37 +00:00
Bram Moolenaar
424bcae1fb
patch 8.2.4273: the EBCDIC support is outdated
...
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
2022-01-31 14:59:41 +00:00
Dominique Pelle
e8741a73e2
patch 8.2.4119: build failure when disabling the channel feature
...
Problem: Build failure when disabling the channel feature.
Solution: Adjust #ifdef. (Dominique Pellé, closes #9545 )
2022-01-17 11:23:45 +00:00
Bram Moolenaar
e32c3c462c
patch 8.2.4099: Vim9: cannot use Vim9 syntax in mapping
...
Problem: Vim9: cannot use Vim9 syntax in mapping.
Solution: Add <ScriptCmd> to use the script context for a command.
2022-01-15 18:26:04 +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
1d423ef75f
patch 8.2.3987: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 21:26:16 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Bram Moolenaar
e124204c4f
patch 8.2.3830: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2021-12-16 20:56:57 +00:00
Bram Moolenaar
651fca85c7
patch 8.2.3699: the +title feature adds a lot of #ifdef but little code
...
Problem: The +title feature adds a lot of #ifdef but little code.
Solution: Graduate the +title feature.
2021-11-29 20:39:38 +00:00
Bram Moolenaar
7c25a7c0a1
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 )
2021-10-05 19:19:35 +01:00
Bram Moolenaar
02f8694a6b
patch 8.2.3357: crash when 'virtualedit' is set and window is narrow
...
Problem: Crash when 'virtualedit' is set and window is narrow. ()
Solution: Check that width is not zero. (closes #8767 )
2021-08-17 22:14:29 +02:00
Yegappan Lakshmanan
cbae580283
patch 8.2.3301: memory allocation functions don't have their own place
...
Problem: Memory allocation functions don't have their own place.
Solution: Move memory allocation functions to alloc.c. (Yegappan
Lakshmanan, closes #8717 )
2021-08-06 21:51:55 +02:00
Yegappan Lakshmanan
28d8421bfb
patch 8.2.3254: win_gettype() does not recognize a quickfix window
...
Problem: win_gettype() does not recognize a quickfix window.
Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676 )
2021-07-31 12:43:23 +02:00
Yegappan Lakshmanan
41114a2a27
patch 8.2.3244: Lua 5.3 print() with a long string crashes
...
Problem: Lua 5.3 print() with a long string crashes.
Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan,
closes #8655 )
2021-07-29 20:22:14 +02:00
Bram Moolenaar
5d7c2df536
patch 8.2.3228: cannot use a simple block for the :command argument
...
Problem: Cannot use a simple block for the :command argument. (Maarten
Tournoij)
Solution: Recognize a simple {} block. (issue #8623 )
2021-07-27 21:17:32 +02:00
Gary Johnson
53ba05b090
patch 8.2.3227: 'virtualedit' can only be set globally
...
Problem: 'virtualedit' can only be set globally.
Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638 )
2021-07-26 22:19:10 +02:00
Yegappan Lakshmanan
a2438132a6
patch 8.2.3139: functions for string manipulation are spread out
...
Problem: Functions for string manipulation are spread out.
Solution: Move string related functions to a new source file. (Yegappan
Lakshmanan, closes #8470 )
2021-07-10 21:29:18 +02:00
Mike Williams
a3d1b29bd3
patch 8.2.3079: Powershell core not supported by default
...
Problem: Powershell core not supported by default.
Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481 )
2021-06-30 20:56:00 +02:00
Mike Williams
127950241e
patch 8.2.3071: shell options are not set properly for PowerShell
...
Problem: Shell options are not set properly for PowerShell.
Solution: Use better option defaults. (Mike Willams, closes #8459 )
2021-06-28 20:53:58 +02:00
K.Takata
eeec254878
patch 8.2.2922: computing array length is done in various ways
...
Problem: Computing array length is done in various ways.
Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305 )
2021-06-02 13:28:16 +02:00
Bram Moolenaar
e3d1f4c982
patch 8.2.2728: special key names don't work if 'isident' is cleared
...
Problem: Special key names don't work if 'isident' is cleared.
Solution: Add vim_isNormalIDc() and use it for special key names.
(closes #2389 )
2021-04-06 20:21:59 +02:00
Bram Moolenaar
7a6eaa06f9
patch 8.2.2635: Vim9: cannot define an inline function
...
Problem: Vim9: cannot define an inline function.
Solution: Make an inline function mostly work.
2021-03-21 20:53:29 +01:00
Bram Moolenaar
21a83bd53d
patch 8.2.2546: typo in mouse key name
...
Problem: Typo in mouse key name.
Solution: Fix the typo. (issue #4725 )
2021-02-23 19:19:58 +01:00
Bram Moolenaar
ccb47a2899
patch 8.2.2383: focus escape sequences are not named
...
Problem: Focus escape sequences are not named in ":set termcap" output.
Solution: Add the names to the list. (closes #7718 )
2021-01-21 13:36:43 +01:00
Bram Moolenaar
957cf67d50
patch 8.2.1978: making a mapping work in all modes is complicated
...
Problem: Making a mapping work in all modes is complicated.
Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282 ,
closes 4784, based on patch by Bjorn Linse)
2020-11-12 14:21:06 +01:00
Bram Moolenaar
b4bcea474d
patch 8.2.1914: Vim9: cannot put line break in expression for '=' register
...
Problem: Vim9: cannot put line break in expression for '=' register.
Solution: Pass fgetline to set_expr_line(). (closes #7209 )
2020-10-28 13:53:50 +01:00
Bram Moolenaar
9a033d7b18
patch 8.2.1811: mapping Ctrl-key does not work for '{', '}' and '|'
...
Problem: Mapping Ctrl-key does not work for '{', '}' and '|'.
Solution: Remove the shift modifier. (closes #6457 )
2020-10-07 17:29:48 +02:00
Bram Moolenaar
4e2114e988
patch 8.2.1809: mapping some keys with Ctrl does not work properly
...
Problem: Mapping some keys with Ctrl does not work properly.
Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
2020-10-07 16:12:37 +02:00
Bram Moolenaar
daff0fb738
patch 8.2.1752: GTK GUI: cannot map alt-? with <A-?>
...
Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat)
Solution: Adjust the characters for which the shift modifier is removed.
(closes #7016 ) Make Motif and Win32 use the same function as GTK.
2020-09-27 13:16:46 +02:00
Bram Moolenaar
097148e849
patch 8.2.1422: the Mac GUI implementation is outdated
...
Problem: The Mac GUI implementation is outdated and probably doesn't even
work.
Solution: Remove the Mac GUI code. The MacVim project provides the
supported Vim GUI version.
2020-08-11 21:58:20 +02:00
Bram Moolenaar
38ddf333f6
patch 8.2.1329: Vim9: cannot define global function inside :def function
...
Problem: Vim9: cannot define global function inside :def function.
Solution: Assign to global variable instead of local. (closes #6584 )
2020-07-31 22:05:04 +02:00
Bram Moolenaar
ef6746f637
patch 8.2.1019: mapping <M-S-a> does not work in the GUI
...
Problem: Mapping <M-S-a> does not work in the GUI.
Solution: Move the logic to remove the shift modifier to
may_remove_shift_modifier() and also use it in the GUI.
2020-06-20 14:43:23 +02:00
Bram Moolenaar
20298ce679
patch 8.2.1015: popup filter gets key with modifier prepended
...
Problem: Popup filter gets key with modifier prepended when using
modifyOtherKeys.
Solution: Remove the shift modifier when it is included in the key, also
when the Alt or Meta modifier is used.
2020-06-19 21:46:52 +02:00
Bram Moolenaar
df44a27b53
patch 8.2.0928: many type casts are used for vim_strnsave()
...
Problem: Many type casts are used for vim_strnsave().
Solution: Make the length argument size_t instead of int. (Ken Takata,
closes #5633 ) Remove some type casts.
2020-06-07 20:49:05 +02:00
Bram Moolenaar
fccd93f091
patch 8.2.0867: using \{xxx} for encoding a modifier is not nice
...
Problem: Using \{xxx} for encoding a modifier is not nice.
Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
different code.
2020-05-31 22:06:51 +02:00
Bram Moolenaar
ebe9d34aa0
patch 8.2.0855: GUI tests fail because the test doesn't use a modifier
...
Problem: GUI tests fail because the test doesn't use a modifier.
Solution: Add "\{xxx}" to be able to encode a modifier.
2020-05-30 21:52:54 +02:00
Bram Moolenaar
7e9f351b2e
patch 8.2.0751: Vim9: performance can be improved
...
Problem: Vim9: performance can be improved.
Solution: Don't call break. Inline check for list materialize. Make an
inline version of ga_grow().
2020-05-13 22:44:22 +02:00
Bram Moolenaar
03a9f84817
patch 8.2.0747: cannot forcefully close all popups
...
Problem: Cannot forcefully close all popups.
Solution: Add the "force" argument to popup_clear(). Use it after running a
test. Put back the check for a popup when editing a file.
2020-05-13 13:40:16 +02:00
Bram Moolenaar
06f0853cb0
patch 8.2.0745: crash on exit when not all popups are closed
...
Problem: Crash on exit when not all popups are closed.
Solution: Close popups when freeing all memory. Disable checking for popup
when editing a file for now.
2020-05-12 23:45:16 +02:00
Bram Moolenaar
df1956075d
patch 8.2.0572: using two lines for free and reset
...
Problem: Using two lines for free and reset.
Solution: Use VIM_CLEAR() instead. (Yegappan Lakshmanan)
2020-04-13 18:13:33 +02:00
Bram Moolenaar
0015795baa
patch 8.2.0571: double free when passing invalid argument to job_start()
...
Problem: Double free when passing invalid argument to job_start().
Solution: Clear the argument when freed. (Masato Nishihata, closes #5926 )
2020-04-13 17:44:47 +02:00
Bram Moolenaar
aeea72151c
patch 8.2.0500: using the same loop in many places
...
Problem: Using the same loop in many places.
Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339 )
2020-04-02 18:50:46 +02:00