| Commit message (Collapse) | Author | Age |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Text objects in not sufficiently tested.
Solution: Add a few more test cases. (Dominique Pelle, closes vim/vim#3795)
https://github.com/vim/vim/commit/81b1ba4be57b4bfd7e53a6709b4f98758612ef5f
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Problem: getcurpos() unexpectedly changes "curswant".
Solution: Save and restore "curswant". (closes vim/vim#4069)
https://github.com/vim/vim/commit/19a66858a5e3fedadc371321834507c34e2dfb18
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Old regexp engine may use invalid buffer for 'iskeyword' or
uninitialized buffer pointer. (Kuang-che Wu)
Solution: Set rex.reg_buf when compiling the pattern. (closes vim/vim#3972)
https://github.com/vim/vim/commit/8bfd9469cef536f171e6666f9d9217192e09d161
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
tigetstr (used by libtermkey/driver-ti.c) may return -1 as a pointer.
Documented in man 3 tigetstr. https://linux.die.net/man/3/tigetstr
> The tigetstr routine returns the value (char *)-1 if capname is not a string
> capability, or 0 if it is canceled or absent from the terminal description.
Fixed #9687
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Not all errors of marks and findfile()/finddir() are tested.
Solution: Add more test coverage. (Dominique Pelle)
https://github.com/vim/vim/commit/71b13e92ae580038b8aecbb783296c577ca2ba5a
|
| |/
| |
| |
| |
| |
| | |
Problem: Substitute command inssuficiently tested.
Solution: Add more test coverage. (Dominique Pelle)
https://github.com/vim/vim/commit/d77aa4d22e943998c337d5a603622ac5cf2928cb
|
|\ \
| |/
|/| |
api/buffer: use aucmd_prepbuf() to manipulate invisible buffer, fix some issues
|
| | |
|
|/ |
|
|
|
|
| |
closes #8345
|
|\
| |
| | |
api: add nvim_win_close() to close window by id
|
| | |
|
| | |
|
| |
| |
| |
| | |
fixes #9655
|
|/
|
|
|
|
|
|
| |
closes #9640
Problem: Failure for selecting quoted text object moves cursor.
Solution: Restore the Visual selection on failure. (Christian Brabandt,
closes vim/vim#4024)
https://github.com/vim/vim/commit/55d3bdbbe2bfc7a78b4aa17763788dbddf87cab0
|
|\
| |
| | |
Floating windows in TUI and Remote UI
|
| |
| |
| |
| | |
Co-Author: Dongdong Zhou <dzhou121@gmail.com>
|
| |
| |
| |
| |
| |
| | |
test_normal.vim fails if we assert >= 2, so we only check >= 1. That at
least avoids invalid pointers.
TEST_FILE=test_normal.res make oldtest
|
| |
| |
| | |
has_mbyte is always true.
|
| | |
|
|/
|
|
| |
enc_utf8, enc_dbcs, has_mbyte are always true, so the false branches are
never taken.
|
|
|
|
|
|
| |
Independently of the 'undoreload' option and the length of the file.
closes #9642
closes #9643
|
|
|
| |
Since libuv minimum version is now v1.12, we can use libuv's impl.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Pattern with syntax error gives threee error messages. (Kuang-che
Wu)
Solution: Remove outdated internal error. Don't fall back to other engine
after an error.
https://github.com/vim/vim/commit/cd62512c5595fa1f7a7f2c6ec1a90ea6bde3ad50
|
| |
| |
| |
| |
| |
| | |
Problem: Search test fails.
Solution: Wait a bit longer for the 'ambiwidth' redraw.
https://github.com/vim/vim/commit/e86ecbd92271ad86b543c71ca50452528f704ffb
|
| |
| |
| |
| |
| |
| | |
Problem: Illegal memory access when using 'incsearch'.
Solution: Reset highlight_match when changing text. (closes vim/vim#4022)
https://github.com/vim/vim/commit/4a7d2d3b407ed695450bb7f43166e2f2722a6836
|
| |
| |
| |
| |
| |
| | |
Problem: Crash when using search pattern \%Ufffffc23.
Solution: Limit character to INT_MAX. (closes vim/vim#4009)
https://github.com/vim/vim/commit/527a2d86fb375fcc7b34e80fc47f4c7126fc12ba
|
| |
| |
| |
| |
| |
| | |
Problem: Crash with large number in regexp. (Kuang-che Wu)
Solution: Check for long becoming negative int. (closes #)
https://github.com/vim/vim/commit/ab350f89f9646e07aefe16a32ba3ddb847496b4a
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Minimum required libuv is now v1.12
- Because `uv_os_getenv` requires allocating, we must manage a map
(`envmap` in `env.c`) to maintain the old behavior of `os_getenv` .
- free() map-items after removal. khash.h does not make copies of
anything, so even its keys must be memory-managed by the caller.
closes #8398
closes #9267
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It's reported that the Windows widechar variants do automatically
convert from the current codepage to UTF16, which is very helpful. So
the "widechar" impls are a good direction. But libuv v1.12 does that
for us, so the next commit will use that instead.
ref #8398
ref #9267
|
| | |
|
| | |
|
|/
|
|
|
| |
_putenv_s variant was left over from 810d31a43001, should have been
removed in cd5b1315757e.
|
|
|
|
|
|
| |
...unless the 'lines' and/or 'columns' options were set.
ref 5732340c2035
fixes #5843
|
|
|
|
|
| |
Problem: extend() insufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes vim/vim#4040)
https://github.com/vim/vim/commit/58d63a0a2364e1f06a80550f9f5038145b339171
|
|
|
|
|
|
|
| |
(#9644)
Problem: Mode() does not indicate using CTRL-O from Insert mode.
Solution: Add "niI", "niR" and "niV" to mode() result. (closes vim/vim#3000)
https://github.com/vim/vim/commit/612cc3888b136e80485132d9f997ed457dbc5501
|
|
|
|
|
|
| |
Problem: Sorting large numbers is not tested and does not work properly.
Solution: Add test. Fix comparing lines with and without a number.
(Dominique Pelle, closes vim/vim#4017)
https://github.com/vim/vim/commit/a25e3d06956f1bc11c68fe60149acce2d8547092
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Like Vim, use set_option_value() followed by reset_option_was_set().
- Do not use set_string_default(), so the default is predictable.
This affects `:set bg&`.
- Wait until end-of-startup (VimEnter) to handle the response. The
response is racey anyways, so timing is irrelevant. This allows
OptionSet to be triggered, unlike during startup.
|
| |\ |
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
xterm-compatible terminals support reporting their configured colors
back to the application. Use this to obtain the current background
color, compute its luminance to classify it as light or dark, and set
'bg' accordingly. Also set the default for 'bg', so that `:set bg&`
will revert to that detected default.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Suggested by ZyX in https://github.com/neovim/neovim/issues/6725#issuecomment-312197691 :
> There already is an exception if writing to a “device” (e.g. FIFO).
> It makes sense to ignore certain errors like ENOTSUP or EOPNOTSUPP
> since it is not something we or user can do anything about.
ref #6725
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Notable changes since v1.23.2:
- v1.26.0
- uv_os_uname()
- unix: don't attempt to invalidate invalid fd
https://github.com/libuv/libuv/commit/1ce6393a5780538ad8601cae00c5bd079b9415a9
- v1.25.0
- unix: better handling of unsupported F_FULLFSYNC (fixes #6725)
https://github.com/libuv/libuv/commit/6fc797c3fe18d8df71b36ecf2184f085c0283251
- tty,win: fix Alt+key under WSL
https://github.com/libuv/libuv/commit/d2e59bb6003d707bdebd7a381f5a7e1d0cc3fd3b
- fsevents: really watch files with fsevents on macos 10.7+
https://github.com/libuv/libuv/commit/2d2af382ce84b91d6ee7a185af32fca7f0acd84b
- win: fix duplicate tty vt100 fn key
- v1.24.0
- win,fs: retry if uv_fs_rename fails
https://github.com/libuv/libuv/commit/e94c184c7c4a18f3de569c97caeb83f4ff98a4b2
- later [reverted](https://github.com/libuv/libuv/issues/2098) but may be useful reference
- win: support more fine-grained windows hiding
https://github.com/libuv/libuv/commit/4c2dcca27b80945d6b7063f0ea031b8a75a46a52
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
macOS: Try direct fsync() if F_FULLFSYNC fails.
closes #6725
ref https://github.com/vim/vim/pull/4016
vim-patch:8.1.0957
> on macOS F_FULLFSYNC fails with ENOTSUP for unsupported storage systems
> (e.g. SMB), though this is not documented in the Apple fcntl man page.
libuv fixed this in v1.25.0:
https://github.com/libuv/libuv/commit/6fc797c3fe18d8df71b36ecf2184f085c0283251
|
|\ \ \ \ |
|