Bram Moolenaar
2d06bfde29
patch 8.2.1281: the "trailing characters" error can be hard to understand
...
Problem: The "trailing characters" error can be hard to understand.
Solution: Add the trailing characters to the message.
2020-07-23 17:16:18 +02:00
Bram Moolenaar
6d3a7213f5
patch 8.2.1188: memory leak with invalid json input
...
Problem: Memory leak with invalid json input.
Solution: Free all keys at the end. (Dominique Pellé, closes #6443 ,
closes #6442 )
2020-07-12 14:34:00 +02:00
Bram Moolenaar
71ccd03ee8
patch 8.2.0967: unnecessary type casts for vim_strnsave()
...
Problem: Unnecessary type casts for vim_strnsave().
Solution: Remove the type casts.
2020-06-12 22:59:11 +02:00
Bram Moolenaar
a09195f29e
patch 8.2.0800: errors from failing test are unclear
...
Problem: Errors from failing test are unclear.
Solution: Include text where parsing failed.
2020-05-19 22:38:59 +02:00
Bram Moolenaar
7e9f351b2e
patch 8.2.0751: Vim9: performance can be improved
...
Problem: Vim9: performance can be improved.
Solution: Don't call break. Inline check for list materialize. Make an
inline version of ga_grow().
2020-05-13 22:44:22 +02:00
Bram Moolenaar
4c68375057
patch 8.2.0517: Vim9: cannot separate "func" and "func(): void"
...
Problem: Vim9: cannot separate "func" and "func(): void".
Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
2020-04-05 21:38:23 +02:00
Bram Moolenaar
dd58923c6b
patch 8.2.0334: abort called when using test_void()
...
Problem: Abort called when using test_void(). (Dominique Pelle)
Solution: Only give an error, don't abort.
2020-02-29 17:38:12 +01:00
Bram Moolenaar
c593bec412
patch 8.2.0315: build failure on HP-UX system
...
Problem: Build failure on HP-UX system.
Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
statement. (John Marriott)
2020-02-25 21:26:49 +01:00
Bram Moolenaar
f9706e9df0
patch 8.2.0296: mixing up "long long" and __int64 may cause problems
...
Problem: Mixing up "long long" and __int64 may cause problems. (John
Marriott)
Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
2020-02-22 14:27:04 +01:00
Bram Moolenaar
50985eb1f0
patch 8.2.0159: non-materialized range() list causes problems
...
Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
Solution: Materialize the list where needed.
2020-01-27 22:09:39 +01:00
Bram Moolenaar
a5d5953d59
patch 8.2.0155: warnings from MinGW compiler; tests fail without +float
...
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.
2020-01-26 21:42:03 +01:00
Bram Moolenaar
8a7d6542b3
patch 8.2.0149: maintaining a Vim9 branch separately is more work
...
Problem: Maintaining a Vim9 branch separately is more work.
Solution: Merge the Vim9 script changes.
2020-01-26 15:56:19 +01:00
Bram Moolenaar
9b4a15d5db
patch 8.2.0111: VAR_SPECIAL is also used for booleans
...
Problem: VAR_SPECIAL is also used for booleans.
Solution: Add VAR_BOOL for better type checking.
2020-01-11 16:05:23 +01:00
Bram Moolenaar
4ba37b5833
patch 8.1.2388: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-04 21:57:43 +01:00
Bram Moolenaar
5843f5f37b
patch 8.1.1891: functions used in one file are global
...
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes #4840 )
2019-08-20 20:13:45 +02:00
Bram Moolenaar
c61a48d259
patch 8.1.1735: can't build with tiny features
...
Problem: Can't build with tiny features.
Solution: Add missing #ifdefs.
2019-07-22 23:16:33 +02:00
Bram Moolenaar
29b7d7a9aa
patch 8.1.1734: the evalfunc.c file is too big
...
Problem: The evalfunc.c file is too big.
Solution: Move some functions to other files.
2019-07-22 23:03:57 +02:00
Bram Moolenaar
b43683729b
patch 8.1.1409: Coverity warns for using uninitialized memory
...
Problem: Coverity warns for using uninitialized memory.
Solution: Add a condition to clearing the growarray.
2019-05-27 20:01:41 +02:00
Bram Moolenaar
16e9b85113
patch 8.1.1355: obvious mistakes are accepted as valid expressions
...
Problem: Obvious mistakes are accepted as valid expressions.
Solution: Be more strict about parsing numbers. (Yasuhiro Matsumoto,
closes #3981 )
2019-05-19 19:59:35 +02:00
Bram Moolenaar
04af19637c
patch 8.1.1158: json encoded string is sometimes missing the final NUL
...
Problem: Json encoded string is sometimes missing the final NUL.
Solution: Add the NUL. Also for log messages.
2019-04-12 21:19:04 +02:00
Bram Moolenaar
fc3abf47fb
patch 8.1.0806: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 2.
2019-01-24 15:54:21 +01:00
Bram Moolenaar
113e10721f
patch 8.1.0785: depending on the configuration some functions are unused
...
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822 )
2019-01-20 15:30:40 +01:00
Bram Moolenaar
88c86eb751
patch 8.1.0766: various problems when using Vim on VMS
...
Problem: Various problems when using Vim on VMS.
Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy)
2019-01-17 17:13:30 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
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.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
6e5ea8d2a9
patch 8.1.0735: cannot handle binary data
...
Problem: Cannot handle binary data.
Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638 )
2019-01-12 22:47:31 +01:00
Bram Moolenaar
5f6b379ff3
patch 8.1.0731: JS encoding does not handle negative infinity
...
Problem: JS encoding does not handle negative infinity.
Solution: Add support for negative infinity for JS encoding. (Dominique
Pelle, closes #3792 )
2019-01-12 14:24:27 +01:00
Bram Moolenaar
d155d7a851
patch 8.1.0615: get_tv function names are not consistent
...
Problem: Get_tv function names are not consistent.
Solution: Rename to tv_get.
2018-12-21 16:04:21 +01:00
Bram Moolenaar
6dff58f15c
patch 8.1.0443: unnecessary static function prototypes
...
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
2018-09-30 21:43:26 +02:00
Bram Moolenaar
ea39176baa
patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
...
Problem: No compiler warning for wrong format in vim_snprintf().
Solution: Add printf attribute for gcc. Fix reported problems.
2018-04-08 13:07:22 +02:00
Bram Moolenaar
625f0c1eb7
patch 8.0.1602: crash in parsing JSON
...
Problem: Crash in parsing JSON.
Solution: Fail when using array or dict as dict key. (Damien)
2018-03-13 13:10:41 +01:00
Bram Moolenaar
b29d328eb4
patch 8.0.1391: encoding empty string to JSON sometimes gives "null"
...
Problem: Encoding empty string to JSON sometimes gives "null".
Solution: Handle NULL string as empty string. (closes #2446 )
2017-12-15 21:25:01 +01:00
Bram Moolenaar
059b7482a2
patch 8.0.0309: cannot use an empty key in json
...
Problem: Cannot use an empty key in json.
Solution: Allow for using an empty key.
2017-02-05 16:34:43 +01:00
Bram Moolenaar
e2c6037da3
patch 8.0.0216: decoding js style json may fail
...
Problem: When decoding JSON with a JS style object the JSON test may use a
NULL pointer. (Coverity)
Solution: Check for a NULL pointer.
2017-01-22 15:56:26 +01:00
Bram Moolenaar
83381f7129
patch 8.0.0180: error E937 is used twice
...
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 )
2017-01-14 14:36:08 +01:00
Bram Moolenaar
ee142add22
patch 8.0.0171: JS style JSON does not support single quotes
...
Problem: JS style JSON does not support single quotes.
Solution: Allow for single quotes. (Yasuhiro Matsumoto, closes #1371 )
2017-01-11 21:50:08 +01:00
Bram Moolenaar
e32abbe42c
patch 8.0.0170: crash in channel test
...
Problem: Channel test fails for using freed memory.
Solution: Fix memory use in json_decode().
2017-01-10 22:57:34 +01:00
Bram Moolenaar
8b2f19536f
patch 8.0.0169: json_decode() may run out of stack space
...
Problem: For complicated string json_decode() may run out of stack space.
Solution: Change the recursive solution into an iterative solution.
2017-01-10 19:44:18 +01:00
Bram Moolenaar
03c60c1573
patch 8.0.0166: JSON with a duplicate key gives an internal error
...
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.
2017-01-10 15:15:37 +01:00
Bram Moolenaar
95f096030e
patch 8.0.0074
...
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
2016-11-10 20:01:45 +01:00
Bram Moolenaar
98500fdc61
patch 8.0.0067
...
Problem: VMS has a problem with infinity.
Solution: Avoid an overflow. (Zoltan Arpadffy)
2016-11-06 14:17:16 +01:00
Bram Moolenaar
de5e2c219b
patch 8.0.0059
...
Problem: Vim does not build on VMS systems.
Solution: Various changes for VMS. (Zoltan Arpadffy)
2016-11-04 20:35:31 +01:00
Bram Moolenaar
7756e7465d
patch 8.0.0046
...
Problem: Using NUL instead of NULL.
Solution: Change to NULL. (Dominique Pelle)
2016-10-21 20:35:37 +02:00
Bram Moolenaar
edf3f97ae2
patch 7.4.2293
...
Problem: Modelines in source code are inconsistant.
Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-29 22:49:24 +02:00
Bram Moolenaar
f1f0792e55
patch 7.4.2258
...
Problem: Two JSON messages are sent without a separator.
Solution: Separate messages with a NL. (closes #1001 )
2016-08-26 17:58:53 +02:00
Bram Moolenaar
22fcfad292
patch 7.4.1976
...
Problem: Number variables are not 64 bits while they could be.
Solution: Add the num64 feature. (Ken Takata)
2016-07-01 18:17:26 +02:00
Bram Moolenaar
dc633cf827
patch 7.4.1780
...
Problem: Warnings reported by cppcheck.
Solution: Fix the warnings. (Dominique Pelle)
2016-04-23 14:33:19 +02:00
Bram Moolenaar
46c00a6565
patch 7.4.1666
...
Problem: When reading JSON from a channel all readahead is used.
Solution: Use the fill function to reduce overhead.
2016-03-28 14:11:42 +02:00
Bram Moolenaar
ba61ac0d61
patch 7.4.1617
...
Problem: When a JSON message is split it isn't decoded.
Solution: Wait a short time for the rest of the message to arrive.
2016-03-20 16:40:37 +01:00
Bram Moolenaar
1735bc988c
patch 7.4.1559
...
Problem: Passing cookie to a callback is clumsy.
Solution: Change function() to take arguments and return a partial.
2016-03-14 23:05:14 +01:00
Bram Moolenaar
2588b5a43f
patch 7.4.1498
...
Problem: Error for locked item when using json_decode(). (Shougo)
Solution: Initialize v_lock.
2016-03-05 23:23:02 +01:00