summaryrefslogtreecommitdiff
path: root/src/ex_docmd.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 7.4.864v7.4.864Bram Moolenaar2015-09-091-1/+15
| | | | | Problem: Tiny build fails. Solution: Put qf_ items inside #ifdef.
* patch 7.4.858v7.4.858Bram Moolenaar2015-09-081-4/+39
| | | | | | Problem: It's a bit clumsy to execute a command on a list of matches. Solution: Add the ":ldo", ":lfdo", ":cdo" and ":cfdo" commands. (Yegappan Lakshmanan)
* patch 7.4.821v7.4.821Bram Moolenaar2015-08-111-0/+3
| | | | | Problem: Coverity reports a few problems. Solution: Avoid the warnings. (Christian Brabandt)
* patch 7.4.811v7.4.811Bram Moolenaar2015-08-041-2/+2
| | | | | Problem: Invalid memory access when using "exe 'sc'". Solution: Avoid going over the end of the string. (Dominique Pelle)
* patch 7.4.800v7.4.800Bram Moolenaar2015-07-281-2/+3
| | | | | Problem: Using freed memory when triggering CmdUndefined autocommands. Solution: Set pointer to NULL. (Dominique Pelle)
* patch 7.4.792v7.4.792Bram Moolenaar2015-07-211-1/+1
| | | | | Problem: Can only conceal text by defining syntax items. Solution: Use matchadd() to define concealing. (Christian Brabandt)
* patch 7.4.740v7.4.740Bram Moolenaar2015-06-191-1/+8
| | | | | Problem: ":1quit" works like ":.quit". (Bohr Shaw) Solution: Don't exit Vim when a range is specified. (Christian Brabandt)
* patch 7.4.737v7.4.737Bram Moolenaar2015-06-091-1/+5
| | | | | | Problem: On MS-Windows vimgrep over arglist doesn't work (Issue 361) Solution: Only escape backslashes in ## expansion when it is not used as the path separator. (James McCoy)
* patch 7.4.709v7.4.709Bram Moolenaar2015-04-211-9/+28
| | | | | | Problem: ":tabmove" does not work as documented. Solution: Make it work consistently. Update documentation and add tests. (Hirohito Higashi)
* patch 7.4.693v7.4.693Bram Moolenaar2015-04-131-2/+2
| | | | | Problem: Session file is not correct when there are multiple tab pages. Solution: Reset the current window number for each tab page. (Jacob Niehus)
* updated for version 7.4.617v7.4.617Bram Moolenaar2015-02-031-2/+7
| | | | | Problem: Wrong ":argdo" range does not cause an error. Solution: Reset "cmd" to NULL. (Marcin Szamotulski, Ingo Karkat)
* updated for version 7.4.580v7.4.580Bram Moolenaar2015-01-141-2/+2
| | | | | | Problem: ":52wincmd v" still gives an invalid range error. (Charles Campbell) Solution: Skip over white space.
* updated for version 7.4.572v7.4.572Bram Moolenaar2015-01-141-23/+28
| | | | | Problem: Address type of :wincmd depends on the argument. Solution: Check the argument.
* updated for version 7.4.568v7.4.568Bram Moolenaar2015-01-141-2/+1
| | | | | Problem: Giving an error for ":0wincmd w" is a problem for some plugins. Solution: Allow the zero in the range. (Marcin Szamotulski)
* updated for version 7.4.565v7.4.565Bram Moolenaar2015-01-071-48/+58
| | | | | | | | Problem: Ranges for arguments, buffers, tabs, etc. are not checked to be valid but limited to the maximum. This can cause the wrong thing to happen. Solution: Give an error for an invalid value. (Marcin Szamotulski) Use windows range for ":wincmd".
* updated for version 7.4.561v7.4.561Bram Moolenaar2015-01-071-1/+2
| | | | | Problem: Ex range handling is wrong for buffer-local user commands. Solution: Check for CMD_USER_BUF. (Marcin Szamotulski)
* updated for version 7.4.542v7.4.542Bram Moolenaar2014-12-081-23/+191
| | | | | | | Problem: Using a range for window and buffer commands has a few problems. Cannot specify the type of range for a user command. Solution: Add the -addr argument for user commands. Fix problems. (Marcin Szamotulski)
* updated for version 7.4.540v7.4.540Bram Moolenaar2014-11-301-1/+5
| | | | | Problem: Cannot build with tiny and small features. (Taro Muraoka) Solution: Add #ifdef around CMD_USER.
* updated for version 7.4.539v7.4.539Bram Moolenaar2014-11-301-14/+41
| | | | | | | Problem: Crash when computing buffer count. Problem with range for user commands. Line range wrong in Visual area. Solution: Avoid segfault in compute_buffer_local_count(). Check for CMD_USER when checking type of range. (Marcin Szamotulski)
* updated for version 7.4.535v7.4.535Bram Moolenaar2014-11-271-78/+78
| | | | | Problem: Can't build with tiny features. Solution: Add #ifdefs and skip a test.
* updated for version 7.4.531v7.4.531Bram Moolenaar2014-11-271-11/+8
| | | | | Problem: Comments about parsing an Ex command are wrong. Solution: Correct the steop numbers.
* updated for version 7.4.530v7.4.530Bram Moolenaar2014-11-271-139/+465
| | | | | | | | Problem: Many commands take a count or range that is not using line numbers. Solution: For each command specify what kind of count it uses. For windows, buffers and arguments have "$" and "." have a relevant meaning. (Marcin Szamotulski)
* updated for version 7.4.509v7.4.509Bram Moolenaar2014-11-121-0/+1
| | | | | Problem: Users are not aware their encryption is weak. Solution: Give a warning when prompting for the key.
* updated for version 7.4.494v7.4.494Bram Moolenaar2014-11-051-1/+8
| | | | | | Problem: Cursor shape is wrong after a CompleteDone autocommand. Solution: Update the cursor and mouse shape after ":normal" restores the state. (Jacob Niehus)
* updated for version 7.4.486v7.4.486Bram Moolenaar2014-10-211-40/+19
| | | | | Problem: Check for writing to a yank register is wrong. Solution: Negate the check. (Zyx). Also clean up the #ifdefs.
* updated for version 7.4.450v7.4.450Bram Moolenaar2014-09-191-0/+12
| | | | | | Problem: Not all commands that edit another buffer support the +cmd argument. Solution: Add the +cmd argument to relevant commands. (Marcin Szamotulski)
* updated for version 7.4.431v7.4.431Bram Moolenaar2014-09-091-1/+1
| | | | | Problem: Compiler warning. Solution: Add type cast. (Mike Williams)
* updated for version 7.4.415Bram Moolenaar2014-08-231-1/+1
| | | | | Problem: Cannot build. Warning for shadowed variable. (John Little) Solution: Add missing change. Remove declaration.
* updated for version 7.4.414v7.4.414Bram Moolenaar2014-08-221-0/+20
| | | | | | Problem: Cannot define a command only when it's used. Solution: Add the CmdUndefined autocommand event. (partly by Yasuhiro Matsumoto)
* updated for version 7.4.399v7.4.399Bram Moolenaar2014-08-101-2/+1
| | | | | | | | | Problem: Encryption implementation is messy. Blowfish encryption has a weakness. Solution: Refactor the encryption, store the state in an allocated struct instead of using a save/restore mechanism. Introduce the "blowfish2" method, which does not have the weakness and encrypts the whole undo file. (largely by David Leadbeater)
* updated for version 7.4.396v7.4.396Bram Moolenaar2014-08-061-0/+7
| | | | | Problem: When 'clipboard' is "unnamed", :g/pat/d is very slow. (Praful) Solution: Only set the clipboard after the last delete. (Christian Brabandt)
* updated for version 7.4.330v7.4.330Bram Moolenaar2014-06-171-1/+1
| | | | | | | Problem: Using a regexp pattern to highlight a specific position can be slow. Solution: Add matchaddpos() to highlight specific positions efficiently. (Alexey Radkov)
* updated for version 7.4.312v7.4.312Bram Moolenaar2014-05-281-0/+1
| | | | | Problem: Cannot figure out what argument list is being used for a window. Solution: Add the arglistid() function. (Marcin Szamotulski)
* updated for version 7.4.281v7.4.281Bram Moolenaar2014-05-071-0/+16
| | | | | | Problem: When a session file has more than one tabpage and 'showtabline' is one the positions may be slightly off. Solution: Set 'showtabline' to two while positioning windows.
* updated for version 7.4.267v7.4.267Bram Moolenaar2014-04-291-1/+1
| | | | | Problem: The '[ mark is in the wrong position after "gq". (Ingo Karkat) Solution: Add the setmark argument to do_join(). (Christian Brabandt)
* updated for version 7.4.239v7.4.239Bram Moolenaar2014-04-021-1/+1
| | | | | Problem: ":e +" does not position cursor at end of the file. Solution: Check for "+" being the last character (ZyX)
* updated for version 7.4.233v7.4.233Bram Moolenaar2014-04-011-12/+2
| | | | | | Problem: Escaping special characters for using "%" with a shell command is inconsistant, parenthesis are escaped but spaces are not. Solution: Only escape "!". (Gary Johnson)
* updated for version 7.4.232v7.4.232Bram Moolenaar2014-04-011-2/+1
| | | | | Problem: ":%s/\n//" uses a lot of memory. (Aidan Marlin) Solution: Turn this into a join command. (Christian Brabandt)
* updated for version 7.4.215v7.4.215Bram Moolenaar2014-03-251-0/+2
| | | | | | Problem: Inconsistency: ":sp foo" does not reload "foo", unless "foo" is the current buffer. (Liang Li) Solution: Do not reload the current buffer on a split command.
* updated for version 7.4.213v7.4.213Bram Moolenaar2014-03-231-9/+19
| | | | | | Problem: It's not possible to open a new buffer without creating a swap file. Solution: Add the ":noswapfile" modifier. (Christian Brabandt)
* updated for version 7.4.212v7.4.212Bram Moolenaar2014-03-231-12/+2
| | | | | | Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
* updated for version 7.4.205v7.4.205Bram Moolenaar2014-03-121-6/+8
| | | | | | | Problem: ":mksession" writes command to move to second argument while it does not exist. When it does exist the order might be wrong. Solution: Use ":argadd" for each argument instead of using ":args" with a list of names. (Nobuhiro Takasaki)
* updated for version 7.4.169v7.4.169Bram Moolenaar2014-02-051-1/+1
| | | | | Problem: ":sleep" puts cursor in the wrong column. (Liang Li) Solution: Add the window offset. (Christian Brabandt)
* updated for version 7.4.139v7.4.139Bram Moolenaar2014-01-101-1/+1
| | | | | Problem: Crash when using :cd in autocommand. (François Ingelrest) Solution: Set w_localdir to NULL after freeing it. (Dominique Pelle)
* updated for version 7.4.131v7.4.131Bram Moolenaar2013-12-141-3/+6
| | | | | Problem: Syncbind causes E315 errors in some situations. (Liang Li) Solution: Set and restore curbuf in ex_syncbind(). (Christian Brabandt)
* updated for version 7.4.121v7.4.121Bram Moolenaar2013-12-111-0/+4
| | | | | Problem: Completion doesn't work for ":py3d" and ":py3f". (Bohr Shaw) Solution: Skip over letters after ":py3".
* updated for version 7.4.098v7.4.098Bram Moolenaar2013-11-211-0/+5
| | | | | | Problem: When using ":'<,'>del" errors may be given for the visual line numbers being out of range. Solution: Reset Visual mode in ":del". (Lech Lorens)
* updated for version 7.4.083v7.4.083Bram Moolenaar2013-11-091-0/+8
| | | | | Problem: It's hard to avoid adding a used pattern to the search history. Solution: Add the ":keeppatterns" modifier. (Christian Brabandt)
* updated for version 7.4.082v7.4.082Bram Moolenaar2013-11-091-3/+9
| | | | | | Problem: Using "gf" in a changed buffer suggests adding "!", which is not possible. (Tim Chase) Solution: Pass a flag to check_changed() wether adding ! make sense.
* updated for version 7.4.079v7.4.079Bram Moolenaar2013-11-081-1/+1
| | | | | | Problem: A script cannot detect whether 'hlsearch' highlighting is actually displayed. Solution: Add the "v:hlsearch" variable. (ZyX)