| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Abort called when using test_void(). (Dominique Pelle)
Solution: Only give an error, don't abort.
|
|
|
|
|
|
| |
Problem: Build failure on HP-UX system.
Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
statement. (John Marriott)
|
|
|
|
|
|
| |
Problem: Mixing up "long long" and __int64 may cause problems. (John
Marriott)
Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
|
|
|
|
|
| |
Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
Solution: Materialize the list where needed.
|
|
|
|
|
|
|
| |
Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when
building without +float feature.
Solution: Init variables. Fix Json parsing. Skip a few tests that require
the +float feature.
|
|
|
|
|
| |
Problem: Maintaining a Vim9 branch separately is more work.
Solution: Merge the Vim9 script changes.
|
|
|
|
|
| |
Problem: VAR_SPECIAL is also used for booleans.
Solution: Add VAR_BOOL for better type checking.
|
|
|
|
|
| |
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
|
|
|
|
|
| |
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
|
|
|
|
|
| |
Problem: Can't build with tiny features.
Solution: Add missing #ifdefs.
|
|
|
|
|
| |
Problem: The evalfunc.c file is too big.
Solution: Move some functions to other files.
|
|
|
|
|
| |
Problem: Coverity warns for using uninitialized memory.
Solution: Add a condition to clearing the growarray.
|
|
|
|
|
|
| |
Problem: Obvious mistakes are accepted as valid expressions.
Solution: Be more strict about parsing numbers. (Yasuhiro Matsumoto,
closes #3981)
|
|
|
|
|
| |
Problem: Json encoded string is sometimes missing the final NUL.
Solution: Add the NUL. Also for log messages.
|
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 2.
|
|
|
|
|
|
| |
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822)
|
|
|
|
|
| |
Problem: Various problems when using Vim on VMS.
Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy)
|
|
|
|
|
|
|
|
| |
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
|
|
|
|
|
| |
Problem: Cannot handle binary data.
Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638)
|
|
|
|
|
|
| |
Problem: JS encoding does not handle negative infinity.
Solution: Add support for negative infinity for JS encoding. (Dominique
Pelle, closes #3792)
|
|
|
|
|
| |
Problem: Get_tv function names are not consistent.
Solution: Rename to tv_get.
|
|
|
|
|
| |
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
|
|
|
|
|
| |
Problem: No compiler warning for wrong format in vim_snprintf().
Solution: Add printf attribute for gcc. Fix reported problems.
|
|
|
|
|
| |
Problem: Crash in parsing JSON.
Solution: Fail when using array or dict as dict key. (Damien)
|
|
|
|
|
| |
Problem: Encoding empty string to JSON sometimes gives "null".
Solution: Handle NULL string as empty string. (closes #2446)
|
|
|
|
|
| |
Problem: Cannot use an empty key in json.
Solution: Allow for using an empty key.
|
|
|
|
|
|
| |
Problem: When decoding JSON with a JS style object the JSON test may use a
NULL pointer. (Coverity)
Solution: Check for a NULL pointer.
|
|
|
|
|
|
| |
Problem: Error E937 is used both for duplicate key in JSON and for trying
to delete a buffer that is in use.
Solution: Rename the JSON error to E938. (Norio Takagi, closes #1376)
|
|
|
|
|
| |
Problem: JS style JSON does not support single quotes.
Solution: Allow for single quotes. (Yasuhiro Matsumoto, closes #1371)
|
|
|
|
|
| |
Problem: Channel test fails for using freed memory.
Solution: Fix memory use in json_decode().
|
|
|
|
|
| |
Problem: For complicated string json_decode() may run out of stack space.
Solution: Change the recursive solution into an iterative solution.
|
|
|
|
|
|
| |
Problem: JSON with a duplicate key gives an internal error. (Lcd)
Solution: Give a normal error. Avoid an error when parsing JSON from a
remote client fails.
|
|
|
|
|
|
| |
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
|
|
|
|
|
| |
Problem: VMS has a problem with infinity.
Solution: Avoid an overflow. (Zoltan Arpadffy)
|
|
|
|
|
| |
Problem: Vim does not build on VMS systems.
Solution: Various changes for VMS. (Zoltan Arpadffy)
|
|
|
|
|
| |
Problem: Using NUL instead of NULL.
Solution: Change to NULL. (Dominique Pelle)
|
|
|
|
|
| |
Problem: Modelines in source code are inconsistant.
Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
|
|
|
|
|
| |
Problem: Two JSON messages are sent without a separator.
Solution: Separate messages with a NL. (closes #1001)
|
|
|
|
|
| |
Problem: Number variables are not 64 bits while they could be.
Solution: Add the num64 feature. (Ken Takata)
|
|
|
|
|
| |
Problem: Warnings reported by cppcheck.
Solution: Fix the warnings. (Dominique Pelle)
|
|
|
|
|
| |
Problem: When reading JSON from a channel all readahead is used.
Solution: Use the fill function to reduce overhead.
|
|
|
|
|
| |
Problem: When a JSON message is split it isn't decoded.
Solution: Wait a short time for the rest of the message to arrive.
|
|
|
|
|
| |
Problem: Passing cookie to a callback is clumsy.
Solution: Change function() to take arguments and return a partial.
|
|
|
|
|
| |
Problem: Error for locked item when using json_decode(). (Shougo)
Solution: Initialize v_lock.
|
|
|
|
|
| |
Problem: Can't build without the float feature.
Solution: Add #ifdefs. (Nick Owens, closes #667)
|
|
|
|
|
| |
Problem: Crash when using json_decode().
Solution: Terminate string with a NUL byte.
|
|
|
|
|
| |
Problem: Memory corruption when 'encoding' is not utf-8.
Solution: Convert decoded string later.
|
|
|
|
|
| |
Problem: Can't build with JSON but without multi-byte.
Solution: Fix pointer name.
|
|
|
|
|
| |
Problem: Can't build on Windows.
Solution: Change #ifdefs. Only define isnan when used.
|
|
|
|
|
| |
Problem: Using uninitialzed variable.
Solution: Initialize vc_type.
|