| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
an imperative, while the former might be confused for a question.
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
across systems (msys+win32 being the problem child)
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add new parser function, yajl_parse_complete(). This is defined
to parse any buffered data assuming that there is no more input
forthcoming and may issue callbacks based on that parse.
- Implement this as parsing a single space character. This is
sufficient to handle the problem case, a number at the end
of the stream.
- Updated yagl_test.c to call this when the stream ends.
|
|
|
|
| |
warnings
|
|
|
|
|
|
|
| |
precision numbers in JSON data.
git-svn-id: http://yajl-c.googlecode.com/svn/trunk@102 e775cfb5-b74b-0410-aad5-5bebe4a96390
|
|
|
|
| |
git-svn-id: http://yajl-c.googlecode.com/svn/yajl/trunk@95 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@67 e775cfb5-b74b-0410-aad5-5bebe4a96390
|
|
|
|
| |
git-svn-id: http://yajl-c.googlecode.com/svn/yajl/trunk@63 e775cfb5-b74b-0410-aad5-5bebe4a96390
|
|
git-svn-id: http://yajl-c.googlecode.com/svn/yajl/trunk@60 e775cfb5-b74b-0410-aad5-5bebe4a96390
|