aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | vim-patch:8.1.0739: text objects in not sufficiently testedJan Edmund Lazo2019-03-07
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | vim-patch:8.1.0998: getcurpos() unexpectedly changes "curswant"Jan Edmund Lazo2019-03-07
|/ / / | | | | | | | | | | | | | | | Problem: getcurpos() unexpectedly changes "curswant". Solution: Save and restore "curswant". (closes vim/vim#4069) https://github.com/vim/vim/commit/19a66858a5e3fedadc371321834507c34e2dfb18
* | | vim-patch:8.1.0935: old regexp engine may use invalid buffer #9692Jan Edmund Lazo2019-03-07
| | | | | | | | | | | | | | | | | | 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
* | | tui_tk_ti_getstr: handle weird value #9688Boskovits2019-03-07
| |/ |/| | | | | | | | | | | | | | | 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
* | PVS/V560: window.c: fix always true condition #9682Billy SU2019-03-05
| |
* | Merge #9679 from janlazo/vim-8.1.0891Justin M. Keyes2019-03-05
|\ \
| * | vim-patch:8.1.0875: not all errors of marks and findfile()/finddir() are testedJan Edmund Lazo2019-03-05
| | | | | | | | | | | | | | | | | | 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
| * | vim-patch:8.1.0891: substitute command inssuficiently testedJan Edmund Lazo2019-03-05
| |/ | | | | | | | | | | Problem: Substitute command inssuficiently tested. Solution: Add more test coverage. (Dominique Pelle) https://github.com/vim/vim/commit/d77aa4d22e943998c337d5a603622ac5cf2928cb
* | Merge pull request #9674 from bfredl/bufapi-fixBjörn Linse2019-03-05
|\ \ | |/ |/| api/buffer: use aucmd_prepbuf() to manipulate invisible buffer, fix some issues
| * buffer: use aucmd_prepbuf() instead of switch_to_win_for_buf()Björn Linse2019-03-05
| |
* | PVS/V501: ui_compositor.c: identical sub-expressions #9673Billy SU2019-03-05
|/
* edit.c: Disable indent during completionlePerdu2019-03-03
| | | | closes #8345
* Merge pull request #9667 from bfredl/wincloseBjörn Linse2019-03-03
|\ | | | | api: add nvim_win_close() to close window by id
| * api: add nvim_win_close() to close window by idBjörn Linse2019-03-03
| |
* | test: multibyte env var names #9655Justin M. Keyes2019-03-03
| |
* | os/env: Fix completion of multibyte env var nameserw72019-03-03
| | | | | | | | fixes #9655
* | vim-patch:8.1.0971: failure to select quoted text obj moves cursor #9658Pierre2019-03-03
|/ | | | | | | | 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
* Merge pull request #6619 from bfredl/floatingBjörn Linse2019-03-02
|\ | | | | Floating windows in TUI and Remote UI
| * floats: implement floating windowsBjörn Linse2019-03-02
| | | | | | | | Co-Author: Dongdong Zhou <dzhou121@gmail.com>
* | ops.c: do_join expects `count` of 2 or greater #6855Zach Gleason2019-03-02
| | | | | | | | | | | | 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
* | search.c: remove dead code #5307Justin M. Keyes2019-03-02
| | | | | | has_mbyte is always true.
* | cleanup: remove legacy `enc_dbcs` global #9660Justin M. Keyes2019-03-02
| |
* | screen.c: remove dead code #6609Justin M. Keyes2019-03-02
|/ | | | enc_utf8, enc_dbcs, has_mbyte are always true, so the false branches are never taken.
* API/buffer-updates: always detach on buf-reload #9643KillTheMule2019-03-01
| | | | | | Independently of the 'undoreload' option and the length of the file. closes #9642 closes #9643
* os: remove uv_translate_sys_error impl #9652Justin M. Keyes2019-03-01
| | | Since libuv minimum version is now v1.12, we can use libuv's impl.
* Merge #9653 from justinmk/vim-8.1.0985Justin M. Keyes2019-03-01
|\
| * vim-patch:8.1.0973: pattern with syntax error gives threee error messagesJustin M. Keyes2019-03-01
| | | | | | | | | | | | | | | | 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
| * vim-patch:8.1.0965: search test failsJustin M. Keyes2019-03-01
| | | | | | | | | | | | Problem: Search test fails. Solution: Wait a bit longer for the 'ambiwidth' redraw. https://github.com/vim/vim/commit/e86ecbd92271ad86b543c71ca50452528f704ffb
| * vim-patch:8.1.0963: illegal memory access when using 'incsearch'Justin M. Keyes2019-03-01
| | | | | | | | | | | | 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
| * vim-patch:8.1.0968: crash when using search pattern \%Ufffffc23Justin M. Keyes2019-03-01
| | | | | | | | | | | | Problem: Crash when using search pattern \%Ufffffc23. Solution: Limit character to INT_MAX. (closes vim/vim#4009) https://github.com/vim/vim/commit/527a2d86fb375fcc7b34e80fc47f4c7126fc12ba
| * vim-patch:8.1.0985: crash with large number in regexpJustin M. Keyes2019-02-28
| | | | | | | | | | | | 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
* | clint: check env functionsJustin M. Keyes2019-02-28
| |
* | os/env: use libuv v1.12 getenv/setenv APIJustin M. Keyes2019-02-27
| | | | | | | | | | | | | | | | | | | | | | - 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
* | os_getenv, os_setenv: revert "widechar" implJustin M. Keyes2019-02-26
| | | | | | | | | | | | | | | | | | | | 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
* | win: os_getenv(): use _wgetenv()Justin M. Keyes2019-02-25
| |
* | utf16_to_utf8: minor fixesJustin M. Keyes2019-02-25
| |
* | os_setenv: use _wputenv_s; remove vestigial code #7920Justin M. Keyes2019-02-25
|/ | | | | _putenv_s variant was left over from 810d31a43001, should have been removed in cd5b1315757e.
* TUI: do not resize host-terminal on startup (#9645)Justin M. Keyes2019-02-25
| | | | | | ...unless the 'lines' and/or 'columns' options were set. ref 5732340c2035 fixes #5843
* vim-patch:8.1.0980: extend() insufficiently tested (#9646)Jan Edmund Lazo2019-02-25
| | | | | Problem: extend() insufficiently tested. Solution: Add more tests. (Dominique Pelle, closes vim/vim#4040) https://github.com/vim/vim/commit/58d63a0a2364e1f06a80550f9f5038145b339171
* vim-patch:8.1.0225: mode() does not indicate using CTRL-O from Insert mode ↵Justin M. Keyes2019-02-24
| | | | | | | (#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
* vim-patch:8.1.0959: sorting large numbers is not tested (#9641)Jan Edmund Lazo2019-02-23
| | | | | | 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
* Merge #9509 'TUI: detect background color'Justin M. Keyes2019-02-22
|\
| * TUI: rework background-color detectionJustin M. Keyes2019-02-22
| | | | | | | | | | | | | | | | | | - 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.
| * Merge #5027 'TUI: detect background color'Justin M. Keyes2019-02-17
| |\
| | * Merge #5027 'TUI: detect background color'Justin M. Keyes2019-01-17
| | |\
| | | * Automatically detect terminal background and set bg=dark or bg=lightJosh Triplett2016-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | I/O: ignore ENOTSUP for failed fsync()Justin M. Keyes2019-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | deps: update to libuv v1.26.0Justin M. Keyes2019-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | fix "E667: Fsync failed" on macOSJustin M. Keyes2019-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge #9626 from janlazo/vim-8.1.0926Justin M. Keyes2019-02-18
|\ \ \ \