| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: Code is indented more than necessary.
Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
closes #11813)
|
|
|
|
|
| |
Problem: Reading beyond text.
Solution: Add strlen_maxlen() and use it.
|
|
|
|
|
| |
Problem: Build errors without the +channel feature. (John Marriott)
Solution: Adjust #ifdefs.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Build failure on some systems.
Solution: Adjust #ifdefs related to the termresponse feature.
|
|
|
|
|
| |
Problem: Various comment and indent flaws.
Solution: Improve comments and indenting.
|
|
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Gradudate the +cmdline_info feature. (Martin Tournoij,
closes #11330)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Unnecessary scrolling for message of only one line.
Solution: Only set msg_scroll when needed. (closes #11178)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: using :echowindow in a timer clears part of message
Solution: Do not use msg_clr_eos().
|
|
|
|
|
| |
Problem: The 'cmdheight' zero support causes too much trouble.
Solution: Revert support for 'cmdheight' being zero.
|
|
|
|
|
| |
Problem: ":highlight" hangs when 'cmdheight' is zero.
Solution: Add to msg_col when using the message window. (closes #11014)
|
|
|
|
|
| |
Problem: Cannot use the message popup window directly.
Solution: Add ":echowindow".
|
|
|
|
|
| |
Problem: Clearing screen causes flicker.
Solution: Do not clear but redraw in more cases. Add () to "wait_return".
|
|
|
|
|
| |
Problem: Shell command is displayed in message window.
Solution: Do not echo the shell command in the message window.
|
|
|
|
|
|
| |
Problem: Output of :messages dissappears when cmdheight is zero.
Solution: Do not use the messages window for :messages. Make Esc close the
messages window.
|
|
|
|
|
| |
Problem: When cmdheight is zero the attention prompt doesn't show.
Solution: Do not use the message window for a prompt.
|
|
|
|
|
| |
Problem: Buffer write message is two lines in message popup window.
Solution: Overwrite message if "msg_scroll" is off.
|
|
|
|
|
| |
Problem: The message window popup is delayed after an error message.
Solution: Do not set emsg_on_display when using the message window.
|
|
|
|
|
| |
Problem: Compiler warning for size_t to int conversion.
Solution: Add a type cast. (Wilhelm Payne, closes #11000)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Compiler warning for variable set but not used.
Solution: Add #ifdef.
|
|
|
|
|
| |
Problem: Invalid memory write.
Solution: Do not put NUL in a static string.
|
|
|
|
|
| |
Problem: When 'cmdheight' is zero some messages are not displayed.
Solution: Use a popup notification window.
|
|
|
|
|
|
| |
Problem: Mechanism to prevent recursive screen updating is incomplete.
Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl().
(issue #10952)
|
|
|
|
|
| |
Problem: Cannot read error message when abort() is called.
Solution: Output a newline before calling abort().
|
|
|
|
|
| |
Problem: Stacktrace not shown when debugging.
Solution: Set msg_scroll in msg_source(). (closes #10917)
|
|
|
|
|
| |
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Scrollback can be wrong after redrawing the command line.
Solution: Clear unfinished scrollback when redrawing. (closes #10807)
|
|
|
|
|
|
| |
Problem: Command overlaps with printed text in scrollback.
Solution: Clear until end-of-line and use correct message chunk.
(closes #10765, closes #10764)
|
|
|
|
|
| |
Problem: Typos in comments, wrapping lines.
Solution: Adjust comments. Wrap lines.
|
|
|
|
|
| |
Problem: Going past the end of a menu item with only modifier.
Solution: Check for NUL.
|
|
|
|
|
| |
Problem: Might still access invalid memory.
Solution: Add extra check for negative value.
|
|
|
|
|
| |
Problem: Using uninitialized memory when using 'listchars'.
Solution: Use the length returned by mb_char2bytes(). (closes #10576)
|
|
|
|
|
| |
Problem: When the GUI shows a dialog tests get stuck.
Solution: Add the --gui-dialog-file argument.
|
|
|
|
|
| |
Problem: Unnecessary code.
Solution: Remove code that isn't needed. (closes #10534)
|
|
|
|
|
|
| |
Problem: Timer_create is not available on every Mac system. (Hisashi T
Fujinaka)
Solution: Adjust #ifdef.
|
|
|
|
|
|
| |
Problem: maparg() may return a string that cannot be reused.
Solution: use msg_outtrans_special() instead of str2special().
(closes #10384)
|
|
|
|
|
| |
Problem: The mode #defines are not clearly named.
Solution: Prepend MODE_. Renumber them to put the mapped modes first.
|
|
|
|
|
| |
Problem: Listing of mapping with K_SPECIAL is wrong.
Solution: Adjust escaping of special characters. (closes #10351)
|
|
|
|
|
| |
Problem: Some conditions are always true.
Solution: Remove the useless conditions. (closes #9993)
|
|
|
|
|
| |
Problem: When reloading not all properties are detected.
Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)
|
|
|
|
|
| |
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes #9643)
|
|
|
|
|
|
| |
Problem: Fileinfo message overwrites echo'ed message.
Solution: Reset need_fileinfo when displaying a message. (Rob Pilling,
closes #9569)
|
|
|
|
|
|
| |
Problem: Keeping track of allocated lines in user functions is too
complicated.
Solution: Instead of freeing individual lines keep them all until the end.
|
|
|
|
|
| |
Problem: Various code not used when features are disabled.
Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
|