aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | vim-patch:7.4.2086Justin M. Keyes2016-11-25
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Using the system default encoding makes tests unpredictable. Solution: Always use utf-8 or latin1 in the new style tests. Remove setting encoding and scriptencoding where it is not needed. https://github.com/vim/vim/commit/ac105ed3c420660ddbddc501c97875c48220817e
* | | Merge pull request #5595 from jamessan/tsan-pieJames McCoy2016-11-24
|\ \ \ | | | | | | | | tsan: Compile with -fPIE and updated clang
| * | | Avoid serializing NULL string through msgpackJames McCoy2016-11-23
| | | | | | | | | | | | | | | | | | | | | | | | Attempting to serialize a NULL string through msgpack results in msgpack_sbuffer_write attempting to memcpy from a NULL pointer, which is undefined behavior.
| * | | Move utf8len_tab definition to globals.hJames McCoy2016-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing code would cause utf8len_tab to be declared as non-extern when main.cpp included globals.h as well as in mbyte.c. This causes the following warning Linking C executable ../../bin/nvim /usr/bin/ld: Warning: size of symbol `utf8len_tab' changed from 256 in CMakeFiles/nvim.dir/main.c.o to 320 in CMakeFiles/nvim.dir/mbyte.c.o Moving the definition to globals.h and using INIT() ensures the array is only defined in main.cpp and other places globals.h is included see an extern declaration.
| * | | tsan: Compile with -fPIE and force clang-3.8James McCoy2016-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes failures with TSAN builds like FATAL: ThreadSanitizer can not mmap the shadow memory (something is mapped at 0x55deea465000 < 0x7cf000000000) FATAL: Make sure to compile with -fPIE and to link with -pie.
* | | | Merge pull request #5654 from brcolow/vim-7.4.1923James McCoy2016-11-23
|\ \ \ \ | | | | | | | | | | vim-patch:7.4.1923
| * | | | vim-patch:7.4.1923Michael Ennen2016-11-23
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Command line editing is not tested much. Solution: Add tests for expanding the file name and 'wildmenu'. https://github.com/vim/vim/commit/ae3150ec8d9da4a244acffebea55416946ca23d3 The test_cmdline.vim tests were ported in 23f591dba078fee16a and thus should have marked 1923 as applied. The test_cmdline.vim invocation has been moved from test_alot.vim to src/nvim/testdir/Makefile to better accord with the upstream code.
* | | | Merge pull request #5644 from Shougo/vim-7.4.1691James McCoy2016-11-23
|\ \ \ \ | | | | | | | | | | vim-patch:7.4.1691
| * | | | vim-patch:7.4.1691Shougo Matsushita2016-11-24
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When switching to a new buffer and an autocommand applies syntax highlighting an ml_get error may occur. Solution: Check "syn_buf" against the buffer in the window. (Alexander von Buddenbrock, closes vim/vim#676) https://github.com/vim/vim/commit/b681be175b6991cdc2b8ddd49b0e97e3fe2b201e
* | | | Merge pull request #5642 from Shougo/vim-7.4.1660James McCoy2016-11-23
|\ \ \ \ | | | | | | | | | | vim-patch:7.4.1660
| * | | | vim-patch:7.4.1660Shougo Matsushita2016-11-22
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Problem: has('patch-7.4.1') doesn't work. Solution: Fix off-by-one error. (Thinca) https://github.com/vim/vim/commit/819821c5a95fc60797ecbb5e5ca1302e397e3d9a
* | | | Merge pull request #5641 from Shougo/vim-7.4.1696James McCoy2016-11-23
|\ \ \ \ | |_|/ / |/| | | vim-patch:7.4.1696
| * | | vim-patch:7.4.1696Shougo Matsushita2016-11-24
| |/ / | | | | | | | | | | | | | | | | | | | | | Problem: When using :stopinsert in a silent mapping the "INSERT" message isn't cleared. (Coacher) Solution: Always clear the message. (Christian Brabandt, closes vim/vim#718) https://github.com/vim/vim/commit/fd773e9e88add7d1ffef890fb9f3a00d613b4326
* / / vim-patch:7.4.1928 (#5653)Michael Ennen2016-11-23
|/ / | | | | | | | | | | | | | | | | | | Problem: Overwriting pointer argument. Solution: Assign to what it points to. (Dominique Pelle) https://github.com/vim/vim/commit/76ae22fef3cb224ca7fbf97517f881e825d4d0c2 The typos corrected in the original vim patch are no long present in the neovim code base and the pointer assignment was done correctly in the porting of patch 1913 (where the changes were introduced).
* | vim-patch:8.0.0057James McCoy2016-11-20
| | | | | | | | | | | | | | Problem: Tests fail without the 'keymap' features. Solution: Check for feature in test. https://github.com/vim/vim/commit/9376f5f482a4d579436bf364778c2d8ab8e2f22d
* | vim-patch:8.0.0056James McCoy2016-11-20
| | | | | | | | | | | | | | Problem: When setting 'filetype' there is no check for a valid name. Solution: Only allow valid characters in 'filetype', 'syntax' and 'keymap'. https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a
* | Merge pull request #5624 from bfredl/jobclosetermBjörn Linse2016-11-17
|\ \ | | | | | | jobs: ensure calling jobclose() on a pty job sends SIGHUP
| * | jobs: ensure calling jobclose() on a pty job sends SIGHUP. Closes #5619Björn Linse2016-11-17
| | |
* | | l10n: Remove some non-UTF8 .po files. (#5622)Justin M. Keyes2016-11-17
|/ / | | | | | | | | Some .po files do not have UTF8 versions, leave those alone for now. Also remove sjiscorr.c utility.
* | build: cmake: Use portable delimiters. (#5620)Justin M. Keyes2016-11-16
| | | | | | | | Fixes build on Windows (msys2 mingw64). Closes #5342
* | l10n: Update Ukrainian translation (#5567)Anatolii Sakhnik2016-11-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix translation of the term 'tag' Prefer native word instead of transliteration * Update uk.po automatically Run make update-po-uk in src/nvim/po * Update fuzzy translations in uk.po * Translate missing msgstr * Fix layout of the front page * Apply cleanup.vim Additionally, remove irrelevant and confusing comments * Copy uk.po into uk.cp1251.po
* | Merge pull request #5600 from jamessan/vim-7.4.1640James McCoy2016-11-16
|\ \ | | | | | | vim-patch:7.4.1640,7.4.1647,7.4.1650,7.4.1664
| * | lintJames McCoy2016-11-15
| | |
| * | Mark 7.4.1697 as appliedJames McCoy2016-11-15
| | | | | | | | | | | | | | | The patch was merged in 9e1c6596 but version.c didn't get updated accordingly.
| * | vim-patch:7.4.1664James McCoy2016-11-15
| | | | | | | | | | | | | | | | | | | | | Problem: Crash in :cgetexpr. Solution: Check for NULL pointer. (Dominique) Add a test. https://github.com/vim/vim/commit/89c64d557dbe0bacfdd7b2872411b00cc1523d85
| * | vim-patch:7.4.1650James McCoy2016-11-15
| | | | | | | | | | | | | | | | | | | | | Problem: Quickfix test fails. Solution: Accept any number of matches. https://github.com/vim/vim/commit/f68f1d70799631d38461c36cd59d08cf839b010d
| * | vim-patch:7.4.1647James McCoy2016-11-15
| | | | | | | | | | | | | | | | | | | | | Problem: Using freed memory after setqflist() and ":caddbuffer". (Dominique) Solution: Set qf_ptr when adding the first item to the quickfix list. https://github.com/vim/vim/commit/8b20179c657b4266dff115486ca68c6a50324071
| * | Bump all nvim-specific error codes above E5000James McCoy2016-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to not conflict with new error codes that Vim adds, all Neovim error codes should be above 5000. The three existing sub-5000 error codes (E926, E951, and E952) are now E50003, E5004, and E5005 respectively. E953 was removed in 6167ce6df2753d5474ad49aea19f5957128ab015, so just remove it from the help.
| * | vim-patch:7.4.1640James McCoy2016-11-15
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when an autocommand changes a quickfix list. (Dominique) Solution: Check wether an entry is still valid. (Yegappan Lakshmanan, Hirohito Higashi) https://github.com/vim/vim/commit/ffec3c53496d49668669deabc0724ec78e2274fd
* | | Merge pull request #5614 from Shougo/vim-7.4.2251James McCoy2016-11-15
|\ \ \ | |/ / |/| | | | | vim-patch:7.4.2251
| * | vim-patch:7.4.2251Shougo Matsushita2016-11-16
| | | | | | | | | | | | | | | | | | | | | Problem: In rare cases diffing 4 buffers is not enough. Solution: Raise the limit to 8. (closes vim/vim#1000) https://github.com/vim/vim/commit/015efc32c1add6269099364835ddf85ff257b3c6
* | | vim-patch:7.4.1894James McCoy2016-11-15
| | | | | | | | | | | | | | | | | | | | | Problem: Cannot get the window ID for a mouse click. Solution: Add v:mouse_winid. https://github.com/vim/vim/commit/511972d810ea490955161ff5097ec2f57919ceaf
* | | vim-patch:7.4.1892James McCoy2016-11-15
|/ / | | | | | | | | | | | | Problem: balloon eval only gets the window number, not the ID. Solution: Add v:beval_winid. https://github.com/vim/vim/commit/c9721bdc63378cc6123e775ffe43e9cba30322b3
* | Merge pull request #5611 from jamessan/vim-7.4.2174James McCoy2016-11-15
|\ \ | | | | | | vim-patch:7.4.2174
| * | lintJames McCoy2016-11-15
| | |
| * | vim-patch:7.4.2174James McCoy2016-11-15
| | | | | | | | | | | | | | | | | | | | | Problem: Adding duplicate flags to 'whichwrap' leaves commas behind. Solution: Also remove the commas. (Naruhiko Nishino) https://github.com/vim/vim/commit/c8ce615299b4d8c1b2e6cf83496f48cd497d8a37
* | | vim-patch:8.0.0035 (#5609)Shougo2016-11-15
|/ / | | | | | | | | | | | | Problem: Order of matches for 'omnifunc' is messed up. (Danny Su) Solution: Do not set compl_curr_match when called from complete_check(). (closes vim/vim#1168) https://github.com/vim/vim/commit/472e85970ee3a80abd824bef510df12e9cfe9e96
* | Merge #5607 from justinmk/icmJustin M. Keyes2016-11-15
|\ \ | | | | | | 'inccommand': auto-disable if too slow; fix other behaviors
| * | 'inccommand': Introduce CMDPREVIEW state.Justin M. Keyes2016-11-15
| | | | | | | | | | | | | | | | | | | | | Command "live preview" is fundamentally a non-recursive concept ("preview of a preview" is not useful). Maintaining this as a global is less awkward and closer to what we actually want to express, vs adorning exarg_T, CommandLineState, etc.
| * | inccommand=nosplit: Jump to first match.Justin M. Keyes2016-11-15
| | | | | | | | | | | | | | | | | | Call update_topline() to adjust the current viewport. Closes #5597
| * | 'inccommand': Detect "non-interactive", "too slow".Justin M. Keyes2016-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | command_line_changed: - Check (current_SID == 0) instead of KeyTyped - We want to update during mappings (KeyTyped is false then). - Check vpeekc_any() - Avoids unnecessary work. - Avoids triggering live preview during macros. - Caveat: This makes the redraw "stutter" if user spams (holds a key) in the replace pattern. But that scenario is not important. - Update screen if the command is changed to a non-live command. (`s->live` goes from true => false) => clears the preview command_line_execute: - Let CTRL-C cancel live preview do_sub: - Enforce a time limit ('redrawtime'). - Unset 'inccommand' if time limit is reached. Closes #5602 Closes #5585
* | | lintJames McCoy2016-11-14
| | |
* | | vim-patch:7.4.1658James McCoy2016-11-14
|/ / | | | | | | | | | | | | | | Problem: A plugin does not know when VimEnter autocommands were already triggered. Solution: Add the v:vim_did_enter variable. https://github.com/vim/vim/commit/1473551a4457d4920b235eeeb9f279e196ee7225
* | Merge #5582 from justinmk/icmJustin M. Keyes2016-11-12
|\ \ | | | | | | 'inccommand': Support :smagic/:snomagic. Less jumping around.
| * | 'inccommand': Simplify cursor placement logic.Justin M. Keyes2016-11-11
| | | | | | | | | | | | | | | Remove the inner for-loop; just use the column of the first in-line match.
| * | 'inccommand': Restore cursor/view if cancelled.Justin M. Keyes2016-11-10
| | | | | | | | | | | | | | | Restore cursor position and window "view", if command is cancelled. This is how 'incsearch' works.
| * | 'inccommand': buftype=nofile, restore cursor/viewJustin M. Keyes2016-11-10
| | | | | | | | | | | | | | | | | | | | | - Use a standard scratch buffer instead of a new 'buftype', functions like curbufIsChanged() already have special handling for scratch bufs. - Cleanup some stuff from the previous merge. - Add support for :smagic, :snomagic. Closes #5578
* | | vim-patch:7.4.1634 (#5594)James McCoy2016-11-12
| | | | | | | | | | | | | | | | | | | | | Problem: Vertical movement after CTRL-A ends up in the wrong column. (Urtica Dioica) Solution: Set curswant when appropriate. (Hirohito Higashi) https://github.com/vim/vim/commit/8e08125d3a9afd0b16cd84454ae9ddad0abaaab0
* | | vim-patch:7.4.1614 (#5593)James McCoy2016-11-12
| | | | | | | | | | | | | | | | | | Problem: Still quickfix test in old style. Solution: Turn test 10 into a new style test. https://github.com/vim/vim/commit/7eba3d2cbf19e731dc51652bc26099cc253d538a
* | | vim-patch:7.4.1591James McCoy2016-11-11
|/ / | | | | | | | | | | | | Problem: The quickfix title is truncated. Solution: Save the command before it is truncated. (Anton Lindqvist) https://github.com/vim/vim/commit/5584df65a0ca2315d1eebc13c54a448bee4d0758