summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
AgeCommit message (Collapse)Author
2018-06-28patch 8.1.0126: various problems with 'vartabstop'Bram Moolenaar
Problem: Various problems with 'vartabstop'. Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian Brabandt, closes #3076)
2018-06-28patch 8.1.0120: buffer 'modified' set even when :sort has no changesBram Moolenaar
Problem: Buffer 'modified' set even when :sort has no changes. Solution: Only set 'modified' when lines are moved. (Jason Franklin)
2018-06-24patch 8.1.0114: confusing variable nameBram Moolenaar
Problem: Confusing variable name. Solution: Rename new_ts to new_vts_array. Change zero to NULL.
2018-06-24patch 8.1.0110: file name not displayed with ":file"Bram Moolenaar
Problem: File name not displayed with ":file" when 'F' is in 'shortmess'. Solution: Always display the file name when there is no argument (Christian Brabandt, closes #3070)
2018-06-23patch 8.1.0105: all tab stops are the sameBram Moolenaar
Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes #2711)
2018-06-04patch 8.1.0034: cursor not restored with ":edit #"Bram 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 semicolonBram 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 #ifdefsBram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_LISTCMDS, no reason to leave out buffer commands.
2018-03-04patch 8.0.1566: too many #ifdefsBram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
2018-03-04patch 8.0.1564: too many #ifdefsBram 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 characterBram 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 windowBram 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 pointerBram 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 availableBram 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 linesBram 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 patchBram 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 filesBram 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 openBram 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 curlyBram 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 viminfoBram 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 permissionsBram 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 commandBram 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 windowBram 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 sameBram Moolenaar
Problem: W_WIDTH() is always the same. Solution: Expand the macro.
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsBram 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 setBram 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 windowBram 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 jobBram 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 codeBram 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 cleanlyBram 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 autocommandsBram 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 buffersBram 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 featureBram 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 timesBram 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 unusableBram 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 matchBram 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'Bram 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 bufferBram 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 countBram 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 wrongBram 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-capsBram 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 neededBram 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 foldsBram 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 caseBram 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 caseBram 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 includedBram 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 caseBram 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 modeBram 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 workBram Moolenaar
Problem: ":help z?" does not work. (Pavol Juhas) Solution: Remove exception for z?.
2017-02-09patch 8.0.0315: :help :[range] does not workBram Moolenaar
Problem: ":help :[range]" does not work. (Tony Mechelynck) Solution: Translate to insert a backslash.