summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
AgeCommit message (Collapse)Author
2018-06-04patch 8.1.0034: cursor not restored with ":edit #"v8.1.0034Bram Moolenaar
Problem: Cursor not restored with ":edit #". Solution: Don't assume autocommands moved the cursor when it was moved to the first non-blank.
2018-04-10patch 8.0.1688: some macros are used without a semicolonv8.0.1688Bram Moolenaar
Problem: Some macros are used without a semicolon, causing auto-indent to be wrong. Solution: Use the do-while(0) trick. (Ozaki Kiichi, closes #2729)
2018-03-29patch 8.0.1650: too many #ifdefsv8.0.1650Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_LISTCMDS, no reason to leave out buffer commands.
2018-03-04patch 8.0.1566: too many #ifdefsv8.0.1566Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
2018-03-04patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
2018-02-27patch 8.0.1553: cannot see what digraph is used to insert a characterv8.0.1553Bram Moolenaar
Problem: Cannot see what digraph is used to insert a character. Solution: Show the digraph with the "ga" command. (Christian Brabandt)
2018-02-19patch 8.0.1525: using :wqa exits even if a job runs in a terminal windowv8.0.1525Bram Moolenaar
Problem: Using :wqa exits even if a job runs in a terminal window. (Jason Felice) Solution: Check if a terminal has a running job. (closes #2654)
2018-02-13patch 8.0.1512: warning for possibly using NULL pointerv8.0.1512Bram Moolenaar
Problem: Warning for possibly using NULL pointer. (Coverity) Solution: Skip using the pointer if it's NULL.
2018-02-12patch 8.0.1508: the :drop command is not always availablev8.0.1508Bram Moolenaar
Problem: The :drop command is not always available. Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes #2639)
2018-02-10patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
2018-02-03patch 8.0.1461: missing another file in patchv8.0.1461Bram Moolenaar
Problem: Missing another file in patch. Solution: Add changes to missing file.
2017-12-09patch 8.0.1383: local additions in help skips some filesv8.0.1383Bram Moolenaar
Problem: Local additions in help skips some files. (joshklod) Solution: Check the base file name length equals.
2017-12-09patch 8.0.1382: get "no write since last change" message if terminal is openv8.0.1382Bram Moolenaar
Problem: Get "no write since last change" message if a terminal is open. (Fritz mehner) Solution: Don't consider a buffer changed if it's a terminal window.
2017-11-26patch 8.0.1347: MS-Windows: build broken by misplaced curlyv8.0.1347Bram Moolenaar
Problem: MS-Windows: build broken by misplaced curly. Solution: Move curly after #endif
2017-11-26patch 8.0.1345: race condition between stat() and open() for viminfov8.0.1345Bram Moolenaar
Problem: Race condition between stat() and open() for the viminfo temp file. (Simon Ruderich) Solution: use open() with O_EXCL to atomically check if the file exists. Don't try using a temp file, renaming it will fail anyway.
2017-11-11patch 8.0.1287: temp file used for viminfo may have wrong permissionsv8.0.1287Bram Moolenaar
Problem: The temp file used when updating the viminfo file may have the wrong permissions if setting the group fails. Solution: Check if the group matches and reduce permissions if not.
2017-10-24patch 8.0.1216: tabline is not always updated for :file commandv8.0.1216Bram Moolenaar
Problem: Tabline is not always updated for :file command. (Norio Takagi) Solution: Set redraw_tabline. (Hirohito Higashi)
2017-10-15patch 8.0.1202: :wall gives an errof for a terminal windowv8.0.1202Bram Moolenaar
Problem: :wall gives an errof for a terminal window. (Marius Gedminas) Solution: Don't try writing a buffer that can't be written. (Yasuhiro Matsumoto, closes #2190)
2017-09-22patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar
Problem: W_WIDTH() is always the same. Solution: Expand the macro.
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
2017-08-31patch 8.0.1028: MS-Windows: viminfo uses $VIM/_viminfo if $HOME not setv8.0.1028Bram Moolenaar
Problem: MS-Windows: viminfo uses $VIM/_viminfo if $HOME not set. (Yongwei Wu) Solution: Use vim_getenv() but check it's returning the default "C:/".
2017-08-17patch 8.0.0953: get "no write since last change" error in terminal windowv8.0.0953Bram Moolenaar
Problem: Get "no write since last change" error in terminal window. Solution: Use another message when closing a terminal window. Make ":quit!" also end the job.
2017-08-03patch 8.0.0858: can exit while a terminal is still running a jobv8.0.0858Bram Moolenaar
Problem: Can exit while a terminal is still running a job. Solution: Consider a buffer with a running job like a changed file.
2017-07-27patch 8.0.0782: using freed memory in quickfix codev8.0.0782Bram Moolenaar
Problem: Using freed memory in quickfix code. (Dominique Pelle) Solution: Handle a help window differently. (Yegappan Lakshmanan)
2017-07-15patch 8.0.0716: not easy to start Vim cleanlyv8.0.0716Bram Moolenaar
Problem: Not easy to start Vim cleanly without changing the viminfo file. Not possible to know whether the -i command line flag was used. Solution: Add the --clean command line argument. Add the 'viminfofile' option. Add "-u DEFAULTS".
2017-07-11patch 8.0.0707: freeing wrong memory with certain autocommandsv8.0.0707Bram Moolenaar
Problem: Freeing wrong memory when manipulating buffers in autocommands. (James McCoy) Solution: Also set the w_s pointer if w_buffer was NULL.
2017-06-25patch 8.0.0677: setting 'filetype' may switch buffersv8.0.0677Bram Moolenaar
Problem: Setting 'filetype' internally may cause the current buffer and window to change unexpectedly. Solution: Set curbuf_lock. (closes #1734)
2017-06-22patch 8.0.0651: build failure without the auto command featurev8.0.0651Bram Moolenaar
Problem: Build failure without the auto command feature. Solution: Add #ifdef. (closes #1782)
2017-06-22patch 8.0.0649: when opening a help file the filetype is set several timesv8.0.0649Bram Moolenaar
Problem: When opening a help file the filetype is set several times. Solution: When setting the filetype to the same value from a modeline, don't trigger FileType autocommands. Don't set the filetype to "help" when it's already set correctly.
2017-06-17patch 8.0.0643: when a pattern search is slow Vim becomes unusablev8.0.0643Bram Moolenaar
Problem: When 'hlsearch' is set and matching with the last search pattern is very slow, Vim becomes unusable. Cannot quit search by pressing CTRL-C. Solution: When the search times out set a flag and don't try again. Check for timeout and CTRL-C in NFA loop that adds states.
2017-06-10patch 8.0.0630: it is not easy to work on lines without a matchv8.0.0630Bram Moolenaar
Problem: The :global command does not work recursively, which makes it difficult to execute a command on a line where one pattern matches and another does not match. (Miles Cranmer) Solution: Allow for recursion if it is for only one line. (closes #1760)
2017-06-05patch 8.0.0621: :stag does not respect 'switchbuf'v8.0.0621Bram Moolenaar
Problem: The ":stag" command does not respect 'switchbuf'. Solution: Check 'switchbuf' for tag commands that may open a new window. (Ingo Karkat, closes #1681) Define macros for the return values of getfile().
2017-04-20patch 8.0.0571: negative line number when using :z^ in an empty bufferv8.0.0571Bram Moolenaar
Problem: The cursor line number becomes negative when using :z^ in an empty buffer. (neovim #6557) Solution: Correct the line number. Also reset the column.
2017-04-02patch 8.0.0537: illegal memory access with :z and large countv8.0.0537Bram Moolenaar
Problem: Illegal memory access with :z and large count. Solution: Check for number overflow, using long instead of int. (Dominique Pelle, closes #1612)
2017-03-26patch 8.0.0513: getting name of cleared highlight group is wrongv8.0.0513Bram Moolenaar
Problem: Getting name of cleared highlight group is wrong. (Matt Wozniski) Solution: Only skip over cleared names for completion. (closes #1592) Also fix that a cleared group causes duplicate completions.
2017-03-16patch 8.0.0466: still macros that should be all-capsv8.0.0466Bram Moolenaar
Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps.
2017-03-15patch 8.0.0459: old fix for :move and folding no longer neededv8.0.0459Bram Moolenaar
Problem: Old fix for :move messing up folding no longer needed, now that we have a proper solution. Solution: Revert patch 7.4.700. (Christian Brabandt)
2017-03-14patch 8.0.0457: using :move messes up manual foldsv8.0.0457Bram Moolenaar
Problem: Using :move messes up manual folds. Solution: Split adjusting marks and folds. Add foldMoveRange(). (neovim patch #6221)
2017-03-12patch 8.0.0452: some macros are in lower casev8.0.0452Bram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
2017-03-12patch 8.0.0451: some macros are in lower casev8.0.0451Bram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
2017-03-12patch 8.0.0449: part of fold patch accidentally includedv8.0.0449Bram Moolenaar
Problem: Part of fold patch accidentally included. Solution: Revert that part of the patch.
2017-03-12patch 8.0.0448: some macros are in lower casev8.0.0448Bram Moolenaar
Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
2017-02-26patch 8.0.0374: invalid memory access when using :sc in Ex modev8.0.0374Bram Moolenaar
Problem: Invalid memory access when using :sc in Ex mode. (Dominique Pelle) Solution: Avoid the column being negative. Also fix a hang in Ex mode.
2017-02-09patch 8.0.0316: :help z? does not workv8.0.0316Bram Moolenaar
Problem: ":help z?" does not work. (Pavol Juhas) Solution: Remove exception for z?.
2017-02-09patch 8.0.0315: :help :[range] does not workv8.0.0315Bram Moolenaar
Problem: ":help :[range]" does not work. (Tony Mechelynck) Solution: Translate to insert a backslash.
2017-01-21patch 8.0.0209: cursor binding does not work with :substitutev8.0.0209Bram Moolenaar
Problem: When using :substitute with the "c" flag and 'cursorbind' is set the cursor is not updated in other windows. Solution: Call do_check_cursorbind(). (Masanori Misono)
2017-01-13patch 8.0.0177: BufEnter autocommand not fired for a directoryv8.0.0177Bram Moolenaar
Problem: When opening a buffer on a directory and inside a try/catch then the BufEnter event is not triggered. Solution: Return NOTDONE from readfile() for a directory and deal with the three possible return values. (Justin M. Keyes, closes #1375, closes #1353)
2016-12-14patch 8.0.0134v8.0.0134Bram Moolenaar
Problem: Null pointer access reported by UBsan. Solution: Check curwin->w_buffer is not NULL. (Yegappan Lakshmanan)
2016-11-10patch 8.0.0073v8.0.0073Bram Moolenaar
Problem: More comparisons between firstwin and lastwin. Solution: Use ONE_WINDOW for consistency. (Hirohito Higashi)
2016-10-21patch 8.0.0046v8.0.0046Bram Moolenaar
Problem: Using NUL instead of NULL. Solution: Change to NULL. (Dominique Pelle)