Justin M. Keyes
4013f67053
viml/profile: revert gettimeofday() #10488
...
e2ce5ff9d6
was proven to be bogus, so revert it.
close #10328
ref #10356
ref #10452
2019-07-13 12:37:58 +02:00
Justin M. Keyes
e1fae8f1fe
Merge #10435 from Shougo/vim-8.1.1610
2019-07-13 12:36:32 +02:00
Bartosz Miera
06826139e1
PVS/V547: dead code #10459
2019-07-13 12:30:52 +02:00
Daniel Hahler
4731027447
tests: use vim.inspect ( #10485 )
...
The inspect modules is vendored as `vim.inspect`, and therefore it makes
sense to use this in tests also.
Ref: https://github.com/neovim/neovim/issues/6580
Ref: https://github.com/neovim/neovim/commit/bb3aa824b
2019-07-13 00:50:52 +02:00
Daniel Hahler
108eb4201f
vim-patch:8.1.1660: assert_fails() inside try/catch #10472
...
Problem: Assert_fails() does not fail inside try/catch.
Solution: Set trylevel to zero. (Ozaki Kiichi, closes vim/vim#4639 )
7780e5c1c5
2019-07-13 00:09:05 +02:00
Daniel Hahler
e682d799fa
build: fix check_c_compiler_flag for -Wno-… ( #10483 )
...
`check_c_compiler_flag(-Wno-doesnotexist …)` is successful always,
apparently for all "no-" prefixes.
Therefore check for the flag itself (without "no-" prefix).
I am seeing a warning if the source fails to compile:
> cc1: warning: unrecognized command line option ‘-Wno-meh’
Which is turned into an error with `-Werror`:
> cc1: error: unrecognized command line option ‘-Wno-meh’ [-Werror]
But when it compiles successfully, there is no warning/error.
gcc (GCC) 9.1.0.
2019-07-12 22:42:44 +02:00
Daniel Hahler
ec66d2eecd
oldtest: more compact output with "clean" target ( #10477 )
...
Previously it would be displayed across multiple lines (with the escaped
newlines), while this makes it display in a single line.
2019-07-12 15:15:15 +02:00
Ihor Antonov
dd94165f4e
pvscheck.sh: Remove --verbose flag #10473
...
pvscheck.sh gives error:
Flag could not be matched: verbose
2019-07-12 11:36:19 +02:00
Daniel Hahler
6eab3b9250
vim-patch:8.1.1173: suspend test has duplicated lines ( #10466 )
...
Problem: Suspend test has duplicated lines.
Solution: Use a function.
a8356bc173
2019-07-11 12:20:36 +02:00
Daniel Hahler
777cc6f98a
ci: AppVeyor: do not install unibilium system-wide ( #10464 )
...
Initially added in 685ca180f
, but gets built via third-party anyway by now.
2019-07-10 17:28:35 +02:00
Daniel Hahler
564d415d20
build: BuildLuv: set/pass WITH_LUA_ENGINE ( #10449 )
...
Ref: https://github.com/neovim/neovim/pull/10438
2019-07-09 21:55:01 +02:00
Disconnect3d
c515b5c1f1
scripts/stripdecls.py #10458
...
Remove the `only_static = False` which clobbers the `--static`
CLI argument.
2019-07-09 20:06:52 +02:00
Daniel Hahler
03a0226221
build: LibUV: required version: 1.28.0 ( #10456 )
...
For uv_gettimeofday.
2019-07-09 18:55:16 +02:00
Björn Linse
7cf7c0a0b8
Merge pull request #9575 from bfredl/redrawdebug
...
ui: implement better redrawdebug for the compositor
2019-07-09 17:56:30 +02:00
Daniel Hahler
48a5897ec4
bundle: update libuv: v1.29.1 => v1.30.0 ( #10365 )
...
- fs: fix uv_fs_copyfile if same src and dst
- build, core, unix: add support for Haiku
- unix: make uv_cwd() report UV_ENOBUFS
- unix: make uv_fs_read() fill all buffers
2019-07-09 15:45:43 +02:00
Björn Linse
0da7b67ef9
Merge pull request #10457 from bfredl/dwfloat
...
compositor: handle float overlapping left half of doublewidth char
2019-07-09 15:42:02 +02:00
Björn Linse
2c2f160a27
ui: add 'redrawdebug' option for flexible debugging of redrawing
2019-07-09 15:13:24 +02:00
Björn Linse
4af1ada9ef
compositor: handle float overlapping left half of doublewidth char
2019-07-09 14:46:58 +02:00
Justin M. Keyes
06af88cd72
viml/reltime(): allow negative result #10453
...
- define proftime_T as signed integer
- profile_sub(): allow negative result
closes #10452
2019-07-09 12:08:54 +02:00
Bartosz Miera
652be3cb00
eval.c: clang/"Dead assignment" #10446
2019-07-09 12:06:14 +02:00
Daniel Hahler
13fbeda0e5
Revert "tests: executable_spec: enable pending test #10443 " ( #10454 )
...
This reverts commit b53c483a4a
.
2019-07-09 11:46:23 +02:00
Björn Linse
42bdccdf6c
Merge pull request #10234 from bfredl/resizefloat
...
window: allow resize wincmds for floats
2019-07-08 19:50:43 +02:00
Björn Linse
d11a146516
window: allow resize wincmds for floats
2019-07-08 19:45:57 +02:00
Daniel Hahler
c07f266c5b
tests: ex_terminal_spec: add test for previous leak ( #10450 )
...
Closes https://github.com/neovim/neovim/pull/4766 .
2019-07-08 18:42:52 +02:00
Daniel Hahler
44e150bd46
ci: Travis: use minimum supported CMake in one job ( #10445 )
2019-07-08 12:53:43 +02:00
George Zhao
71e0768e08
make all *.h linguist-language as C file #10442
2019-07-08 10:51:41 +02:00
Björn Linse
524fe6205d
Merge pull request #10090 from bfredl/floatpopup
...
api/window: add style="minimal" flag to disable unwanted UI features for simple floats
2019-07-07 21:35:55 +02:00
Daniel Hahler
28a86608a8
CI: improve gcov handling #10404
...
- Move __gcov_flush to process_spawn, for more reliable coverage
tracking of subprocesses
- Travis: use GCOV_ERROR_FILE
- codecov: use "-X fix" to skip "fixing" uploaded coverage data; it
should be handled by codecov's backend instead.
- AppVeyor: no $PATH mangling, which breaks with the improved coverage tracking
due to missing .dll in PATH.
2019-07-07 21:09:37 +02:00
Björn Linse
ef3e32d57e
api/window: add style="minimal" flag to nvim_open_win()
2019-07-07 20:52:15 +02:00
Daniel Hahler
38342d75f6
ci: fix/improve Travis cache handling [skip appveyor] ( #10412 )
...
This is meant to not fall back to using the cache for the "master"
target branch, for release pull requests (targeting not "master").
(Travis builds the cache key based on all (explicit) job environment
variables)
2019-07-07 18:07:01 +02:00
Daniel Hahler
b53c483a4a
tests: executable_spec: enable pending test #10443
...
Should hopefully work now after efc6d9951b
.
2019-07-07 13:05:52 +02:00
Daniel Hahler
eb2509aef9
build: fix GetCompileFlags for CMake #10444
...
Ref: https://github.com/neovim/neovim/pull/10363#issuecomment-508916959
2019-07-07 13:01:38 +02:00
Jan Edmund Lazo
8c8961d9a2
vim-patch:8.0.1164: changing StatusLine highlight does not always work
...
Problem: Changing StatusLine highlight while evaluating 'statusline' may
not change the status line color.
Solution: When changing highlighting while redrawing don't cause another
redraw. (suggested by Ozaki Kiichi, closes vim/vim#2171 , closes vim/vim#2120 )
65ed136844
2019-07-06 09:34:00 -04:00
Jan Edmund Lazo
6012e4a52c
vim-patch:8.0.1146: redraw when highlight is set with same names
...
Problem: Redraw when highlight is set with same names. (Ozaki Kiichi)
Solution: Only free and save a name when it changed. (closes vim/vim#2120 )
452030e530
2019-07-06 09:31:39 -04:00
Jan Edmund Lazo
5dc5db1557
vim-patch:8.0.0755: terminal window does not have colors in the GUI
...
Problem: Terminal window does not have colors in the GUI.
Solution: Lookup the GUI color.
26af85d97b
2019-07-06 08:38:21 -04:00
Justin M. Keyes
1b99aa8c53
Merge #10394 from janlazo/vim-8.1.1614
...
vim-patch:8.1.{1614,1632,1634,1639}
2019-07-06 12:33:51 +02:00
Daniel Hahler
b7ca478e10
func_clear_items: use XFREE_CLEAR #10436
...
Follow-up to https://github.com/neovim/neovim/pull/10428#discussion_r300813498
2019-07-06 12:22:20 +02:00
Shougo Matsushita
b9474b0641
Fix lint failed
2019-07-06 17:51:02 +09:00
Shougo Matsushita
85164b28cb
Fix errors
2019-07-06 17:18:25 +09:00
Shougo Matsushita
5f7e0531c1
vim-patch:8.1.1611: bufadd() reuses existing buffer without a name
...
Problem: Bufadd() reuses existing buffer without a name.
Solution: When the name is empty always create a new buffer.
892ae723ab
2019-07-06 17:11:27 +09:00
Shougo Matsushita
3f6346b732
vim-patch:8.1.1610: there is no way to add or load a buffer without side effects
...
Problem: There is no way to add or load a buffer without side effects.
Solution: Add the bufadd() and bufload() functions.
15e248e37f
2019-07-06 17:09:56 +09:00
Jan Edmund Lazo
6f924880c7
vim-patch:8.1.1639: changing an autoload name into a file name is inefficient
...
Problem: Changing an autoload name into a script file name is inefficient.
Solution: Remember the last replaced #. (Ozaki Kiichi, closes vim/vim#4618 )
28fc247f8d
2019-07-05 22:13:27 -04:00
Jan Edmund Lazo
255d189089
vim-patch:8.1.1634: terminal test fails when term_getansicolors() is missing
...
Problem: Terminal test fails when term_getansicolors() is missing.
Diff test fails without +rightleft. (Dominique Pelle)
Solution: Check if term_getansicolors() is supported. (closes vim/vim#4597 )
981d9dc8f3
2019-07-05 21:26:47 -04:00
Jan Edmund Lazo
18ce2d3039
vim-patch:8.1.1632: build with EXITFREE but without +arabic fails
...
Problem: Build with EXITFREE but without +arabic fails.
Solution: Rename the function and adjust #ifdefs. (closes vim/vim#4613 )
48ac671fe5
2019-07-05 21:26:46 -04:00
Jan Edmund Lazo
8062e6ff88
vim-patch:8.1.1614: 'numberwidth' can only go up to 10
...
Problem: 'numberwidth' can only go up to 10.
Solution: Allow up to 20. (Charlie Stanton, closes vim/vim#4584 )
f8a0712655
2019-07-05 21:26:46 -04:00
Daniel Hahler
3c860e25e9
vim-patch:8.1.0229: crash when dumping profiling data #10428
...
Problem: Crash when dumping profiling data.
Solution: Reset flag indicating that initialization was done.
79c2ad50b8
2019-07-05 22:00:28 +02:00
Gavin D. Howard
7535f843cd
termdebug.vim: vertical layout #10424
2019-07-05 20:45:26 +02:00
Björn Linse
48efafc81c
Merge pull request #10398 from bfredl/resizeautocmd
...
screen: disable redrawing inside VimResized
2019-07-05 20:27:01 +02:00
Björn Linse
e7d49dcfb3
Merge pull request #10293 from bfredl/hi_msg
...
highlight: show "hi Group" message correctly when not using the screen
2019-07-05 18:08:40 +02:00
Björn Linse
51a451570d
screen: disable redrawing inside VimResized
...
Note: test doesn't fail on master. I cannot reproduce the glitches with
-u NONE, probably it requires interfering events. But add some coverage
for these checks at least.
2019-07-05 16:58:53 +02:00