Justin M. Keyes
bc6a3fe784
log: caller provides the source details
2017-07-23 15:01:31 +02:00
ckelsel
b656159fcf
vim-patch:8.0.0073
...
Problem: More comparisons between firstwin and lastwin.
Solution: Use ONE_WINDOW for consistency. (Hirohito Higashi)
459ca56312
2017-07-23 11:25:39 +08:00
ckelsel
ad07e9c7fc
vim-patch:8.0.0069
...
Problem: Compiler warning for self-comparison.
Solution: Define ONE_WINDOW and add vim/vim#ifdef.
a1f4cb93ba
2017-07-23 10:34:41 +08:00
Justin M. Keyes
502af39f62
log: channel registration
2017-07-22 21:26:03 +02:00
Justin M. Keyes
13f5bc9586
log: all UI events, not just UI-bridge
...
Rename ui_bridge.c:UI_CALL to UI_BRIDGE_CALL.
2017-07-22 21:26:03 +02:00
KunMing Xie
253f6f3bbf
vim-patch:8.0.0038 ( #7051 )
...
Problem: OPEN_CHR_FILES not defined for FreeBSD using Debian userland
files.
Solution: Check for __FreeBSD_kernel__. (James McCoy, closes vim/vim#1166 )
ca291aec99
2017-07-22 19:04:45 +02:00
KunMing Xie
8fb599029f
vim-patch:8.0.0031 ( #7050 )
...
Problem: After ":bwipeout" 'fileformat' is not set to the right default.
Solution: Get the default from 'fileformats'. (Mike Williams)
e8ef3a0934
2017-07-22 19:03:15 +02:00
KunMing Xie
962e8cc1dd
vim-patch:8.0.0052 ( #7057 )
...
Problem: Conceal test passes even without the bug fix.
Solution: Add a redraw command. (Christian Brabandt)
35a1f59d63
2017-07-22 18:59:14 +02:00
James McCoy
4bcc70b2b5
Merge pull request #7045 from jbradaric/vim-8.0.0085
...
vim-patch:8.0.0085
2017-07-20 09:46:32 -04:00
Jurica Bradaric
710546c5e9
vim-patch:8.0.0085
...
Problem: Using freed memory with recursive function call. (Dominique Pelle)
Solution: Make a copy of the function name.
8a01f969c1
2017-07-20 12:57:08 +02:00
James McCoy
c40093f47a
Merge pull request #7027 from lonerover/vim-8.0.0003
...
vim-patch:8.0.0003
2017-07-19 06:48:16 -04:00
lonerover
b98ea04226
vim-patch:8.0.0003
...
Problem: getwinvar() returns wrong Value of boolean and number options,
especially non big endian systems. (James McCoy)
Solution: Cast the pointer to long or int. (closes vim/vim#1060 )
789a5c0e3d
2017-07-19 11:48:10 +08:00
ZyX
0a46ae3c0a
functests: Add sleep to <C-c> test
2017-07-18 01:29:41 +03:00
ZyX
740dcaef0d
ex_getln: Avoid GCC “unused variable” warning from QB
...
17:25:45,363 WARN - /home/quickbuild/buildagent/workspace/root/neovim/pull-requests-automated/src/nvim/ex_getln.c: In function ‘color_cmdline’:
17:25:45,363 WARN - /home/quickbuild/buildagent/workspace/root/neovim/pull-requests-automated/src/nvim/ex_getln.c:2335:8: error: variable ‘printed_errmsg’ set but not used [-Werror=unused-but-set-variable]
17:25:45,363 WARN - bool printed_errmsg = false;
17:25:45,363 WARN - ^
17:25:45,399 WARN - cc1: all warnings being treated as errors
2017-07-18 01:25:55 +03:00
ZyX
25c6ac1af6
*: Fix clint errors
2017-07-18 01:21:23 +03:00
ZyX
25f669049c
functests: Test input() nesting support
2017-07-18 01:17:59 +03:00
ZyX
759f71d50e
functests: Check for previously unchecked errors
2017-07-18 00:34:39 +03:00
ZyX
8a581b918b
ex_getln: Check prev_prompt_errors before running redrawcmdline
...
Otherwise there will be infinite recursion and shortly a crash. Running
redrawcmdline recursively occurs under color_cmdline_error label.
2017-07-18 00:20:21 +03:00
ZyX
cfb1d937a6
api helpers: Also save and restore did_emsg
2017-07-18 00:08:57 +03:00
Andy Russell
26124b4800
provider/clipboard.vim: fix logic issue #7042
...
Closes #7039
2017-07-17 17:20:37 +02:00
Justin M. Keyes
d0537961c1
Merge #7040 'vim-patch:8.0.{0017,0026,0078,0079,0084}'
2017-07-17 16:54:17 +02:00
KunMing Xie
24a0d4e122
vim-patch:8.0.0004 ( #7044 )
...
Problem: A string argument for function() that is not a function name
results in an error message with NULL. (Christian Brabandt)
Solution: Use the argument for the error message.
5582ef1438
2017-07-17 16:38:03 +02:00
ZyX
3a923ad2db
ex_getln: Replace global with entry in save_ccline
2017-07-17 02:33:18 +03:00
ZyX
cb3c71eac9
doc: Adjust documentation a bit
...
2 spaces after sentense ends, clarify what will be highlighted.
2017-07-17 02:32:32 +03:00
ZyX
dc0a496d41
ex_getln: Do not do useless try_enter/try_leave calls
...
These are actually needed for two modes only. And even for these modes they
should eventually go away.
2017-07-17 01:57:27 +03:00
ZyX
f4744e1821
ex_getln: Do not goto color_cmdline_end without first cleaning up
...
The issue with debug mode was actually not cleaning up after `try_enter`:
location `&tstate` was pointing to got invalidated and received some “garbage”
(actually, values that got stored on the stack afterwards). But pointer to that
garbage was still stored in `msg_list`, so next attempt to check it resulted in
a crash.
2017-07-17 01:55:10 +03:00
Jurica Bradaric
9cf0415761
vim-patch:8.0.0025
...
Problem: Inconsistent use of spaces vs tabs in gd test.
Solution: Use tabs. (Anton Lindqvist)
936c48f8ca
2017-07-16 21:43:42 +02:00
Jurica Bradaric
9ffa22b7ef
vim-patch:8.0.0023
...
Problem: "gd" and "gD" may find a match in a comment or string.
Solution: Ignore matches in comments and strings. (Anton Lindqvist)
226630a030
2017-07-16 21:43:06 +02:00
ZyX
2a6423eba7
api helpers: Save/restore more values in try_enter/try_leave
...
This fixes memory leak reported by ASAN. This also somehow fixes test40, though
I have no idea why except that that test yields memory leak report.
2017-07-16 22:03:31 +03:00
ZyX
3660535f02
oldtests: Use $(TOOL) in place of $(VALGRIND)
2017-07-16 21:17:24 +03:00
Justin M. Keyes
a76da96e86
Merge #7028 from fmoralesc/vimtutor-disentangle2
...
Closes #4533
Closes #6389
Closes #4913
Closes #7005
2017-07-16 18:19:41 +02:00
Felipe Morales
3241bce611
tutor: reorganize
2017-07-16 12:10:49 -04:00
Jurica Bradaric
e29ec131d6
vim-patch:8.0.0084
...
Problem: Using freed memory when adding to a quickfix list. (Domenique
Pelle)
Solution: Clear the directory name.
7618e00d3b
2017-07-16 17:48:50 +02:00
Jurica Bradaric
875c356a83
vim-patch:8.0.0079
...
Problem: Accessing freed memory in quickfix. (Domenique Pelle)
Solution: Do not free the current list when adding to it.
2b946c9f9b
2017-07-16 17:48:50 +02:00
Jurica Bradaric
ffa2e43549
vim-patch:8.0.0078
...
Problem: Accessing freed memory in quickfix.
Solution: Reset pointer when freeing 'errorformat'. (Domenique Pelle)
63bed3d319
2017-07-16 17:48:50 +02:00
Jurica Bradaric
c00300ecdd
vim-patch:8.0.0026
...
Problem: Error format with %W, %C and %Z does not work. (Gerd Wachsmuth)
Solution: Skip code when qf_multiignore is set. (Lcd)
9b45794818
2017-07-16 17:48:50 +02:00
Jurica Bradaric
33efad7dbc
vim-patch:8.0.0017
...
Problem: Cannot get the number of the current quickfix or location list.
Solution: Use the current list if "nr" in "what" is zero. (Yegappan
Lakshmanan) Remove debug command from test.
890680ca63
2017-07-16 17:48:50 +02:00
Andy Russell
4dee942e73
provider/clipboard.vim: capture/display errors ( #6684 )
...
TODO: handle errors in the `get`. systemlist() should take an
options dictionary like jobstart(), which may specify a stderr handler.
References #6565
2017-07-15 20:51:51 +02:00
Justin M. Keyes
d8fe63199f
intro: change byline to "by al." ( #6984 )
...
Several people have suggested that the "by Bram" byline is misleading,
it implies that Bram is actively involved with the project. Up to now we
left it as an homage.
Bram agreed that it is misleading, and suggested a mention somewhere
other than the intro.
2017-07-15 18:13:49 +02:00
Justin M. Keyes
d72db1ac8f
test: mouse_spec: remove obnoxious wait times ( #7029 )
...
helpers.skip_fragile() already skips the problematic tests
on the ASan build. But the 15s timeout plus 5s 'mousetime'
cause the tests to take 1+ minutes anyways.
2017-07-15 18:00:00 +02:00
ZyX
69719e658c
Merge branch 'master' into colored-cmdline
2017-07-15 18:56:45 +03:00
Felipe Morales
37af859930
tutor: update syntax
...
sampletext regions no longer supported
make sure tutorExpect is available
don't conceal code region delimiters
2017-07-15 11:01:45 -04:00
Felipe Morales
8e48d7c19e
tutor: disable old method for setting "expect" regions
...
tutor: remove movement mappings
2017-07-15 11:01:45 -04:00
Felipe Morales
cb0282ad98
tutor: update tutor-mode tutorial
2017-07-15 11:01:45 -04:00
Felipe Morales
c235ee3f05
tutor: don't enable folds by default
2017-07-15 11:01:45 -04:00
Felipe Morales
ec67d07065
tutor: allow metadata to exist outside of the documents.
...
this makes 'expect' regions simpler to handle.
2017-07-15 11:01:45 -04:00
Felipe Morales
2dc5b141da
tutor: some tweaks to begginer's tutorial
2017-07-15 11:01:44 -04:00
DarkDefender
8898793ade
tui: Do not override 'termguicolors' choice ( #7004 )
...
* Do not guard true color support with white list
* Remove ext_bool (it is unused)
Closes #7003
2017-07-15 16:36:45 +02:00
Justin M. Keyes
d15317ece4
health.vim: fix test
2017-07-15 16:15:47 +02:00
Justin M. Keyes
72c38b5cd5
health.vim: validate g:clipboard
...
Closes #7020
Also fix 'iskeyword' setting, which I fumbled in
440133e0d5
2017-07-15 15:19:01 +02:00