aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* tests/legacy: convert test 63 (`:match` and `matchadd()` )Björn Linse2015-03-19
|
* tests/ui: test hlsearch and incsearchBjörn Linse2015-03-19
|
* tests: update legacy Makefile #2186Justin M. Keyes2015-03-19
| | | | Many tests were migrated, but entries were left in the old Makefile.
* Merge PR #2182 'Improve ui/busy handling and early input reading'Thiago de Arruda2015-03-18
|\
| * main: Simplify code that deals with early user inputThiago de Arruda2015-03-18
| | | | | | | | | | | | | | | | | | A read stream will be started before the first ex command is processed. This stream will be used to read early user input before handling control over to the UI module. Which stdio stream will be used depends on which types of file descriptors are connected, and whether the "-" argument was passed.
| * ui: Refactor so that busy state won't be the defaultThiago de Arruda2015-03-18
|/ | | | | | | | | | | Even though assuming nvim is busy most times is simpler, it has a problem: A lot of unnecessary busy_start/busy_stop notifications are sent to the UI. That's because in the majority of scenarios almost no time is spent between `event_poll` calls. This restores the normal behavior which is to call busy_start only when nvim is going to perform some task that can take a significant amount of time. Also improve the usage of buffering in the TUI when changing the cursor state.
* tui.c: Send fewer cursor-hide commands to the terminal.oni-link2015-03-18
| | | | | | | | | | | | | | | | | | | Since #2158 all connected UIs are informed about the busy state of nvim. This can be used to decide whether to hide or show the cursor (in one place). In the TUI, this is tui_flush(). To prevent cursor flashing, the terminal is always redrawn with an invisible cursor. After that the cursor is shown if necessary. In the current implementation a cursor-hide command will always be the first command in the next redraw, to prevent flashing. This is not necessary. Instead we start the TUI with a hidden cursor and only need to hide the cursor in the next redraw, if the cursor was shown in the last redraw. Otherwise the cursor is still hidden. So instead of sending every redraw the cursor-hide command, we only need to send the command while not busy(a state in nvim with low frequency).
* Remove platform dependent HAVE_OPENDIR #2010Jonas Dourado2015-03-17
|
* contrib: fix YCM completion for header files #2151bobtwinkles2015-03-16
| | | | [ci skip]
* travis: Configure to notify gitter chat roomThiago de Arruda2015-03-17
|
* main: Start stdin before sourcing startup scriptsThiago de Arruda2015-03-17
| | | | | This is required to be compatible with plugins that ask user questions at startup(eg: vim-addon-local-vimrc)
* Merge pull request #2166 from Pyrohh/build-improvementsJohn Szakmeister2015-03-17
|\ | | | | build: Added local.mk.example
| * contrib: Added local.mk.exampleMichael Reed2015-03-17
|/ | | | [ci skip]
* Merge #2157 'Minor cleanups'Justin M. Keyes2015-03-16
|\
| * Reuse f_browse function from f_browsedirAnton Ovchinnikov2015-03-16
| | | | | | | | The bodies of f_browse() and f_browsedir() were identical.
| * Remove unnecessary 'free'Anton Ovchinnikov2015-03-16
| | | | | | | | from_noamp is always NULL in this branch
| * Clarify an out-of-memory cleanup, remove a function-wide loop counterAnton Ovchinnikov2015-03-16
| |
| * Remove redundant parenthesesAnton Ovchinnikov2015-03-16
| |
| * Merge consecutive identical 'if' statementsAnton Ovchinnikov2015-03-16
| |
| * Remove always-true expressionsAnton Ovchinnikov2015-03-16
|/
* scripts/vim-patch.sh: Misc. improvements #2108Michael Reed2015-03-16
| | | | | | | | | | | | - Check for mercurial before using it - Make 'Merging patches...' wiki page easier to copy - Use `basename` instead of assuming the user is running vim-patch.sh via the repo root - Appease shellcheck by quoting path variables - Remove unneeded variable quoting inside [[ ]] blocks - Don't unconditionally 'exit 1' '-h' and '--help' are both recognized options, so current behavior is misleading.
* Merge #2074 'Migrate legacy test 19 and 89'Justin M. Keyes2015-03-16
|\
| * legacy tests: migrate test19Gustaf Lindstedt2015-03-16
| |
| * legacy tests: migrate test89Gustaf Lindstedt2015-03-16
|/
* Merge PR #2164 'Small changes to ui_busy functions and testing'Thiago de Arruda2015-03-16
|\
| * ui: Only call ui_flush when the busy state changesThiago de Arruda2015-03-16
| | | | | | | | | | Also add back the `ui_flush` call to `get_keystroke`. Its necessary to display prompt messages correctly.
| * test: Only display cursor marker in screen tests if nvim is not busyThiago de Arruda2015-03-16
|/
* Put gitter badge near other badgesThiago de Arruda2015-03-16
|
* Added Gitter badgeThe Gitter Badger2015-03-16
|
* deps: Replace `cp` by `${CMAKE_COMMAND} -E copy` for portabilityThiago de Arruda2015-03-15
|
* ui: Replace cursor_{on,off} by busy_{stop,start}Thiago de Arruda2015-03-15
| | | | | | | | | | | | | | | | | | | | | | | | Switching cursor off is only necessary in two occasions: - When redrawing to avoid terminal flickering - When the editor is busy The first can now be handled by the TUI, so most calls to ui_cursor_off can be removed from the core. So, before this commit it was only necessary to switch the cursor off to notify the user that nvim was running some long operation. Now the cursor_{on,off} functions have been replaced by busy_{stop,start} which can be handled in a UI-specific way(turning the cursor off or showing a busy indicator, for example). To make things even more simpler, nvim is always busy except when waiting for user input or other asynchronous events: It automatically switches to a non-busy state when the event loop is about to be entered for more than 100 milliseconds. `ui_busy_start` can be called when its not desired to change the busy state in the event loop (As its now done by functions that perform blocking shell invocations).
* deps: Add utfTerminalDetailed busted output handlerThiago de Arruda2015-03-15
| | | | | | | | | This is a variant of the utfTerminal output handler that will: - Output the file name before each suite is executed - Output the test name before each test is executed This will make it simpler to identify crashing/hanging tests.
* Merge pull request #2154 from lyuts/build_custom_libtermkeyJohn Szakmeister2015-03-15
|\ | | | | Fixed compilation when using custom libtermkey (not installed in base system).
| * Fixed compilation when using custom libtermkey (not installed in baselyuts2015-03-15
|/ | | | system).
* Merge #2138 'syntax.c: Prevent use after free for variable g:colors_name'Justin M. Keyes2015-03-13
|\
| * vim-patch: mark 7.4.660 as includedoni-link2015-03-13
| | | | | | | | | | | | refs #2138 vim-patch: https://code.google.com/p/vim/source/detail?r=476a12a96bb1e5ccc71b1c1010d529deca271617
| * syntax.c: Prevent use after free for variable g:colors_name.oni-link2015-03-13
|/ | | | | | | | | | | ASan spotted a problem when using 'set background={light,dark}' with color scheme solarized. While loading the colors for color scheme 'g:colors_name', the pointer on the value for this variable can become invalid, because of an 'unlet colors_name' (part of an :highlight clear, syntax.c:6173). To prevent the use of the freed value, decouple the value from 'g:colors_name' before calling load_colors() with it.
* vim-patch:7.4.637 #2126Lech Lorens2015-03-13
| | | | | | | | Problem: Incorrectly read the number of buffer for which an autocommand should be registered. Solution: Reverse check for "<buffer=abuf>". (Lech Lorens) https://code.google.com/p/vim/source/detail?r=v7-4-637
* build: fix a missing reference to libunibilium missed in #2125John Szakmeister2015-03-13
|
* Merge pull request #2125 from jszakmeister/fix-whitespace-third-partyJohn Szakmeister2015-03-13
|\ | | | | third-party: fix whitespace and naming
| * third-party: change all references to libunibilium to just unibiliumJohn Szakmeister2015-03-10
| |
| * third-party: fix some whitespace issues from the recent splittingJohn Szakmeister2015-03-10
| |
* | Merge pull request #2118 from rev112/fix_redundant_castJohn Szakmeister2015-03-13
|\ \ | | | | | | Remove redundant casts
| * | Remove redundant castsAnton Ovchinnikov2015-03-09
| | |
* | | Merge #2008 'Special interfaces cleanup'Justin M. Keyes2015-03-12
|\ \ \
| * | | gitignore: add /src/nvim/testdir/delMichael Reed2015-03-12
| | | | | | | | | | | | | | | | refs #1875
| * | | Interface cleanup: Man pagesMichael Reed2015-03-12
| | | |
| * | | Interface cleanup: Symlink handling & docsMichael Reed2015-03-12
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the ability to start nvim via the following aliases in favor of just using their command line arguments: ex vim -e exim vim -E view vim -R gvim vim -g gex vim -eg gview vim -Rg rvim vim -Z rview vim -RZ rgvim vim -gZ rgview vim -RgZ This also removes Vi mode (-v) for consistency. From ':help -v': -v Start Ex in Vi mode. Only makes a difference when the executable is called "ex" or "gvim". For gvim the GUI is not started if possible.
* | | vim-patch: mark 7.4.615 as included #2109Michael Reed2015-03-12
| | | | | | | | | | | | | | | | | | refs #1761 Original vim patch: http://ftp.vim.org/vim/patches/7.4/7.4.615
* | | Merge pull request #2114 from oni-link/remove.assertJohn Szakmeister2015-03-12
|\ \ \ | | | | | | | | Fixes for two compiler warnings