aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* folds: decrease reliance on global 'curwin'Matthieu Coudron2020-04-24
| | | | | | TODO in a future commit: - remains 2 instances of changed_lines that dont take into account buffer
* treesitter: check for integer overflow (#12135)Thomas Vigouroux2020-04-22
| | | | | | | Sometimes treesitter calls for an invalid column within a line, checking that the column is actually valid and forcing the value avoids an integer overflow and an infinite sequence of invalid reads. Fixes #12131
* terminal: Fix mouse coordinates issue (#12158)erw72020-04-21
| | | | | | Offsets of window were not taken into account when sending mouse coordinates to the terminal. Therefore, when nu or rnu is set, the mouse coordinates sent to the terminal were not correct. Change it to send the correct coordinates by subtract window offset from col.
* Test on actual libuv version number, not on existence of symbol.Matěj Cepl2020-04-21
| | | | | | uv_stream_get_write_queue_size isn't a define, it's a function. It seems like this would always be shadowing the actual function name.
* Make neovim building even with libuv 1.18.0Matěj Cepl2020-04-21
| | | | (found for example on openSUSE/Leap 15.*)
* tui: Don't call uv_write without output (#12146)erw72020-04-20
| | | Fixes #11653, #11990. Check for cursor visibility to toggle uv_write call.
* Merge pull request #12047 from erw7/fix-resolve-on-windowsMatthieu Coudron2020-04-19
|\ | | | | | | Change resolve() to resolve symbolic links on Windows Neovim worked the same way as vim for shortcuts, but didn't handle symbolic links and junction cases. This PR implements the same behavior for symbolic links and junctions as for vim.
| * Change to canonicalize only when reparse point in includederw72020-04-02
| |
| * Change resolve() to resolve symbolic links on Windowserw72020-04-02
| |
* | Merge pull request #12141 from vigoux/treesitter_fixMatthieu Coudron2020-04-18
|\ \ | | | | | | | | | | | | | | | [RFC] Update treesitter runtime Get rid of our utf8proc dependency Note that we unconditionnally escape treesitter queries, might need to be revisited.
| * | treesitter: remove utf8proc dependencyThomas Vigouroux2020-04-18
| | |
| * | treesitter: update vendor codeThomas Vigouroux2020-04-18
| | | | | | | | | | | | | | | Update treesitter vendor code to commit 35f82ce301951315e08de3b7e44a18c9170b28b8
* | | vim-patch:8.2.0589: .bsd file type not recognizedJan Edmund Lazo2020-04-17
| | | | | | | | | | | | | | | | | | Problem: .bsd file type not recognized. Solution: Recognize .bsd as BSDL. (Daniel Kho, closes vim/vim#5945) https://github.com/vim/vim/commit/0fc1288aefce25da0a2fb2a0aab75b0bd314403f
* | | vim-patch:8.2.0584: viminfo file uses obsolete function file_readable()Jan Edmund Lazo2020-04-17
|/ / | | | | | | | | | | Problem: Viminfo file uses obsolete function file_readable(). Solution: Use filereadable(). (closes vim/vim#5934) https://github.com/vim/vim/commit/c5f33db888d14225e5a3851563c9a7fc0b5a5564
* | folds: decrease reliance on global "curwin" (#12132)Matthieu Coudron2020-04-16
| | | | | | | | | | | | | | | | Pass the window in which to create/delete folds instead of using the global "curwin" (current window). Preliminary work for a fold API. TODO: I kept changed_lines prototype unchanged. This should be updated when a fold API sees the light.
* | Merge pull request #12005 from erw7/fix-screen-vsplitJames McCoy2020-04-15
|\ \ | | | | | | Closes #11998
| * | Fix screen terminal family issueserw72020-03-12
| | |
| * | Fix splitting issue on gnu screenerw72020-03-12
| | | | | | | | | | | | | | | gnu screen does not have smglr, but it inherits smglr from xterm and splitting will cause drawing problems. So disable smglr.
* | | vim-patch:8.2.0575: :digraph! not testedJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: :digraph! not tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#5925) https://github.com/vim/vim/commit/e3242346cf1c2ff8b0315cb2cb98e731bfa952c0
* | | Suppress Microsoft copyright banner. (#12114)Doug Richardson2020-04-14
| | |
* | | Use libnvim as OUTPUT_NAME for libnvim (#12119)Doug Richardson2020-04-14
| | | | | | | | | | | | | | | libnvim's OUTPUT_NAME was nvim, which caused the cmake Ninja generator to generate two build rules for the library, which produced a warning about incorrect builds.
* | | TUI: support setting cursor color in tmux (#12100)Thomas Churchman2020-04-14
| | |
* | | vim-patch:8.2.0549: user systemd files not recognizedJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: User systemd files not recognized. Solution: Add filetype patterns. (Kevin Locke, closes vim/vim#5914) https://github.com/vim/vim/commit/3b922f11380c7dbf94ee45bc09d688b772d9707f
* | | vim-patch:8.2.0544: memory leak in search testJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Memory leak in search test. Solution: Free msgbuf. (Dominique Pelle, closes vim/vim#5912) https://github.com/vim/vim/commit/880e4d9117ea990e66d867aefad0f73ba89bda82
* | | vim-patch:8.2.0507: getbufvar() may get the wrong dictionaryJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Getbufvar() may get the wrong dictionary. (David le Blanc) Solution: Check for empty name. (closes vim/vim#5878) https://github.com/vim/vim/commit/5259275347667a90fb88d8ea74331f88ad68edfc
* | | vim-patch:8.2.0473: variables declared in an outer scopeJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Variables declared in an outer scope. Solution: Decleare variables only in the scope where they are used. https://github.com/vim/vim/commit/8601545338581c01e328cdc3a72c0b12d92c54cf
* | | vim-patch:8.2.0134: some map functionality not covered by testsJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Some map functionality not covered by tests. Solution: Add tests. (Yegappan Lakshmanan, closes vim/vim#5504) https://github.com/vim/vim/commit/8ba6bb7c94229f1e6f85ea5152ed8b4fbbbd9d20
* | | vim-patch:8.2.0474: cannot use :write when using a plugin with BufWriteCmdJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Cannot use :write when using a plugin with BufWriteCmd. Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes vim/vim#5807) https://github.com/vim/vim/commit/0fff44152d06e6b662ad4bef172af07a041d2f3f
* | | vim-patch:8.2.0464: typos and other small problemsJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Typos and other small problems. Solution: Fix the typos. Add missing file to distribution. https://github.com/vim/vim/commit/2d9d409ad4fab1ae7ceaecc0ef0e9b511d868374
* | | vim-patch:8.2.0457: Test_quotestar() often fails when run under valgrindJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Test_quotestar() often fails when run under valgrind. Solution: Wait longer for the GUI to start. https://github.com/vim/vim/commit/26bde6e2eb307898ab7ed42bf8e7e2ccde979e02
* | | vim-patch:8.1.1745: compiler warning for unused argumentJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Compiler warning for unused argument. Solution: Add UNUSED. Change comments to new style. https://github.com/vim/vim/commit/1f164b19685d8ad709b11f3f1933685469251e30
* | | vim-patch:8.2.0415: bsdl filetype is not detectedJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Bsdl filetype is not detected. Solution: Add an entry in the filetype list. (Daniel Kho, closes vim/vim#5810) https://github.com/vim/vim/commit/40d235e7305ce6ff696e8301c62a41f1f07f8aca
* | | vim-patch:8.2.0406: FileReadCmd event not well testedJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: FileReadCmd event not well tested. Solution: Add a test. https://github.com/vim/vim/commit/e32848780cc07c368ba2e088cdefdbb8c3b827c2
* | | vim-patch:8.1.2282: crash when passing many arguments through a partialJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | Problem: Crash when passing many arguments through a partial. (Andy Massimino) Solution: Check the number of arguments. (closes vim/vim#5186) https://github.com/vim/vim/commit/4c054e9fb23027b55a09ee647a3a2c91936aeb1b
* | | vim-patch:8.1.2280: crash when passing partial to substitute()Jan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Crash when passing partial to substitute(). Solution: Take extra arguments into account. (closes vim/vim#5186) https://github.com/vim/vim/commit/b0745b221d284e381f1bd4b591cd68ea54b6a51d
* | | vim-patch:8.2.0398: profile test fails when two functions take same timeJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Profile test fails when two functions take same time. Solution: Add a short sleep in once function. (closes vim/vim#5797) https://github.com/vim/vim/commit/a21df1db3ca619afdcb47931af042508a6bbc8e5
* | | vim-patch:8.2.0397: delayed screen update when using undo from Insert modeJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Delayed screen update when using undo from Insert mode. Solution: Update w_topline and cursor shape before sleeping. (closes vim/vim#5790) https://github.com/vim/vim/commit/5715b3147bfc8ddfe905339f6fd224fd3a5a3ba1
* | | vim-patch:8.2.0041: leaking memory when selecting spell suggestionJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Leaking memory when selecting spell suggestion. Solution: Free previous value at the right time. https://github.com/vim/vim/commit/6c52f8237199ea09abbecdc5b89847c5889c3de1
* | | vim-patch:8.1.2147: crash when allocating memory failsJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Crash when allocating memory fails. (Zu-Ming Jiang) Solution: Check that 'spellcapcheck' is not NULL. (closes vim/vim#5048) https://github.com/vim/vim/commit/53efb18530cc3940d7af2ea338947783ea5495ed
* | | pvs/v502: use explicit ternary in for-loopJan Edmund Lazo2020-04-13
| | |
* | | vim-patch:8.2.0389: delayed redraw when shifting text from Insert modeJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Delayed redraw when shifting text from Insert mode. Solution: Use msg_attr_keep() instead of msg(). (closes vim/vim#5782) https://github.com/vim/vim/commit/e4fc746d13f5b6a0b5c3a8efdff7de1454c3297d
* | | vim-patch:8.2.0387: error for possible NULL argument to qsort()Jan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | Problem: Error for possible NULL argument to qsort(). Solution: Don't call qsort() when there is nothing to sort. (Dominique Pelle, closes vim/vim#5780) https://github.com/vim/vim/commit/bb65a5690c24ccfce37e210316bf1d0964c91359
* | | pvs/v595: check if extmark not NULLJan Edmund Lazo2020-04-13
| | |
* | | pvs/v560: remove redundant line checkJan Edmund Lazo2020-04-13
| | |
* | | vim-patch:8.2.0381: using freed memory with :lvimgrep and autocommandJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | | | | Problem: Using freed memory with :lvimgrep and autocommand. (extracted from POC by Dominique Pelle) Solution: Avoid deleting a dummy buffer used in a window. (closes vim/vim#5777) https://github.com/vim/vim/commit/2573af3519ad062ddad647b97e32090f106f2ac1
* | | vim-patch:8.2.0365: tag kind can't be a multi-byte characterJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Tag kind can't be a multi-byte character. (Marcin Szamotulski) Solution: Recognize multi-byte character. (closes vim/vim#5724) https://github.com/vim/vim/commit/283e5f4e69b204e0eafd408548e69b7ca9b4871b
* | | vim-patch:8.2.0366: hardcopy command not tested enoughJan Edmund Lazo2020-04-13
| | | | | | | | | | | | | | | | | | Problem: Hardcopy command not tested enough. Solution: Add tests for printing. (Dominique Pelle, closes vim/vim#5748) https://github.com/vim/vim/commit/2e09634a7880f55a61cb6b959dd89c51972866af
* | | vim-patch:8.2.0560: compiler warning in tiny buildJan Edmund Lazo2020-04-12
| | | | | | | | | | | | | | | | | | Problem: Compiler warning in tiny build. Solution: Move declaration inside #ifdef. (Dominique Pelle, closes vim/vim#5915) https://github.com/vim/vim/commit/2196bce56fcd56b0eaece50c079bac99f5bc31af
* | | vim-patch:8.2.0027: still some /* */ commentsJan Edmund Lazo2020-04-12
| | | | | | | | | | | | | | | | | | Problem: Still some /* */ comments. Solution: Convert to // comments. https://github.com/vim/vim/commit/aa2f0ee639d3b59e4402261ebee27bf545a62d8b
* | | vim-patch:8.1.2387: using old C style commentsJan Edmund Lazo2020-04-12
| | | | | | | | | | | | | | | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate. https://github.com/vim/vim/commit/2ab2e8608f9b2c85432715bb9a7f226fdbf8cd35