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