aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | Merge #2846 'out-of-bounds slicing'Justin M. Keyes2015-07-11
|\ \ \
| * | | test: buffer_spec: fix set_line invocationJustin M. Keyes2015-07-11
| | | | | | | | | | | | | | | | | | | | - pcall result was always false because of wrong arity - also re-arrange tests into it() blocks
| * | | test: api: exercise out-of-bounds line slicingNick Hynes2015-07-11
| | | |
| * | | api: return error when starting a slice out of bounds.Nick Hynes2015-07-11
| | | |
| * | | api: return empty array when slicing out of bounds.Nick Hynes2015-07-11
|/ / /
* | | Merge pull request #2718 from lucc/test62Michael Reed2015-07-10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | [RDY] tests: Migrate legacy test 62. Reviewed-by: Scott Prager <splinterofchaos@gmail.com> Reviewed-by: Justin M. Keyes <justinkz@gmail.com> Reviewed-by: Michael Reed <m.reed@mykolab.com>
| * | | tests: Modernize migrated legacy test 62.Lucas Hoffmann2015-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - use eval() and eq() in many places instead of writing to the buffer - remove has('autocmd') checks and use corresponding code unconditionally as neovim always has the autocmd feature - split the test into several it() blocks Helped-By: Scott Prager <splinterofchaos@gmail.com> Helped-By: Michael Reed <m.reed@mykolab.com>
| * | | tests: Migrate legacy test 62.Lucas Hoffmann2015-07-11
|/ / /
* | / rplugin: Don't error if plugin is registered before host #2961Björn Linse2015-07-10
| |/ |/| | | | | | | This makes it possible to register a lazy loaded host in a plugin/ file. Previously this caused an error on restart after :UpdateRemotePlugins
* | Merge PR #2938 'Travis: Refactor CI files, use container infrastructure'Thiago de Arruda2015-07-08
|\ \
| * | Travis: Check some configuration variables in before_script.Florian Walch2015-07-08
| | |
| * | Travis: Use gcov that matches the used compiler.Florian Walch2015-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes gcov/coveralls warnings like the following: Segmentation fault (core dumped) charset.c.gcno:version '501*', prefer '406*' Out of memory allocating 33061786568 bytes after a total of 2522648 bytes http://stackoverflow.com/a/14676272/249642
| * | Travis: Refactor CI files, use container infrastructure.Florian Walch2015-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Split build steps to utilize the Travis build lifecycle. * Move shell code from `.travis.yml` into Bash files in `.ci/`, one file for each step of the Travis build lifecycle. * Use configuration variables in `.travis.yml` to change build behavior (e.g. build 32-bit with `BUILD_32BIT=ON`). * Keep all configuration in environment variables in `.travis.yml`. In scripts, concatenate environment variables according to configuration to change to different behavior. * Add GCC 5 builds for Linux. * Use Travis's caching feature [1] for third-party dependencies and pip packages. * Allow failures MSan, as the errors it reports have to be fixed first. Valgrind is still disabled, but can be enabled by setting `env: VALGRIND=ON` for a job in `.travis.yml`. [1] http://docs.travis-ci.com/user/caching
| * | CMake: Allow overriding third-party install prefix.Florian Walch2015-07-08
|/ /
* | rbuffer: Fix for problems with escape input sequences.oni-link2015-07-07
| | | | | | | | | | | | | | | | | | | | | | If at least two escape sequences were read, the beginning of the second sequence would be off by one and the sequence would be misinterpreted. An escape sequence could be split in two parts and be misinterpreted, when saved in a ring buffer with wrap around. Fixes #2936
* | os/*defs: restore some comments and formatting.Justin M. Keyes2015-07-06
| |
* | refactor: remove SYS_MENU_FILE (unused)Yamakaky2015-07-06
| |
* | Split os_unix_defs.h into os/Yamakaky2015-07-06
| |
* | vim-patch:7.4.646 #2926Florian Walch2015-07-06
| | | | | | | | | | | | | | Problem: ":bufdo" may start at a deleted buffer. Solution: Find the first not deleted buffer. (Shane Harper) https://github.com/vim/vim/commit/v7-4-646
* | Merge pull request #2932 from lucc/helpers/write_fileMichael Reed2015-07-06
|\ \ | | | | | | | | | | | | | | | [RDY] tests: Add write_file helper function Reviewed-by: Florian Walch <florian@fwalch.com> Reviewed-by: Michael Reed <m.reed@mykolab.com>
| * | tests: Use new write_file() function in tests.Lucas Hoffmann2015-06-30
| | |
| * | tests: Use write_file() in source().Lucas Hoffmann2015-06-30
| | |
| * | tests: Add helpers.write_file() to write short files.Lucas Hoffmann2015-06-30
| | |
* | | Merge pull request #2916 from Pyrohh/doc-cleanup-5Michael Reed2015-07-05
|\ \ \ | | | | | | | | | | | | | | | | | | | | [RFC] Doc cleanup (5) Reviewed-by: Felipe Morales <hel.sheep@gmail.com> Reviewed-by: Justin M. Keyes <justinkz@gmail.com>
| * | | README.md: VariousMichael Reed2015-07-05
| | | | | | | | | | | | | | | | | | | | `:h nvim_terminal_emulator.txt` is much more comprehensive than `:h :terminal`, so link to it instead.
| * | | doc: Remove refs to xsmp, xterm_(clipboard|save)Michael Reed2015-07-05
| | | | | | | | | | | | | | | | | | | | | | | | Nvim has no direct integration with X. Helped-by: Florian Walch <florian@fwalch.com>
| * | | doc: Remove refs to dos(16|32), win16, and win95Michael Reed2015-07-05
|/ / / | | | | | | | | | | | | This is primarily low-hanging fruit; there are still many references to things such as MS-DOS throughout (see os_dos.txt).
* | | Merge #2807 'Travis: Add Clang MSan/TSan builds'.Florian Walch2015-07-05
|\ \ \
| * | | Travis: Temporarily disable TSan build.Florian Walch2015-07-05
| | | | | | | | | | | | | | | | Tests currently time out and will be fixed by @tarruda in a future PR.
| * | | MSan: Initialize buffer in spell_delete_wordlist.Justin M. Keyes2015-07-05
| | | |
| * | | Travis: Disable functional tests and allow failures for MSan.Florian Walch2015-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Functional tests fail with SIGPIPE: disable them until we figure out the exact problem. * MSan reports some warnings: allow failures for the Travis build to allow fixing them in individual follow-up PRs.
| * | | Travis: Use Clang 3.6.Florian Walch2015-07-05
| | | |
| * | | CMake: Enable EXITFREE for all *San.Florian Walch2015-07-05
| | | |
| * | | CMake: Add option for Clang TSan, rename option ASAN -> ASAN_UBSAN.Florian Walch2015-07-05
| | | |
| * | | CMake: Add option for Clang MSan.Florian Walch2015-07-05
|/ / /
* | | Merge pull request #2914 from Pyrohh/doc-cleanup-4Michael Reed2015-07-04
|\ \ \ | | | | | | | | [RDY] Doc cleanup (4) - clipboard docs + various
| * | | Remove VisualNOS highlight group remnantsMichael Reed2015-07-04
| | | | | | | | | | | | | | | | Nvim hasn't ever had X11 integration, so this has was never needed.
| * | | Remove 'guipty' referencesMichael Reed2015-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Presumably due to tarruda's unifdefing, it was already a no-op at the time of nvim's first commit. It's probably better to be clear that it doesn't exist, as opposed to users thinking `:set guipty` is doing something when it isn't.
| * | | doc: Remove gui_x11.txt, merge remnants into nvim_clipboard.txtMichael Reed2015-07-04
|/ / / | | | | | | | | | We've never had an X11 GUI.
* | | clipboard: don't overwrite before pasting in visual mode. #2945Björn Linse2015-07-04
| | | | | | | | | | | | | | | This occured when clipboard=unnamedplus and doing "+p in visual mode. Fixes #2942.
* | | rplugin: pass additional info to host factory function #2920Nick Hynes2015-07-03
| | |
* | | doc: Mention that Python module might be provided by package manager #2935Florian Walch2015-07-01
| | | | | | | | | | | | | | | Using e.g. a Linux distribution's package manager should be preferred over installing the `neovim` Python modules with `pip`.
* | | Merge PR #2650 'Data structure improvements'Thiago de Arruda2015-07-01
|\ \ \ | |/ / |/| |
| * | rbuffer: Reimplement as a ring buffer and decouple from rstreamThiago de Arruda2015-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract the RBuffer class from rstream.c and reimplement it as a ring buffer, a more efficient version that doesn't need to relocate memory. The old rbuffer_read/rbuffer_write interfaces are kept for simple reading/writing, and the RBUFFER_UNTIL_{FULL,EMPTY} macros are introduced to hide wrapping logic when more control is required(such as passing the buffer pointer to a library function that writes directly to the pointer) Also add a basic infrastructure for writing helper C files that are only compiled in the unit test library, and use this to write unit tests for RBuffer which contains some macros that can't be accessed directly by luajit. Helped-by: oni-link <knil.ino@gmail.com> Reviewed-by: oni-link <knil.ino@gmail.com> Reviewed-by: Scott Prager <splinterofchaos@gmail.com> Reviewed-by: Justin M. Keyes <justinkz@gmail.com> Reviewed-by: Michael Reed <m.reed@mykolab.com>
| * | rstream: Fix bug triggered when libuv doesn't use the allocated bufferoni-link2015-07-01
| | | | | | | | | | | | | | | Libuv will return 0 to signal that the buffer allocated by `alloc_cb` wasn't used, and in this case the read_cb should simply be ignored.
| * | klib: Improve klist.hThiago de Arruda2015-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add `kl_shift_at` macro and backing function. This can be used to shift elements at arbitrary positions. `kl_shift` is now defined on top of the new macro. - Change shift/push API, now `kl_push` accepts an object as parameter and `kl_shift` returns the object instead of a status. An assertion against shifting at the end of a list(or empty lists) was added. - Add `kl_iter` and `kl_iter_at` macros. `kl_iter_at` is for starting the iteration at arbitrary positions.
| * | os/fs: Use module-local uv_loop_t instanceThiago de Arruda2015-07-01
| | | | | | | | | | | | | | | | | | This event loop is just a stub instance used in synchronous libuv function calls, it needs to be decoupled from the main event loop in order to run it from another thread.
| * | test: Don't run legacy test 87Thiago de Arruda2015-07-01
| | | | | | | | | | | | | | | The python3 emulation layer doesn't work well enough to run that test. Also add notes to test86/test87 explaining why.
| * | test: Ensure proper initialization in unit/helpers.luaThiago de Arruda2015-07-01
|/ / | | | | | | | | Remove helpers.vim_init and simply perform the required initialization in helpers.lua.
* | ASan: Fix "null pointer passed for argument declared to never be null". #2925Florian Walch2015-06-30
| | | | | | | | | | | | | | | | Arguments passed to xmemdupz() are sometimes NULL, but xmemdupz() has FUNC_ATTR_NONNULL_ALL. Check pointers for NULL before calling xmemdupz(). Resolves #2533.