summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
AgeCommit message (Collapse)Author
2022-05-07patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar
Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-05-06patch 8.2.4895: buffer overflow with invalid command with composing charsv8.2.4895Bram Moolenaar
Problem: Buffer overflow with invalid command with composing chars. Solution: Check that the whole character fits in the buffer.
2022-05-06patch 8.2.4886: Vim9: redir in skipped block seen as assignmentv8.2.4886Bram Moolenaar
Problem: Vim9: redir in skipped block seen as assignment. Solution: Check for valid assignment.
2022-04-28patch 8.2.4842: expand("%:p") is not empty when there is no buffer namev8.2.4842Bram Moolenaar
Problem: expand("%:p") is not empty when there is no buffer name. Solution: When ignoring errors still return NULL. (closes #10311)
2022-04-28patch 8.2.4841: empty string considered an error for expand()v8.2.4841Bram Moolenaar
Problem: Empty string considered an error for expand() when 'verbose' is set. (Christian Brabandt) Solution: Do not give an error for an empty result. (closes #10307)
2022-04-19patch 8.2.4789: cursor pos wrong when using :redraw while editing the cmdlinev8.2.4789Bram Moolenaar
Problem: The cursor may be in the in wrong place when using :redraw while editing the cmdline. Solution: When editing the command line let :redraw update the command line too. (closes #10210)
2022-04-16patch 8.2.4763: using invalid pointer with "V:" in Ex modev8.2.4763Bram Moolenaar
Problem: Using invalid pointer with "V:" in Ex mode. Solution: Correctly handle the command being changed to "+".
2022-04-15patch 8.2.4753: error from setting an option is silently ignoredv8.2.4753Bram Moolenaar
Problem: Error from setting an option is silently ignored. Solution: Handle option value errors better. Fix uses of N_().
2022-04-12patch 8.2.4741: startup test failsv8.2.4741Bram Moolenaar
Problem: Startup test fails. Solution: Avoid an error for verbose expansion. Fix that the "0verbose" command modifier doesn't work.
2022-04-09patch 8.2.4726: cannot use expand() to get the script namev8.2.4726LemonBoy
Problem: Cannot use expand() to get the script name. Solution: Support expand('<script>'). (closes #10121)
2022-04-09patch 8.2.4723: the ModeChanged autocmd event is inefficientv8.2.4723LemonBoy
Problem: The ModeChanged autocmd event is inefficient. Solution: Avoid allocating memory. (closes #10134) Rename trigger_modechanged() to may_trigger_modechanged().
2022-04-07patch 8.2.4709: after :redraw the statusline highlight might be usedv8.2.4709Bram Moolenaar
Problem: After :redraw the statusline highlight might be used. Solution: Clear the screen attribute after redrawing the screen. (closes #10108)
2022-04-07patch 8.2.4705: jump list marker disappearsv8.2.4705zeertzjq
Problem: Jump list marker disappears. Solution: Reset reg_executing later. (closes #10111, closes #10100)
2022-04-04patch 8.2.4682: Vim9: can use :unlockvar for const variablev8.2.4682Bram Moolenaar
Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael) Solution: Check whether the variable is a const.
2022-03-31patch 8.2.4653: "import autoload" does not check the file namev8.2.4653Bram Moolenaar
Problem: "import autoload" does not check the file name. Solution: Give an error if the file is not readable. (closes #10049)
2022-03-27patch 8.2.4637: warning for using uninitialized variablev8.2.4637Bram Moolenaar
Problem: Warning for using uninitialized variable. (Tony Mechelynck) Solution: Initialize it.
2022-03-27patch 8.2.4636: not using Visual rangev8.2.4636Bram Moolenaar
Problem: Not using Visual range. Solution: Put the command pointer back to the range.
2022-03-27patch 8.2.4633: Visual range does not work before command modifiersv8.2.4633Bram Moolenaar
Problem: Visual range does not work before command modifiers. Solution: Move Visual range to after command modifiers.
2022-03-25patch 8.2.4623: Coverity warns for using uninitialized fieldv8.2.4623Bram Moolenaar
Problem: Coverity warns for using uninitialized field. Solution: Initialize he field to zero.
2022-03-24patch 8.2.4620: two letter substitute commands don't workv8.2.4620Bram Moolenaar
Problem: Two letter substitute commands don't work. (Yegappan Lakshmanan) Solution: Invert condition.
2022-03-24patch 8.2.4618: cmdline completion does not recognize single letter commandsv8.2.4618Bram Moolenaar
Problem: Command line completion does not recognize single letter commands. Solution: Use the condition from find_ex_command().
2022-03-23patch 8.2.4615: mapping with escaped bar does not work in :def functionv8.2.4615Bram Moolenaar
Problem: Mapping with escaped bar does not work in :def function. (Sergey Vlasov) Solution: Do not remove the backslash. (closes #10002)
2022-03-21patch 8.2.4603: sourcing buffer lines is too complicatedv8.2.4603Yegappan Lakshmanan
Problem: Sourcing buffer lines is too complicated. Solution: Simplify the code. Make it possible to source Vim9 script lines. (Yegappan Lakshmanan, closes #9974)
2022-03-18patch 8.2.4589: cannot index the g: dictionaryv8.2.4589Bram Moolenaar
Problem: Cannot index the g: dictionary. Solution: Recognize using "g:[key]". (closes #9969)
2022-03-05patch 8.2.4514: Vim9: some flow commands can be shortenedv8.2.4514Bram Moolenaar
Problem: Vim9: some flow commands can be shortened. Solution: Also require using the full name for ":return", ":enddef", ":continue", ":export" and ":import".
2022-03-05patch 8.2.4510: Vim9: shortening commands leads to confusing scriptv8.2.4510Bram Moolenaar
Problem: Vim9: shortening commands leads to confusing script. Solution: In Vim9 script require at least ":cont" for ":continue", "const" instead of "cons", "break" instead of "brea", "catch" instead of "cat", "else" instead of "el" "elseif" instead of "elsei" "endfor" instead of "endfo" "endif" instead of "en" "endtry" instead of "endt", "finally" instead of "fina", "throw" instead of "th", "while" instead of "wh".
2022-03-04patch 8.2.4503: Vim9: there is no point in supporting :Print and :modev8.2.4503Bram Moolenaar
Problem: Vim9: there is no point in supporting :Print and :mode. Solution: Do not recognize :Print and :mode as commands. (closes #9870)
2022-02-20patch 8.2.4426: map() function on string and blob does not check typesv8.2.4426Bram Moolenaar
Problem: map() function on string and blob does not check argument types at compile time. Solution: Check string and blob argument types. Support "0z1234->func()".
2022-02-14patch 8.2.4386: still cannot build tiny versionv8.2.4386Bram Moolenaar
Problem: Still cannot build tiny version. Solution: Adjust #ifdefs.
2022-02-14patch 8.2.4384: Vim9: error message not tested, some code not testedv8.2.4384Bram Moolenaar
Problem: Vim9: error message not tested, some code not tested. Solution: Add a couple of test cases. Give an error for a command modifier without a command.
2022-02-11patch 8.2.4348: "legacy exe cmd" does not do what one would expectv8.2.4348Bram Moolenaar
Problem: "legacy exe cmd" does not do what one would expect. Solution: Apply the "legacy" and "vim9script" command modifiers to the argument of ":execute".
2022-02-09patch 8.2.4335: no autocommand event triggered before changing directoryv8.2.4335Bram Moolenaar
Problem: No autocommand event triggered before changing directory. (Ronnie Magatti) Solution: Add DirChangedPre. (closes #9721)
2022-02-02patch 8.2.4283: using a variable for the return value is not neededv8.2.4283zeertzjq
Problem: Using a variable for the return value is not needed. Solution: Return the value directly. (closes #9687)
2022-01-31patch 8.2.4277: Vim9: an import does not shadow a command modifierv8.2.4277Bram Moolenaar
Problem: Vim9: an import does not shadow a command modifier. Solution: Do not accept a command modifier followed by a dot.
2022-01-29patch 8.2.4255: theoretical computation overflowv8.2.4255=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Theoretical computation overflow. Solution: Perform multiplication in a wider type. (closes #9657)
2022-01-28patch 8.2.4241: some type casts are redundantv8.2.4241=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
2022-01-24patch 8.2.4199: MS-Windows: Support for MSVC 2003 is not usefulv8.2.4199K.Takata
Problem: MS-Windows: Support for MSVC 2003 is not useful. Solution: Remove the exceptions for MSVC 2003. (Ken Takata, closes #9616)
2022-01-19patch 8.2.4147: E464 does not always include the offending commandv8.2.4147Bram Moolenaar
Problem: E464 does not always include the offending command. Solution: Add another error message with "%s". (closes #9564)
2022-01-16patch 8.2.4105: translation related comment in the wrong placev8.2.4105K.Takata
Problem: Translation related comment in the wrong place. Solution: Move it back with the text. (Ken Takata, closes #9537)
2022-01-11patch 8.2.4065: computation overflow with large cound for :yankv8.2.4065Bram Moolenaar
Problem: Computation overflow with large cound for :yank. Solution: Avoid an overflow.
2022-01-08patch 8.2.4043: using int for second argument of ga_init2()v8.2.4043Bram Moolenaar
Problem: Using int for second argument of ga_init2(). Solution: Remove unnessary type cast (int) when using sizeof().
2022-01-08patch 8.2.4038: various code not used when features are disabledv8.2.4038Dominique Pelle
Problem: Various code not used when features are disabled. Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
2022-01-05patch 8.2.4012: error messages are spread outv8.2.4012Bram Moolenaar
Problem: Error messages are spread out. Solution: Move the last error messages to errors.h.
2022-01-05patch 8.2.4010: error messages are spread outv8.2.4010Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-05patch 8.2.4009: reading one byte beyond the end of the linev8.2.4009Bram Moolenaar
Problem: Reading one byte beyond the end of the line. Solution: Check for NUL byte first.
2022-01-05patch 8.2.4008: error messages are spread outv8.2.4008Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-04patch 8.2.4005: error messages are spread outv8.2.4005Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-04patch 8.2.4003: error messages are spread outv8.2.4003Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-04patch 8.2.3999: redundant check for NUL bytev8.2.3999zeertzjq
Problem: Redundant check for NUL byte. Solution: Remove the check for a NUL byte. (closes #9471)
2022-01-02patch 8.2.3986: error messages are spread outv8.2.3986Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.