Commit Graph

10479 Commits

Author SHA1 Message Date
Daniel Hahler
143b02c573 vim-patch:8.1.1461: tests do not run or are not reliable on some systems
Problem:    Tests do not run or are not reliable on some systems.
Solution:   Use "findstr" instead of "grep" on MS-Windows. Clear
            PROMPT_COMMAND in the terminal test. Delete temp file. Wait for
            output after executing a debug command. (Yegappan Lakshmanan,
            closes vim/vim#4479)
ddd3308782

Ignored changes to testdir/test_terminal.vim.
2019-08-11 13:23:30 +02:00
Daniel Hahler
0a98765b44 test_source.vim: move Test_source_sandbox 2019-08-11 13:23:30 +02:00
erw7
7d664837e1 win: expand nested env var #10662
Vim-compatible behavior for a Windows edge case.
2019-08-11 09:51:00 +02:00
Ihor Antonov
e5d388f23a clang/"Argument with 'nonnull' attribute passed null" #10739
Problem:  In screen.c grid_char_needs_redraw clang warns
          that grid->chars could be NULL

Solution: Suggested by bfredl. Add explicit check
          grid->chars != NULL in grid_put_linebuf
          similar to grid_puts_len
2019-08-11 09:47:49 +02:00
Björn Linse
c190415dc2 Merge pull request #10738 from bfredl/cmdwinclose
api/window: disallow closing non-current window in cmdwin state
2019-08-10 21:21:13 +02:00
Björn Linse
67664c74f8 api/window: disallow closing non-current window in cmdwin state 2019-08-10 17:41:31 +02:00
Daniel Hahler
ac395411cd testdir/test_taglist.vim: move Test_tagsfile_without_trailing_newline
Align with Vim.  Added in a79c0c8f7.
2019-08-10 17:21:47 +02:00
Daniel Hahler
4109ee8ef4 vim-patch:8.1.0911: tag line with Ex command cannot have extra fields
Problem:    Tag line with Ex command cannot have extra fields.
Solution:   Recognize |;" as the end of the command. (closes vim/vim#2402)
943e9639a9
2019-08-10 17:21:18 +02:00
R. Simon
5f243fc68a API: nvim_win_close: Fix closing cmdline-window #10087 2019-08-10 13:41:35 +02:00
Justin M. Keyes
278c5d452c win/os_env_exists(): workaround libuv bug #10734
os_env_exists() fails on MSVC build:
    os_env_exists:104: uv_os_getenv(EMPTY_VAR) failed: -4094 UNKNOWN

- Revert 396a3945c4
- HACK: Windows: return TRUE if uv_os_getenv() returns UV_UNKNOWN, until
  libuv bug is fixed: https://github.com/libuv/libuv/issues/2413

ref 396a3945c4 (r34642361)
2019-08-10 11:48:36 +02:00
Jan Edmund Lazo
43a8242cd5 vim-patch:8.1.1458: crash when using gtags #10704
Problem:    Crash when using gtags. (issue vim/vim#4102)
Solution:   Check for negative row or col in screen_puts_len(). (Christian
            Brabandt)
0b4c9eddb5
2019-08-10 00:21:52 +02:00
Daniel Hahler
06d9cc734b exists(): return false for empty env var #10657
Fixes https://github.com/neovim/neovim/issues/3266
close #10657
2019-08-09 23:42:03 +02:00
Justin M. Keyes
5aa97937e7 Merge #10706 from janlazo/vim-8.1.1465
vim-patch:8.1.{1465,1467}
2019-08-09 23:32:23 +02:00
Daniel Hahler
e2d6e67bbc Merge pull request #10171 from blueyed/vim-8.1.1318
vim-patch:8.1.1318: code for text changes is in a "misc" file
2019-08-09 19:25:56 +02:00
Daniel Hahler
939d9053bd channels: reflect exit due to signals in exit status code (#10573)
Uses `128 + term_signal` in case of exit due to a signal.

Fixes https://github.com/neovim/neovim/issues/10571.
2019-08-09 15:34:06 +02:00
Justin M. Keyes
642e7daed5 Merge #9782 from janlazo/vim-8.1.0199
vim-patch:8.1.{199,200}
2019-08-09 12:00:47 +02:00
Ihor Antonov
3c0d637592 clang/"Null passed as a nonnull parameter" #10718 2019-08-09 11:24:30 +02:00
Justin M. Keyes
8a56bd944a Merge #10708 'remove DYNAMIC_ICONV'
closes #3457
2019-08-09 11:19:37 +02:00
Adrien Fabre
47b7b471fa :terminal : update buffer when switching tabpage #10700
fix #10696
2019-08-09 10:37:08 +02:00
Jan Edmund Lazo
a48896c6e7 vim-patch:8.1.1540: cannot build without +eval #10729
Problem:    Cannot build without the +eval feature.
Solution:   Define ex_const if needed.
0abb4273f6
2019-08-09 10:28:15 +02:00
Daniel Hahler
480794146f f_spellbadword: set len=0 for non-found word
`len` is used with `list_append_string` later, and should reflect the
length of `word` (i.e. 0 when not setting word / breaking above).

Ref: neovim/neovim#9782 (comment)
2019-08-08 21:40:29 -04:00
Jan Edmund Lazo
d1ce15f696 vim-patch:8.1.0200: spellbadword() not tested
Problem:    spellbadword() not tested.
Solution:   Add a test. (Dominique Pelle, closes vim/vim#3235)
872e451e8c
2019-08-08 21:31:20 -04:00
Jan Edmund Lazo
18888c15fc vim-patch:8.1.0199: spellbadword() does not check for caps error
Problem:    spellbadword() does not check for caps error. (Dominique Pelle)
Solution:   Adjust capcol when advancing.
66ab916935
2019-08-08 21:31:20 -04:00
Björn Linse
1f54f68732 lua: minimal UTF-16 support needed for LSP 2019-08-08 20:10:14 +02:00
Jan Edmund Lazo
ce628e1187 vim-patch:8.1.1824: crash when correctly spelled word is very long (#10725)
Problem:    Crash when correctly spelled word is very long. (Ben Kraft)
Solution:   Check word length before copying. (closes vim/vim#4778)
5bcc5a1ff9
2019-08-08 17:23:25 +02:00
Daniel Hahler
564838159e lint 2019-08-07 14:21:23 +02:00
Daniel Hahler
e269c1028b remove !has_mbyte branches
Ref: https://github.com/neovim/neovim/pull/10171#discussion_r292437832
2019-08-07 14:21:23 +02:00
Daniel Hahler
0e3b9ea74d includes 2019-08-07 14:21:23 +02:00
Daniel Hahler
aa6aa732e9 move ins_char 2019-08-07 14:21:23 +02:00
Daniel Hahler
dfe8cab0c1 lint 2019-08-07 14:21:23 +02:00
Daniel Hahler
f7fac33a1f move del_lines 2019-08-07 14:21:23 +02:00
Daniel Hahler
41fa6079b2 lint/sync: truncate_line 2019-08-07 14:21:23 +02:00
Daniel Hahler
be08d52e11 move truncate_line 2019-08-07 14:21:23 +02:00
Daniel Hahler
33e6cffb9b lint/sync: open_line 2019-08-07 14:21:23 +02:00
Daniel Hahler
2f225886b0 move open_line 2019-08-07 14:21:23 +02:00
Daniel Hahler
b706b1f049 move copy_indent (from nvim's indent.c) 2019-08-07 14:21:23 +02:00
Daniel Hahler
e454dce5e4 move del_bytes 2019-08-07 14:21:23 +02:00
Daniel Hahler
0b3ee2e8ac move del_char, del_chars 2019-08-07 14:21:23 +02:00
Daniel Hahler
75598927f2 move ins_str 2019-08-07 14:21:23 +02:00
Daniel Hahler
c0f71ef826 move ins_char_bytes 2019-08-07 14:21:23 +02:00
Daniel Hahler
664b6adebe move ins_bytes, ins_bytes_len 2019-08-07 14:21:23 +02:00
Daniel Hahler
1117592f64 move unchanged 2019-08-07 14:21:23 +02:00
Daniel Hahler
f717deea06 move changed_lines 2019-08-07 14:21:23 +02:00
Daniel Hahler
b353d8599b move deleted_lines, deleted_lines_mark, changed_lines_buf 2019-08-07 14:21:23 +02:00
Daniel Hahler
83d35e62f2 move appended_lines_mark 2019-08-07 14:21:23 +02:00
Daniel Hahler
d9f2d53239 move appended_lines 2019-08-07 14:21:23 +02:00
Daniel Hahler
c2cd9178ca remove inserted_bytes (comes via text properties, v8.1.0678) 2019-08-07 14:21:23 +02:00
Daniel Hahler
ac6671946a move changedOneline, changed_bytes 2019-08-07 14:21:23 +02:00
Daniel Hahler
53210c16d1 move changed_common 2019-08-07 14:21:23 +02:00
Daniel Hahler
0e5314f56e move changed_int/changed_internal 2019-08-07 14:21:23 +02:00