aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | 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.
* | Merge pull request #2928 from fmoralesc/update-example-nvimrcMichael Reed2015-06-29
|\ \ | |/ |/| | | | | | | [RFC] Update vimrc_example file and remove gvimrc_example file Reviewed-by: Michael Reed <m.reed@mykolab.com> Reviewed-by: Justin M. Keyes <justinkz@gmail.com>
| * Remove gvimrc_exampleFelipe Morales2015-06-29
| |
| * Update vimrc_example fileFelipe Morales2015-06-29
|/ | | | | Because of recent work on defaults (see https://github.com/neovim/neovim/issues/2676)
* doc: Fix undefined reference warningMichael Reed2015-06-28
|
* Fix warnings: shell.c: do_os_system(): Nonnull passed null: FP. #2923Eliseo Martínez2015-06-28
| | | | | | | | | | | | Problem : Argument with 'nonnull' attribute passed null @ 203. Diagnostic : False positive. Rationale : Problem is supposed to appear when argv[0] is NULL within do_os_system. But argv is being generated by shell_build_argv(), which implies argv[0] is the current value for 'shell' option. Now, option has a non-null default ($SHELL or "sh"), and, if set by the user, it can be empty, but not NULL. So, argv[0] can never be NULL. Resolution : Assert shell_build_argv() postcondition.
* plugin/matchit: create stub for matchit.vim #2921Felipe Morales2015-06-28
| | | | | | | Re: compatibility issues with users doing `:so $VIMRUNTIME/macros/matchit.vim` Fixes #2918
* doc: Remove usr_90.txtMichael Reed2015-06-27
| | | | | - It's severely outdated - We already have (up to date) installation instructions on the wiki
* Merge pull request #2904 from Pyrohh/clintMichael Reed2015-06-27
|\ | | | | | | | | [RFC] clint.py stuff Reviewed-by: Florian Walch <florian@fwalch.com>
| * cmake: Make `make lint` less verboseMichael Reed2015-06-27
| | | | | | | | | | It unnecessarily complicates spotting linter errors, as they're usually surrounded by a bunch of lines saying "Done processing ... ".
| * clint.py: don't print `--help` output to stderr and exit 1Michael Reed2015-06-27
|/ | | | | | | | | a) It's not an error b) It requires manual redirection of stderr into stdout ('2>&1') in order to be viewed with a pager, which it warrants given how long the help message is. Helped-by: Florian Walch <florian@fwalch.com>
* man: Bump nvim.1 date, add Makefile for authoringMichael Reed2015-06-26
| | | | | igor(1) checks if the document date is today, so this should prevent forgetting to bump the date in the future.
* event_teardown(): retry uv_loop_close() instead of abort. #2903oni-link2015-06-25
| | | | | | | | | | | | | | | | | | | | | | | abort() causes a bad exit; retry uv_loop_close() instead. Before this change, this ruby script will cause nvim to abort() instead of exiting cleanly: ``` require 'open3' require 'base64' Open3.popen3('nvim --embed -u -NONE') {|stdin, stdout, stderr, wait_thr| # base64-encoded msgpack message for the vim_command "qa!". stdin.write Base64.decode64('kwKrdmltX2NvbW1hbmSRo3FhIQ==') puts wait_thr.value } ``` References ##2663 Closes #2466 Closes #2648 Helped-by: Rui Abreu Ferreira <raf-ep@gmx.com>
* Merge #2703 'Clipboard: do not use &shell to invoke provider + cache owned ↵Justin M. Keyes2015-06-25
|\ | | | | | | clipboard'.
| * clipboard: avoid redundant error message on `clipboard_get` failure .Björn Linse2015-06-25
| | | | | | | | | | | | Fixes #2712 Helped-By: Michael Reed <m.reed@mykolab.com>
| * clipboard: keep track of ownership and cache clipboard data locallyBjörn Linse2015-06-25
| | | | | | | | Helped-By: Justin M. Keyes <justinkz@gmail.com>
| * clipboard: don't use &shell in clipboard providerBjörn Linse2015-06-25
|/
* Remove outdated and unused manuals #2891Michael Reed2015-06-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `nvim-[lang].1`: The non-english manuals are completely outdated and still written in roff, as opposed to mdoc, which is used for `nvim.1`. Given that, they're nearly useless at the moment, and when/if they are updated, they should probably be rewritten from scratch using `nvim.1` as a reference. `xxd*.1`: xxd hasn't been in the source tree for a long time, so the manual is of little use. `nvimtutor*.1`: The vimtutor script hasn't ever shipped with nvim, and the consensus seems to be that it won't, at least in the form of an executable installed alongside `$(PREFIX)/bin/nvim` (see #2700). In `nvim.1`, the argument to the `.Os` macro was removed. This was done because its only purpose was to signify that nvim and nvimtutor were part of the "Neovim" distribution, i.e., one and the same, which isn't applicable anymore because `nvimtutor.1` is being removed. From the `.Os` documentation in `man mdoc`: Os Operating system version for display in the page footer. This is the mandatory third macro of any mdoc file. Its syntax is as follows: .Os [system [version]] The optional system parameter specifies the relevant operating system or environment. It is suggested to leave it unspecified, in which case mandoc(1) uses its -Ios argument or, if that isn't specified either, sysname and release as returned by uname(3). Examples: .Os .Os KTH/CSC/TCS .Os BSD 4.3 See also Dd and Dt. Reviewed-by: Felipe Morales <hel.sheep@gmail.com> Reviewed-by: Florian Walch <florian@fwalch.com> Reviewed-by: Justin M. Keyes <justinkz@gmail.com> [ci skip]
* rplugin: allow users to register hosts #2896Nick Hynes2015-06-25
|
* Enable -Wconversion: menu.c #2885Ismail Badawi2015-06-25
|
* api: vim_set_var() should return the old value #2899Justin M. Keyes2015-06-25
| | | | Closes #2816
* doc: Various #2898Michael Reed2015-06-24
| | | | | | | | | refs #2895 Helped-by: Bohr Shaw <pubohr@gmail.com> Helped-by: Justin M. Keyes <justinkz@gmail.com> [ci skip]
* doc: Revise for flow and consistency #2831alecbrooks2015-06-24
| | | | | | In general, attempt to make things more concise. Reviewed-by: Michael Reed <m.reed@mykolab.com>
* doc: vim_diff: clarify key-chord support. #2886Justin M. Keyes2015-06-24
|
* tests: 061_undo_tree_spec: minor editsJustin M. Keyes2015-06-22
|
* Merge #2851 'tests: Migrate legacy test 61.'.Justin M. Keyes2015-06-22
|\
| * tests: Repeat a flaky part of the migrated test 61.Lucas Hoffmann2015-06-22
| | | | | | | | | | | | This is the part of the test that relies on wall clock time and sometimes fails if the system is under load. The test is repeated up to three times before a failure is reported to the user.
| * tests: Split test 61 into several it() blocks.Lucas Hoffmann2015-06-22
| |
| * tests: Fix an further simplify migrated test 61.Lucas Hoffmann2015-06-22
| | | | | | | | | | | | | | | | :undojoin can only be used inside scripts and command chains. So it has to be tested inside an explicit `source()` call. Also add a new test case for the different behavior when sourceing normal mode commands from a script or inserting them interactively.
| * tests: Don't set ul in migrated test 61.Lucas Hoffmann2015-06-22
| | | | | | | | | | | | | | | | | | | | The legacy test uses `set ul=100` to break the changes into blocks that can be undone separately. This is needed because the legacy test is sourced from a file and changes would be grouped into on undo block by default. The lua test suite does not have this restriction. Also add a new test case to test this effect of using `set ul=100` in a sourced script.
| * tests: Migrate legacy test 61.Lucas Hoffmann2015-06-22
|/ | | | | | | | | | | | | | | | | | This test is real time based as it also tests the `:earlier` and `:later` commands with time arguments (using `:sleep`). This can sometimes case the test to fail on systems that are under heavy load or where the time interval between creating the expected buffer state and the `:earlier` or `:later` command that tries to jump to it changes. To be system independent we use nvim's `:sleep` command and `wait()` for it in the test suit. The legacy vim test writes to test.out a lot with `:.w >>test.out`. This does currently not work in the lua test suite so the test is modernized to use busted's assertions instead of the output file. This test was treated special in the legacy Makefile but after the conversion the related code can be removed.
* spell.c: fix "[s" search. #2813Nathan Wilson2015-06-21
| | | | Closes #2791
* defaults: remove "options" in 'sessionoptions'. #2871Felipe Morales2015-06-21
| | | | Re: https://github.com/neovim/neovim/issues/2676