aboutsummaryrefslogtreecommitdiff
path: root/src/nvim
Commit message (Collapse)AuthorAge
* lintJames McCoy2016-12-07
|
* vim-patch:8d8aa0aJames McCoy2016-12-07
| | | | | | Add missing test file. https://github.com/vim/vim/commit/8d8aa0a367380f23f0af428fcb66a1a0615bf872
* vim-patch:7.4.1751James McCoy2016-12-07
| | | | | | | Problem: Crash when 'tagstack' is off. (Dominique Pelle) Solution: Fix it. (Hirohito Higashi) https://github.com/vim/vim/commit/def5abe0a2727041ecee69afdccfca405333bd24
* mbyte: clean up charset.c for assumed encoding=utf-8Björn Linse2016-12-07
|
* vim-patch:7.4.1708James McCoy2016-12-06
| | | | | | | | | | | Problem: New regexp engine does not work properly with EBCDIC. Solution: Define equivalence class characters. (Owen Leibman) https://github.com/vim/vim/commit/2a6fa564a3b5061c14ff63b8b0f12801df0b0ac2 Although nvim doesn't support EBCDIC systems, this keeps us inline with upstream code so its easier to merge future patches in this area and improves the readability of the code.
* Merge pull request #5707 from jamessan/moar-cleaningJames McCoy2016-12-03
|\ | | | | build: Make clean targets more thorough
| * build: Make clean targets more thoroughJames McCoy2016-12-02
| |
* | vim-patch:8.0.0110 (#5700)Justin M. Keyes2016-12-03
| | | | | | | | | | | | | | | | Closes #5616 Problem: Drop command doesn't use existing window. Solution: Check the window width properly. (Hirohito Higashi) https://github.com/vim/vim/commit/5a030a540f4157d5c9905e3564282c92b4dcec9a
* | lintJames McCoy2016-12-02
| |
* | vim-patch:f9660b5James McCoy2016-12-02
| | | | | | | | | | | | Add missing test file. https://github.com/vim/vim/commit/f9660b59b2bdaa3ec2e7b31ab52186ad8b99f047
* | vim-patch:7.4.1748James McCoy2016-12-02
|/ | | | | | | | Problem: "gD" does not find match in first column of first line. (Gary Johnson) Solution: Accept match at the cursor. https://github.com/vim/vim/commit/1538fc34fae3fae39773ca43f6ff52401fce61d8
* Merge pull request #5675 from brcolow/vim-7.4.1738James McCoy2016-12-01
|\ | | | | vim-patch:7.4.17[35,38,39]
| * vim-patch:7.4.1739Michael Ennen2016-12-01
| | | | | | | | | | | | | | | | Problem: Messages test fails on MS-Windows. Solution: Adjust the asserts. Skip the "messages maintainer" line if not showing all messages https://github.com/vim/vim/commit/bea1ede1c59a11ca5bf9d91cd30b7b2937b9fb41
| * vim-patch:7.4.1738Michael Ennen2016-11-29
| | | | | | | | | | | | | | Problem: Count for ":messages" depends on number of lines. Solution: Add ADDR_OTHER address type. https://github.com/vim/vim/commit/5d91646599a7b74310845e30a2a52ff197dc0ed7
| * vim-patch:7.4.1735Michael Ennen2016-11-29
| | | | | | | | | | | | | | | | | | Problem: It is not possible to only see part of the message history. It is not possible to clear messages. Solution: Add a count to ":messages" and a clear argument. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
* | vim-patch:7.4.1702Michael Ennen2016-12-01
| | | | | | | | | | | | | | | | Problem: Using freed memory when parsing 'printoptions' fails. Solution: Save the old options and restore them in case of an error. (Dominique) https://github.com/vim/vim/commit/4afc7c5d4a73340831077a02bfe1f74935e7f4a1
* | Merge pull request #5674 from brcolow/vim-7.4.1723James McCoy2016-12-01
|\ \ | | | | | | vim-patch:7.4.1723
| * | vim-patch:7.4.1723Michael Ennen2016-11-26
| | | | | | | | | | | | | | | | | | | | | | | | Problem: When using try/catch in 'tabline' it is still considered an error and the tabline will be disabled. Solution: Check did_emsg instead of called_emsg. (haya14busa, closes #746) https://github.com/vim/vim/commit/f73d3bc253fa79ad220f52f04b93e782e95a9d43
* | | Merge pull request #5665 from brcolow/vim-7.4.1711James McCoy2016-12-01
|\ \ \ | | | | | | | | | | | | vim-patch:7.4.1711
| * | | vim-patch:7.4.1711Michael Ennen2016-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When using try/catch in 'statusline' it is still considered an error and the status line will be disabled. Solution: Check did_emsg instead of called_emsg. (haya14busa, closes vim/vim#729) https://github.com/vim/vim/commit/a742e084b677f76c67e9e52c4f9fb9ab24002e20
* | | | Add v:exitingMarco Hinz2016-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Contains the exit value nvim will use. Before exiting, it is v:null. That way jobs or autocmds (in VimLeavePre or VimLeave) can check if Neovim is about to quit and with what exit value. Closes #4666.
* | | | Merge pull request #5664 from brcolow/vim-7.4.1707James McCoy2016-12-01
|\ \ \ \ | | | | | | | | | | vim-patch:7.4.1707
| * | | | vim-patch:7.4.1707Michael Ennen2016-11-25
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use empty dictionary key, even though it can be useful. Solution: Allow using an empty dictionary key. https://github.com/vim/vim/commit/0921ecff1c5a74541bad6c073e8ade32247403d8
* | | | Merge pull request #5669 from chemzqm/add-cmdline-mode-rpcBjörn Linse2016-12-01
|\ \ \ \ | | | | | | | | | | Add cmdline mode to ui_mode_change
| * | | | add cmdline mode to modechange of RPC and testschemzqm2016-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use set_cursor_shape_bar for cmdline mode fix test of screen_basic_spec.lua & screen.lua comment fix
* | | | | Merge pull request #5662 from brcolow/vim-7.4.1701James McCoy2016-12-01
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:7.4.1701
| * | | | | vim-patch:7.4.1701Michael Ennen2016-11-24
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Equivalence classes still tested in old style tests. Solution: Remove the duplicate. https://github.com/vim/vim/commit/f9f22dbe4f90673ecce601a9dee4bb750ce3cd8f
* | | | | Merge pull request #5648 from brcolow/vim-7.4.2071James McCoy2016-11-30
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:7.4.2071
| * | | | | vim-patch:7.4.2071Michael Ennen2016-11-29
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The return value of type() is difficult to use. Solution: Define v:t_ constants. (Ken Takata) https://github.com/vim/vim/commit/f562e72df726c6191fa305e1c0a113f1cfb87f76
* | | | | version.c: mark NA patches (#5657)Shougo2016-11-29
| | | | | | | | | | | | | | | | | | | | 1710: external command 2311: Appveyor
* | | | | Merge #5643 from Shougo/vim-7.4.1686Justin M. Keyes2016-11-29
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:7.4.1686, 7.4.2007
| * | | | | vim-patch:7.4.2007Shougo Matsushita2016-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Running the tests leaves a viminfo file behind. Solution: Make the viminfo option empty. https://github.com/vim/vim/commit/fc4ad616073a169badfb2b9906fee2844f76f730
| * | | | | vim-patch:7.4.1686Shougo Matsushita2016-11-22
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When running tests $HOME/.viminfo is written. (James McCoy) Solution: Add 'nviminfo' to the 'viminfo' option. (closes vim/vim#722) https://github.com/vim/vim/commit/e9c07270031e312082604d3505650f185aa65948
* | | | | vim-patch:7.4.1699 (#5660)Michael Ennen2016-11-29
| |/ / / |/| | | | | | | | | | | | | | | | | | | Problem: :packadd does not work the same when used early or late. Solution: Always load plugins matching "plugin/**/*.vim". https://github.com/vim/vim/commit/71fb0c146bef08dc276fc5793bd47366e6e0f32a
* | | | msgpack_rpc: Allocate empty string in msgpack_rpc_to_objectJames McCoy2016-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | STR_CASE previously used a NULL data pointer for the String object, but this pushes the NULL checks to the rest of the code. Instead, allocating an empty string solves the same issue of there not being any data but ensures that we're not passing NULL to functions that don't expect it. Closes #5627
* | | | rbuffer: Use xcalloc to ensure memory is initializedJames McCoy2016-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the rbuffer contents are used by string functions (like sscan, strlen, etc.), it is not safe to use uninitialized memory. Using xcalloc ensures the string-based functions do not run past the end of the buffer. Closes #5676
* | | | startup: Initialize v:count1 (#5656)Marco Hinz2016-11-28
| |_|/ |/| | | | | | | | | | | | | | | | | | | | The man plugin uses `v:count == v:count1` to detect if a count was explicitly given. Unfortunately v:count1 does _not_ default to 1 but 0 during startup. Now we set v:count1 to 1 early. Fixes https://github.com/neovim/neovim/issues/5655
* | | shell_write_cb: Schedule error message. (#5670)Justin M. Keyes2016-11-26
| |/ |/| | | Closes #5558
* | 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