aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add tests for focus eventsJoe Hermaszewski2015-11-17
|
* Implement handling of terminal focus eventsJoe Hermaszewski2015-11-17
| | | | | | | | | | | | | | | | | | | | Two new keys have been added to key_name_entry in keymap.c: `FocusGained` and `FocusLost`. Two cases have been added to the key handing switch in edit.c each applying their respective autocmds. In normal.c two functions have been added alongside nv_cursorhold doing a similar job of applying the autocmd for the appropriate key. tui/input.c has a new function `handle_focus_event` which eats either of the control sequences for focus gained or lost. This function is checked before handle_bracketed_paste and handle_forced_escape. tui.c registers neovim as able to receive these control sequences in terminfo_start and undoes that in terminfo_stop. Closes #2302
* Merge pull request #3680 from jszakmeister/fix-ordering-oldfiles-specJohn Szakmeister2015-11-16
|\ | | | | Workaround the unstable ordering of v:oldfiles in some more tests.
| * Workaround the unstable ordering of v:oldfiles in some more tests.John Szakmeister2015-11-16
|/ | | | | | Fixes #3676. Reviewed-by: Marco Hinz <mh.codebro@gmail.com>
* Merge pull request #3678 from Pyrohh/ex_niMichael Reed2015-11-15
|\ | | | | [RFC] ex_cmds.lua: Use ex_ni directly
| * ex_cmds.lua: Use ex_ni directlyMichael Reed2015-11-15
|/ | | | | | | | | | | | | | | | As can be seen in [1], the ifdefs are leftovers from Vim, where tons of features are optional. This is not the case in Nvim, so the macros are of little use. Besides, ex_ni is already used in a bunch of places, just not consistently. The ex_language macro was left untouched as the inclusion of ``:language'' actually is determined at compile time, unlike the other commands which _always_ print "this command is not available in this version". [1]: https://github.com/vim/vim/blob/master/src/ex_docmd.c#L18-L497 Reviewed-by: Justin M. Keyes <justinkz@gmail.com>
* Merge pull request #3339 from war1025/dev/clean_build_stl_str_hlJustin M. Keyes2015-11-15
|\ | | | | Clean up buffer.c build_stl_str_hl
| * Cleanup from reviewWayne Rowcliffe2015-11-11
| |
| * Switch comments to match style guideWayne Rowcliffe2015-11-11
| |
| * Updates from reviewWayne Rowcliffe2015-11-11
| |
| * Start adding unit testsWayne Rowcliffe2015-11-11
| |
| * Fix shadowed variable in build_stl_str_hlWayne Rowcliffe2015-11-11
| |
| * Add documentation about what TABPAGENR and TABCLOSENR doWayne Rowcliffe2015-11-11
| |
| * Fix lintWayne Rowcliffe2015-11-11
| |
| * Add out_end_p to mark last valid character in statusline bufferWayne Rowcliffe2015-11-11
| |
| * Rename build_stl_str_hl input and output buffer pointersWayne Rowcliffe2015-11-11
| |
| * Add comments to build_stl_str_hlWayne Rowcliffe2015-11-11
| |
| * Clean up buffer.c build_stl_str_hl variable declarationsWayne Rowcliffe2015-11-11
| |
* | Merge pull request #3672 from Pyrohh/macro-cleanupMichael Reed2015-11-15
|\ \ | | | | | | [RFC] Remove unused TERMINAL_OPTIONS_INIT() macro
| * | Remove unused TERMINAL_OPTIONS_INIT() macroMichael Reed2015-11-14
| | | | | | | | | | | | It's not used after aa9cb48
* | | Merge PR #3653 'Add TermClose event'Marco Hinz2015-11-15
|\ \ \ | |/ / |/| |
| * | Test: add functional/autocmd/termclose_spec.luaMarco Hinz2015-11-15
| | |
| * | Add TermClose eventMarco Hinz2015-11-15
| | | | | | | | | | | | | | | | | | | | | | | | A terminal buffer now exits with: [Process exited <return value>] You can hook into it. E.g. :au TermClose * call feedkeys('<cr>') Closes #2293.
| * | TermEnter -> TermOpenMarco Hinz2015-11-15
|/ /
* | Merge pull request #3671 from kyrias/vim_diff-typoMichael Reed2015-11-14
|\ \ | | | | | | vim_diff: Fix incorrect ShaDa path
| * | vim_diff: Fix incorrect ShaDa pathJohannes Löthberg2015-11-14
|/ / | | | | | | Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* | Merge pull request #3630 from oni-link/fix.issue.3588Justin M. Keyes2015-11-13
|\ \ | | | | | | normal.c: No garbage collection while handling an event in normal mode
| * | memory.c: Prevent garbage collection when running out of memory.oni-link2015-11-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running out of memory, garbage collection would free lists and dictionaries that are not yet referenced. This would later on lead to a use-after-free for these objects. Releated to vim-patch:7.4.916, so also updating version.c. Patch by @ZyX-I
| * | normal.c: No garbage collection while handling an event in normal modeoni-link2015-11-13
| | | | | | | | | | | | | | | | | | Patch by @tarruda Fixes #3588
* | | Doc: minor fix for ":ls u"Bohr Shaw2015-11-12
|/ / | | | | | | | | | | This fixes a typo that was already contained in the original Vim patch: https://github.com/vim/vim/commit/d51cb706a4e3ae99555bc214a64c83603c701139
* | Merge pull request #3663 from ming-codes/patch-1Justin M. Keyes2015-11-12
|\ \ | |/ |/| Update backer URL
| * Update backer URLMing Liu2015-11-11
|/
* Merge pull request #3651 from mhinz/remove-nvimrc-refsJustin M. Keyes2015-11-11
|\ | | | | Remove all invalid nvimrc references
| * Remove all invalid nvimrc and ngvimrc referencesMarco Hinz2015-11-11
| | | | | | | | | | | | | | | | | | | | "vimrc" refers to all files that are used to configure Neovim. The main configuration file is init.vim nowadays. All nvimrc references that are left refer to a local ".nvimrc" which is read if 'exrc' is set. ".ngvimrc" references were completely wiped. Closes #3552.
* | vim-patch:7.4.791 #3078Marco Hinz2015-11-11
| | | | | | | | | | | | | | | | Problem: The buffer list can be very long. Solution: Add an argument to ":ls" to specify the type of buffer to list. (Marcin Szamotulski) https://github.com/vim/vim/commit/d51cb706a4e3ae99555bc214a64c83603c701139
* | Merge pull request #3652 from Pyrohh/rm-os-macMichael Reed2015-11-11
|\ \ | | | | | | [RDY] Remove os_mac.txt
| * | doc: Nuke os_mac.txtMichael Reed2015-11-11
| | | | | | | | | | | | | | | | | | Pretty much all of this stuff is outdated. Reviewed-by: @justinmk
* | | Merge pull request #3641 from Pyrohh/X11Michael Reed2015-11-11
|\ \ \ | |_|/ |/| | | | | | | | [RFC] Be more explicit about the lack of X11 integration Reviewed-by: @justinmk
| * | Be more explicit about the lack of X11 integrationMichael Reed2015-11-10
| |/ | | | | | | | | I don't want anyone getting the idea that the `-X` flag they might have used has anything to do with why the `+` is working for them
* / Test: improve functional/ex_cmds/oldfiles_spec.luaMarco Hinz2015-11-11
|/ | | | | | | | | | - change approach for test 1: screen:expect() instead of assert() - use execute() instead of command() - 2 new tests that check none and wrong input for :oldfiles! Helped-by: @fwalch Helped-by: @tarruda Helper-by: @justinmk
* vim-patch:7.4.651 #3644Shougo Matsushita2015-11-10
| | | | | | | | Problem: Can't match "%>80v" properly for multi-byte characters. Solution: Multiply the character number by the maximum number of bytes in a character. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/4f36dc3bf7118a3fa5ccdae1a37963860dc71e6c
* Merge pull request #3643 from jszakmeister/enable-verbose-buildsJohn Szakmeister2015-11-10
|\ | | | | third-party: enable verbose builds of luajit and libuv
| * third-party: enable verbose builds of luajit and libuvJohn Szakmeister2015-11-10
|/ | | | | | Libuv and LuaJIT like to hide the actual compilation and linking commands behind nice text. This change makes them spit out the actual command line to help us with debugging issues that people are seeing.
* Merge PR #3611 'Add file selection prompt on ":oldfiles!"'Marco Hinz2015-11-10
|\
| * Add file selection prompt on ":oldfiles!"Marco Hinz2015-11-10
| | | | | | | | | | | | | | | | :browse was removed for good, but some people miss ":browse oldfiles". The same functionality is now provided by ":oldfiles!". Helped-by: @Pyrohh
| * Add tests for :oldfilesMarco Hinz2015-11-10
|/
* Merge PR #2427 'Add ":profile dump" and ":profile stop"'Marco Hinz2015-11-10
|\
| * Add ":profile stop"Marco Hinz2015-11-10
| | | | | | | | This writes the logfile and stops profiling.
| * Add ":profile dump"Marco Hinz2015-11-10
| | | | | | | | | | Currently the logfile (":profile start {logfile}") only gets written when Vim exits. This new command allows to dump the log immediately without exiting.
| * Add test/functional/ex_cmds/profile_spec.luaMarco Hinz2015-11-10
| | | | | | | | | | | | | | This adds two new tests for: :profile dump :profile stop