aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * vim-patch:8.2.0024: filetype Rego not recognizedJan Edmund Lazo2019-12-20
| | | | | | | | | | | | Problem: Filetype Rego not recognized. Solution: Add *.rego. (Matt Dunford, closes vim/vim#5376) https://github.com/vim/vim/commit/a4ce82fe2e990eb9eaabf6ad400e2a74cce50ce6
| * vim-patch:8.2.0019: cannot number of lines of another bufferJan Edmund Lazo2019-12-20
| | | | | | | | | | | | | | Problem: Cannot number of lines of another buffer. Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto, closes vim/vim#5370) https://github.com/vim/vim/commit/a9e9679de3ef082ee29868ab404283dfc53258f2
| * TUI: can make the cursor transparent #11519Matthieu Coudron2019-12-19
| | | | | | when setting 'guicursor' highlight blend=100.
| * test/old: skip Test_screenpos for nowJan Edmund Lazo2019-12-18
| | | | | | | | It fails in CI.
| * vim-patch:8.2.0018: :join does not add white space where it shouldJan Edmund Lazo2019-12-18
| | | | | | | | | | | | Problem: :join does not add white space where it should. (Zdenek Dohnal) Solution: Handle joining multiple lines propely. https://github.com/vim/vim/commit/91b65e49440e77222a65b6f868507453239f409b
| * vim-patch:8.2.0015: not all modeline variants are testedJan Edmund Lazo2019-12-17
| | | | | | | | | | | | Problem: Not all modeline variants are tested. Solution: Add modeline tests. (Dominique Pelle, closes vim/vim#5369) https://github.com/vim/vim/commit/e74331db4b1b6a64fbbc188ff9bc472a478b9a4e
| * Merge #11556 from janlazo/vim-8.2.0002Justin M. Keyes2019-12-16
| |\ | | | | | | vim-patch:8.2.{2,8,10,12,13}
| | * vim-patch:8.2.0013: not using a typedef for condstackJan Edmund Lazo2019-12-16
| | | | | | | | | | | | | | | | | | Problem: Not using a typedef for condstack. Solution: Add a typedef. https://github.com/vim/vim/commit/ddef129160ff0676e5da482071fb2fdc2988ac34
| | * vim-patch:8.2.0012: some undo functionality is not testedJan Edmund Lazo2019-12-16
| | | | | | | | | | | | | | | | | | Problem: Some undo functionality is not tested. Solution: Add a few more test cases. (Dominique Pelle, closes vim/vim#5364) https://github.com/vim/vim/commit/559b9c68fe550f3af63d42e0838622aab1ceb1b3
| | * vim-patch:8.2.0010: test64 is old styleJan Edmund Lazo2019-12-16
| | | | | | | | | | | | | | | | | | Problem: Test64 is old style. Solution: Convert to new style test. (Yegappan Lakshmanan, closes vim/vim#5363) https://github.com/vim/vim/commit/f9cb05c14753d984f002c0c090688f8510147e6b
| | * vim-patch:8.2.0008: test72 is old styleJan Edmund Lazo2019-12-16
| | | | | | | | | | | | | | | | | | Problem: Test72 is old style. Solution: Convert to new style test. (Yegappan Lakshmanan, closes vim/vim#5362) https://github.com/vim/vim/commit/3e2d1c8cd61ca073e680f3b221ce887e05ba39cf
| | * vim-patch:8.2.0002: "dj" only deletes first line of closed foldJan Edmund Lazo2019-12-16
| | | | | | | | | | | | | | | | | | Problem: "dj" only deletes first line of closed fold. Solution: Adjust last line of operator for linewise motion. (closes vim/vim#5354) https://github.com/vim/vim/commit/3b68123cd271fb781da4055cf1a1cf52f4fee6a5
| * | fileio: use uint64_t for temp_count #11555Jan Edmund Lazo2019-12-16
| |/ | | | | Band-aid workaround to file collision when using `tempname` for temporary batchfiles.
| * Add support for the pum_getpos() API (#11562)Seth Fowler2019-12-16
| | | | | | Add support for the pum_getpos() API
| * Merge remote-tracking branch 'upstream/master' into libcallJames McCoy2019-12-15
| |\
| | * Merge pull request #7202 from teto/jobstart_envJames McCoy2019-12-13
| | |\ | | | | | | | | [RFC] override environment for jobstart
| | | * Add negative test for type of job's env optionJames McCoy2019-12-12
| | | |
| | | * os_getenvname_at_index: Handle Windows env vars whose name starts with =James McCoy2019-12-11
| | | |
| | | * Add os_getfullenv_size/os_copyfullenvJames McCoy2019-12-11
| | | |
| | | * jobstart now supports env/clear_envMatthieu Coudron2019-12-11
| | | | | | | | | | | | | | | | to modify the environment of the launched job.
| | * | version.c: update [ci skip] #11415Marvim the Paranoid Android2019-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.1.0121: crash when using ballooneval related to 'vartabstop' vim-patch:8.1.0132: lua tests are old style vim-patch:8.1.0134: Lua interface does not support funcref vim-patch:8.1.0758: font number is always one instead of the actual vim-patch:8.1.0808: MS-Windows: build error with GUI vim-patch:8.1.1767: FEAT_SESSION defined separately vim-patch:8.1.1958: old style comments taking up space vim-patch:8.1.2327: cannot build with Hangul input vim-patch:8.1.2328: a few hangul input pieces remain vim-patch:8.1.2352: CI doesn't cover FreeBSD vim-patch:8.1.2354: Cirrus CI runs on another repository vim-patch:8.1.2359: cannot build without FEAT_FLOAT vim-patch:8.1.2370: build problems on VMS vim-patch:8.1.2372: VMS: failing realloc leaks memory vim-patch:8.1.2374: unused parts of libvterm are included vim-patch:8.1.2376: preprocessor indents are incorrect vim-patch:8.1.2383: using old C style comments vim-patch:8.1.2404: channel test fails under valgrind vim-patch:8.1.2407: proto files, dependencies and build instructions outdated vim-patch:8.1.2409: creating the distribution doesn't work as documented vim-patch:8.1.2410: MS-Windows: test_iminsert fails without IME support vim-patch:8.1.2413: cannot update ex_cmdidxs.h on MS-Windows vim-patch:8.1.2414: MS-Windows: properties dialog box shows wrong character vim-patch:8.1.2417: MinGW/Cygwin build does not clean up all files vim-patch:8.1.2423: MS-Windows properties shows version as "8, 1, 0"
| | * | PVS/V1049: fix numerous "DEFINE_FUNC_ATTRIBUTES" warnings #11544Justin M. Keyes2019-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PVS erroneously flags our DEFINE_FUNC_ATTRIBUTES guard: V1049 The 'DEFINE_FUNC_ATTRIBUTES' include guard is already defined in the 'lang.h.generated.h' header. The 'profile.h.generated.h' header will be excluded from compilation. To satisfy PVS, just remove the `#ifndef` check. It's not needed anyway: C allows to redundantly #define a macro. https://gcc.gnu.org/onlinedocs/cpp/Undefining-and-Redefining-Macros.html > if an identifier which is currently a macro is redefined, then the new > definition must be effectively the same as the old one > ... > If a macro is redefined with a definition that is not effectively the > same as the old one, the preprocessor issues a warning and changes the > macro to use the new definition. If the new definition is effectively > the same, the redefinition is silently ignored. This allows, for > instance, two different headers to define a common macro. The > preprocessor will only complain if the definitions do not match.
| | * | jumplist: browser-style (or 'tagstack') navigation #11530butwerenotthereyet2019-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Traditionally, when navigating to a specific location from the middle of the jumplist results in shifting the current location to the bottom of the list and adding the new location after it. This behavior is not desireable to all users--see, for example https://vi.stackexchange.com/questions/18344/how-to-change-jumplist-behavior. Here, another jumplist behavior is introduced. When jumpoptions (a new option set added here) includes stack, the jumplist behaves like the tagstack or like history in a web browser. That is, when navigating to a location from the middle of the jumplist 2 first 1 second 0 third <-- current location 1 fourth 2 fifth to a new location the locations after the current location in the jump list are discarded 2 first 1 second 0 third <-- current location The result is that when moving forward from that location, the new location will be appended to the jumplist: 3 first 2 second 1 third 0 new If the new location is the same new == second as some previous (but not immediately prior) entry in the jumplist, 2 first 1 second 0 third <-- current location 1 fourth 2 fifth both occurrences preserved 3 first 2 second 1 third 0 second (new) when moving forward from that location. It would be desireable to go farther and, when the new location is the same as the location that is currently next in the jumplist, new == fourth make the result of navigating to the new location by jumping (e.g. 50gg) be the same as moving forward in the jumplist 2 first 1 second 0 third 1 new <-- current location 2 fifth and simply increment the jumplist index. That change is NOT part of this patch because it would require passing the new cursor location to the function (setpcmark) from all of its callees. That in turn would require those callees to know *before* calling what the new cursor location is, which do they do not currently.
| | * | vim-patch:8.1.2402: typos and other small thingsJan Edmund Lazo2019-12-07
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Typos and other small things. Solution: Small fixes. https://github.com/vim/vim/commit/f48ee3c28488f7c361732316f905ac420b3d8087
| | * | Fix access on vim.wo (#11517)Ashkan Kiani2019-12-07
| | | | | | | | | | | | * Add more tests for vim.wo
| | * | vim-patch:8.1.2385: open cmdline window with feedkeys() #11516Jan Edmund Lazo2019-12-04
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Opening cmdline window with feedkeys() does not work. (Yegappan Lakshmanan) Solution: Recognize K_CMDWIN also when ex_normal_busy is set. https://github.com/vim/vim/commit/85db5475982e166ec5bb1c8c9a5c8bf062d49ed1
| | * | defaults: set nostartofline (#11135)Justin M. Keyes2019-12-03
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Having the cursor change column can be surprising. Force startofline in functional and old tests. Remove the functional breakindent test, as it's a subset of the oldtest one.
| | | * | defaults: set nostartoflineMatthieu Coudron2019-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having the cursor change column can be surprising. Force startofline in functional and old tests. Remove the functional breakindent test, as it's a subset of the oldtest one.
| | * | | vim-patch:8.1.2384: test 48 is old style #11509Jan Edmund Lazo2019-12-03
| | | |/ | | |/| | | | | | | | | | | | | | | | | Problem: Test 48 is old style. Solution: Merge test cases into new style test. (Yegappan Lakshmanan, closes vim/vim#5307) https://github.com/vim/vim/commit/079119babe1cbba3f9234927e62fd75465f2d6b4
| | * | API: rename nvim_execute_lua => nvim_exec_luaJustin M. Keyes2019-12-02
| | | | | | | | | | | | | | | | | | | | | | | | - We already find ourselves renaming nvim_execute_lua in tests and scripts, which suggests "exec" is the verb we actually want. - Add "exec" verb to `:help dev-api`.
| | * | API: deprecate nvim_command_outputJustin M. Keyes2019-12-02
| | | |
| | * | log_init: call log_path_init (#11501)Daniel Hahler2019-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has to be done after `init_homedir` for XDG default and `set_init_1` for lookup from env, which could be done earlier likely (to help with https://github.com/neovim/neovim/issues/10937), but this keeps it in sync with Vim. Fixes https://github.com/neovim/neovim/issues/11499.
| | * | testdir/runnvim.sh: create messages file always (#11503)Daniel Hahler2019-12-02
| | | |
| | * | oldtest: support for running by filename (#11473)Daniel Hahler2019-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow-up to 8969efca8 (Vim patch 8.1.0723) NOTE: This changes the main entrypoint for running single oldtest files to not use/require the ".res" extension anymore. But it is handled for B/C. Adds a phony rule to run oldtest by filename. Not going through "$(MAKE)" avoids GNUmakefile being used then (which I use for WIP things), and it seems like SINGLE_MAKE should be used anyway probably.
| | * | src/nvim/testdir/test_quickfix.vim: align with Vim (#11502)Daniel Hahler2019-12-02
| | | |
| | * | dictwatcher: fix use-after-free #11495erw72019-12-02
| | | | | | | | | | | | | | | | | | | | fixes #11494
| | * | API: rename nvim_source => nvim_execJustin M. Keyes2019-12-01
| | | | | | | | | | | | | | | | | | | | - Eliminate nvim_source_output(): add boolean `output` param to nvim_exec() instead.
| | * | API: nvim_source_outputVikram Pal2019-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Similar to nvim_source but will capture the output - Add meaningful VimL tracebacks for nvim_source - Handle got_int - Add error reporting
| | * | API: nvim_source: fix multiline inputJustin M. Keyes2019-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - DOCMD_REPEAT is needed to source all lines of input. - Fix ":verbose set {option}?" by handling SID_STR in get_scriptname(). closes #8722
| | * | API: nvim_source: save/restore script context #11159Vikram Pal2019-12-01
| | | | | | | | | | | | | | | | Use a constant for the script id.
| | * | API: nvim_sourceSiddhant Gupta2019-12-01
| | | |
| | * | Add vim.cmd as an alias for nvim_command (#11446)Ashkan Kiani2019-12-01
| | | |
| | * | Return nil instead of NIL for vim.env (#11486)Ashkan Kiani2019-12-01
| | | |
| | * | terminfo_is_bsd_console: fallback to falseDaniel Hahler2019-12-01
| | | | | | | | | | | | | | | | Ref: https://github.com/neovim/neovim/commit/ab7da4c53138768#r36200515
| | * | vim-patch:8.1.2367: registers are not sufficiently tested (#11489)Jan Edmund Lazo2019-12-01
| | | | | | | | | | | | | | | | | | | | Problem: Registers are not sufficiently tested. Solution: Add a few more test cases. (Yegappan Lakshmanan, closes vim/vim#5288) https://github.com/vim/vim/commit/71136db1bfbc67c2e55f8070cdf0a241c643e45b
| | * | vim-patch:8.1.2363: ml_get error when accessing Visual area in 'statusline'Jan Edmund Lazo2019-11-30
| | | | | | | | | | | | | | | | | | | | | | | | Problem: ml_get error when accessing Visual area in 'statusline'. Solution: Disable Visual mode when using another window. (closes vim/vim#5278) https://github.com/vim/vim/commit/dee50a518007b3a59f54b8ad018b6a83993593e7
| | * | vim-patch:8.1.2355: test with "man" fails on FreeBSDJan Edmund Lazo2019-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test with "man" fails on FreeBSD. Solution: Use "-P" instead of "--pager". https://github.com/vim/vim/commit/c7d2a57b3a076f6ecb16f93c0b09280c4b3b4175 Cherry-picked "has('bsd')" from vim-patch:8.1.0846. Cherry-picked test_normal.vim fix from vim-patch:8.1.2358
| | * | floatwin: show error if window is closed immediately #11476Justin M. Keyes2019-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autocmds may close window while it is being entered, then win_set_minimal_style(wp) operates on an invalid pointer. We could silently ignore this instead, but it is unlikely to be intentional, so it is more useful to show an error. fix #11383
| | * | vim-patch:8.1.2315: switchbuf=uselast #11480Daniel Hahler2019-11-29
| | | | | | | | | | | | | | | | | | | | Problem: Not always using the right window when jumping to an error. Solution: Add the "uselast" flag in 'switchbuf'. (closes vim/vim#1652) https://github.com/vim/vim/commit/539aa6b25eaea91dfd1a175cd053c0f259fa2e58
| | * | vim-patch:8.1.2017: cannot execute commands after closing cmdline window #11479Daniel Hahler2019-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot execute commands after closing the cmdline window. Solution: Also trigger BufEnter and WinEnter. (closes vim/vim#4762) https://github.com/vim/vim/commit/96e38a86a710fb6daec4550ac1667f019dc3a40e Fixes https://github.com/neovim/neovim/issues/11279.