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
Bram Moolenaar
10b369f670
patch 7.4.1467
...
Problem: Can't build without the float feature.
Solution: Add #ifdefs. (Nick Owens, closes #667 )
2016-02-29 23:12:49 +01:00
Bram Moolenaar
80e7884739
patch 7.4.1446
...
Problem: Crash when using json_decode().
Solution: Terminate string with a NUL byte.
2016-02-28 15:21:13 +01:00
Bram Moolenaar
b362872837
patch 7.4.1445
...
Problem: Memory corruption when 'encoding' is not utf-8.
Solution: Convert decoded string later.
2016-02-28 14:56:39 +01:00
Bram Moolenaar
0f526f5652
patch 7.4.1444
...
Problem: Can't build with JSON but without multi-byte.
Solution: Fix pointer name.
2016-02-27 22:59:41 +01:00
Bram Moolenaar
fefecb0fbe
patch 7.4.1440
...
Problem: Can't build on Windows.
Solution: Change #ifdefs. Only define isnan when used.
2016-02-27 21:27:20 +01:00
Bram Moolenaar
f97ddbeb25
patch 7.4.1439
...
Problem: Using uninitialzed variable.
Solution: Initialize vc_type.
2016-02-27 21:13:38 +01:00
Bram Moolenaar
136f29a91d
patch 7.4.1437
...
Problem: Old system doesn't have isinf() and NAN. (Ben Fritz)
Solution: Adjust #ifdefs. Detect isnan() and isinf() functions with
configure. Use a replacement when missing. (Kazunobu Kuriyama)
2016-02-27 20:14:15 +01:00
Bram Moolenaar
b6ff81188d
patch 7.4.1434
...
Problem: JSON encoding doesn't hanel surrogate pair.
Solution: Improve multi-byte handling of JSON. (Yasuhiro Matsumoto)
2016-02-27 18:41:27 +01:00
Bram Moolenaar
7ce686c990
patch 7.4.1430
...
Problem: When encoding JSON, turning NaN and Infinity into null without
giving an error is not useful.
Solution: Pass NaN and Infinity on. If the receiver can't handle them it
will generate the error.
2016-02-27 16:33:22 +01:00
Bram Moolenaar
3ea0f1ae31
patch 7.4.1408
...
Problem: MS-Windows doesn't have isnan() and isinf().
Solution: Use _isnan() and _isinf().
2016-02-23 22:07:32 +01:00
Bram Moolenaar
f1b6ac7229
patch 7.4.1407
...
Problem: json_encode() does not handle NaN and inf properly. (David
Barnett)
Solution: For JSON turn them into "null". For JS use "NaN" and "Infinity".
Add isnan().
2016-02-23 21:26:43 +01:00
Bram Moolenaar
c6b14f0a83
patch 7.4.1367
...
Problem: Compiler warning for unreachable code.
Solution: Remove a "break". (Danek Duvall)
2016-02-20 15:26:42 +01:00
Bram Moolenaar
7707344dde
patch 7.4.1315
...
Problem: Using a channel handle does not allow for freeing it when unused.
Solution: Add the Channel variable type.
2016-02-13 23:23:53 +01:00
Bram Moolenaar
595e64e259
patch 7.4.1279
...
Problem: jsonencode() is not producing strict JSON.
Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode()
strict.
2016-02-07 19:19:53 +01:00
Bram Moolenaar
55fab439a6
patch 7.4.1278
...
Problem: When jsonencode() fails it still returns something.
Solution: Return an empty string on failure.
2016-02-07 16:53:13 +01:00
Bram Moolenaar
4f8b8faec3
patch 7.4.1269
...
Problem: Encoding {'key':} to JSON doesn't give an error (Tyru)
Solution: Give an error.
2016-02-06 18:42:07 +01:00
Bram Moolenaar
4b6a6dcbe7
patch 7.4.1261
...
Problem: Pending channel messages are garbage collected. Leaking memory in
ch_sendexpr(). Leaking memory for a decoded JSON string.
Solution: Mark the message list as used. Free the encoded JSON. Don't save
the JSON string.
2016-02-04 22:49:49 +01:00
Bram Moolenaar
fbf9c6b6c3
patch 7.4.1243
...
Problem: Compiler warning for uninitialized variable.
Solution: Initialize it. (Elias Diem)
2016-02-02 19:43:57 +01:00
Bram Moolenaar
56ead341a7
patch 7.4.1238
...
Problem: Can't handle two messages right after each other.
Solution: Find the end of the JSON. Read more when incomplete. Add a C
test for the JSON decoding.
2016-02-02 18:20:08 +01:00
Bram Moolenaar
19d2f15898
patch 7.4.1231
...
Problem: JSON messages are not parsed properly.
Solution: Queue received messages.
2016-02-01 21:38:19 +01:00
Bram Moolenaar
fb1f62691e
patch 7.4.1229
...
Problem: "eval" and "expr" channel commands don't work yet.
Solution: Implement them. Update the error numbers. Also add "redraw".
2016-01-31 20:24:32 +01:00
Bram Moolenaar
fa06a517b5
patch 7.4.1192
...
Problem: Can't build with FEAT_EVAL but without FEAT_MBYTE. (John
Marriott)
Solution: Add #ifdef for FEAT_MBYTE.
2016-01-28 22:46:58 +01:00
Bram Moolenaar
009d84a34f
patch 7.4.1188
...
Problem: Using older JSON standard.
Solution: Update the link. Adjust the text a bit.
2016-01-28 14:12:00 +01:00
Bram Moolenaar
fcaaae6b3f
patch 7.4.1166
...
Problem: Can't encode a Funcref into JSON. jsonencode() doesn't handle the
same list or dict twice properly. (Nikolay Pavlov)
Solution: Give an error. Reset copyID when the list or dict is finished.
2016-01-24 16:49:11 +01:00
Bram Moolenaar
6039c7f053
patch 7.4.1164
...
Problem: No tests for comparing special variables. Error in jsondecode()
not reported. test_json does not work Japanse system.
Solution: Set scriptencoding. (Ken Takata) Add a few more tests. Add error.
2016-01-24 15:05:32 +01:00
Bram Moolenaar
bd4593ffb1
patch 7.4.1160
...
Problem: No error for jsondecode('"').
Solution: Give an error message for missing double quote.
2016-01-23 22:51:07 +01:00
Bram Moolenaar
2dedb45260
patch 7.4.1156
...
Problem: Coverity warns for NULL pointer and ignoring return value.
Solution: Check for NULL pointer. When dict_add() returns FAIL free the item.
2016-01-23 21:38:51 +01:00
Bram Moolenaar
520e1e41f3
patch 7.4.1154
...
Problem: No support for JSON.
Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true,
v:null and v:none.
2016-01-23 19:46:28 +01:00