aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* version.c: update [ci skip] (#7780)Marvim the Paranoid Android2018-01-06
|
* defaults: do :filetype stuff unless explicitly "off"Justin M. Keyes2018-01-04
| | | | | | | | | | | Until now, the default `:filetype ...` setup was skipped if the user config touched `:filetype` in any way (including implicitly via `:syntax on`). No one needs that, and it's very confusing. Instead, proceed with `:filetype ... on` unless the user explicitly called `:filetype ... off`. closes #7765
* Merge #7805 'eval.c: fix some scan-build warnings'Justin M. Keyes2018-01-03
|\
| * Add null check when adding variable to dict.Paul Rigge2018-01-02
| |
| * Add null pointer assertions for do_unlet_var.Paul Rigge2018-01-02
| |
| * Refactor profiling check in call_user_func.Paul Rigge2018-01-02
| | | | | | | | | | | | | | | | | | do_profiling is a global variable, and as such the clang static analyzer has trouble making arguments about it. This commit does one comparison against do_profiling and puts the result in a local variable. This prevents errors from the value of do_profiling changing between comparisons.
| * Add assertions for watchersPaul Rigge2018-01-02
| | | | | | | | | | | | The clang static analyzer convinced itself lp->ll_newkey could be NULL. This adds an assertion that checks this doesn't actually happen, as well as a parallel assertion for di->di_key.
| * Add another const to tv_copyPaul Rigge2018-01-02
| | | | | | | | | | | | | | | | | | Clang static analyzer had trouble with filter_map in eval.c because tv_copy could, in principle, change the v_type of argvars[0]. It saw a potential null pointer going somewhere it shouldn't as a result. The from argument in tv_copy should be const, which also cleans up the static analyzer's complaint.
| * Add assertion in set_var_lval for null pointer.Paul Rigge2018-01-02
| | | | | | | | If the lval is a index into a list, li should not be null.
* | vim-patch:8.0.0955: Test_existent_file() fails on some file systemsJustin M. Keyes2018-01-03
| | | | | | | | | | | | | | | | Problem: Test_existent_file() fails on some file systems. Solution: Run the test again with a sleep when the test fails without a sleep. (James McCoy, closes vim/vim#1984) https://github.com/vim/vim/commit/82de3c2c036bc89c2d9bdea236e0a7f1208a5571
* | lintJames McCoy2018-01-02
| |
* | vim-patch:8.0.0160: EMSG() is sometimes used where it should be IEMSG()James McCoy2018-01-02
| | | | | | | | | | | | | | Problem: EMSG() is sometimes used for internal errors. Solution: Change them to IEMSG(). (Dominique Pelle) And a few more. https://github.com/vim/vim/commit/de33011ec623fd562419dede6bf465b5b9881a20
* | tui: support TERM=konsole-256colorJustin M. Keyes2018-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | TERM=konsole-256color is recognized by ncurses. TERM=konsole-xterm might be more clever, but should not be necessary (for Nvim at least), we already special-case Konsole in various places. We may need to clean up some areas that currently assume Konsole always "pretends xterm" (`TERM=xterm-256color`), though I didn't find any such cases. ref #6403 ref https://github.com/neovim/neovim/issues/6403#issuecomment-348713346
* | vim-patch:8.0.0336: flags of :substitute not sufficiently testedJustin M. Keyes2018-01-01
| | | | | | | | | | | | | | | | Problem: Flags of :substitute not sufficiently tested. Solution: Test up to two letter flag combinations. (James McCoy, closes vim/vim#1479) https://github.com/vim/vim/commit/8c50d50b6e19b755d7bad7b2724d14ead29364a7
* | vim-patch: b:changedtick-related patchesJustin M. Keyes2018-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0334 vim-patch:8.0.0335 vim-patch:8.0.0343 vim-patch:8.0.0345 Problem: Can't access b:changedtick from a dict reference. Solution: Make changedtick a member of the b: dict. (inspired by neovim vim/vim#6112) https://github.com/vim/vim/commit/79518e2ace5fce7b9c49060e462a6e935dba0a84 vim-patch:8.0.0343: b:changedtick can be unlocked Problem: b:changedtick can be unlocked, even though it has no effect. (Nikolai Pavlov) Solution: Add a check and error E940. (closes #1496) vim-patch:8.0.0345: islocked('d.changedtick') does not work Problem: islocked('d.changedtick') does not work. Solution: Make it work. vim-patch:8.0.0335: functions test fails Problem: Functions test fails. Solution: Use the right buffer number. https://github.com/vim/vim/commit/507647da3151f7ffccac1b217936240daa79849c
* | vim-patch:8.0.0339: illegal memory access with vi' (#7794)KunMing Xie2018-01-01
| | | | | | | | | | | | | | | | Problem: Illegal memory access with vi' Solution: For quoted text objects bail out if the Visual area spans more than one line. https://github.com/vim/vim/commit/46522af72424c7fadfa7a4cbba3dd21b82d19131
* | vim-patch:8.0.0657: cannot get and set quickfix list itemsJames McCoy2017-12-31
| | | | | | | | | | | | | | | | Problem: Cannot get and set quickfix list items. Solution: Add the "items" argument to getqflist() and setqflist(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/6a8958db259d4444da6e6956e54a6513c1af8860
* | vim-patch:8.0.0634: cannot easily get to the last quickfix listJames McCoy2017-12-31
|/ | | | | | | | Problem: Cannot easily get to the last quickfix list. Solution: Add "$" as a value for the "nr" argument of getqflist() and setqflist(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/875feea6ce223462d55543735143d747dcaf4287
* Merge pull request #7762 from ZyX-I/remove-some-listitemsJustin M. Keyes2017-12-31
|\ | | | | Remove some tv_list_item_…() functions
| * eval: Fix linter errorsZyX2017-12-31
| |
| * eval,lua/converter: Fix problems spotted in reviewZyX2017-12-31
| |
| * eval: Refactor some potentially dangerous list appendsZyX2017-12-25
| |
| * eval: Remove magic numbers from find_some_match() type argumentZyX2017-12-25
| |
| * *: Fix linter errorsZyX2017-12-24
| |
| * eval: Replace some tv_list_item_remove() callsZyX2017-12-24
| | | | | | | | | | There is nothing wrong with them, just it is generally better to remove a range then to remove items individually.
| * eval: Rename tv_list_remove_items() to tv_list_drop_items()ZyX2017-12-24
| | | | | | tv_list_remove_items() may cause confusion with tv_list_item_remove()
| * eval/typval: Make tv_list_item_remove return pointer to the next itemZyX2017-12-24
| |
| * eval/typval: Remove tv_list_item_free() as it is unusedZyX2017-12-24
| |
| * eval/typval: Make tv_list_item_alloc staticZyX2017-12-24
| | | | | | | | Better write this bit in lua then make reviewers or clint filter out tv_list_item_alloc().
| * *: Remove most calls to tv_list_item_allocZyX2017-12-24
| | | | | | | | Still left calls in eval/typval.c and test/unit/eval/helpers.lua. Latter is the only reason why function did not receive `static` modifier.
* | tests: termclose_spec: fix flaky SIGTERM test #7787Daniel Hahler2017-12-30
| | | | | | | | | | Followup to https://github.com/neovim/neovim/pull/7217. Build failure: https://travis-ci.org/neovim/neovim/jobs/322930672#L2958.
* | Merge pull request #7791 from jamessan/vim-8.0.0608James McCoy2017-12-30
|\ \ | | | | | | [RFC] vim-patch:8.0.0608
| * | lintJames McCoy2017-12-30
| | |
| * | vim-patch:8.0.0608: cannot manipulate other than the current quickfix listJames McCoy2017-12-30
| | | | | | | | | | | | | | | | | | | | | Problem: Cannot manipulate other than the current quickfix list. Solution: Pass the list index to quickfix functions. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/a3921f48c6b31a035c80fda49925dd3b42df0dec
* | | use snprintf and has_eventDaniel Hahler2017-12-29
| | |
* | | Move applying of TabClosed to win_close_othertabDaniel Hahler2017-12-29
| | |
* | | Fix TabClose autocommand via close_windowsDaniel Hahler2017-12-29
|/ / | | | | | | Fixes https://github.com/neovim/neovim/issues/7781
* | 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
| * | vim-patch:8.0.0314: getcmd*() functions are not testedckelsel2017-12-21
| | | | | | | | | | | | | | | | | | | | | Problem: getcmdtype(), getcmdpos() and getcmdline() are not tested. Solution: Add tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/65189a1294307abf007faab7385dc0145ba72b06
* | | version.c: updateJustin M. Keyes2017-12-27
| | |
* | | docJustin M. Keyes2017-12-26
| |/ |/| | | | | | | | | | | | | vim-patch:8.0.1206: no autocmd for entering or leaving the command line (commit a4f6cec7a31ff8dbfa089b9e22227afbeb951e9b) NA patches: vim-patch:8.0.0320: warning for unused variable with small build
* | mark: Make sure that jumplist item will not have zero lnumZyX2017-12-24
| | | | | | | | Fixes #7169
* | Merge #7708 from ZyX-I/hide-container-implJustin M. Keyes2017-12-23
|\ \
| * | clint: Make linter report line where it found opening braceZyX2017-12-23
| | |
| * | regexp: Fix linter errorsZyX2017-12-23
| | |
| * | Merge branch 'master' into hide-container-implZyX2017-12-23
| |\|
| * | eval: Fix some issues found in reviewZyX2017-12-17
| | |
| * | Merge branch 'master' into hide-container-implZyX2017-12-16
| |\ \
| * | | eval: Fix linter errorZyX2017-12-16
| | | |