| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
| |
Problem: Compiling weird regexp pattern is very slow.
Solution: When reallocating post list increase size by 50%. (Kuang-che Wu,
closes vim/vim#4012) Make assert_inrange() accept float values.
https://github.com/vim/vim/commit/38f08e76acf7d21bb34cf8f79f0f82eb63cdc987
Omit changes to typval_compare()
because patch v8.0.1505 was not ported.
|
| |
|
|
|
|
|
|
| |
Problem: shiftwidth() does not take 'vartabstop' into account.
Solution: Use the cursor position or a position explicitly passed.
Also make >> and << work better with 'vartabstop'. (Christian
Brabandt)
https://github.com/vim/vim/commit/f951416a8396a54bbbe21de1a8b16716428549f2
|
| |
|
|
|
|
|
|
| |
Problem: Failure when setting 'varsofttabstop' to end in a comma. (Ralf
Schandl)
Solution: Reject value with trailing command. Add test for invalid values
(closes vim/vim#3544)
https://github.com/vim/vim/commit/64f410742f101d7d5ea9e65503e1e0019605eaa5
|
| |
|
|
|
|
| |
Problem: Crash with "set smarttab shiftwidth=0 softtabstop=-1".
Solution: Fall back to using 'tabstop'. (closes vim/vim#3155)
https://github.com/vim/vim/commit/c9fe5ab3b093803b6e8d03358ba16aca6b6f0db1
|
| |
|
|
|
|
| |
Problem: Negative value of 'softtabstop' not used correctly.
Solution: Use get_sts_value(). (Tom Ryder)
https://github.com/vim/vim/commit/33d5ab3795720b7d986f9f17f660ee9e448466e0
|
| |
|
|
|
|
|
| |
Problem: Various problems with 'vartabstop'.
Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian
Brabandt, closes vim/vim#3076)
https://github.com/vim/vim/commit/307ac5c68e9e624ab713136d79f35bb73f780d2d
|
| |
|
|
|
|
|
| |
Problem: Display problem with 'vartabstop' and 'linebreak'. (Chauca
Fuentes)
Solution: Call tabstop_padding(). (Christian Brabandt, closes vim/vim#3076)
https://github.com/vim/vim/commit/a87b72cc316e065d66dcbcf7ec1cde330adef3a3
|
| |
|
|
|
|
|
| |
Problem: All tab stops are the same.
Solution: Add the variable tabstop feature. (Christian Brabandt,
closes vim/vim#2711)
https://github.com/vim/vim/commit/04958cbaf25eea27eceedaa987adfb354ad5f7fd
|
| |
|
|
|
|
|
|
|
|
|
| |
POSIX strptime does not exist in Windows.
There is a C++ workaround but I don't know how to use it.
Julia ported BSD's "strptime()" but I can't compile the file
or embed the relevant code into src/nvim/os/time.c
I cannot use "#ifdef" in eval.lua because of function hashing.
"#ifdef" is required to point "strptime()" to NULL
such that "CheckFunction strptime" fails.
|
| |
|
|
|
|
| |
Problem: Strptime() does not use DST.
Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes vim/vim#6230)
https://github.com/vim/vim/commit/ea1233fccf4f52f2b4eaab3788a087878d1336fc
|
| |
|
|
|
|
| |
Problem: strptime() test fails on Japanese Mac.
Solution: Use %T instead of %X.
https://github.com/vim/vim/commit/9a838fe543b69582b0773f7c38a57f16fb32d765
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Cannot parse a date/time string.
Solution: Add strptime(). (Stephen Wall, closes #)
https://github.com/vim/vim/commit/10455d43fef041309ce0613fa792c635dd71e3a8
N/A patches for version.c:
vim-patch:8.1.2344: Cygwin: warning for using strptime()
Problem: Cygwin: warning for using strptime().
Solution: Move defining _XOPEN_SOURCE and __USE_XOPEN to vim.h. (Ken Takata,
closes vim/vim#5265) Use 700 for _XOPEN_SOURCE for mkdtemp().
https://github.com/vim/vim/commit/6a228c6463935a73c8f21142cb7368545cfee317
|
| |
|
|
|
|
|
| |
Problem: The initial value of 'backupskip' can have duplicate items.
Solution: Remove duplicates, like when it is set later. (Tom Ryder,
closes vim/vim#6940)
https://github.com/vim/vim/commit/b00ef0508b22905379953a164bdb4300015d3705
|
| |
|
|
|
|
|
|
|
| |
Problem: There is no way to avoid some escape sequences.
Solution: Suppress escape sequences when the --not-a-term argument is used.
(Gary Johnson)
https://github.com/vim/vim/commit/7007e31bde75b6360a1b54c7572e4f855458f37d
"Test_not_a_term" passes because Neovim does not support "--not-a-term" flag.
|
| |
|
|
| |
These tests pass without 'set encoding=latin1'.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Use "CheckFunction" for standard error message
for missing "test_autochdir()".
Sync test_autochdir.vim to the latest Vim commit
because porting Vim patches for this file
modify other files and are too tedious to port.
|
| |
|
|
|
|
| |
Some skipped tests have custom error messages.
Use ":CheckFunction" command for standard error message
on missing function.
|
| |
|
|
|
|
| |
Problem: Highlighting a character too much with incsearch.
Solution: Check "search_match_endcol". (Christian Brabandt, closes vim/vim#7360)
https://github.com/vim/vim/commit/448465e6872905967c97a56cd45307530795653c
|
| |
|
|
|
|
| |
Problem: Eval test fails because for loop on string works.
Solution: Check looping over function reference fails.
https://github.com/vim/vim/commit/c61cb8bfe1ec2cc50e6edd195cae2a3cd93d6590
|
| |
|
|
|
|
| |
Problem: Setting local instead of global flag.
Solution: Prepend "g:" to "test_is_flaky".
https://github.com/vim/vim/commit/30d53e2c11e670845830bdfc29bf8c1615df61a8
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tests
Problem: Not all tests using a terminal are in the list of flaky tests.
Solution: Introduce the test_is_flaky flag.
https://github.com/vim/vim/commit/3cdcb090a664e182078f7cc0ca3e4e5a94bbb784
Cherry-pick g:test_is_flaky from patch v8.2.0557.
Ensure that test_is_flaky variable is set from the global scope..
N/A patches for version.c:
vim-patch:8.2.2647: terminal test sometimes hangs
Problem: Terminal test sometimes hangs.
Solution: Wait for the shell to display a prompt.
https://github.com/vim/vim/commit/f4a2ed071447ad4984fad55b9d1671b55140ae1c
vim-patch:8.2.2648: terminal resize test sometimes hangs
Problem: Terminal resize test sometimes hangs.
Solution: Wait for the shell to display a prompt and other output.
https://github.com/vim/vim/commit/c54f347d63bcca97ead673d01ac6b59914bb04e5
fixup! vim-patch:8.2.0400: not all tests using a terminal are in the list of flaky tests
|
| |\
| |
| | |
[RFC] vim-patch 8.2.0088: insufficient tests for tags...
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Insufficient tests for tags; bug in using extra tag field when
using an ex command to position the cursor.
Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes vim/vim#5439)
https://github.com/vim/vim/commit/830c1afc9d2cd5819a05c71d4e0b1f748a8c0519
|
| | |
| |
| |
| |
| |
| | |
Problem: 'tagfunc' does not indicate using a pattern.
Solution: Add the "r" flag. (Andy Massimino, closes vim/vim#7982)
https://github.com/vim/vim/commit/f90c855c71863296859780f7b4e0386e96f1c465
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Commands from winrestcmd() do not always work properly. (Leonid V.
Fedorenchik)
Solution: Repeat the size commands twice. (closes vim/vim#7988)
https://github.com/vim/vim/commit/a0c8aea479ca055ce43ba2984a9933f6c48e6161
|
| | |
| |
| |
| |
| |
| | |
Problem: Rss files not recognized.
Solution: Recognize .rss as XML. (Kivin Locke, closes vim/vim#7987)
https://github.com/vim/vim/commit/af125866db46405fdaf99ac4e43b630d196a4aa4
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Atom files not recognized.
Solution: Recognize .atom as XML. (Kivin Locke, closes vim/vim#7986)
https://github.com/vim/vim/commit/74b99f6ab6e0265ebee4ed496845f28e0904318d
N/A patches for version.c:
vim-patch:8.2.2622: GTK: error when starting up and -geometry is given
Problem: GTK: error when starting up and -geometry is given. (Dominique
Pellé)
Solution: Use another function to get the monitor if the window has not been
created yet. (closes vim/vim#7978)
https://github.com/vim/vim/commit/a555e6fcb6ec97b5ab30b20a340b228f4d820f14
vim-patch:8.2.2626: GTK3: error when starting up and -geometry is given
Problem: GTK3: error when starting up and -geometry is given. (Dominique
Pellé)
Solution: Use another function to get the monitor if the window has not been
created yet. (closes vim/vim#7978)
https://github.com/vim/vim/commit/240014321b0aa5d6eb00a70865fa9935fd888d60
|
| |\
| |
| | |
[RFC] vim-patch:8.2.{1693,1703,1705}
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: "verbose hi Name" reports incorrect info after ":hi clear".
Solution: Store the script context. (Antony Scriven, closes vim/vim#6975)
https://github.com/vim/vim/commit/e8df0104985af58ee501a6fbac8ac9f886e84e5a
Also adds src/nvim/testdir/script_util.vim which originates from patch 8.2.1366
(https://github.com/vim/vim/commit/a6296200bd5191bab7efcdcc16c9e79eb498e8e0)
because some tests in test_highlight.vim use it for testing :verbose.
Should merge this and older related patches later.
Also, fix collateral damage to test_options.vim
test_options tests for file name completion in the test directory, but
since we've added a new file, the test output is now different. This
test is slightly different from upstream anyway, so for now we just add
the file name. This may change when more upstream patches are added
which alter this test.
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: ":highlight clear" does not restore default link.
Solution: Remember the default link and restore it. (Antony Scriven,
closes vim/vim#6970, closes vim/vim#4405)
https://github.com/vim/vim/commit/213da551dec465e193619684b260bf9d5a8d6afc
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: "hi def" does not work for cleared highlight.
Solution: Check the "sg_cleared" flag. (Maxim Kim, closes vim/vim#6956,
closes vim/vim#4405)
https://github.com/vim/vim/commit/05eb5b9cae123b138bbd23cc77e50657ece6b4ad
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Crash when passing popup window to win_splitmove(). (john Devin)
Solution: Disallow moving a popup window. (closes vim/vim#5816)
https://github.com/vim/vim/commit/0f1563ffee4397f5b379517c41b7c9a977fd2e22
Add translated test for 8.2.0422 (popup->floating)
|
| | |
| |
| |
| |
| |
| | |
Problem: win_splitmove() can make Vim hang.
Solution: Check windows exists in the current tab page. (closes vim/vim#5444)
https://github.com/vim/vim/commit/7b94e77132eabdf0e43abca57e2ffeb961545174
|
| | |
| |
| |
| |
| |
| | |
Problem: It is not easy to change the window layout.
Solution: Add win_splitmove(). (Andy Massimino, closes vim/vim#4561)
https://github.com/vim/vim/commit/d20dcb3d011da6111153109f6e46fbd5c7fe9fb6
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Conditions for startup tests are not exactly right.
Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
closes vim/vim#7976)
https://github.com/vim/vim/commit/f8c52e8d08de3fdf48db877d7d53d2d68c6ceb7b
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Test disabled on MS-Windows even though it should work.
Solution: Restore the condition for skipping the test. (Ken Takata,
closes vim/vim#7970)
https://github.com/vim/vim/commit/321481299757cdd43baeed33f4c5ba543fdfc7f7
|
| | |
| |
| |
| |
| |
| | |
Problem: GUI-specific command line arguments not tested.
Solution: Add tests for several arguments. (Dominique Pellé, closes vim/vim#7962)
https://github.com/vim/vim/commit/240309c9bfa8a0d2f154712f8e0dd33589f181d3
|
| | |
| |
| |
| |
| |
| | |
Problem: :doautocmd may confuse scripts listening to WinEnter.
Solution: Do the current buffer last. (closes vim/vim#7958)
https://github.com/vim/vim/commit/41cd80335cf318c15c8b0139f53ab5e8a02561ef
|
| | |
| |
| |
| |
| |
| | |
Problem: Setting 'winminheight' may cause 'lines' to change.
Solution: Also take minimal height of other tabpages into account. (vim/vim#7899)
https://github.com/vim/vim/commit/9e813b3dea94a8952b732a224fa31beba6e85973
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Alternate buffer added to session file even when it's hidden.
Solution: Check the 'buflisted' option. (closes vim/vim#7951)
https://github.com/vim/vim/commit/0756f757edba755b75e0c9c612ab2f7e673def84
N/A patches for version.c:
vim-patch:8.2.2593: list of distributed files is incomplete
Problem: List of distributed files is incomplete.
Solution: Add a file and rename another.
https://github.com/vim/vim/commit/0de8e2d6a3fae61c4d9dfdd6f16fc5040d994f6c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Expresison command line completion shows variables but not
functions after "g:". (Gary Johnson)
Solution: Prefix "g:" when needed to a global function.
https://github.com/vim/vim/commit/1bb4de5302ba038b9c59e845b6d735e87d5681d0
Port most of patch v8.2.0335 to complete script-local functions
if the name starts with "s:".
|
| | |
| |
| |
| |
| |
| | |
Problem: No completion for the 'filetype' option.
Solution: Add filetype completion. (Martin Tournoij, closes vim/vim#7747)
https://github.com/vim/vim/commit/d5e8c92816f35ea1a9298084238a08f35958baa6
|
| | |
| |
| |
| |
| |
| | |
Problem: Poke files are not recognized.
Solution: Add a filetype entry. (Matt Ihlenfield)
https://github.com/vim/vim/commit/c80f647512b001fb6952ed10d076d56c3d4b84e0
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Build failure with tiny features.
Solution: Add #ifdef. Run recover test separately.
https://github.com/vim/vim/commit/23b32a8d6bd9ec83c0c6632b7a8bfa544ac0a2f1
N/A patches for version.c:
vim-patch:8.2.1048: build failure without the eval feature
Problem: Build failure without the eval feature.
Solution: Add dummy typedef.
https://github.com/vim/vim/commit/9d40c63c7dc8c3eb3886c58dcd334bc7f37eceba
vim-patch:8.2.1828: build failure without the +eval feature
Problem: Build failure without the +eval feature.
Solution: Add dummys for ex_block and ex_endblock.
https://github.com/vim/vim/commit/1b1e9df78b9ff98cc5ccff359bead37ce5c54d6b
vim-patch:8.2.2293: build failure with Motif
Problem: Build failure with Motif. (Tony Mechelynck)
Solution: Use empty_option instead of empty_options.
https://github.com/vim/vim/commit/bb0956fc65ebe8df1da823f9c4d6a0013d9ba5c1
vim-patch:8.2.2410: build failure without the +profiling feature
Problem: Build failure without the +profiling feature.
Solution: Add dummy argument to macro.
https://github.com/vim/vim/commit/ff0e57fe77b1a87a034191c629730b081f6fb7ad
vim-patch:8.2.2514: Vim9: build error in tiny version
Problem: Vim9: build error in tiny version.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/2379f87eb48a4ee6a1d0fc7df964e12a3efe4fd5
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Compiler warning for type conversion.
Solution: Add a typecast. (Mike Williams)
https://github.com/vim/vim/commit/9355ae41497cbcce58ddd79f9125eb3e9dfe0a43
N/A patches for version.c:
vim-patch:8.1.0783: compiler warning for signed/unsigned
Problem: Compiler warning for signed/unsigned.
Solution: Add type cast. Change type of buffer. (Ozaki Kiichi, closes vim/vim#3827)
https://github.com/vim/vim/commit/63c0ccd2b68ce854f294e6f149cc700c7f543674
Neovim was refactored to prefer char type for string functions, not char_u.
vim-patch:8.2.2152: screenpos() does not include the WinBar offset
Problem: screenpos() does not include the WinBar offset.
Solution: Use W_WINROW() instead of directly using w_window. (closes vim/vim#7487)
https://github.com/vim/vim/commit/8dd46e72cfb13b8de793c808ee009c45e881903a
W_WINROW() was removed so port only the test changes.
The test is currently skipped.
|
| |
|
|
|
|
|
|
|
| |
Problem: %a item in 'statusline' not tested.
Solution: Add a test. (Dominique Pellé, closes vim/vim#6318)
https://github.com/vim/vim/commit/4014e2ceb03b8aeb947a0c671a099b677c8f2d5d
Do not run test_statusline.vim in test_alot.vim
because test_statusline.vim runs separately in Vim since patch v8.2.0164.
|
| |
|
|
|
|
|
|
| |
Problem: 'scroll' option can change when setting the statusline or tabline
but the option context is not updated.
Solution: Update the script context when the scroll option is changed as a
side effect. (Christian Brabandt, closes vim/vim#7533)
https://github.com/vim/vim/commit/746670604a60cb0356b56c112ffb6d297c679099
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Setting 'winminheigt' does not take tabline into account.
Solution: Subtract the tabline from the available height. (closes vim/vim#7899)
https://github.com/vim/vim/commit/39d4cab494248131b6fb07aba633aa4da7871a57
N/A patches for version.c:
vim-patch:8.1.0680: not easy to see what features are unavailable
Problem: Not easy to see what features are unavailable.
Solution: Highlight disabled features in the :version output. (Nazri Ramliy,
closes vim/vim#3756)
https://github.com/vim/vim/commit/c85ffc9daba6f66d5958ae80249d26f7f81bfced
vim-patch:8.2.2196: :version output has extra spaces in compile and link command
Problem: :version output has extra spaces in compile and link command.
Solution: Adjust QUOTESED. (closes vim/vim#7505)
https://github.com/vim/vim/commit/abcbb0e9ad43fc25077e1681528e72ddcbeed300
vim-patch:8.2.2551: MS-Windows: colors test file is not installed
Problem: MS-Windows: colors test file is not installed.
Solution: Also copy runtime/colors/tools. (Ken Takata, closes vim/vim#7902)
https://github.com/vim/vim/commit/d0bce504ec52def729fffa35c8896979af348d32
vim-patch:8.2.2559: MS-Windows: guifont test fails on Windows XP
Problem: MS-Windows: guifont test fails on Windows XP.
Solution: Check windowsversion().
https://github.com/vim/vim/commit/3650fd709807d5ac182e28d952cbd790c1ad0a6a
|
| |
|
|
|
| |
Problem: Cannot convert a byte index into a character index.
Solution: Add charidx(). (Yegappan Lakshmanan, closes vim/vim#7561)
https://github.com/vim/vim/commit/17793ef23aae0bc94539390ccfe5e63b0ad39ff2
|