Justin M. Keyes
42d892913d
cmake: Remove custom "Dev" build-type. ( #6932 )
...
The main purpose of this build-type was to avoid unwanted ~/.nvimlog
files (which could get really big, and also affects performance) for
non-devs. But that is no longer necessary since the log system now
avoids non-critical logging by default (#6827 ).
This essentially reverts 87e5a41316
2017-06-29 09:29:40 +02:00
Justin M. Keyes
f0dafa89c2
provider/clipboard.vim: Handle missing g:clipboard keys
2017-06-28 09:42:03 +02:00
Justin M. Keyes
6016ac270f
provider/clipboard.vim: allow configuration #6030
...
Closes #6029
2017-06-27 12:22:06 +02:00
James McCoy
91749c06dc
Merge pull request #6927 from jamessan/vim-7.4.2259
...
vim-patch:7.4.2259,7.4.2268,7.4.2318,7.4.2320
2017-06-27 03:19:01 +00:00
James McCoy
6a842132bc
ex_getln: Lint command_line_handle_key readability/fn_size
...
Create new functions to handle moving to the next incsearch match or
matching history index.
2017-06-26 22:08:13 -04:00
James McCoy
54d5e90a2b
vim-patch:7.4.2320
...
Problem: Redraw problem when using 'incsearch'.
Solution: Save the current view when deleting characters. (Christian
Brabandt) Fix that the '" mark is set in the wrong position. Don't
change the search start when using BS.
dda933d06c
2017-06-26 22:08:13 -04:00
James McCoy
3679752dbd
vim-patch:7.4.2318
...
Problem: When 'incsearch' is not set CTRL-T and CTRL-G are not inserted as
before.
Solution: Move vim/vim#ifdef and don't use goto.
349e7d94e6
2017-06-26 22:08:13 -04:00
James McCoy
0dd6455659
vim-patch:7.4.2268
...
Problem: Using CTRL-N and CTRL-P for incsearch shadows completion keys.
Solution: Use CTRL-T and CTRL-G instead.
1195669f9e
2017-06-26 22:08:11 -04:00
James McCoy
518b42db91
functests/legacy: Add lua version of test_search.vim
2017-06-26 22:07:28 -04:00
Justin M. Keyes
f34befe74c
Merge #6789 from ZyX-I/lua-path
...
lua: Add paths from &runtimepath to package.path and package.cpath
2017-06-27 02:29:15 +02:00
David Galeano
1ef2d768e7
socket.c: Disable Nagle's algorithm on TCP sockets ( #6915 )
...
Reducing latency is more interesting than optimizing bandwidth
for Nvim's typical use-cases.
2017-06-27 02:09:49 +02:00
raichoo
7955cf3515
vim-patch:7.4.2259
...
Problem: With 'incsearch' can only see the next match.
Solution: Make CTRL-N/CTRL-P move to the previous/next match. (Christian
Brabandt)
4d6f32cbfb
2017-06-26 07:36:36 -04:00
Justin M. Keyes
2b377d89db
scripts/pvscheck.sh: fix function rename
2017-06-25 07:53:27 +02:00
Justin M. Keyes
4b08b5d194
scripts/pvscheck.sh: HACK: de-parallelize on CI
...
https://github.com/neovim/bot-ci/pull/105#issuecomment-309282132
2017-06-25 07:35:01 +02:00
Justin M. Keyes
a469704495
scripts/pvscheck.sh: HACK: de-parallelize on CI
...
References https://github.com/neovim/bot-ci/pull/105
2017-06-25 03:26:24 +02:00
Björn Linse
ca385db4d0
Merge pull request #5266 from bfredl/kbtree
...
add kbtree_t and use it for bufhl
2017-06-24 13:46:48 +02:00
Björn Linse
8b375cf471
bufhl: fix move
2017-06-24 11:09:10 +02:00
Björn Linse
7873660e1e
bufhl: some style cleanup
2017-06-24 11:09:10 +02:00
Björn Linse
28a549d597
kbtree: make warning free and delete deprecated macros
2017-06-24 11:09:10 +02:00
Björn Linse
14e19b8aaf
kbtree: eliminate unneccesary heap allocation
2017-06-24 11:09:10 +02:00
Björn Linse
53cf88c27b
kbtree: use proper structs
2017-06-24 11:09:10 +02:00
Björn Linse
6712e08bba
kbtree: allow iterators to start at arbitrary position
2017-06-24 11:09:10 +02:00
Björn Linse
1eff241ec6
bufhl: use kbtree for bufhl
2017-06-24 11:09:10 +02:00
timeyyy
0b6b03c472
kbtree.h
2017-06-24 11:09:10 +02:00
Justin M. Keyes
144f584948
Merge #6914 from ZyX-I/func-def-trailing-error
...
Allow multiple function definitions in one :execute
2017-06-21 23:56:00 +02:00
ZyX
476c28f433
functests: Fix screen.lua supplying dedent additional argument
2017-06-21 10:58:47 +03:00
ZyX
ae457ff64a
functests: Check that minimal distance between commands works
2017-06-21 10:58:47 +03:00
ZyX
607dc3e0f9
functests: Add tests
2017-06-21 10:58:47 +03:00
ZyX
60c0252672
eval: Allow running next command after :endfunction
...
This will still error out on `:endfunction | next`, but defining many functions
in one `:execute` should be possible.
2017-06-20 18:36:17 +03:00
ZyX
d5839770ee
functests: Refactor redir_exec
2017-06-20 18:17:47 +03:00
ZyX
e57d4eef88
functests: Move function_spec to eval
2017-06-20 18:17:47 +03:00
ZyX
bad5b2f8cf
eval: Error out when there is something after :endfunction
...
Ref #6844
2017-06-20 18:17:47 +03:00
Justin M. Keyes
cb8e47c4f8
Merge #6863
2017-06-19 12:35:16 +02:00
Chris Hall
dcbeefcd23
coverity/112076: fixing "Explicit null dereferenced"
...
if (oap->regname == 0 &&
oap->motion_type != kMTLineWise &&
oap->line_count == 0 &&
!oap->use_reg_one ){
then reg is not initialised
and our call to set_clipboard will dereference NULL
}
2017-06-20 14:47:12 +10:00
Chris Hall
76ea97c809
coverity/155506: fixing "dereference null after check" ( #6862 )
...
rbuffer_read_ptr may return a null
if ptr == null && cnt == 0 && !out_data_decide_throttle(cnt)
then we would have called out_data_append_to_screen(ptr, cnt, eof)
which dereferences the null pointer.
2017-06-19 02:01:29 +02:00
Justin M. Keyes
26235bc050
genappimage.sh: set CMAKE_INSTALL_MANDIR
...
Avoids attempt to install manpage to system location.
Also:
- Don't attempt `nvim --version` until after it was built.
- Remove unnecessary `mkdir`.
2017-06-19 01:44:38 +02:00
Shougo
694eb18e03
vim-patch:7.4.2356 ( #6880 )
...
Problem: Reading past end of line when using previous substitute pattern.
(Dominique Pelle)
Solution: Don't set "pat" only set "searchstr".
ea683da58c
2017-06-19 01:13:32 +02:00
Justin M. Keyes
3a86dd54f3
Merge #6841 from alexgenco/ruby-host-prog
2017-06-17 23:56:23 +02:00
James McCoy
b160a8b5ba
Merge pull request #6898 from blueyed/pvscheck-fixes
...
scripts/pvscheck.sh: fixes
2017-06-17 18:40:49 +00:00
Daniel Hahler
45df8f77df
scripts/pvscheck.sh: fixes
...
[ci skip]
2017-06-17 20:37:13 +02:00
Alex Genco
9b98b959d1
runtime: Add docs for g:ruby_host_prog
2017-06-17 09:07:29 -07:00
Alex Genco
f400c6f05f
runtime: Allow overriding ruby host with g:ruby_host_prog
...
This allows users who have per-project Ruby versions (e.g. with `rvm`)
to pin to a particular gem installation.
For example: `let g:ruby_host_prog = 'rvm system do neovim-ruby-host'`
2017-06-17 08:20:00 -07:00
Alex Genco
826210a465
runtime: Fix issue with Ruby health latest_gem
determination
...
Sometimes the `gem list` command used for finding the latest version of
the `neovim` gem prints an error, which can throw off the `split()` call
due to extra parenthesis. This locks down the split pattern to make
conflicts less likely.
2017-06-17 08:20:00 -07:00
equal-l2
e8aa58934e
Update deps ( #6885 )
...
* Update libuv to 1.12.0
* Update msgpack-c to 2.13
* Update LuaJIT to 2.0.5 (82151a45 for a Windows build fix)
* Update jemalloc to 4.5.0
* Update luv to 1.9.1-1
* Update gperf to 3.1
2017-06-17 03:17:34 +00:00
James McCoy
f8e3bc63ef
Merge pull request #6860 from justinmk/coverity
...
coverity/155509: negative close() arg
2017-06-15 12:55:05 +00:00
James McCoy
8b976c413e
Merge pull request #6896 from jamessan/clang-bump
...
ci: Bump clang version to 4.0
2017-06-15 11:14:16 +00:00
Xu Cheng
6efe84af68
provider/clipboard: add tmux support ( #6894 )
2017-06-15 09:15:56 +02:00
James McCoy
a4825ebd5c
ci: Bump clang version to 4.0
2017-06-15 00:14:57 -04:00
Justin M. Keyes
cb75db4c18
coverity/155509: negative close() arg
2017-06-14 22:53:09 -04:00
Björn Linse
7918845215
Merge pull request #6700 from bfredl/winhl
...
window specific ui highlighting: part 2
2017-06-14 20:32:16 +02:00