aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | vim-patch:8.2.4797: getwininfo() may get oudated valueszeertzjq2022-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: getwininfo() may get oudated values. Solution: Make sure w_botline is up-to-date. (closes vim/vim#10226) https://github.com/vim/vim/commit/8530b41fd3872c9a1349b083470d565677948518 Correct test order and add a modeline in test_bufwintabinfo.vim.
* | | | vim-patch:8.2.4794: compiler warning for not initialized variablezeertzjq2022-04-21
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Compiler warning for not initialized variable. Solution: Initialize the variable. (John Marriott) https://github.com/vim/vim/commit/4c84dd33ad739237bb38bb4e51702af972b5e507
* | | | vim-patch:8.2.4792: indent operator creates an undo entry for every linezeertzjq2022-04-21
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Indent operator creates an undo entry for every line. Solution: Create one undo entry for all lines. (closes vim/vim#10227) https://github.com/vim/vim/commit/e4686989944bffdbcf59890aa21091b135528618
* | | | vim-patch:8.2.0358: insufficient testing for indent.czeertzjq2022-04-21
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Problem: Insufficient testing for indent.c. Solution: Add indent tests. (Yegappan Lakshmanan, closes vim/vim#5736) https://github.com/vim/vim/commit/bd7206e02c957f0619e68e1628e2a3e91dd41e06 Cherry-pick Test_ex_mode() changes from Vim patches 8.2.{0342,0347}. Reorder test_expand_func.vim to match upstream.
* | | Merge pull request #18189 from zeertzjq/vim-8.2.4795zeertzjq2022-04-21
|\ \ \ | | | | | | | | vim-patch:8.2.{4795,4796,4801}: 'cursorbind' scrolling depends on whether 'cursorline' is set
| * | | vim-patch:8.2.4801: fix for cursorbind fix not fully testedzeertzjq2022-04-21
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Fix for cursorbind fix not fully tested. Solution: Add another test case. (Christian Brabandt, closes vim/vim#10240) https://github.com/vim/vim/commit/3fd7480cd25f1e939fc2362e0644d497bcc81b71
| * | | vim-patch:8.2.4796: file left behind after running cursorline testszeertzjq2022-04-21
| | | | | | | | | | | | | | | | | | | | | | | | Problem: File left behind after running cursorline tests. Solution: Uncomment the line that deletes the file. https://github.com/vim/vim/commit/da1050cd6fbb67cfde5b4a149d8d9db80bb4351c
| * | | vim-patch:8.2.4795: 'cursorbind' scrolling depends on whether 'cursorline' ↵zeertzjq2022-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is set Problem: 'cursorbind' scrolling depends on whether 'cursorline' is set. Solution: Always call validate_cursor(). (Christian Brabandt, closes vim/vim#10230, closes vim/vim#10014) https://github.com/vim/vim/commit/2c645e8b00641f504072f35e061b7392ed41f491
* | | | vim-patch:8.2.4724: current instance of last search pattern not easily spottedzeertzjq2022-04-21
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Problem: Current instance of last search pattern not easily spotted. Solution: Add CurSearch highlighting. (closes vim/vim#10133) https://github.com/vim/vim/commit/a43993897aa372159f682df37562f159994dc85c This fixes CurSearch highlight for multiline match. Omit screen redrawing code because Nvim redraws CurSearch differently.
* | | Merge pull request #18185 from clason/vim-8.2.4781Christian Clason2022-04-20
|\ \ \ | |/ / |/| | vim-patch:8.2.{4781,4793}: maxima files are not recognized
| * | vim-patch:8.2.4793: recognizing Maxima filetype even though it might be anotherChristian Clason2022-04-20
| | | | | | | | | | | | | | | | | | Problem: Recognizing Maxima filetype even though it might be another. Solution: Remove *.mc and *.dem patterns from Maxima files https://github.com/vim/vim/commit/928a13135629fa8e73796760077b1b877918a080
| * | vim-patch:8.2.4781: Maxima files are not recognizedChristian Clason2022-04-20
| | | | | | | | | | | | | | | | | | Problem: Maxima files are not recognized. Solution: Add patterns to detect Maxima files. (Doron Behar, closes vim/vim#10211) https://github.com/vim/vim/commit/d0a20c9d111da75febb60ffee2e15f727ab6a5ad
* | | docs(api): add example showing necessity to wrap callback function (#18179)Mathias Fußenegger2022-04-20
| | | | | | | | | | | | | | | | | | | | | Some people ran into issues trying to use `callback = myluafun` because of the event data payload. Co-authored-by: Gregory Anders <8965202+gpanders@users.noreply.github.com>
* | | Merge pull request #18145 from bfredl/term_optbfredl2022-04-20
|\ \ \ | |/ / |/| | feat(api): allow remote UI to set terminal options
| * | feat(api): ui options relevant for remote TUIhlpr982022-04-17
| | |
* | | vim-patch:8.2.4790: lilypond filetype not recognized (#18174)Christian Clason2022-04-20
| | | | | | | | | | | | | | | Problem: Lilypond filetype not recognized. Solution: Add patterns for lilypond. (Doug Kearns) https://github.com/vim/vim/commit/c448e9c95089b5e7170a0dd36635a226c5eb5b1c
* | | Merge pull request #18157 from famiu/feat/undo!bfredl2022-04-19
|\ \ \ | | | | | | | | feat: add `undo!`
| * | | feat: add `undo!`Famiu Haque2022-04-20
| | | | | | | | | | | | | | | | Allows using `undo!` to undo changes and remove them from the undo-tree. Can only be used for moving backwards in the same undo branch.
* | | | Merge pull request #18081 from famiu/feat/highlight/cursearchbfredl2022-04-19
|\ \ \ \ | |/ / / |/| | | feat(highlight): implement CurSearch highlight
| * | | feat(highlight): implement CurSearch highlightFamiu Haque2022-04-17
| | |/ | |/| | | | | | | Adds a `CurSearch` highlight group to highlight the current search result under the cursor.
* | | fix(tui): update modifyOtherKeys reporting (#18158)Gregory Anders2022-04-18
| | | | | | | | | | | | * Use the Eneks and Dseks terminfo attributes if they exist * Add VTE versions below 0.54.0 to the blacklist
* | | Merge pull request #18091 from dundargoc/refactor/pure-attributebfredl2022-04-18
|\ \ \ | | | | | | | | refactor: add pure attribute to pure functions
| * | | refactor: add pure attribute to pure functionsDundar Göc2022-04-13
| | | | | | | | | | | | | | | | | | | | This will allow compilers that support the pure attribute to make further optimizations to functions.
* | | | vim-patch:8.2.4778: pacman files use dosini filetype (#18152)Christian Clason2022-04-17
| | | | | | | | | | | | | | | | | | | | Problem: Pacman files use dosini filetype. Solution: Use conf instead. (Chaoren Lin, closes vim/vim#10213) https://github.com/vim/vim/commit/35cff32dd82e5e2b72453b9f27d0655fc5b8a639
* | | | vim-patch:8.2.4767: openscad files are not recognized (#18138)Christian Clason2022-04-17
| | | | | | | | | | | | | | | | | | | | Problem: Openscad files are not recognized. Solution: Add a filetype pattern. (Niklas Adam, closes vim/vim#10199) https://github.com/vim/vim/commit/c360b2566ce2390d45d9436a6a85719fe2b387d5
* | | | vim-patch:8.2.4766: KRL files using "deffct" not recognized (#18137)Christian Clason2022-04-17
| | | | | | | | | | | | | | | | | | | | | | | | Problem: KRL files using "deffct" not recognized. Solution: Adjust the pattern used for matching. (Patrick Meiser-Knosowski, closes vim/vim#10200) https://github.com/vim/vim/commit/93c7a45e86934a92ec513b437fe9b8cc343c53e3
* | | | vim-patch:8.2.0791: a second popup window with terminal causes troublezeertzjq2022-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: A second popup window with terminal causes trouble. Solution: Disallow opening a second terminal-popup window. (closes vim/vim#6101, closes vim/vim#6103) Avoid defaulting to an invalid line number. https://github.com/vim/vim/commit/b5383b174b2436b556f76f14badb1c1f55d6d8f6 This is the only applicable hunk.
* | | | vim-patch:8.2.4762: using freed memory using synstack() and synID() in ↵zeertzjq2022-04-17
| |/ / |/| | | | | | | | | | | | | | | | | WinEnter (#18136) Problem: Using freed memory when using synstack() and synID() in WinEnter. Solution: Check using the syntax window. (closes vim/vim#10204) https://github.com/vim/vim/commit/ca7e86c23789eb0ed8f6400f25ea9e0e1036f9fc
* | | chore: remove vestigial sfname freeing (#18123)Charlie Groves2022-04-16
| | | | | | | | | | | | This freeing is necessary in Vim since the alloc can fail. Since we're using xcalloc, that's not possible and the freeing will never run.
* | | vim-patch:8.2.4752: wrong 'statusline' value can cause illegal memory access ↵zeertzjq2022-04-15
| |/ |/| | | | | | | | | | | | | | | (#18117) Problem: Wrong 'statusline' value can cause illegal memory access. Solution: Properly check the value. (closes vim/vim#10192) https://github.com/vim/vim/commit/5dc294a7b63ed0e508dd360bc4d98173f1a1aeec Make two error messages static variables.
* | docs: typo fixes (#17859)dundargoc2022-04-15
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Elias Alves Moura <eliamoura.alves@gmail.com> Co-authored-by: venkatesh <shariharanvenkatesh@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Vikas Raj <24727447+numToStr@users.noreply.github.com> Co-authored-by: Steve Vermeulen <sfvermeulen@gmail.com> Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com> Co-authored-by: rwxd <rwxd@pm.me> Co-authored-by: casswedson <58050969+casswedson@users.noreply.github.com>
* | vim-patch:8.2.4750: small pieces of dead code (#18113)dundargoc2022-04-15
| | | | | | | | | | | | Problem: Small pieces of dead code. Solution: Remove the dead code. (Goc Dundar, closes vim/vim#10190) Rename the qftf_cb struct member to avoid confusion. https://github.com/vim/vim/commit/b836658a04ee5456deca2ee523de9efe51252da3
* | vim-patch:8.2.4747: no filetype override for .sys files (#18105)Christian Clason2022-04-13
| | | | | | | | | | Problem: No filetype override for .sys files. Solution: Add g:filetype_sys. (Patrick Meiser-Knosowski, closes vim/vim#10181) https://github.com/vim/vim/commit/f420ff2440a009acd9573fdb6ad6d53509d78009
* | Merge pull request #15972 from seandewar/vim-8.2.3487Sean Dewar2022-04-13
|\ \ | |/ |/| vim-patch:8.2.{3416,3448,3470,3478,3480,3486,3487}
| * vim-patch:8.2.3487: illegal memory access if buffer name is very longSean Dewar2022-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Illegal memory access if buffer name is very long. Solution: Make sure not to go over the end of the buffer. https://github.com/vim/vim/commit/826bfe4bbd7594188e3d74d2539d9707b1c6a14b Adjust the test to use :noswapfile, as Nvim fails to create the swap file on Windows due to the file name's length (E303). We don't have this behaviour on Linux as we get "[Permission denied]" from readfile(), so there is no attempt to create the swap file. However, Vim doesn't try to create the swap file on Windows either for a different reason: MAXPATHL in Vim for Windows is only 1024 (compared to Nvim's 4096 on the Windows CI), so readfile() gives "Illegal file name" instead, thus not needing :noswapfile for both cases.
| * vim-patch:8.2.3486: illegal memory access with invalid sequence of commandsSean Dewar2022-04-13
| | | | | | | | | | | | | | | | | | Problem: Illegal memory access with invalid sequence of commands. Solution: Do not call leave_block() when not in a try block. (closes vim/vim#8966) Reset did_emsg so that exception is shown as an error. https://github.com/vim/vim/commit/cce81e9673fe8d056e8eef310d9919620eccb2f2 Vim9script is N/A, which includes leave_block.
| * vim-patch:8.2.3480: test does not fail without the fix for a crashSean Dewar2022-04-13
| | | | | | | | | | | | | | Problem: Test does not fail without the fix for a crash. Solution: Write the bad code in a file and source it. (Dominique Pellé, closes vim/vim#8961) https://github.com/vim/vim/commit/949de97da32d4fff28c569387e2ba8b3e311e64d
| * vim-patch:8.2.3478: still crash with error in :catch and also in :finallySean Dewar2022-04-13
| | | | | | | | | | | | | | | | Problem: Still crash with error in :catch and also in :finally. Solution: Only call finish_exception() once. (closes vim/vim#8954) https://github.com/vim/vim/commit/f67d3fb7363ebc9454f9bb582de3978609a4fd6b Exclude CSF_FUNC_DEF change (Vim9script).
| * refactor(ex_eval): cherry-pick CSF flags changes from v8.2.3099Sean Dewar2022-04-13
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/vim/vim/commit/4197828dc666f2d258594f7f9461534d23cc50e4 Cherry-pick the changes to existing flags values. Required for v8.2.3478. That patch mostly relates to Vim9script, but I'm careful not to mark it N/A in case the flags have some use outside of Vim9 in the future. Excludes CSF_FUNC_DEF (flag introduced in v8.2.1870 for Vim9's block scopes).
| * vim-patch:8.2.3470: crash with error in :catch and also in :finallySean Dewar2022-04-13
| | | | | | | | | | | | Problem: Crash with error in :catch and also in :finally. Solution: Only discard an exception if there is one. (closes vim/vim#8954) https://github.com/vim/vim/commit/a684a684096ecef3fbaee39c573b47423235d6b1
| * vim-patch:8.2.3448: :endtry after function call that throws not foundSean Dewar2022-04-13
| | | | | | | | | | | | | | | | | | Problem: :endtry after function call that throws not found. Solution: Do check for following :endtry if an exception is being thrown. (closes vim/vim#8889) https://github.com/vim/vim/commit/1d34189ecb99fa76363c06e1aa815c1075675a1c Nvim obsoleted did_throw; check current_exception is not NULL instead.
| * vim-patch:8.2.3416: second error is reported while exception is being thrownSean Dewar2022-04-13
| | | | | | | | | | | | | | Problem: Second error is reported while exception is being thrown. Solution: Do not check for trailing characters when already aborting. (closes vim/vim#8842) https://github.com/vim/vim/commit/36f691f5f1d0676f080cc97d697d742ed5cc8251
* | vim-patch:8.2.4746: supercollider filetype not recognized (#18102)Christian Clason2022-04-13
| | | | | | | | | | | | Problem: Supercollider filetype not recognized. Solution: Match file extentions and check file contents to detect supercollider. (closes vim/vim#10142) https://github.com/vim/vim/commit/8cac20ed42b7b7fc9c6b54e3055ca1047f50b8ca
* | fix(api): correctly pass f-args for nvim_create_user_command (#18098)Gregory Anders2022-04-13
|/ | | | | Skip runs of whitespace and do not include `\` characters when followed by another `\` or whitespace. This matches the behavior of <f-args> when used with `:command`.
* fix(translation): po file for Ukrainian (#18100)Anatolii Sakhnik2022-04-13
|
* refactor(digraph.c): add more const qualifierszeertzjq2022-04-12
|
* vim-patch:8.2.3325: digraph test fails when LC_ALL is set to "C"zeertzjq2022-04-12
| | | | | | Problem: Digraph test fails when LC_ALL is set to "C". Solution: When restoring 'encoding' set it to "utf-8". (closes vim/vim#8742) https://github.com/vim/vim/commit/52eb372a04dfc5d5afef238c1b3c4a8e92020837
* vim-patch:8.2.3226: new digraph functions use old naming schemezeertzjq2022-04-12
| | | | | | Problem: New digraph functions use old naming scheme. Solution: Use the digraph_ prefix. (Hirohito Higashi, closes vim/vim#8580) https://github.com/vim/vim/commit/29b857150c111a455f1a38a8f748243524f692e1
* vim-patch:8.2.3184: cannot add a digraph with a leading spacezeertzjq2022-04-12
| | | | | | | | | | | | | | | Problem: Cannot add a digraph with a leading space. It is not easy to list existing digraphs. Solution: Add setdigraph(), setdigraphlist(), getdigraph() and getdigraphlist(). (closes vim/vim#8580) https://github.com/vim/vim/commit/6106504e9edc8500131f7a36e59bc146f90180fa Use GA_APPEND_VIA_PTR in registerdigraph(). Use tv_list_append_*() in getdigraphlist_appendpair(). Put the error messages in digraph.c. E196 is N/A. Remove mentions about 'encoding' being non-Unicode. Nvim doesn't support setting encoding=japan, so skip a test.
* vim-patch:8.2.4739: accessing freed memory after WinScrolled autocmd event ↵zeertzjq2022-04-12
| | | | | | | | (#18090) Problem: Accessing freed memory after WinScrolled autocmd event. Solution: Check the window pointer is still valid. (closes vim/vim#10156) Remove the argument from may_trigger_winscrolled(). https://github.com/vim/vim/commit/d58862d18f091d3c14fa3647e724ef7eea1ecefa