James McCoy
ec459965f5
test/options: Fix stdpath() failures on Windows
2018-04-01 22:40:20 -04:00
b-r-o-c-k
1b898d7af5
build/windows: Patch Luv with a patch file instead of CMake
2018-04-01 20:32:22 -05:00
b-r-o-c-k
57fef8b49b
build/windows: Move libtermkey patches into this repository
2018-04-01 20:32:22 -05:00
ZyX
1fc09b5b98
eval/typval_encode: Silence PVS/V501,V547,V779
...
These kinds of warnings are inevitable for generic macros.
2018-04-02 00:46:18 +03:00
ZyX
5660482406
api/buffer: Fix PVS/V547: use correct border for lnum
...
Should actually be silencing that for the sake of the case when `long` is
actually not 64-bit. But it appears that Vim had already defined maximal line
number. And even declared that exact value invalid, so no need in silencing.
2018-04-02 00:41:00 +03:00
ZyX
bf160dd668
quickfix: Fix PVS/V560: remove duplicate condition
...
Condition was checked in surrounding if().
2018-04-02 00:31:29 +03:00
ZyX
6b84f7813c
pvscheck: Also provide source tree root to plog-converter
2018-04-02 00:16:22 +03:00
ZyX
65d0b8ed32
pvscheck: Also produce fullhtml reports
2018-04-02 00:15:31 +03:00
ZyX
7eceac218e
pvscheck: Make realdir work with nonexistent directories
2018-04-02 00:07:05 +03:00
ZyX
bdf5f57989
shada: Fix conversion warnings
2018-04-01 23:37:23 +03:00
ZyX
dd1b493f75
shada: Fix some memory leaks and completely ignore numbered mark names
...
Problems:
- In two places in shada_read_when_writing() memory just was not freed. Both
places were verified to cause test failures.
- Numbered marks got assigned incorrect (off-by-one compared to position in the
array) numbers in replace_numbered_mark.
- It was possible to have non-continuously populated array of numbered marks
which messed up code for merging them.
(Note about tests: marks with additional data are always compared different when
merging, that caused some confusion regarding why test did not work the way
I expected.)
2018-04-01 21:29:47 +03:00
ZyX
f5373e2cdc
shada: Add functions to format ShaDa entries for debugging purposes
...
To be used in debugging printfs.
2018-04-01 21:23:43 +03:00
ZyX
200898546e
shada: When storing numeric marks reset the numbers
...
Attempt to fix observed crash. Crash currently not reproduced.
2018-04-01 20:05:19 +03:00
ZyX
1ac1f520f0
functests: Add test for merging with file with only numeric mark
...
Known to cause memory leak, but not an expected crash.
2018-04-01 20:04:35 +03:00
Björn Linse
98e7112390
msg: do not scroll entire screen ( #8088 )
2018-03-31 11:12:27 +02:00
Marty E. Plummer
362346f563
build/CMake: LANGUAGES config option #8203
...
Signed-off-by: Marty E. Plummer <hanetzer@startmail.com >
2018-03-31 10:59:45 +02:00
Justin M. Keyes
c8fd7ce08b
ci/AppVeyor: cover MinGW and MSVC in PRs ( #8206 )
2018-03-30 21:54:39 +02:00
Justin M. Keyes
30f6ff7021
.gitignore
2018-03-30 17:47:25 +02:00
Utkarsh Maheshwari
f21867a15c
timer_pause: stop the timer resource ( #8199 )
...
If the timer isn't stopped, it still emits events which consume some CPU.
Fix #8188
2018-03-30 17:09:29 +02:00
Christian Höltje
868b84199e
eval: Add stdpath() method ( #5297 )
...
Adds the :stdpath method for fetching XDG standard directories.
Fixes #5297
2018-03-29 10:41:04 -04:00
James McCoy
e54ff10d44
lint
2018-03-29 10:32:12 -04:00
James McCoy
b5a47f4907
Merge pull request #6377 from yagebu/option-fixes
...
options: fixes and some refactoring for number options
Closes #6696
2018-03-29 09:11:22 -04:00
Utkarsh Anand
e9cf40f2b6
build/NetBSD: use kinfo_proc2; undef uint64_t ( #8197 )
...
closes #8196
For historical reasons, uint64_t and friends are defined both as
typedefs and macros. Some platforms that do that define the macros as
identity (#define uint64_t uint64_t), others like NetBSD define to the
backing type (#define uint64_t __uint64_t). This is normally
transparent, except when multiple levels of macro expansions are used
inconsistently.
2018-03-29 10:37:49 +02:00
Justin M. Keyes
bbca3142e8
ci/AppVeyor: build MinGW only on master branch ( #8193 )
...
Else the build takes too long.
2018-03-29 09:17:44 +02:00
James McCoy
79f9c2d9c6
Merge branch 'master' into yagebu/option-fixes
2018-03-28 21:54:39 -04:00
Justin M. Keyes
3f3de9b1a9
Merge #8183 'build/msvc: Fix functional tests'
...
MSBuild still returns a non-zero exit code because it detects the word "error" in the stdout which is caused by some of the test names such as api/buf {get,set,del}_line get_line : out-of-bounds is an error.
CMake mailing list thread:
https://cmake.org/pipermail/cmake-developers/2015-October/026775.html
There isn't any good solution for it, so I modified the build script to detect the error message printed by RunTests.cmake.
2018-03-27 23:02:27 +02:00
Nimit Bhardwaj
8d5a46e77b
TUI: implement "standout" attribute #8081
...
closes #8054
2018-03-27 04:38:19 +02:00
ZyX
3df11cfbca
Revert "shada: In place of ignoring cursor position with lnum 0 save with 1"
...
This reverts commit aa728798b4
.
2018-03-27 03:03:02 +03:00
ZyX
920c582320
test/helpers: Support booleans
2018-03-27 01:35:21 +03:00
ZyX
aa728798b4
shada: In place of ignoring cursor position with lnum 0 save with 1
2018-03-27 01:35:21 +03:00
ZyX
30e7fb2e32
shada: Also filter out invalid cursor position when writing '0' mark
...
Based on https://github.com/neovim/neovim/pull/5908#issuecomment-375909903 , but
with adjusted condition as line number or column less then zero should not
appear at all based on what I know.
2018-03-27 01:33:59 +03:00
ZyX
7941aaa3bf
macros: Rename LAST_ARRAY_ENTRY to ARRAY_LAST_ENTRY
2018-03-27 01:33:59 +03:00
ZyX
0bfc91be96
shada: Make ignore_buf also inline
2018-03-27 01:33:59 +03:00
ZyX
17ea0f2214
functests: Fix existing functional tests
2018-03-27 01:33:59 +03:00
b-r-o-c-k
393935c32d
ci/AppVeyor: enable MSVC_32 build
2018-03-26 10:54:44 -05:00
b-r-o-c-k
c7caca60b9
ci/AppVeyor: Remove gperf from downloaded MSYS2 packages
2018-03-26 10:54:44 -05:00
b-r-o-c-k
cffdc1da02
ci/AppVeyor: Remove Git Unix utilities from the PATH
2018-03-26 10:54:44 -05:00
b-r-o-c-k
ab6051331c
build/msvc: Fix check for cksum on Windows
2018-03-26 10:54:44 -05:00
b-r-o-c-k
afe6b4881f
build/msvc: Add workaround for false positive exit code from MSBuild
...
See https://cmake.org/pipermail/cmake-developers/2015-October/026775.html
2018-03-26 10:54:44 -05:00
b-r-o-c-k
afd46b78c5
build/msvc: Fix libvterm patch
2018-03-26 10:54:44 -05:00
Jan Edmund Lazo
51f5cfc16e
test: win: enable jobpid() tests
...
Use ping to test job detach
Use find.exe as an alternative to cat.exe
Use nvim_get_proc to check pid
2018-03-26 01:45:42 -04:00
Jan Edmund Lazo
ad6d577314
fixup: ping.exe works with cmd.exe pipe
2018-03-26 01:45:41 -04:00
Jan Edmund Lazo
e6ee06ee11
Revert "test/win: use cmd.exe for test"
...
This reverts commit ae409b5042
.
This PR (#8120 ) defaults to cmd.exe for job_spec.lua
2018-03-26 01:45:41 -04:00
Jan Edmund Lazo
03e69a5d9c
test: win: use find.exe /v "" as alternative cat -
2018-03-26 01:45:40 -04:00
Jan Edmund Lazo
3bd555f1e6
test: win: try stderr callback and slow output
2018-03-26 01:45:38 -04:00
Jan Edmund Lazo
cf4fbb6f04
test: win: use powershell for Start-Sleep only
...
cmd.exe (shell) is faster and more reliable than powershell (.NET frontend).
It's best for short and basic tests that don't require non-trivial scripting.
cmd.exe doesn't support sleep so use powershell's Start-Sleep as substitute.
2018-03-26 01:45:37 -04:00
ZyX
607e0d2202
shada: Save numbered marks
...
Problems so far:
- Marks in the current instance are not adjusted.
- Duplicates are not removed (not that it works in Vim either now, not at
8.0.134 at least).
2018-03-26 00:38:29 +03:00
Justin M. Keyes
a9c94f7bb0
Merge #7881 from ZyX-I/fix-7876
2018-03-25 19:13:45 +02:00
KunMing Xie
ce5c2030bf
vim-patch:8.0.0417: test for the clipboard fails sometimes ( #8174 )
...
Problem: Test for the clipboard fails sometimes.
Solution: Add it to the flaky tests.
0fbff646d5
2018-03-25 17:20:59 +02:00
Vadim A. Misbakh-Soloviov
9ebe2ad331
runtime/dircolors.vim: support termguicolors ( #8175 )
2018-03-25 15:45:02 +02:00