aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Move definition of cstrchr above the functions which call itJames McCoy2017-09-23
| | | | | | | | | | Functions with FUNC_ATTR_ALWAYS_INLINE need to be defined before they are called to work around bugs with some compiler versions. When the body is after the use of the function, compilation will fail with /home/niko/build/neovim/src/nvim/regexp.c: In function 'regmatch': /home/niko/build/neovim/build/src/nvim/auto/regexp.c.generated.h:77: sorry, unimplemented: inlining failed in call to 'cstrchr': function body not available /home/niko/build/neovim/src/nvim/regexp.c:4193: sorry, unimplemented: called from here
* cmake: Check if the compiler understands -Wno-array-boundsJames McCoy2017-09-23
| | | | Closes #7297
* vim-patch:8.0.0294 (#7305)Michael Schupikov2017-09-23
| | | | | | | | | | Problem: Argument list is not stored correctly in a session file. (lgpasquale) Solution: Use "$argadd" instead of "argadd". (closes vim/vim#1434) https://github.com/vim/vim/commit/79da563cf9220b9abb83455a68d995684133ea56 Signed-off-by: Michael Schupikov <michael@schupikov.de>
* runtime/tutor: fix typos (#7302)TJ Rana2017-09-23
|
* doc: fix typo with :lcd (#7299)Daniel Hahler2017-09-22
|
* escape amatch filename (#7292)Andy Russell2017-09-19
| | | | Fixes #7046 Fixes autozimu/LanguageClient-neovim#77
* Merge #7252 from justinmk/perf-vim.vimJustin M. Keyes2017-09-18
|\
| * runtime/syntax/vim.vim: highlight vimEmbedError as NormalJustin M. Keyes2017-09-17
| |
| * runtime/syntax/vim.vim: disable g:vimsyn_embed by defaultJustin M. Keyes2017-09-17
| | | | | | | | | | This feature is extremely slow. Also merge some minor upstream differences (missed by a previous merge).
* | Merge pull request #7280 from bfredl/fix_helptagsBjörn Linse2017-09-17
|\ \ | | | | | | cmake: remove stale doc files to avoid "duplicate tags" message
| * | Revert cbda7d8 "build: Revert 464bc16."Björn Linse2017-09-17
| | | | | | | | | | | | | | | | | | | | | In-tree builds are no longer allowed, so deleting build/docs/ is harmless ref 53eddb8
* | | Merge pull request #7277 from jamessan/deprecated-unibilium-APIsJames McCoy2017-09-17
|\ \ \ | |_|/ |/| | tui: Use unibi_var_from_num when available
| * | tui: Use unibi_var_from_num when availableJames McCoy2017-09-16
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of unibilium 1.2.1, directly manipulating unibi_var_t is deprecated. ../src/nvim/tui/tui.c: In function 'update_attrs': ../src/nvim/tui/tui.c:321:7: warning: 'i' is deprecated: use unibi_var_from_num or unibi_num_from_var instead [-Wdeprecated-declarations] data->params[0].i = (fg >> 16) & 0xff; // red ^~~~ In file included from ../src/nvim/tui/tui.c:12:0: /usr/include/unibilium.h:632:9: note: declared here int i UNIBI_DEPRECATED("use unibi_var_from_num or unibi_num_from_var instead"); ^ All use should go through unibi_{num,str}_from_var and unibi_var_from_{num,str}. Wrap access of unibi_var_t behind a new UNIBI_SET_NUM_VAR macro which uses the new functions when they're available.
* | vim-patch:8.0.0327 (#7281)KunMing Xie2017-09-17
| | | | | | | | | | | | | | Problem: The E11 error message in the command line window is not translated. Solution: use _(). (Hirohito Higashi) https://github.com/vim/vim/commit/75c19464ed7fb6024af64747379e61abc4e4a483
* | vim-patch:8.0.0324 (#7279)KunMing Xie2017-09-17
| | | | | | | | | | | | | | Problem: Illegal memory access with "1;y". Solution: Call check_cursor() instead of check_cursor_lnum(). (Dominique Pelle, closes vim/vim#1455) https://github.com/vim/vim/commit/f1f6f3f7df2938b3583e341482d96c1d53124c51
* | vim-patch:8.0.0302 NA (#7264)KunMing Xie2017-09-17
| | | | | | | | | | | | | | | | | | (NA: Nvim removed the ability to set termcodes directly.) Problem: Cannot set terminal key codes with :let. Solution: Make it work. https://github.com/vim/vim/commit/e353c402e63b9b0a0bc06acf390e352d9e7eeaeb
* | vim-patch:8.0.0305 (#7265)KunMing Xie2017-09-17
|/ | | | | | Problem: Invalid memory access when option has duplicate flag. Solution: Correct pointer computation. (Dominique Pelle, closes vim/vim#1442) https://github.com/vim/vim/commit/aaaf57d8a936efe420190c077e4a74041cc6c72e
* test: more coverage for RPC + op-pending #3732Justin M. Keyes2017-09-16
|
* getchar.c: add TERM_FOCUS to MAP_HASH (#7271)Justin M. Keyes2017-09-16
| | | | | vim-patch:8.0.1108 https://github.com/vim/vim/commit/69fbc9e1dab176f345719436cd89d854df0a2abd
* build: show a hint for BSD make (#7275)Mahmoud Al-Qudsi2017-09-16
| | | | | | | | | BSD Make will give preference to a BSDmakefile in the same directory over a generic Makefile; this can be used to instruct BSD users to build neovim with GNU Make (gmake) instead. Otherwise, a flood of syntax errors stemming from the GNU-specific Makefile will be displayed - which most BSD users are accustomed to, but may confuse beginners nevertheless.
* Merge #7262 'inccommand': fix 'gdefault' lockupJustin M. Keyes2017-09-15
|\
| * ex_cmds.c:do_sub(): macroize duplicate codeJustin M. Keyes2017-09-13
| |
| * 'inccommand': fix 'gdefault' lockup #7261KillTheMule2017-09-12
|/ | | | | closes #7244 ref #7249
* Vim-patch 8.0.0300 (#7258)KunMing Xie2017-09-11
| | | | | | | | | vim-patch:8.0.0300 Problem: Cannot stop diffing hidden buffers. (Daniel Hahler) Solution: When using :diffoff! make the whole list if diffed buffers empty. (closes vim/vim#736) https://github.com/vim/vim/commit/25ea0544587dd45088512fec9d7a685e35fea679
* ci/travis: ignore pip3 failureJustin M. Keyes2017-09-10
| | | | | | | | | | Workaround for travis issue: https://github.com/travis-ci/travis-ci/issues/8363 Cannot check `command -v pip3`, because that may point to `/opt/pyenv/shims/pip3` which is also (sometimes) broken. ref 6389bde0bc96
* vim-patch:8.0.0186 (#7154)KunMing Xie2017-09-10
| | | | | | | Problem: The error message from assert_notequal() is confusing. Solution: Only mention the expected value. https://github.com/vim/vim/commit/5869cf060e60cc09e71b2b3bd85f0576ec78f9f5
* vim-patch:8.0.0282 vim-patch:8.0.0291 (#7255)KunMing Xie2017-09-10
| | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0291 Problem: Visual block insertion does not insert in all lines. Solution: Don't bail out of insert too early. Add a test. (Christian Brabandt, closes vim/vim#1290) https://github.com/vim/vim/commit/23fa81d2223cd9bb7c51829c48047b2976bc2d11 vim-patch:8.0.0282 Problem: When doing a Visual selection and using "I" to go to insert mode, CTRL-O needs to be used twice to go to Normal mode. (Coacher) Solution: Check for the return value of edit(). (Christian Brabandt, closes #1290) https://github.com/vim/vim/commit/0b5c93a7f266cd8c90ea27bdaf9f7214a95d64d7
* Merge #7253 from justinmk/ci-travisJustin M. Keyes2017-09-09
|\
| * ci/travis: skip pip3 upgrade if pip3 is missingJustin M. Keyes2017-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Workaround for travis issue: https://github.com/travis-ci/travis-ci/issues/8363 Sometimes `pip3` works, sometimes not: pyenv: pip3: command not found The `pip3' command exists in these Python versions: 3.5 3.5.3 Tried these steps to fix the issue: - add `python: 3.6` to top level of `.travis.yml` - add `python3` to `addons.apt.packages` level of `.travis.yml` - `pyenv global system 3.{4,5,6}` - `pyenv global 3.6` In all cases the presence or absence of `pip3` was random.
| * ci/travis: report python environment infoJustin M. Keyes2017-09-09
| |
| * test: FocusGained: retry() cmdline-mode testJustin M. Keyes2017-09-09
|/
* health.vim: always check pyenv if installed #7219Greg Anders2017-09-09
| | | | | | | | Always check for the presence of pyenv_root if pyenv is installed: if it is not set, we don't know if it was intentional. If it wasn't intentional, the warning is confusing (see #7176). closes #7176
* inccommand: fix optimization logic #7224KillTheMule2017-09-09
| | | | | | | Before this change the preview changes in the buffer viewport were limited to the size of the preview window ('cmdwinheight'). closes #7220
* terminal.c: need maketitle() in terminal-modeJustin M. Keyes2017-09-09
| | | | | | | | | | | normal_redraw() usually takes care of this, but that doesn't happen during terminal-mode. regression by c484323dc67f steps to reproduce: nvim -u NORC --cmd 'execute("set titlestring=" . $NVIM_LISTEN_ADDRESS) | set title | startinsert | !sleep 1' term://sh closes #7248
* test: ex_terminal_spec.lua: retry flaky test (#7245)Justin M. Keyes2017-09-07
| | | https://api.travis-ci.org/jobs/271833660/log.txt
* Merge #7241 ':terminal : handle F1-F12, other keys'Justin M. Keyes2017-09-06
|\
| * Merge #5014 ':terminal : handle F1-F12, other keys'Justin M. Keyes2017-09-05
| |\ | | | | | | | | | | | | | | | | | | closes #3101 closes #4343 closes #5024 closes #5925
| | * terminal.c: label fallthrough on big switchRJ Miller2017-01-10
| | |
| | * terminal.c: handle ctrl+space and ctrl+@RJ Miller2017-01-10
| | |
| | * terminal.c: add more arrow key supportRJ Miller2017-01-10
| | |
| | * terminal.c: move mod logic into convert_modifiersRJ Miller2017-01-10
| | |
| | * terminal.c: Handle more special keysRJ Miller2017-01-10
| | |
* | | Merge #7221 from justinmk/ev-focusgainedJustin M. Keyes2017-09-06
|\ \ \ | | | | | | | | tui: schedule event instead of <FocusGained> pseudokey
| * | | test: FocusGained: press-enter promptJustin M. Keyes2017-09-05
| | | |
| * | | doc: channel, eventloopJustin M. Keyes2017-09-05
| | | |
| * | | eventloop: loop_schedule_deferred()Justin M. Keyes2017-09-05
| | | | | | | | | | | | | | | | Generalize the "schedule schedule" technique.
| * | | test: FocusGained: let UI settle before sending inputJustin M. Keyes2017-09-05
| | | | | | | | | | | | | | | | | | | | This significantly increases the likelihood that the :echo'd text will be included in the next UI flush, instead of being lost.
| * | | lintJustin M. Keyes2017-09-05
| | | |
| * | | log: introduce `context`Justin M. Keyes2017-09-05
| | | |
| * | | eventloop: restore redraw in cmdline K_EVENT handlerJustin M. Keyes2017-09-05
| | | | | | | | | | | | | | | | Restores behavior from commit: 02e86ef04cc1