aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | Simplification of the logic that normalizes JSON5 integer literals intodrh2023-04-29
| | | | | | | | | | | | | | | | | | | | canonical JSON integer literals. Improved reporting of OOM. FossilOrigin-Name: 01ee613c07fcb87e7d7b7f1b1387982715d1343418f37f4a1dc90e43a76d20e8
| * | | Do not allow leading zeros on non-zero numeric literals in JSON.drh2023-04-29
| | | | | | | | | | | | FossilOrigin-Name: 3e91494390ba88498eb243f61ce4ef4efa23b58326108a769bc72331d7d7d75b
| * | | Minor fixes to to the JSON% parser.drh2023-04-29
| | | | | | | | | | | | FossilOrigin-Name: 2fe684cdcdc3cab4ec3348ca5aa5948e4472c562b739c29faebcb77397f8d969
| * | | Correctly recognize an isolated U+feff as a space character in JSON5.drh2023-04-29
| | | | | | | | | | | | FossilOrigin-Name: 4473dc8e3ad18bb6185ed4a819baf881a7d26ac74bc70fae6ba23a0030be8316
| * | | Bug fixes in the logic to skip over JSON5 comments.drh2023-04-28
| | | | | | | | | | | | FossilOrigin-Name: c736b77a2fc5f8f2ba8f770adf05443dfdc3a9847ee519f411e661f76756d611
| * | | Bug fix in the offset computation for json_error().drh2023-04-28
| | | | | | | | | | | | FossilOrigin-Name: 8f7ab5d9210490eb451534df246b82081a5aa252a1bd662659df3da429290837
| * | | Improvements to the accuracy of json_error(). Add the extension SQLdrh2023-04-28
| | | | | | | | | | | | | | | | | | | | functions random_json(SEED) and random_json5(SEED). FossilOrigin-Name: 8d09dc1c45a8026b94f70273d064e47939f30cadedc17548b5a26ba054a8d3a7
| * | | Add the json_error(X) function that returns the 1-based character offset todrh2023-04-28
| | | | | | | | | | | | | | | | | | | | the first syntax error in JSON5 string X, or 0 if there are no errors. FossilOrigin-Name: 901ad995d5a722ca2672516205ff488e9acd703a828ca5fc43f11fca5f2af120
| * | | Fix indentation and omit trailing whitespace in the random JSON generatordrh2023-04-28
| | | | | | | | | | | | | | | | | | | | script. FossilOrigin-Name: 629db09fceb7bf37561b52ccee06ebf4df261291e9a8ffcca82b243f6db5ff07
| * | | Fix json_tree() so that it is able to deal with the JNODE_RAW labels ofdrh2023-04-28
| | | | | | | | | | | | | | | | | | | | a JSON5 object. FossilOrigin-Name: f56528d413d8e622f7c4f18b2f9f2e620bfb441c020461299b35a90072ee6c13
| * | | Merge all the latest trunk fixes and enhancements into the json5 branch.drh2023-04-28
| |\ \ \ | | | | | | | | | | FossilOrigin-Name: b5ca15cfc19380cf870b70be6a86e70f2026cc3d6d89005b45891d58c4f11c2d
| * | | | Test cases added, and some bugs fixed.drh2023-04-27
| | | | | | | | | | | | | | | FossilOrigin-Name: bc84a82e4ddc1b71025c56c49e62a44f0b12fa87a6417ad61967d9d3121a0d4e
| * | | | Further optimizations to the JSON parser.drh2023-04-27
| | | | | | | | | | | | | | | FossilOrigin-Name: bb8f1c16f244f893170f3d03bc445bd15fc337804c7c3e76c548397f5b95b39a
| * | | | Faster implementation of numberic literal parsing in JSON.drh2023-04-27
| | | | | | | | | | | | | | | FossilOrigin-Name: 58398292e8473b0b9e4b77dd5ed27334bc24a85d0c399e8d0b86de6fb59dadce
| * | | | Add support for hexadecimal integer literals in JSON.drh2023-04-27
| | | | | | | | | | | | | | | FossilOrigin-Name: 85e00c9e68d0695592e8f72555ee133c096bfca5a860a8e21d1e0ef756705aaf
| * | | | All floating point literals "NaN" and "Infinity". Additional variantsdrh2023-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | of these literals are available if compiled with SQLITE_EXTENDED_NAN_INF. FossilOrigin-Name: c13346afbecb92275e741252897d00478dab4be2d158889bc735e80efd9444f5
| * | | | Fix handling of reverse solidus in string literals. Allow decimal pointsdrh2023-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | in floating point literals to occurs and the beginning or end of the mantissa. FossilOrigin-Name: d92a6ab2871095ac66c60cfa15dbafa7b762f83d287d452f61792eb30cf5b26b
| * | | | Fix the handling of escape solidus in the JSON routines.drh2023-04-27
| | | | | | | | | | | | | | | FossilOrigin-Name: 676877aca235e620ee12d10235dd6ad009d4968455ec170daeb1998b94a7e0a2
| * | | | JSON string literals may span multiple lines by escaping new line characters.drh2023-04-27
| | | | | | | | | | | | | | | FossilOrigin-Name: 66da4bd4a30c390fa1a7960ce2edaef82e63971ecf33ffb6b906db9f278041c5
| * | | | Allow the labels on JSON objects to be unquoted identifier names.drh2023-04-27
| | | | | | | | | | | | | | | FossilOrigin-Name: fb428db3f64f148ab9a3478fdcc8b3733e58102b3c8895a482e2551d974d5661
| * | | | Performance optimization in the JSON parser.drh2023-04-27
| | | | | | | | | | | | | | | FossilOrigin-Name: 5a88ba743f55d45b1c0ce0090bb3b396bcf7fcf7b3bcb989aaf30b8bb772599e
| * | | | Permit JSON5 whitespace in all contexts of objects and arrays.drh2023-04-27
| | | | | | | | | | | | | | | FossilOrigin-Name: 93f3ab26b57c0469862a56e97d4b3c796b27f9f582046fcff1f2aa8d8910c550
| * | | | Translate JSON5-only string literal escape sequences into the JSON equivalents.drh2023-04-27
| | | | | | | | | | | | | | | FossilOrigin-Name: 14e82f36eed31af1237898728bf353b968523c62b1f8d1d90dbbabd92d0c2834
| * | | | Implement some of the JSON5 enhancements to string and numeric literals.drh2023-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | This is an incremental check-in of work in progress. FossilOrigin-Name: 9508efa9d61c0ff0eb73100dd52889dadc5fa2a2091b944a9b8a74e8a5c50e82
| * | | | Partial implementation of JSON5 numeric literal extensions. Use a switch()drh2023-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | statement in the parser for better performance. FossilOrigin-Name: 78404dc37024cad5fe7eacf78ea85b56f08b129a1b9a046c3e1b11275068a485
| * | | | Improvement to the way the JSON performance measure scripts work → keep thedrh2023-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | test database in the directory of the test, not in the source tree. FossilOrigin-Name: ac411dbdcbf0b9040fb5b7de173271f383a6aa303d57f22ebd200809a5b4a6d3
| * | | | Work toward implementing JSON5 whitespace. Untested and incomplete.drh2023-04-26
| | | | | | | | | | | | | | | FossilOrigin-Name: d262c059455ebe0650a45a6c1c04d1baf9609c635df352732dd192426e1bdc39
| * | | | Fix to the json-speed-check.sh script.drh2023-04-26
| | | | | | | | | | | | | | | FossilOrigin-Name: d839c9544d7f28c1abc779eb2d40f95c1a9386984656fbd29d19b1e7830171bc
| * | | | Add scripts for JSON performance testing.drh2023-04-26
| | | | | | | | | | | | | | | FossilOrigin-Name: 3051d6a7c12cbf86634d8fab64f3f3bc9a1eb184260e56a82eb543cb634ba7ef
| * | | | The json_valid() function only returns true for pure JSON. JSON5 (ordrh2023-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | at least that subset of JSON5 that has been so far implemented) is accepted by all routines, but json_valid() still returns false for JSON5 inputs. The new json_valid5(X) routine returns true or false if X is or is not valid JSON5. All of this is experimental and subject to change. FossilOrigin-Name: 5d33ab77800765c8b3a13ffcc02ba8a348d71b2b425924560418b517d723494d
| * | | | Allow trailing commas in objects and arrays of JSON.drh2023-04-24
| | | | | | | | | | | | | | | FossilOrigin-Name: 4031b231c223db598b45dbd192b027a99a9b82a981d43c75f723a3fb06720b82
* | | | | Fix typos in comments in sqlite3session.h preventing documentation from ↵dan2023-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | being correctly generated. FossilOrigin-Name: ab75170d5609c477613466e8880f20b74b0069281db6536fe09db06ea9d7cff3
* | | | | New enhancements to the sqlite3_db_config() constants documentation.drh2023-05-01
| | | | | | | | | | | | | | | FossilOrigin-Name: d74011a3c495719fe1816e15251269824396ac2a40e41f7b96f0dd507c9be609
* | | | | Expose the SQLITE_DBCONFIG_STMT_SCANSTATUS and ↵stephan2023-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | SQLITE_DBCONFIG_REVERSE_SCANORDER sqlite3_db_config() options to JS. FossilOrigin-Name: 0a7024af3f0e1dddc1a60c67bc4084e46b297dc16fe753bd5e6a45a59fd1cfa4
* | | | | Implement full xSync() for the OPFS VFS. The previous implementation was not ↵stephan2023-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | correct for journal files. Reported in [forum:647d2f811dbc2dfe|forum post 647d2f811dbc2dfe]. FossilOrigin-Name: a371374148a2874be6e48890781aa5952229056b146a50fa4d035693341c5636
* | | | | Fix typos in documentation comments in sqlite3.h.drh2023-05-01
| | | | | | | | | | | | | | | FossilOrigin-Name: 6a8b00788e7911287a8287277eb603e983e3324c9d62de0889ce6f0b2d848f4a
* | | | | Do not apply the "AND false" optimization if either operand comes from thedrh2023-05-01
| |_|/ / |/| | | | | | | | | | | | | | | | | | | ON clause of a join. Fix for the problem identified by [forum:/forumpost/96cd4a7e9e|forum post 96cd4a7e9e]. FossilOrigin-Name: d095da0e7a24e3bcab6495d964f76a86d7a5910d2d6edddc6e8092bfa6084fe6
* | | | Fix a crash that could occur in fts5 'secure-delete' mode when operating on ↵dan2023-04-29
| | | | | | | | | | | | | | | | | | | | corrupt records. FossilOrigin-Name: 2e85b0e3dcae0915aa6472a3654c8ac72a6b2083c11747f3f657c79bbdaf530b
* | | | Cure CLI generate_series() overflow bug (forum:754e2d4db2a5|noted by forum ↵larrybr2023-04-29
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | post #754e2d4db2a5) and bring behavior with negative step arguments closer to as-documented and eponymous function in PostgreSQL. FossilOrigin-Name: 07383758d68e05021ccd393a69c1fa94836dfb02331326c082495a531a384363
| * | | Replace duped generate_series() test with another corner case.larrybr2023-04-29
| | | | | | | | | | | | FossilOrigin-Name: fb2f08783fdfef4d5123ad66792de2265d39272d40d7bf1be7dd21876e8ffd73
| * | | Sync w/trunk, improve generate_series() variable names.larrybr2023-04-29
| |\ \ \ | |/ / / |/| | | FossilOrigin-Name: ecbf7e13e6454ee879c178c53ffa6face789e93ccbebb0cfac8fde72cb3a4952
* | | | Do not assert() a bad string representation in an sqlite3_value afterdrh2023-04-28
| | | | | | | | | | | | | | | | | | | | an OOM. dbsqlfuzz c822a17a23c524a0ac7cfb203c7198209da15de8. FossilOrigin-Name: 91fee79a01971259b21478e60a069a711a00efc79ddfececa6224a152cd8d09a
* | | | Make CLI .load slightly harder to abuse.larrybr2023-04-28
| | | | | | | | | | | | FossilOrigin-Name: 2779f9270cc431786d0e16ef05ec05b0f22dda2307f3bf17467ad0b25304e160
* | | | In the CLI, early out from the output_quoted_string() routine if thedrh2023-04-28
| | | | | | | | | | | | | | | | | | | | input string is NULL. [forum:/forumpost/8a22c0bfa7|forum post 8a22c0bfa7]. FossilOrigin-Name: 2881978d7b7014738a21c590b0430c4fa40e6b00b9547d0284b7656124523ae9
| * | | Add tests for generate_series(), and change an existing test that enforced ↵larrybr2023-04-28
| | | | | | | | | | | | | | | | | | | | varying rowid-to-value mapping with query ordering. (That no longer varies.) FossilOrigin-Name: 9605db4ae37ef383f8e5568af4543a9e6f336bace6ed80ff80fe4c0b0f437078
| * | | Revise generate_series() extension (in CLI) to address overflow reported in ↵larrybr2023-04-28
|/ / / | | | | | | | | | | | | [forum:754e2d4db2a5|forum post #754e2d4db2a5] and to make behavior better match the like-named PostgreSQL function. FossilOrigin-Name: beeea3e1b010dace9789f27172462b912819d0f8142a67e3e1e7335211e0e9a8
* | | Use a new technique to detect fresh OOM faults in columnName() that does notdrh2023-04-27
| | | | | | | | | | | | | | | | | | | | | rely on there being no OOMs prior to entry into columnName(), as [forum/forumpost/fb6811c2f9|forum post fb6811c2f9] demonstrates a technique which could cause an OOM prior to entry into columnName(). FossilOrigin-Name: a63346d6a0c0ca7ba4c87499de2e461be9c77e9b5d98f2bebf308cdb6599f33c
* | | Remove a faulty assert() from the CLI.drh2023-04-27
| | | | | | | | | | | | | | | [forum:/forumpost/726c4f7db0|Forum post 726c4f7db0]. FossilOrigin-Name: 4bbebb6bfb9910265d91b777c1711b3b8e0732bcf299f7459b20c4ea110422bd
* | | Remove an ALWAYS() macro that can in fact sometimes be false.drh2023-04-27
| | | | | | | | | | | | | | | [forum:/forumpost/f0e872fcee|Forum post f0e872fcee]. FossilOrigin-Name: d85880e4ed89e2198beea642818051f7a91a71fea9929be0a7ed0603b493ce47
* | | Fix compilation issues seen with older versions of MSVC.mistachkin2023-04-27
| | | | | | | | | FossilOrigin-Name: 4ba2a651120391d779a3db9881c0fb17e1322cc9d8738f915a46e31a2f313578