summaryrefslogtreecommitdiff
path: root/src/proto/ex_docmd.pro
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.0350: :echowindow does not work in a compiled functionv9.0.0350Bram Moolenaar2022-09-011-0/+1
| | | | | Problem: :echowindow does not work in a compiled function. Solution: Handle the expression at compile time.
* patch 8.2.5026: Vim9: a few lines not covered by testsv8.2.5026Bram Moolenaar2022-05-261-0/+1
| | | | | Problem: Vim9: a few lines not covered by tests. Solution: Delete dead code. Add a few test cases. make "12->func()" work.
* patch 8.2.4841: empty string considered an error for expand()v8.2.4841Bram Moolenaar2022-04-281-1/+1
| | | | | | Problem: Empty string considered an error for expand() when 'verbose' is set. (Christian Brabandt) Solution: Do not give an error for an empty result. (closes #10307)
* patch 8.2.4615: mapping with escaped bar does not work in :def functionv8.2.4615Bram Moolenaar2022-03-231-1/+1
| | | | | | Problem: Mapping with escaped bar does not work in :def function. (Sergey Vlasov) Solution: Do not remove the backslash. (closes #10002)
* patch 8.2.4335: no autocommand event triggered before changing directoryv8.2.4335Bram Moolenaar2022-02-091-0/+1
| | | | | | Problem: No autocommand event triggered before changing directory. (Ronnie Magatti) Solution: Add DirChangedPre. (closes #9721)
* patch 8.2.3941: SIGTSTP is not handledv8.2.3941dbivolaru2021-12-291-0/+1
| | | | | Problem: SIGTSTP is not handled. Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)
* patch 8.2.3716: Vim9: range without a command is not compiledv8.2.3716Bram Moolenaar2021-12-011-1/+2
| | | | | Problem: Vim9: range without a command is not compiled. Solution: Add the ISN_EXECRANGE byte code.
* patch 8.2.3324: Vim9: Cannot use :silent with :endwhilev8.2.3324Bram Moolenaar2021-08-101-3/+3
| | | | | Problem: Vim9: Cannot use :silent with :endwhile. Solution: Allow for using the :silent modifier. (closes #8737)
* patch 8.2.3320: some local functions are not staticv8.2.3320Yegappan Lakshmanan2021-08-091-1/+0
| | | | | | Problem: Some local functions are not static. Solution: Add "static". Move snprintf() related code to strings.c. (Yegappan Lakshmanan, closes #8734)
* patch 8.2.3297: cannot use all commands inside a {} blockv8.2.3297Bram Moolenaar2021-08-051-0/+1
| | | | | | Problem: Cannot use all commands inside a {} block after :command and :autocmd. Solution: Do consider \n to separate commands. (closes #8620)
* patch 8.2.3271: Vim9: cannot use :command or :au with block in :def functionv8.2.3271Bram Moolenaar2021-08-011-0/+1
| | | | | Problem: Vim9: cannot use :command or :au with a block in a :def function. Solution: Recognize the start of the block.
* patch 8.2.3259: when 'indentexpr' causes an error did_throw may hangv8.2.3259Bram Moolenaar2021-07-311-0/+1
| | | | | | Problem: When 'indentexpr' causes an error the did_throw flag may remain set. Solution: Reset did_throw and show the error. (closes #8677)
* patch 8.2.2898: QuitPre and ExitPre not triggered when GUI window is closedv8.2.2898Bram Moolenaar2021-05-291-1/+2
| | | | | Problem: QuitPre and ExitPre not triggered when GUI window is closed. Solution: Call before_quit_autocmds(). (closes #8242)
* patch 8.2.2652: Vim9: can use command modifier without an effectv8.2.2652Bram Moolenaar2021-03-251-0/+2
| | | | | | Problem: Vim9: can use command modifier without an effect. Solution: Give an error for a misplaced command modifier. Fix error message number.
* patch 8.2.2603: Vim9: no effect if user command is also a functionv8.2.2603Bram Moolenaar2021-03-141-1/+1
| | | | | Problem: Vim9: no effect if user command is also a function. Solution: Check for paren following. (closes #7960)
* patch 8.2.2525: Vim9: only local variables checked for a namev8.2.2525Bram Moolenaar2021-02-171-1/+2
| | | | | Problem: Vim9: only local variables checked for a name. Solution: Also check arguments and script variables. (closes #7838)
* patch 8.2.2366: when using ":sleep" the cursor is always displayedv8.2.2366Bram Moolenaar2021-01-161-1/+1
| | | | | | Problem: When using ":sleep" the cursor is always displayed. Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner, closes #7688)
* patch 8.2.2131: Vim9: crash when lambda uses same var as assignmentv8.2.2131Bram Moolenaar2020-12-121-1/+1
| | | | | | Problem: Vim9: crash when lambda uses same var as assignment. Solution: Do not let lookup_local change lv_from_outer, make a copy. (closes #7461)
* patch 8.2.2052: Vim9: "edit +4 fname" gives an errorv8.2.2052Bram Moolenaar2020-11-251-0/+1
| | | | | Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino) Solution: Allow using a range in the +cmd argument. (closes #7364)
* patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar2020-10-241-2/+2
| | | | | Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
* patch 8.2.1897: command modifiers are saved and set inconsistentlyv8.2.1897Bram Moolenaar2020-10-241-1/+2
| | | | | | Problem: Command modifiers are saved and set inconsistently. Solution: Separate parsing and applying command modifiers. Save values in cmdmod_T.
* patch 8.2.1679: Vim9: ":*" is not recognized as a rangev8.2.1679Bram Moolenaar2020-09-141-1/+1
| | | | | Problem: Vim9: ":*" is not recognized as a range. Solution: Move recognizing "*" into skip_range(). (closes #6838)
* patch 8.2.1518: Vim9: cannot assign to local optionv8.2.1518Bram Moolenaar2020-08-231-0/+1
| | | | | Problem: Vim9: cannot assign to local option. Solution: Skip over "&l:" and "&g:". (closes #6749)
* patch 8.2.1491: Vim9: crash when compiling heredoc lines start with commentv8.2.1491Bram Moolenaar2020-08-201-4/+4
| | | | | | Problem: Vim9: crash when compiling heredoc lines start with comment. Solution: Skip over NULL pointers. Do not remove comment and empty lines when fetching function lines. (closes #6743)
* patch 8.2.1280: Ex command error cannot contain an argumentv8.2.1280Bram Moolenaar2020-07-231-0/+1
| | | | | | Problem: Ex command error cannot contain an argument. Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where possible.
* patch 8.2.1229: build error without the eval featurev8.2.1229Bram Moolenaar2020-07-171-1/+0
| | | | | Problem: Build error without the eval feature. Solution: Declare starts_with_colon. Make function local.
* patch 8.2.1227: Vim9: allowing both quoted and # comments is confusingv8.2.1227Bram Moolenaar2020-07-171-0/+1
| | | | | Problem: Vim9: allowing both quoted and # comments is confusing. Solution: Only support # comments in Vim9 script.
* patch 8.2.1137: Vim9: modifiers not cleared after compiling functionv8.2.1137Bram Moolenaar2020-07-051-0/+1
| | | | | Problem: Vim9: modifiers not cleared after compiling function. Solution: Clear command modifiers. (closes #6396)
* patch 8.2.1079: Vim9: no line break allowed in a while loopv8.2.1079Bram Moolenaar2020-06-281-1/+2
| | | | | Problem: Vim9: no line break allowed in a while loop. Solution: Update stored loop lines when finding line breaks.
* patch 8.2.0675: Vim9: no support for closuresv8.2.0675Bram Moolenaar2020-05-011-2/+2
| | | | | Problem: Vim9: no support for closures. Solution: Do not re-use stack entries.
* patch 8.2.0585: Vim9: # comment not recognized after :vim9scriptv8.2.0585Bram Moolenaar2020-04-161-0/+1
| | | | | | Problem: Vim9: # comment not recognized after :vim9script. Solution: Check script type. Make comment after ":echo" work. And in several other places.
* patch 8.2.0149: maintaining a Vim9 branch separately is more workv8.2.0149Bram Moolenaar2020-01-261-0/+1
| | | | | Problem: Maintaining a Vim9 branch separately is more work. Solution: Merge the Vim9 script changes.
* patch 8.1.2195: Vim does not exit when the terminal window is last windowv8.1.2195Bram Moolenaar2019-10-201-5/+4
| | | | | | | Problem: Vim does not exit when closing a terminal window and it is the last window. Solution: Exit Vim if the closed terminal window is the last one. (closes #4539)
* patch 8.1.1914: command line expansion code is spread outv8.1.1914Bram Moolenaar2019-08-231-4/+3
| | | | | Problem: Command line expansion code is spread out. Solution: Move set_one_cmd_context(). (Yegappan Lakshmanan, closes #4855)
* patch 8.1.1869: code for the argument list is spread outv8.1.1869Bram Moolenaar2019-08-171-9/+0
| | | | | | Problem: Code for the argument list is spread out. Solution: Put argument list code in arglist.c. (Yegappan Lakshmanan, closes #4819)
* patch 8.1.1588: in :let-heredoc line continuation is recognizedv8.1.1588Bram Moolenaar2019-06-251-3/+3
| | | | | Problem: In :let-heredoc line continuation is recognized. Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580)
* patch 8.1.1291: not easy to change directory and restorev8.1.1291Bram Moolenaar2019-05-071-1/+2
| | | | | Problem: Not easy to change directory and restore. Solution: Add the chdir() function. (Yegappan Lakshmanan, closes #4358)
* patch 8.1.1218: cannot set a directory for a tab pagev8.1.1218Bram Moolenaar2019-04-271-1/+1
| | | | | Problem: Cannot set a directory for a tab page. Solution: Add the tab-local directory. (Yegappan Lakshmanan, closes #4212)
* patch 8.1.1210: support for user commands is spread outv8.1.1210Bram Moolenaar2019-04-271-10/+0
| | | | | | | Problem: Support for user commands is spread out. No good reason to make user commands optional. Solution: Move user command support to usercmd.c. Always enable the user_commands feature.
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-4/+4
| | | | | | | | 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.0447: GUI scrollbar test fails with Athena and Motifv8.1.0447Bram Moolenaar2018-10-021-1/+1
| | | | | Problem: GUI scrollbar test fails with Athena and Motif. Solution: When not using on-the-fly scrolling call normal_cmd().
* patch 8.1.0392: error while typing :/foo/s// with 'incsearch' enabledv8.1.0392Bram Moolenaar2018-09-151-1/+1
| | | | | Problem: Error while typing :/foo/s// with 'incsearch' enabled. Solution: Do not give search errors when highlighting matches.
* patch 8.1.0288: quickfix code uses cmdidx too oftenv8.1.0288Bram Moolenaar2018-08-151-0/+1
| | | | | Problem: Quickfix code uses cmdidx too often. Solution: Add is_loclist_cmd(). (Yegappan Lakshmanan)
* patch 8.1.0282: 'incsearch' does not work with command modifiersv8.1.0282Bram Moolenaar2018-08-141-1/+1
| | | | | Problem: 'incsearch' does not work with command modifiers. Solution: Skip command modifiers.
* patch 8.1.0281: parsing command modifiers is not separatedv8.1.0281Bram Moolenaar2018-08-141-0/+1
| | | | | Problem: Parsing command modifiers is not separated. Solution: Move command modifier parsing to a separate function.
* patch 8.1.0266: parsing Ex address range is not a separate functionv8.1.0266Bram Moolenaar2018-08-101-0/+1
| | | | | Problem: Parsing Ex address range is not a separate function. Solution: Refactor do_one_cmd() to separate address parsing.
* patch 8.1.0228: dropping files is ignored while Vim is busyv8.1.0228Bram Moolenaar2018-07-291-1/+2
| | | | | Problem: Dropping files is ignored while Vim is busy. Solution: Postpone the effect of dropping files until it's safe.
* patch 8.0.1804: using :normal in terminal window causes problemsv8.0.1804Bram Moolenaar2018-05-081-1/+1
| | | | | | Problem: Using :normal in terminal window causes problems. (Dominique Pelle) Solution: Don't call terminal_loop() for :normal. (closes #2886)
* patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong wayv8.0.1768Bram Moolenaar2018-04-271-0/+1
| | | | | | Problem: SET_NO_HLSEARCH() used in a wrong way. Solution: Make it a function. (suggested by Dominique Pelle, closes #2850)
* patch 8.0.1660: the terminal API "drop" command doesn't support optionsv8.0.1660Bram Moolenaar2018-04-041-0/+1
| | | | | Problem: The terminal API "drop" command doesn't support options. Solution: Implement the options.