aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * Back off on the use of strlen() for situations where sqlite3_value_bytes()drh2023-12-04
| | | | | | | | | | will work as well, for performance. FossilOrigin-Name: 79fb54fbb8b9c30f47cdbd437d24a21542716241e822749e5e28c9fbc449bfa8
| * Remove dead code. Improved reporting of errors in JSON inputs.drh2023-12-03
| | | | | | FossilOrigin-Name: 2eaa738e6b5c1b67b3e57c868d9c3a30eea38a0b3b8b02482f06d57a45b10921
| * Avoid problems when the path argument to json_tree() contains embedded U+0000drh2023-12-03
| | | | | | | | | | characters. FossilOrigin-Name: 9f055091af01a5dddba1a7e9868ad030c8f206237e1569215cb161e53e54aa71
| * Ensure that OOM conditions in the generation of the "bad JSON path" errordrh2023-12-03
| | | | | | | | | | message result in an SQLITE_NOMEM error. FossilOrigin-Name: aa0e02b5c26a2ef3d6216a0ed8bc01382be43173485f898cb63f2a8c559f2e74
| * Enable incorrect JSONB to be rendered into text without hitting andrh2023-12-03
| | | | | | | | | | assertion for a bad whitespace escape in a string. FossilOrigin-Name: 4d6a9a217df6792b41766b774fb0c0553b45f9104c26a0955bf4a30862d7d7bf
| * Do not let bad hexadecimal digits in malformed JSONB cause an assertion fault.drh2023-12-03
| | | | | | FossilOrigin-Name: 8dec1ba1e5076ff596756e00c1e2ada0245f168a503dd1cadadf848331acfac3
| * Minor code changes for consistency and to simplify testing.drh2023-12-03
| | | | | | FossilOrigin-Name: df272bd837910ad9e03e222716a1201a601399664365f1dcf73d5932372518ed
| * Implement strict JSONB checking in the json_valid() function.drh2023-12-02
| | | | | | FossilOrigin-Name: 0f26d38880fcbc207abcc94dbc170a7428bab1b4f0b7731aaf5bee0224000994
| * Fix harmless compiler warnings reported by MSVC.drh2023-12-02
| | | | | | FossilOrigin-Name: 419652c0c82980bd043584dcd2976f91dfff7b926b216d597698299850b855c0
| * Code and comment cleanup. Everything should work the same.drh2023-12-02
| | | | | | FossilOrigin-Name: c640754df0d3ffdad994745f0d0e10c8f19f424b87f6a6e6e269491a0350b950
| * Fix harmless compiler warnings. Refactor some identifier names fordrh2023-12-02
| | | | | | | | | | clearer presentation. FossilOrigin-Name: 7e3941502789c5afaf19b08112f464abf5e3cba7f92fc9290af2a0f96127ad9a
| * Take extra care to ensure that JSONB values that are in cache are actuallydrh2023-12-02
| | | | | | | | | | | | owned by the JSON subsystem, and that ownership of such values is not handed back to the bytecode engine. FossilOrigin-Name: 1304534001e9ef66c6b12752b69d790bfa3427cc803f87cc48ca22ae12df0fdf
| * Protect a memcpy() against OOM conditions.drh2023-12-02
| | | | | | FossilOrigin-Name: 26144d1c25ae0435db568009ba05e485d23d146f2b1f29f3a426c87860316aed
| * Do not allow a JsonParse object to be considered "editable" after an OOM.drh2023-12-02
| | | | | | FossilOrigin-Name: c6bacf57bd6fe0fee00c9d41163a270b60997c20659949971bbf5c6c62622bfe
| * Fix potential unsigned integer underflow in jsonAppendString().drh2023-12-02
| | | | | | FossilOrigin-Name: d2fba2cbdc3870d34228c1a9446eced884325acc183900d7dd0b96132570fb4a
| * Minor fix to the header comment on jsonXlateTextToBlob().drh2023-12-02
| | | | | | FossilOrigin-Name: c3677ba410208c07b711f5f526eb5cf039a8eee49f632c7ae04fa55cdfbb9058
| * Performance optimization in jsonAppendString().drh2023-12-02
| | | | | | FossilOrigin-Name: fdf00e96239c73fb67e2acecc5b95f55a1fc51c3deed4512613c0d6070ce5805
| * Simplification and optimization of the JSON parser.drh2023-12-02
| | | | | | FossilOrigin-Name: f5ec9485119a2a6cb33eb864c7ca9b41d4a2ed08ab6ad9a6b0dd9358ab253576
| * Unroll a loop in the parser for a performance increase.drh2023-12-02
| | | | | | FossilOrigin-Name: a6dc29e4d5e13949e0fcd9d5dde575c2670eb10a230ab9df3806fc8c3016c540
| * Fix harmless compiler warnings and enhance performance the parser.drh2023-12-02
| | | | | | FossilOrigin-Name: 285633da6d188547e52f07779e209c9e5f3dc33ce0668e14858f3337889ef4b8
| * Performance optimization in the JSON parser.drh2023-12-01
| | | | | | FossilOrigin-Name: 68d191f40e708962ec88e0c245b4496bc4a671300484b1cc0f3fc7e6d199a6e6
| * Fix up the JSON cache to work better.drh2023-12-01
| | | | | | FossilOrigin-Name: 1fdbc39521f63aedc6f08ecaafa54ea467b8c6316a692a18ad01eecbf22a0977
| * Cache is working better, but does not preserve the hasJson5 flag.drh2023-12-01
| | | | | | FossilOrigin-Name: a12add7ab9f5aee5bb2ede0c4d22e599dd28f7a107dce72b2ea48ef92d233e8a
| * First attempt to get the JSON text-to-binary cache working. All test casesdrh2023-12-01
| | | | | | | | | | pass, but the cache seems not to help much. FossilOrigin-Name: 25ed295f300fea6185104a73721076bccd2b2a6e411c78564266fa6dca4ff70c
| * Remove all trace of JsonNode from the JSON implementation. The JSONB formatdrh2023-11-30
| | | | | | | | | | is used as the internal binary encoding for searching and editing. FossilOrigin-Name: 11ebb5f712cc7a515e2e0f2be8c1d71de20c97fe5b74c4f4d72c84fd21182d35
| * Convert json_valid() over to using only JSONB as its internal format.drh2023-11-30
| | | | | | FossilOrigin-Name: 7b5756fa6d00b093bf083a8d7a5ef5485f7a09e4eac473785c8380688f861a1b
| * Convert json_type() to use JSONB internally.drh2023-11-30
| | | | | | FossilOrigin-Name: 83074835b900ce85cf67059e674ce959801505c37592671af25ca0af7ed483f1
| * Enhance json_set() and json_insert() so that they create missingdrh2023-11-30
| | | | | | | | | | substructure. FossilOrigin-Name: cc7a641ab5ae739d31c24f0ad0caeb15a481a63fa8f13720718ea922c25862ff
| * Convert json_insert(), json_replace(), json_set() to use JSONB internally.drh2023-11-30
| | | | | | | | | | Mostly working, but some corner cases are still not quite right. FossilOrigin-Name: 99c8f6bd5c9a31b6d00f92e383bec8a8235ed553916ad59adbb1b7663f6ebff1
| * Convert the json_error_position() routine to use only JSONB internally.drh2023-11-29
| | | | | | FossilOrigin-Name: e7a8ba35bff6fde55827f978de5b343b6c134c7fa53827f5c63915a9dc2598ad
| * The json_patch() function now operates exclusively on JSONB. This patchdrh2023-11-29
| | | | | | | | | | also includes improvements to JSONB debug printing routines. FossilOrigin-Name: fee19d0098242110d2c44ec7b9620c1210ef3f87913305f66ec85d277dd96ab6
| * Merge all the latest trunk enhancements into the jsonb branch.drh2023-11-29
| |\ | | | | | | FossilOrigin-Name: 1a59fcab2179cc3b52ecd3de7d2018db96ac149aaff521959773a517b8d9ac3e
| * | Convert the json_array_length() function to use JSONB instead of JsonNodes.drh2023-11-29
| | | | | | | | | FossilOrigin-Name: 5ab790736d943e08f097efcee5cfbf0d83c65b0a53f273060330ba719affa5e5
| * | Do not set the J subtype when the output is JSONB.drh2023-11-28
| | | | | | | | | FossilOrigin-Name: 4f106b64fe8988435872806bd0a6c223b61f53af0dd1c47c847bb4eec4e03e27
| * | Preserve flexibility in the format of the RHS of -> and ->> operators founddrh2023-11-28
| | | | | | | | | | | | | | | in legacy. FossilOrigin-Name: 6231ec43adb7436195eb1497de39a6c13c6b4f1c5032e6ea52515d214e61fdbc
| * | Attempt to get json_extract() working with pure JSONB only, and withoutdrh2023-11-28
| | | | | | | | | | | | | | | | | | the use of JsonNode. Mostly working, but there are some differences from legacy in corner cases. FossilOrigin-Name: 8c324af1eca27e86adc45622af4f3b06a67a3f968596ac58aa7434b1f6f05f3c
| * | The json_remove() function now uses only JSONB, never JsonNodes, internally.drh2023-11-28
| | | | | | | | | FossilOrigin-Name: b69786e746ae2b927b64d9871fd120b7f8f06cc53739fd46a4da51aa16cf8576
| * | All legacy tests are passing.drh2023-11-28
| | | | | | | | | FossilOrigin-Name: 2c436806b8d5f57de99c00f6154b038454fb9ae427d00d7b4a46ab9c7c69bcb9
| * | The json_patch() code for JSONB compiles and works sometimes, but there aredrh2023-11-28
| | | | | | | | | | | | | | | still issues. Incremental check-in. FossilOrigin-Name: e0099464a0045a04f4ccf29bc2b8325fc8c7f39ccf4847e74818f928c9153588
| * | More aggressive use of jsonBlobEdit(). Improvements to the MergePatchdrh2023-11-28
| | | | | | | | | | | | | | | implementation sketch. FossilOrigin-Name: fbca9570fd2e1465739e4d3a8d9bb40fad594fd78ab49b2cb34efa27ebdd8361
| * | Add untested (#ifdefed-out) code for the MergePatch algorithm against JSONB.drh2023-11-27
| | | | | | | | | | | | | | | Add (and test) the jsonBlobEdit() routine that is needed by the new MergePatch. FossilOrigin-Name: 4d353387fc10e1038cfdd86e66007bf728c231a928e588897bbee0fbfe76f225
| * | Enhance the (SQLITE_DEBUG-only) json_parse() routine so that it shows a drh2023-11-27
| | | | | | | | | | | | | | | decoding of JSONB when given a BLOB argument. FossilOrigin-Name: af267868562e0799ad691dccad05f17afbc34d609eede8c55f57d209290246ef
| * | Give the json_valid() function an optional second argument that determinesdrh2023-11-27
| | | | | | | | | | | | | | | what is meant by "valid". FossilOrigin-Name: a4e19ad43dac81e7655ec03ff69bb99d1d02b0c227034c90fb41415fd4793fe3
| * | All tests passing.drh2023-11-27
| | | | | | | | | FossilOrigin-Name: b5a5660ca22437640c9bf32c44d92c76a7293dafcbaf4fa6a4c171128d64871d
| * | Fix corner-case error conditions.drh2023-11-26
| | | | | | | | | FossilOrigin-Name: ec23d34ab75e1d7e9366e59c633e0d30def8759f6d4717583ebeb4c90aeccf0d
| * | Same results as the legacy JsonNode implementation on a small set of test cases.drh2023-11-26
| | | | | | | | | FossilOrigin-Name: c3da4b079a1a15a4c0b1a6e71f876648b1d9eb32eddc67b9946c2475c7b6d085
| * | Remove unused elements from the json_tree() cursor.drh2023-11-25
| | | | | | | | | FossilOrigin-Name: 914a50117d477b2cd30d58388fb8d1b71ff7ff6842ba025f38efc6e9647d06d0
| * | Remove the vestigal JsonNode logic from json_tree() and json_each().drh2023-11-25
| | | | | | | | | FossilOrigin-Name: 66c2ab9ebbf90477742e6be0d30e061d827c409de038f2a5b73479ed9448c4a6
| * | Almost working. Path is still not exactly right when Root is defined ondrh2023-11-25
| | | | | | | | | | | | | | | json_tree(). FossilOrigin-Name: 92258246916a9c0d72785964513113848a850dec78bdade8b3f274e410df4e7e
| * | Generate the fullkey and path columns of json_tree().drh2023-11-25
| | | | | | | | | FossilOrigin-Name: ffaa468ab8871906121df9ee5ef3dc00129a0086ed9c18831ecda69bf7f71455