aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* tests: Migrate legacy test 80. #2989Lucas Hoffmann2015-07-21
| | | | | | | | | | | | | | | | | | The test is also split in several blocks and heavily modernized. This was done to prevent the following quoting and escaping problems during migration: - the vim command `put =...` treats double quotes as the start of a comment so they have to be escaped with a backslash - when inserting control characters on the command line they have to be escaped with <C-V> The parts one and two of the test are functional identical so they are wrapped in a local function. The only difference was which letters where used to test the same feature. Part six did test a flag in 'cpoptions' that has been removed in neovim. It has therefore been removed as well. Reviewed-by: Michael Reed <Pyrohh@users.noreply.github.com>
* tui: Unconditionally enable bracketed paste mode #3060crondog2015-07-21
| | | | | | | | | There are more terminals which have bracketed paste support and it doesnt seem to do any harm with terminals that dont support it eg screen Reviewed-by: Marco Hinz <mh.codebro@gmail.com> Reviewed-by: Michael Reed <Pyrohh@users.noreply.github.com> "+1 Let's see what happens" Justin M. Keyes <justinkz@gmail.com>
* eval.c: Only inline float_op_wrapper on non-i386 #3072Wander Nauta2015-07-21
| | | | | | | | | glibc on i386 seems to have an optimization that makes it harder to call some math functions indirectly from inside an inlined function, causing compile-time errors with some versions of gcc. This removes inlining on that platform. Closes #3071
* Uncomment merged patches in version.cMarco Hinz2015-07-21
| | | | | | 7.4.774 -> https://github.com/neovim/neovim/pull/2563 7.4.775 -> https://github.com/neovim/neovim/pull/2564 7.4.784 -> https://github.com/neovim/neovim/pull/2792
* rstream: Fix read_cb invocationThiago de Arruda2015-07-21
| | | | | | - Add missing call when the stream is a file - NULL check because it is possible to call rstream_start with the callback set to NULL.
* Doc: add bracketed-paste-mode #3028Marco Hinz2015-07-21
| | | | | | Reviewed-by: Felipe Morales <hel.sheep@gmail.com> Reviewed-by: Justin M. Keyes <justinkz@gmail.com> Reviewed-by: Michael Reed <Pyrohh@users.noreply.github.com>
* Remove ':Print' command #3049Michael Reed2015-07-20
| | | | | | | | | | | | | | There's no way this isn't some long-running joke: "Just as ':print'. Was apparently added to Vi for people that keep the shift key pressed too long..." Note: A user command can overrule this command. Regarding ':X': the command has been removed for a while, but the documentation must have been missed, so remove it here. Reviewed-by: Justin M. Keyes <justinkz@gmail.com> Helped-by: @jusga
* Merge #3014 'clipboard: handle middle-click paste correctly.'.Justin M. Keyes2015-07-20
|\
| * clipboard: add tests for error fallback and middleclick pasteBjörn Linse2015-07-20
| |
| * clipboard: handle middle-click paste correctly.Björn Linse2015-07-20
|/ | | | | Also handle clipboard errors more like vim: paste from unnamed register if clipboard provider fails.
* Merge #3056 'Test: fix functional/ex_cmds/recover_spec.lua'.Justin M. Keyes2015-07-20
|\
| * Test: fix functional/ex_cmds/recover_spec.luaMarco Hinz2015-07-20
| | | | | | | | | | | | | | | | | | os.remove() wasn't removing the temporary swap directory which leads to problems when the test is run a second time. That's also the reason why the CI never caught this. os.remove() got replaced by helpers.rmdir().
| * Test: add new helper function: rmdir()Marco Hinz2015-07-20
|/ | | | | | | | | - lfs.rmdir() only removes empty directories - os.remove() supercedes lfs.rmdir(); removes files and empty directories - helpers.rmdir() first removes all files within a directory, then the directory itself
* Source provider at start if &cb is set #3025Marco Hinz2015-07-20
| | | | | | | | | | | | | The main problem is that <c-c> is a default mapping but also sets got_int. Because of the former, normal_cmd() is kicked off which eventually leads to sourcing the clipboard provider. But due to the latter, do_source() throws an error, because got_int is set. This is a temporary workaround and sources the clipboard provider before main_loop(), if &clipboard is set. References #3023.
* defaults: set 'history' to 10000 by default. #2868Felipe Morales2015-07-20
| | | | | | Note: the new history value is the max allowed. Re: https://github.com/neovim/neovim/issues/2676
* Merge pull request #2943 from Pyrohh/rm-posixMichael Reed2015-07-19
|\ | | | | | | | | | | [RDY] Remove POSIX 'cpoptions' Reviewed-by: Felipe Morales <hel.sheep@gmail.com> Reviewed-by: Marco Hinz <mh.codebro@gmail.com>
| * Remove POSIX 'cpoptions': cleanupMichael Reed2015-07-19
| | | | | | | | | | | | - CPO_ALL and CPO_VI are identical, so merge them - No longer check for the environment variable 'VIM_POSIX' - In vim_diff.txt, mention the removal of 'cpoptions' flags
| * Remove POSIX 'cpoptions': '\'Michael Reed2015-07-19
| |
| * Remove POSIX 'cpoptions': '.'Michael Reed2015-07-19
| |
| * Remove POSIX 'cpoptions': '/'Michael Reed2015-07-19
| |
| * Remove POSIX 'cpoptions': '&'Michael Reed2015-07-19
| |
| * Remove POSIX 'cpoptions': '|'Michael Reed2015-07-19
| | | | | | | | | | It wasn't even hooked up to anything... must have been removed when term.c was replaced.
| * Remove POSIX 'cpoptions': '{'Michael Reed2015-07-19
| |
| * Remove POSIX 'cpoptions': '#'Michael Reed2015-07-19
|/
* Implement API function to call functions #2979Sebastian Witte2015-07-19
| | | | | Remove static modifier from func_call Move MAX_FUNC_ARGS definnition from eval.c to eval.h
* runtime/syntax/vim.vim: Update to version 7.4-33Felipe Morales2015-07-19
|
* runtime/syntax/vim.vim: UpdateMichael Reed2015-07-19
| | | | | | | | | | | | Added: TermOpen autocmd Added: terminal mode (un)map commands Options and commands not available in neovim ('cp' and variants, termcap options, :shell, :fixdel) are highlighted as errors. Previously deleted entries were restored. Co-authored-by: Felipe Morales <hel.sheep@gmail.com>
* Merge pull request #2719 from lucc/test57Michael Reed2015-07-18
|\ | | | | [RDY] tests: Migrate legacy test 57.
| * tests: Split migrated test 57.Lucas Hoffmann2015-07-19
| |
| * tests: Migrate legacy test 57.Lucas Hoffmann2015-07-19
|/
* tests: Remove migrated legacy tests from makefile. #3009Lucas Hoffmann2015-07-18
| | | | | | | | | | | | | | Remove legacy tests from the old makefile that were forgotten after the test migration. The tests are: - test 26 migrated in da3ade6a593197e475f2e1c49eaf5dc346a0367c merged in #1420 - test 27 migrated in ac52d84f166b58d2ac06a6ff5a557fd2e5ca2c76 merged in #1328 - test 43 migrated in c9159586b87168c0725524165f33607ebb83efd7 merged in #1420 - test 46 migrated in 5ea94e14f0be69d293a8479d2140b196fb06c313 merged in #1328 - test 63 migrated in a040aa95c161adf47b5088b0b4ba6afc64e796aa merged in #1930 Additionally the tests 71 and 72 where removed in 85338fe1d5a56f82546e16c305c2048c081771e0 together with the +cryptv feature.
* python3: remove decoding logic, as this is now done in plugin host #3026Björn Linse2015-07-18
| | | | | DecodeHook isn't needed since neovim/python-client#53 rpc methods won't pass bytes anymore, ref neovim/python-client#129
* vim-patch:7.4.667 #3043Marco Hinz2015-07-18
| | | | | | | | | | | | Problem: 'colorcolumn' isn't drawn in a closed fold while 'cursorcolumn' is. (Carlos Pita) Solution: Make it consistent. (Christian Brabandt) Original patch: https://github.com/vim/vim/commit/v7-4-667 Discussion: https://groups.google.com/forum/#!topic/vim_dev/Lidb7s4xn3Q
* Merge #2964 'deps: update busted: 2.0 rc8 -> rc10'.Justin M. Keyes2015-07-18
|\
| * deps: Don't pin dependenciesMichael Reed2015-07-18
| | | | | | | | | | | | | | | | This effectively reverts 585e5d32a3402bffa971ae8124fc64004ab92e61 The pinning was done at a time when `lua_cliargs` caused test failures, so an older version which didn't was pinned. We're now using the latest version (2.5-1), so the cause of those failures were presumably fixed.
| * deps: Update busted: 2.0 rc8 -> 2.0 rc10Michael Reed2015-07-18
|/ | | | | | | | | This removes the dependency on ansicolors, see [1]: See [2] for a changelog between the two versions. [1]: https://github.com/Olivine-Labs/busted/pull/373 [2]: https://github.com/Olivine-Labs/busted/compare/v2.0.rc8-0...a6233a277da4e118f663606d54da8df88a27c076
* Merge #3005 'synIDattr(): true color awareness'Marco Hinz2015-07-18
|\
| * Test: synIDattr(): true color awarenessMarco Hinz2015-07-18
| |
| * synIDattr(): true color awarenessMarco Hinz2015-07-18
|/ | | | | | | | In Vim, which doesn't true colors, synIDattr('Foo', 'fg') returns either ctermfg or guifg depending on whether vim or gvim is running. True colors naturally use GUI colors, so synIDattr() has to be adapted to return guifg, if a TUI with enabled true colors is used.
* eval: Fix duplicate code in trig/math functions #3035Wander Nauta2015-07-18
| | | | | | | | | | The same error checking/recovery code was duplicated among the f_acos, f_asin, f_atan, f_ceil, f_cos, f_cosh, f_exp, f_floor, f_log, f_log10, f_round, f_sin, f_sinh, f_sqrt, f_tan, f_tanh and f_trunc functions. This commit moves that code into a wrapper function. `trunc` is not in C90, but it is in C99, which is what neovim targets, so we use it here.
* Merge #2609 'Macro cleanup'Justin M. Keyes2015-07-17
|\
| * Macro cleanup: FEAT_SHORTCUT, replace with WIN32Hettomei2015-07-17
| |
| * Macro cleanup: FEAT_BEVAL_TIPHettomei2015-07-17
| |
| * Macro cleanup: FEAT_GUI_MSWINHettomei2015-07-17
| |
| * Macro cleanup: FEAT_GUI_MACHettomei2015-07-17
| |
| * Macro cleanup: FEAT_GUI_X11Hettomei2015-07-17
| |
| * Macro cleanup: FEAT_GUI_GTKHettomei2015-07-17
| |
| * Macro cleanup: FEAT_TOOLBARHettomei2015-07-17
| |
| * Macro cleanup: FEAT_BEVALHettomei2015-07-17
| |
| * Macro cleanup: USE_FILE_CHOOSERHettomei2015-07-17
| |