Jan Edmund Lazo
c65dd2d114
vim-patch:8.1.0220: Ruby converts v:true and v:false to a number
...
Problem: Ruby converts v:true and v:false to a number.
Solution: Use Qtrue and Qfalse instead. (Masataka Pocke Kuwabara,
closes vim/vim#3259 )
d84b26a03b
nvim does not support v:none.
2019-09-15 07:41:08 -04:00
Justin M. Keyes
86e819d492
Merge #11021 from justinmk/ctx-rename-buflist
...
API: Context: "opts" param, et al.
2019-09-14 19:53:33 -07:00
Justin M. Keyes
ffdf8c4c12
Context: rename "buflist" => "bufs"
...
Given the other type names "jumps", "vars", etc., the name "buflist"
is somewhat unintuitive.
2019-09-14 18:57:35 -07:00
Justin M. Keyes
f2c75ef9b4
API: nvim_get_context: "opts" param
...
Since the parameter is already non-primitive, make it an `opts` map
instead of just a list, in case we want to extend it later.
2019-09-14 18:57:35 -07:00
Justin M. Keyes
2e0e592ea2
release.sh: bump nvim.appdata.xml
2019-09-14 17:54:16 -07:00
Justin M. Keyes
db550ac995
Merge #11020 from janlazo/vim-8.1.0289
...
vim-patch:8.0.{1134,1148},8.1.{212,289,2028}
fix #10270
2019-09-14 16:02:15 -07:00
Usama Hameed
fc27dc98d7
autocmds: TermEnter, TermLeave #8550
...
fix #8428
2019-09-14 15:54:19 -07:00
Jan Edmund Lazo
cccfc1b603
test/old: skip python-bindeval tests
2019-09-14 17:53:52 -04:00
Jan Edmund Lazo
ce3d9503b2
vim-patch:8.1.0212: preferred cursor column not set in interfaces
...
Problem: Preferred cursor column not set in interfaces.
Solution: Set w_set_curswant when setting the cursor. (David Hotham,
closes vim/vim#3060 )
53901442f3
This contains test_ruby changes only.
test_python changes were ported before.
2019-09-14 17:46:07 -04:00
Jan Edmund Lazo
7be7ec98a2
ci/travis: install pynvim outside of $HOME
...
This runs the python tests on Travis.
WIP: skip failing python tests
2019-09-14 17:30:22 -04:00
Jan Edmund Lazo
67bede0b27
test/old: skip failing ruby tests
...
These tests didn't pass in https://github.com/neovim/neovim/pull/9245
2019-09-14 17:05:04 -04:00
Jan Edmund Lazo
232cce9abe
vim-patch:8.0.1448: segfault with exception inside :rubyfile command
...
Problem: Segmentation fault when Ruby throws an exception inside :rubyfile
command.
Solution: Use rb_protect() instead of rb_load_protect(). (ujihisa,
closes vim/vim#2147 , greywolf, closes vim/vim#2512 , vim/vim#2511 )
37badc898b
2019-09-14 16:34:16 -04:00
Jan Edmund Lazo
c971a231e2
vim-patch:8.0.1134: superfluous call to syn_get_final_id()
...
Problem: Superfluous call to syn_get_final_id().
Solution: Remove it. (Ken Takata)
76301956f0
2019-09-14 16:12:38 -04:00
Jan Edmund Lazo
1a718f4fae
vim-patch:8.1.2028: options test script does not work
...
Problem: Options test script does not work.
Solution: Use optiondefs.h for input.
d9b0d83b13
2019-09-14 13:07:58 -04:00
Jan Edmund Lazo
27fd4f31fd
vim-patch:8.1.0289: cursor moves to wrong column after quickfix jump
...
Problem: Cursor moves to wrong column after quickfix jump.
Solution: Set the curswant flag. (Andy Massimino, closes vim/vim#3331 )
2dfcef4c08
2019-09-14 12:31:47 -04:00
Daniel Hahler
8c88d98df9
vim-patch:8.1.2023: no test for synIDattr() returning "strikethrough" ( #11018 )
...
Problem: No test for synIDattr() returning "strikethrough".
Solution: Extend the synIDattr() test. (Jaskaran Singh, closes vim/vim#4929 )
dcb2b9cb08
2019-09-14 16:32:38 +02:00
Justin M. Keyes
9cf8cf605d
Merge #11015 from justinmk/getdigits
...
getdigits: introduce `strict`, `def` parameters
2019-09-13 19:32:06 -07:00
Justin M. Keyes
6aae0e7c94
lint
2019-09-13 19:29:25 -07:00
Justin M. Keyes
3344cffe7b
getdigits: introduce strict
, def
parameters
...
Problem:
During a refactor long ago, we changed the `getdigits_*` familiy of
functions to abort on overflow. But this is often wrong, because many
of these codepaths are handling user input.
Solution:
Decide at each call-site whether to use "strict" mode.
fix #5555
2019-09-13 19:29:25 -07:00
Justin M. Keyes
0a24a2c314
rename: getdigits_safe => try_getdigits
2019-09-13 19:13:00 -07:00
Jan Edmund Lazo
427cf16e44
vim-patch:8.1.0719: too many #ifdefs [ci skip] #11016
...
Problem: Too many #ifdefs.
Solution: Always build with the +visualextra feature.
870ba5f6dc
2019-09-13 18:30:23 -07:00
Jan Edmund Lazo
4cee0e0731
vim-patch:8.1.2026: possibly using uninitialized memory #11013
...
Problem: Possibly using uninitialized memory.
Solution: Check if "dict" is NULL. (closes vim/vim#4925 )
dbec74907e
2019-09-13 16:31:56 -07:00
Justin M. Keyes
5a3c86205f
test: fix failure on Windows (allow ".exe")
...
ref 77594d55f7
2019-09-13 16:31:21 -07:00
Justin M. Keyes
4b7d8e6b87
win/dist: nvim-qt v0.2.14 #11008
2019-09-13 15:56:02 -07:00
glacambre
77594d55f7
startup: fail if --embed with -es/-Es #10753
...
Closes https://github.com/neovim/neovim/issues/10031
2019-09-13 15:15:59 -07:00
Jaskaran Singh
3afb397407
syntax, TUI: support "strikethrough"
...
fix #3436
Includes:
vim-patch:8.0.1038: strike-through text not supported
2019-09-13 14:46:19 -07:00
Justin M. Keyes
35341b34b8
Merge #11007 from janlazo/vim-8.0.1772
...
vim-patch:8.0.1772,8.1.{248,259,261,267}
2019-09-13 14:38:16 -07:00
Jan Edmund Lazo
5f95b35c7a
vim-patch:8.1.0267: no good check if restoring quickfix list worked
...
Problem: No good check if restoring quickfix list worked.
Solution: Let qf_restore_list() return OK/FAIL. (Yegappan Lakshmanan)
90f1e2b7bc
2019-09-13 02:15:33 -04:00
Jan Edmund Lazo
47357270ae
vim-patch:8.1.0261: Coverity complains about a negative array index
...
Problem: Coverity complains about a negative array index.
Solution: When qf_id2nr() cannot find the list then don't set qf_curlist.
38efd1d17a
2019-09-13 01:41:01 -04:00
Jan Edmund Lazo
fba9c72495
vim-patch:8.1.0259: no test for fixed quickfix issue
...
Problem: No test for fixed quickfix issue.
Solution: Add a test. Clean up the code a bit. (Yegappan Lakshmanan)
3f347e4716
2019-09-13 00:47:30 -04:00
Jan Edmund Lazo
4ef9ad0514
vim-patch:8.1.0248: duplicated quickfix code
...
Problem: duplicated quickfix code.
Solution: Move the code to a function.
8d8a65e389
2019-09-13 00:35:14 -04:00
Jan Edmund Lazo
8ba492e4e2
vim-patch:8.0.1772: quickfix: mixup of FALSE and FAIL, returning -1
...
Problem: Quickfix: mixup of FALSE and FAIL, returning -1.
Solution: Use FAIL and INVALID_QFIDX. (Yegappan Lakshmanan)
29ce409bfc
2019-09-13 00:14:04 -04:00
Justin M. Keyes
3855204f58
Merge #6917 'UIEnter, UILeave'
2019-09-12 17:45:33 -07:00
Justin M. Keyes
492ac04f7e
UIEnter/UILeave: fire for embedder UI, builtin TUI
...
Before this, --embed UIs (without --headless) would not trigger UIEnter.
For TUI, maybe UIEnter isn't useful, but:
- It is less "surprising"/special.
- Makes documentation simpler.
- When TUI becomes a coprocess, it will happen anyway.
2019-09-12 17:04:05 -07:00
Justin M. Keyes
589f612adf
rename: UIAttach/UIDetach => UIEnter/UILeave
...
"enter"/"leave" is more conventional for Vim events, and
"attach"/"detach" distinction does not gain much.
2019-09-12 17:04:05 -07:00
Justin M. Keyes
44d45e29ea
API/nvim_list_uis(): include "chan" field for TUI
...
Even though it's always zero currently, it's less confusing if all UIs
have the same fields.
2019-09-12 17:04:05 -07:00
Justin M. Keyes
6dd56d0902
UIAttach, UIDetach
...
doc: ginit.vim, gvimrc
fix #3656
2019-09-12 17:04:05 -07:00
Rui Abreu Ferreira
e9cf515888
UIAttach, UIDetach
2019-09-12 15:52:54 -07:00
Justin M. Keyes
426399c2c4
Merge #10999 from janlazo/clang_pvs2
2019-09-12 14:56:50 -07:00
Jan Edmund Lazo
500c344790
lint
2019-09-12 01:47:56 -04:00
Jan Edmund Lazo
e3c67755b8
fixup! cursor_shape: check if modep is nonnull
2019-09-11 22:29:50 -04:00
Jan Edmund Lazo
6508215b5c
Remove excess <stdint.h>
2019-09-11 22:27:45 -04:00
Daniel Hahler
11fe132dd9
tests: fix system_spec when run with clipboard manager ( #10956 )
...
* tests: move os_kill to functional helpers
* tests: fix system_spec when run with clipboard manager
Replaces "xclip" with a dedicated helper program.
Fixes: https://github.com/neovim/neovim/issues/4900#issuecomment-501866842
2019-09-12 03:26:35 +02:00
Justin M. Keyes
108763171f
build: dependencies: specify minimum libvterm ( #10997 )
...
libvterm now advertises a version number, so we can specify the minimum
required version. And this is necessary because there were breaking
changes in its API.
ref 2a590e2293
ref https://github.com/neovim/neovim/issues/10991
2019-09-12 03:25:25 +02:00
Justin M. Keyes
b78be5bd08
rename: SplitEvent => MulticastEvent #10989
...
"Multicast" is perhaps a more conventional name for the concept.
"One-shot" is the conventional name for how the event is (currently)
scheduled.
2019-09-11 15:39:23 -07:00
Justin M. Keyes
7652904f79
eval: wait(): always spin up dummy-timer #10990
...
This avoids getting "stuck". If user actually _wants_ to get stuck
forever, they could use `:sleep` or specify a really big `interval`.
2019-09-11 12:56:46 -07:00
Justin M. Keyes
c8223e1618
Merge #10995 'paste: fix paste in terminal mode'
2019-09-11 12:45:28 -07:00
Björn Linse
ffa029ad1c
paste: fix paste in terminal mode
2019-09-11 20:12:29 +02:00
Justin M. Keyes
6aed19b2bb
Merge #10986 'doc'
2019-09-11 00:17:31 -07:00
Justin M. Keyes
06bfb07e35
doc
...
fix #10127
fix #5972
2019-09-11 00:10:27 -07:00