Marco Hinz
5510361a8c
vim-patch:8.1.0493: argv() and argc() only work on the current argument list
...
Problem: argv() and argc() only work on the current argument list.
Solution: Add a window ID argument. (Yegappan Lakshmanan, closes vim/vim#832 )
e6e3989c1b
2019-04-04 20:24:39 +02:00
Marco Hinz
6b75d9f865
vim-patch:8.1.0218: cannot add matches to another window
...
Problem: Cannot add matches to another window. (Qiming Zhao)
Solution: Add the "window" argument to matchadd() and matchaddpos().
(closes vim/vim#3260 )
95e51470f1
2019-04-04 20:24:39 +02:00
Justin M. Keyes
fb555c6898
coverity/183543: Null pointer dereference #9836
...
Window may disappear, see e7e2115de5
.
2019-04-03 11:33:16 +02:00
Marco Hinz
d9de4c0efb
vim-patch:8.1.1072: extending sign and foldcolumn below the text is confusing ( #9816 )
...
Problem: Extending sign and foldcolumn below the text is confusing.
Solution: Let the sign and foldcolumn stop at the last text line, just like
the line number column. Also stop the command line window leader.
(Christian Brabandt)
8ee4c01b8c
Closes https://github.com/neovim/neovim/issues/9613
2019-04-03 10:48:47 +02:00
Justin M. Keyes
c395cf018d
Merge #9823 from mhinz/vim-8.1.1093
...
vim-patch:8.1.{1093,1094,1100}
2019-04-03 00:30:24 +02:00
Justin M. Keyes
5134b22ac5
Merge #9831 from janlazo/vim-8.0.0681
...
vim-patch:8.0.0681,8.1.{118,119}
2019-04-02 22:36:45 +02:00
Marco Hinz
a79c0c8f7a
vim-patch:8.1.1100: tag file without trailing newline no longer works
...
Problem: Tag file without trailing newline no longer works. (Marco Hinz)
Solution: Don't expect a newline at the end of the file.
fd700393be
2019-04-02 22:20:53 +02:00
Marco Hinz
e05a47f68b
vim-patch:8.1.1094: long line in tags file causes error
...
Problem: Long line in tags file causes error.
Solution: Check for overlong line earlier. (Andy Massimino)
5209334c55
2019-04-02 22:20:53 +02:00
Marco Hinz
2a73549ee8
vim-patch:8.1.1093: support for outdated tags format slows down tag parsing
...
Problem: Support for outdated tags format slows down tag parsing.
Solution: Remove FEAT_TAG_OLDSTATIC.
96428dd4e9
2019-04-02 22:20:53 +02:00
Jan Edmund Lazo
ed8b4987b7
lint
2019-04-02 07:12:52 -04:00
Justin M. Keyes
8eaa452073
Merge #9516 from erw7/improve-executable-on-windows
...
Improve executable() and exepath() on windows
2019-04-02 12:40:36 +02:00
Jan Edmund Lazo
42e1e2495c
oldtests: set shellslash for Test_non_zero_arg
2019-04-01 23:28:16 -04:00
Jan Edmund Lazo
d00e913ea6
vim-patch:8.1.0119: failing test goes unnoticed because messages is not written
...
Problem: Failing test goes unnoticed because testdir/messages is not
written.
Solution: Set 'nomodifiable' only local to the buffer.
ec12d64909
2019-04-01 21:48:35 -04:00
Jan Edmund Lazo
773086388d
vim-patch:8.1.0118: duplicate error message for put command
...
Problem: Duplicate error message for put command.
Solution: Check return value of u_save(). (Jason Franklin)
f52f9ea8f5
2019-04-01 21:48:01 -04:00
Jan Edmund Lazo
8843928e10
vim-patch:8.0.0681: unnamed register only contains the last deleted text
...
Problem: Unnamed register only contains the last deleted text when
appending deleted text to a register. (Wolfgang Jeltsch)
Solution: Only set y_previous when not using y_append. (Christian Brabandt)
18d90b95c4
2019-04-01 21:29:59 -04:00
Justin M. Keyes
c7039fd0d3
test: "$PATHEXT=::"
2019-04-02 01:28:11 +02:00
Abdelhakeem Osama
35362495c9
jumplist: avoid extra tail entry #9805
...
fixes #9775
2019-04-02 00:50:28 +02:00
erw7
70a0a12b53
fs.c: fix is_executable_ext()
...
- Corresponds to the case where pathext contains a zero-length
extension.
- Remove unnecessary break statements.
- Fix function attributes.
2019-04-02 05:08:40 +09:00
Justin M. Keyes
a011f8a321
Merge #9827 from justinmk/fix-warnings
2019-04-01 21:59:21 +02:00
erw7
a062d307fb
[ci skip] fs.c: fix comment
2019-04-01 23:36:16 +09:00
erw7
e62f4cc122
fs.c: Move sh check of is_executable_ext to outside of loop
2019-04-01 22:14:33 +09:00
erw7
cc6d3f7903
fs.c: Simplify calling is_executable_ext
2019-04-01 20:37:10 +09:00
erw7
ece8d88b10
test/win: Remove unnecessary set shell
2019-04-01 19:47:58 +09:00
erw7
a7cc18e563
fs.c: fix is_executable_ext
...
- Fix the problem of checking the extension in a UNIX like shell.
- Fix the problem of not checking the existence of the file when the
pathext contains an extension.
2019-04-01 19:29:12 +09:00
Justin M. Keyes
7d61b2f64f
fs.c: eliminate is_extension_executable
...
Add this functionality to is_executable_ext() instead.
2019-04-01 03:13:11 +02:00
Justin M. Keyes
4b25c2b4e8
is_extension_executable: simplify check for unix-style shell
...
mch_expand_wildcards does it this way, it's probably good enough.
2019-04-01 03:13:11 +02:00
erw7
692b83fc92
is_extension_executable: simplify
...
Simplify method of determining search position of the extension.
2019-04-01 03:13:11 +02:00
erw7
70ac7c876b
cleanup: PATHEXT function
2019-04-01 03:13:11 +02:00
erw7
3be5aa1a34
test/win: executable(), exepath() #9516
2019-04-01 03:13:11 +02:00
erw7
35c2ceba96
win: exepath(): append extension if omitted
...
fixes #9403
2019-04-01 03:13:11 +02:00
Justin M. Keyes
acdcae6b1e
PVS/V560: expression is always true
2019-04-01 03:07:24 +02:00
Justin M. Keyes
cf4e14c746
clang/"null pointer dereference": insert_execute
2019-04-01 03:05:02 +02:00
Justin M. Keyes
e32c9f888b
clang/"result is garbage/undefined": win_close
...
win_free_mem: set `dirp` to a dummy value.
2019-04-01 02:57:43 +02:00
erw7
6be483b6ad
win: executable(): also check extension
2019-04-01 00:14:35 +02:00
erw7
519b93d236
win: executable(): fix relative path bug
...
Qualified (i.e. dot-prefixed) relative paths should only search CWD, not
$PATH.
2019-04-01 00:14:35 +02:00
Olivier G-R
d13803f64f
keymap, terminal: more keycodes #9810
...
- input: recognize <kEqual>, <kComma>
- terminal.c: If we need to support function key, a change must be made
in libvtermkey. Currently, it emulates strictly VT220 terminal, and
returning numeric value in 'normal' mode is the expected behaviour.
closes #9810
2019-03-31 23:39:06 +02:00
Justin M. Keyes
f793c578bc
Merge #9822 from janlazo/vim-8.1.1073
...
vim-patch:8.1.{1073,1074,1082,1087}
2019-03-31 20:58:36 +02:00
Jan Edmund Lazo
13f4d4fb6e
vim-patch:8.1.1087: tag stack is incorrect after CTRL-T and then :tag
...
Problem: tag stack is incorrect after CTRL-T and then :tag
Solution: Handle DT_TAG differently. (test by Andy Massimino, closes vim/vim#3944 ,
closes vim/vim#4177 )
7559dcef6c
2019-03-31 12:59:48 -04:00
Jan Edmund Lazo
3ae3d80bfb
vim-patch:8.1.1082: "Conceal" match is mixed up with 'hlsearch' match.
...
Problem: "Conceal" match is mixed up with 'hlsearch' match.
Solution: Check that a match is found, not a 'hlsearch' item. (Andy
Massimino, closes vim/vim#4073 )
ab62c19ea0
2019-03-31 12:40:54 -04:00
Jan Edmund Lazo
be762a1b6f
vim-patch:8.1.1074: Python test doesn't wipe out hidden buffer
...
Problem: Python test doesn't wipe out hidden buffer.
Solution: Wipe out the buffer. (Ben Jackson, closes vim/vim#4189 )
bfd3603670
2019-03-31 12:40:54 -04:00
Jan Edmund Lazo
c5db02d792
vim-patch:8.1.1073: space in number column is on wrong side with 'rightleft' set
...
Problem: Space in number column is on wrong side with 'rightleft' set.
Solution: Move the space to the text side. Add a test.
e73f911c53
2019-03-31 12:40:54 -04:00
Justin M. Keyes
157034bd6c
Merge #9812 from janlazo/vim-8.0.1153
2019-03-31 16:32:23 +02:00
Marco Hinz
4c4a570156
Merge #9807 from mhinz/window-local-last-cursormoved
2019-03-31 15:13:38 +02:00
Jan Edmund Lazo
f772117b55
eval: diff_hlID() and hlID() return same id
2019-03-31 09:01:40 -04:00
Jan Edmund Lazo
1782550bfe
vim-patch:8.0.1153: no tests for diff_hlID() and diff_filler()
...
Problem: No tests for diff_hlID() and diff_filler().
Solution: Add tests. (Dominique Pelle, closes vim/vim#2156 )
97fbc404fc
2019-03-31 08:31:38 -04:00
Jan Edmund Lazo
11f03ee3f3
vim-patch:8.1.1095: win: executable() on very long name #9820
...
Problem: MS-Windows: executable() fails on very long filename.
Solution: (Ken Takata, closes vim/vim#4015 )
8662189736
2019-03-31 13:29:16 +02:00
Qiming zhao
9e52255de2
autocmd: rename MenuPopupChanged to CompleteChanged #9819
2019-03-31 01:15:41 +01:00
Gabriel Cruz
c76494d8b7
vim-patch:8.0.0705: check did_throw before discarding exception #9808
...
Problem: Crash when there is an error in a timer callback. (Aron Griffis,
Ozaki Kiichi)
Solution: Check did_throw before discarding an exception. NULLify
current_exception when no longer valid.
cae24be4a8
2019-03-30 22:28:19 +01:00
Justin M. Keyes
2bdc7cac8b
vim-patch:8.1.1088: height of quickfix window not retained with vertical split ( #9818 )
...
Problem: Height of quickfix window not retained with vertical split.
Solution: Use frame_fixed_height() and frame_fixed_width(). (Hongbo Liu,
closes vim/vim#4013 , closes vim/vim#2998 )
9e1e358d37
closes #3608
2019-03-30 22:20:08 +01:00
Raphaël Colin
104a40463a
vim-patch:8.0.0629: set starting
earlier
...
The patch is N/A but we include it for consistency.
closes #9814
---
Problem: Checking for ambigous width is not working. (Hirohito Higashi)
Solution: Reset "starting" earlier.
6b1da3312e
2019-03-30 22:18:18 +01:00