summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
AgeCommit message (Collapse)Author
2020-04-02patch 8.2.0502: Vim9: some code is not testedv8.2.0502Bram Moolenaar
Problem: Vim9: some code is not tested. Solution: Add more tests. Fix uncovered problems.
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-09patch 8.2.0367: can use :pedit in a popup windowv8.2.0367Bram Moolenaar
Problem: Can use :pedit in a popup window. Solution: Disallow it.
2020-03-01patch 8.2.0344: ":def" not skipped properlyv8.2.0344Bram Moolenaar
Problem: ":def" not skipped properly. Solution: Add CMD_def to list of commands the require evaluation even when not being executed.
2020-02-23patch 8.2.0306: Vim9: :substitute(pat(repl does not work in Vim9 scriptv8.2.0306Bram Moolenaar
Problem: Vim9: :substitute(pat(repl does not work in Vim9 script. Solution: Remember starting with a colon. (closes #5676)
2020-02-22patch 8.2.0298: Vim9 script: cannot start command with a string constantv8.2.0298Bram Moolenaar
Problem: Vim9 script: cannot start command with a string constant. Solution: Recognize expression starting with '('.
2020-02-21patch 8.2.0295: highlighting for :s wrong when using different separatorv8.2.0295Bram Moolenaar
Problem: Highlighting for :s wrong when using different separator. Solution: Use separat argument for search direction and separator. (Rob Pilling, closes #5665)
2020-02-18patch 8.2.0274: hang with combination of feedkeys(), Ex mode and :globalv8.2.0274Bram Moolenaar
Problem: Hang with combination of feedkeys(), Ex mode and :global. (Yegappan Lakshmanan) Solution: Add the pending_exmode_active flag.
2020-02-16patch 8.2.0265: "eval" after "if 0" doesn't check for following commandv8.2.0265Bram Moolenaar
Problem: "eval" after "if 0" doesn't check for following command. Solution: Add "eval" to list of commands that check for a following command. (closes #5640)
2020-02-08patch 8.2.0232: the :compiler command causes a crashv8.2.0232Bram Moolenaar
Problem: The :compiler command causes a crash. (Daniel Steinberg) Solution: Do not use the script index if it isn't set.
2020-02-01patch 8.2.0194: some commands can cause problems in terminal popupv8.2.0194Bram Moolenaar
Problem: Some commands can cause problems in terminal popup. Solution: Disallow more commands.
2020-01-31patch 8.2.0189: cd() with NULL argument crashesv8.2.0189Bram Moolenaar
Problem: cd() with NULL argument crashes. Solution: Check for NULL. (Ken Takata, closes #5558)
2020-01-26patch 8.2.0156: various typos in source files and testsv8.2.0156Bram Moolenaar
Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes #5532)
2020-01-26patch 8.2.0154: reallocating the list of scripts is inefficientv8.2.0154Bram Moolenaar
Problem: Reallocating the list of scripts is inefficient. Solution: Instead of using a growarray of scriptitem_T, store pointers and allocate each scriptitem_T separately. Also avoids that the growarray pointers change when sourcing a new script.
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.
2020-01-18patch 8.2.0128: cannot list options one per linev8.2.0128Bram Moolenaar
Problem: Cannot list options one per line. Solution: Use ":set!" to list one option per line.
2020-01-18patch 8.2.0127: some buffer commands work in a popup windowv8.2.0127Bram Moolenaar
Problem: Some buffer commands work in a popup window. Solution: Disallow :bnext, :bprev, etc. (Naruhiko Nishino, closes #5494)
2020-01-17patch 8.2.0125: :mode no longer works for any systemv8.2.0125Bram Moolenaar
Problem: :mode no longer works for any system. Solution: Always give an error message.
2020-01-07patch 8.2.0098: exe stack length can be wrong without being detectedv8.2.0098Bram Moolenaar
Problem: Exe stack length can be wrong without being detected. Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
2020-01-06patch 8.2.0095: cannot specify exit code for :cquitv8.2.0095Bram Moolenaar
Problem: Cannot specify exit code for :cquit. Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442)
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-16patch 8.2.0013: not using a typedef for condstackv8.2.0013Bram Moolenaar
Problem: Not using a typedef for condstack. Solution: Add a typedef.
2019-12-08patch 8.1.2411: function argument copied unnecessarilyv8.1.2411Bram Moolenaar
Problem: Function argument copied unnecessarily. Solution: Use the argument directly.
2019-12-01patch 8.1.2379: using old C style commentsv8.1.2379Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-11-30patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar
Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
2019-11-26patch 8.1.2349: :lockvar and :unlockvar cannot be followed by "| endif"v8.1.2349Bram Moolenaar
Problem: :lockvar and :unlockvar cannot be followed by "| endif". Solution: Check for following commands. (closes #5269)
2019-11-26patch 8.1.2348: :const cannot be followed by "| endif"v8.1.2348Bram Moolenaar
Problem: :const cannot be followed by "| endif". Solution: Check following command for :const. (closes #5269) Also fix completion after :const.
2019-10-20patch 8.1.2197: ExitPre autocommand may cause accessing freed memoryv8.1.2197Bram Moolenaar
Problem: ExitPre autocommand may cause accessing freed memory. Solution: Check the window pointer is still valid. (closes #5093)
2019-10-20patch 8.1.2195: Vim does not exit when the terminal window is last windowv8.1.2195Bram Moolenaar
Problem: Vim does not exit when closing a terminal window and it is the last window. Solution: Exit Vim if the closed terminal window is the last one. (closes #4539)
2019-10-19patch 8.1.2187: error for bad regexp even though regexp is not usedv8.1.2187Bram Moolenaar
Problem: Error for bad regexp even though regexp is not used when writing a file. (Arseny Nasokin) Solution: Ignore regexp errors. (closes #5059)
2019-10-18patch 8.1.2173: searchit() has too many argumentsv8.1.2173Bram Moolenaar
Problem: Searchit() has too many arguments. Solution: Move optional arguments to a struct. Add the "wrapped" argument.
2019-10-12patch 8.1.2143: cannot see each command even when 'verbose' is setv8.1.2143Bram Moolenaar
Problem: Cannot see each command even when 'verbose' is set. Solution: List each command when 'verbose' is at least 16.
2019-09-21patch 8.1.2064: MS-Windows: compiler warnings for unused argumentsv8.1.2064Bram Moolenaar
Problem: MS-Windows: compiler warnings for unused arguments. Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963)
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-05patch 8.1.1988: :startinsert! does not work the same way as "A"v8.1.1988Bram Moolenaar
Problem: :startinsert! does not work the same way as "A". Solution: Use the same code to move the cursor. (closes #4896)
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-23patch 8.1.1914: command line expansion code is spread outv8.1.1914Bram Moolenaar
Problem: Command line expansion code is spread out. Solution: Move set_one_cmd_context(). (Yegappan Lakshmanan, closes #4855)
2019-08-21patch 8.1.1908: every popup window consumes a buffer numberv8.1.1908Bram Moolenaar
Problem: Every popup window consumes a buffer number. Solution: Recycle buffers only used for popup windows. Do not list popup window buffers.
2019-08-21patch 8.1.1905: cannot set all properties of the info popupv8.1.1905Bram Moolenaar
Problem: Cannot set all properties of the info popup. Solution: Add popup_findinfo(). Rename popup_getpreview() to popup_findpreview().
2019-08-18patch 8.1.1887: the +cmdline_compl feature is not in the tiny versionv8.1.1887Bram Moolenaar
Problem: The +cmdline_compl feature is not in the tiny version. Solution: Graduate the +cmdline_compl feature.
2019-08-18patch 8.1.1880: cannot show extra info for completion in a popup windowv8.1.1880Bram Moolenaar
Problem: Cannot show extra info for completion in a popup window. Solution: Add the "popup" entry in 'completeopt'.
2019-08-17patch 8.1.1870: using :pedit from a help file sets help filetypev8.1.1870Bram Moolenaar
Problem: Using :pedit from a help file sets the preview window to help filetype. (Wang Shidong) Solution: Do not set "keep_help_flag". (closes #3536)
2019-08-17patch 8.1.1869: code for the argument list is spread outv8.1.1869Bram Moolenaar
Problem: Code for the argument list is spread out. Solution: Put argument list code in arglist.c. (Yegappan Lakshmanan, closes #4819)
2019-08-16patch 8.1.1853: timers test is still flakyv8.1.1853Bram Moolenaar
Problem: Timers test is still flaky. Solution: Compute the time to sleep more accurately.
2019-08-15patch 8.1.1851: crash when sound_playfile() callback plays soundv8.1.1851Bram Moolenaar
Problem: Crash when sound_playfile() callback plays sound. Solution: Invoke callback later from event loop.
2019-08-06patch 8.1.1823: command line history code is spread outv8.1.1823Bram Moolenaar
Problem: Command line history code is spread out. Solution: Put the code in a new file. (Yegappan Lakshmanan, closes #4779) Also graduate the +cmdline_hist feature.
2019-08-06patch 8.1.1822: confusing error message when range is not allowedv8.1.1822Bram Moolenaar
Problem: Confusing error message when range is not allowed. Solution: With ADDR_NONE give e_norange. Change e_invaddr to e_invrange for consistency.
2019-08-05patch 8.1.1819: :pedit does not work with a popup preview windowv8.1.1819Bram Moolenaar
Problem: :pedit does not work with a popup preview window. Solution: Avoid aborting with an error. (fixes #4777) Also double check that after prepare_tagpreview() the current window is not a popup window.
2019-08-04patch 8.1.1808: build failure for tiny versionv8.1.1808Bram Moolenaar
Problem: Build failure for tiny version. Solution: Define ex_eval to ex_ni. Clean up the ordering a bit.
2019-08-01patch 8.1.1785: map functionality mixed with character inputv8.1.1785Bram Moolenaar
Problem: Map functionality mixed with character input. Solution: Move the map functionality to a separate file. (Yegappan Lakshmanan, closes #4740) Graduate the +localmap feature.