summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
AgeCommit message (Collapse)Author
2022-10-01patch 9.0.0634: evaluating "expr" options has more overhead than neededv9.0.0634Bram Moolenaar
Problem: Evaluating "expr" options has more overhead than needed. Solution: Use call_simple_func() for 'foldtext', 'includeexpr', 'printexpr', "expr" of 'spellsuggest', 'diffexpr', 'patchexpr', 'balloonexpr', 'formatexpr', 'indentexpr' and 'charconvert'.
2022-09-22patch 9.0.0550: crash when closing a tabpage and buffer is NULLv9.0.0550zeertzjq
Problem: Crash when closing a tabpage and buffer is NULL. Solution: Adjust how autocommands are triggered when closing a window. (closes #11198, closes #11197)
2022-09-20patch 9.0.0517: when at the command line :redrawstatus does not work wellv9.0.0517zeertzjq
Problem: When at the command line :redrawstatus does not work well. Solution: Only update the statuslines instead of the screen. (closes #11180)
2022-09-20patch 9.0.0512: cannot redraw the status lines when editing a commandv9.0.0512zeertzjq
Problem: Cannot redraw the status lines when editing a command. Solution: Only postpone the redraw when messages have scrolled. (closes #11170)
2022-09-19patch 9.0.0507: cmdline cleared when using :redrawstatus in CmdlineChangedv9.0.0507Bram Moolenaar
Problem: Command line cleared when using :redrawstatus in CmdlineChanged autocommand event. Solution: Postpone the redraw. (closes #11162)
2022-09-15patch 9.0.0473: fullcommand() only works for the current script versionv9.0.0473Bram Moolenaar
Problem: fullcommand() only works for the current script version. Solution: Add an optional argument for the script version.
2022-09-11patch 9.0.0444: trying to declare g:variable gives confusing errorv9.0.0444Bram Moolenaar
Problem: Trying to declare g:variable gives confusing error. Solution: Give a better error message. (closes #11108)
2022-09-09patch 9.0.0423: "for" and "while" not recognized after :vim9cmd and :legacyv9.0.0423Bram Moolenaar
Problem: "for" and "while" not recognized after :vim9cmd and :legacy. (Emanuele Torre) Solution: Recognize all the command modifiers. (closes #11087) Add a test to check the list of modifiers.
2022-09-02patch 9.0.0360: crash when invalid line number on :for is ignoredv9.0.0360Bram Moolenaar
Problem: Crash when invalid line number on :for is ignored. Solution: Do not check breakpoint for non-existing line.
2022-09-01patch 9.0.0350: :echowindow does not work in a compiled functionv9.0.0350Bram Moolenaar
Problem: :echowindow does not work in a compiled function. Solution: Handle the expression at compile time.
2022-09-01patch 9.0.0346: :horizontal modifier not fully supportedv9.0.0346zeertzjq
Problem: :horizontal modifier not fully supported. Solution: Also use :horizontal for completion and user commands. (closes #11025)
2022-08-31patch 9.0.0342: ":wincmd =" equalizes in two directionsv9.0.0342Bram Moolenaar
Problem: ":wincmd =" equalizes in two directions. Solution: Make ":vertical wincmd =" equalize vertically only and ":horizontal wincmd =" equalize horizontally only.
2022-08-31patch 9.0.0340: the 'cmdheight' zero support causes too much troublev9.0.0340Bram Moolenaar
Problem: The 'cmdheight' zero support causes too much trouble. Solution: Revert support for 'cmdheight' being zero.
2022-08-29patch 9.0.0318: clearing screen causes flickerv9.0.0318Bram Moolenaar
Problem: Clearing screen causes flicker. Solution: Do not clear but redraw in more cases. Add () to "wait_return".
2022-08-28patch 9.0.0307: :echomsg doesn't work properly with cmdheight=0v9.0.0307Bram Moolenaar
Problem: :echomsg doesn't work properly with cmdheight=0. Solution: Improve scrolling and displaying.
2022-08-25patch 9.0.0265: no good reason why the "gf" command isn't in the tiny versionv9.0.0265Bram Moolenaar
Problem: No good reason why the "gf" command is not in the tiny version. Solution: Graduate the file_in_path feature.
2022-08-25patch 9.0.0263: too many #ifdefsv9.0.0263Bram Moolenaar
Problem: Too many #ifdefs. Solution: Make some functions always available.
2022-08-22patch 9.0.0245: mechanism to prevent recursive screen updating is incompletev9.0.0245Bram Moolenaar
Problem: Mechanism to prevent recursive screen updating is incomplete. Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl(). (issue #10952)
2022-08-14patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar
Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-06patch 9.0.0159: cannot build with small featuresv9.0.0159Bram Moolenaar
Problem: Cannot build with small features. Solution: Check for E1170 only with FEAT_EVAL.
2022-08-06patch 9.0.0156: giving E1170 only in an expression is confusingv9.0.0156Bram Moolenaar
Problem: Giving E1170 only in an expression is confusing. Solution: Give E1170 for any "#{ comment". (closes #10855)
2022-07-06patch 9.0.0044: typos in comments, wrapping linesv9.0.0044Bram Moolenaar
Problem: Typos in comments, wrapping lines. Solution: Adjust comments. Wrap lines.
2022-07-02patch 9.0.0025: accessing beyond allocated memory with the cmdline windowv9.0.0025Bram Moolenaar
Problem: Accessing beyond allocated memory when using the cmdline window in Ex mode. Solution: Use "*" instead of "'<,'>" for Visual mode.
2022-06-22patch 8.2.5150: read past the end of the first line with ":0;'{"v8.2.5150Bram Moolenaar
Problem: Read past the end of the first line with ":0;'{". Solution: When on line zero check the column is valid for line one.
2022-06-18patch 8.2.5126: substitute may overrun destination bufferv8.2.5126Bram Moolenaar
Problem: Substitute may overrun destination buffer. Solution: Disallow switching buffers in a substitute expression.
2022-06-14patch 8.2.5093: error message for unknown command may have the command twicev8.2.5093Bram Moolenaar
Problem: Error message for unknown command may mention the command twice. (Malcolm Rowe) Solution: Add the did_append_cmd flag. (closes #10570)
2022-06-14patch 8.2.5092: using "'<,'>" in Ex mode may compare unrelated pointersv8.2.5092Bram Moolenaar
Problem: Using "'<,'>" in Ex mode may compare unrelated pointers. Solution: Set eap->cmd to "+" only later.
2022-06-14patch 8.2.5088: value of cmod_verbose is a bit complicated to usev8.2.5088zeertzjq
Problem: Value of cmod_verbose is a bit complicated to use. Solution: Use zero for not set, value + 1 when set. (closes #10564)
2022-06-12patch 8.2.5079: DirChanged autocommand may use freed memoryv8.2.5079Bram Moolenaar
Problem: DirChanged autocommand may use freed memory. (Shane-XB Qian) Solution: Free the memory later. (closes #10555)
2022-06-06patch 8.2.5063: error for a command may go over the end of IObuffv8.2.5063Bram Moolenaar
Problem: Error for a command may go over the end of IObuff. Solution: Truncate the message.
2022-05-28patch 8.2.5037: cursor position may be invalid after "0;" rangev8.2.5037Bram Moolenaar
Problem: Cursor position may be invalid after "0;" range. Solution: Check the cursor position when it was set by ";" in the range.
2022-05-27patch 8.2.5027: error for missing :endif when an exception was thrownv8.2.5027Bram Moolenaar
Problem: Error for missing :endif when an exception was thrown. (Dani Dickstein) Solution: Do not give an error when aborting. (closes #10490)
2022-05-26patch 8.2.5026: Vim9: a few lines not covered by testsv8.2.5026Bram Moolenaar
Problem: Vim9: a few lines not covered by tests. Solution: Delete dead code. Add a few test cases. make "12->func()" work.
2022-05-17patch 8.2.4971: Vim9: interpolated string seen as rangev8.2.4971Bram Moolenaar
Problem: Vim9: interpolated string seen as range. Solution: Recognize an interpolated string at the start of a command line. (closes #10434)
2022-05-09patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928Bram Moolenaar
Problem: Various white space and cosmetic mistakes. Solution: Change spaces to tabs, improve comments.
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)