aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | option: Handle NULL string in set_option_valueZyX2016-06-24
| | | | | |
| * | | | | eval: Also make clear_tv non-recursiveZyX2016-06-24
| | | | | |
| * | | | | kvec,typval_encode: Add new vector: the one with preallocated arrayZyX2016-06-24
| | | | | |
| * | | | | msgpack_rpc: Also make msgpack_from_*/msgpack_to_* functions not recurZyX2016-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes some stack overflows in new test regarding deeply nested variables. Now in place of crashing vim_to_object/msgpack_rpc_from_object/etc it crashes clear_tv with stack overflow.
| * | | | | unittests: Add tests for vim_to_object functionZyX2016-06-24
| | | | | |
| * | | | | api/helpers: Use typval_encode.h for vim_to_objectZyX2016-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ought to prevent stack overflow, but I do not see this actually working: *lua* code crashes with stack overflow when trying to deserialize msgpack from Neovim, Neovim is fine even if nesting level is increased 100x (though test becomes very slow); not sure how recursive function may survive this. So it looks like there are currently only two positive effects: 1. NULL lists are returned as empty (#4596). 2. Functional tests are slightly more fast. Very slightly. Checked for Release build for test/functional/eval tests because benchmarking of debug mode is not very useful.
* | | | | | Merge pull request #4962 from neovim/ZyX-I-patch-1Nikolai Aleksandrovich Pavlov2016-06-25
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | doc: Add missing /site/ path component to &runtimepath description Fixes #4957
| * | | | | doc: Add missing /site/ path component to &runtimepath descriptionNikolai Aleksandrovich Pavlov2016-06-25
|/ / / / /
* | | | | Merge #4865 from ZyX-I/file-buffered-readJustin M. Keyes2016-06-24
|\ \ \ \ \ | |/ / / / |/| | | | Use buffered reading/writing for ShaDa files
| * | | | unittests: Fix testlint errorsZyX2016-06-24
| | | | |
| * | | | os/fileio: Use readv oftenZyX2016-06-24
| | | | |
| * | | | unittests: Fix kFileNoSymlink test on FreeBSDZyX2016-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Actual value on FreeBSD is -31, UV_EMLINK was obtained from /usr/include/asm-generic/errno-base.h (there EMLINK is defined as 31 there). This may actually be something else, but I do not think so as “Too many links” description also fits in. [Man page][1] agrees with me, search for `[EMLINK]` ([linux man page][2] also specifies ELOOP explicitly in a similar section). [1]: https://www.freebsd.org/cgi/man.cgi?query=open&sektion=2 [2]: http://man7.org/linux/man-pages/man3/open.3p.html
| * | | | *: Satisfy linter (newest type casts rule)ZyX2016-06-24
| | | | |
| * | | | unittests: Fix bug somewhere that makes file_read tests SEGVZyX2016-06-24
| | | | |
| * | | | file: Move src/nvim/file.* to src/nvim/os/fileio.*ZyX2016-06-24
| | | | |
| * | | | unittests: Add tests for file.cZyX2016-06-24
| | | | | | | | | | | | | | | | | | | | Also fixes some errors found.
| * | | | unittests: Add os_write testZyX2016-06-23
| | | | | | | | | | | | | | | New os/fs.c functions are now all tested.
| * | | | shada: Do not forget to close ShaDa readerZyX2016-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously there was file descriptor leak, not detected by sanitizers. Now it is file descriptor leak with a small memory leak which is detected by ASAN what fails one of the tests (actually, “ShaDa support code leaves .tmp.z in-place when there is error in original ShaDa and it has .tmp.a … .tmp.x”, but error is reported at the next test because leaks are not detected until Neovim exit and Neovim exit happens when clear()/reset() is called which happens in before_each only).
| * | | | file: Use own constants, do not rely on fcntl.hZyX2016-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One of the reasons is that O_RDONLY is zero, which makes checking whether file is opened read- or write-only harder. It is not guaranteed that on other system O_WRONLY will not be zero (e.g. because file can only be opened in read-write mode).
| * | | | unittests: Add os_close, os_read and os_readv testsZyX2016-06-23
| | | | |
| * | | | file: Add buffered reading and writingZyX2016-06-23
| | | | | | | | | | | | | | | | | | | | Still no busted tests. Not tested without HAVE_PREADV.
| * | | | file,os/fs,shada: Separate opening, closing, writing and reading filesZyX2016-06-23
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moves low-level functions handling to os/fs.c. Adds file.c with a proxy interface. Target: while leaving syscalls handling is os.c (partially handled by libuv), add buffering for reading and writing to file.c.
* | | | Merge pull request #4952 from bfredl/counttestBjörn Linse2016-06-23
|\ \ \ \ | | | | | | | | | | test: fix command_count_spec
| * | | | test: fix command_count_specBjörn Linse2016-06-23
|/ / / / | | | | | | | | | | | | The test hit wait_return if x or .x.swp exists in the project root directory.
* | | | cmake: remove unused includes (#4947)Nicolai Skogheim2016-06-22
| | | |
* | | | Merge pull request #4949 from jamessan/vim-7.4.1592James McCoy2016-06-22
|\ \ \ \ | | | | | | | | | | vim-patch:7.4.1592
| * | | | lintJames McCoy2016-06-22
| | | | |
| * | | | vim-patch:7.4.1592James McCoy2016-06-22
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Problem: Quickfix code using memory after being freed. (Dominique Pelle) Solution: Detect that the window was closed. (Hirohito Higashi) https://github.com/vim/vim/commit/0899d698030ec076eb26352cda1ea334ab0819d9
* | | | Merge #4929 from mhinz/fix-termJustin M. Keyes2016-06-21
|\ \ \ \ | | | | | | | | | | | | | | | Fix #3864 Fix #4820
| * | | | Add tests for new featureMarco Hinz2016-06-20
| | | | |
| * | | | Make existing tests work with new featureMarco Hinz2016-06-20
| | | | |
| * | | | Always resize the embedded vterm properlyMarco Hinz2016-06-20
|/ / / /
* | | | Merge #4933 from ZyX-I/fix-matchparen-specJustin M. Keyes2016-06-20
|\ \ \ \ | | | | | | | | | | Make matchparen_spec.lua fail if matchparen is not available
| * | | | functests: Fix matchparen_spec.luaZyX2016-06-17
| | | | |
* | | | | Merge #4697 'capture() function'.Justin M. Keyes2016-06-20
|\ \ \ \ \
| * | | | | Port capture() functionShougo Matsushita2016-05-27
| | | | | | | | | | | | | | | | | | | | | | | | https://groups.google.com/forum/#!msg/vim_dev/H3Z3ChSUh_4/beZs6KzYdBsJ
* | | | | | Merge #4938 from justinmk/coverityJustin M. Keyes2016-06-18
|\ \ \ \ \ \ | | | | | | | | | | | | | | coverity/149459: CHECKED_RETURN (false positive)
| * | | | | | doc: api_infoJustin M. Keyes2016-06-18
| | | | | | |
| * | | | | | coverity/149459: CHECKED_RETURN (false positive)Justin M. Keyes2016-06-18
|/ / / / / /
* | | | | | Merge #4851Justin M. Keyes2016-06-18
|\ \ \ \ \ \
| * | | | | | test/highlight_spec: Test "gui" arg of synIDattr().Justin M. Keyes2016-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also use less "regular" values for cterm colors.
| * | | | | | synIDattr(): return RRGGBB value for [fg|bg|sp]# #4851Rom Grk2016-06-18
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add tests for synIDattr() with [fg|bg|sp]# add tests for synIDattr and various #RGB colors synIDattr: test for ui_rgb_attached() test: fix tests for synIDattr fg/bg/sp
* | | | | | build: Revert 464bc16.Justin M. Keyes2016-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was more trouble than it is worth: - remove_directory fails if doc/ is not owned by the user - some devs build in-tree, then deleting doc/ breaks the build - `make install` isn't affected by the stale files at all: the tags are built before install-time So, reverting this change means only that devs who use a build/ directory will need to delete build/runtime/doc/ on the occasion that we rename a doc file.
* | | | | | Merge pull request #4925 from bfredl/apiinfoBjörn Linse2016-06-17
|\ \ \ \ \ \ | | | | | | | | | | | | | | eval: add api_info()
| * | | | | | eval: add api_info()Björn Linse2016-06-17
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Previously, the api metadata was only accessible frow within nvim as msgpackparse(systemlist('nvim --api-info'))[0]
* | | | | | Merge #4923 from justinmk/docJustin M. Keyes2016-06-16
|\ \ \ \ \ \ | | | | | | | | | | | | | | doc: cleanup
| * | | | | | build: Purge docs before rebuilding.Justin M. Keyes2016-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a help file is renamed, stale help files in the build workspace will cause duplicate tags (which causes the build to fail). To avoid this, always delete build/runtime/doc/ before building helptags.
| * | | | | | doc: consolidate nvim.txtJustin M. Keyes2016-06-15
| | | | | | |
| * | | | | | doc: uppercase RPCJustin M. Keyes2016-06-15
| | | | | | |
| * | | | | | doc/python: cleanupJustin M. Keyes2016-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move info to providers.txt - Remove "nvim-" prefix. - Brevity, clarity, ...