James McCoy
b9da0bd2c5
Merge branch 'jamessan/vim-019b9c6'
2016-09-23 11:34:58 -04:00
James McCoy
dabf009283
vim-patch:019b9c6
...
Add new test file.
019b9c644e
The file was already added in 8c1fb99d2d
.
This commit just informs vim-patch.sh about the inclusion.
[ci skip]
2016-09-23 11:28:38 -04:00
Justin M. Keyes
e6d32c1010
ci: .travis.yml: Upgrade to macOS 10.11 / xcode7.3 ( #5378 )
...
Update to a recent, but not bleeding-edge, version of macOS and xcode.
At present, travis defaults to OS X 10.9.5 / Xcode 6.1.
QuickBuild runs macOS 10.10.
2016-09-23 17:06:54 +02:00
Justin M. Keyes
3c53371b0c
Merge #4972 from justinmk/schedule-ui_refresh
...
Schedule ui_refresh
2016-09-23 12:31:05 +02:00
Justin M. Keyes
b94891421a
ui_detach: Schedule refresh on main loop.
...
Closes #4163
2016-09-22 20:04:32 +02:00
Justin M. Keyes
e54c0ab367
test: api_spec
...
This is an (unsuccessful) attempt to cover #4163 .
It covers other behavior, so it's worth keeping.
2016-09-22 20:04:32 +02:00
James McCoy
7307096c5e
Merge pull request #5369 from jamessan/vim-patch-preprocessing
...
vim-patch: Group alternations in preprocess_patch
2016-09-22 08:11:13 -04:00
James McCoy
9d170a493e
vim-patch: Group alternations in preprocess_patch
...
Without the groupings, only the first alternation matches the diff
marker. For example,
local na_doc='todo\.txt\|version\d\.txt\|tags'
... +'g^diff --git a/runtime/doc/'${na_doc}'...
becomes, after expansion,
... +'g^diff --git a/runtime/doc/todo\.txt\|version\d\.txt\|tags'...
so the matches become "^diff --get a/runtime/doc/todo\.txt",
"version\d\.txt", or "tags". Adding the grouping ensures the expected
behavior of requiring "^diff --get a/runtime/doc/" before every
filename.
2016-09-22 07:16:50 -04:00
James McCoy
e2ad3fbf27
runtest.vim: Fix spelling of (s:)messages
2016-09-21 15:39:18 -04:00
James McCoy
66fa1538ed
Merge pull request #5368 from jamessan/vim-7.4.1309
...
vim-patch:7.4.1309
2016-09-21 13:04:36 -04:00
James McCoy
7063dd9d64
vim-patch:7.4.1309
...
Problem: When a test fails not all relevant info is listed.
Solution: Add the errors to the messages.
00af60bbb6
7.4.1309 was incorrectly marked as applied in #4301 . 7.4.1477 relies on
some of the changes that had been made in 7.4.1309, so this fixes the
build after I, pre-emptively, merged #5038 .
2016-09-21 12:09:41 -04:00
James McCoy
6cf24be295
Merge pull request #5038 from prollings/vim-7.4.1477
...
vim-patch:7.4.1477
2016-09-21 10:06:22 -04:00
Anatolii Sakhnik
baf91a455c
l10n: Update Ukrainian translation ( #5343 )
2016-09-20 18:43:26 -04:00
Justin M. Keyes
bba6315580
Merge #5362 from justinmk/testcleanup
...
test: helpers.rmdir(): retry+sleep on failure
2016-09-20 12:32:42 +02:00
Justin M. Keyes
911421d328
test: legacy/012_directory_spec: Also use dot-prefix on Windows.
...
win32 handles dot-prefixed files just fine; Nvim-on-Windows does not
perpetuate the Vim-on-Windows behavior of avoiding dot-prefixed files.
2016-09-20 11:08:14 +02:00
Justin M. Keyes
13e5724621
test/helpers.rmdir(): lfs.rmdir() instead of os.remove()
...
os.remove() fails on empty directories in non-POSIX systems.
https://github.com/keplerproject/luafilesystem/issues/4
lfs.rmdir() "usually" works, so use it instead.
Closes #5236
2016-09-20 11:08:14 +02:00
Justin M. Keyes
764f576d64
test/helpers.rmdir(): Retry once after a delay.
...
Attempt to avoid "Permission denied" on Windows potentially caused by open
filepath handle in sibling process.
2016-09-20 11:08:14 +02:00
James McCoy
efe8311371
Merge pull request #4739 from brcolow/vim-7.4.1266
...
vim-patch 7.4.1266
2016-09-18 20:34:18 -05:00
Michael Ennen
8c24592da2
vim-patch 7.4.1266
...
Problem: A BufAdd autocommand may cause an ml_get error (Christian
Brabandt)
Solution: Increment RedrawingDisabled earlier.
ab9fc7e0cf
2016-09-18 20:49:09 -04:00
Lucas Hoffmann
4a6b4bbf93
tests: migrate legacy test 12. #4196
2016-09-18 16:38:10 +02:00
Shougo Matsushita
7b6786f6f9
version.c: mark NA patches #5335
...
NA
2108: test_Netbeans
2114: tiny
2116: dosinst.c
2118: Tiny
2122: FEAT_CLIPBOARD
2129, 2130: timer
2131: channel
2133: Tiny
2138: if_py_both
2140: Tiny
2145, 2150: Win32
2153: GUI test
2154: Test_commnunicate()
2155: GUI test
2156: Win32
2157: test_job
2166, 2167: small build
2168: Makefile
2176: if_mzch
2182: term.c
2186: test_timers
2191, 2192: prototype
2193: GUI
2195: vimrun
2199: GUI
2202: small
2203: normal features
2206: ifdef
2207: xpm support feature
2210: configure
2211: mouse
2214: GUI
2216: test check sign feature
2218, 2234: ifdef
2238: term.c
2243: GUI
2247: ifdef
2252, 2253: GUI
2254: if_mzch
2257: if_python
2258, 2260: channel
2261: small
2262: viminfo
2267: Windows
2270: channel
2271: Netbeans
2281: timer
2282: mch_newshellsize()
2285: proto, Makefile
2286: Filelist, Makefile
2287: channel
2288: Windows
2289: Makefile
2290: FEAT_FLOAT
2297, 2298, 2301: channel
2302: Makefile
2304: timer
2308: Makefile
2310: timer
2316: channel
2325: Tiny
2327: channel
2332: timer
2338: small
2340: Makefile
2342: Windows
2344: channel
2345: Makefile
2351: test_Netbeans
2352: Makefile
2358: GUI
2359, 2361: timer
2363: regexp prototype
2365: Makefile, version8.txt, style
2366: bigvim.bat
Implemented
2213: EndOfBuffer
2016-09-18 13:52:07 +02:00
Justin M. Keyes
c12801986c
Merge #5254 from KillTheMule/vim-7.4.1952
...
vim-patch:7.4.{1952, 1990, 2033, 2284}
2016-09-18 13:49:39 +02:00
Shougo Matsushita
e1079c2a28
insert_enter: Update folds on insert-leave. #5351
...
Fixes failing test: 045_folding_spec.lua
References #5299
2016-09-18 13:40:50 +02:00
Justin M. Keyes
19b47b043d
eval.c: Clean up spurious FAIL checks. ( #5345 )
...
rettv_list_alloc cannot fail.
2016-09-18 13:18:45 +02:00
KillTheMule
89a7a4f02c
vim-patch:7.4.2284
...
Problem: Comment in scope header file is outdated. (KillTheMule)
Solution: Point to the help instead. (closes vim/vim#1017 )
f4145d8e99
2016-09-17 16:47:21 +02:00
Justin M. Keyes
dc6cc4787c
api: Establish API naming convention. ( #5344 )
...
old name: new name:
--------------------------------------------------
nvim_name_to_color nvim_get_color_by_name
nvim_get_current_buffer nvim_get_current_buf
nvim_get_current_window nvim_get_current_win
nvim_get_buffers nvim_list_bufs
nvim_get_tabpages nvim_list_tabpages
nvim_get_windows nvim_list_wins
nvim_set_current_buffer nvim_set_current_buf
nvim_set_current_window nvim_set_current_win
nvim_change_directory nvim_set_current_dir
nvim_tabpage_get_window nvim_tabpage_get_win
nvim_tabpage_get_windows nvim_tabpage_list_wins
nvim_win_get_buffer nvim_win_get_buf
nvim_report_error nvim_err_writeln
Helped-by: Björn Linse <bjorn.linse@gmail.com>
Helped-by: ZyX <kp-pav@yandex.ru>
Helped-by: James McCoy <jamessan@jamessan.com>
2016-09-17 06:30:36 +02:00
Justin M. Keyes
3a9da803cc
Merge #5326 'vim-patch:7.4.1547'
2016-09-17 06:18:28 +02:00
Stéphane Campinas
21eee40cdb
test: synIDattr returns empty, not -1
...
- Behavior changed in 7.4.1547
- Also removed N/A specs: nvim does not support ":hi term=..."
2016-09-16 14:02:59 +02:00
Stéphane Campinas
bc1a5db6cc
vim-patch:7.4.1547 #5326
...
Problem: Getting a cterm highlight attribute that is not set results in the
string "-1".
Solution: Return an empty string. (Taro Muraoka)
385111bd86
2016-09-16 14:00:10 +02:00
Shougo
6e9f329d05
perf: Skip foldUpdate() in insert-mode. #5299
...
Closes #5270
2016-09-16 01:19:36 +02:00
Kerem Cakirer
0c536b5d8a
syntax.c: Support bg/fg special color-names. #5319
...
Refresh colors if changing Normal group
2016-09-16 00:45:57 +02:00
Björn Linse
c4199d1866
Merge pull request #5336 from bfredl/del_var
...
make del_var and set_var not return the old value.
2016-09-15 20:41:16 +02:00
Björn Linse
cd08e6cf72
api: make nvim[_obj]_set_var and _del_var not return the old value
2016-09-15 10:44:38 +02:00
Björn Linse
c61bf43a90
gendispatch: warn for deprecated alias if the deprecated function has implemation
2016-09-15 10:44:38 +02:00
James McCoy
fee961c8dd
Merge #5339 from jamessan/stray-test-processes
...
test/ui: Stop the terminal job after testing
2016-09-14 21:36:17 -04:00
James McCoy
c28fb221ba
Restore output_spec assertion dropped in f332eba
2016-09-14 20:59:09 -04:00
James McCoy
df99e43ba4
tests/ui: Stop the terminal job after testing
...
When running the tests in a contained environment, the lingering
terminal processes prevent the unmounting of the filesystems in the
contained environment.
2016-09-14 20:56:47 -04:00
Björn Linse
5f42184873
api: remove unnecessary initializations causing warnings in api dispatch ( #5337 )
...
Left over change from acb7c82
(fix leak when a api function is
incorrectly called with a list.). These initializations are now never
used and causes warnings in static analysis
2016-09-14 13:10:04 +02:00
Justin M. Keyes
172d099c32
Merge #5329 from justinmk/remove-misc2
...
Eliminate misc2.c
2016-09-13 17:23:35 +02:00
Justin M. Keyes
ca93b4a299
read_string: Use char if you mean char.
2016-09-13 16:20:09 +02:00
Justin M. Keyes
df072c3b2b
refactor: eliminate misc2.c
...
move `call_shell` to misc1.c
Move some fns to state.c
Move some fns to option.c
Move some fns to memline.c
Move `vim_chdir*` fns to file_search.c
Move some fns to new module, bytes.c
Move some fns to fileio.c
2016-09-13 16:20:09 +02:00
Justin M. Keyes
7eb4d2f79d
vim-patch:7.4.1558 ( #5333 )
...
Problem: It is not easy to find out what windows display a buffer.
Solution: Add win_findbuf().
9cdf86b86f
2016-09-13 14:05:34 +02:00
Justin M. Keyes
a34d3a7244
Merge 'vim-patch.sh'
2016-09-13 12:50:31 +02:00
Justin M. Keyes
d61826a85c
vim-patch.sh: Use printf instead of echo
...
Also: neovim => nvim
2016-09-13 12:40:20 +02:00
Justin M. Keyes
d5aaa18316
vim-patch.sh: preprocess_patch()
...
- Remove not-applicable Vim changes such as *.proto, todo.txt, ...
Also:
- support NVIM_SOURCE_DIR override
2016-09-13 11:38:09 +02:00
Justin M. Keyes
2daf54ee8d
Merge #4874 'Restore vim-like tab dragging'
2016-09-12 03:43:07 +02:00
Justin M. Keyes
ac819b8994
CI: Travis macOS: Skip tab left-drag tests.
...
These tests fail on master, so it's not a regression. Changes in #4874
(parent commit) seem to work (and pass most CI), so skipping these tests
is better than blocking the changes.
2016-09-12 03:42:51 +02:00
Justin M. Keyes
b801291bec
CI: test: Avoid QuickBuild hang. ( #5330 )
...
Delete the CWD using nvim instead of the external lua/test runner process.
2016-09-12 03:18:48 +02:00
sach1t
c6f5d6b7e0
normal.c: Restore vim-like tab dragging. #4874
...
Closes #4663
References #3310
2016-09-12 03:11:26 +02:00
Anmol Sethi
4ceacb37d5
man.vim: prevent bell in ':wincmd w' when only one window ( #5328 )
2016-09-11 20:58:51 +02:00