summaryrefslogtreecommitdiff
path: root/src/message.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.1196: code is indented more than necessaryv9.0.1196Yegappan Lakshmanan2023-01-141-71/+65
| | | | | | Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11813)
* patch 9.0.1144: reading beyond textv9.0.1144Bram Moolenaar2023-01-041-1/+2
| | | | | Problem: Reading beyond text. Solution: Add strlen_maxlen() and use it.
* patch 9.0.0978: build errors without the +channel featurev9.0.0978Bram Moolenaar2022-11-301-1/+1
| | | | | Problem: Build errors without the +channel feature. (John Marriott) Solution: Adjust #ifdefs.
* patch 9.0.0977: it is not easy to see what client-server commands are doingv9.0.0977Bram Moolenaar2022-11-301-2/+2
| | | | | | 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.
* patch 9.0.0972: build failure on some systemsv9.0.0972Bram Moolenaar2022-11-291-2/+0
| | | | | Problem: Build failure on some systems. Solution: Adjust #ifdefs related to the termresponse feature.
* patch 9.0.0904: various comment and indent flawsv9.0.0904Bram Moolenaar2022-11-181-3/+2
| | | | | Problem: Various comment and indent flaws. Solution: Improve comments and indenting.
* patch 9.0.0747: too many #ifdefsv9.0.0747Martin Tournoij2022-10-131-1/+1
| | | | | | Problem: Too many #ifdefs. Solution: Gradudate the +cmdline_info feature. (Martin Tournoij, closes #11330)
* patch 9.0.0595: extra newline in messages after a verbose shell messagev9.0.0595Bram Moolenaar2022-09-261-1/+2
| | | | | | 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.
* patch 9.0.0592: display not cleared when scrolling back in messagesv9.0.0592Bram Moolenaar2022-09-261-5/+13
| | | | | | 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)
* patch 9.0.0511: unnecessary scrolling for message of only one linev9.0.0511zeertzjq2022-09-201-2/+2
| | | | | Problem: Unnecessary scrolling for message of only one line. Solution: Only set msg_scroll when needed. (closes #11178)
* patch 9.0.0449: there is no easy way to translate a key code into a stringv9.0.0449zeertzjq2022-09-121-7/+13
| | | | | | 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)
* patch 9.0.0447: using :echowin while at the hit-enter prompt causes problemsv9.0.0447Bram Moolenaar2022-09-111-0/+4
| | | | | | 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.
* patch 9.0.0352: using :echowindow in a timer clears part of messagev9.0.0352Bram Moolenaar2022-09-011-1/+5
| | | | | Problem: using :echowindow in a timer clears part of message Solution: Do not use msg_clr_eos().
* patch 9.0.0340: the 'cmdheight' zero support causes too much troublev9.0.0340Bram Moolenaar2022-08-311-42/+10
| | | | | Problem: The 'cmdheight' zero support causes too much trouble. Solution: Revert support for 'cmdheight' being zero.
* patch 9.0.0329: ":highlight" hangs when 'cmdheight' is zerov9.0.0329Bram Moolenaar2022-08-301-2/+2
| | | | | Problem: ":highlight" hangs when 'cmdheight' is zero. Solution: Add to msg_col when using the message window. (closes #11014)
* patch 9.0.0321: cannot use the message popup window directlyv9.0.0321Bram Moolenaar2022-08-291-3/+5
| | | | | Problem: Cannot use the message popup window directly. Solution: Add ":echowindow".
* patch 9.0.0318: clearing screen causes flickerv9.0.0318Bram Moolenaar2022-08-291-6/+6
| | | | | Problem: Clearing screen causes flicker. Solution: Do not clear but redraw in more cases. Add () to "wait_return".
* patch 9.0.0315: shell command is displayed in message windowv9.0.0315Bram Moolenaar2022-08-291-2/+3
| | | | | Problem: Shell command is displayed in message window. Solution: Do not echo the shell command in the message window.
* patch 9.0.0310: output of :messages dissappears when cmdheight is zerov9.0.0310Bram Moolenaar2022-08-281-0/+1
| | | | | | Problem: Output of :messages dissappears when cmdheight is zero. Solution: Do not use the messages window for :messages. Make Esc close the messages window.
* patch 9.0.0308: when cmdheight is zero the attention prompt doesn't showv9.0.0308Bram Moolenaar2022-08-281-0/+14
| | | | | Problem: When cmdheight is zero the attention prompt doesn't show. Solution: Do not use the message window for a prompt.
* patch 9.0.0306: buffer write message is two lines in message popup windowv9.0.0306Bram Moolenaar2022-08-281-1/+3
| | | | | Problem: Buffer write message is two lines in message popup window. Solution: Overwrite message if "msg_scroll" is off.
* patch 9.0.0301: the message window popup is delayed after an error messagev9.0.0301Bram Moolenaar2022-08-281-2/+6
| | | | | Problem: The message window popup is delayed after an error message. Solution: Do not set emsg_on_display when using the message window.
* patch 9.0.0298: compiler warning for size_t to int conversionv9.0.0298Wilhelm Payne2022-08-281-1/+1
| | | | | Problem: Compiler warning for size_t to int conversion. Solution: Add a type cast. (Wilhelm Payne, closes #11000)
* patch 9.0.0296: message in popup is shortened unnecessaryv9.0.0296Bram Moolenaar2022-08-281-2/+10
| | | | | | 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.
* patch 9.0.0290: compiler warning for variable set but not usedv9.0.0290Bram Moolenaar2022-08-271-2/+7
| | | | | Problem: Compiler warning for variable set but not used. Solution: Add #ifdef.
* patch 9.0.0289: invalid memory writev9.0.0289Bram Moolenaar2022-08-271-5/+24
| | | | | Problem: Invalid memory write. Solution: Do not put NUL in a static string.
* patch 9.0.0288: when 'cmdheight' is zero some messages are not displayedv9.0.0288Bram Moolenaar2022-08-271-24/+196
| | | | | Problem: When 'cmdheight' is zero some messages are not displayed. Solution: Use a popup notification window.
* patch 9.0.0245: mechanism to prevent recursive screen updating is incompletev9.0.0245Bram Moolenaar2022-08-221-3/+2
| | | | | | Problem: Mechanism to prevent recursive screen updating is incomplete. Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl(). (issue #10952)
* patch 9.0.0227: cannot read error message when abort() is calledv9.0.0227Bram Moolenaar2022-08-191-2/+6
| | | | | Problem: Cannot read error message when abort() is called. Solution: Output a newline before calling abort().
* patch 9.0.0207: stacktrace not shown when debuggingv9.0.0207zeertzjq2022-08-141-1/+2
| | | | | Problem: Stacktrace not shown when debugging. Solution: Set msg_scroll in msg_source(). (closes #10917)
* patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar2022-08-141-4/+4
| | | | | Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
* patch 9.0.0114: the command line takes up space even when not usedv9.0.0114Shougo Matsushita2022-07-301-4/+4
| | | | | | 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)
* patch 9.0.0099: scrollback can be wrong after redrawing the command linev9.0.0099zeertzjq2022-07-281-4/+40
| | | | | Problem: Scrollback can be wrong after redrawing the command line. Solution: Clear unfinished scrollback when redrawing. (closes #10807)
* patch 9.0.0071: command overlaps with printed text in scrollbackv9.0.0071zeertzjq2022-07-251-1/+2
| | | | | | Problem: Command overlaps with printed text in scrollback. Solution: Clear until end-of-line and use correct message chunk. (closes #10765, closes #10764)
* patch 9.0.0044: typos in comments, wrapping linesv9.0.0044Bram Moolenaar2022-07-061-1/+2
| | | | | Problem: Typos in comments, wrapping lines. Solution: Adjust comments. Wrap lines.
* patch 9.0.0009: going past the end of a menu item with only modifierv9.0.0009Bram Moolenaar2022-06-291-2/+2
| | | | | Problem: Going past the end of a menu item with only modifier. Solution: Check for NUL.
* patch 8.2.5161: might still access invalid memoryv8.2.5161Bram Moolenaar2022-06-261-1/+3
| | | | | Problem: Might still access invalid memory. Solution: Add extra check for negative value.
* patch 8.2.5097: using uninitialized memory when using 'listchars'v8.2.5097Bram Moolenaar2022-06-151-2/+3
| | | | | Problem: Using uninitialized memory when using 'listchars'. Solution: Use the length returned by mb_char2bytes(). (closes #10576)
* patch 8.2.5084: when the GUI shows a dialog tests get stuckv8.2.5084Bram Moolenaar2022-06-131-1/+5
| | | | | Problem: When the GUI shows a dialog tests get stuck. Solution: Add the --gui-dialog-file argument.
* patch 8.2.5070: unnecessary codev8.2.5070zeertzjq2022-06-091-10/+4
| | | | | Problem: Unnecessary code. Solution: Remove code that isn't needed. (closes #10534)
* patch 8.2.5066: timer_create is not available on every Mac systemv8.2.5066Bram Moolenaar2022-06-071-2/+18
| | | | | | Problem: Timer_create is not available on every Mac system. (Hisashi T Fujinaka) Solution: Adjust #ifdef.
* patch 8.2.4924: maparg() may return a string that cannot be reusedv8.2.4924zeertzjq2022-05-091-21/+15
| | | | | | Problem: maparg() may return a string that cannot be reused. Solution: use msg_outtrans_special() instead of str2special(). (closes #10384)
* patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar2022-05-071-15/+15
| | | | | Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
* patch 8.2.4867: listing of mapping with K_SPECIAL is wrongv8.2.4867zeertzjq2022-05-041-8/+18
| | | | | Problem: Listing of mapping with K_SPECIAL is wrong. Solution: Adjust escaping of special characters. (closes #10351)
* patch 8.2.4610: some conditions are always truev8.2.4610Bram Moolenaar2022-03-221-1/+1
| | | | | Problem: Some conditions are always true. Solution: Remove the useless conditions. (closes #9993)
* patch 8.2.4343: when reloading not all properties are detectedv8.2.4343Rob Pilling2022-02-111-0/+2
| | | | | Problem: When reloading not all properties are detected. Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)
* patch 8.2.4241: some type casts are redundantv8.2.4241=?UTF-8?q?Dundar=20G=C3=B6c?=2022-01-281-3/+3
| | | | | Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
* patch 8.2.4156: fileinfo message overwrites echo'ed messagev8.2.4156Rob Pilling2022-01-201-0/+7
| | | | | | Problem: Fileinfo message overwrites echo'ed message. Solution: Reset need_fileinfo when displaying a message. (Rob Pilling, closes #9569)
* patch 8.2.4040: keeping track of allocated lines is too complicatedv8.2.4040Bram Moolenaar2022-01-081-1/+1
| | | | | | Problem: Keeping track of allocated lines in user functions is too complicated. Solution: Instead of freeing individual lines keep them all until the end.
* patch 8.2.4038: various code not used when features are disabledv8.2.4038Dominique Pelle2022-01-081-0/+4
| | | | | Problem: Various code not used when features are disabled. Solution: Add #ifdefs. (Dominique Pellé, closes #9491)