ZyX
b9c7813058
Merge branch 'master' into expression-parser
2017-11-26 15:54:03 +03:00
Björn Linse
207b7ca4bc
Merge pull request #6844 from bfredl/channel
...
channels: support buffered output and bytes sockets/stdio
2017-11-26 10:18:01 +01:00
Björn Linse
91b856ccce
channels: tests
2017-11-26 09:17:04 +01:00
nate
ebed8c6a2e
test: :highlight validation errors
...
add test when highlight group doesn't exist.
add test when an invalid color name is used for `cterm`.
2017-11-25 23:22:23 +01:00
Björn Linse
753d0091e8
core dumps: don't use pipe, it does not work
2017-11-25 09:37:00 +01:00
Björn Linse
8540b5e4ad
test: add hexdump utilitiy function
2017-11-25 09:37:00 +01:00
Björn Linse
d9b3ebfede
FIXUP: duplicate error number in #7422
2017-11-23 07:36:35 +01:00
Björn Linse
a4f6cec7a3
cmdline: CmdlineEnter and CmdlineLeave autocommands ( #7422 )
...
vim-patch:fafcf0dd59fd
patch 8.0.1206: no autocmd for entering or leaving the command line
Problem: No autocmd for entering or leaving the command line.
Solution: Add CmdlineEnter and CmdlineLeave.
fafcf0dd59
2017-11-22 22:35:20 +01:00
Justin M. Keyes
9b6bf8fa37
Merge #7345 'location-list update on buffer-modified'
2017-11-21 01:53:12 +01:00
ZyX
05a3c12118
unittests: Run vim_str2nr tests with GC enabled
2017-11-19 23:36:40 +03:00
ZyX
64158f2b0b
unittests: Populate ARGTYPES in child process only
2017-11-19 22:32:02 +03:00
ZyX
03a129aacf
Merge branch 'master' into expression-parser
2017-11-19 22:05:22 +03:00
ZyX
7c20f60b88
unittests: Avoid infinite cycle somewhere because of init failure
2017-11-19 22:01:14 +03:00
ZyX
ebb33eddd9
tests: Stabilize float format and %e in format_luav and format_string
2017-11-19 22:00:59 +03:00
ZyX
f20f97c936
*: Fix linter errors
2017-11-19 21:13:27 +03:00
ZyX
a94255a7ac
tests: Use single test file for unit and functional parser tests
2017-11-19 20:20:06 +03:00
ZyX
53fa435a1f
functests: Fix ui/cmdline test
2017-11-19 19:34:15 +03:00
ZyX
c287893225
viml/parser/expressions,unittests: Do better testing, fix found issues
2017-11-19 19:22:54 +03:00
Eric Roberts
a6de144c3e
'viewoptions': add "curdir" flag #7447
...
The flag enables the current local directory set by ":lcd" to be saved
to views which is the current default behaviour. The option can be
removed to disable this behaviour.
closes #7435
vim-patch:8.0.1289
2017-11-18 12:02:15 +01:00
Justin M. Keyes
67e4529292
defaults: scrollback=10000 ( #7556 )
2017-11-14 20:55:25 +01:00
nateozem
30a21830d0
doc: test/README.md: migrate wiki info ( #7552 )
2017-11-14 01:43:52 +01:00
James McCoy
8d8212d384
Merge pull request #7545 from jamessan/test-fixes
...
Fix test failures found in Debian builds, closes #7522
2017-11-12 21:09:44 -05:00
Marco Hinz
d5b7f28b44
test/unit/path_spec: expect correct buffer size ( #7514 )
...
Fixed-size buffers and lfs.currentdir().. does not compute. The tests would fail
if the current working directory was longer than expected.
2017-11-13 02:28:07 +01:00
Justin M. Keyes
e6beb60da5
:terminal : fix crash on resize ( #7547 )
...
closes #7538
Fix wrong window references from #7440
Remove some eager resizing. Still mostly doesn't address #4997 .
2017-11-13 02:06:32 +01:00
ZyX
342239a9c5
unittests,viml/parser/expressions: Start adding asgn parsing tests
2017-11-13 01:11:13 +03:00
ZyX
39c75d31be
unittests: Fix automatic test case generation
2017-11-13 01:11:13 +03:00
ZyX
556451a7f2
unittests,syntax: Check for sanity of highlight_init_cmdline
...
Also fixes some errors found.
2017-11-13 01:11:13 +03:00
James McCoy
b63cde97f4
tests: terminal: Assert for SIGWINCH handling before continuing
...
Fixes test failures like
test/functional/terminal/cursor_spec.lua @ 62: terminal cursor with number column is positioned correctly when focused
./test/functional/ui/screen.lua:302: Row 2 did not match.
Expected:
|{7: 1 }tty ready |
|*{7: 2 }{1: } |
|{7: 3 } |
|{7: 4 } |
|{7: 5 } |
|{7: 6 } |
|{3:-- TERMINAL --} |
Actual:
|{7: 1 }tty ready |
|*{7: 2 }rows: 6, cols: 46 |
|{7: 3 }{1: } |
|{7: 4 } |
|{7: 5 } |
|{7: 6 } |
|{3:-- TERMINAL --} |
2017-11-12 16:45:39 -05:00
James McCoy
cf75de710c
tui_spec: Convert nil to "" before formatting it
...
This fixes an apparent difference in behavior between Lua and LuaJIT.
Lua fails to format nil:
test/functional/terminal/tui_spec.lua:381: bad argument #2 to 'format' (string expected, got nil)
2017-11-12 16:45:39 -05:00
ZyX
45445e2e03
unittests: Add some more edge test cases
2017-11-12 03:52:26 +03:00
ZyX
c7495ebcc0
viml/parser/expressions: Add support for parsing assignments
2017-11-12 02:18:43 +03:00
ZyX
bbb21e5dd3
unittests: Add a way to show some custom messages only when crashed
2017-11-11 23:50:37 +03:00
Justin M. Keyes
f5d4da0144
:checkhealth : validate 'runtimepath' ( #7526 )
2017-11-10 22:37:54 +01:00
Marco Hinz
9837a9c401
compat: "v:count" distinct from "count" ( #7407 )
2017-11-09 02:20:12 +01:00
Justin M. Keyes
e98bcf0523
Merge #7465 has('ttyin'), has('ttyout')
2017-11-08 04:10:22 +01:00
Justin M. Keyes
c67dd5acd0
NVIM v0.2.1
...
FEATURES:
0e873a30f3
Lua(Jit) built-in #4411
5b32bce73c
Windows: `:terminal` #7007
7b0ceb3726
UI/API: externalize cmdline #7173
b67f58b284
UI/API: externalize wildmenu #7454
b23aa1cf09
UI: 'winhighlight' #6597
17531ed082
UI: command-line coloring (`:help input()-highlight`) #6364
244a1f97db
API: execute lua directly from the remote api #6704
45626de63f
API: `get_keymap()` #6236
db999821d4
API: `nvim_get_hl_by_name()`, `nvim_get_hl_by_id()` #7082
dc685387a3
menu_get() function #6322
9db42d4ce9
:cquit : take an error code argument #7336
9cc185dc6d
job-control: serverstart(): support ipv6 #6680
1b7a9bf4d2
job-control: sockopen() #6594
6efe84af68
clipboard: fallback to tmux clipboard #6894
6016ac270f
clipboard: customize clipboard with `g:clipboard` #6030
3a86dd54f3
ruby: override ruby host via `g:ruby_host_prog` #6841
16cce1ac17
debug: $NVIM_LOG_FILE #6827
0cba3da26e
`:checkhealth` built-in, validates $VIMRUNTIME #7399
FIXES:
105d680aea
TUI: more terminals, improve scroll/resize #6816
cb912a3eda
:terminal : handle F1-F12, other keys #7241
619838f85d
inccommand: improve performance #6949
04b3c32772
inccommand: Fix matches for zero-width #7487
60b1e8ad12
inccommand: multiline, other fixes #7315
f1f7f3b512
inccommand: Ignore leading modifiers in the command #6967
1551f71321
inccommand: fix 'gdefault' lockup #7262
6338199b76
API: bufhl: support creating new groups #7414
541dde36e3
API: allow K_EVENT during operator-pending
8c732f7274
terminal: adjust for 'number' #7440
5bec94652c
UI: preserve wildmenu during jobs/events #7110
c349083155
UI: disable 'lazyredraw' during ui_refresh. #6259
51808a244e
send FocusGained/FocusLost event instead of pseudokey #7221
133f8bc628
shada: preserve unnamed register on restart #4700
1b70a1da04
shada: avoid assertion on corrupt shada file #6958
9f534f338a
mksession: Restore tab-local working directory #6859
de1084f3c4
fix buf_write() crash #7140
7f7698649f
syntax: register 'Normal' highlight group #6973
6e7a8c3fe2
RPC: close channel if stream was closed #7081
85f3084e21
clipboard: disallow recursion; show hint only once #7203
8d1ccb606d
clipboard: performance, avoid weird edge-cases #7193
01487d4385
'titleold' #7358
01e53a5cbe
Windows: better path-handling, separator (slash) hygiene #7349
0f2873ce99
Windows: multibyte startup arguments #7060
CHANGES:
9ff0cc7085
:terminal : start in normal-mode #6808
032b088c84
lower priority of 'cursorcolumn', 'colorcolumn' #7364
2a3bcd1ff8
RPC: Don't delay notifications when request is pending #6544
023f67cad8
:terminal : Do not change 'number', 'relativenumber' #6796
1ef2d768e7
socket.c: Disable Nagle's algorithm on TCP sockets #6915
6720fe253e
help: `K` tries Vim help instead of manpage #3104
7068370560
help, man.vim: change "outline" map to `gO` #7405
2017-11-07 23:54:31 +01:00
ZyX
4aebd00a9e
*: Fix linter errors
2017-11-06 20:28:37 +03:00
ZyX
24a353364d
Merge branch 'master' into expression-parser
2017-11-06 20:23:35 +03:00
ZyX
42959d0e8f
unittests: Add tests for vim_str2nr
2017-11-06 20:15:05 +03:00
Adrian Neumann
8f03014e88
eval/decode.c: Avoid NULL arg to memchr() #7332
...
Clang complains because memchr has undefined behavior if the ptr is
NULL, even if len==0.
Helped-by: Nikolai Aleksandrovich Pavlov <kp-pav@yandex.ru >
2017-11-06 05:00:58 +01:00
Justin M. Keyes
842a54a1bb
doc
2017-11-06 01:56:04 +01:00
ZyX
ebb5977837
api/vim: Add “len” dictionary key
...
This allows determining where parsing ended which may be needed for e.g. parsing
`:echo` with that API function.
2017-11-06 01:17:39 +03:00
ZyX
7849070f99
tests: Add missing test cases
2017-11-06 01:17:39 +03:00
ZyX
7bc6de7526
api/vim,functests: Add tests for nvim_parse_expression, fix found bugs
2017-11-06 01:17:39 +03:00
ZyX
b9d5aea073
api/vim: Create part of nvim_parse_expression function
2017-11-06 01:17:38 +03:00
ZyX
d98199de9c
charset: Refactor vim_str2nr
2017-11-06 01:17:38 +03:00
ZyX
3ecb95298f
tests: Fix testlint errors
2017-11-06 01:17:37 +03:00
KillTheMule
04b3c32772
'inccommand': Fix matches for zero-width ( #7487 )
...
closes #7485
2017-11-05 17:11:44 +01:00
Justin M. Keyes
54cac3033f
test: startup_spec: cmd.exe escaping
2017-11-04 09:36:52 +01:00
Justin M. Keyes
68bef0a57d
test: has("ttyin"), has("ttyout")
2017-11-04 09:36:52 +01:00