| Commit message (Collapse) | Author | Age |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: swapinfo() leaks memory.
Solution: Avoid allocating the strings twice.
https://github.com/vim/vim/commit/e6fdf79980c0f2856700d4f46de700293f477429
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Swap file test fails on MS-Windows.
Solution: Only compare the tail of the file names.
https://github.com/vim/vim/commit/701df4eb64ae9945c63f83621b54aa69e1336a79
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Asking about existing swap file unnecessarily.
Solution: When it is safe, delete the swap file. Remove
HAS_SWAP_EXISTS_ACTION, it is always defined. (closes vim/vim#1237)
https://github.com/vim/vim/commit/67cf86bfff5fd5224d557d81cb146f46e33b831c
N/A:
vim-patch:8.1.1232
vim-patch:8.1.1233
vim-patch:8.1.1236
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Can't get swap name of another buffer.
Solution: Add swapname(). (Ozaki Kiichi, closes vim/vim#3441)
https://github.com/vim/vim/commit/110bd60985c31e8978e9b071e2179f4233ef8557
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Strings in swap file may not be NUL terminated. (Coverity)
Solution: Limit the length of the used string.
https://github.com/vim/vim/commit/7c60505e1012a43549c2c075c27463c5399e81ec
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: swapinfo() test fails on Travis.
Solution: Handle a long host name. (Ozaki Kiichi, closes vim/vim#3361)
Also make the version check flexible. (James McCoy)
https://github.com/vim/vim/commit/4c5765bc47b2708075e8d8471e8d342079479777
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Build failure without the +eval feature. (Brenton Horne)
Solution: Add #ifdef. Also add the "dirty" item.
https://github.com/vim/vim/commit/47ad5656e1e4285a74e7e8e5d0f1f71cd554e25c
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Information about a swap file is unavailable.
Solution: Add swapinfo(). (Enzo Ferber)
https://github.com/vim/vim/commit/00f123a56585363cd13f062fd3bb123efcfaa664
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Timeout of getwinposx() can be too short. (lilydjwg)
Solution: Add getwinpos(). (closes vim/vim#2689)
https://github.com/vim/vim/commit/3f54fd319f6641b4bed478bcc90cdb39ede68e31
|
| | | |
| | | |
| | | |
| | | | |
Helped-by: Björn Linse <bjorn.linse@gmail.com>
fix #5646
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
closes #9921
reverts f0a702d1169a
Problem: Memory leak when running "make test_cd".
Solution: Free the stack element when failing. (Dominique Pelle,
closes vim/vim#3877)
https://github.com/vim/vim/commit/e0de2164f62a1736cdc64dbf804b77db8af90c10
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
fix #9918
ref dbc25f5a87cf3bcfe1caac1eb1ff8b3a6978a415
Before 7ede14d191b1 the UGRID_FOREACH_CELL loop was never entered,
because it expanded to an always-false condition.
From build/src/nvim/auto/tui/tui.i:
do {
UCell *row_cells = (grid)->cells[grid->row];
for (int col = grid->col; col < col; col++) {
UCell *cell = row_cells + col;
(void)(cell);
{
print_cell(ui, cell);
};
}
} while (0);
After 7ede14d191b1 issue #9918 was reported.
$ ./build/bin/nvim -Nu NONE +'colo evening'
:h<tab> " causes cursor to change colors
Since the code was dead before 7ede14d191b1, just remove it.
|
| | |
| | |
| | | |
ref #9825
|
|\ \ \
| | | |
| | | | |
win/defaults: Use "…/nvim-data/site" in 'runtimepath'
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
On Windows we store non-config data in "$XDG_DATA_HOME/nvim-data". But
the "…/site" items in 'runtimepath' did not correctly point to that
location, they used "…/nvim/site".
Fix the init logic to use "…/nvim-data/site".
closes #9910
|
| | | |
| | | |
| | | | |
Vim replaced it with a test in test_gui.vim, N/A for Neovim.
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Problem: Old style tests.
Solution: Move tests from test14 to new style test files. (Yegappan
Lakshmanan, closes vim/vim#4308)
https://github.com/vim/vim/commit/c6b37db1ba704455daa8f9e78bc1c2492fb81f40
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Do this for new-style tests too, because they run after the old-style
tests which don't clean up their temp files.
Reverts ebd251c
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Clever compiler warns for buffer being too small.
Solution: Make the buffer bigger (even though it's not really needed).
https://github.com/vim/vim/commit/5431589d25e73892fcf7ad1eaca53f742c1c9303
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Some compilers give warning messages.
Solution: Initialize variables, change printf() argument. (Christian
Brabandt, closes vim/vim#4305)
https://github.com/vim/vim/commit/1f3601e92e7fd2813b9541580d6d9649c802eb58
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Vim script debugger tests are old style.
Solution: Turn into new style tests. (Yegappan Lakshmanan, closes vim/vim#4259)
https://github.com/vim/vim/commit/113bf0672b114af5800fa642bcd09f674758e5d5
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Some autocmd tests are old style.
Solution: Turn the tests into new style. (Yegappan Lakshmanan, closes vim/vim#4295)
https://github.com/vim/vim/commit/69ea587289b03e23a9fb96adffd6e8173cbc5896
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Typos and small problems in source files.
Solution: Small fixes.
https://github.com/vim/vim/commit/ad3ec76bb8030b9a1d3f0a49c374d0de2383b977
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Timer interrupting cursorhold and mapping not tested.
Solution: Add tests with timers. (Ozaki Kiichi, closes vim/vim#3871)
https://github.com/vim/vim/commit/26d982185e21398738a9c688429c0a1840d7c9c3
|
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot test if a command causes a beep.
Solution: Add assert_beeps().
https://github.com/vim/vim/commit/b48e96f61c87a64e38e3ac50732c92a84a4833b8
|
|\ \ \
| | | |
| | | | |
vim-patch:8.0.{647,768,797,1085,1092,1107,1133,1408}
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Crash in setqflist().
Solution: Check for string to be NULL. (Dominique Pelle, closes vim/vim#2464)
https://github.com/vim/vim/commit/a0ca7d002d4efcf4bce0af6943146a339677ed3d
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Terminal window status shows "[Scratch]".
Solution: Show "[Terminal]" when no title was set. (Yasuhiro Matsumoto)
Store the terminal title that vterm sends and use it. Update the
special buffer name. (closes vim/vim#1869)
https://github.com/vim/vim/commit/2155441460a6dc0a72125f7860507693112a1460
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Finished job in terminal window is not handled.
Solution: Add the scrollback buffer. Use it to fill the buffer when the job
has ended.
https://github.com/vim/vim/commit/d85f271bf8516dbd90be4d18f905f0abbfcd6db6
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Syntax timeout not used correctly.
Solution: Do not pass the timeout to syntax_start() but set it explicitly.
(Yasuhiro Matsumoto, closes vim/vim#2139)
https://github.com/vim/vim/commit/f3d769a585040ac47f7054057758809024ef6377
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Syntax highlighting can make cause a freeze.
Solution: Apply 'redrawtime' to syntax highlighting, per window.
https://github.com/vim/vim/commit/06f1ed2f78c5c03af95054fc3a8665df39dec362
|
|/ / /
| | |
| | | |
Remove <C-R> special char after reading following chars
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix #9889: stopinsert prohibiting terminal mode
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Using `:stopinsert` while in normal mode in a terminal buffer
prevents neovim from entering insert mode.
Solution: Move `stop_insert_mode = false` from terminal_check to
terminal_enter to be consistent with edit.c, as suggested by bfredl in
#9889.
Closes https://github.com/neovim/neovim/issues/9889.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
common (#9922)
Problem: .ts files are recognized as xml, while typescript is more common.
Solution: Recognize .ts files as typescript.
https://github.com/vim/vim/commit/1a4dce7cad4af4de347853aad6d671da2df662ad
|
|/ /
| |
| |
| |
| | |
References https://github.com/neovim/neovim/pull/9907
Fixes https://github.com/neovim/neovim/issues/9912
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Nvim notes:
- Nvim does not support "-u DEFAULTS", that change is omitted.
- Also add 'shadafile' as an alias to 'viminfofile'.
- Deprecate 'viminfofile'.
Problem: Not easy to start Vim cleanly without changing the viminfo file.
Not possible to know whether the -i command line flag was used.
Solution: Add the --clean command line argument. Add the 'viminfofile'
option. Add "-u DEFAULTS".
https://github.com/vim/vim/commit/c4da113ef98dcfd6f2a088b1693c0317dcb5bf42
|
| |
| |
| |
| |
| |
| | |
Problem: Can't get size or current index from quickfix list.
Solution: Add "idx" and "size" options. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/fc2b270cfd36230166df486aae4d96d9d1f32755
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Various small quickfix issues.
Solution: Remove ":" prefix from title set by a user. Add the qf_id2nr().
function. Add a couple more tests. Update documentation.
(Yegappan Lakshmanan)
https://github.com/vim/vim/commit/b4d5fbabc99917a8069ba32a60c2d73d4f60e128
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Function prototypes missing without the quickfix feature. (Tony
Mechelynck)
Solution: Move non-quickfix functions to buffer.c.
https://github.com/vim/vim/commit/f0a521f4f76904edb74e182c12732189b347ff68
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Options of a buffer for a terminal window are not set properly.
Solution: Add "terminal" value for 'buftype'. Make 'buftype' and
'bufhidden' not depend on the quickfix feature.
Also set the buffer name and show "running" or "finished" in the
window title.
https://github.com/vim/vim/commit/1f2903c43109b16594d141a730659317b15f388d
|
|\ \
| | |
| | | |
windows: float config changes
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Allow floating windows of width 1. #9846
- For a new floating window the size must be specified. Later on we
might try to calculate a reasonable size by buffer contents
- Remember the configured size of a window, just like its position.
- Make get_config and set_config more consistent. Handle relative='' properly in set_config.
get_config doesn't return keys that don't make sense for a non-floating window.
- Don't use width=0 for non-changed width, just omit the key.
|