summaryrefslogtreecommitdiff
path: root/src/ex_docmd.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.0.1663: cannot build without multi-byte featurev8.0.1663Bram Moolenaar2018-04-051-0/+2
| | | | | Problem: Cannot build without multi-byte feature. Solution: Add #ifdef.
* patch 8.0.1660: the terminal API "drop" command doesn't support optionsv8.0.1660Bram Moolenaar2018-04-041-8/+14
| | | | | Problem: The terminal API "drop" command doesn't support options. Solution: Implement the options.
* patch 8.0.1650: too many #ifdefsv8.0.1650Bram Moolenaar2018-03-291-31/+0
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_LISTCMDS, no reason to leave out buffer commands.
* patch 8.0.1649: no completion for argument list commandsv8.0.1649Bram Moolenaar2018-03-291-0/+8
| | | | | Problem: No completion for argument list commands. Solution: Add arglist completion. (Yegappan Lakshmanan, closes #2706)
* patch 8.0.1595: no autocommand triggered before exitingv8.0.1595Bram Moolenaar2018-03-111-15/+35
| | | | | Problem: No autocommand triggered before exiting. Solution: Add the ExitPre autocommand event.
* patch 8.0.1592: terminal windows in a session are not properly restoredv8.0.1592Bram Moolenaar2018-03-091-5/+24
| | | | | | Problem: Terminal windows in a session are not properly restored. Solution: Add "terminal" in 'sessionoptions'. When possible restore the command running in a terminal.
* patch 8.0.1570: can't use :popup for a menu in the terminalv8.0.1570Bram Moolenaar2018-03-051-3/+14
| | | | | | Problem: Can't use :popup for a menu in the terminal. (Wei Zhang) Solution: Make :popup work in the terminal. Also fix that entries were included that don't work in the current state.
* patch 8.0.1566: too many #ifdefsv8.0.1566Bram Moolenaar2018-03-041-6/+2
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
* patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar2018-03-041-82/+28
| | | | | | Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
* patch 8.0.1518: error messages suppressed after ":silent! try"v8.0.1518Bram Moolenaar2018-02-131-1/+11
| | | | | Problem: Error messages suppressed after ":silent! try". (Ben Reilly) Solution: Restore emsg_silent before executing :try. (closes #2531)
* patch 8.0.1508: the :drop command is not always availablev8.0.1508Bram Moolenaar2018-02-121-3/+0
| | | | | Problem: The :drop command is not always available. Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes #2639)
* patch 8.0.1505: debugger can't break on a conditionv8.0.1505Bram Moolenaar2018-02-111-0/+7
| | | | | Problem: Debugger can't break on a condition. (Charles Campbell) Solution: Add ":breakadd expr". (Christian Brabandt, closes #859)
* patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar2018-02-101-17/+8
| | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
* patch 8.0.1485: weird autocmd may cause arglist to be changed recursivelyv8.0.1485Bram Moolenaar2018-02-091-0/+12
| | | | | | Problem: Weird autocmd may cause arglist to be changed recursively. Solution: Prevent recursively changing the argument list. (Christian Brabandt, closes #2472)
* patch 8.0.1459: cannot handle change of directoryv8.0.1459Bram Moolenaar2018-02-031-2/+10
| | | | | | Problem: Cannot handle change of directory. Solution: Add the DirChanged autocommand event. (Andy Massimino, closes #888) Avoid changing directory for 'autochdir' too often.
* patch 8.0.1416: crash when searching for a sentencev8.0.1416Bram Moolenaar2017-12-191-2/+3
| | | | | Problem: Crash when searching for a sentence. Solution: Return NUL when getting character at MAXCOL. (closes #2468)
* patch 8.0.1289: mkview always includes the local directoryv8.0.1289Bram Moolenaar2017-11-111-2/+4
| | | | | | Problem: Mkview always includes the local directory. Solution: Add the "curdir" value in 'viewoptions'. (Eric Roberts, closes #2316)
* patch 8.0.1231: expanding file name drops dashv8.0.1231Bram Moolenaar2017-10-281-1/+6
| | | | | Problem: Expanding file name drops dash. (stucki) Solution: Use the right position. (Christian Brabandt, closes #2184)
* patch 8.0.1215: newer gcc warns for implicit fallthroughv8.0.1215Bram Moolenaar2017-10-241-1/+1
| | | | | Problem: Newer gcc warns for implicit fallthrough. Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
* patch 8.0.1205: it is possible to unload a changed bufferv8.0.1205Bram Moolenaar2017-10-191-2/+2
| | | | | Problem: Using "1q" it is possible to unload a changed buffer. (Rick Howe) Solution: Check the right window for changes.
* patch 8.0.1204: a QuitPre autocommand may get the wrong file namev8.0.1204Bram Moolenaar2017-10-191-4/+8
| | | | | Problem: A QuitPre autocommand may get the wrong file name. Solution: Pass the buffer being closed to apply_autocmds(). (Rich Howe)
* patch 8.0.1190: unusable after opening new window in BufWritePre eventv8.0.1190Bram Moolenaar2017-10-141-0/+2
| | | | | | | Problem: Vim becomes unusable after opening new window in BufWritePre event. Solution: Call not_exiting(). (Martin Tournoij, closes #2205) Also for "2q" when a help window is open. Add a test.
* patch 8.0.1189: E172 is not actually usefulv8.0.1189Bram Moolenaar2017-10-141-23/+0
| | | | | Problem: E172 is not actually useful, it's only on Unix anyway. Solution: Remove the check and the error.
* patch 8.0.1151: "vim -c startinsert!" doesn't appendv8.0.1151Bram Moolenaar2017-09-261-0/+3
| | | | | Problem: "vim -c startinsert!" doesn't append. Solution: Correct line number on startup. (Christian Brabandt, closes #2117)
* patch 8.0.1139: using window toolbar changes statev8.0.1139Bram Moolenaar2017-09-231-33/+53
| | | | | Problem: Using window toolbar changes state. Solution: Always execute window toolbar actions in Normal mode.
* patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar2017-09-221-1/+1
| | | | | Problem: W_WIDTH() is always the same. Solution: Expand the macro.
* patch 8.0.1135: W_WINCOL() is always the samev8.0.1135Bram Moolenaar2017-09-221-1/+1
| | | | | Problem: W_WINCOL() is always the same. Solution: Expand the macro.
* patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar2017-09-161-153/+43
| | | | | | 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.
* patch 8.0.1109: timer causes error on exit from Ex modev8.0.1109Bram Moolenaar2017-09-141-0/+14
| | | | | | Problem: Timer causes error on exit from Ex mode. (xtal8) Solution: save and restore the ex_pressedreturn flag. (Christian Brabandt, closes #2079)
* patch 8.0.1108: cannot specify mappings for the terminal windowv8.0.1108Bram Moolenaar2017-09-141-0/+3
| | | | | | Problem: Cannot specify mappings for the terminal window. Solution: Add the :tmap command and associated code. (Jacob Askeland, closes #2073)
* patch 8.0.1090: cannot get the text under the cursor like v:beval_textv8.0.1090Bram Moolenaar2017-09-101-14/+19
| | | | | Problem: cannot get the text under the cursor like v:beval_text Solution: Add <cexpr>.
* patch 8.0.1089: cannot get range count in user commandv8.0.1089Bram Moolenaar2017-09-101-4/+19
| | | | | Problem: Cannot get range count in user command. Solution: Add <range> argument.
* patch 8.0.1024: folds lost when session file has a buffer in two windowsv8.0.1024Bram Moolenaar2017-08-301-9/+22
| | | | | | Problem: Manual folds are lost when a session file has the same buffer in two windows. (Jeansen) Solution: Use ":edit" only once. (Christian Brabandt, closes #1958)
* patch 8.0.0953: get "no write since last change" error in terminal windowv8.0.0953Bram Moolenaar2017-08-171-1/+1
| | | | | | 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.
* patch 8.0.0878: no completion for :mapclearv8.0.0878Bram Moolenaar2017-08-061-0/+22
| | | | | Problem: No completion for :mapclear. Solution: Add completion (Nobuhiro Takasaki et al. closes #1943)
* patch 8.0.0858: can exit while a terminal is still running a jobv8.0.0858Bram Moolenaar2017-08-031-10/+10
| | | | | Problem: Can exit while a terminal is still running a job. Solution: Consider a buffer with a running job like a changed file.
* patch 8.0.0785: wildcards are not expanded for :terminalv8.0.0785Bram Moolenaar2017-07-271-10/+13
| | | | | | Problem: Wildcards are not expanded for :terminal. Solution: Add FILES to the command flags. (Yasuhiro Matsumoto, closes #1883) Also complete commands.
* patch 8.0.0761: options not set properly for a terminal bufferv8.0.0761Bram Moolenaar2017-07-231-5/+2
| | | | | | | | Problem: Options of a buffer for a terminal window are not set properly. Solution: Add "terminal" value for 'buftype'. Make 'buftype' and 'bufhidden' not depend on the quickfix feature. Also set the buffer name and show "running" or "finished" in the window title.
* patch 8.0.0700: segfault with QuitPre autocommand closes the windowv8.0.0700Bram Moolenaar2017-07-081-2/+5
| | | | | | Problem: Segfault with QuitPre autocommand closes the window. (Marek) Solution: Check that the window pointer is still valid. (Christian Brabandt, closes #1817)
* patch 8.0.0693: no terminal emulator supportv8.0.0693Bram Moolenaar2017-07-071-0/+3
| | | | | | | Problem: No terminal emulator support. Cannot properly run commands in the GUI. Cannot run a job interactively with an ssh connection. Solution: Very early implementation of the :terminal command. Includes libvterm converted to ANSI C. Many parts still missing.
* patch 8.0.0656: cannot use ! after some user commandsv8.0.0656Bram Moolenaar2017-06-221-1/+2
| | | | | Problem: Cannot use ! after some user commands. Solution: Properly check for existing command. (Higashi Higashi)
* patch 8.0.0643: when a pattern search is slow Vim becomes unusablev8.0.0643Bram Moolenaar2017-06-171-2/+2
| | | | | | | | 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.
* patch 8.0.0615: using % with :hardcopy wrongly escapes spacesv8.0.0615Bram Moolenaar2017-06-041-0/+1
| | | | | Problem: Using % with :hardcopy wrongly escapes spaces. (Alexey Muranov) Solution: Expand % differently. (Christian Brabandt, closes #1682)
* patch 8.0.0613: the conf filetype is used before ftdetect from packagesv8.0.0613Bram Moolenaar2017-06-041-2/+11
| | | | | | | Problem: The conf filetype detection is done before ftdetect scripts from packages that are added later. Solution: Add the FALLBACK argument to :setfiletype. (closes #1679, closes #1693)
* patch 8.0.0598: building with gcc 7.1 yields new warningsv8.0.0598Bram Moolenaar2017-05-161-0/+3
| | | | | Problem: Building with gcc 7.1 yields new warnings. Solution: Initialize result. (John Marriott)
* patch 8.0.0572: building the command table requires Perlv8.0.0572Bram Moolenaar2017-04-201-75/+4
| | | | | Problem: Building the command table requires Perl. Solution: Use a Vim script solution. (Dominique Pelle, closes #1641)
* patch 8.0.0515: ml_get errors in silent Ex modev8.0.0515Bram Moolenaar2017-03-271-0/+1
| | | | | | Problem: ml_get errors in silent Ex mode. (Dominique Pelle) Solution: Clear valid flags when setting the cursor. Set the topline when not in full screen mode.
* patch 8.0.0514: script for creating cmdidxs can be improvedv8.0.0514Bram Moolenaar2017-03-261-1/+1
| | | | | | Problem: Script for creating cmdidxs can be improved. Solution: Count skipped lines instead of collecting the lines. Add "const". (Dominique Pelle, closes #1594)
* patch 8.0.0506: can't build with ANSI Cv8.0.0506Bram Moolenaar2017-03-251-2/+3
| | | | | Problem: Can't build with ANSI C. Solution: Move declarations to start of block.
* patch 8.0.0504: looking up an Ex command is a bit slowv8.0.0504Bram Moolenaar2017-03-251-35/+89
| | | | | | | Problem: Looking up an Ex command is a bit slow. Solution: Instead of just using the first letter, also use the second letter to skip ahead in the list of commands. Generate the table with a Perl script. (Dominique Pelle, closes #1589)