=?UTF-8?q?Dundar=20G=C3=B6c?=
420fabcd4f
patch 8.2.4241: some type casts are redundant
...
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes #9643 )
2022-01-28 15:28:04 +00:00
Bram Moolenaar
d82a47dd04
patch 8.2.4012: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move the last error messages to errors.h.
2022-01-05 20:24:39 +00:00
Bram Moolenaar
b09feaa86e
patch 8.2.3986: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 20:20:45 +00:00
Bram Moolenaar
74409f6279
patch 8.2.3970: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 15:58:22 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Bram Moolenaar
2950065e18
patch 8.2.3315: cannot use single quote in a float number for readability
...
Problem: Cannot use single quote in a float number for readability.
Solution: Support single quotes like in numbers. (closes #8713 )
2021-08-08 15:43:34 +02:00
Yegappan Lakshmanan
4490ec4e83
patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
...
Problem: Vim9: runtime and compile time type checks are not the same.
Solution: Add more runtime type checks for builtin functions. (Yegappan
Lakshmanan, closes #8646 )
2021-07-27 22:00:44 +02:00
Bram Moolenaar
3cfa5b16b0
patch 8.2.2949: tests failing because no error for float to string conversion
...
Problem: Tests failing because there is no error for float to string
conversion.
Solution: Change the check for failure to check for correct result. Make
some conversions strict in Vim9 script.
2021-06-06 14:14:39 +02:00
Dominique Pelle
4781d6fd86
patch 8.2.2871: unnessary VIM_ISDIGIT() calls, badly indented code
...
Problem: Unnessary VIM_ISDIGIT() calls, badly indented code.
Solution: Call skipdigits() on the next character. Improve indenting.
(Dominique Pellé, closes #8227 )
2021-05-18 21:46:31 +02:00
Bram Moolenaar
f18332fb9e
patch 8.2.2842: Vim9: skip argument to searchpair() is not compiled
...
Problem: Vim9: skip argument to searchpair() is not compiled.
Solution: Add VAR_INSTR.
2021-05-07 17:55:55 +02:00
Bram Moolenaar
a853089479
patch 8.2.2488: json_encode() gives generic argument error
...
Problem: json_encode() gives generic argument error.
Solution: Mention the type that can't be encoded. (issue #7802 )
2021-02-08 21:53:09 +01:00
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