summaryrefslogtreecommitdiffstats
path: root/src/message.c
AgeCommit message (Collapse)Author
2021-07-11patch 8.2.3149: some plugins have a problem with the error checkv8.2.3149Bram Moolenaar
Problem: Some plugins have a problem with the error check for using :command with -complete but without -nargs. Solution: In legacy script only give a warning message.
2021-06-15patch 8.2.3006: crash when echoing a value very earlyv8.2.3006Bram Moolenaar
Problem: Crash when echoing a value very early. (Naruhiko Nishino) Solution: Do not use a NUL to truncate the message, make a copy. (closes #8388)
2021-04-10patch 8.2.2743: Vim9: function state stuck when compiling with ":silent!"v8.2.2743Bram Moolenaar
Problem: Vim9: function state stuck when compiling with ":silent!". Solution: Check for uf_def_status to be UF_COMPILING.
2021-02-15patch 8.2.2518: 'listchars' should be window-localv8.2.2518Bram Moolenaar
Problem: 'listchars' should be window-local. Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz, closes #5206, closes #7850)
2021-02-14patch 8.2.2515: memory access error when truncating an empty messagev8.2.2515Bram Moolenaar
Problem: Memory access error when truncating an empty message. Solution: Check for an empty string. (Dominique Pellé, closes #7841)
2021-02-03patch 8.2.2454: leading space can not be made visiblev8.2.2454Bram Moolenaar
Problem: Leading space can not be made visible. Solution: Add "lead:" to 'listchars'. (closes #7772)
2020-12-05patch 8.2.2097: Vim9: using :silent! when calling a function prevents abortv8.2.2097Bram Moolenaar
Problem: Vim9: using :silent! when calling a function prevents abortng that function. Solution: Add emsg_silent_def and did_emsg_def.
2020-12-04patch 8.2.2091: MS-Windows: build warningsv8.2.2091Bram Moolenaar
Problem: MS-Windows: build warnings. Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata) Avoid using a non-ASCII character. (closes #7421)
2020-12-02patch 8.2.2078: illegal memory access when using :print on invalid textv8.2.2078Bram Moolenaar
Problem: Illegal memory access when using :print on invalid text. (Dhiraj Mishra) Solution: Check for more composing characters than supported. (closes #7399)
2020-10-28patch 8.2.1919: assert_fails() setting emsg_silent changes normal executionv8.2.1919Bram Moolenaar
Problem: Assert_fails() setting emsg_silent changes normal execution. Solution: Use a separate flag in_assert_fails.
2020-10-24patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar
Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-10-13patch 8.2.1844: using "q" at the more prompt doesn't stop a long messagev8.2.1844Bram Moolenaar
Problem: Using "q" at the more prompt doesn't stop a long message. Solution: Check for "got_int". (closes #7122)
2020-10-12patch 8.2.1840: Vim9: error message is not clear about compilation errorv8.2.1840Bram Moolenaar
Problem: Vim9: error message is not clear about compilation error. Solution: Say "compiling" instead of "processing".
2020-09-10patch 8.2.1653: expand('<stack>') does not include the final line numberv8.2.1653Bram Moolenaar
Problem: Expand('<stack>') does not include the final line number. Solution: Add the line nuber. (closes #6927)
2020-09-06patch 8.2.1631: test_fails() does not check the context of the line numberv8.2.1631Bram Moolenaar
Problem: test_fails() does not check the context of the line number. Solution: Use another argument to specify the context of the line number.
2020-08-18patch 8.2.1479: Vim9: error for list index uses wrong line numberv8.2.1479Bram Moolenaar
Problem: Vim9: error for list index uses wrong line number. Solution: Set source line number. (closes #6724) Add a way to assert the line number of the error with assert_fails().
2020-07-26patch 8.2.1297: when a test fails it's often not easy to see wherev8.2.1297Bram Moolenaar
Problem: When a test fails it's often not easy to see what the call stack is. Solution: Add more entries from the call stack in the exception message.
2020-07-11patch 8.2.1183: assert_fails() checks the last error messagev8.2.1183Bram Moolenaar
Problem: assert_fails() checks the last error message. Solution: Check the first error, it is more relevant. Fix all the tests that rely on the old behavior.
2020-07-06patch 8.2.1147: :confirm may happen in cooked modev8.2.1147Bram Moolenaar
Problem: :confirm may happen in cooked mode. (Jason Franklin) Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
2020-06-10patch 8.2.0943: displaying ^M or ^J depends on current bufferv8.2.0943Bram Moolenaar
Problem: Displaying ^M or ^J depends on current buffer. Solution: Pass the displayed buffer to transchar(). (closes #6225)
2020-05-29patch 8.2.0839: dropping modifier when putting a character back in typeaheadv8.2.0839Bram Moolenaar
Problem: Dropping modifier when putting a character back in typeahead. Solution: Add modifier to ins_char_typebuf(). (closes #6158)
2020-04-25patch 8.2.0636: :messages does not show the maintainer when $LANG is unsetv8.2.0636Bram Moolenaar
Problem: :messages does not show the maintainer when $LANG is unset. Solution: Call get_mess_lang() if available. (closes #5978)
2020-03-18patch 8.2.0399: various memory leaksv8.2.0399Bram Moolenaar
Problem: Various memory leaks. Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803)
2020-03-08patch 8.2.0364: printf test failing on Haikuv8.2.0364Bram Moolenaar
Problem: Printf test failing on Haiku. Solution: Make a difference between int and short. (Dominique Pelle, closes #5749)
2020-02-29patch 8.2.0334: abort called when using test_void()v8.2.0334Bram Moolenaar
Problem: Abort called when using test_void(). (Dominique Pelle) Solution: Only give an error, don't abort.
2020-02-22patch 8.2.0296: mixing up "long long" and __int64 may cause problemsv8.2.0296Bram Moolenaar
Problem: Mixing up "long long" and __int64 may cause problems. (John Marriott) Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
2020-02-17patch 8.2.0271: the "num64" feature is available everywherev8.2.0271Bram Moolenaar
Problem: The "num64" feature is available everywhere and building without it causes problems. Solution: Graduage the "num64" feature. (James McCoy, closes #5650)
2020-01-26patch 8.2.0149: maintaining a Vim9 branch separately is more workv8.2.0149Bram Moolenaar
Problem: Maintaining a Vim9 branch separately is more work. Solution: Merge the Vim9 script changes.
2019-12-30patch 8.2.0060: message test only runs with one encodingv8.2.0060Bram Moolenaar
Problem: Message test only runs with one encoding. (Dominique Pelle) Solution: Run the test with "utf-8" and "latin1". Fix underflow. (related to #5410)
2019-12-29patch 8.2.0056: execution stack is incomplete and inefficientv8.2.0056Bram Moolenaar
Problem: Execution stack is incomplete and inefficient. Solution: Introduce a proper execution stack and use it instead of sourcing_name/sourcing_lnum. Create a string only when used.
2019-12-23patch 8.2.0035: saving and restoring called_emsg is clumsyv8.2.0035Bram Moolenaar
Problem: Saving and restoring called_emsg is clumsy. Solution: Count the number of error messages.
2019-12-21patch 8.2.0026: still some /* */ commentsv8.2.0026Bram Moolenaar
Problem: Still some /* */ comments. Solution: Convert to // comments.
2019-12-11patch 8.1.2419: with a long file name the hit-enter prompt appearsv8.1.2419Bram Moolenaar
Problem: With a long file name the hit-enter prompt appears. (J. Lewis Muir) Solution: When checking for text to wrap don't do this when outputing a CR.
2019-12-06patch 8.1.2402: typos and other small thingsv8.1.2402Bram Moolenaar
Problem: Typos and other small things. Solution: Small fixes.
2019-11-02patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar
Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
2019-10-17patch 8.1.2171: mouse support not always availablev8.1.2171Bram Moolenaar
Problem: Mouse support not always available. Solution: Enable mouse support also in tiny version. Do not define FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
2019-10-14patch 8.1.2149: crash when running out of memory very earlyv8.1.2149Bram Moolenaar
Problem: Crash when running out of memory very early. Solution: Do not use IObuff when it's NULL. (closes #5052)
2019-10-12patch 8.1.2141: :tselect has an extra hit-enter promptv8.1.2141Bram Moolenaar
Problem: :tselect has an extra hit-enter prompt. Solution: Do not set need_wait_return when only moving the cursor. (closes #5040)
2019-09-27patch 8.1.2083: multi-byte chars do not work properly with "%.*S" in printf()v8.1.2083Bram Moolenaar
Problem: Multi-byte chars do not work properly with "%.*S" in printf(). Solution: Use mb_ptr2cells(). Daniel Hahler, closes #4989)
2019-09-21patch 8.1.2062: the mouse code is spread outv8.1.2062Bram Moolenaar
Problem: The mouse code is spread out. Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan, closes #4959)
2019-09-09patch 8.1.2018: using freed memory when out of memory and displaying messagev8.1.2018Bram Moolenaar
Problem: Using freed memory when out of memory and displaying message. Solution: Make a copy of the message first.
2019-09-04patch 8.1.1979: code for handling file names is spread outv8.1.1979Bram Moolenaar
Problem: Code for handling file names is spread out. Solution: Move code to new filepath.c file. Graduate FEAT_MODIFY_FNAME.
2019-08-20patch 8.1.1895: using NULL pointer when out of memoryv8.1.1895Bram Moolenaar
Problem: Using NULL pointer when out of memory. Solution: Bail out or skip the code using the pointer. (Zu-Ming Jiang, closes #4805, closes #4843, closes #4939, closes #4844)
2019-08-20patch 8.1.1891: functions used in one file are globalv8.1.1891Bram Moolenaar
Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
2019-07-04patch 8.1.1630: various small problemsv8.1.1630Bram Moolenaar
Problem: Various small problems. Solution: Various small improvements.
2019-05-28patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar
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.
2019-05-25patch 8.1.1393: unnecessary type castsv8.1.1393Bram Moolenaar
Problem: Unnecessary type casts. Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
2019-05-24patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar
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.
2019-05-09patch 8.1.1306: Borland support is outdated and doesn't workv8.1.1306Bram Moolenaar
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)
2019-05-08patch 8.1.1301: when compiled with VIMDLL some messages are not shownv8.1.1301Bram Moolenaar
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)