aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* clang/'Logic error': avoid nullptr derefJan Edmund Lazo2021-04-02
| | | | mouse_find_win() can return NULL.
* clang/'Logic error': set vcol in do_put()Jan Edmund Lazo2021-04-02
|
* vim-patch:8.2.2686: status line is not updated when going to cmdline modeJan Edmund Lazo2021-04-01
| | | | | | | | Problem: Status line is not updated when going to cmdline mode. Solution: Redraw status lines if 'statusline' is set and going to status line mode. (based on patch from Justin M. Keyes et al., closes vim/vim#8044) https://github.com/vim/vim/commit/ce0b75711afb3ff260967a0843bca46ec09604b5
* vim-patch:8.1.0986: rename() is not propertly testedJan Edmund Lazo2021-04-01
| | | | | | | | | | | | | | | | | | | | | | Problem: rename() is not propertly tested. Solution: Add tests. (Dominique Pelle, closes vim/vim#4061) https://github.com/vim/vim/commit/ef8c956172aa967f67c524cb9609a4d390d74b82 Skip Test_rename_fails() because 'blob' feature is not ported yet. N/A patches for version.c: vim-patch:8.2.2678: test for 'autoshelldir' does not reset the option Problem: Test for 'autoshelldir' does not reset the option. Solution: Reset the option after testing. https://github.com/vim/vim/commit/82820d9bf14ba5374c24fff2ed6e577a67c6ddf2 vim-patch:8.2.2683: build failure without the +eval feature Problem: Build failure without the +eval feature. Solution: Add #ifdef. https://github.com/vim/vim/commit/b91d3f857fb6aadbbc01f80f775967bb40d361de
* test/old/win: debug Test_w_argJan Edmund Lazo2021-04-01
|
* vim-patch:8.2.2656: some command line arguments and regexp errors not testedJan Edmund Lazo2021-04-01
| | | | | | | | Problem: Some command line arguments and regexp errors not tested. Solution: Add a few test cases. (Dominique Pellé, closes vim/vim#8013) https://github.com/vim/vim/commit/a2b3e7dc9201fb3d8782c6b4ab53862160e254da Cherry-pick Test_t_arg() from patch v8.2.0509.
* vim-patch:8.2.2655: The -w command line argument doesn't workJan Edmund Lazo2021-04-01
| | | | | | | | Problem: The -w command line argument doesn't work. Solution: Don't set 'window' when set with the -w argument. (closes vim/vim#8011) https://github.com/vim/vim/commit/0a1a6a1aa4004d0e4d64cc375540156b8bd92a87 Cherry-pick Test_w_arg() from patch v8.2.0509.
* os/win: fix build failureJan Edmund Lazo2021-03-31
|
* tv_dict_watcher_notify: any_needs_freeDaniel Hahler2021-03-30
|
* tv_dict_watcher_remove: delay freeing with busy queueDaniel Hahler2021-03-30
|
* Change QUEUE_FOREACH macro to use while instead of forerw72021-03-30
|
* Test and initial fix for crash with dictwatcherdelDaniel Hahler2021-03-30
| | | | Fixes https://github.com/neovim/neovim/issues/11188.
* Merge pull request #14251 from janlazo/vim-8.1.1193Jan Edmund Lazo2021-03-30
|\ | | | | vim-patch:8.1.{936,1193}
| * vim-patch:8.1.0936: may leak memory when using 'vartabstop'Jan Edmund Lazo2021-03-30
| | | | | | | | | | | | Problem: May leak memory when using 'vartabstop'. (Kuang-che Wu) Solution: Fix handling allocated memory for 'vartabstop'. (closes vim/vim#3976) https://github.com/vim/vim/commit/55c77cf2ea9c15e1ec75d1faf702ec3c9e325271
| * vim-patch:8.1.1193: typos and small problems in test filesJan Edmund Lazo2021-03-30
| | | | | | | | | | | | | | | | | | Problem: Typos and small problems in test files. Solution: Small improvements. https://github.com/vim/vim/commit/037c54f261818439755d56e318da068f97997fb5 Include unmerged patch v8.0.1200 changes because this patch depends on `set beloff=all` removed in 1 test.
* | ts: Add language version to vim.treesitter (#14255)TJ DeVries2021-03-30
|/
* vim-patch:8.2.2454: leading space can not be made visible (#14138)zeertzjq2021-03-29
| | | | | | Problem: Leading space can not be made visible. Solution: Add "lead:" to 'listchars'. (closes vim/vim#7772) https://github.com/vim/vim/commit/91478ae49a1b2dc1de63821db731a343e855dcc0
* Merge pull request #14248 from andymass/vim-8.2.2612Jan Edmund Lazo2021-03-29
|\ | | | | [RFC] vim-patch 8.2.{2612,2613}
| * vim-patch:8.2.2613: new test throws exceptionAndy K. Massimino2021-03-29
| | | | | | | | | | | | Problem: New test throws exception. Solution: Adjust the function cleanup. https://github.com/vim/vim/commit/6ccfd99b923cc3452a6e6450dfdd7e31ea602dfd
| * vim-patch:8.2.2612: col('.') may get outdated column valueAndy K. Massimino2021-03-29
| | | | | | | | | | | | | | Problem: col('.') may get outdated column value. Solution: Add a note to the help how to make this work and add a test for it. (closes vim/vim#7971) https://github.com/vim/vim/commit/18b7d86d7fa997bbb02a069dafacb32a0f73ca1e
* | vim-patch:8.1.2380: using old C style commentsJan Edmund Lazo2021-03-29
| | | | | | | | | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate. https://github.com/vim/vim/commit/306139005c31ea7e6f892dd119beba3c94dcb982
* | vim-patch:8.1.0874: using old style comments in new fileJan Edmund Lazo2021-03-29
| | | | | | | | | | | | Problem: Using old style comments in new file. Solution: Convert to // comments in new file. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/9c46efd7dc57c1a8eae5137d05c7e67c4f82c3d7
* | vim-patch:8.2.1621: crash when using submatch(0, 1) in substitute()Jan Edmund Lazo2021-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using submatch(0, 1) in substitute(). Solution: Increment reference count. (closes vim/vim#6887) https://github.com/vim/vim/commit/8a0dcf43305586853f452a77fa295b0c8d54b463 N/A patches for version.c: vim-patch:8.2.2674: Motif: cancelling the font dialog resets the font Problem: Motif: cancelling the font dialog resets the font. Solution: When no font is selected to not change the font. (closes vim/vim#7825, closes vim/vim#8035) Fix compiler warnings. https://github.com/vim/vim/commit/9dbe701fe19597ad59c0e0c70a05927b587bea9f
* | vim-patch:8.1.0989: various small code uglinessJan Edmund Lazo2021-03-29
| | | | | | | | | | | | | | Problem: Various small code ugliness. Solution: Remove pointless NULL checks. Fix function calls. Fix typos. (Dominique Pelle, closes vim/vim#4060) https://github.com/vim/vim/commit/bdace838c67c1bd94e55e34270a8325933891466
* | test/old: run most tests in test_regexp_latin.vimJan Edmund Lazo2021-03-29
| | | | | | | | | | | | Most tests here don't depend on 'set encoding=latin1'. Skip Test_recursive_addstate() because of ASAN build.
* | vim-patch:8.1.0958: compiling weird regexp pattern is very slowJan Edmund Lazo2021-03-29
|/ | | | | | | | | | Problem: Compiling weird regexp pattern is very slow. Solution: When reallocating post list increase size by 50%. (Kuang-che Wu, closes vim/vim#4012) Make assert_inrange() accept float values. https://github.com/vim/vim/commit/38f08e76acf7d21bb34cf8f79f0f82eb63cdc987 Omit changes to typval_compare() because patch v8.0.1505 was not ported.
* Make sure window is still valid in the middle of calling :lopen (#14240)Tony Chen2021-03-29
| | | | | Make sure that oldwin is not invalid after splitting Revisit this when porting vim patch v8.1.0892 and related quickfix patches.
* clang: fix compile warnings in tab code (#14239)Jan Edmund Lazo2021-03-28
| | | https://github.com/neovim/neovim/pull/13851
* Merge pull request #13851 from VVKot/vim-8.1.0105Jan Edmund Lazo2021-03-28
|\ | | | | vim-patch:8.1.{0105,0114,0116,0126,0138,0154,0479,0542,0936}
| * vim-patch:8.1.0936: may leak memory when using 'vartabstop'VVKot2021-03-28
| | | | | | | | | | | | Problem: May leak memory when using 'vartabstop'. (Kuang-che Wu) Solution: Fix handling allocated memory for 'vartabstop'. (closes vim/vim#3976) https://github.com/vim/vim/commit/55c77cf2ea9c15e1ec75d1faf702ec3c9e325271
| * vim-patch:8.1.0542: shiftwidth() does not take 'vartabstop' into accountVVKot2021-03-28
| | | | | | | | | | | | | | | | Problem: shiftwidth() does not take 'vartabstop' into account. Solution: Use the cursor position or a position explicitly passed. Also make >> and << work better with 'vartabstop'. (Christian Brabandt) https://github.com/vim/vim/commit/f951416a8396a54bbbe21de1a8b16716428549f2
| * vim-patch:8.1.0479: failure when setting 'varsofttabstop' to end in a commaVVKot2021-03-28
| | | | | | | | | | | | | | | | Problem: Failure when setting 'varsofttabstop' to end in a comma. (Ralf Schandl) Solution: Reject value with trailing command. Add test for invalid values (closes vim/vim#3544) https://github.com/vim/vim/commit/64f410742f101d7d5ea9e65503e1e0019605eaa5
| * vim-patch:8.1.0154: crash with "set smarttab shiftwidth=0 softtabstop=-1"VVKot2021-03-28
| | | | | | | | | | | | Problem: Crash with "set smarttab shiftwidth=0 softtabstop=-1". Solution: Fall back to using 'tabstop'. (closes vim/vim#3155) https://github.com/vim/vim/commit/c9fe5ab3b093803b6e8d03358ba16aca6b6f0db1
| * vim-patch:8.1.0138: negative value of 'softtabstop' not used correctlyVVKot2021-03-28
| | | | | | | | | | | | Problem: Negative value of 'softtabstop' not used correctly. Solution: Use get_sts_value(). (Tom Ryder) https://github.com/vim/vim/commit/33d5ab3795720b7d986f9f17f660ee9e448466e0
| * vim-patch:8.1.0126: various problems with 'vartabstop'VVKot2021-03-28
| | | | | | | | | | | | | | Problem: Various problems with 'vartabstop'. Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian Brabandt, closes vim/vim#3076) https://github.com/vim/vim/commit/307ac5c68e9e624ab713136d79f35bb73f780d2d
| * vim-patch:8.1.0116: display problem with 'vartabstop' and 'linebreak'VVKot2021-03-28
| | | | | | | | | | | | | | Problem: Display problem with 'vartabstop' and 'linebreak'. (Chauca Fuentes) Solution: Call tabstop_padding(). (Christian Brabandt, closes vim/vim#3076) https://github.com/vim/vim/commit/a87b72cc316e065d66dcbcf7ec1cde330adef3a3
| * vim-patch:8.1.0114: confusing variable nameVVKot2021-03-28
| | | | | | | | | | | | Problem: Confusing variable name. Solution: Rename new_ts to new_vts_array. Change zero to NULL. https://github.com/vim/vim/commit/0119a59ffdfb21cf1c0a56e7ed6105e875150163
| * vim-patch:8.1.0105: all tab stops are the sameVVKot2021-03-28
| | | | | | | | | | | | | | Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes vim/vim#2711) https://github.com/vim/vim/commit/04958cbaf25eea27eceedaa987adfb354ad5f7fd
* | Merge pull request #14091 from euclidianAce/euclidianAce/nvim_win_hideBjörn Linse2021-03-28
|\ \ | |/ |/| api: add vim.api.nvim_win_hide
| * api: clarify difference between win_hide and win_closeCorey Williamson2021-03-10
| |
| * api: add vim.api.nvim_win_hideCorey Williamson2021-03-09
| |
* | test/old: skip Test_strptime() on WindowsJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | | | | | POSIX strptime does not exist in Windows. There is a C++ workaround but I don't know how to use it. Julia ported BSD's "strptime()" but I can't compile the file or embed the relevant code into src/nvim/os/time.c I cannot use "#ifdef" in eval.lua because of function hashing. "#ifdef" is required to point "strptime()" to NULL such that "CheckFunction strptime" fails.
* | vim-patch:8.2.0949: strptime() does not use DSTJan Edmund Lazo2021-03-27
| | | | | | | | | | | | Problem: Strptime() does not use DST. Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes vim/vim#6230) https://github.com/vim/vim/commit/ea1233fccf4f52f2b4eaab3788a087878d1336fc
* | vim-patch:8.1.2398: strptime() test fails on Japanese MacJan Edmund Lazo2021-03-27
| | | | | | | | | | | | Problem: strptime() test fails on Japanese Mac. Solution: Use %T instead of %X. https://github.com/vim/vim/commit/9a838fe543b69582b0773f7c38a57f16fb32d765
* | vim-patch:8.1.2326: cannot parse a date/time stringJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot parse a date/time string. Solution: Add strptime(). (Stephen Wall, closes #) https://github.com/vim/vim/commit/10455d43fef041309ce0613fa792c635dd71e3a8 N/A patches for version.c: vim-patch:8.1.2344: Cygwin: warning for using strptime() Problem: Cygwin: warning for using strptime(). Solution: Move defining _XOPEN_SOURCE and __USE_XOPEN to vim.h. (Ken Takata, closes vim/vim#5265) Use 700 for _XOPEN_SOURCE for mkdtemp(). https://github.com/vim/vim/commit/6a228c6463935a73c8f21142cb7368545cfee317
* | vim-patch:8.2.1666: the initial value of 'backupskip' can have duplicate itemsJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | Problem: The initial value of 'backupskip' can have duplicate items. Solution: Remove duplicates, like when it is set later. (Tom Ryder, closes vim/vim#6940) https://github.com/vim/vim/commit/b00ef0508b22905379953a164bdb4300015d3705
* | vim-patch:8.2.2662: there is no way to avoid some escape sequencesJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | Problem: There is no way to avoid some escape sequences. Solution: Suppress escape sequences when the --not-a-term argument is used. (Gary Johnson) https://github.com/vim/vim/commit/7007e31bde75b6360a1b54c7572e4f855458f37d "Test_not_a_term" passes because Neovim does not support "--not-a-term" flag.
* | test/old: run some tests from test_listlbr.vimJan Edmund Lazo2021-03-27
| | | | | | | | These tests pass without 'set encoding=latin1'.
* | test/old: test_eval_func was removedJan Edmund Lazo2021-03-27
| |
* | test/old: do not special-case test_autochdirJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | Use "CheckFunction" for standard error message for missing "test_autochdir()". Sync test_autochdir.vim to the latest Vim commit because porting Vim patches for this file modify other files and are too tedious to port.