| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
e2ce5ff9d616 was proven to be bogus, so revert it.
close #10328
ref #10356
ref #10452
|
|\ \ \ |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Bufadd() reuses existing buffer without a name.
Solution: When the name is empty always create a new buffer.
https://github.com/vim/vim/commit/892ae723ab95e429222e930cf41b32809567e58e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: There is no way to add or load a buffer without side effects.
Solution: Add the bufadd() and bufload() functions.
https://github.com/vim/vim/commit/15e248e37f3925d430f96e945d52d3dc423cdc83
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Assert_fails() does not fail inside try/catch.
Solution: Set trylevel to zero. (Ozaki Kiichi, closes vim/vim#4639)
https://github.com/vim/vim/commit/7780e5c1c5485a979ab6e3914a43e17912e213a8
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`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.
|
| | | |
| | | |
| | | |
| | | | |
Previously it would be displayed across multiple lines (with the escaped
newlines), while this makes it display in a single line.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Suspend test has duplicated lines.
Solution: Use a function.
https://github.com/vim/vim/commit/a8356bc1734195d130c6eeaf4858356ae3a3f722
|
|\ \ \ \
| | | | |
| | | | | |
ui: implement better redrawdebug for the compositor
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
compositor: handle float overlapping left half of doublewidth char
|
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- define proftime_T as signed integer
- profile_sub(): allow negative result
closes #10452
|
|/ / / / |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
api/window: add style="minimal" flag to disable unwanted UI features for simple floats
|
| |/ / / |
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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.
|
|\ \ \
| | | |
| | | | |
vim-patch:8.1.{1614,1632,1634,1639}
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Changing an autoload name into a script file name is inefficient.
Solution: Remember the last replaced #. (Ozaki Kiichi, closes vim/vim#4618)
https://github.com/vim/vim/commit/28fc247f8d94a1cfabbcf2691ca942bde96f6d2f
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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)
https://github.com/vim/vim/commit/981d9dc8f3d7a470eb3be7ba60fe1c1f31e7f470
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Build with EXITFREE but without +arabic fails.
Solution: Rename the function and adjust #ifdefs. (closes vim/vim#4613)
https://github.com/vim/vim/commit/48ac671fe5cb5a7c2d5263d2f122e5e903022e30
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Problem: 'numberwidth' can only go up to 10.
Solution: Allow up to 20. (Charlie Stanton, closes vim/vim#4584)
https://github.com/vim/vim/commit/f8a071265535b8cc43e50a81f4d5049883ca50e4
|
|/ /
| |
| | |
Follow-up to https://github.com/neovim/neovim/pull/10428#discussion_r300813498
|
| |
| |
| |
| |
| | |
Problem: Crash when dumping profiling data.
Solution: Reset flag indicating that initialization was done.
https://github.com/vim/vim/commit/79c2ad50b8069bbb3281bcabe412bd6641756724
|
|\ \
| | |
| | | |
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.
|
|/ /
| |
| |
| |
| |
| |
| | |
ext_message doesn't set msg_col. Add a space and let client deal with
wrapping. When using silent redirect show the unwrapped message form.
Removed check is already part of msg_advance()
|
|\ \
| | |
| | | |
Improve luacheck integration, fix more issues.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Move .luacheckrc to root, add read_globals=vim
- Simplify lualint target, run it on all lua files
- Lint preload.lua, but ignore W211
- Remove testlint target, included in lualint (and lint)
- Clean up .luacheckrc
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix issue that increment expression is executable and pointer ext
pointing out of the buffer, if the pointer ext points to the terminating
NUL.
* Change termination condition judgment to one place
* Change first condition judgment
Change to not evaluate *(ext -1) in the first condition judgment.
* Change to use copy_option_part instead of STRLCPY
|
| | |
|
| |
| |
| | |
ref #6289
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Revert "oldtests: win: keep set dir=/"
This reverts commit 714e0f8bf05cc6febcbcd8cbcbe5f119c37a14b0.
* test/old: set swap directory to non-existent drive
Appveyor uses Administrator user so it can write anywhere in C:\\.
Neovim creates a directory for the swap file
if the directory does not exist.
D:\\ is the backup/recovery drive so use F:\\ invoke error E303.
|
|\ \
| | |
| | | |
api/lua: make nvim_execute_lua use native lua floats, not special tables
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Rationale: the purpose of nvim_execute_lua is to simply call lua code with lua
values. If a lua function expects a floating point value, it should be enough
to specify a float as argument to nvim_execute_lua.
However, make sure to preserve the existing roundtripping behavior of
API values when using `vim.api` functions. This is covered by existing
lua/api_spec.lua tests.
|
|/ /
| |
| |
| |
| | |
- position might get invalid with "longest" match
- position might be wrong when completed pattern ends in "/"
|
|\ \
| | |
| | | |
luv callbacks: throw error on deferred methods instead of crashing
|
| | |
| | |
| | |
| | |
| | | |
This avoids initializing libluv a second time if a plugin invokes
require'luv'. It is probably not an issue, but better to be safe.
|
| | |
| | |
| | |
| | |
| | | |
Disable the use of deferred API functions in a fast lua callback
Correctly display error messages from a fast lua callback
|
| | | |
|
|/ /
| |
| | |
Introduce os_file_settime(), remove cruft.
|
| |
| |
| | |
No need to do this so frequently.
|
| |
| |
| | |
ref #10278 #10279 #10353
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This matches Vim behavior. From `:help :ls` :
R a terminal buffer with a running job
F a terminal buffer with a finished job
? a terminal buffer without a job: `:terminal NONE`
TODO: implement `:terminal NONE`.
ref #10349
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Keeps using add_definitions for compatibility with older CMake.
Newer CMake (3.12) would have `add_compile_definitions`, but it is not
required, since `add_defitions` was meant to be used for
compile/preprocessor definitions initially anyway.
Ref: https://github.com/neovim/neovim/pull/4389
|