zeertzjq
1bed993c01
patch 9.0.1826: keytrans() doesn't translate recorded key typed in a GUI
...
Problem: keytrans() doesn't translate recorded key typed in a GUI
Solution: Handle CSI like K_SPECIAL, like in mb_unescape()
closes : #12964
closes : #12966
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2023-08-30 19:38:24 +02:00
Christian Brabandt
e978b4534a
Farewell to Bram and dedicate upcoming Vim 9.1 to him ( #12749 )
...
* Dedicate upcoming Vim 9.1 to Bram
Also replace in a few more places Brams email address and mention new
maintainers.
* Remove Bram from any Maintainer role
* runtime: Align Header
* it's mailing list not mailinglist
2023-08-13 10:33:05 +02:00
Bram Moolenaar
da51ad51bf
patch 9.0.1635: error message is cleared when removing mode message
...
Problem: Error message is cleared when removing mode message.
Solution: Also reset flags when the message is further down.
2023-06-15 18:44:50 +01:00
Bram Moolenaar
800cdbb7ca
patch 9.0.1634: message is cleared when removing mode message
...
Problem: Message is cleared when removing mode message (Gary Johnson).
Solution: Do not clear the command line after displaying a message.
2023-06-15 16:40:02 +01:00
Bram Moolenaar
097c5370ea
patch 9.0.1576: users may not know what to do with an internal error
...
Problem: Users may not know what to do with an internal error.
Solution: Add a translated message with instructions.
2023-05-24 21:02:24 +01:00
cero1988
1d87e11a1e
patch 9.0.1314: :messages behavior depends on 'fileformat' of current buffer
...
Problem: :messages behavior depends on 'fileformat' of current buffer.
Solution: Pass the buffer pointer to where it is used. (Mirko Ceroni,
closes #11995 )
2023-02-16 15:03:12 +00:00
zeertzjq
1b438a8228
patch 9.0.1271: using sizeof() and subtract array size is tricky
...
Problem: Using sizeof() and subtract array size is tricky.
Solution: Use offsetof() instead. (closes #11926 )
2023-02-01 13:11:15 +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
c32949b077
patch 9.0.1144: reading beyond text
...
Problem: Reading beyond text.
Solution: Add strlen_maxlen() and use it.
2023-01-04 15:56:51 +00:00
Bram Moolenaar
3b8c7083b2
patch 9.0.0978: build errors without the +channel feature
...
Problem: Build errors without the +channel feature. (John Marriott)
Solution: Adjust #ifdefs.
2022-11-30 20:20:56 +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
4e6072b8d3
patch 9.0.0972: build failure on some systems
...
Problem: Build failure on some systems.
Solution: Adjust #ifdefs related to the termresponse feature.
2022-11-29 16:09:18 +00:00
Bram Moolenaar
88456cd3c4
patch 9.0.0904: various comment and indent flaws
...
Problem: Various comment and indent flaws.
Solution: Improve comments and indenting.
2022-11-18 22:14:09 +00:00
Martin Tournoij
ba43e76fcd
patch 9.0.0747: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Gradudate the +cmdline_info feature. (Martin Tournoij,
closes #11330 )
2022-10-13 22:12:15 +01:00
Bram Moolenaar
1190139ed0
patch 9.0.0595: extra newline in messages after a verbose shell message
...
Problem: Extra newline in messages after a verbose shell message.
Solution: Output the newline with msg_putchar_attr(). (closes #11233 )
Make it possible to filter a screendump before comparing it.
2022-09-26 19:50:44 +01:00
Bram Moolenaar
838b746cce
patch 9.0.0592: display not cleared when scrolling back in messages
...
Problem: Display not cleared when scrolling back in messages, a background
color is set and t_ut is empty.
Solution: Clear to the end of the display if needed. (closes #8973 )
2022-09-26 15:19:56 +01:00
zeertzjq
bdedd2bcce
patch 9.0.0511: unnecessary scrolling for message of only one line
...
Problem: Unnecessary scrolling for message of only one line.
Solution: Only set msg_scroll when needed. (closes #11178 )
2022-09-20 12:45:15 +01:00
zeertzjq
cdc839353f
patch 9.0.0449: there is no easy way to translate a key code into a string
...
Problem: There is no easy way to translate a string with a key code into a
readable string.
Solution: Add the keytrans() function. (closes #11114 )
2022-09-12 13:38:41 +01:00
Bram Moolenaar
cf0995d7d7
patch 9.0.0447: using :echowin while at the hit-enter prompt causes problems
...
Problem: Using :echowin while at the hit-enter prompt causes problems.
Solution: Do not prompt for :echowin. Postpone showing the message window.
Start the timer when the window is displayed.
2022-09-11 21:36:17 +01:00
Bram Moolenaar
3b474dcd30
patch 9.0.0352: using :echowindow in a timer clears part of message
...
Problem: using :echowindow in a timer clears part of message
Solution: Do not use msg_clr_eos().
2022-09-01 17:01:32 +01:00
Bram Moolenaar
a2a8973e51
patch 9.0.0340: the 'cmdheight' zero support causes too much trouble
...
Problem: The 'cmdheight' zero support causes too much trouble.
Solution: Revert support for 'cmdheight' being zero.
2022-08-31 14:46:18 +01:00
Bram Moolenaar
24735f2a19
patch 9.0.0329: ":highlight" hangs when 'cmdheight' is zero
...
Problem: ":highlight" hangs when 'cmdheight' is zero.
Solution: Add to msg_col when using the message window. (closes #11014 )
2022-08-30 15:44:22 +01:00
Bram Moolenaar
37fef16c22
patch 9.0.0321: cannot use the message popup window directly
...
Problem: Cannot use the message popup window directly.
Solution: Add ":echowindow".
2022-08-29 18:16:32 +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
309c4e0ed7
patch 9.0.0315: shell command is displayed in message window
...
Problem: Shell command is displayed in message window.
Solution: Do not echo the shell command in the message window.
2022-08-29 12:23:39 +01:00
Bram Moolenaar
b849c82851
patch 9.0.0310: output of :messages dissappears when cmdheight is zero
...
Problem: Output of :messages dissappears when cmdheight is zero.
Solution: Do not use the messages window for :messages. Make Esc close the
messages window.
2022-08-28 22:46:21 +01:00
Bram Moolenaar
33a5dd8b23
patch 9.0.0308: when cmdheight is zero the attention prompt doesn't show
...
Problem: When cmdheight is zero the attention prompt doesn't show.
Solution: Do not use the message window for a prompt.
2022-08-28 22:17:50 +01:00
Bram Moolenaar
f2fb54f641
patch 9.0.0306: buffer write message is two lines in message popup window
...
Problem: Buffer write message is two lines in message popup window.
Solution: Overwrite message if "msg_scroll" is off.
2022-08-28 20:58:51 +01:00
Bram Moolenaar
878e1d25a0
patch 9.0.0301: the message window popup is delayed after an error message
...
Problem: The message window popup is delayed after an error message.
Solution: Do not set emsg_on_display when using the message window.
2022-08-28 17:53:23 +01:00
Wilhelm Payne
8934ec027d
patch 9.0.0298: compiler warning for size_t to int conversion
...
Problem: Compiler warning for size_t to int conversion.
Solution: Add a type cast. (Wilhelm Payne, closes #11000 )
2022-08-28 17:08:18 +01:00
Bram Moolenaar
35a4fbc5d0
patch 9.0.0296: message in popup is shortened unnecessary
...
Problem: Message in popup is shortened unnecessary.
Solution: Do not use 'showcmd' and 'ruler' for a message in the popup.
Set the timer when unhiding the message popup.
2022-08-28 14:39:53 +01:00
Bram Moolenaar
d54af2e550
patch 9.0.0290: compiler warning for variable set but not used
...
Problem: Compiler warning for variable set but not used.
Solution: Add #ifdef.
2022-08-27 22:05:13 +01:00
Bram Moolenaar
beedd0a266
patch 9.0.0289: invalid memory write
...
Problem: Invalid memory write.
Solution: Do not put NUL in a static string.
2022-08-27 21:52:52 +01:00
Bram Moolenaar
9198de3ae2
patch 9.0.0288: when 'cmdheight' is zero some messages are not displayed
...
Problem: When 'cmdheight' is zero some messages are not displayed.
Solution: Use a popup notification window.
2022-08-27 21:30:03 +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
213e70e284
patch 9.0.0227: cannot read error message when abort() is called
...
Problem: Cannot read error message when abort() is called.
Solution: Output a newline before calling abort().
2022-08-19 13:17:21 +01:00
zeertzjq
28c162f6f1
patch 9.0.0207: stacktrace not shown when debugging
...
Problem: Stacktrace not shown when debugging.
Solution: Set msg_scroll in msg_source(). (closes #10917 )
2022-08-14 14:49:50 +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
Shougo Matsushita
f39cfb7262
patch 9.0.0114: the command line takes up space even when not used
...
Problem: The command line takes up space even when not used.
Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita,
closes #10675 , closes #940 )
2022-07-30 16:54:05 +01:00
zeertzjq
46af7bc08d
patch 9.0.0099: scrollback can be wrong after redrawing the command line
...
Problem: Scrollback can be wrong after redrawing the command line.
Solution: Clear unfinished scrollback when redrawing. (closes #10807 )
2022-07-28 12:34:09 +01:00
zeertzjq
ecdc82e74e
patch 9.0.0071: command overlaps with printed text in scrollback
...
Problem: Command overlaps with printed text in scrollback.
Solution: Clear until end-of-line and use correct message chunk.
(closes #10765 , closes #10764 )
2022-07-25 19:50:57 +01:00
Bram Moolenaar
b8329db36a
patch 9.0.0044: typos in comments, wrapping lines
...
Problem: Typos in comments, wrapping lines.
Solution: Adjust comments. Wrap lines.
2022-07-06 13:31:28 +01:00
Bram Moolenaar
083692d598
patch 9.0.0009: going past the end of a menu item with only modifier
...
Problem: Going past the end of a menu item with only modifier.
Solution: Check for NUL.
2022-06-29 21:16:58 +01:00
Bram Moolenaar
0fbc9260a7
patch 8.2.5161: might still access invalid memory
...
Problem: Might still access invalid memory.
Solution: Add extra check for negative value.
2022-06-26 11:17:10 +01:00
Bram Moolenaar
74ac29cecd
patch 8.2.5097: using uninitialized memory when using 'listchars'
...
Problem: Using uninitialized memory when using 'listchars'.
Solution: Use the length returned by mb_char2bytes(). (closes #10576 )
2022-06-15 12:12:44 +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
zeertzjq
b5f0801b1f
patch 8.2.5070: unnecessary code
...
Problem: Unnecessary code.
Solution: Remove code that isn't needed. (closes #10534 )
2022-06-09 13:55:28 +01:00
Bram Moolenaar
aca12fd89b
patch 8.2.5066: timer_create is not available on every Mac system
...
Problem: Timer_create is not available on every Mac system. (Hisashi T
Fujinaka)
Solution: Adjust #ifdef.
2022-06-07 10:16:15 +01:00
zeertzjq
0519ce0039
patch 8.2.4924: maparg() may return a string that cannot be reused
...
Problem: maparg() may return a string that cannot be reused.
Solution: use msg_outtrans_special() instead of str2special().
(closes #10384 )
2022-05-09 12:16:19 +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