| Commit message (Collapse) | Author | Age |
... | |
| |\ |
|
| |\ \ |
|
| | | | |
|
| |\ \ \ |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: searchpair() does not work when 'magic' is off. (Chris Paul)
Solution: Add \m in the pattern. (Christian Brabandt, closes vim/vim#1341)
https://github.com/vim/vim/commit/6e450a57541676036203a72d40b2e604e938371e
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | | |
Problem: Line number of current buffer in getbufinfo() is wrong.
Solution: For the current buffer use the current line number. (Ken Takata)
https://github.com/vim/vim/commit/f845b87f2b3a45cbee160e28d7a3f50e54054809
|
| |_|/
|/| |
| | | |
Closes #6763
|
| | |
| | |
| | |
| | | |
menu_get({path}, {modes}). See :h menu_get.
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| | |
Problem: Using freed memory with recursive function call. (Dominique Pelle)
Solution: Make a copy of the function name.
https://github.com/vim/vim/commit/8a01f969c198eeb655ad2f96f2796a6f6f4a1924
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Some error message cannot be translated.
Solution: Enclose them in _() and N_(). (Dominique Pelle)
https://github.com/vim/vim/commit/5b30291785e6b9be1a607504c14bd03c601b59a6
|
| |
| |
| |
| | |
Closes #6937 "nvim_get_keymap output is unreliable"
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
| |
This will still error out on `:endfunction | next`, but defining many functions
in one `:execute` should be possible.
|
|
|
|
| |
Ref #6844
|
|\ |
|
| |
| |
| |
| |
| |
| | |
- Establish ERROR log level as "critical". Such errors are rare and will
be valuable when users encounter unusual circumstances.
- Set -DMIN_LOG_LEVEL=3 for release-type builds
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: float2nr() is not exactly right.
Solution: Make float2nr() more accurate. Turn test64 into a new style test.
(Hirohito Higashi, closes vim/vim#1688)
https://github.com/vim/vim/commit/863e80b4451b5102b41bebf9ddca3a420de746fa
|
|\| |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Using :change in between :function and :endfunction fails.
Solution: Recognize :change inside a function. (ichizok, closes vim/vim#1374)
https://github.com/vim/vim/commit/70bcd7336f9f19304f32c52a86ed5b4b3de852c2
|
| |
| |
| |
| |
| |
| |
| | |
Problem: The client-server test may hang when failing.
Solution: Set a timer. Add assert_report()
https://github.com/vim/vim/commit/42205551b140bee8b419b24abe210f56bb80b35e
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Sometimes VimL is used, which is confusing.
Solution: Consistently use "Vim script". (Hirohito Higashi)
https://github.com/vim/vim/commit/b544f3c81f1e6a50322855681ac266ffaa8e313c
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: str2nr() and str2float() do not always work with negative values.
Solution: Be more flexible about handling signs. (LemonBoy, closes vim/vim#1332)
Add more tests.
https://github.com/vim/vim/commit/08243d26d22ad44a857d02c90071578577b8a55d
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: On MS-Windows some float functions return a different value when
passed unusual values. strtod() doesn't work for "inf" and "nan".
Solution: Accept both results. Fix str2float() for MS-Windows. Also
reorder assert function arguments.
https://github.com/vim/vim/commit/6247361101dcccc0c877e90ad67cd0cc83df7c68
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After merging +num64, the 64-bit sanitizer builds show that Vim doesn't
buffer the user from C's UB in signed arithmetic. Upstream doesn't
appear to be [interested] in fixing the issue, so suppress UBSAN until
someone decides to fix the problem.
N.B., the problem existed before but went unnoticed since the sanitizer
builds weren't being run in 32-bit mode.
[interested]: https://groups.google.com/d/topic/vim_dev/_tqf8eQy5eA/discussion
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Ubsan reports errors for integer overflow.
Solution: Define macros for minimum and maximum values. Select an
expression based on the value. (Mike Williams)
https://github.com/vim/vim/commit/7a40ea2138102545848ea86a361f1b8dec7552b5
|
|/
|
|
|
|
|
| |
Problem: Number variables are not 64 bits while they could be.
Solution: Add the num64 feature. (Ken Takata)
https://github.com/vim/vim/commit/22fcfad29276bd5f317faf516637dcd491b96a12
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
The error case is already handled and an appropriate error message is
already printed.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Helped-By: oni-link <knil.ino@gmail.com>
|
|\ \
| | |
| | | |
Use uv_getaddrinfo() for servers
|
| | |
| | |
| | |
| | |
| | | |
In the process of setting up the socket watcher, the address may be
changed (e.g., adding the OS-selected port).
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change implicitly adds IPv6 support.
If the address contains ":", we try to use a TCP socket instead of a Unix domain
socket. Everything in front of the last occurrence of ":" is the hostname and
everything after it the port.
If the hostname lookup fails, we fall back to using a Unix domain socket.
If the port is empty ("localhost:"), a random port will be assigned.
Examples:
NVIM_LISTEN_ADDRESS=localhost:12345 -> TCP (IPv4 or IPv6), port: 12345
NVIM_LISTEN_ADDRESS=localhost: -> TCP (IPv4 or IPv6), port: random (> 1024)
NVIM_LISTEN_ADDRESS=localhost:0 -> TCP (IPv4 or IPv6), port: random (> 1024)
NVIM_LISTEN_ADDRESS=localhost -> Unix domain socket "localhost" in current dir
|
|/
|
|
|
|
|
| |
* Add api function get keymap
nvim_get_keymap(mode)
nvim_buf_get_keymap(buffer, mode)
|
|
|
|
|
| |
Could not be uninitialized because `func_or_func_caller_profiling` is true only
if `do_profiling` is `YES`, and if `do_profiling` is `YES` then
`script_prof_save()` was called to initialize the variable.
|
| |
|
| |
|
|\ |
|
| | |
|