Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Fix out of date comment (json_config_key) | Mark Pulford | 2011-10-05 | 1 | -1/+1 | |
| | | ||||||
* | | Add release notes for 1.0.31.0.3 | Mark Pulford | 2011-09-15 | 2 | -1/+5 | |
| | | | | | | | | Also update release date in RPM spec file. | |||||
* | | Add limitations section to documentation | Mark Pulford | 2011-09-15 | 1 | -35/+89 | |
| | | | | | | | | Improve text for clarity. | |||||
* | | Update comment to match docs (very -> excessively) | Mark Pulford | 2011-09-15 | 1 | -1/+1 | |
| | | ||||||
* | | Update TODO | Mark Pulford | 2011-08-18 | 1 | -7/+1 | |
| | | ||||||
* | | Added THANKS file | Mark Pulford | 2011-08-12 | 2 | -1/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Louis-Philippe Perron (@loopole) - Mac OSX bug report Steve Donovan <steve.j.donovan@gmail.com> - Window build testing - Luarocks assistance Zhang "agentzh" Yichun <agentzh@gmail.com> - Whitespace suggestion - Solaris isinf() bug - Array detection bug | |||||
* | | Add work around for missing isinf() on Solaris | Mark Pulford | 2011-08-11 | 3 | -0/+10 | |
| | | | | | | | | | | | | | | Some versions of Solaris (Eg, Solaris 11 / GCC 3.4.3) are missing isinf(). Provide a work around when MISSING_ISINF is defined. Reported by: Zhang "agentzh" Yichun <agentzh@gmail.com> | |||||
* | | Update version to 1.0.3 | Mark Pulford | 2011-08-10 | 4 | -8/+11 | |
| | | ||||||
* | | Fix detection of objects with numeric string keys | Mark Pulford | 2011-08-10 | 2 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | lua_array_length() recognised some objects with numeric string keys as arrays since it was incorrectly using lua_isnumber(). When an object was incorrectly recognised as an array, json_append_array() would not find any entries and generate a result like: [null,null,...] Reported by: Zhang "agentzh" Yichun <agentzh@gmail.com> | |||||
* | | Change RPM spec to use tar.gz | Mark Pulford | 2011-06-21 | 1 | -1/+1 | |
| | | ||||||
* | | Simplify RPM package description1.0.2 | Mark Pulford | 2011-05-29 | 1 | -3/+2 | |
| | | ||||||
* | | Update performance.txt for 1.0.2 | Mark Pulford | 2011-05-29 | 1 | -34/+43 | |
| | | ||||||
* | | Use a benchmark duration, not interation count | Mark Pulford | 2011-05-29 | 1 | -2/+12 | |
| | | | | | | | | | | Roughly calculate the number of iterations required to run the benchmark for the chosen duration. | |||||
* | | Update TODO | Mark Pulford | 2011-05-29 | 1 | -2/+8 | |
| | | ||||||
* | | Document building via LuaRocks | Mark Pulford | 2011-05-29 | 1 | -4/+26 | |
| | | ||||||
* | | Add trivial types.json example | Mark Pulford | 2011-05-29 | 2 | -0/+3 | |
| | | ||||||
* | | Display CJSON library version when testing | Mark Pulford | 2011-05-29 | 1 | -1/+3 | |
| | | ||||||
* | | Update version to 1.0.2 | Mark Pulford | 2011-05-29 | 5 | -9/+23 | |
| | | ||||||
* | | Add support for runtime number precision config | Mark Pulford | 2011-05-29 | 5 | -17/+77 | |
| | | | | | | | | | | | | Add cjson.encode_number_precision(). Reducing the number precision from 14 to 3 can increase performance up to 50% with number heavy conversions. | |||||
* | | Use .zip format with LuaRocks | Mark Pulford | 2011-05-29 | 2 | -1/+3 | |
| | | | | | | | | Windows has poor support for "tar.gz", but all platforms support "zip". | |||||
* | | Change version number for development | Mark Pulford | 2011-05-16 | 2 | -2/+2 | |
| | | ||||||
* | | Test module with invalid numbers enabled | Mark Pulford | 2011-05-16 | 1 | -2/+1 | |
| | | ||||||
* | | Add support for stdin to encode.lua/decode.lua | Mark Pulford | 2011-05-16 | 3 | -20/+42 | |
| | | ||||||
* | | Use Perl builtin UTF-8 support, not Text::Iconv | Mark Pulford | 2011-05-16 | 1 | -7/+13 | |
| | | | | | | | | Remove Perl dependency on Text::Iconv to improve portability. | |||||
* | | Move all benchmark code into bench.lua | Mark Pulford | 2011-05-16 | 2 | -39/+34 | |
| | | | | | | | | | | Move benchmark() into bench.lua since it not used elsewhere. Replace posix.gettimeofday() with socket.gettime() to improve portability. | |||||
* | | Remove invalid newlines from JSON examples | Mark Pulford | 2011-05-16 | 2 | -8/+4 | |
| | | ||||||
* | | Add command line encode/decode utilities | Mark Pulford | 2011-05-16 | 2 | -0/+37 | |
| | | ||||||
* | | Warn that a failed NaN test may not be an error | Mark Pulford | 2011-05-16 | 2 | -3/+9 | |
| | | | | | | | | | | | | | | Sprintf returns "-nan" rather than "nan" on some platforms, which causes the test script to incorrectly flag a failure. Also allow test functions without "==> Config" output. | |||||
* | | Add rockspec to build under LuaRocks | Mark Pulford | 2011-05-15 | 2 | -1/+31 | |
| | | | | | | | | | | | | Remove "-lm" from LDFLAGS in Makefile since it breaks the build under Windows and isn't required under Linux. Math lib fix suggested by: Steve Donovan <steve.j.donovan@gmail.com> | |||||
* | | Remove trailing whitespace1.0.1 | Mark Pulford | 2011-05-10 | 6 | -20/+20 | |
| | | ||||||
* | | Add stack overflow fix to NEWS | Mark Pulford | 2011-05-10 | 1 | -1/+2 | |
| | | ||||||
* | | run_test_group(): Change helper functions to local | Mark Pulford | 2011-05-10 | 1 | -2/+2 | |
| | | ||||||
* | | Add runtime option for persistent encode buffer | Mark Pulford | 2011-05-10 | 7 | -19/+75 | |
| | | ||||||
* | | Suspend the garbage collector during benchmarks | Mark Pulford | 2011-05-10 | 1 | -1/+2 | |
| | | | | | | | | Suspending GC appears to make the benchmark results more consistent. | |||||
* | | Fix memory leak when throwing stack overflow error | Mark Pulford | 2011-05-10 | 1 | -2/+11 | |
| | | | | | | | | json->tmp was not freed when throwing a Lua stack overflow exception. | |||||
* | | Remove whitespace from generated JSON output | Mark Pulford | 2011-05-10 | 3 | -13/+14 | |
| | | | | | | | | | | | | | | Remove excess whitespace to reduce output size and increase encode performance. Suggested by: Zhang "agentzh" Yichun <agentzh@gmail.com> | |||||
* | | Add extra encoding/nesting tests | Mark Pulford | 2011-05-10 | 3 | -10/+45 | |
| | | | | | | | | | | | | - Use pcall() to call test config functions. - Test encoding with refuse_invalid_numbers() options. - Test encoding invalid types. | |||||
* | | Add support for perl installs outside of /usr/bin | Mark Pulford | 2011-05-10 | 1 | -1/+2 | |
| | | | | | | | | | | Change "perl -w" to "use warnings" for compatibility with systems that put all #! args into argv[1]. | |||||
* | | Update version to 1.0.1 | Mark Pulford | 2011-05-10 | 5 | -8/+10 | |
| | | ||||||
* | | Add build support for Mac OSX | Mark Pulford | 2011-05-10 | 1 | -1/+11 | |
| | | ||||||
* | | Add TODO file1.0 | Mark Pulford | 2011-05-09 | 2 | -1/+8 | |
| | | ||||||
* | | Tidy and reformat lua_cjson.c (minor) | Mark Pulford | 2011-05-09 | 1 | -12/+9 | |
| | | ||||||
* | | Add changelog (NEWS) | Mark Pulford | 2011-05-08 | 2 | -1/+3 | |
| | | ||||||
* | | Add documentation (README) | Mark Pulford | 2011-05-08 | 2 | -1/+212 | |
| | | ||||||
* | | Add test for excessive nesting during encode | Mark Pulford | 2011-05-08 | 2 | -6/+16 | |
| | | ||||||
* | | Add NaN/Inf encoding tests, rearrange test order | Mark Pulford | 2011-05-08 | 1 | -71/+74 | |
| | | ||||||
* | | Generate error when attempting to decode UTF-16/32 | Mark Pulford | 2011-05-08 | 2 | -0/+12 | |
| | | ||||||
* | | Add UTF-16 surrogate pair decode support | Mark Pulford | 2011-05-08 | 5 | -11/+149 | |
| | | | | | | | | | | | | | | | | - Add tests for UTF-16 decoding and failures - Add getutf8.pl to assist with UTF-16 decode testing - Re-add test_decode_cycle() which was accidentally removed earlier - Rename bytestring.dat to octets-escaped.dat | |||||
* | | Test octect encode/decode separately | Mark Pulford | 2011-05-08 | 2 | -24/+9 | |
| | | ||||||
* | | Convert tests to automatically verify output | Mark Pulford | 2011-05-08 | 1 | -106/+107 | |
| | |