aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:8.1.1879: more functions can be used as methodsSean Dewar2021-08-12
| | | | | | | | | Problem: More functions can be used as methods. Solution: Make float functions usable as a method. https://github.com/vim/vim/commit/93cf85f9ef02931de3f8c8e536a137da0b48b7dc Fix atan2() doc typo (patch referred to it as atan()). Adjust Test_fmod() method test to expect "str2float('nan')".
* vim-patch:8.1.1878: negative float before method not parsed correctlySean Dewar2021-08-12
| | | | | | Problem: Negative float before method not parsed correctly. Solution: Apply "!" and "-" in front of expression before using ->. https://github.com/vim/vim/commit/9cfe8f6e68de4bfb5942d84f4465de914a747b3f
* vim-patch:8.1.1863: confusing error when using a builtin function as methodSean Dewar2021-08-12
| | | | | | | Problem: Confusing error when using a builtin function as method while it does not support that. Solution: Add a specific error message. https://github.com/vim/vim/commit/9174639a82799011cfa0013cbc4c4709b3833bf0
* vim-patch:8.1.1861: only some assert functions can be used as a methodSean Dewar2021-08-12
| | | | | | | | Problem: Only some assert functions can be used as a method. Solution: Allow using most assert functions as a method. https://github.com/vim/vim/commit/24278d2407dfbc8d93eb36593cdd006ff5d86f94 Port tests to assert_spec.lua.
* vim-patch:8.1.1835: cannot use printf() as a methodSean Dewar2021-08-12
| | | | | | Problem: Cannot use printf() as a method. Solution: Pass the base as the second argument to printf(). https://github.com/vim/vim/commit/fd8ca21b3ff207e44891aef922935d4adcd140cf
* vim-patch:8.1.1834: cannot use a lambda as a methodSean Dewar2021-08-12
| | | | | | | | | | | | Problem: Cannot use a lambda as a method. Solution: Implement ->{lambda}(). (closes vim/vim#4768) https://github.com/vim/vim/commit/22a0c0c4ecd23b6c43f79ba9b92899ca0b426e29 Add an additional lua_funcname argument to call_func_rettv() to maintain support for v:lua. A memory leak was introduced with this patch that was fixed in v8.1.2107.
* vim-patch:8.1.1828: not strict enough checking syntax of method invocationSean Dewar2021-08-12
| | | | | | Problem: Not strict enough checking syntax of method invocation. Solution: Check there is no white space inside ->method(. https://github.com/vim/vim/commit/5184132ec015f5889a3195d911e609d214f06bed
* vim-patch:8.1.1821: no test for wrong number of method argumentsSean Dewar2021-08-12
| | | | | | Problem: No test for wrong number of method arguments. Solution: Add a test. https://github.com/vim/vim/commit/f97d46f816e84edb6899a903a1c334a50a6d31bb
* vim-patch:8.1.1820: using expr->FuncRef() does not workSean Dewar2021-08-12
| | | | | | Problem: Using expr->FuncRef() does not work. Solution: Make FuncRef work as a method. https://github.com/vim/vim/commit/761fdf01c6e307c448cec2684f8b315ba6d1f454
* vim-patch:8.1.1816: cannot use a user defined function as a methodSean Dewar2021-08-12
| | | | | | | Problem: Cannot use a user defined function as a method. Solution: Pass the base as the first argument to the user defined function after "->". (partly by FUJIWARA Takuya) https://github.com/vim/vim/commit/fcfe1a9b8950b8b211ab3b24d84b17c6847ea43f
* vim-patch:8.1.1809: more functions can be used as a methodSean Dewar2021-08-12
| | | | | | Problem: More functions can be used as a method. Solution: Add has_key(), split(), str2list(), etc. https://github.com/vim/vim/commit/a74e4946de074d2916e3d6004f7fa1810d12dda9
* vim-patch:8.1.1807: more functions can be used as a methodSean Dewar2021-08-12
| | | | | | | | | Problem: More functions can be used as a method. Solution: Add append(), appendbufline(), assert_equal(), etc. Also add the :eval command. https://github.com/vim/vim/commit/25e42231d3ee27feec2568fa4be2aa2bfba82ae5 :eval is already ported.
* vim-patch:8.1.1803: all builtin functions are globalSean Dewar2021-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: All builtin functions are global. Solution: Add the method call operator ->. Implemented for a limited number of functions. https://github.com/vim/vim/commit/ac92e25a33c37ec5becbfffeccda136c73b761ac - Note that to *exactly* port hunk @@ -7376,18 +7444,19 from handle_subscript(), we need the :scriptversion patches (I have an open PR for those, but this patch works fine without them anyway). - Port call_internal_func() from v7.4.2058. - Adjust some error messages in tests, as they rely on the Blob patches. - Add a modeline to test_method.vim. Ignore the global_functions and base_method tables and prefer the current GPerf implementation. Instead, add an extra base_arg field to VimLFuncDef that holds the number of the argument to use as the base (1-indexed, so that 0 may be used to refer to functions that cannot be used as methods). This also means we support using any argument as a base from the get-go, rather than just the first (Vim includes this ability in future patches, however). To mark a function as usable as a method, use the "base" key as described in eval.lua.
* vim-patch:8.1.1800: function call functions have too many argumentsSean Dewar2021-08-12
| | | | | | | | | | Problem: Function call functions have too many arguments. Solution: Pass values in a funcexe_T struct. https://github.com/vim/vim/commit/c6538bcc1cdd1fb83732f22fdc69bd9bb66f968a Use FUNCEXE_INIT to initialize funcexe_T instances. call_callback() and other Vim listener related stuff is N/A.
* vim-patch:8.1.1638: running tests leaves some files behindSean Dewar2021-08-12
| | | | | | | | | | | | | | | | Problem: Running tests leaves some files behind. Solution: Delete the files. (Ozaki Kiichi, closes vim/vim#4617) https://github.com/vim/vim/commit/3940ec6d41a07f9abbfba7d4db6b49d3d8b43a9a Required for v8.1.1888. N/A patches for version.c: vim-patch:8.1.1912: more functions can be used as methods Problem: More functions can be used as methods. Solution: Make channel and job functions usable as a method. vim/vim@570497a
* test(oldtest): cherry-pick needed test functions from v8.1.1336Sean Dewar2021-08-12
| | | | | | Cherry-pick Test_call() and Test_cindent_func(). Required for v8.1.1911 and v8.1.1915.
* fix(eval): cherry-pick emsg changes from v8.1.0736Sean Dewar2021-08-12
| | | | | | | | | | | v8.1.0736 made some changes for making some emsgs more specific. Includes the change for Test_lambda_fails() in test_lambda.vim. Adjust relevant functionaltests to expect the new emsgs. This patch has been fully ported in my Blob port PR, but it hasn't been merged yet, so just use what we need from it for now. Required for v8.1.1821.
* Merge pull request #15336 from bfredl/plinesBjörn Linse2021-08-11
|\ | | | | refactor(plines): move "plines" (size of printed lines) family of function to own file
| * refactor(plines): move horizontal size functions to plines.cBjörn Linse2021-08-11
| | | | | | | | fix style.
| * refactor(plines): what is basic compiler optimizations?Björn Linse2021-08-10
| |
| * refactor(plines): remove implicit curwin chartabsize() functionBjörn Linse2021-08-10
| |
| * refactor(plines): style of new plines.c fileBjörn Linse2021-08-10
| |
| * refactor(plines): move out plines related code from misc1.cBjörn Linse2021-08-10
| |
| * refactor(plines): remove implicit curwin plines_nofill() functionBjörn Linse2021-08-10
| |
| * refactor(plines): remove implicit curwin plines() functionBjörn Linse2021-08-10
| |
* | Merge pull request #15335 from muniter/set_extmark_error_cleanupThomas Vigouroux2021-08-11
|\ \ | | | | | | refactor(api): remove redundant api_set_error
| * | refactor(api): remove redundant api_set_errorJavier López2021-08-10
| | | | | | | | | | | | This error is already handled by 'find_buffer_by_handle'
* | | Merge pull request #15253 from spywhere/float-win-scl-fixBjörn Linse2021-08-10
|\ \ \ | | | | | | | | Fix sign column auto with minimum break floating window minimal style
| * | | refactor(sign): include longer sign column optionSirisak Lueangsaksri2021-08-09
| | | |
| * | | fix(sign): reset auto sign column with minimum in float win minimal styleSirisak Lueangsaksri2021-08-09
| | | |
* | | | fix(lsp): properly handle `nil` lines when trimming empty lines (#15325)Andrea Cappuccio2021-08-10
| |/ / |/| |
* | | Merge pull request #15329 from ↵Thomas Vigouroux2021-08-10
|\ \ \ | | | | | | | | | | | | | | | | dundargoc/github/bug-template/make-behavior-mandatory ci: make all questions mandatory in bug template
| * | | ci: make all questions mandatory in bug templateDundar Göc2021-08-10
|/ / /
* | | fix(lsp): floating popup should take offset_x into account when positioning ↵Hans Pinckaers2021-08-09
| | | | | | | | | | | | (#15297)
* | | doc: Document `-complete=lua` option (#15102)Cezary Drożak2021-08-09
| | |
* | | docs: regenerate (#15324)github-actions[bot]2021-08-09
| | | | | | | | | Co-authored-by: marvim <marvim@users.noreply.github.com>
* | | Merge pull request #15307 from muniter/update-help.txtMatthieu Coudron2021-08-09
|\ \ \ | | | | | | | | docs(help.txt): Add a tag to the neovim api.
| * | | docs(help.txt): add treesitter to the main help fileJavier Lopez2021-08-09
| | | |
| * | | docs(help.txt): add a tag to the neovim apiJavier Lopez2021-08-09
| | | |
* | | | docs: Add some references to LSP specification (#15321)max3975742021-08-09
| | | |
* | | | docs: elaborate on commitlint rules (#15322)dundargoc2021-08-09
| | | | | | | | | | | | linter requires lowercase at start and no period at end of description
* | | | ci: create GitHub Action that squashes all typo PRs into a single PR (#15041)dundargoc2021-08-09
| | | | | | | | | | | | | | | | The action adds all pull-request authors (and Marvim) as a co-author to the newly created PR and also links to the closed PRs.
* | | | Merge pull request #15312 from janlazo/vim-8.2.2639Jan Edmund Lazo2021-08-09
|\ \ \ \ | |_|/ / |/| | | vim-patch:8.1.{1818},8.2.{1464,2639,2814,2947,2976,2986,3114,3141,3160,3198}
| * | | vim-patch:8.2.3141: no error when using :complete for :command without -nargsJan Edmund Lazo2021-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No error when using :complete for :command without -nargs. Solution: Give an error. (Martin Tournoij, closes vim/vim#8544, closes vim/vim#8541) https://github.com/vim/vim/commit/de69a7353e9bec552e15dbe3706a9f4e88080fce N/A patches for version.c: vim-patch:8.1.1801: cannot build without the +eval feature Problem: Cannot build without the +eval feature. Solution: Always define funcexe_T. https://github.com/vim/vim/commit/505e43a20eb25674b18d73971fe3b51dad917f9a vim-patch:8.1.1818: unused variable Problem: Unused variable. Solution: Remove the variable. (Mike Williams) https://github.com/vim/vim/commit/b4a88a0441a65a0c9411c294825a08ca703f541e vim-patch:8.2.1464: Vim9: build warning for unused variable Problem: Vim9: build warning for unused variable. Solution: Delete the variable declaration. https://github.com/vim/vim/commit/829ac868b7615d73dbfb536f7fcd44fc7c5b7c1d vim-patch:8.2.2639: build failure when fsync() is not available Problem: Build failure when fsync() is not available. Solution: Add #ifdef. https://github.com/vim/vim/commit/5ea79a2599d35f75e1ae8a75d2711c754c4cb7c4 vim-patch:8.2.2814: Vim9: unused variable Problem: Vim9: unused variable. (John Marriott) Solution: Adjust #ifdef. https://github.com/vim/vim/commit/b06b50dfa06e1cbefd634e2735e7cd5ddd5b911c vim-patch:8.2.2947: build failure without the channel feature Problem: Build failure without the channel feature. Solution: Add back #ifdef. (John Marriott) https://github.com/vim/vim/commit/f5bfa8faa7bbe025c10148d37e8b47217a430a3b vim-patch:8.2.2976: build failure without the +eval feature Problem: Build failure without the +eval feature. Solution: Add #ifdefs. https://github.com/vim/vim/commit/8de901e1f1b051e02a61ae76ad7c925e4c0642e5 vim-patch:8.2.2986: build failure without the profile feature Problem: Build failure without the profile feature. Solution: Add #ifdef. https://github.com/vim/vim/commit/d9f31c13d217b4b97f724774a67a6d1f8640e8ae vim-patch:8.2.3114: Amiga-like systems: build error using stat() Problem: Amiga-like systems: build error using stat(). Solution: Only build swapfile_process_running() on systems where it is actually used. (Ola Söder, closes vim/vim#8519) https://github.com/vim/vim/commit/599a6e5b3629d943a795cd69e4d3d19886f86405
| * | | vim-patch:8.2.3198: cannot use 'formatlistpat' for breakindentJan Edmund Lazo2021-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use 'formatlistpat' for breakindent. Solution: Use a negative list indent. (Maxim Kim, closes vim/vim#8594) https://github.com/vim/vim/commit/f674b358fc18cf1641a066cc5de73da69e651024 Port get_showbreak_value() from patch v8.1.2281 to avoid breaking changes when porting older patches.
| * | | vim-patch:8.2.3160: 'breakindent' does not work well for bulleted listsJan Edmund Lazo2021-08-08
|/ / / | | | | | | | | | | | | | | | | | | Problem: 'breakindent' does not work well for bulleted and numbered lists. Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt, closes vim/vim#8564, closes vim/vim#1661) https://github.com/vim/vim/commit/4a0b85ad0193ac162e2d8458e4b1c5ad2e2b0193
* | | vim-patch:8.2.3285: scdoc filetype is not recognized (#15294)Gregory Anders2021-08-08
| | | | | | | | | | | | | | | Problem: Scdoc filetype is not recognized. Solution: Add filetype detection. (Gregory Anders, closes vim/vim#8701) https://github.com/vim/vim/commit/dd097bdc1376e4ca2cfd4a4d64021b6ba0df4bed
* | | option: pvs/v557 (#14740)Jan Edmund Lazo2021-08-08
| |/ |/| | | Replace STRCAT with STRLCAT() to always NUL-terminate "errbuf" array.
* | ci(labeler): apply label tests if only files under test have changed (#15305)dundargoc2021-08-08
|/
* ci(forms): fix "vim" description in bug templateChristian Clason2021-08-07
| | | Make clear that the version should be specified in any case, including patch level