aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | fix(vim.version): incorrect version.cmp()Justin M. Keyes2023-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: If major<major but minor>minor, cmp_version_core returns 1 Solution: - Fix logic in cmp_version_core - Delete most eq()/gt()/lt() tests, they are redundant.
| * | refactor(vim.version): cleanupJustin M. Keyes2023-03-06
| | | | | | | | | | | | | | | | | | | | | - version.cmp(): assert valid version - add test for loading vim.version (the other tests use shared.lua in the test runner) - reduce test scopes, reword test descriptions
| * | feat(lua): add semver apiKelly Lin2023-03-06
|/ /
* | refactor(treesitter): simplify some range functionsLewis Russell2023-03-06
| |
* | vim-patch:9.0.1386: options test fails with some window width (#22548)zeertzjq2023-03-06
| | | | | | | | | | | | Problem: Options test fails with some window width. Solution: Adjust what text the test checks with. (closes vim/vim#12111) https://github.com/vim/vim/commit/30585e03a7ce6cf985f93ca30275bf4dae0d87cc
* | vim-patch:9.0.1385: g'Esc is considered an error (#22544)zeertzjq2023-03-06
| | | | | | | | | | | | Problem: g'Esc is considered an error. Solution: Make g'Esc silently abandon the command. (closes vim/vim#12110) https://github.com/vim/vim/commit/f86dea8119f3141e3d2c680219036d1511101f9b
* | docs: module-level docstrings (@defgroup) #22498Justin M. Keyes2023-03-05
| | | | | | | | | | | | | | | | | | | | | | | | Problem: gen_vimdoc.py / lua2dox.lua does not support @defgroup or \defgroup except for "api-foo" modules. Solution: Modify `gen_vimdoc.py` to look for section names based on `helptag_fmt`. TODO: - Support @module ? https://github.com/LuaLS/lua-language-server/wiki/Annotations#module
* | Merge pull request #22539 from dundargoc/build/luvbfredl2023-03-06
|\ \ | | | | | | build: remove workaround for incorrectly packaged libluv
| * | build: remove workaround for incorrectly packaged libluvdundargoc2023-03-05
|/ / | | | | | | | | | | This removes a workaround for incorrectly packaged libluv in 90e44ecf1144cb32195da00e24d23afb111ea680 as it should not be needed anymore.
* | build: silence git describe error outputBiswapriyo Nath2023-03-05
| | | | | | | | | | This change will silence the warning from git describe command when the project is built using source tarball. The warning is fatal: not a git repository: 'neovim/.git'
* | build: fix USE_EXISTING_SRC_DIR optiondundargoc2023-03-05
| | | | | | | | | | | | | | Since 0007aa50bd3d54259bb4ae717c114f5524ec59fa the build unsets all URL variable immediately when USE_EXISTING_SRC_DIR is TRUE, which is correct. However, this causes the function BuildTSParser to break down as cmake functions aren't traditionally equipped to deal with empty variables. Using cmake_parse_arguments fixes this issue.
* | Merge pull request #22486 from dundargoc/ci/cachedundargoc2023-03-05
|\ \
| * | ci: skip core dump checkdundargoc2023-03-05
| | | | | | | | | | | | | | | The core dump check interferes with CI as it interprets any file with "core" in it to be a core dump, which is incorrect.
| * | ci: remove core dump checking from test.ymldundargoc2023-03-05
| | | | | | | | | | | | | | | There is already a superior core dump check in test/helpers.lua, which makes this obsolete.
| * | ci: use the same deps directory location for all jobsdundargoc2023-03-05
| | | | | | | | | | | | | | | | | | | | | | | | Having separate directory location causes failures to be inconsistent and ultimately confusing. A common problem is a file with a particular name is searched for the entire repository, which gives different results if the dependency directory is inside the neovim directory or outside of it.
* | | build: consistently use the provided option pathsdundargoc2023-03-05
| | | | | | | | | | | | | | | We provide options such as "DEPS_BIN_DIR" for the user to set, but only sometimes use them. This makes binaries and other files to be spread out if the user defines a custom DEPS_BIN_DIR location.
* | | build: fix unknown pragma warning with mingw (#22533)Biswapriyo Nath2023-03-05
|/ / | | | | | | | | | | | | | | This checks MSVC toolchain with _MSC_VER macro before adding pragma warning directive. It is specific to MSVC and shows compiler warning with mingw gcc as following: main.c:187: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 187 | # pragma warning(suppress : 4996)
* | test: don't search entire repo for filesdundargoc2023-03-05
| | | | | | | | | | Searching the entire repo for a directory named "contrib" causes failure if there happens to be another subdirectory with the name "contrib". Instead, point directly to the correct contrib directory.
* | Merge pull request #22532 from zeertzjq/vim-9.0.0736zeertzjq2023-03-05
|\ \ | |/ |/| vim-patch:9.0.{0736,0749,0770,0870}: quickfix listing does not handle very long messages
| * vim-patch:9.0.0870: get E967 when using text property in quickfix windowzeertzjq2023-03-05
| | | | | | | | | | | | | | | | | | | | | | Problem: Get E967 when using text property in quickfix window. (Sergey Vlasov) Solution: Do not add an extra NUL and compute the text length correctly. (closes vim/vim#11513) https://github.com/vim/vim/commit/2f7bfe66a1373051792f2ecaeefb66049825221d Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.0770: quickfix commands may keep memory allocatedzeertzjq2023-03-05
| | | | | | | | | | | | | | | | | | | | Problem: Quickfix commands may keep memory allocated. Solution: Free memory when it's a bit much. (Yegappan Lakshmanan, closes vim/vim#11379) https://github.com/vim/vim/commit/d8cd6f7427bc89aa38f42cc44f58bf5fb5f0f972 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
| * vim-patch:9.0.0749: alloc/free of buffer for each quickfix entry is inefficientzeertzjq2023-03-05
| | | | | | | | | | | | | | | | | | Problem: Alloc/free of buffer for each quickfix entry is inefficient. Solution: Use a shared grow array. (Yegappan Lakshmanan, closes vim/vim#11365) https://github.com/vim/vim/commit/975a665d4811649a51e2c6a97a6ce096290d87ae Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
| * vim-patch:9.0.0736: quickfix listing does not handle very long messageszeertzjq2023-03-05
|/ | | | | | | | | | | | | Problem: Quickfix listing does not handle very long messages. Solution: Use a growarray instead of a fixed size buffer. (Yegappan Lakshmanan, closes vim/vim#11357) https://github.com/vim/vim/commit/f8412c9d7cc487dacf47a217ae947da68a525c53 Override Test_very_long_error_line() with a rewrite that doesn't use deferred delete and string interpolation. Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* fix(lsp): don't monitor files if workspace_folders is nil (#22531)Mathias Fußenegger2023-03-05
| | | | | | | | Fixes: Error SERVER_REQUEST_HANDLER_ERROR: "...di/dev/neovim/neovim/runtime/lua/vim/lsp/_watchfiles.lua :200: bad argument #1 to 'ipairs' (table expected, got nil)" Language servers can be started without root_dir or workspace_folders.
* feat(lsp): implement workspace/didChangeWatchedFiles (#22405)Jon Huhn2023-03-05
|
* vim-patch:9.0.1380: CTRL-X on 2**64 subtracts two (#22530)zeertzjq2023-03-05
| | | | | | | | Problem: CTRL-X on 2**64 subtracts two. (James McCoy) Solution: Correct computation for large number. (closes vim/vim#12103) https://github.com/vim/vim/commit/5fb78c3fa5c996c08a65431d698bd2c251eef5c7 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* test(old): make getting an unused PID work (#22529)zeertzjq2023-03-05
|
* vim-patch:9.0.1378: illegal memory access when using virtual editing (#22527)zeertzjq2023-03-05
| | | | | | | | Problem: Illegal memory access when using virtual editing. Solution: Make sure "startspaces" is not negative. https://github.com/vim/vim/commit/c99cbf8f289bdda5d4a77d7ec415850a520330ba Co-authored-by: Bram Moolenaar <Bram@vim.org>
* fix(extmarks): don't leak memory on error (#22507)zeertzjq2023-03-05
|
* build: show build type specific compiler flags when using --versiondundargoc2023-03-04
| | | | | The build type specific flags are defined in the variables CMAKE_C_FLAGS_<CONFIG>, where <CONFIG> can be DEBUG, RELEASE, RELWITHDEBINFO and MINSIZEREL.
* ci: move configuring cmake to the build part of the CIdundargoc2023-03-04
| | | | If the configuration fails then lints shouldn't be run, as most lint steps depends on a successful configuration.
* docs(highlight): fix type annotations (#22272)Jaehwang Jung2023-03-04
|
* build(deps): bump msgpack-c to v6.0.0 (#22522)Christian Clason2023-03-04
| | | | | * Remove C++ requirement if test is disabled * Change CMake package name of C library to msgpack-c * Unified all C package, library, cmake, tarball name become msgpack-c.
* Merge pull request #22415 from bfredl/log_debugbfredl2023-03-04
|\ | | | | refactor(log): reduce compile time LOG_LEVEL granularity
| * refactor(log): reduce compile time LOG_LEVEL granularitybfredl2023-03-04
| |
* | refactor(spell): use uint8_t for "byts" variables (#22519)zeertzjq2023-03-04
| | | | | | Avoid casting back and forth.
* | docs(lua): number → integer (#22517)Jaehwang Jung2023-03-04
| |
* | docs(diagnostic): number → integer (#22512)Jaehwang Jung2023-03-04
| |
* | docs(editorconfig): number → integer (#22514)Jaehwang Jung2023-03-04
| |
* | docs(inspect): number → integer (#22511)Jaehwang Jung2023-03-04
| |
* | docs(uri): number → integer (#22515)Jaehwang Jung2023-03-04
| |
* | docs(filetype): number → integer (#22516)Jaehwang Jung2023-03-04
| |
* | docs(treesitter): number → integer (#22513)Jaehwang Jung2023-03-04
|/
* refactor: replace char_u with char or uint8_t (#22400)dundargoc2023-03-04
| | | Work on https://github.com/neovim/neovim/issues/459
* docs(luvref): update to version bump (#22508)Christian Clason2023-03-04
|
* Merge pull request #22506 from zeertzjq/vim-9.0.0013zeertzjq2023-03-04
|\ | | | | vim-patch:9.0.{partial:0013,0016}: fix memory access errors
| * fix(redraw): get the line again after evaluating somethingzeertzjq2023-03-04
| |
| * fix(luado): get old_line length before executing Lua codezeertzjq2023-03-04
| |
| * vim-patch:9.0.0016: comparing line pointer for 'breakindent' is not reliablezeertzjq2023-03-04
| | | | | | | | | | | | | | | | | | | | | | Problem: Comparing line pointer for 'breakindent' is not reliable. Solution: Make a copy of the line. https://github.com/vim/vim/commit/c2a79b87fc31080ba24394c0b30bab45f1bea852 Test changes have been squashed into the previous commit. Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:partial:9.0.0013: reproducing memory access errors can be difficultzeertzjq2023-03-04
|/ | | | | | | | | | | | | | | | | | Problem: Reproducing memory access errors can be difficult. Solution: When testing, copy each line to allocated memory, so that valgrind can detect accessing memory before and/or after it. Fix uncovered problems. https://github.com/vim/vim/commit/fa4873ccfc10e0f278dc46f39d00136fab059b19 Since test_override() is N/A, enable ml_get_alloc_lines when ASAN is enabled instead, so it also applies to functional tests. Use xstrdup() to copy the line as ml_line_len looks hard to port. Squash the test changes from patch 9.0.0016. Co-authored-by: Bram Moolenaar <Bram@vim.org>