Jan Edmund Lazo
bb519fb261
vim-patch:8.0.0733: can only add entries to one list in the quickfix stack
...
Problem: Can only add entries to one list in the quickfix stack.
Solution: Move state variables from qf_list_T to qf_list_T. (Yegappan
Lakshmanan)
a7df8c70c8
2018-09-05 23:02:14 -04:00
Justin M. Keyes
55a721512b
Merge #8953 from janlazo/vim-8.0.1190
2018-09-05 09:45:14 +02:00
Justin M. Keyes
bfe82d4650
Merge #8888 from janlazo/vim-8.0.1020
2018-09-05 09:38:34 +02:00
Justin M. Keyes
73849ceeb9
Merge #8948 from janlazo/vim-8.1.0331
2018-09-05 09:24:36 +02:00
Justin M. Keyes
30b70de39e
Merge #8920 from janlazo/vim-8.0.0998
2018-09-05 09:19:06 +02:00
Justin M. Keyes
db17d2c0fa
API: Avoid overrun when formatting error-message
...
msgpack_rpc_to_object (called by handle_request .. msgpack_rpc_to_array)
always NUL-terminates API Strings.
But handle_request .. msgpack_rpc_get_handler_for operates on a raw
msgpack_object, before preparation.
2018-09-05 08:04:15 +02:00
Jan Edmund Lazo
9584674569
vim-patch:8.0.1595: no autocommand triggered before exiting
...
Problem: No autocommand triggered before exiting.
Solution: Add the ExitPre autocommand event.
12a96de430
2018-09-04 22:40:48 -04:00
Jan Edmund Lazo
b6e83ba284
vim-patch:8.1.0334: 'autowrite' takes effect when buffer is not to be written
...
Problem: 'autowrite' takes effect when buffer is not to be written.
Solution: Don't write buffers that are not supposed to be written. (Even Q
Jones, closes vim/vim#3391 ) Add tests for 'autowrite'.
8c9e7b00f6
2018-09-04 22:40:48 -04:00
Jan Edmund Lazo
4d6ba4d06a
vim-patch:8.0.1190: unusable after opening new window in BufWritePre event
...
Problem: Vim becomes unusable after opening new window in BufWritePre
event.
Solution: Call not_exiting(). (Martin Tournoij, closes vim/vim#2205 )
Also for "2q" when a help window is open. Add a test.
2c33d7bb69
2018-09-04 22:40:48 -04:00
Jan Edmund Lazo
f3c895569d
lint
2018-09-04 21:33:39 -04:00
Jan Edmund Lazo
d29b71a1de
ex_cmds: const variables in find_help_tags()
...
keep_lang (param) is bool.
2018-09-04 21:32:08 -04:00
Jan Edmund Lazo
9d7dc49db1
vim-patch:8.1.0235: more help tags that jump to the wrong location
...
Problem: More help tags that jump to the wrong location.
Solution: Add more exceptions and a table for "expr-" tags. (Hirohito
Higashi)
3bf5e6a4c8
2018-09-04 21:16:34 -04:00
Jan Edmund Lazo
106b308ed4
vim-patch:8.0.1792: MS-Windows users expect -? to work like --help
...
Problem: MS-Windows users expect -? to work like --help.
Solution: Add -?. (Christian Brabandt, closes vim/vim#2867 )
c3e81694fc
Include runtime/ changes from 85eee130f4 to pass 8.1.0231 tests.
2018-09-04 21:16:34 -04:00
Jan Edmund Lazo
24b16ed35e
vim-patch:8.1.0231: :help -? goes to help for -+
...
Problem: :help -? goes to help for -+.
Solution: Add -? to list of special cases. (Hirohito Higashi)
a5bc38b8c1
2018-09-04 21:16:34 -04:00
Jan Edmund Lazo
5c90bbae2a
vim-patch:8.0.1383: local additions in help skips some files
...
Problem: Local additions in help skips some files. (joshklod)
Solution: Check the base file name length equals.
35c5e8155d
2018-09-04 21:16:34 -04:00
Jan Edmund Lazo
d4cc4e0871
vim-patch:8.0.0998: strange error when using K while only spaces are selected
...
Problem: Strange error when using K while only spaces are selected.
(Christian J. Robinson)
Solution: Check for blank argument.
a4f99f5a8b
2018-09-04 21:16:34 -04:00
Jan Edmund Lazo
96b3dbcea5
lint
2018-09-04 10:00:17 -04:00
Jan Edmund Lazo
3b744f1ea2
vim-patch:8.1.0052: when mapping to <Nop> times out the next mapping is skipped
...
Problem: When a mapping to <Nop> times out the next mapping is skipped.
Solution: Reset "timedout" when waiting for a character. (Christian
Brabandt, closes vim/vim#2921 )
83f4cbd973
2018-09-04 10:00:17 -04:00
Jan Edmund Lazo
efa132da82
vim-patch:8.0.1048: no test for what 8.0.1020 fixes
...
Problem: No test for what 8.0.1020 fixes.
Solution: Add test_feedinput(). Add a test. (Ozaki Kiichi, closes vim/vim#2046 )
5e80de3f3e
2018-09-04 10:00:17 -04:00
Jan Edmund Lazo
c87510b0e8
vim-patch:8.0.1020: when a timer calls getchar(1) input is overwritten
...
Problem: When a timer calls getchar(1) input is overwritten.
Solution: Increment tb_change_cnt in inchar(). (closes vim/vim#1940 )
0f0f230012
2018-09-04 10:00:17 -04:00
Justin M. Keyes
90519107f2
Merge #8921 'highlight: Fix after-EOL matches at cursor'
2018-09-04 07:05:20 +02:00
Ricky Zhou
6c3b0fb831
vim-patch:8.1.0344: 'hlsearch' highlighting has a gap after /$
...
Problem: 'hlsearch' highlighting has a gap after /$.
Solution: Remove suspicious code. (Ricky Zhou, closes vim/vim#3400 )
7ee3f15b21
2018-09-03 03:13:03 -07:00
Jan Edmund Lazo
3e1daa84e9
oldtests: win: fix pathsep in :mkview test
2018-09-03 00:10:13 -04:00
Jan Edmund Lazo
6deddb26de
vim-patch:8.1.0336: mkview test still fails on CI
...
Problem: mkview test still fails on CI.
Solution: Ignore curswant, don't see another solution.
dd5d18eadf
2018-09-02 23:35:02 -04:00
Jan Edmund Lazo
d7432145ff
vim-patch:8.1.0335: mkview test fails on CI
...
Problem: mkview test fails on CI.
Solution: Attempt to force recomputing curswant after folding.
2bf4fe07b6
2018-09-02 23:33:56 -04:00
Jan Edmund Lazo
bd7371f460
vim-patch:8.1.0333: :mkview does not restore cursor properly after "$"
...
Problem: :mkview does not restore cursor properly after "$". (Dominique
Pelle)
Solution: Position the cursor with "normal! $".
92c1b69641
2018-09-02 23:30:42 -04:00
Jan Edmund Lazo
5c9cd009e1
vim-patch:8.1.0331: insufficient test coverage for :mkview and :loadview
...
Problem: Insufficient test coverage for :mkview and :loadview.
Solution: Add tests. (Dominique Pelle, closes vim/vim#3385 )
627cb6a6b3
2018-09-02 21:12:09 -04:00
ZviRackover
a3549286b2
lint: clean-up after parent commits
2018-08-31 22:47:50 +03:00
ZviRackover
1015aa6ff3
Remove has_mbytes from lines local to parent commit
2018-08-31 22:47:49 +03:00
ZviRackover
1c03a06487
Refactor: remove mb_ptr2len_len, mb_ptr2cells and mb_ptr2cells_len
...
Remove occurences of these macros.
2018-08-31 22:45:10 +03:00
Justin M. Keyes
e30ccd56d9
shell.c: fix scan-build NPE warning #8932
2018-08-29 22:00:38 +02:00
Tapan Prakash
c5c3b0b8f9
Fix dead assignment.
2018-08-29 16:54:21 +05:30
Justin M. Keyes
17ce06d1c9
Merge #8930 'vim-patch:8.1.0022'
2018-08-29 08:11:16 +02:00
Jan Edmund Lazo
81c2cbe099
getchar: fix {read,copy,start}_redo() params
...
Update function signature as follows:
- read_redo(bool, bool)
- copy_redo(bool)
- start_redo(long, bool)
2018-08-29 00:27:07 -04:00
Jan Edmund Lazo
9fab77c7fb
globals: cmd_silent is bool
2018-08-29 00:17:30 -04:00
Jan Edmund Lazo
7c38f60b3b
vim-patch:8.1.0022: repeating put from expression register fails
...
Problem: Repeating put from expression register fails.
Solution: Re-evaluate the expression register. (Andy Massimino,
closes vim/vim#2945 )
833093bfb0
2018-08-29 00:08:15 -04:00
Justin M. Keyes
461d46d8ac
Merge #8863 'refactor: Remove mb_head_off()'
2018-08-28 23:43:04 +02:00
Justin M. Keyes
a2403a0ed9
Merge #8863 'refactor: Remove mb_head_off() '
2018-08-28 23:37:30 +02:00
Justin M. Keyes
885ca3b7a6
Merge #8929 from janlazo/vim-8.0.0983
2018-08-28 22:39:02 +02:00
Jan Edmund Lazo
2996179482
lint
2018-08-28 16:09:26 -04:00
Jan Edmund Lazo
60f1acd0ef
ex_cmds2: checkall in dialog_changed() is bool
2018-08-28 16:01:16 -04:00
Justin M. Keyes
5a1c93584f
vim-patch:8.1.0214 fixup: remove feature-guard
...
FEAT_AUTOCHDIR is not defined for Nvim.
ref #8927
2018-08-28 21:49:41 +02:00
Vivek R
87904ae3c4
vim-patch:8.1.0214 ( #8927 )
...
Problem: +autochdir feature not reported by has() or :version.
Solution: Add the feature in the list.
Author: Bram Moolenaar <Bram@vim.org >
83ec2a7f5f
2018-08-28 21:41:30 +02:00
Jan Edmund Lazo
3dffc842fe
vim-patch:8.0.0983: unnecessary check for NULL pointer
...
Problem: Unnecessary check for NULL pointer.
Solution: Remove the NULL check in dialog_changed(), it already happens in
dialog_msg(). (Ken Takata)
3f9a1ff141
2018-08-28 15:41:15 -04:00
Jan Edmund Lazo
0a77dc7e05
options: do not use gettext for +printheader ( #8928 )
...
It is not translatable as of vim-patch:8.0.1001.
2018-08-28 21:33:32 +02:00
Daniel Hahler
643ef257b3
API: nvim_unsubscribe(): Handle unknown events #8745
...
close #8745
2018-08-28 10:20:19 +02:00
Jan Edmund Lazo
10e885bdfc
vim-patch:8.0.1001: setting 'encoding' makes 'printheader' invalid ( #8925 )
...
Problem: Setting 'encoding' makes 'printheader' invalid.
Solution: Do not translate the default value of 'printheader'. (Yasuhiro
Matsumoto, closes vim/vim#2026 )
0903d56f5c
2018-08-28 08:51:22 +02:00
Björn Linse
03978a0f29
ext_cmdline: use new highlight representation for cmdline_block
...
Make sure cmdline updates will receive highlight specifications the same
way as screen cells. This is controlled by the ext_newgrid option so
nothing is changed by default (as screen cells are also not changed by
default). This was already done for the cmdline itself in #8221 , this
extends it to cmdline_block. Which currently doesn't store highlights,
but the placeholder should be one that makes sense for future use.
2018-08-27 11:51:52 +02:00
Jan Edmund Lazo
cbc8c0c625
vim-patch:8.1.0322: Test_copy_winopt() does not restore 'hidden' ( #8918 )
...
Problem: Test_copy_winopt() does not restore 'hidden'.
Solution: Restore the option, fix indent. (Ozaki Kiichi, closes vim/vim#3367 )
7cb33a14c9
2018-08-27 01:14:33 +02:00
Jan Edmund Lazo
246fa3e81d
oldtests: comment out test for 'set cpo+=.'
...
nvim does not support POSIX cpoptions.
2018-08-26 14:41:50 -04:00