Justin M. Keyes
d9fcd43638
Merge #8967 'vim-patch:8.0.1781'
2018-09-10 09:24:16 +02:00
Andrzej Pacanowski
0c80fead86
vim-patch:8.0.1781: file names in quickfix window are not shortened
...
Problem: File names in quickfix window are not always shortened.
Solution: Shorten the file name when opening the quickfix window. (Yegappan
Lakshmanan, closes vim/vim#2851 , closes vim/vim#2846 )
a796d46f29
2018-09-10 06:45:13 +02:00
Jan Edmund Lazo
39ab7cc6fb
vim-patch:8.0.1378: autoload script sources itself when defining function
...
Problem: Autoload script sources itself when defining function.
Solution: Pass TFN_NO_AUTOLOAD to trans_function_name(). (Yasuhiro
Matsumoto, closes vim/vim#2423 )
3388d33457
2018-09-09 20:30:32 -04:00
Jan Edmund Lazo
3fd9ffd368
vim-patch:8.0.1377: cannot call a dict function in autoloaded dict
...
Problem: Cannot call a dict function in autoloaded dict.
Solution: Call get_lval() passing the read-only flag.
6e65d594aa
2018-09-09 18:12:25 -04:00
Justin M. Keyes
bbbed9fc66
Merge #8063 from blueyed/vim-8.0.0708
2018-09-09 19:54:27 +02:00
Jan Edmund Lazo
dd0dd4d78d
vim-patch:8.0.1115: crash when using foldtextresult() recursively ( #8972 )
...
Problem: Crash when using foldtextresult() recursively.
Solution: Avoid recursive calls. (Yasuhiro Matsumoto, closes vim/vim#2098 )
495b7dd213
2018-09-09 19:22:10 +02:00
Justin M. Keyes
d47af7f10e
CI/Codecov: disable changes status
...
It fails PRs which otherwise would succeed (e.g. #8971 ), and the Codecov
status page doesn't load, so we can't see what it's complaining about.
Reverts 5c7237640f
ref #8910
2018-09-09 19:12:32 +02:00
Björn Linse
088ae23e4e
ui: flush UI state on exit
2018-09-09 16:42:53 +02:00
Björn Linse
c5790d9189
Merge pull request #8915 from rickyz/line_wrapping
...
Fix terminal line wrapping detection in the TUI.
2018-09-09 12:44:03 +02:00
Justin M. Keyes
e50ff1b2e9
Merge #8970 from janlazo/vim-8.0.0749
2018-09-09 12:37:28 +02:00
Justin M. Keyes
a8bd4de28a
Merge #8969 from janlazo/vim-8.0.1006
2018-09-09 11:29:18 +02:00
ZviRackover
329cfc3303
lint: clean-up after parent commits
2018-09-09 10:45:50 +03:00
ZviRackover
ac13e65ae0
Remove has_mbytes local to lines changed in parent commit
2018-09-09 10:45:50 +03:00
ZviRackover
cbdbc4f63d
Refactor: Remove occurences of mb_char2bytes
2018-09-09 10:45:50 +03:00
Jan Edmund Lazo
49647ae973
digraph: delete code that checks enc_utf8
...
enc_utf8 is always true in nvim.
2018-09-08 23:42:14 -04:00
Jan Edmund Lazo
03bcfb54db
digraph: refactor code that checks has_mbyte
...
has_mbyte is always true in nvim.
2018-09-08 23:42:14 -04:00
Jan Edmund Lazo
95608136d5
tests: update expected output of :digraph command
2018-09-08 22:28:35 -04:00
Jan Edmund Lazo
5f1a5d264a
vim-patch:8.0.0749: some unicode digraphs are hard to remember
...
Problem: Some unicode digraphs are hard to remember.
Solution: Add alternatives with a backtick. (Chris Harding, closes vim/vim#1861 )
816e7660e1
2018-09-08 21:29:47 -04:00
Jan Edmund Lazo
40e894f595
oldtests: win: fix buffer pathsep
2018-09-08 12:25:19 -04:00
Jan Edmund Lazo
3794e83d98
vim-patch:8.0.1040: cannot use another error format in getqflist()
...
Problem: Cannot use another error format in getqflist().
Solution: Add the "efm" argument to getqflist(). (Yegappan Lakshmanan)
3653822546
2018-09-08 11:52:59 -04:00
Jan Edmund Lazo
a8b996160d
lint
2018-09-08 11:31:55 -04:00
Jan Edmund Lazo
213a66441f
vim-patch:8.0.1031: "text" argument for getqflist() is confusing
...
Problem: "text" argument for getqflist() is confusing. (Lcd47)
Solution: Use "lines" instead. (Yegappan Lakshmanan)
2c809b7c7d
2018-09-08 11:31:24 -04:00
Jan Edmund Lazo
1790f81f56
vim-patch:8.0.1029: return value of getqflist() is inconsistent
...
Problem: Return value of getqflist() is inconsistent. (Lcd47)
Solution: Always return an "items" entry.
da73253a0b
2018-09-08 10:43:30 -04:00
Daniel Hahler
fe81b926d3
test_largefile.vim: adjust comment to run it
2018-09-08 16:43:27 +02:00
Daniel Hahler
53eb835e8f
vim-patch:8.0.1326: largefile test fails on CI, glob test on MS-Windows
...
Problem: Largefile test fails on CI, glob test on MS-Windows.
Solution: Remove largefile test from list of all tests. Don't run
Test_glob() on non-unix systems. More cleanup. (Yegappan
Lakshmanan, closes vim/vim#2354 )
6e77df2d85
2018-09-08 16:43:27 +02:00
Daniel Hahler
2c64f01674
vim-patch:8.0.0708: some tests are old style
...
Problem: Some tests are old style.
Solution: Change a few tests from old style to new style. (pschuh,
closes vim/vim#1813 )
292eff0c5a
2018-09-08 16:43:27 +02:00
Jan Edmund Lazo
9bf2741ba4
vim-patch:8.0.1023: it is not easy to identify a quickfix list
...
Problem: It is not easy to identify a quickfix list.
Solution: Add the "id" field. (Yegappan Lakshmanan)
a539f4f1ae
2018-09-08 08:13:48 -04:00
Jan Edmund Lazo
b4acf609ac
vim-patch:8.0.1006: quickfix list changes when parsing text with 'erroformat'
...
Problem: Cannot parse text with 'erroformat' without changing a quickfix
list.
Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
7adf06f4e2
2018-09-07 22:59:12 -04:00
Justin M. Keyes
50eadfe2e9
Merge #8962 from janlazo/vim-8.0.0733
2018-09-07 09:51:59 +02:00
Justin M. Keyes
a9d83e8112
ASAN/LeakSanitizer: fix typo in blacklist
2018-09-07 08:34:34 +02:00
Jan Edmund Lazo
d99a268914
vim-patch:8.0.0922: quickfix list always added after current one
...
Problem: Quickfix list always added after current one.
Solution: Make it possible to add a quickfix list after the last one.
(Yegappan Lakshmanan)
55b6926450
2018-09-07 00:00:22 -04:00
Jan Edmund Lazo
4eb923bfe0
vim-patch:8.0.0904: cannot set a location list from text
...
Problem: Cannot set a location list from text.
Solution: Add the "text" argument to setqflist(). (Yegappan Lakshmanan)
ae33833850
2018-09-06 22:36:49 -04:00
Jan Edmund Lazo
2be853d486
lint
2018-09-06 20:26:30 -04:00
Jan Edmund Lazo
c0d26ba4f9
main: advance in edit_buffers() is bool
2018-09-06 20:25:45 -04:00
Jan Edmund Lazo
cfb2828897
window: refactor boolean variables in win_close()
...
free_buf (param) and help_window (variable) are bool.
2018-09-06 20:24:29 -04:00
Björn Linse
27d755cfd1
Merge pull request #8964 from bfredl/generated-sources
...
cmake: add "generated-sources" target
2018-09-06 21:34:18 +02:00
Björn Linse
9e8f9dd5d4
cmake: add "generated-sources" target
...
This is intended to be used with source introspection tools like
clangd, where it would useful to regenerate headers and source files,
which introspection results depend on, without making a full
rebuild which takes much longer time than just generating headers.
2018-09-06 20:54:53 +02:00
Jan Edmund Lazo
dc15dcffad
vim-patch:8.0.0782: using freed memory in quickfix code
...
Problem: Using freed memory in quickfix code. (Dominique Pelle)
Solution: Handle a help window differently. (Yegappan Lakshmanan)
d28cc3f55d
2018-09-06 06:15:35 -04:00
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
5de6f97408
Merge #8961 from ZyX-I/fix-8956
2018-09-06 01:30:53 +02:00
ZyX
a9fa66b5b8
functests: Add tests
2018-09-06 02:12:36 +03:00
ZyX
b728aad212
runtime/msgpack: Fix inf/nan regexp
...
Not making minus sign optional as inf/nan without optional minus should’ve
already been handled by the very first case.
2018-09-06 02:12:36 +03:00
Justin M. Keyes
51d42917f0
test/win: job_spec: increase jobwait() timeout
...
powershell is slow, and this timeout is "worst case" so it doesn't make
the tests more costly, only avoids a false-positive.
close #8958
2018-09-05 22:05:05 +02: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
8b76034f3b
Merge #8931 from justinmk/api-error-overrun
2018-09-05 08:37:46 +02:00
Justin M. Keyes
608ff261ad
test: API validation: assert exact string
...
expect_err() matches against a pattern. Terminate the pattern with "$"
to check against buffer overrun.
ref #8931
2018-09-05 08:04:15 +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