aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Merge pull request #13521 from janlazo/nvim-8.1.2246Jan Edmund Lazo2020-12-12
|\ | | | | vim-patch:8.1.2246
| * vim-patch:8.1.2246: some tests are still in old styleJan Edmund Lazo2020-12-11
| | | | | | | | | | | | Problem: Some tests are still in old style. Solution: Change a few tests to new style. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/1f068233c101ecf5966e6df14853fe68f08175a7
| * test/old: cherry-pick patch v8.1.1955 changes for test_trycatch.vimJan Edmund Lazo2020-12-11
| |
| * test/old: cherry-pick patch 8.1.0711 changes for test_trycatch.vimJan Edmund Lazo2020-12-11
| |
* | Merge pull request #13486 from bfredl/bufnoreloadBjörn Linse2020-12-12
|\ \ | |/ |/| fileio: detach buffer when buffer was reloaded (like with :edit)
| * fileio: detach buffer when buffer was reloaded (like with :edit)Björn Linse2020-12-08
| |
* | eval: executable(), exepath() accept strings onlyJan Edmund Lazo2020-12-11
| | | | | | | | | | | | | | | | Cherry-pick f_executable(), f_exepath(), check_for_string() from patch 8.2.2117. Rename check_for_string() to tv_check_for_string(). https://github.com/vim/vim/commit/7bb4e74c38642682cfdd0cb4052adfa5efdd7dd1 Close https://github.com/neovim/neovim/issues/13485
* | vim-patch:8.2.0047: cannot skip tests for specific MS-Windows platform (#13461)Jan Edmund Lazo2020-12-11
| | | | | | | | | | Problem: Cannot skip tests for specific MS-Windows platform. Solution: Add windowsversion(). https://github.com/vim/vim/commit/0c1e3744ff0cd6c17af773046b876b428ff3dded
* | unused macros: Remove a five unused macros. (#13517)Edwin Pujols2020-12-11
| | | | | | | | | | | | | | | | | | | | Removes: - GET_CHARTAB - PRT_PS_DEFAULT_BUFFER_SIZE - key_t - PROP_MASK - SCTX_INIT Referring #13505.
* | vim-patch:8.1.1900: sign test fails in the GUI (#13511)Jan Edmund Lazo2020-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Sign test fails in the GUI. Solution: Catch and ignore the exception. https://github.com/vim/vim/commit/d933c82ff4e2c910bd533ed9a50377699c3f5ec9 Port Test_sign_funcs() changes from patch 8.1.1899. Test_sign_funcs_multi() in patch 8.1.1899 cannot be ported without earlier sign patches.. N/A patches for version.c: vim-patch:8.1.0954: arguments of semsg() and siemsg() are not checked Problem: Arguments of semsg() and siemsg() are not checked. Solution: Add function prototype with __attribute__. https://github.com/vim/vim/commit/0d8562a9992e94d532485c37268ca33c0c49ecc2 vim-patch:8.2.2126: Ruby: missing function prototype Problem: Ruby: missing function prototype. Solution: Add the prototype. https://github.com/vim/vim/commit/0e12140550a63bb1e45771edb89b941959440cfe
* | macros.h: Remove unused CURSOR_BAR_RIGHT macro. (#13506)Edwin Pujols2020-12-11
| | | | | | Closes #13505.
* | vim-patch:8.2.0005: duplication in version info (#13502)Jan Edmund Lazo2020-12-10
| | | | | | | | | | Problem: Duplication in version info. Solution: Use preprocessor string concatenation. (Ken Takata, closes vim/vim#5357) https://github.com/vim/vim/commit/502122565665674d914a1feeb15ac4a0bb0c8723
* | ex_cmds: port cmd_addr_T and ADDR_NONE (#13492)Jan Edmund Lazo2020-12-10
| | | | | | | | | | | | | | Patch 8.1.1241 is too hard to port in 1 commit. https://github.com/neovim/neovim/pull/13079 is too hard to review and seems to be blocked. Use 'int' type for some addr variables to suppress 'switch/case' warnings.
* | Merge pull request #13482 from dm1try/propagate_lua_file_loading_errorsBjörn Linse2020-12-10
|\ \ | | | | | | runtime: propagate lua parsing errors while using "require"
| * | runtime: propagate lua parsing errors while using "require"dm1try2020-12-10
| | |
* | | vim-patch:8.2.1833: when reading from stdin dup() is called twice (#13498)Jan Edmund Lazo2020-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When reading from stdin dup() is called twice. Solution: Remove the dup() in main.c. (Ken Takata, closes vim/vim#7110) https://github.com/vim/vim/commit/204ade6bcb85f48f56e52e040d1ebf40548d92be N/A patches for version.c: vim-patch:8.2.2109: "vim -" does not work well when modifyOtherKeys is enabled Problem: "vim -" does not work well when modifyOtherKeys is enabled and a shell command is executed on startup. Solution: Only change modifyOtherKeys when executing a shell command in raw mode. https://github.com/vim/vim/commit/8a3da6a368ca7e761939366e355528bccb6dffa3 vim-patch:8.2.2110: cannot use ":shell" when reading from stdin Problem: Cannot use ":shell" when reading from stdin. (Gary Johnson) Solution: Revert patch 8.2.1833. https://github.com/vim/vim/commit/8e1cbb55c389bdc4eade7a67309d5042fbcdca7d vim-patch:8.2.2111: GTK: menu background is the same color as the main window Problem: GTK: Menu background is the same color as the main window. Solution: Fix white space around the test in another way. (closes vim/vim#7437, closes vim/vim#7427) https://github.com/vim/vim/commit/023fd5d21323fe6dffa080bd20c4d39e1212d353 vim-patch:8.2.2113: MS-Windows GUI: crash after using ":set guifont=" four times Problem: MS-Windows GUI: crash after using ":set guifont=" four times. Solution: Check for NULL pointer. (Ken Takata, closes vim/vim#7434) https://github.com/vim/vim/commit/1b3e0727ce86ca4cfa47f8b5421d82ed47a9bec1 vim-patch:8.2.2116: MS-Windows GUI: test for 'guifont' is incomplete Problem: MS-Windows GUI: test for 'guifont' is incomplete. Solution: Set 'renderoptions'. (Christian Brabandt) https://github.com/vim/vim/commit/2c78a772fdb5f6a16d16a47e7f218051c4dcb845 vim-patch:8.2.2118: dead code in the job support Problem: Dead code in the job support. (Dominique Pellé) Solution: Define USE_ARGV before checking for it. https://github.com/vim/vim/commit/f46bf5204c3c55d23921b501db21a906d526eb45 vim-patch:8.2.2119: GTK3: status line background color is wrong Problem: GTK3: status line background color is wrong. Solution: Don't change the code for earlier GTK3 versions. (closes vim/vim#7444) https://github.com/vim/vim/commit/7988a6f0e9999d1103271024ab4ed26e5599de17
* | | vim-patch:8.2.2123: after using a complete popup the buffer is listedSean Dewar2020-12-09
| | | | | | | | | | | | | | | | | | | | | Problem: After using a complete popup the buffer is listed. (Boris Staletic) Solution: Make the buffer unlisted. https://github.com/vim/vim/commit/d356fc65d273959efa9b05bfa0f07ce1c9ff85a4
* | | vim-patch:8.2.2121: internal error when using \ze before \zs in a patternSean Dewar2020-12-09
| |/ |/| | | | | | | | | Problem: Internal error when using \ze before \zs in a pattern. Solution: Check the end is never before the start. (closes vim/vim#7442) https://github.com/vim/vim/commit/a7a691cc142439e266f4ceb1f208bb952b57aa71
* | vim-patch:8.2.2106: TOML files are not recognizedSean Dewar2020-12-07
|/ | | | | | Problem: TOML files are not recognized. Solution: Match *.toml. (issue vim/vim#7432) https://github.com/vim/vim/commit/b237ae7b837a31922d31c3a27b7c66e63468b8a8
* Merge pull request #13471 from jamessan/release-fixesJames McCoy2020-12-06
|\
| * Use vX.Y.Z-dev+{git-describe} for development versionsJames McCoy2020-12-06
| |
* | log: use uv_gettimeofday() for WindowsJan Edmund Lazo2020-12-06
| | | | | | | | POSIX gettimeofday() is not portable.
* | vim-patch:8.2.1296: some part of using 'smarcase' was not testedJan Edmund Lazo2020-12-06
| | | | | | | | | | | | Problem: Some part of using 'smarcase' was not tested. Solution: Add more tests. (Dominique Pellé, closes vim/vim#6538) https://github.com/vim/vim/commit/d66cdcd43a598825add743bc95642cd8ed705252
* | vim-patch:8.2.1021: Ruby interface not tested enoughJan Edmund Lazo2020-12-06
| | | | | | | | | | | | Problem: Ruby interface not tested enough. Solution: Add a couple more tests. (Dominique Pellé, closes vim/vim#6301) https://github.com/vim/vim/commit/a190548e9165bbae75144a3e47f01d7708b29073
* | vim-patch:8.1.2064: MS-Windows: compiler warnings for unused argumentsJan Edmund Lazo2020-12-06
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: MS-Windows: compiler warnings for unused arguments. Solution: Add UNUSED. (Yegappan Lakshmanan, closes vim/vim#4963) https://github.com/vim/vim/commit/bd67aac279adf3a1cfa11557229b44e4c2c3dcda N/A patches for version.c: vim-patch:8.1.0818: MS-Windows: cannot send large data with ch_sendraw() Problem: MS-Windows: cannot send large data with ch_sendraw(). Solution: Split write into several WriteFile() calls. (Yasuhiro Matsumoto, closes vim/vim#3823) https://github.com/vim/vim/commit/240583869ae477202494dd01ef1e8e2bac650f10 vim-patch:8.1.1131: getwinpos() does not work in the MS-Windows console Problem: getwinpos() does not work in the MS-Windows console. Solution: Implement getwinpos(). https://github.com/vim/vim/commit/16c34c37659e6afca74169969bdacb6b866548c9 vim-patch:8.2.0587: compiler warning for unused variable Problem: Compiler warning for unused variable. Solution: Add UNUSED. https://github.com/vim/vim/commit/21cfe500f322a0bea3367c677943ea6c57c282b9 vim-patch:8.2.0879: compiler warning for unused function argument Problem: Compiler warning for unused function argument. Solution: Add UNUSED. https://github.com/vim/vim/commit/f9ca08e95ff5b66a02c75334264dd86508b2a453 vim-patch:8.2.2104: build problem with Ruby 2.7 Problem: Build problem with Ruby 2.7. Solution: Adjust function declarations. (Ozaki Kiichi, closes vim/vim#7430) https://github.com/vim/vim/commit/d5a986f460019a924627d79350552f446505cffb
* Merge pull request #13455 from bfredl/deprecatedBjörn Linse2020-12-05
|\ | | | | api: move deprecated functions to separate files
| * api: move deprecated functions to separate filesBjörn Linse2020-12-05
| | | | | | | | | | Most these are just calls to non-deprecated variants, and take up unnecessary space and search hits in the other files.
* | Merge pull request #13454 from tk-shirasaka/fix/send-win_hideBjörn Linse2020-12-05
|\ \ | | | | | | ui: Fix win_hide distination grid
| * | Fixed lint errorShirasaka2020-12-06
| | |
| * | Moved temporary variable to where it's usedShirasaka2020-12-05
| | |
| * | ui: Fix win_hide distination gridshirasaka2020-12-05
| |/ | | | | | | | | | | When create tab, win_hide sent to new tab and new tab's previous tab. So, if created tab that not next tab (eg. $tabnew cmd), send win_hide to not current tab, and fixed this.
* / vim-patch:8.2.2091: MS-Windows: build warnings (#13451)Jan Edmund Lazo2020-12-05
|/ | | | | | | | | | | | | | | | | | | | | Problem: MS-Windows: build warnings. Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata) Avoid using a non-ASCII character. (closes vim/vim#7421) https://github.com/vim/vim/commit/29d2f45c8855fd98897c5db92d896c161e95d0f1 N/A patches for version.c: vim-patch:8.1.1883: options test fails Problem: Options test fails. Solution: Add entry for 'completepopup'. https://github.com/vim/vim/commit/9513d91be02f654658b8b33ff429a52ff3c4de12 vim-patch:8.2.2089: libvterm test fails to build on Mac Problem: Libvterm test fails to build on Mac. Solution: Adjust configure to remove a space between -L and the path that follows. https://github.com/vim/vim/commit/6cd42db9dc1251b052b97d47bafc063eacac1b3e
* Merge pull request #13173 from tjdevries/tjdevries/option_infoBjörn Linse2020-12-04
|\ | | | | api: add option metadata
| * api/options: cleanup the fixupBjörn Linse2020-12-04
| |
| * api/options: fixupTJ DeVries2020-12-04
| |
| * api/options: cleanupBjörn Linse2020-12-04
| |
| * api/options: add option metadataTJ DeVries2020-12-04
| |
* | vim-patch:8.2.2085: Qt translation file is recognized as typescriptJan Edmund Lazo2020-12-03
| | | | | | | | | | | | Problem: Qt translation file is recognized as typescript. Solution: Check the first line for "<?xml". (closes vim/vim#7418) https://github.com/vim/vim/commit/c0d670ce16d0e148b7d39ac354571b3d284a0b53
* | vim-patch:8.2.1907: complete_info().selected may be wrongJan Edmund Lazo2020-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Complete_info().selected may be wrong. Solution: Update cp_number if it was never set. (issue vim/vim#6945) https://github.com/vim/vim/commit/f9d51354de069dddc049b9e109b1932c92e5aee6 Misc changes: For variables and function parameters that use "Direction" enum values, update their type from from "int" to "Direction". It is hard to review function parameters that must accept "Direction" enum values only.
* | vim-patch:8.2.1673: complete_info() selected index has an invalid valueJan Edmund Lazo2020-12-03
| | | | | | | | | | | | | | Problem: complete_info() selected index has an invalid value. (Ben Jackson) Solution: Set the index when there is only one match. (closes vim/vim#6945) Add test for complete_info(). https://github.com/vim/vim/commit/b806aa5bd910dba94fbde586f6019b4825813d28
* | vim-patch:8.2.2078: illegal memory access when using :print on invalid textJan Edmund Lazo2020-12-03
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Illegal memory access when using :print on invalid text. (Dhiraj Mishra) Solution: Check for more composing characters than supported. (closes vim/vim#7399) https://github.com/vim/vim/commit/1cbfc9914db1cb06aaa092fa42eb7a2fc3dc7ad7 N/A patches for version.c: vim-patch:8.1.1013: MS-Windows: Scrolling fails when dividing the screen Problem: MS-Windows: Scrolling fails when dividing the screen. Solution: Position the cursor before calling ScrollConsoleScreenBuffer(). (Nobuhiro Takasaki, closes vim/vim#4115) https://github.com/vim/vim/commit/3b5fef6a995f25a8a8f746896de44df49b69dfdf vim-patch:8.1.1774: test is silently skipped Problem: Test is silently skipped. Solution: Throw "Skipped". https://github.com/vim/vim/commit/3c610c96389bbb5f0fc83f0a515fc8f1b7f515e4 vim-patch:8.2.1164: text cleared by checking terminal properties not redrawn Problem: Text cleared by checking terminal properties not redrawn. (Alexey Radkov) Solution: Mark the screen characters as invalid. (closes vim/vim#6422) https://github.com/vim/vim/commit/96916ac67ad9ed5d79ce87b099f9d01aa4c13745 vim-patch:8.2.2076: MS-Windows console: sometimes drops typed characters Problem: MS-Windows console: sometimes drops typed characters. Solution: Do not wait longer than 10 msec for input. (issue vim/vim#7164) https://github.com/vim/vim/commit/c478ee3d83fab0dba46740f2023c35f743f88316 vim-patch:8.2.2077: build failure with small features Problem: Build failure with small features. Solution: Add #ifdef. https://github.com/vim/vim/commit/a452b808b4da2d272ca4a50865eb8ca89a58f239 vim-patch:8.2.2086: libvterm tests are only run on Linux Problem: Libvterm tests are only run on Linux. Solution: Use static libraries. (Ozaki Kiichi, closes vim/vim#7419) https://github.com/vim/vim/commit/476268c387a05cfda9feaca8d1a5eeb535ed9f49
* vim-patch:8.2.0602: :unlet $VAR does not work properly (#13238)Sean Dewar2020-12-02
| | | | | | | Problem: :unlet $VAR does not work properly. Solution: Make ":lockvar $VAR" fail. Check the "skip" flag. https://github.com/vim/vim/commit/7e0868efcf094f2cc59fa4e18af3a8dc7aedd64f Include patch 8.2.0601 changes so that ex_unletlock() can execute a callback if there are no errors.
* Merge pull request #13428 from janlazo/nvim-8.0.1525Jan Edmund Lazo2020-12-01
|\ | | | | vim-patch:8.0.{858,953,1525}
| * vim-patch:8.0.1525: using :wqa exits even if a job runs in a terminal windowJan Edmund Lazo2020-12-01
| | | | | | | | | | | | | | Problem: Using :wqa exits even if a job runs in a terminal window. (Jason Felice) Solution: Check if a terminal has a running job. (closes vim/vim#2654) https://github.com/vim/vim/commit/7a76092a51fc5446426a4bfd9eb6503ec61bf9e9
| * vim-patch:8.0.0953: get "no write since last change" error in terminal windowJan Edmund Lazo2020-12-01
| | | | | | | | | | | | | | Problem: Get "no write since last change" error in terminal window. Solution: Use another message when closing a terminal window. Make ":quit!" also end the job. https://github.com/vim/vim/commit/f5be7cd01642fafc4b7d68894eb60cca60c7a405
| * fixup! vim-patch:8.0.0858: check if job terminal is running #10908Jan Edmund Lazo2020-12-01
| |
* | Merge pull request #12235 from dm1try/add_init_luaBjörn Linse2020-12-01
|\ \ | | | | | | add init.lua as an alternative user config
| * | executor: use new nlua_ name patternBjörn Linse2020-12-01
| | |
| * | startup: allow lua files as session onedm1try2020-12-01
| | |
| * | startup: add init.lua as an alternative user config, fixes #7895dm1try2020-12-01
| | |