| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Some text in heredoc assignment ends the text. (Ozaki Kiichi)
Solution: Recognize "let v =<<" and skip until the end.
https://github.com/vim/vim/commit/8471e57026714c5a0faf89288ceef5231fb88d4f
|
| |/
| |
| |
| |
| |
| | |
Problem: Getting a list of text lines is clumsy.
Solution: Add the =<< assignment. (Yegappan Lakshmanan, closes vim/vim#4386)
https://github.com/vim/vim/commit/f5842c5a533346c4ff41ff666e465c85f1de35d5
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Some MB_ macros are more complicated than necessary. (Dominique
Pelle)
Solution: Simplify the macros. Expand inline.
https://github.com/vim/vim/commit/1614a14901558ca091329315d14a7d5e1b53aa47
|
| |
| |
| |
| |
| |
| | |
Problem: Leaking memory when getting item from dict.
Solution: Also free the key when not evaluating.
https://github.com/vim/vim/commit/a893194d91a2942d4d54085d746ed137a9251b69
|
| | |
|
| |
| |
| |
| |
| |
| | |
Problem: Not easy to jump to function line from profile.
Solution: Use "file:99" instead of "file line 99" so that "gf" works.
(Daniel Hahler, closes vim/vim#4951)
https://github.com/vim/vim/commit/181d4f58cc421f2e6d3b16333d4cb70d35ad1342
|
| |\
| | |
| | | |
vim-patch:8.0.{1109,1529,1539,1621,1733,1771,1776},8.1.{1783,2054,2058}
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Assert_equalfile() does not close file descriptors. (Coverity)
Solution: Close the file descriptors.
https://github.com/vim/vim/commit/3049418f3dbc571463a04d068069f6c5b7a8ccf1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Timer causes error on exit from Ex mode. (xtal8)
Solution: save and restore the ex_pressedreturn flag. (Christian Brabandt,
closes vim/vim#2079)
https://github.com/vim/vim/commit/f5291f301e9322545f0621b2157e93050d1d4fb3
|
| |/
| |
| |
| |
| | |
Problem: assert_fails() does not take a message argument
Solution: Add the argument.
https://github.com/vim/vim/commit/1307d1c003b01b4f67524c95feb07c3d91c7c428
|
| |
| |
| |
| |
| |
| | |
Problem: Assert functions don't return anything.
Solution: Return non-zero when the assertion fails.
https://github.com/vim/vim/commit/65a5464985f980d2bbbf4e14d39d416dce065ec7
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot write and read terminal screendumps.
Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
Also add assert_equalfile().
https://github.com/vim/vim/commit/d96ff165113ce5fe62107add590997660e3d4802
|
|/
|
|
|
|
|
|
|
|
| |
Vim's documentation simply states that libcallnr() should be used "for a
function that returns an int". Based on the tests, code, and common
syscall interfaces, this should likely be taken literally instead of
trying to apply some well-defined type lipstick.
Notably, this change fixes Test_libcall_libcallnr on hppa (a 32-bit
big-endian system).
|
|
|
|
|
| |
Given the other type names "jumps", "vars", etc., the name "buflist"
is somewhat unintuitive.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
During a refactor long ago, we changed the `getdigits_*` familiy of
functions to abort on overflow. But this is often wrong, because many
of these codepaths are handling user input.
Solution:
Decide at each call-site whether to use "strict" mode.
fix #5555
|
|
|
|
|
|
| |
fix #3436
Includes:
vim-patch:8.0.1038: strike-through text not supported
|
|
|
|
| |
This avoids getting "stuck". If user actually _wants_ to get stuck
forever, they could use `:sleep` or specify a really big `interval`.
|
|
|
|
|
|
|
|
|
|
|
| |
Vim added more flags for testing yet more dimensions of its Python
situation. Handle those in eval_has_provider().
vim-patch:8.0.1436: not enough information about what Python version may work
Problem: Not enough information about what Python version may work.
Solution: Add "python_compiled", "python3_compiled", "python_dynamic" and
"python3_dynamic" values for has().
ref: https://github.com/neovim/neovim/pull/10942#issuecomment-529479500
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Problem: Memory error when profiling a function without a script ID.
Solution: Check for missing script ID. (closes vim/vim#4877)
https://github.com/vim/vim/commit/163588005da3a240e49416093d0d0251951d60a1
|
| |
| |
| |
| |
| |
| | |
Problem: Reloading a script gives errors for existing functions.
Solution: Allow redefining a function once when reloading a script.
https://github.com/vim/vim/commit/ded5f1bed7ff2d138b3ee0f9610d17290b62692d
|
| |
| |
| |
| |
| |
| | |
Problem: Function profile doesn't specify where it was defined.
Solution: Show the script name and line number.
https://github.com/vim/vim/commit/4c7b08f6409349cf5324a26f7523c438590550ef
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot get the script line number when executing a function.
Solution: Store the line number besides the script ID. (Ozaki Kiichi,
closes vim/vim#3362) Also display the line number with ":verbose set".
https://github.com/vim/vim/commit/f29c1c6aa3f365c025890fab5fb9efbe88eb1761
|
| |
| |
| |
| | |
vim-patch:8.1.1645: cannot use a popup window for a balloon
|
|\ \
| |/
|/| |
Check got_int in msg_multiline_attr with ex_echo
|
| |
| |
| |
| | |
Ref: https://github.com/neovim/neovim/pull/10926#discussion_r320706446
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: If a job exits while waiting on another job, the on_exit
handler is queued but f_jobwait() skips it.
Solution: Always do process_wait(), so that handlers are run during
f_jobwait().
fix #8302
Test case:
$ BUSTED_ARGS="--repeat=2000 --no-keep-going" TEST_FILE=test/functional/core/job_spec.lua TEST_FILTER=waiting make functionaltest
Failure example (macOS CI):
FAILED test/functional/core/job_spec.lua: jobs jobwait will run callbacks while waiting
test/functional/core/job_spec.lua:606: Expected objects to be the same.
Passed in:
(table: 0x1be77c80) {
[1] = 'notification'
[2] = 'wait'
*[3] = {
*[1] = 3 } }
Expected:
(table: 0x1be77d10) {
[1] = 'notification'
[2] = 'wait'
*[3] = {
*[1] = 4 } }
stack traceback:
test/functional/core/job_spec.lua:606: in function <test/functional/core/job_spec.lua:583
|
|
|
|
|
|
|
| |
Problem: No comma after last enum item.
Solution: Add a few commas to check if this works for all compilers. Also
add a few // comments.
https://github.com/vim/vim/commit/ea3ece405ab55f44018257bd2f5021231af8e87f
|
| |
|
|
|
|
| |
closes #10362
|
|
|
|
|
|
|
|
| |
add proper msg_set_pos event, delet win_scroll_over_*
make compositor click through unfocusable grids
add MsgArea attribute for the message/cmdline area, and add docs and tests
|
|
|
|
|
|
| |
Problem: "safe" argument of call_vim_function() is always FALSE.
Solution: Remove the argument.
https://github.com/vim/vim/commit/ded27a1febda3db7447958b60a7d791af514d124
|
|
|
|
|
|
| |
Problem: May crash when out of memory.
Solution: Initialize v_type to VAR_UNKNOWN. (Dominique Pelle, closes vim/vim#4871)
https://github.com/vim/vim/commit/c507a2d164cfa3dcf31a7ba9dad6663a17243bb4
|
|
|
|
|
|
|
|
| |
Problem: Ml_get errors after using append(). (Alex Genco)
Solution: Do not update the cursor twice.
https://github.com/vim/vim/commit/d20070274c47668560e02db184e1f8e456c3c326
fix #10847
|
|\
| |
| | |
vim-patch:7.4.1407,8.1.1111
|
| |
| |
| |
| |
| |
| | |
Problem: It is not easy to check for infinity.
Solution: Add isinf(). (Ozaki Kiichi, closes vim/vim#3787)
https://github.com/vim/vim/commit/fda1bff39f89775b20a2d88ef3903656d52f66ad
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: json_encode() does not handle NaN and inf properly. (David
Barnett)
Solution: For JSON turn them into "null". For JS use "NaN" and "Infinity".
Add isnan().
https://github.com/vim/vim/commit/f1b6ac72293e658bb6e68c5cfd926c405b1b6f34
|
| |
| |
| |
| |
| | |
Problem: Not easy to compute the space on the command line.
Solution: Add v:echospace. (Daniel Hahler, closes vim/vim#4732)
https://github.com/vim/vim/commit/37f4cbd46f5a6f2dd3a48d5fa4324dce37e4bd6c
|
| |
| |
| |
| |
| |
| | |
Problem: Using empty string for current buffer is unexpected.
Solution: Make the argument optional for bufname() and bufnr().
https://github.com/vim/vim/commit/a8eee21e75324d199acb1663cb5009e03014a13a
|
|/
|
|
|
|
| |
Problem: Text added with appendbufline() to another buffer isn't displayed.
Solution: Update topline. (partly by Christian Brabandt, closes vim/vim#4718)
https://github.com/vim/vim/commit/298466629119eda501cfdf7824797f05045e67ca
|
|
|
|
|
|
| |
Problem: Mac features are confusing.
Solution: Make feature names more consistent, add "osxdarwin". Rename
feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes vim/vim#2178)
https://github.com/vim/vim/commit/d057301b1f28736f094affa17b190244ad56e8d9
|
|
|
|
|
|
| |
Problem: getwininfo() and win_screenpos() return different numbers.
Solution: Add one to "wincol" and "winrow" from getwininfo().
https://github.com/vim/vim/commit/7132ddc1014a4e1230f0080e418221e5843e1277
|
|
|
|
|
|
| |
Problem: Cannot select modified buffers with getbufinfo().
Solution: Add the "bufmodified" flag. (Yegappan Lakshmanan, closes vim/vim#2431)
https://github.com/vim/vim/commit/8e6a31df81113bbf0e4bb5324a74dc5f6c62a490
|
|
|
|
|
|
| |
Problem: Cannot easily delete lines in another buffer.
Solution: Add deletebufline().
https://github.com/vim/vim/commit/d79a26219d7161e9211fd144f0e874aa5f6d251e
|
|
|
|
|
|
| |
Problem: Cannot easily append lines to another buffer.
Solution: Add appendbufline().
https://github.com/vim/vim/commit/ca851593a660f08aba5c134f90c238d4a3e983e6
|
|
|
|
|
|
| |
Problem: The a: dict is not immutable as documented.
Solution: Make the a:dict immutable, add a test. (Ozaki Kiichi, Yasuhiro
Matsumoto, closes vim/vim#3929)
https://github.com/vim/vim/commit/31b816042fca879b11965ddd75287732563ba698
|
|
|
|
| |
Do not incorrectly prefer python2 if python3 is working.
fixes #10758
|