aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | luahlBjörn Linse2020-09-13
| | | |
* | | | Merge pull request #12883 from janlazo/vim-8.2.1640Jan Edmund Lazo2020-09-12
|\ \ \ \ | | | | | | | | | | vim-patch:8.1.{1296,1297,1298},8.2.{1640,1645,1646,1648,1649,1654,1655,1661}
| * | | | vim-patch:8.1.1298: invalid argument test fails without X clipboardJan Edmund Lazo2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Invalid argument test fails without X clipboard. Solution: Test -display only with the +xterm_clipboard feature. https://github.com/vim/vim/commit/5416b75031138182387399f8fe5e17a884414e1a N/A patches for version.c: vim-patch:8.2.1640: Amiga: missing header for getgrgid() Problem: Amiga: missing header for getgrgid(). Solution: Add the grp.h header. (Ola Söder, closes vim/vim#6906) https://github.com/vim/vim/commit/f842cd9e285afb9d86c6f9bff400e5e576f873c0 vim-patch:8.2.1645: GTK3: icons become broken images when resized Problem: GTK3: icons become broken images when resized. Solution: Use gtk_image_new_from_icon_name(). (closes vim/vim#6916) Fix compiler warnings. https://github.com/vim/vim/commit/81a4cf469a0f5c1603ac3130af9f011053854180 vim-patch:8.2.1646: Amiga: Unnecessary #include Problem: Amiga: Unnecessary #include. Solution: Remove the #include. (Ola Söder, closes vim/vim#6908) https://github.com/vim/vim/commit/33e3346322e40b2877f63f2f37398832c7017e2f vim-patch:8.2.1648: Amiga: no common build file for Amiga (-like) systems Problem: Amiga: no common build file for Amiga (-like) systems. Solution: Turn Make_morph.mak into Make_ami.mak. (Ola Söder, closes vim/vim#6805) https://github.com/vim/vim/commit/a62372be1f73b69f9d4c9413ec816d773a16a0f5 vim-patch:8.2.1649: GTK3: using old file chooser Problem: GTK3: using old file chooser. Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar Velingker, closes vim/vim#6909) https://github.com/vim/vim/commit/3e4cc9671c5551b73f0176cab40e676ed72a1716 vim-patch:8.2.1654: when job writes to hidden buffer current window is wrong Problem: When job writes to hidden buffer current window has display errors. (Johnny McArthur) Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf(). (closes vim/vim#6925) https://github.com/vim/vim/commit/ad9ec5e79916d206fd7677b77e36485c47ae534f vim-patch:8.2.1655: cannot build with Strawberry Perl 5.32.0 Problem: Cannot build with Strawberry Perl 5.32.0. Solution: Use Perl_sv_2pvbyte_flags. (closes vim/vim#6921) https://github.com/vim/vim/commit/895a7a472d2eb4413e63cdad3213cb1ef1633458 vim-patch:8.2.1661: cannot connect to 127.0.0.1 for host with only IPv6 addresses Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses. Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger, closes vim/vim#6931) https://github.com/vim/vim/commit/c6a67c92bcbf4ef09063814af0c65d3e0585ada0
| * | | | vim-patch:8.1.1297: invalid argument test fails without GTKJan Edmund Lazo2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Invalid argument test fails without GTK. Solution: Test -display and --display separately. https://github.com/vim/vim/commit/240f7abab01b5e3fd5336dd780e42501ec3f2fcb
| * | | | vim-patch:8.1.1296: crash when using invalid command line argumentJan Edmund Lazo2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using invalid command line argument. Solution: Check for options not being initialized. https://github.com/vim/vim/commit/27821260c0afaac85cb1c10627f1d7fbe48860ae
* | | | | UI: fix cursor not displayed after hiding and un-hiding #12811erw72020-09-12
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - TUI: Fix a case where the cursor was not displayed after hiding the cursor and then setting it to be displayed again. - Change to reset everything before setting guicursor. fixes #12800 close #12811 Steps to reproduce: nvim -u NORC :set termguicolors :hi nCursor guifg=red guibg=red :hi iCursor guifg=green guibg=green :hi cCursor guifg=blue guibg=blue :set guicursor=n:block-nCursor,i:hor25-iCursor,c:ver25-cCursor :set guicursor-=c:ver25-cCursor Actual behaviour: Cursor is a blue vertical. Expected behaviour: Cursor should be the default color block.
* | | | Merge pull request #12721 from aufarg/vim-8.1.0265Jan Edmund Lazo2020-09-12
|\ \ \ \ | |/ / / |/| | | [RDY] vim-patch:8.1.{265,271,273,274,275,277,278,279,280,281,282,284,286,291,295,296,320,321,339,351,392,399,552}
| * | | vim-patch:8.1.0552: saved last search pattern may not be restoredAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Saved last search pattern may not be restored. Solution: Call restore_last_search_pattern(). Add a check for balancing saving and restoring the last search pattern. https://github.com/vim/vim/commit/01a060da74b756b161e595b39a7877cb7612120a
| * | | vim-patch:8.1.0399: 'hlsearch' highlight remains in other windowAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'hlsearch' highlight remains in other window after cancelling command. Solution: Redraw all windows. Also remove unnecessary delays. (closes vim/vim#3437) https://github.com/vim/vim/commit/65985ac998713dfe0f0ff1dd49c5e3e8f17f4870
| * | | vim-patch:8.1.0392: error while typing :/foo/s// with 'incsearch' enabledAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Error while typing :/foo/s// with 'incsearch' enabled. Solution: Do not give search errors when highlighting matches. https://github.com/vim/vim/commit/50eb16c3b23235b21ce4494673a7741a9a196176
| * | | vim-patch:8.1.0356: using :s with 'incsearch' prevents CTRL-R CTRL-WAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using :s with 'incsearch' prevents CTRL-R CTRL-W. (Boris Staletic) Solution: When past the pattern put cursor back in the start position. (closes vim/vim#3413) https://github.com/vim/vim/commit/99f043a57d0be35ef72572b0429cf51525c3cd2b
| * | | vim-patch:8.1.0351: 'incsearch' for :/foo/s//<Esc> changes last search patternAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 'incsearch' for :/foo/s//<Esc> changes last search pattern. Solution: Save the last search pattern earlier. https://github.com/vim/vim/commit/198cb66d652d3d8ac16226dcc929a11b0b720151
| * | | vim-patch:8.1.0339: wrong highlight when 'incsearch' set and cancelling :sAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Wrong highlight when 'incsearch' set and cancelling :s. Solution: Reset search line range. (Hirohito Higashi, Masamichi Abe) https://github.com/vim/vim/commit/f13daa46da85a80dd05704cdde0660c2b2651a5a
| * | | vim-patch:8.1.0321: 'incsearch' regression: /\v highlights everythingAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 'incsearch' regression: /\v highlights everything. Solution: Put back the empty_pattern() check. https://github.com/vim/vim/commit/4edfe2d2a2d70ea66a7f73e9b923c2d1f6246a57
| * | | vim-patch:8.1.0320: too much 'incsearch' highlight for pat matching everythingAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Too much 'incsearch' highlight for pattern matching everything. Solution: Add the skiplen to the command and remove the line range. (Christian Brabandt) Check for empty pattern earlier. https://github.com/vim/vim/commit/8b0d5ce881ac16a36ea00018ba13a58b0fdb7534
| * | | vim-patch:8.1.0296: command parsing for 'incsearch' is a bit uglyAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Command parsing for 'incsearch' is a bit ugly. Solution: Return when there is no pattern. Put common checks together. https://github.com/vim/vim/commit/111bbd61e96d1d3ee4bc07ae435fd97b88413aba
| * | | vim-patch:8.1.0295: no 'incsearch' highlighting for :vimgrep and similarAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No 'incsearch' highlighting for :vimgrep and similar commands. Solution: Parse the :vimgrep command and similar ones to locate the search pattern. (Hirohito Higashi, closes vim/vim#3344) https://github.com/vim/vim/commit/264cf5cfaf40e704aea2578e70c15ed9a9d0161e
| * | | vim-patch:8.1.0291: 'incsearch' highlighting not used for :sortAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 'incsearch' highlighting not used for :sort. Solution: Handle pattern in :sort command. https://github.com/vim/vim/commit/81f56536b1bc324eb173924a8cf4d7dbbf4f3fdb
| * | | vim-patch:8.1.0286: 'incsearch' does not apply to :smagic and :snomagicAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 'incsearch' does not apply to :smagic and :snomagic. Solution: Add support. (Hirohito Higashi) https://github.com/vim/vim/commit/167ae42685dcd430800c51ac7339f7f0938a3e70
| * | | vim-patch:8.1.0284: 'cursorline' highlighting wrong with 'incsearch'Aufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 'cursorline' highlighting wrong with 'incsearch'. Solution: Move the cursor back if the match is outside the range. https://github.com/vim/vim/commit/2f6a346a4cd2d5bdd6dc9b3209ebce7b6340221d
| * | | vim-patch:8.1.0282: 'incsearch' does not work with command modifiersAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 'incsearch' does not work with command modifiers. Solution: Skip command modifiers. https://github.com/vim/vim/commit/33c4dbb74bdf41aadd193a704f597d4df20f0e47
| * | | ex_docmd: merge parse_state_T with exarg_TAufar Gilbran2020-09-11
| | | |
| * | | vim-patch:8.1.0281: parsing command modifiers is not separatedAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Parsing command modifiers is not separated. Solution: Move command modifier parsing to a separate function. https://github.com/vim/vim/commit/effed9315c6c5a35fc2824b90da4af753c7a02dc
| * | | vim-patch:8.1.0280: 'incsearch' highlighting does not work for ":g!/"Aufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 'incsearch' highlighting does not work for ":g!/". Solution: Skip the exclamation mark. (Hirohito Higashi) https://github.com/vim/vim/commit/def7b1dc6104a6ce6d7c3e3a615231178601b124
| * | | vim-patch:8.1.0279: 'incsearch' highlighting does not skip white spaceAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 'incsearch' highlighting does not skip white space. Solution: Skip white space after the command. (issue vim/vim#3321) https://github.com/vim/vim/commit/2b926fcb3c5d8bd09a219009336bbec7c66ae67e
| * | | vim-patch:8.1.0278: 'incsearch' highlighting does not accept reverse rangeAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 'incsearch' highlighting does not accept reverse range. Solution: Swap the range when needed. (issue vim/vim#3321) https://github.com/vim/vim/commit/60d0871000e9abf3716ee035cba5b5a9d659e327
| * | | vim-patch:8.1.0277: 'incsearch' highlighting wrong in a few casesAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'incsearch' highlighting wrong in a few cases. Solution: Fix using last search pattern. Restore highlighting when changing command. (issue vim/vim#3321) https://github.com/vim/vim/commit/c7f08b7ee1c1ff2080d425c2fcdb6907c26fc98e
| * | | vim-patch:8.1.0275: 'incsearch' with :s doesn't start at cursor lineAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'incsearch' with :s doesn't start at cursor line. Solution: Set cursor before parsing address. (closes vim/vim#3318) Also accept a match at the start of the first line. https://github.com/vim/vim/commit/976b847f43dd16eb6cd809d2dcab7dde6045e176
| * | | vim-patch:8.1.0274: 'incsearch' triggers on ":source"Aufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 'incsearch' triggers on ":source". Solution: Check for the whole command name. https://github.com/vim/vim/commit/21f990e1c22ffa2fdb66a548ebbe25e6e7194776
| * | | vim-patch:8.1.0273: invalid memory access when using 'incsearch'Aufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Invalid memory access when using 'incsearch'. Solution: Reset "patlen" when using previous search pattern. https://github.com/vim/vim/commit/ef73a28401cde680dc0d02d4b0fb19ed659ec1d3
| * | | vim-patch:8.1.0271: 'incsearch' doesn't work for :s, :g or :vAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 'incsearch' doesn't work for :s, :g or :v. Solution: Also use 'incsearch' for other commands that use a pattern. https://github.com/vim/vim/commit/b0acacd767a2b0618a7f3c08087708f4329580d0
| * | | vim-patch:8.1.0265: the getcmdline() function is way too bigAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: The getcmdline() function is way too big. Solution: Factor out the incremental search highlighting. https://github.com/vim/vim/commit/0ee81cb63876e6ec1b2a6e0125295b43f1c63c7d
* | | | Merge pull request #12889 from vigoux/bytetrack-open-lineBjörn Linse2020-09-11
|\ \ \ \ | | | | | | | | | | Fix invalid events with `o` `<CR>` and `autoindent`
| * | | | fix(bufupdates): avoid sending empty updatesThomas Vigouroux2020-09-11
| | | | |
| * | | | fix(bytetrack): send correct events when opening linesThomas Vigouroux2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a bit of test cleanup ärrår feeel SPLIT fix: sned correct updates on <CR>
* | | | | lua: cleanup naming conventions of executor functionsBjörn Linse2020-09-10
|/ / / /
* | | | memline: do not attempt to cache line2byte()Björn Linse2020-09-10
| | | | | | | | | | | | | | | | This is irrelevant to neovim usecases anyway.
* | | | fix lintsThomas Vigouroux2020-09-09
| | | |
* | | | treesitter: use new on_bytes interfaceBjörn Linse2020-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will significantly reduce the parsing work needed e.g. when rehighlighting after every keypress in insert mode. Also add safety check for tree-sitter trying to read past the end of a line. This can happen after we sent an incorrect buffer update.
* | | | api/buffer: add "on_bytes" callback to nvim_buf_attachBjörn Linse2020-09-09
| | | | | | | | | | | | | | | | | | | | | | | | This implements byte-resolution updates of buffer changes. Note: there is no promise that the buffer state is valid inside the callback!
* | | | memline: cache byte offset of current lineBjörn Linse2020-09-09
| | | | | | | | | | | | | | | | | | | | When editing a line in insert mode, this value will be used for every keypress.
* | | | extmark: use resonable names in extmark_spliceBjörn Linse2020-09-09
| | | |
* | | | extmark: separate extmark_splice_cols for column-only changeBjörn Linse2020-09-09
| | | | | | | | | | | | | | | | as the byte logic will be the same for all of these
* | | | win: avoid duplicate separators in $PATH #12869Justin M. Keyes2020-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Seems like redundant env var separators (";" on Windows) in $PATH can cause weird behavior. From #7377: > After some time, system(['win32yank', '-o']) and system('win32yank -o') > start returning different results: specifically first returns an > empty string. > > 1. $PATH weirdly contains double semicolon followed by path to the > “installation directory” (unpacked directory from archive). > 2. If I run `let $PATH=substitute($PATH, ';;', ';', 'g')` the problem is fixed. close #7377 ref 224f99b85d311ebd31451db13b66e4a3c7e51938
* | | | vim-patch:8.2.1635: no digraph for 0x2022 BULLET #12876Jan Edmund Lazo2020-09-08
| | | | | | | | | | | | | | | | | | | | Problem: No digraph for 0x2022 BULLET. Solution: Use "oo". (Hans Ginzel, closes vim/vim#6904) https://github.com/vim/vim/commit/57ad94c5a9ee6f3626e1ec728519a8558a4346c8
* | | | win/env: fix stdpath()/XDG_* initialization, parsing #12829erw72020-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Windows environment variables are semicolon-separated, but some logic was assuming colon (:). This broke initialization and parsing of XDG_CONFIG_DIRS, XDG_DATA_DIRS, 'runtimepath', stdpath(), etc. - test/defaults_spec: enable tests on Windows ref #12793
* | | | vim-patch:8.2.1633: some error messages are internal but do not use iemsg()Jan Edmund Lazo2020-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some error messages are internal but do not use iemsg(). Solution: Use iemsg(). (Dominique Pellé, closes vim/vim#6894) https://github.com/vim/vim/commit/e83cca291112ea66f49079975e102ee36a47a24e N/A patches for version.c: vim-patch:8.2.1625: compiler warning for use of fptr_T Problem: Compiler warning for use of fptr_T. Solution: Make the type less strict. https://github.com/vim/vim/commit/30d6413782c8206899cee109f521895a03c76441 vim-patch:8.2.1630: terminal test fails Problem: Terminal test fails. Solution: Correct argument to term_start(). Correct error number. https://github.com/vim/vim/commit/c98cdb3bc970f04f93b4c394b4ec94c2eb5546c3
* | | | UI: forward 'mousefocus' option #12863Justin M. Keyes2020-09-06
| | | | | | | | | | | | | | | | close #12849 ref eb4aab7173fa1733f77bb6d7117351b47ada6134
* | | | Merge pull request #12802 from jamessan/travis-ubuntu-bumpJames McCoy2020-09-06
|\ \ \ \
| * | | | ci: Try to recover from sanitizer issuesJames McCoy2020-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running in CI, we want to find as many problems as possible instead. Let the code try to keep running from recoverable issues so we report all the sanitize issues we can.