aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
|
* 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
* defaults: prefix "!" to 'viminfo' by default #2870Felipe Morales2015-06-21
| | | | Re: https://github.com/neovim/neovim/issues/2676
* defaults: set 'tabpagemax' to 50 by default. #2869Felipe Morales2015-06-21
| | | | Re: https://github.com/neovim/neovim/issues/2676
* defaults: set 'display' to "lastline" by default.Felipe Morales2015-06-21
| | | | Re: https://github.com/neovim/neovim/issues/2676
* doc: Fix some typos and trailing whitespace. #2875Lucas Hoffmann2015-06-21
|
* defaults: enable 'hlsearch' by default. #2859Justin M. Keyes2015-06-20
| | | | | | Also update the documentation regarding the option. Re: https://github.com/neovim/neovim/issues/2676
* defaults: enable 'incsearch' by default. #2858Felipe Morales2015-06-20
| | | | | | This also updates the documentation about 'incsearch'. Re: https://github.com/neovim/neovim/issues/2676
* defaults: remove "i" from the default 'complete' #2854Felipe Morales2015-06-20
| | | | | | "i" could slow down the completion. Re: https://github.com/neovim/neovim/issues/2676
* default: enable 'langnoremap'. #2853Felipe Morales2015-06-20
| | | | Re: https://github.com/neovim/neovim/issues/2676
* defaults: set 'mouse' to 'a' by default. #2860Felipe Morales2015-06-20
| | | | | | Re: https://github.com/neovim/neovim/issues/2676 Also, some documentation changes.
* defaults: enable 'autoindent' #2857Felipe Morales2015-06-20
| | | | Re: https://github.com/neovim/neovim/issues/2676
* defaults: enable 'autoread' by default #2856Felipe Morales2015-06-20
| | | | Re: https://github.com/neovim/neovim/issues/2676
* defaults: enable 'smarttab' by default. #2855Felipe Morales2015-06-20
|
* completion: Initialize v:completed_item #2839Shougo Matsushita2015-06-20
| | | | | v:completed_item should always be a dict (not empty string), even before the first completion.
* vim-patch:7.4.575 #2835Felipe Morales2015-06-17
| | | | | | | | | | ``` updated for version 7.4.575 Problem: Unicode character properties are outdated. Solution: Update the tables with the latest version. ``` https://code.google.com/p/vim/source/detail?r=v7-4-575