| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | |
| | | |
[ci skip]
|
|\ \ \
| |/ /
|/| | |
vim-patch:7.4.2360
|
|/ /
| |
| |
| |
| |
| |
| | |
Problem: Invalid memory access when formatting. (Dominique Pelle)
Solution: Make sure cursor line and column are associated.
https://github.com/vim/vim/commit/80c3fd7c559c7d329d57afe10db9bfb0adf10e46
|
|\ \ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
If if the resolved $NVIM_LOG_FILE *and* stdpath("data")/log cannot be
created (e.g. because the XDG data directory does not exist), fall back
to .nvimlog in the current direcrtory.
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Do not delete it: may need to inspect it after tests finished.
- Avoids writing to stderr in cases where the test-local $XDG_DATA_HOME
was not created yet.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|
| | |
| | |
| | |
| | |
| | |
| | | |
Avoids a hang, and also helps diagnose issues like:
https://github.com/neovim/neovim/pull/6594#issuecomment-298321826
|
| | | |
|
|\ \ \
| |/ /
|/| | |
vim-patch:7.4.1975,7.4.1976,7.4.1977,7.4.1978,7.4.1979,7.4.1986,7.4.2029,7.4.2224,8.0.0219,8.0.0614
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
In order to generate INT64_MIN from literal values, it's necessary to
use "-0x7fffffffffffffff - 1". Using "-0x8000000000000000" causes the
value to get clamped to INT64_MAX and then negated.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
vim-patch:8.0.0156,8.0.0158,8.0.0167,8.0.0168,8.0.0360,8.0.0477,8.0.0478,8.0.0176,8.0.0561
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Undefined behavior when using backslash after empty line.
Solution: Check for an empty line. (Dominique Pelle, closes vim/vim#1631)
https://github.com/vim/vim/commit/478af67dd6a9adc456464c3736bda328ae3a28cb
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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: Tests use assert_true(0) and assert_false(1) to report errors.
Solution: Use assert_report().
https://github.com/vim/vim/commit/37175409d766ce67f2548dffa6d73451379b5737
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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: Still some float functionality is not covered by tests.
Solution: Add more tests. (Dominique Pelle, closes vim/vim#1364)
https://github.com/vim/vim/commit/872004132f25cabe59352912889e042d6c7e6b4e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Several float functions are not covered by tests.
Solution: Add float tests. (Dominique Pelle)
https://github.com/vim/vim/commit/453b576ee5d32e9b8e6876712748ae01f9be68dd
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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: Compiler warnings with older compiler and 64 bit numbers.
Solution: Add "LL" to large values. (Mike Williams)
https://github.com/vim/vim/commit/af9c4c9b5761c4c074237d87e2c95713bf721eab
Equivalent change was made in ZyX's typval refactoring.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: printf() does not work with 64 bit numbers.
Solution: use the "L" length modifier. (Ken Takata)
https://github.com/vim/vim/commit/38ee6b041e73ad31c3b6b99d56d20833b59b2b57
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Compiler warns for loss of data.
Solution: Use size_t instead of int. (Christian Brabandt)
https://github.com/vim/vim/commit/fef524bbff9aa186838c35212b2f89f61d627cf8
Equivalent change had already been made when merging earlier pack
patches.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Getting value of binary option is wrong. (Kent Sibilev)
Solution: Fix type cast. Add a test.
https://github.com/vim/vim/commit/2acfbed9dbea990f129535de7ff3df360365130b
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Large file test does not delete its output.
Solution: Delete the output. Check size properly when possible. (Ken Takata)
https://github.com/vim/vim/commit/c5af40ae646ceda817eff93b4f9ba274f031bea6
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: With 64 bit changes don't need three calls to sprintf().
Solution: Simplify the code, use vim_snprintf(). (Ken Takata)
https://github.com/vim/vim/commit/bde9810d6103ffe3a22a9330021cb21db1ed1792
nvim already had the equivalent code, so only the patch number was
needed.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: On MS-Windows large files (> 2Gbyte) cause problems.
Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct
stat". Use 64 bit system functions if available. (Ken Takata)
https://github.com/vim/vim/commit/8767f52fbfd4f053ce00a978227c95f1d7d323fe
Only the off_T changes are relevant, since all the "struct stat" usage
is abstracted by libuv.
|
| | |
|
|\ \
| | |
| | | |
[RFC] lint: check indentation of FUNC_ATTR lines
|