aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
Commit message (Collapse)AuthorAge
...
* vim-patch:8.1.0235: more help tags that jump to the wrong locationJan Edmund Lazo2018-09-04
| | | | | | | Problem: More help tags that jump to the wrong location. Solution: Add more exceptions and a table for "expr-" tags. (Hirohito Higashi) https://github.com/vim/vim/commit/3bf5e6a4c8eb84b44437d6148428565d44783eed
* vim-patch:8.1.0231: :help -? goes to help for -+Jan Edmund Lazo2018-09-04
| | | | | | Problem: :help -? goes to help for -+. Solution: Add -? to list of special cases. (Hirohito Higashi) https://github.com/vim/vim/commit/a5bc38b8c16be93bac900137a5837585006cc8a4
* vim-patch:8.0.1383: local additions in help skips some filesJan Edmund Lazo2018-09-04
| | | | | | Problem: Local additions in help skips some files. (joshklod) Solution: Check the base file name length equals. https://github.com/vim/vim/commit/35c5e8155da797f14124d98fdc6189067b965688
* Remove has_mbytes from lines local to parent commitZviRackover2018-08-31
|
* Refactor: remove mb_ptr2len_len, mb_ptr2cells and mb_ptr2cells_lenZviRackover2018-08-31
| | | | Remove occurences of these macros.
* vim-patch:8.1.0110: file name not displayed with ":file" (#8878)Justin M. Keyes2018-08-21
| | | | | | | | | 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 vim/vim#3070) https://github.com/vim/vim/commit/fc0896093c3b3e753859a5f929921933e7a2e6cd closes #8817 closes #8873
* refactor: Replace vim_strrchr() with strrchar() (#8718)ZviRackover2018-08-11
| | | | ref #1474
* Merge #8744 from janlazo/vim-8.0.0890Justin M. Keyes2018-08-08
|\
| * memline: copy in ml_replace() is boolJan Edmund Lazo2018-08-07
| |
| * vim-patch:8.0.1216: tabline is not always updated for :file commandJan Edmund Lazo2018-08-06
| | | | | | | | | | | | Problem: Tabline is not always updated for :file command. (Norio Takagi) Solution: Set redraw_tabline. (Hirohito Higashi) https://github.com/vim/vim/commit/6ce650480844bfaa5410874416b4a2e15f40b870
* | Remove all occurences of the mb_ptr2char macroZviRackover2018-08-06
|/ | | | | | | First step towards implemening issue #7401. The same can be done for all deprecated mb_ functions in follow-up patches.
* ex_cmds: add const to helptags_one() variablesJan Edmund Lazo2018-08-01
|
* ex_cmds: add const to fix_help_buffer() variablesJan Edmund Lazo2018-08-01
|
* ex_cmds: refactor utf8 variables to TriStateJan Edmund Lazo2018-08-01
| | | | | - utf8 in helptags_one() - this_utf in fix_help_buffer()
* vim-patch:8.0.1512: warning for possibly using NULL pointerJan Edmund Lazo2018-07-23
| | | | | | Problem: Warning for possibly using NULL pointer. (Coverity) Solution: Skip using the pointer if it's NULL. https://github.com/vim/vim/commit/e4db7aedab65abadcc84c78e7a10ec7bb62f11cf
* highlight: extract low-level highlight logic from syntax, uiBjörn Linse2018-07-21
|
* vim-patch:8.0.0630: it is not easy to work on lines without a match (#8734)Jan Edmund Lazo2018-07-13
| | | | | | | 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 vim/vim#1760) https://github.com/vim/vim/commit/f84b122a99da75741ae686fabb6f81b8b4755998
* vim-patch:8.0.0677: setting 'filetype' may switch buffersJan Edmund Lazo2018-06-26
| | | | | | | Problem: Setting 'filetype' internally may cause the current buffer and window to change unexpectedly. Solution: Set curbuf_lock. (closes vim/vim#1734) https://github.com/vim/vim/commit/1814183b865059679f6ee526ec23fc575e536e66
* vim-patch:8.0.0707: freeing wrong memory with certain autocommandsJan Edmund Lazo2018-06-25
| | | | | | | Problem: Freeing wrong memory when manipulating buffers in autocommands. (James McCoy) Solution: Also set the w_s pointer if w_buffer was NULL. https://github.com/vim/vim/commit/f1d13478e3a7e1a86d52552c8c5571f00dc28ad1
* *: Replace b_changedtick with new always-inline functionsZyX2018-06-22
| | | Ref #8474
* vim-patch:8.0.0621: :stag does not respect 'switchbuf'Jan Edmund Lazo2018-06-21
| | | | | | | | Problem: The ":stag" command does not respect 'switchbuf'. Solution: Check 'switchbuf' for tag commands that may open a new window. (Ingo Karkat, closes vim/vim#1681) Define macros for the return values of getfile(). https://github.com/vim/vim/commit/8ad80dea089ffeb1a845199c013e9bb4be1cd22e
* vim-patch:8.0.0537: illegal memory access with :z and large count (#8592)Jan Edmund Lazo2018-06-19
| | | | | | Problem: Illegal memory access with :z and large count. Solution: Check for number overflow, using long instead of int. (Dominique Pelle, closes vim/vim#1612) https://github.com/vim/vim/commit/fa0ad0bb0b4255e64ebcf9269d60a942e0ae7ff9
* vim-patch:8.0.0451: some macros are in lower caseJan Edmund Lazo2018-06-12
| | | | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice. https://github.com/vim/vim/commit/91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f
* vim-patch:8.0.0466: still macros that should be all-caps (#8510)Jan Edmund Lazo2018-06-10
| | | | | Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps. https://github.com/vim/vim/commit/8820b48654b62472821d9b155fe03ab7ac13a05c
* Rename some more, fixe borked renamingKillTheMule2018-05-23
|
* LintKillTheMule2018-05-23
|
* Some renamings and doc changesKillTheMule2018-05-23
|
* Enable -WconversionKillTheMule2018-05-23
|
* The grand renamingKillTheMule2018-05-23
|
* LintKillTheMule2018-05-23
|
* API: Implement buffer updatesPeter Hodge2018-05-23
| | | | | Originally written by @phodge in https://github.com/neovim/neovim/pull/5269.
* *: Fix clint errorsZyX2018-04-22
|
* ex_cmds: Fix PVS/V547: expression was already checked in outer if()ZyX2018-04-15
|
* ex_cmds: Fix PVS/V557: possible array overrun in :asciiZyX2018-04-15
| | | | | | Some calculation show that with the current setup there will not be enough bytes occupied for that, barring the case of malicious translation. Still should be possible to have array overrun with specially crafted translation.
* ex_cmds: Simplify do_asciiZyX2018-04-15
| | | | Specifically apply constants like enc_utf8 (which are constants *now*) and simplify conditions after that. Also some style changes.
* ex_cmds: Remove #ifdef USE_GUIZyX2018-04-15
| | | | `ag` shows that this identifier (`USE_GUI`) is found in exactly one place (zero after this commit). So I assume macros is never defined.
* vim-patch:8.0.0316: :help z? does not work (#8134)KunMing Xie2018-03-14
| | | | | Problem: ":help z?" does not work. (Pavol Juhas) Solution: Remove exception for z?. https://github.com/vim/vim/commit/dad7309dd22f0c6b5de0b031acd7f54d3aa94326
* vim-patch:8.0.0513: fix getting name of cleared highlight group (#8103)KunMing Xie2018-03-08
| | | | | | | Problem: Getting name of cleared highlight group is wrong. (Matt Wozniski) Solution: Only skip over cleared names for completion. (closes vim/vim#1592) Also fix that a cleared group causes duplicate completions. https://github.com/vim/vim/commit/c96272e30e2b81e5e0c8418f09d9db4e2fcd5d73
* vim-patch-8.0.0649 and vim-patch-8.0.0650: autocmd open help 2 timesNimit Bhardwaj2018-02-17
|
* lintJustin M. Keyes2018-02-12
|
* vim-patch:8.0.0858: can exit while a terminal is still running a jobJustin M. Keyes2018-02-11
| | | | | | | Problem: Can exit while a terminal is still running a job. Solution: Consider a buffer with a running job like a changed file. https://github.com/vim/vim/commit/eb44a68b42eda207a5bc4def9ea8fc4d38acb650
* shell: use msg_outtrans_len_attr for :!cmdBjörn Linse2018-02-05
| | | | fixes #7830 and #7788
* Fix warning about conversion on mingw64George Zhao2018-01-18
|
* vim-patch:8.0.0374: invalid memory access when using :sc in Ex mode (#7849)KunMing Xie2018-01-15
| | | | | | 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. https://github.com/vim/vim/commit/ba748c8a847561c043a63827bcb1d98bdebe16e6
* Merge #7755Justin M. Keyes2017-12-28
|\
| * vim-patch:8.0.0315: :help :[range] does not workckelsel2017-12-21
| | | | | | | | | | | | | | Problem: ":help :[range]" does not work. (Tony Mechelynck) Solution: Translate to insert a backslash. https://github.com/vim/vim/commit/a76f59d817e2da31d83b4f0e978b52abe81e0ae9
* | *: Hide list implementation in other files as wellZyX2017-12-10
|/
* helptags: fix double-free (#7600)Hannu Hartikainen2017-11-20
| | | | | | | | | closes #7599 Helped-by: oni-link <knil.ino@gmail.com> Freeing `dirname` was first introduced by a code refactoring from `ex_helptags()` to `do_helptags()` (`vim-patch:7.4.1551`)(#4648) and later removed by `vim-patch:7.4.1562`(#4660). Only problem with that is, that the patches were not applied in order so the fixing patch was declared `N/A`. So `do_helptags()` should have never freed `dirname`.
* 'inccommand': Fix matches for zero-width (#7487)KillTheMule2017-11-05
| | | closes #7485
* Merge #7315 "'inccommand': multiline, other fixes"Justin M. Keyes2017-10-31
|\ | | | | | | | | | | | | closes #5589 closes #5590 closes #5598 closes #5608