aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | | | vim-patch:9.0.1300: 'statusline' only supports one "%=" item (#22218)zeertzjq2023-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'statusline' only supports one "%=" item. Solution: Add support for multiple "%=" items. (TJ DeVries, Yegappan Lakshmanan, closes vim/vim#11970, closes vim/vim#11965) https://github.com/vim/vim/commit/3ec78f973fdaec2cea8e036ed38037b2fe40670b Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* | | | | Merge pull request #22217 from zeertzjq/vim-9.0.1298zeertzjq2023-02-11
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:9.0.{1298,1299}: c_CTRL-R_CTRL-R doesn't trigger incsearch
| * | | | | vim-patch:9.0.1299: change for triggering incsearch not sufficiently testedzeertzjq2023-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Change for triggering incsearch not sufficiently tested. Solution: Add a test case. Simplify the code. (closes vim/vim#11971) https://github.com/vim/vim/commit/412e0e4ed903682f352d8ea58ded480930cc664f
| * | | | | vim-patch:9.0.1298: inserting register on the cmdline does not trigger incsearchzeertzjq2023-02-11
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Inserting a register on the command line does not trigger incsearch or update hlsearch. Solution: Have cmdline_insert_reg() return CMDLINE_CHANGED when appropriate and handle it correctly. (Ken Takata, closes vim/vim#11960) https://github.com/vim/vim/commit/c4b7dec38292fe1cfad7aa5f244031fc6f7c7a09 Co-authored-by: K.Takata <kentkt@csc.jp>
* | | | | fix(rpc)!: preseve files when stdio channel is closed (#22137)zeertzjq2023-02-11
| | | | | | | | | | | | | | | | | | | | BREAKING CHANGE: Unsaved changes are now preserved rather than discarded when stdio channel is closed.
* | | | | refactor: replace char_u with char (#21901)dundargoc2023-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
* | | | | ci: remove reviewers from the refactor label (#22216)dundargoc2023-02-11
| | | | | | | | | | | | | | | Anyone can review a refactor depending on what's being refactored.
* | | | | docs: reword news.txt to ensure a consistent style (#22215)Sizhe Zhao2023-02-11
| | | | |
* | | | | build: enable MSVC level 3 warnings (#21934)dundargoc2023-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MSVC has 4 different warning levels: 1 (severe), 2 (significant), 3 (production quality) and 4 (informational). Enabling level 3 warnings mostly revealed conversion problems, similar to GCC/clang -Wconversion flag.
* | | | | refactor: reduce scope of locals as per the style guide (#22206)dundargoc2023-02-11
| |_|/ / |/| | |
* | | | vim-patch:9.0.1297: wrong value for $LC_CTYPE makes the environ test fail ↵zeertzjq2023-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#22210) Problem: Wrong value for $LC_CTYPE makes the environ test fail. Solution: Unset $LC_CTYPE when running tests. (closes vim/vim#11963) https://github.com/vim/vim/commit/962d91643520ec3748fcf5af3263d89ccfcdda92 Co-authored-by: WuerfelDev <dev@wuerfeldev.de>
* | | | Merge pull request #21887 from bfredl/asanterrorbfredl2023-02-10
|\ \ \ \ | | | | | | | | | | build(ci): let ASAN print tracebacks for more errors (SIGABORT, SIGILL)
| * | | | build(ci): let ASAN print tracebacks for more errors (SIGABORT, SIGILL)bfredl2023-02-10
|/ / / /
* | | | Merge pull request #22077 from bfredl/neolua_clientbfredl2023-02-10
|\ \ \ \ | | | | | | | | | | refactor(tests): integrate lua-client into core and use core for functionaltests
| * | | | fix(client): wait for session to exitbfredl2023-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replicates the old native.pid_wait(self._pid) call, except using the proper libuv pattern (run loop unitil exit callback)
| * | | | fix(tests): fixes for using vim.mpack and more ASANbfredl2023-02-10
| | | | |
| * | | | refactor(tests): move lua-client into core and use it for functionaltestsbfredl2023-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminates lua-client and non-static libluv as test time dependencies Note: the API for a public lua-client is not yet finished. The interface needs to be adjusted to work in the embedded loop of a nvim instance (to use it to talk between instances)
* | | | | build: mark uninteresting variables as advanced (#22208)dundargoc2023-02-10
| | | | | | | | | | | | | | | Only the most important variables should be shown by default.
* | | | | Merge pull request #22194 from bfredl/noflushbfredl2023-02-10
|\ \ \ \ \ | |/ / / / |/| | | | refactor(ui): remove some superfluous redraw and ui_flush() calls
| * | | | refactor(ui): remove some superfluous ui_flush() callsbfredl2023-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - <expr> mapping has no business saving and restoring the low-level UI cursor. The cursor will be put in a reasonable position after input is processed, chill out. - TUI handles output needed for suspend - vgetc() family of function does flushing
| * | | | refactor(ui): don't reimplement redrawing in focus gained handlingbfredl2023-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | These are just ordinary boring events now. Modes already redraw events themselves.
* | | | | ci: simplify lintcommit output (#22204)dundargoc2023-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Suggest reading CONTRIBUTING.md once, not for each commit failure - Suggest using "fix" type if none of the provided types are appropriate - Remove "dist" type. It's rarely used and can be replaced by using the "build" type
* | | | | ci: remove unnecessary environment variables (#22175)dundargoc2023-02-10
| | | | |
* | | | | ci: split functionaltest-lua into two separate jobs (#22201)dundargoc2023-02-10
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More specifically, move the job testing the oldest supported cmake into its own job. This opens the way for other jobs to use powerful and advanced cmake features such as choosing which files to use with the -S flag. Removed testing from this job as this probably won't reveal anything that other jobs already doesn't already show, since the only difference is the cmake version.
* | | | ci: inline test.sh to run_tests.sh (#22198)dundargoc2023-02-10
| | | | | | | | | | | | This will get rid of the common/ directory.
* | | | ci(lintcommit): turn off debug tracing (#22196)dundargoc2023-02-09
| | | | | | | | | | | | | | | | The default output is too verbose and messy for someone not already familiar with lintcommit, which defeats it purpose.
* | | | ci: remove base branch from cache key (#22195)dundargoc2023-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the base branch as cache means that pull requests won't be able to use the cache from the master branch, since the master branch cache doesn't have a base_ref as it's generated from a push. Removing base_ref makes the cache key from master and PR branch the same, provided the any build files don't change.
* | | | ci: inline internal caching script to Github actions (#22192)dundargoc2023-02-09
|/ / / | | | | | | | | | | | | I don't think it's possible to meaningfully abstract away caching on multiple providers, as each provider has different mechanisms on how they work.
* | | ci: add individual timeout limits for all tests (#22193)dundargoc2023-02-09
| | | | | | | | | | | | | | | The CI somtimes freezes on a specific test, wasting 45 minutes for the entire job. Adding a timeout of 15 minutes to functionaltest and 5 minutes to unittests will mitigate the problem.
* | | Merge pull request #22186 from clason/maintainChristian Clason2023-02-09
|\ \ \ | | | | | | | | | | | | * docs(maintain): add note on updating `luvref.txt` * docs(luvref): update version info
| * | | docs(luvref): update version infoChristian Clason2023-02-09
| | | |
| * | | docs(maintain): add note on updating luvref.txtChristian Clason2023-02-09
| | | |
* | | | test(exit_spec): make sure that autocommands are triggered (#22188)zeertzjq2023-02-09
| | | | | | | | | | | | | | | | | | | | Previously, if the autocommands are not triggered, the tests may still pass because no assertion is done. Add an assertion so that the tests will fail if the autocommands aren't triggered.
* | | | build: remove codecov related files (#20859)dundargoc2023-02-09
| | | | | | | | | | | | These aren't needed as we don't use codecov anymore.
* | | | fix(rpc): ignore redraw events when exiting (#22184)zeertzjq2023-02-09
| | | | | | | | | | | | | | | | When a TUI client has already stopped, handling UI events will cause a heap-use-after-free, so ignore them.
* | | | fix(rpc): ignore redraw events when not in UI client (#21892)zeertzjq2023-02-09
| | | | | | | | | | | | Otherwise it will crash.
* | | | build: create test/CMakeLists.txt and move test-related code (#22179)dundargoc2023-02-08
| | | | | | | | | | | | | | | | | | | | Having a clear separation between build code and test code makes it easier to get a higher-level understanding of how the neovim build works.
* | | | build: reuse source files with interface library (#22177)dundargoc2023-02-08
| | | | | | | | | | | | This will minimize duplication by only needing to specify required files for nvim and libnvim once.
* | | | Merge pull request #22172 from bfredl/cellsbfredl2023-02-08
|\ \ \ \ | | | | | | | | | | perf(ui): mitigate redraw latency regression from TUI refactor
| * | | | perf(ui): mitigate redraw latency regression from TUI refactorbfredl2023-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While the new RPC encoder/decoder implementation in general should have less overhead than the deleted UIBridge serializer previously used for the TUI, it regresses on redraw latency in one important aspect. The old bridge implementation allowed the TUI to process a previous screen line internally in parallel with the main thread rendering the next one in win_line etc. As printing the escape sequences in highlighted cells has a considerable hit in profiles, this has a substantial effect on redraw latency. The RPC implementation, however, waits with sending any data until either a flush, or the buffer is full. This change lowers the granularity of communication again, using an adjustable threshold counted in number of cell events (discounting long repeats and clearing as maximum a single extra event). The current value is guesstimated to something simple on a reasonable scale, which should be bigger than a single line, but multiple events for a big multi-window screen.
| * | | | refactor(ui): cleanup 'redrawdebug', introduce "flush" modebfredl2023-02-08
| | | | |
* | | | | ci: remove fail summary (#22174)dundargoc2023-02-08
| | | | | | | | | | | | | | | | | | | | The tests already have a summary at the end, there's no need for an additional fail summary wrapper.
* | | | | build: remove unused function get_test_target (#22176)dundargoc2023-02-08
| | | | |
* | | | | build: replace check-single-includes with clang-tidy (#22061)dundargoc2023-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang-tidy already does what check-single-includes does automatically on top of its regular linting. It is also generator independent, so it doesn't take an eternity to run on slower generators such as Visual Studio.
* | | | | build(windows): specify Windows 8 as the minimum version (#22173)dundargoc2023-02-08
| | | | | | | | | | | | | | | | | | | | This will allow MSVC to use newer features not available in Vista and Windows 7.
* | | | | ci: remove unnecessary END_MARKER variable (#22171)dundargoc2023-02-08
| | | | |
* | | | | ci(oldtest): make a copy of scripts of ci/common in testdir (#22170)dundargoc2023-02-08
| | | | | | | | | | | | | | | | | | | | Having separate copies makes it easier to not accidentally break something when modifying the scripts.
* | | | | Merge pull request #22165 from clason/bump-LuvChristian Clason2023-02-08
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | build(deps): bump Luv to HEAD - e8e7b7e13 docs(luvref): update to latest version
| * | | | | docs(luvref): update to version bumpChristian Clason2023-02-08
| | | | | |
| * | | | | build(deps): bump Luv to HEAD - e8e7b7e13Christian Clason2023-02-08
| | | | | |