aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * tree-sitter: start docsBjörn Linse2019-09-28
| |
| * tree-sitter: use "range" instead of "point_range" consistently in lua APIBjörn Linse2019-09-28
| |
| * tree-sitter: simplify editing using the new old_byte_size parameterBjörn Linse2019-09-28
| |
| * tree-sitter: fix lint, delete "demo" plugin (replaced by functional tests)Björn Linse2019-09-28
| |
| * tree-sitter: improve parser API (shared parser between plugins)Björn Linse2019-09-28
| |
| * tree-sitter: cleanup tree refcountingBjörn Linse2019-09-28
| |
| * tree-sitter: inspect languageBjörn Linse2019-09-28
| |
| * tree-sitter: add some more APIBjörn Linse2019-09-28
| |
| * tree-sitter: styleBjörn Linse2019-09-28
| |
| * tree-sitter: use standard luaL_newmetatable and luaL_checkudata patternBjörn Linse2019-09-28
| |
| * tree-sitter: rename tree_sitter => treesitter for consistencyBjörn Linse2019-09-28
| |
| * tree-sitter: add basic testing on ciBjörn Linse2019-09-28
| | | | | | | | build tree-sitter c parser on ci for testing purposes
| * tree-sitter: support pre-registration of languagesBjörn Linse2019-09-28
| |
| * tree-sitter: objectify APIBjörn Linse2019-09-28
| |
| * tree-sitter: split tree-sitter lua interface from demo codeBjörn Linse2019-09-28
| |
| * tree-sitter: cleanup build codeBjörn Linse2019-09-28
| |
| * Create BuildUtf8proc.cmake and FindUtf8proc.cmakeBjörn Linse2019-09-28
| | | | | | | | Using advanced search and replace technology
| * tree-sitter: load parsers as .so filesBjörn Linse2019-09-28
| |
| * tree-sitter: initial tree-sitter supportBjörn Linse2019-09-28
| |
| * tree-sitter: change vendored tree-sitter to use nvim memory managementBjörn Linse2019-09-28
| |
| * tree-sitter: vendor tree-sitter runtimeBjörn Linse2019-09-28
|/ | | | | | | | | tree-sitter/tree-sitter commit 7685b7861ca475664b6ef57e14d1da9acf741275 Included files are: lib/include/tree-sitter/*.h lib/src/*.[ch] LICENSE
* vim-patch:8.1.2083: multi-byte chars do not work properly with "%.*S" in ↵Daniel Hahler2019-09-28
| | | | | | | printf() (#11106) Problem: Multi-byte chars do not work properly with "%.*S" in printf(). Solution: Use mb_ptr2cells(). Daniel Hahler, closes vim/vim#4989) https://github.com/vim/vim/commit/ce0fac28977af31f1dec411d3535b4de2c3169b3
* doc: contrib/local.mk.example: include ENABLE_LTO (#11097)Daniel Hahler2019-09-26
| | | | | | | Using it takes 30+ additional seconds for me with a ccache-enabled build (43s vs. 12s). While it certainly makes sense to use DEBUG during development, bisecting etc, it should be made clearer what causes this.
* Merge pull request #10907 from jszakmeister/add-freebsd-sourcehut-supportJohn Szakmeister2019-09-26
|\ | | | | build: add support for building for FreeBSD under Sourcehut
| * build: add support for building for FreeBSD under Sourcehut [skip ci]John Szakmeister2019-09-25
| |
* | Fix two more flaky tests (#11095)Daniel Hahler2019-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mode_spec: retry with increasing matchtime `matchtime=2` might still be too low (with luacov on AppVeyor). [ ERROR ] test/functional\ui\mode_spec.lua @ 47: ui mode_change event works in insert mode test\functional\ui\screen.lua:587: mode Expected objects to be the same. Passed in: (string) 'insert' Expected: (string) 'showmatch' Hint: full state of "mode": "insert" Followup to fe60013fb. ref #10941 Initially regressed in 7ed212262242 `` * ui/screen_basic_spec: set timeoutlen=10000 This fixes the test on slow CI. Ref: https://ci.appveyor.com/project/neovim/neovim/builds/27600387/job/t468h2b3w9lwtlm5#L10930
* | vim-patch:8.0.0914: highlight attributes are always combined (#10256)Daniel Hahler2019-09-26
| | | | | | | | | | | | | | | | | | Problem: Highlight attributes are always combined. Solution: Add the 'nocombine' value to replace attributes instead of combining them. (scauligi, closes vim/vim#1963) https://github.com/vim/vim/commit/0cd2a94a4030f6bd12eaec44db92db108e33c913 Closes https://github.com/neovim/neovim/pull/10256.
* | Merge pull request #10978 from blueyed/update-libuvDaniel Hahler2019-09-25
|\ \ | | | | | | third-party: update libuv to v1.32.0
| * | test/functional/preload.lua: _set_fmode for WindowsDaniel Hahler2019-09-25
| | |
| * | Revert "win/os_env_exists(): workaround libuv bug #10734"Daniel Hahler2019-09-25
| | | | | | | | | | | | This reverts commit 278c5d452c2cbc436a9cc317407ae6021a226c3a.
| * | third-party: update libuv to v1.31.0Daniel Hahler2019-09-25
| |/
* / paste: fix handling of "<" in cmdline (#11094)Daniel Hahler2019-09-25
|/ | | Fixes https://github.com/neovim/neovim/issues/11088.
* tests: busted: nvim handler: display durations always (#11075)Daniel Hahler2019-09-25
| | | | This shows them also with test failures/errors, where it is useful to see how long the test took (for flaky failures running into timeout).
* cmake/GetCompileFlags: include CMAKE_C_COMPILER_ARG1 (#11091)Daniel Hahler2019-09-25
| | | This is used internally (e.g. on Travis) for 32-bit builds (`-m32`).
* timer_spec: fix/harden flaky tests (#11080)Daniel Hahler2019-09-24
| | | | | | | | | | | | | | | | | | | | | | Those are flaky when using luacov (which causes reproducible slowness). E.g.: [ ERROR ] test/functional\eval\timer_spec.lua @ 105: timers can invoke redraw in blocking getchar() call test\functional\ui\screen.lua:587: Row 3 did not match. Expected: |ITEM 1 | |ITEM 2 | |*{1:~ }| |{1:~ }| |{1:~ }| |^ | Actual: |ITEM 1 | |ITEM 2 | |*ITEM 3 | |{1:~ }| |{1:~ }| |^ |
* tui_spec: improve "TUI paste: exactly 64 bytes" (#11086)Daniel Hahler2019-09-24
| | | | | | | | | | | | | | | | | | | | | | | Doing the screen test first might give insights about a possible (flaky?) failure, where it looks like "feed_data" is processed out of order: [ ERROR ] test/functional/terminal/tui_spec.lua @ 561: TUI paste: exactly 64 bytes #10311 test/functional/helpers.lua:388: retry() attempts: 490 test/functional/terminal/tui_spec.lua:66: Expected objects to be the same. Passed in: (table: 0x44042de8) { *[1] = ' endzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz' } Expected: (table: 0x41d6e568) { *[1] = 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz end' } stack traceback: test/functional/helpers.lua:388: in function 'retry' test/functional/terminal/tui_spec.lua:63: in function 'expect_child_buf_lines' test/functional/terminal/tui_spec.lua:569: in function <test/functional/terminal/tui_spec.lua:561> Ref: https://github.com/neovim/neovim/pull/11083#issuecomment-534375201 Build log: https://travis-ci.org/neovim/neovim/jobs/588749739#L5597
* tui: flush ui buffer in tui_terminal_after_startup (#11083)Daniel Hahler2019-09-24
| | | | | | | | | | | | | | This avoids having a dummy event to tickle the main loop. Confirmed using `nvim -u NONE -c 'au FocusGained * q'` in tmux (with `:set -g focus-events on`): without the flushing it would only exit after pressing a key. Moves the flushing done recently in 3626d2107. `nvim -u NONE -cq` is still working (i.e. consuming the response for the terminal background query itself), and the flickering mentioned in 3626d2107 is reduced again. Reverts part of bfb21f3e0 (#7729).
* vim-patch:8.0.1754: ex_helpgrep() is too long #11084Jan Edmund Lazo2019-09-23
| | | | | Problem: ex_helpgrep() is too long. Solution: Refactor the function. (Yegappan Lakshmanan, closes vim/vim#2766) https://github.com/vim/vim/commit/2225ebb48644f3924311b8df02a1319ab7675d42
* vim-patch:8.0.1812: refactor qf_jump_to_usable_window() #11078Jan Edmund Lazo2019-09-22
| | | | | Problem: The qf_jump_to_usable_window() function is too long. Solution: Split it in parts. (Yegappan Lakshmanan, closes vim/vim#2891) https://github.com/vim/vim/commit/7a2b0e55e9460493c4a949bda8be70950dbb8f85
* terminfo_start: flush buffer #11074Daniel Hahler2019-09-22
| | | | | | | | | | | | | | | | This aligns with `terminfo_stop`, which also flushes the buffer after disabling things. This ensures Neovim gets the response to the terminal background query before exiting (`nvim -u NONE -cq` with e.g. urxvt or kitty). Caveats: * With kitty this causes some "flickering", likely since the alternate screen is being setup with `nvim -u NONE -cq`, whereas it would not be processed otherwise before quitting (as with the background query). * tmux after this patch may print ^[[I (CSI I / FocusGained) after `nvim -u NONE -cq`. Fixes https://github.com/neovim/neovim/issues/11062
* Merge #11076 from blueyed/fix-fold-patchesJustin M. Keyes2019-09-22
|\ | | | | | | Fix fold patches: vim-patch:8.1.2052, vim-patch:8.1.2059 fix #11002
| * vim-patch:8.1.2059: fix for "x" deleting a fold has side effectsDaniel Hahler2019-09-22
| | | | | | | | | | | | Problem: Fix for "x" deleting a fold has side effects. Solution: Fix it where the fold is included. https://github.com/vim/vim/commit/56ebbabea1d8409ba67127b9674f6c714739c8e0
| * vim-patch:8.1.2052: using "x" before a closed fold may delete that foldDaniel Hahler2019-09-22
|/ | | | | | Problem: Using "x" before a closed fold may delete that fold. Solution: Do not translate 'x' do "dl". (Christian Brabandt, closes vim/vim#4927) https://github.com/vim/vim/commit/7a9bd7c1e0ce1baf5a02daf36eeae3638aa315c7
* tests: make 'win_update redraws lines properly' more readable (#11068)Daniel Hahler2019-09-22
|
* tests: unit: fix preprocess: pass -m32 for 32bit ABI (#11073)Daniel Hahler2019-09-22
|
* Merge pull request #11049 from bfredl/rulermsgBjörn Linse2019-09-22
|\ | | | | screen: missing redraw/highlight for ruler in message area
| * screen: missing redraw/highlight for ruler in message areaBjörn Linse2019-09-22
|/
* env: use putenv_s for LC_ALL, LANG, etc. #11050erw72019-09-22
| | | | | | | | Problem: ":lang messages en_US.UTF-8" no longer overrides the language detected from the environment (at startup). Solution: In os_setenv, special-case "LC_ALL", "LANG", et al. to use putenv_s instead of uv_os_setenv. fixes #11045
* Merge #11034 from zwegner/precedesJustin M. Keyes2019-09-21
|\ | | | | Fix "precedes" listchar behavior in wrap mode
| * vim-patch:8.1.2060: "precedes" in 'listchars' not used properlyJustin M. Keyes2019-09-21
| | | | | | | | | | | | | | | | (Credit: Zach Wegner, https://github.com/neovim/neovim/pull/11034) Problem: "precedes" in 'listchars' not used properly. Solution: Correctly handle the "precedes" char in list mode for long lines. https://github.com/vim/vim/commit/bffba7f7042f6082e75b42484b15f66087b01941