| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
yajl_complete_parse() without a call to yajl_parse() in the middle. closes #27.
|
|
|
|
| |
avoid locale issues.
|
|
|
|
| |
tests (now that we always rep integers in 64bit entities regardless of arch word size)
|
|
|
|
| |
have a yajl_XXX_config() function that accepts varargs so that configuration is simple, and new config options can be added in the future that preserve backwards binary compatibility. closes #23.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
o issue #6 - check a few malloc error cases.
Signed-off-by: Lloyd Hilaiel <lloyd@hilaiel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- remove yajl_status_parse_incomplete, replace with three
flag settings
- yajl_allow_multiple_values
- yajl_forbid_trailing_garbage
- yajl_forbid_partial_values
In the new model, callers must consistently call yajl_parse_complete
and check it's return. Two new parse errors have been introduced:
"premature EOF" and "trailing garbage".
yajl_test.c demonstrates the simplifying effect on calling code.
adds 3 flags to yajl_test
-g forbids trailing garbage
-p forbids partial values
-m allows multiple values to be parsed.
and complementary tests.
lth: Addresses the majority of issue #24. gno is awesomesauce.
Signed-off-by: Lloyd Hilaiel <lloyd@hilaiel.com>
|
|\ |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
| |
allow the client to determine how much input was consumed in non-error cases (and in turn, handle junk at end of input parse errors... that is, insure the entire input buffer is consumed)
|
| |
|
|
|
|
| |
buffers), for a ~10% perf improvement during parsing (more function call overhead savings)
|
|
|
|
| |
also document a couple more opportunities
|
|
|
|
|
|
|
|
|
| |
* bump yajl version to 1.0.0
* update TODO list, removing completed tasks
* update yajl_test to override allocation routines and count allocations/frees, providing an automated standalone way to validate we're not leaky
* update all copyright dates
* update all .gold files with new test output
* update ChangeLog in preparation for 1.0.0 release
|
|
|
|
| |
linux w/ gcc 4.3.2 - test suite still needs a bit of fixing to handle 64bit platforms where long is 64 bit.
|
|
|
|
|
|
|
| |
precision numbers in JSON data.
git-svn-id: http://yajl-c.googlecode.com/svn/trunk@102 e775cfb5-b74b-0410-aad5-5bebe4a96390
|
|
|
|
|
|
|
|
|
| |
2. many documentation updates
3. freebsd4 fixes
4. works with CMake pre-LOOSE_LOOP_CONSTRUCTS
git-svn-id: http://yajl-c.googlecode.com/svn/yajl/trunk@90 e775cfb5-b74b-0410-aad5-5bebe4a96390
|
|
|
|
| |
git-svn-id: http://yajl-c.googlecode.com/svn/yajl/trunk@81 e775cfb5-b74b-0410-aad5-5bebe4a96390
|
|
|
|
| |
git-svn-id: http://yajl-c.googlecode.com/svn/yajl/trunk@80 e775cfb5-b74b-0410-aad5-5bebe4a96390
|
|
|
|
|
|
|
|
| |
constantly stress stream parsing (use a parse buffer ranging in size
from 1 to 32 bytes)
git-svn-id: http://yajl-c.googlecode.com/svn/yajl/trunk@77 e775cfb5-b74b-0410-aad5-5bebe4a96390
|
|
git-svn-id: http://yajl-c.googlecode.com/svn/yajl/trunk@60 e775cfb5-b74b-0410-aad5-5bebe4a96390
|