Commit Graph

212 Commits

Author SHA1 Message Date
Lloyd Hilaiel cc61a3f8ac add a comment to code regarding the forward solidus and the fact that escaping it is optional 2011-04-25 16:19:17 -06:00
Lloyd Hilaiel bb396891e9 remove a br0k3n line of language from docs 2011-04-25 13:18:59 -06:00
Lloyd Hilaiel cf38ad3845 bump to 2.0.1 after tagging 2.0.0 2011-04-25 12:59:10 -06:00
Lloyd Hilaiel a8f3663063 bump to 2.0.0 2011-04-25 12:58:53 -06:00
Lloyd Hilaiel 1888f552a7 Merge from 1.x branch (ChangeLog for 1.0.12 and notice about yajl 1 vs yajl 2).
Conflicts:
	ChangeLog
2011-04-25 12:50:08 -06:00
Lloyd Hilaiel 6a8906d409 include a note in the readme about availability of new YAJL 2011-04-25 12:48:57 -06:00
Lloyd Hilaiel afaef1969f update ChangeLog with changes in 1.0.12 2011-04-25 12:47:23 -06:00
Lloyd Hilaiel 6327687ed9 update ChangeLog with summary of 2.0.0 2011-04-25 12:42:18 -06:00
Lloyd Hilaiel 888ac11de6 test harness fixes on win32 2011-04-25 11:24:55 -07:00
Lloyd Hilaiel 88a3c16c78 fix another pair of build warnings 2011-04-25 12:18:44 -06:00
Lloyd Hilaiel 18e45d1e52 compiling cleanly on winblows 2011-04-25 11:16:15 -07:00
Lloyd Hilaiel 8b203acbff remove usage of inttypes, cause its winblows hostile 2011-04-25 11:39:43 -06:00
Lloyd Hilaiel c152ba0ab3 documentation updates 2011-04-25 11:06:16 -06:00
Lloyd Hilaiel 575226189f yajl_tree to use same integer parsing routines as yajl's parser proper to avoid locale issues. 2011-04-25 11:06:16 -06:00
Lloyd Hilaiel 2f353eb7ea add missing null plug in perftest json document 2011-04-25 09:58:30 -06:00
Lloyd Hilaiel 807d363505 fix a bug in overflow detection in integer parsing routine, add overflow tests (now that we always rep integers in 64bit entities regardless of arch word size) 2011-04-25 09:50:46 -06:00
Lloyd Hilaiel ec8204ddf7 OMFG. string lexing improvements that yield about a 20% improvement in parsing performance. inspiration provided by mike hanson. 2011-04-25 08:06:05 -06:00
Lloyd Hilaiel de8e5ac7b5 indentation fix 2011-04-25 06:55:21 -06:00
Lloyd Hilaiel 7fde10296c refinements to the in-tree perf test. now iterate over three sample documents from various apis about the web and output aggregate througput. not perfect math, but a stable and hopefully representative way of measuring changes 2011-04-25 06:54:09 -06:00
Lloyd Hilaiel 0d5000f0ad update docs for perf gains with yajl_dont_validate_strings 2011-04-24 12:48:34 -06:00
Lloyd Hilaiel 1b9995a0a3 first pass at a little in-tree perf test for a stable way to quantify optimization efforts 2011-04-24 08:10:58 -06:00
Lloyd Hilaiel 453aa706cc fix debug compile error 2011-04-24 08:06:14 -06:00
Lloyd Hilaiel 25133e5508 documentation updates 2011-04-23 13:42:19 -06:00
Lloyd Hilaiel b36a8bd294 update documentation and tighten API for yajl_tree.h, inline several structures so a reader can grok the structure in hopefully one pass without jumping all over the file. 2011-04-23 11:17:35 -06:00
Lloyd Hilaiel 9bf2ad882b move unnec. includes out of public api, more yajl_type propogation 2011-04-22 19:21:52 -06:00
Lloyd Hilaiel 69a9c263b5 change types from preprocessor macros to an enum, add yajl_t_any for use with yajl_tree_get() 2011-04-22 19:17:44 -06:00
Lloyd Hilaiel d24690ee5c reduce output noise during testing 2011-04-22 19:11:55 -06:00
Lloyd Hilaiel 8e5d0b1541 fix compiler warning. he's right. 2011-04-22 17:05:38 -06:00
Lloyd Hilaiel dd18f6182e add a couple convenience routines for dealing with numbers, more copious yajl_tree reformatting 2011-04-22 16:52:23 -06:00
Lloyd Hilaiel aedaa9e449 object keys should just be bare strings, the indirection is useless 2011-04-22 16:38:55 -06:00
Lloyd Hilaiel baf9c39797 be terse & piss all over that tree. 2011-04-22 16:32:59 -06:00
Lloyd Hilaiel 742a1cd7c6 cosmetic, indention and code formatting for yajl_tree 2011-04-22 15:53:32 -06:00
Lloyd Hilaiel 86f5093024 remove a useless level of indirection for strings 2011-04-22 15:47:44 -06:00
Lloyd Hilaiel b53a6cb3ee ISC license the configuration file parser example 2011-04-22 15:43:29 -06:00
Lloyd Hilaiel e976b21748 relicense florian's contribution ISC, (still pending his approval, but I'm an optimist) 2011-04-22 15:43:13 -06:00
Lloyd Hilaiel a03bd0c9c6 talk a little bit more about this yajl_tree.h example 2011-04-22 15:40:45 -06:00
Lloyd Hilaiel 668e787b1c initial merge/port of Florian Forster's yajl_tree implementation, along with a new utility routine yajl_tree_get() and an example 2011-04-22 15:39:40 -06:00
Lloyd Hilaiel d2ec58b70b Merge branch 'parsetree' of https://github.com/octo/yajl into parsetree 2011-04-22 14:11:24 -06:00
Lloyd Hilaiel 9538bda17b Add a generator feature to validate UTF8 strings as they are written to output. closes #25 2011-04-22 13:17:29 -06:00
Lloyd Hilaiel bb21bcdb4c use new configuration features to simplify the json verifier 2011-04-22 12:37:04 -06:00
Lloyd Hilaiel 9813127163 rename yajl_parse_complete to yajl_complete_parse. the latter is correctly an imperative, while the former might be confused for a question. 2011-04-21 13:58:28 -06:00
Lloyd Hilaiel 0858bb3412 rework programmatic configuration of yajl. both generator and parser now 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. 2011-04-21 13:55:45 -06:00
Lloyd Hilaiel 6aefdaab38 oh, ok. osx ld doesn't like more than two digits in shared lib version numbers. weenies. 2011-04-20 16:25:43 -06:00
Lloyd Hilaiel b6b44127f2 add tests cases for partial value config 2011-04-20 16:23:09 -06:00
Lloyd Hilaiel f542280579 cosmetic, indentation and whitespace 2011-04-20 15:57:42 -06:00
Lloyd Hilaiel de81b1fcd2 yajl 2 will be relicensed under the ISC license. same idea, fewer bytes. 2011-04-20 15:48:36 -06:00
Greg Olszewski 7852c0a197 o closes #5 - replace strtol with own implementation, uses pascal strings.
o issue #6 - check a few malloc error cases.

Signed-off-by: Lloyd Hilaiel <lloyd@hilaiel.com>
2011-04-20 15:24:19 -06:00
Lloyd Hilaiel 986516e15b add a test case which demonstrates how new parsing configuration in yajl 2.x closes #7 2011-04-20 12:22:50 -06:00
Lloyd Hilaiel 9b88b94429 fixes to testing system. allowGarbage is misnamed, it actually means *forbid* garbage 2011-04-20 12:20:45 -06:00
Lloyd Hilaiel 888d390f4e add a missing test case - multiple integers in a stream 2011-04-20 12:08:15 -06:00