aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * Improved handling of NULL arguments to json_valid() anddrh2023-05-02
| | | | | | | | | | json_error_position(). [forum:/forumpost/06c6334412|Forum post 06c6334412]. FossilOrigin-Name: ab78e6946ba8125a83ff155561adf9c8df4d1c09a645fce08c8245ddb08bfa3b
| * Fix typo in comment. [forum:/forumpost/3da7d9c445|Forum post 3da7d9c445].drh2023-05-02
| | | | | | FossilOrigin-Name: 41a8a15c4b6f6157b12d43976e300763ef8a4963986d2806557ad0d8b0a784cd
| * Minor code change in the CLI to make a UAF warning from scan-build go away.drh2023-05-02
| | | | | | FossilOrigin-Name: ad6aae768ad0816bfd1c8e9db5c0153226982d3af9a089f31e608223339e9829
| * Fix harmless compiler warnings.drh2023-05-01
| | | | | | FossilOrigin-Name: 342af5b4fa0bd7c699e5497161db13d0cf795c7a5875ae30d666122e518f213b
| * The gcc definition of the SQLITE_INLINE macro is not compatible withdrh2023-05-01
| | | | | | | | | | string ANSI, so disable it if the -std=c89 command-line option is used. FossilOrigin-Name: 62d703d83cf8cf3358715792347c49315a82c659e475158e385746f4329a4f39
| * Fix harmless compiler warnings.drh2023-05-01
| | | | | | FossilOrigin-Name: 0a926994691ccb02ea4f0ba3c2e8f728871ae67d24c705fbc0f7af81f38d5f47
| * Add support for JSON5.drh2023-05-01
| |\ | | | | | | FossilOrigin-Name: f8c3ed23a6931b1da3b93b3274b132387078112a5c8e8d06b5312c47987d3937
| | * Fix abbreviated paths for objects such that they work even if the objectdrh2023-05-01
| | | | | | | | | | | | | | | key begins with '$'. FossilOrigin-Name: 1b991c78141a9915ae9350ecb347a758e50d7d25c8a0f4cc098ae10d47c27043
| | * Fix a problem with json_patch() when one side or the other is JSON5.drh2023-04-30
| | | | | | | | | | | | | | | dbsqlfuzz bc10593a4ba8e7a7862593532285be31f00f8e41 FossilOrigin-Name: e18c0899cc774f6f20d2a73381fa3ab3af9355cf4d108c7612db259eadbb8b96
| | * Accept the full ECMAScript 5.1 IdentifyName syntax for keys in objects.drh2023-04-30
| | | | | | | | | FossilOrigin-Name: 9be2c87518b33713210e3e2fa56924888e19415c71329141d18150b275f6f25e
| | * All JSON to understand floating point literals "Inf" and "QNaN" and "SNaN" indrh2023-04-30
| | | | | | | | | | | | | | | | | | any case, without the SQLITE_EXTENDED_NAN_INF compile-time option. This extension is always available. FossilOrigin-Name: fb551145e0d84213b3343dc1bc7db70c898b9dea24a72b968240617f4b52d821
| | * Omit the json_valid() function. Change the name of json_error() todrh2023-04-30
| | | | | | | | | | | | | | | | | | json_error_position(). Use "NOT json_error_position(X)" as a substitute for "json_valid5(X)". FossilOrigin-Name: 34c4e900a9cc51630eeaf01deef74bf5b18d66e0ab1dc61a2023ac8f837a5197
| | * More ALWAYS() macros.drh2023-04-29
| | | | | | | | | FossilOrigin-Name: 770b09f7a795956be63a06847059370db8dfc88654878d742b7b826947029962
| | * Add ALWAYS macros on unreachable branches in the new JSON5 logic.drh2023-04-29
| | | | | | | | | FossilOrigin-Name: 91e15ed9d93e51b750172a074dbbcf206128e9476571ce6189b8ea0ba5ab4135
| | * 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 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
| | * | Work toward implementing JSON5 whitespace. Untested and incomplete.drh2023-04-26
| | | | | | | | | | | | FossilOrigin-Name: d262c059455ebe0650a45a6c1c04d1baf9609c635df352732dd192426e1bdc39
| | * | 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
| * | | New enhancements to the sqlite3_db_config() constants documentation.drh2023-05-01
| | | | | | | | | | | | FossilOrigin-Name: d74011a3c495719fe1816e15251269824396ac2a40e41f7b96f0dd507c9be609
| * | | 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
| * | 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
| * | 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