aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | vim-patch:8.0.0607 (#6879)Daniel Hahler2017-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When creating a bufref, then using :bwipe and :new it might get the same memory and bufref_valid() returns true. Solution: Add br_fnum to check the buffer number didn't change. https://github.com/vim/vim/commit/45e5fd135da5710f24a1acc142692f120f8b0b78
* | | | | vim-patch:7.4.2360Michael Ennen2017-06-08
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Problem: Invalid memory access when formatting. (Dominique Pelle) Solution: Make sure cursor line and column are associated. https://github.com/vim/vim/commit/80c3fd7c559c7d329d57afe10db9bfb0adf10e46
* | | | Merge #6827 'Always enable logging'Justin M. Keyes2017-06-07
|\ \ \ \
| * | | | log: Fall back to CWD-relative .nvimlogJustin M. Keyes2017-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | log: set $NVIM_LOG_FILE; fallback to $XDG_DATA_HOME/nvim/logJustin M. Keyes2017-06-07
| | | | |
| * | | | ga_append_via_ptr: fix log argumentsJustin M. Keyes2017-06-07
| | | | |
| * | | | ci: Dump $NVIM_LOG_FILE contentsJustin M. Keyes2017-06-07
| | | | |
| * | | | log: Always enable; remove DISABLE_LOGJustin M. Keyes2017-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| * | | | loop_close: Avoid infinite loop, and log it.Justin M. Keyes2017-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids a hang, and also helps diagnose issues like: https://github.com/neovim/neovim/pull/6594#issuecomment-298321826
| * | | | log: log_uv_handlesJustin M. Keyes2017-06-07
| | | | |
* | | | | lintJames McCoy2017-06-06
| | | | |
* | | | | *: Fix conversion warnings for tv_get_number*()James McCoy2017-06-06
| | | | |
* | | | | strings/tv_float: Explicitly cast v_number to float_T for -WconversionJames McCoy2017-06-06
| | | | |
* | | | | eval/typval: Convert string to varnumber_T instead of intermediate longJames McCoy2017-06-06
| | | | |
* | | | | vim-patch:8.0.0614James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge remote-tracking branch 'origin/master' into vim-7.4.1975James McCoy2017-06-06
|\| | | |
| * | | | lintJames McCoy2017-06-06
| | | | |
| * | | | vim-patch:8.0.0561James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | vim-patch:8.0.0176James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | vim-patch:8.0.0478James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests use assert_true(0) and assert_false(1) to report errors. Solution: Use assert_report(). https://github.com/vim/vim/commit/37175409d766ce67f2548dffa6d73451379b5737
| * | | | vim-patch:8.0.0477James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The client-server test may hang when failing. Solution: Set a timer. Add assert_report() https://github.com/vim/vim/commit/42205551b140bee8b419b24abe210f56bb80b35e
| * | | | vim-patch:8.0.0360James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Sometimes VimL is used, which is confusing. Solution: Consistently use "Vim script". (Hirohito Higashi) https://github.com/vim/vim/commit/b544f3c81f1e6a50322855681ac266ffaa8e313c
| * | | | vim-patch:8.0.0168James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | vim-patch:8.0.0167James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | vim-patch:8.0.0158James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | vim-patch:8.0.0156James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Several float functions are not covered by tests. Solution: Add float tests. (Dominique Pelle) https://github.com/vim/vim/commit/453b576ee5d32e9b8e6876712748ae01f9be68dd
* | | | | eexe_mod_op: Explicitly cast varnumber_T to float_T for -WconversionJames McCoy2017-06-04
| | | | |
* | | | | *: Disable UBSAN for VimL arithmetic implementationJames McCoy2017-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | func_attr: Allow disabling UBSAN for a functionJames McCoy2017-06-04
| | | | |
* | | | | lintJames McCoy2017-06-04
| | | | |
* | | | | vim-patch:8.0.0219James McCoy2017-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | vim-patch:7.4.2224James McCoy2017-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | vim-patch:7.4.2029James McCoy2017-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: printf() does not work with 64 bit numbers. Solution: use the "L" length modifier. (Ken Takata) https://github.com/vim/vim/commit/38ee6b041e73ad31c3b6b99d56d20833b59b2b57
* | | | | vim-patch:7.4.1986James McCoy2017-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | vim-patch:7.4.1979James McCoy2017-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Getting value of binary option is wrong. (Kent Sibilev) Solution: Fix type cast. Add a test. https://github.com/vim/vim/commit/2acfbed9dbea990f129535de7ff3df360365130b
* | | | | vim-patch:7.4.1978James McCoy2017-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | vim-patch:7.4.1977James McCoy2017-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | vim-patch:7.4.1976James McCoy2017-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | vim-patch:7.4.1975James McCoy2017-06-04
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | oldtests: Fix syntax of s:flakyJames McCoy2017-06-04
| | | |
* | | | lint: fix indentation of FUNC_ATTR linesBjörn Linse2017-06-03
| | | |
* | | | clint: check FUNC_ATTR lines to have 2-space indentBjörn Linse2017-06-03
| |/ / |/| |
* | | Merge #4700 from AdnoC/keep-default-registerJustin M. Keyes2017-05-31
|\ \ \
| * | | shada: Add default value for is_unnamedAdnoC2017-05-31
| | | |
| * | | eval.c: Ignore unnamed register error in f_setregAdnoC2017-05-31
| | | | | | | | | | | | | | | | | | | | The error case is already handled and an appropriate error message is already printed.
| * | | style/lintAdnoC2017-05-31
| | | |
| * | | shada/linting: Moved some code out of shada_write.AdnoC2017-05-31
| | | | | | | | | | | | | | | | | | | | shada_write was too long (over 500 lines) and caused a linting error. Register initialization was moved to its own function in order to save lines.
| * | | eval: Add ability to set the unnamed register with setregAdnoC2017-05-31
| | | |
| * | | shada: Set the unnamed register to the previous unnamed register on startupAdnoC2017-05-31
| | | |
* | | | channel_write: fix compiler warningJustin M. Keyes2017-05-31
| | | |