summaryrefslogtreecommitdiff
path: root/src/message.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-2/+2
| | | | | | Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
* patch 8.1.1393: unnecessary type castsv8.1.1393Bram Moolenaar2019-05-251-2/+2
| | | | | Problem: Unnecessary type casts. Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
* patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar2019-05-241-2/+2
| | | | | | Problem: Using "int" for alloc() often results in compiler warnings. Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim only works with 32 bit ints anyway.
* patch 8.1.1306: Borland support is outdated and doesn't workv8.1.1306Bram Moolenaar2019-05-091-10/+1
| | | | | | Problem: Borland support is outdated and doesn't work. Solution: Remove Borland support, there are other (free) compilers available. (Thomas Dziedzic, Ken Takata, closes #4364)
* patch 8.1.1301: when compiled with VIMDLL some messages are not shownv8.1.1301Bram Moolenaar2019-05-081-2/+2
| | | | | | Problem: When compiled with VIMDLL some messages are not shown. Solution: Set/reset gui.in_use and gui.starting as needed. (Ken Takata, closes #4361)
* patch 8.1.1233: cannot build tiny versionv8.1.1233Bram Moolenaar2019-04-281-3/+0
| | | | | Problem: Cannot build tiny version. Solution: Remove #ifdef for verb_msg().
* patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exev8.1.1230Bram Moolenaar2019-04-281-37/+75
| | | | | | Problem: A lot of code is shared between vim.exe and gvim.exe. Solution: Optionally put the shared code in vim.dll. (Ken Takata, closes #4287)
* patch 8.1.1201: output of :command is hard to readv8.1.1201Bram Moolenaar2019-04-241-1/+4
| | | | | | Problem: Output of :command is hard to read. Solution: Make some columns wider, some narrower. Truncate the command when listing all.
* patch 8.1.1032: warnings from clang static analyzerv8.1.1032Bram Moolenaar2019-03-211-2/+0
| | | | | Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan) Solution: Fix relevant warnings.
* patch 8.1.0969: message written during startup is truncatedv8.1.0969Bram Moolenaar2019-02-221-0/+7
| | | | | Problem: Message written during startup is truncated. Solution: Restore message after truncating. (closes 3969)
* patch 8.1.0954: arguments of semsg() and siemsg() are not checkedv8.1.0954Bram Moolenaar2019-02-191-2/+6
| | | | | Problem: Arguments of semsg() and siemsg() are not checked. Solution: Add function prototype with __attribute__.
* patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar2019-02-171-7/+7
| | | | | | | Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and others. Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the GUI build. (Hirohito Higashi, closes #3932)
* patch 8.1.0927: USE_CR is never definedv8.1.0927Bram Moolenaar2019-02-151-4/+1
| | | | | Problem: USE_CR is never defined. Solution: Remove usage of USE_CR. (Ken Takata, closes #3958)
* patch 8.1.0919: compiler warningsv8.1.0919Bram Moolenaar2019-02-141-2/+2
| | | | | Problem: Compiler warnings. Solution: Add type casts. (Mike Williams)
* patch 8.1.0918: MS-Windows: startup messages are not convertedv8.1.0918Bram Moolenaar2019-02-141-56/+93
| | | | | | Problem: MS-Windows: startup messages are not converted. Solution: Convert messages when the current codepage differs from 'encoding'. (Yasuhiro Matsumoto, closes #3914)
* patch 8.1.0811: too many #ifdefsv8.1.0811Bram Moolenaar2019-01-241-4/+0
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter.
* patch 8.1.0806: too many #ifdefsv8.1.0806Bram Moolenaar2019-01-241-94/+12
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 2.
* patch 8.1.0785: depending on the configuration some functions are unusedv8.1.0785Bram Moolenaar2019-01-201-0/+2
| | | | | | Problem: Depending on the configuration some functions are unused. Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle, closes #3822)
* patch 8.1.0783: compiler warning for signed/unsignedv8.1.0783Bram Moolenaar2019-01-191-4/+4
| | | | | Problem: Compiler warning for signed/unsigned. Solution: Add type cast. Change type of buffer. (Ozaki Kiichi, closes #3827)
* patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar2019-01-191-74/+75
| | | | | Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
* patch 8.1.0759: showing two characters for tab is limitedv8.1.0759Bram Moolenaar2019-01-161-2/+9
| | | | | | Problem: Showing two characters for tab is limited. Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel Braun, Ken Takata, closes #3810)
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-76/+63
| | | | | | | | Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
* patch 8.1.0619: :echomsg and :echoerr do not handle List and Dictv8.1.0619Bram Moolenaar2018-12-221-1/+4
| | | | | | Problem: :echomsg and :echoerr do not handle List and Dict like :echo does. (Daniel Hahler) Solution: Be more tolerant about the expression result type.
* patch 8.1.0615: get_tv function names are not consistentv8.1.0615Bram Moolenaar2018-12-211-3/+3
| | | | | Problem: Get_tv function names are not consistent. Solution: Rename to tv_get.
* patch 8.1.0550: expression evaluation may repeat an error messagev8.1.0550Bram Moolenaar2018-11-281-2/+2
| | | | | | | Problem: Expression evaluation may repeat an error message. (Jason Franklin) Solution: Increment did_emsg and check for the value when giving an error for the echo command.
* patch 8.1.0466: autocmd test failsv8.1.0466Bram Moolenaar2018-10-071-2/+2
| | | | | Problem: Autocmd test fails. Solution: Do call inchar() when flushing typeahead.
* patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar2018-09-301-15/+0
| | | | | Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
* patch 8.1.0135: undo message delays screen update for CTRL-O uv8.1.0135Bram Moolenaar2018-07-011-0/+14
| | | | | Problem: Undo message delays screen update for CTRL-O u. Solution: Add smsg_attr_keep(). (closes #3125)
* patch 8.1.0122: translators don't always understand the maintainer messagev8.1.0122Bram Moolenaar2018-06-281-0/+4
| | | | | | Problem: Translators don't always understand the maintainer message. Solution: Add a comment that ends up in the generated po file. (Christian Brabandt, closes #3037)
* patch 8.1.0105: all tab stops are the samev8.1.0105Bram Moolenaar2018-06-231-0/+5
| | | | | | Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes #2711)
* patch 8.1.0082: in terminal window, typing : at more prompt, inserts ':'v8.1.0082Bram Moolenaar2018-06-191-0/+6
| | | | | | | Problem: In terminal window, typing : at more prompt, inserts ':' instead of starting another Ex command. Solution: Add skip_term_loop and set it when putting ':' in the typeahead buffer.
* patch 8.1.0020: cannot tell whether a register is executing or recordingv8.1.0020Bram Moolenaar2018-05-221-4/+4
| | | | | | | | Problem: Cannot tell whether a register is being used for executing or recording. Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi, closes #2745) Rename the global variables for consistency. Store the register name in reg_executing.
* patch 8.0.1773: dialog messages are not translatedv8.0.1773Bram Moolenaar2018-04-291-1/+1
| | | | | Problem: Dialog messages are not translated. Solution: Add N_() and _() where needed. (Sergey Alyoshin)
* patch 8.0.1728: condition always false, useless codev8.0.1728Bram Moolenaar2018-04-171-2/+0
| | | | | Problem: Condition always false, useless code. Solution: Remove the code. (Nikolai Pavlov, closes #2808)
* patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar2018-02-101-12/+4
| | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
* patch 8.0.1468: illegal memory access in del_bytes()v8.0.1468Bram Moolenaar2018-02-041-3/+3
| | | | | Problem: Illegal memory access in del_bytes(). Solution: Check for negative byte count. (Christian Brabandt, closes #2466)
* patch 8.0.1449: slow redrawing with DirectXv8.0.1449Bram Moolenaar2018-01-311-0/+2
| | | | | | Problem: Slow redrawing with DirectX. Solution: Avoid calling gui_mch_flush() unnecessarily, especially when updating the cursor. (Ken Takata, closes #2560)
* patch 8.0.1309: cannot use 'balloonexpr' in a terminalv8.0.1309Bram Moolenaar2017-11-181-0/+1
| | | | | | Problem: Cannot use 'balloonexpr' in a terminal. Solution: Add 'balloonevalterm' and add code to handle mouse movements in a terminal. Initial implementation for Unix with GUI.
* patch 8.0.1236: Mac features are confusingv8.0.1236Bram Moolenaar2017-10-281-4/+3
| | | | | | Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
* patch 8.0.1215: newer gcc warns for implicit fallthroughv8.0.1215Bram Moolenaar2017-10-241-2/+3
| | | | | Problem: Newer gcc warns for implicit fallthrough. Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
* patch 8.0.1067: try/catch in timer does not prevent it from being stoppedv8.0.1067Bram Moolenaar2017-09-061-4/+5
| | | | | | Problem: Using try/catch in timer does not prevent it from being stopped. Solution: Reset the exception context and use did_emsg instead of called_emsg.
* patch 8.0.0956: scrolling in a terminal window has flickerv8.0.0956Bram Moolenaar2017-08-171-2/+2
| | | | | | Problem: Scrolling in a terminal hwindow as flicker when the Normal background differs from the terminal window background. Solution: Set the attribute to clear with.
* patch 8.0.0888: compiler warnings with 64 bit buildv8.0.0888Bram Moolenaar2017-08-071-1/+1
| | | | | Problem: Compiler warnings with 64 bit build. Solution: Add type cast of change the type. (Mike Williams)
* patch 8.0.0852: MS-Windows: possible crash when giving a message on startupv8.0.0852Bram Moolenaar2017-08-031-4/+5
| | | | | Problem: MS-Windows: possible crash when giving a message on startup. Solution: Initialize length. (Yasuhiro Matsumoto, closes #1931)
* patch 8.0.0850: MS-Windows: error message while starting up may be brokenv8.0.0850Bram Moolenaar2017-08-031-1/+23
| | | | | | | Problem: MS-Windows: Depending on the console encoding, an error message that is given during startup may be broken. Solution: Convert the message to the console codepage. (Yasuhiro Matsumoto, closes #1927)
* patch 8.0.0848: using multiple ch_log functions is clumsyv8.0.0848Bram Moolenaar2017-08-031-5/+3
| | | | | Problem: Using multiple ch_log functions is clumsy. Solution: Use variable arguments. (Ozaki Kiichi, closes #1919)
* patch 8.0.0709: libvterm cannot use vsnprintf()v8.0.0709Bram Moolenaar2017-07-111-5/+15
| | | | | Problem: Libvterm cannot use vsnprintf(), it does not exist in C90. Solution: Use vim_vsnprintf() instead.
* patch 8.0.0663: unexpected error message only when 'verbose' is setv8.0.0663Bram Moolenaar2017-06-231-0/+7
| | | | | Problem: Giving an error message only when 'verbose' set is unexpected. Solution: Give a warning message instead.
* patch 8.0.0520: using a function pointer while the function is knownv8.0.0520Bram Moolenaar2017-03-291-1/+1
| | | | | | | Problem: Using a function pointer instead of the actual function, which we know. Solution: Change mb_ functions to utf_ functions when already checked for Unicode. (Dominique Pelle, closes #1582)
* patch 8.0.0468: after aborting an Ex command g< does not workv8.0.0468Bram Moolenaar2017-03-161-12/+51
| | | | | | | | Problem: After aborting an Ex command g< does not work. (Marcin Szamotulski) Solution: Postpone clearing scrollback messages to until the command line has been entered. Also fix that the screen isn't redrawn if after g< the command line is cancelled.