SQLite
File History
Not logged in

History of ext/misc/json1.c

2017-01-25
13:54
[552a7d73] part of check-in [0803390c] Fix SQLITEINT_H macro usage in two extensions. (user: drh branch: trunk)
2016-11-23
20:31
[f2ff73bb] part of check-in [6492e57e] Fix OOM error reporting in the json1_group_object() SQL function. Remove an unreachable branch from the JSON1 logic. (user: drh branch: branch-3.15)
2016-11-07
18:18
[e0797ef1] part of check-in [b5409849] Fix OOM error reporting in the json1_group_object() SQL function. Remove an unreachable branch from the JSON1 logic. (user: drh branch: trunk)
15:15
[b8aa1219] part of check-in [145cd13e] Replace some unreachable branches from the JSON1 extension with assert(). (user: drh branch: trunk)
13:37
[813a2ff1] part of check-in [7a635391] Fix the JSON1 extension so that the JSON validator correctly rejects malformed backslash escapes within string literals. (user: drh branch: trunk)
2016-08-01
17:06
[9799e425] part of check-in [90d2c490] Fix other harmless compiler warnings. (user: drh branch: trunk)
2016-06-17
13:01
[d51a764b] part of check-in [2c3714ae] Add the json_quote() function to the JSON1 extension. (user: drh branch: json_quote)
2016-02-11
15:37
[b9c88d5c] part of check-in [cfe2eb88] Add JSON1 and FTS5 to the set of extensions subject to close compiler warning analysis. Fix some warnings in each. More (harmless) warnings still exist in FTS5. (user: drh branch: trunk)
2016-02-05
01:55
[a27cf1ec] part of check-in [c3ef0347] Improvements to the way that OOM errors are processed. (user: drh branch: oom-handling)
2016-02-04
10:28
[8698ea0c] part of check-in [4f1b5229] Escape control characters in JSON. Fix for ticket [ad2559db380abf8]. (user: drh branch: trunk)
2016-01-01
00:15
[7b1155f5] part of check-in [6e30f8c6] Remove unreachable branches from the new JSON aggregate functions. (user: drh branch: trunk)
2015-12-30
01:07
[b7ed42db] part of check-in [7f386a93] Add the json_group_array() and json_group_object() aggregate functions to the JSON1 extension. (user: drh branch: trunk)
2015-10-16
15:35
[4f45afd9] part of check-in [bc9a9a60] Fix the JSON1 extension so that it does not depend on isdigit() and strtod() from the standard library when compiled into SQLite as part of the amalgamation. (user: drh branch: trunk)
15:16
[d559a00d] part of check-in [28957d63] Form-feed is not valid whitespace for json. Fix for ticket [57eec374ae1d0a1d] (user: drh branch: trunk)
2015-10-14
18:45
[fed5b948] part of check-in [8463f7e7] Avoid exporting sqlite3_json_init() from amalgamation builds. (user: dan branch: dll-build-fix)
2015-10-12
22:20
[d3102209] part of check-in [7f896a97] Fix a couple harmless compiler warnings. (user: mistachkin branch: trunk)
2015-10-10
14:00
[e827cb31] part of check-in [de28acd4] Add some #ifdef-ery to json1.c to avoid a duplicate typedef when used in the amalgamation, since some compilers become upset over duplicate typedefs. (user: drh branch: trunk)
2015-10-09
20:40
[b169036e] part of check-in [4a47f017] The previous fix to JSON1 was not complete. A few more tweaks are needed for correct handling of all oversized integers. (user: drh branch: trunk)
18:21
[2b26b004] part of check-in [ae736e35] Fix the JSON1 extension so that it renders integers outside the range of -9223372036854775808 to +9223372036854775807 as floating-point numbers. (user: drh branch: trunk)
2015-10-08
19:29
[e1822098] part of check-in [d820a1bd] First attempt to add json1 and fts5 to the amalgamation. This check-in does not compile. (user: drh branch: amalg-json1-fts5)
2015-09-26
17:44
[263cac02] part of check-in [33404b20] Enable adding JSON1 by appending the json1.c source file to the amalgamation and compiling with -DSQLITE_ENABLE_JSON1 (user: drh branch: trunk)
2015-09-24
01:40
[557d6b2d] part of check-in [c43daa8c] Another (smaller) performance optimization for the JSON parser. (user: drh branch: trunk)
01:06
[7d0000e3] part of check-in [7dd4b07a] Performance optimizations on the JSON parser. (user: drh branch: trunk)
2015-09-23
01:10
[7659013d] part of check-in [7c7a3f3e] Do not allow a comma at the end of a JSON array or object. (user: drh branch: trunk)
2015-09-22
01:15
[8eefcbdc] part of check-in [fcb1e327] Futher simplifications to json1.c. Also an obscure bug-fix in the initial output of json_tree() when using a path to an object contained within an array. (user: drh branch: trunk)
00:21
[c5e7018b] part of check-in [0f160416] Fix json_set() so that it can overwrite a value that was previously overwritten during the same call. (user: drh branch: trunk)
2015-09-21
22:53
[54f067ea] part of check-in [1646a2bd] Simplifications to the json1.c logic. (user: drh branch: trunk)
2015-09-19
18:54
[a1f7dd9b] part of check-in [394b81b1] Fix a memory leak in json1.c that could occur after misuse of json_object(). (user: drh branch: trunk)
11:57
[d96049b4] part of check-in [d2a02737] Fix an off-by-one error (really off-by-2 in this case) in the buffer resize logic of json1. (user: drh branch: trunk)
2015-09-17
17:21
[4b1048a7] part of check-in [6713e35b] Avoid passing (signed char) values directly to isspace(), isalnum() or isdigit() in json1.c. Cast the value to (unsigned char) first. (user: dan branch: trunk)
2015-09-11
18:05
[f35d00fb] part of check-in [bfc7b84b] Fix harmless compiler warnings. (user: mistachkin branch: trunk)
00:06
[96490b8e] part of check-in [8a80d645] Take out the goofy '$$' path syntax. Instead, use subtypes to communicate when a string is JSON. Add the json() function that validates and minifies the JSON and sets the appropriate subtype. (user: drh branch: subtypes)
2015-09-10
17:20
[4387d091] part of check-in [127cce3e] Create separate "path" and "root" columns in the json_each() and json_tree() virtual tables. "Root" is the 2nd parameter and is fixed. "Path" varies as json_tree() walks the hierarchy. (user: drh branch: trunk)
03:29
[46c2aff1] part of check-in [6adc7de7] Fix the json_tree() scan for the case when a path is supplied. Add new json1 test cases. (user: drh branch: trunk)
2015-08-29
19:41
[bd51e8c1] part of check-in [1da60c3d] Enhance the json_extract() function so that if given multiple PATH arguments it will return a JSON array with all of the answers. Also update comments within the json1 extension to reflect stricter interpretation of JSON and PATH arguments. (user: drh branch: trunk)
17:22
[5f39a87b] part of check-in [752918de] Fix the build with -DSQLITE_OMIT_VIRTUALTABLE. (user: drh branch: trunk)
16:02
[232a3125] part of check-in [fd19ff02] Do not consider an empty string to be valid JSON. Add some additional JSON test cases. (user: drh branch: trunk)
00:54
[063bf62f] part of check-in [3aa0855f] Change the json1.c module so that it throws an error if any of the JSON selector paths are malformed. (user: drh branch: trunk)
2015-08-28
20:07
[aa344845] part of check-in [dc9ce7b1] Back out the json_check() routine. Instead, throw an error if the input to a json function (other than json_valid()) is not valid JSON. (user: drh branch: trunk)
03:48
[0b2bf3f2] part of check-in [64abb65d] Add the json_check() function, which returns its argument if the argument is well-formed JSON or which throws an error otherwise. (user: drh branch: trunk)
03:33
[e0aeaa8b] part of check-in [44f103d8] Enhance the json_insert(), json_replace(), and json_set() functions with the ability to add JSON instead of text if the argument is text and if the PATH begins with '$$' instead of just '$'. (user: drh branch: trunk)
2015-08-24
12:42
[541004e4] part of check-in [196d66d3] Improvements to JSON string dequoting. (user: drh branch: trunk)
02:32
[443f8b54] part of check-in [f0aba0e1] Fix corner-case problems in the type and atom columns of json_each() and json_tree(). (user: drh branch: trunk)
2015-08-23
20:44
[4b66d2ce] part of check-in [cc520414] Fix minor glitches in the json1.c extension, mostly having to do with OOM behavior. (user: drh branch: trunk)
02:42
[31bc1bab] part of check-in [fc1b24f3] Fixes to json_each() and json_tree(). Improved json_parse() debugging output. (user: drh branch: trunk)
2015-08-22
19:39
[88273dda] part of check-in [380a9734] Add the json_valid() function to the json1.c extension. Fix various minor problems in the json1.c extension. (user: drh branch: trunk)
03:05
[2eae688e] part of check-in [213a6c5c] Fix a couple instances of OOM handling in the json extension. (user: drh branch: trunk)
2015-08-21
20:37
[f83f02ec] part of check-in [9ff6ccde] Fixes for compiler warnings and errors in the makefiles. Rename the one test script to json101.test. (user: drh branch: json)
20:12
Renamed from ext/misc/json.c [92bb4e5f] part of check-in [d0d4bec9] Change the name of the json loadable extension to "json1.c", in anticipation of having future major changes to the interface. (user: drh branch: json)