John Keiser
ae9ba2bed2
Rename SIMDJSON_AMALGAMATED to SIMDJSON_CONDITIONAL_INCLUDE
2023-07-20 11:43:19 -07:00
John Keiser
bb54946b78
Disallow including headers from implementation files
2023-07-20 10:01:22 -07:00
John Keiser
1e97af7dfb
Merge pull request #2031 from simdjson/jkeiser/vscode-green
...
Get headers compiling in editor
2023-07-17 13:07:20 -07:00
John Keiser
a442842f0d
Use SIMDJSON_AMALGAMATED (which works in-editor and out) instead of editor-specific tweaks
2023-07-15 14:53:02 -07:00
John Keiser
9a0527c380
Only make editor stuff work in editor
2023-07-14 20:05:05 -07:00
John Keiser
bf70cd0ebf
Get headers compiling in editor
2023-07-08 10:47:15 -07:00
yongxiangng
ddb094d550
Move should log into separate if clause
2023-07-08 13:07:25 +08:00
Yong Xiang Ng
975fdda03c
Add fine grain logging
2023-07-07 12:11:27 +08:00
Daniel Lemire
031ee32969
Undoing PR 2004 due to performance concerns. ( #2029 )
...
* Undoing PR 2004 due to performance concerns.
Fixes https://github.com/simdjson/simdjson/issues/2028
Fixes https://github.com/simdjson/simdjson/issues/2021
* Adding final lines.
---------
Co-authored-by: Daniel Lemire <dlemire@lemire.me >
2023-07-06 21:34:14 -04:00
Ng Yong Xiang
e9d5d5088a
Introduce logging levels for conditional logging and log key for NO_SUCH_FIELD error ( #2004 )
...
* Add info and error logging
* Add tests for error logging
* Add logging for missing field
* Update docs for logging usage
* Fix style and pass by ref for string format args
* Make log_level explicit and simplify get log level from env
* Make log level int32_t
* Format enum class
* Fix ci
* Move enum to header
* Fix compilation for noexception build in test case
* Disable warnings and putenv
---------
Co-authored-by: Yong Xiang Ng <yxng@drwholdings.com >
2023-05-22 12:58:55 -04:00
Daniel Lemire
0a2563e13e
Testing and fixing log issues. ( #1939 )
...
* Testing and fixing log issues.
* Cleaning it a bit.
2023-01-21 15:28:56 -05:00
sean
d4ac1b51d0
Fix various warnings & if constexpr ( #1888 )
2022-09-27 23:22:47 -04:00
Dirk Stolle
82433a67f9
fix a few typos ( #1829 )
2022-05-20 13:31:30 -04:00
Daniel Lemire
47a62db559
Isolated jkeiser fix for issue 1632: make it so that INCORRECT_TYPE is a recoverable condition in On Demand ( #1663 )
2021-07-23 11:32:26 -04:00
Daniel Lemire
7e646efd0f
This should print out (once) some instructions to interpret the logging traces. ( #1637 )
...
* This should print out (once) some instructions to interpret the logging traces.
* More details.
2021-06-26 11:38:38 -04:00
Daniel Lemire
4fb09824bf
Restricting how we can end key searches ( #1575 )
...
* Verifies bug with missing keys.
* Allowing search from any key.
* Workaround for buggy msys
* Restricting how we can end key searches.
* Adding a few tests.
2021-05-20 16:23:38 -04:00
John Keiser
e6d2b7759a
Fix assertion when getting array after failing to get a scalar
...
Also remove distinction between & and && for array start, acting like
other types
2021-01-26 14:09:54 -08:00
John Keiser
38da15b501
Rename checkpoint() -> position(), add token_position type
2021-01-11 15:19:24 -08:00
John Keiser
0f515785c6
Support reading scalars out of order
2021-01-11 15:17:46 -08:00
John Keiser
3aa3175378
Add tests for recovering from partial child iteration
2020-12-06 16:19:06 -08:00
John Keiser
c89647af9e
Make all values use same underlying iterator
2020-12-06 15:23:52 -08:00
John Keiser
a700848bae
Move ondemand implementation to include/
2020-10-04 12:47:30 -07:00