summaryrefslogtreecommitdiff
path: root/src/ex_cmds2.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.0805: too many #ifdefsv8.1.0805Bram Moolenaar2019-01-241-12/+1
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 1.
* patch 8.1.0785: depending on the configuration some functions are unusedv8.1.0785Bram Moolenaar2019-01-201-1/+1
| | | | | | Problem: Depending on the configuration some functions are unused. Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle, closes #3822)
* patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar2019-01-191-7/+7
| | | | | Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-51/+51
| | | | | | | | Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
* patch 8.1.0732: cannot build without the eval featurev8.1.0732Bram Moolenaar2019-01-121-3/+2
| | | | | Problem: Cannot build without the eval feature. Solution: Make a copy of the sourced file name.
* patch 8.1.0729: there is a SourcePre autocommand event but not a SourcePostv8.1.0729Bram Moolenaar2019-01-121-0/+12
| | | | | Problem: There is a SourcePre autocommand event but not a SourcePost. Solution: Add the SourcePost autocommand event. (closes #3739)
* patch 8.1.0651: :args \"foo works like :args without argumentv8.1.0651Bram Moolenaar2018-12-281-1/+1
| | | | | Problem: :args \"foo works like :args without argument. Solution: Fix check for empty argument. (closes #3728)
* patch 8.1.0553: it is not easy to edit a script that was sourcedv8.1.0553Bram Moolenaar2018-11-301-1/+14
| | | | | | Problem: It is not easy to edit a script that was sourced. Solution: Add a count to ":scriptnames", so that ":script 40" edits the script with script ID 40.
* patch 8.1.0515: reloading a script gives errors for existing functionsv8.1.0515Bram Moolenaar2018-11-101-4/+5
| | | | | Problem: Reloading a script gives errors for existing functions. Solution: Allow redefining a function once when reloading a script.
* patch 8.1.0512: 'helplang' default is inconsistent for C and C.UTF-8v8.1.0512Bram Moolenaar2018-11-051-3/+13
| | | | | Problem: 'helplang' default is inconsistent for C and C.UTF-8. Solution: Don't accept a value unless it starts with two letters.
* patch 8.1.0475: memory not freed on exit when quit in autocmdv8.1.0475Bram Moolenaar2018-10-141-3/+3
| | | | | Problem: Memory not freed on exit when quit in autocmd. Solution: Remember funccal stack when executing autocmd.
* patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar2018-09-301-13/+0
| | | | | Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
* patch 8.1.0369: continuation lines cannot contain commentsv8.1.0369Bram Moolenaar2018-09-111-15/+22
| | | | | Problem: Continuation lines cannot contain comments. Solution: Support using "\ .
* patch 8.1.0362: cannot get the script line number when executing a functionv8.1.0362Bram Moolenaar2018-09-101-25/+27
| | | | | | Problem: Cannot get the script line number when executing a function. Solution: Store the line number besides the script ID. (Ozaki Kiichi, closes #3362) Also display the line number with ":verbose set".
* patch 8.1.0353: an "after" directory of a package is appended to 'rtp'v8.1.0353Bram Moolenaar2018-09-081-27/+75
| | | | | | | Problem: An "after" directory of a package is appended to 'rtp', which will be after the user's "after" directory. () Solution: Insert the package "after" directory before any other "after" directory in 'rtp'. (closes #3409)
* patch 8.1.0341: :argadd in empty buffer changes the buffer namev8.1.0341Bram Moolenaar2018-08-311-17/+19
| | | | | | Problem: :argadd in empty buffer changes the buffer name. (Pavol Juhas) Solution: Don't re-use the current buffer when not going to edit the file. (closes #3397) Do re-use the current buffer for :next.
* patch 8.1.0334: 'autowrite' takes effect when buffer is not to be writtenv8.1.0334Bram Moolenaar2018-08-301-2/+2
| | | | | | Problem: 'autowrite' takes effect when buffer is not to be written. Solution: Don't write buffers that are not supposed to be written. (Even Q Jones, closes #3391) Add tests for 'autowrite'.
* patch 8.1.0167: lock flag in new dictitem is reset in many placesv8.1.0167Bram Moolenaar2018-07-081-1/+0
| | | | | Problem: Lock flag in new dictitem is reset in many places. Solution: Always reset the lock flag.
* patch 8.1.0166: using dict_add_nr_str() is clumsyv8.1.0166Bram Moolenaar2018-07-081-7/+7
| | | | | Problem: Using dict_add_nr_str() is clumsy. Solution: Split into two functions. (Ozaki Kiichi, closes #3154)
* patch 8.1.0121: crash when using ballooneval related to 'vartabstop'v8.1.0121Bram Moolenaar2018-06-281-1/+1
| | | | | Problem: Crash when using ballooneval related to 'vartabstop'. Solution: Initialize balloonEval->vts to NULL. (Markus Braun)
* patch 8.0.1817: a timer may change v:count unexpectedlyv8.0.1817Bram Moolenaar2018-05-121-0/+5
| | | | | | Problem: A timer may change v:count unexpectedly. Solution: Save and restore v:count and similar variables when a timer callback is invoked. (closes #2897)
* patch 8.0.1810: buffer of a terminal only updated in Terminal-Normal modev8.0.1810Bram Moolenaar2018-05-101-1/+5
| | | | | | Problem: Buffer of a terminal only updated in Terminal-Normal mode. Solution: Copy the terminal window content to the buffer when in Terminal-Job mode.
* patch 8.0.1773: dialog messages are not translatedv8.0.1773Bram Moolenaar2018-04-291-1/+2
| | | | | Problem: Dialog messages are not translated. Solution: Add N_() and _() where needed. (Sergey Alyoshin)
* patch 8.0.1763: :argedit does not reuse an empty unnamed bufferv8.0.1763Bram Moolenaar2018-04-241-3/+7
| | | | | | Problem: :argedit does not reuse an empty unnamed buffer. Solution: Add the BLN_CURBUF flag and fix all the side effects. (Christian Brabandt, closes #2713)
* patch 8.0.1753: various warnings from a static analyserv8.0.1753Bram Moolenaar2018-04-241-1/+1
| | | | | | Problem: Various warnings from a static analyser Solution: Add type casts, remove unneeded conditions. (Christian Brabandt, closes #2770)
* patch 8.0.1740: warning for signed-unsigned incompatibilityv8.0.1740Bram Moolenaar2018-04-201-2/+2
| | | | | Problem: Warning for signed-unsigned incompatibility. Solution: Change type from "char *" to "char_u *". (John Marriott)
* patch 8.0.1738: ":args" output is hard to readv8.0.1738Bram Moolenaar2018-04-201-10/+11
| | | | | Problem: ":args" output is hard to read. Solution: Make columns with the names if the output is more than one line.
* patch 8.0.1734: package directory not added to 'rtp' if prefix matchesv8.0.1734Bram Moolenaar2018-04-181-3/+23
| | | | | | Problem: Package directory not added to 'rtp' if prefix matches. Solution: Check the match is a full match. (Ozaki Kiichi, closes #2817) Also handle different ways of spelling a path.
* patch 8.0.1650: too many #ifdefsv8.0.1650Bram Moolenaar2018-03-291-24/+2
| | | | | 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/+15
| | | | | Problem: No completion for argument list commands. Solution: Add arglist completion. (Yegappan Lakshmanan, closes #2706)
* patch 8.0.1593: :qall never exits with an active terminal windowv8.0.1593Bram Moolenaar2018-03-101-4/+16
| | | | | Problem: :qall never exits with an active terminal window. Solution: Add a way to kill a job in a terminal window.
* patch 8.0.1566: too many #ifdefsv8.0.1566Bram Moolenaar2018-03-041-2/+1
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
* patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar2018-03-041-35/+17
| | | | | | 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.1525: using :wqa exits even if a job runs in a terminal windowv8.0.1525Bram Moolenaar2018-02-191-1/+1
| | | | | | 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)
* patch 8.0.1511: some code for the debugger watch expression is clumsyv8.0.1511Bram Moolenaar2018-02-131-16/+13
| | | | | Problem: Some code for the debugger watch expression is clumsy. Solution: Clean up the code.
* patch 8.0.1508: the :drop command is not always availablev8.0.1508Bram Moolenaar2018-02-121-2/+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-22/+139
| | | | | 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-3/+1
| | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
* patch 8.0.1469: when package path is a symlink 'runtimepath' is wrongv8.0.1469Bram Moolenaar2018-02-041-105/+132
| | | | | | | Problem: When package path is a symlink adding it to 'runtimepath' happens at the end. Solution: Do not resolve symlinks before locating the position in 'runtimepath'. (Ozaki Kiichi, closes #2604)
* patch 8.0.1398: :packadd does not load packages from the "start" directoryv8.0.1398Bram Moolenaar2017-12-171-9/+22
| | | | | | | Problem: :packadd does not load packages from the "start" directory. (Alejandro Hernandez) Solution: Make :packadd look in the "start" directory if those packages were not loaded on startup.
* patch 8.0.1372: profile log may be truncated halfway a characterv8.0.1372Bram Moolenaar2017-12-051-0/+20
| | | | | Problem: Profile log may be truncated halfway a character. Solution: Find the start of the character. (Ozaki Kiichi, closes #2385)
* patch 8.0.1312: balloon_show() only works in terminal when compiled with GUIv8.0.1312Bram Moolenaar2017-11-181-1/+1
| | | | | | Problem: balloon_show() only works in terminal when compiled with the GUI. Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI specific file.
* patch 8.0.1309: cannot use 'balloonexpr' in a terminalv8.0.1309Bram Moolenaar2017-11-181-9/+30
| | | | | | Problem: Cannot use 'balloonexpr' in a terminal. Solution: Add 'balloonevalterm' and add code to handle mouse movements in a terminal. Initial implementation for Unix with GUI.
* patch 8.0.1217: can't use remote eval to inspect vars in debug modev8.0.1217Bram Moolenaar2017-10-261-0/+2
| | | | | Problem: Can't use remote eval to inspect vars in debug mode. Solution: Don't discard the call stack in debug mode. (closes #2237, #2247)
* patch 8.0.1207: profiling skips the first and last script linev8.0.1207Bram Moolenaar2017-10-191-27/+30
| | | | | | Problem: Profiling skips the first and last script line. Solution: Check for BOM after setting script ID. (Lemonboy, closes #2103, closes #2112) Add a test. List the trailing script lines.
* patch 8.0.1127: Test_peek_and_get_char fails on 32 bit systemv8.0.1127Bram Moolenaar2017-09-181-24/+21
| | | | | | Problem: Test_peek_and_get_char fails on 32 bit system. (Eliminate Riesebieter) Solution: Avoid an integer overflow. (James McCoy, closes #2116)
* patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar2017-09-161-48/+9
| | | | | | 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/+2
| | | | | | 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.1067: try/catch in timer does not prevent it from being stoppedv8.0.1067Bram Moolenaar2017-09-061-10/+20
| | | | | | Problem: Using try/catch in timer does not prevent it from being stopped. Solution: Reset the exception context and use did_emsg instead of called_emsg.
* patch 8.0.1002: unnecessarily updating screen after timer callbackv8.0.1002Bram Moolenaar2017-08-261-1/+8
| | | | | Problem: Unnecessarily updating screen after timer callback. Solution: Check if calling the timer sets must_redraw.