Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2011-11-29 | Add automated build testing (LuaRocks, Makefile) | Mark Pulford | 2 | -1/+46 | |
2011-11-29 | Add workaround to handle platforms that print -nan | Mark Pulford | 2 | -10/+11 | |
2011-11-29 | Remove unused escape table init code | Mark Pulford | 1 | -26/+0 | |
2011-11-29 | Suppress isinf() define when it already exists | Mark Pulford | 1 | -2/+2 | |
2011-11-29 | Add platform specific overrides to rockspec | Mark Pulford | 2 | -1/+21 | |
Luarocks does not support a "solaris" platform - USE_INTERNAL_ISINF must stay commented. | |||||
2011-11-29 | Add common platform defaults/overrides to Makefile | Mark Pulford | 1 | -19/+19 | |
2011-11-29 | Improve README documentation (minor) | Mark Pulford | 1 | -11/+10 | |
2011-11-29 | Improve build documentation and layout | Mark Pulford | 3 | -25/+40 | |
2011-11-27 | Update version to 1.0.4 | Mark Pulford | 4 | -8/+11 | |
2011-11-27 | Update THANKS for locale bug reporter | Mark Pulford | 1 | -0/+1 | |
2011-10-07 | Add USE_POSIX_SETLOCALE option | Mark Pulford | 5 | -13/+52 | |
Add USE_POSIX_SETLOCALE option for platforms missing uselocale(). Document locale options in README, Makefile & rockspec. Also: - Rename USE_POSIX_LOCALE define to USE_POSIX_USELOCALE. - Use uselocale() by default through Makefile (Linux, OSX). - Use setlocale() by default through rockspec (other platforms). | |||||
2011-10-07 | Rename MISSING_ISINF to USE_INTERNAL_ISINF | Mark Pulford | 4 | -5/+8 | |
2011-10-05 | Support locales which use comma decimal separators | Mark Pulford | 5 | -3/+79 | |
Some locales (cs_CZ, de_DE,..) use a comma as their decimal separator. This causes CJSON to generate incorrect JSON (Eg, [10,1]), and fail when parsing some valid JSON (Eg, [10,"test"]). Added USE_POSIX_LOCALE #define which harnesses the thread-safe POSIX.1-2008 locale support (newlocale(), uselocale(), freelocale()) to temporarily use the POSIX locale during JSON conversion. Some older POSIX operating systems with xlocale.h (MacOSX) are also supported. | |||||
2011-10-05 | Fix out of date comment (json_config_key) | Mark Pulford | 1 | -1/+1 | |
2011-09-15 | Add release notes for 1.0.31.0.3 | Mark Pulford | 2 | -1/+5 | |
Also update release date in RPM spec file. | |||||
2011-09-15 | Add limitations section to documentation | Mark Pulford | 1 | -35/+89 | |
Improve text for clarity. | |||||
2011-09-15 | Update comment to match docs (very -> excessively) | Mark Pulford | 1 | -1/+1 | |
2011-08-18 | Update TODO | Mark Pulford | 1 | -7/+1 | |
2011-08-12 | Added THANKS file | Mark Pulford | 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 | |||||
2011-08-11 | Add work around for missing isinf() on Solaris | Mark Pulford | 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> | |||||
2011-08-10 | Update version to 1.0.3 | Mark Pulford | 4 | -8/+11 | |
2011-08-10 | Fix detection of objects with numeric string keys | Mark Pulford | 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> | |||||
2011-06-21 | Change RPM spec to use tar.gz | Mark Pulford | 1 | -1/+1 | |
2011-05-29 | Simplify RPM package description1.0.2 | Mark Pulford | 1 | -3/+2 | |
2011-05-29 | Update performance.txt for 1.0.2 | Mark Pulford | 1 | -34/+43 | |
2011-05-29 | Use a benchmark duration, not interation count | Mark Pulford | 1 | -2/+12 | |
Roughly calculate the number of iterations required to run the benchmark for the chosen duration. | |||||
2011-05-29 | Update TODO | Mark Pulford | 1 | -2/+8 | |
2011-05-29 | Document building via LuaRocks | Mark Pulford | 1 | -4/+26 | |
2011-05-29 | Add trivial types.json example | Mark Pulford | 2 | -0/+3 | |
2011-05-29 | Display CJSON library version when testing | Mark Pulford | 1 | -1/+3 | |
2011-05-29 | Update version to 1.0.2 | Mark Pulford | 5 | -9/+23 | |
2011-05-29 | Add support for runtime number precision config | Mark Pulford | 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. | |||||
2011-05-29 | Use .zip format with LuaRocks | Mark Pulford | 2 | -1/+3 | |
Windows has poor support for "tar.gz", but all platforms support "zip". | |||||
2011-05-16 | Change version number for development | Mark Pulford | 2 | -2/+2 | |
2011-05-16 | Test module with invalid numbers enabled | Mark Pulford | 1 | -2/+1 | |
2011-05-16 | Add support for stdin to encode.lua/decode.lua | Mark Pulford | 3 | -20/+42 | |
2011-05-16 | Use Perl builtin UTF-8 support, not Text::Iconv | Mark Pulford | 1 | -7/+13 | |
Remove Perl dependency on Text::Iconv to improve portability. | |||||
2011-05-16 | Move all benchmark code into bench.lua | Mark Pulford | 2 | -39/+34 | |
Move benchmark() into bench.lua since it not used elsewhere. Replace posix.gettimeofday() with socket.gettime() to improve portability. | |||||
2011-05-16 | Remove invalid newlines from JSON examples | Mark Pulford | 2 | -8/+4 | |
2011-05-16 | Add command line encode/decode utilities | Mark Pulford | 2 | -0/+37 | |
2011-05-16 | Warn that a failed NaN test may not be an error | Mark Pulford | 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. | |||||
2011-05-15 | Add rockspec to build under LuaRocks | Mark Pulford | 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> | |||||
2011-05-10 | Remove trailing whitespace1.0.1 | Mark Pulford | 6 | -20/+20 | |
2011-05-10 | Add stack overflow fix to NEWS | Mark Pulford | 1 | -1/+2 | |
2011-05-10 | run_test_group(): Change helper functions to local | Mark Pulford | 1 | -2/+2 | |
2011-05-10 | Add runtime option for persistent encode buffer | Mark Pulford | 7 | -19/+75 | |
2011-05-10 | Suspend the garbage collector during benchmarks | Mark Pulford | 1 | -1/+2 | |
Suspending GC appears to make the benchmark results more consistent. | |||||
2011-05-10 | Fix memory leak when throwing stack overflow error | Mark Pulford | 1 | -2/+11 | |
json->tmp was not freed when throwing a Lua stack overflow exception. | |||||
2011-05-10 | Remove whitespace from generated JSON output | Mark Pulford | 3 | -13/+14 | |
Remove excess whitespace to reduce output size and increase encode performance. Suggested by: Zhang "agentzh" Yichun <agentzh@gmail.com> | |||||
2011-05-10 | Add extra encoding/nesting tests | Mark Pulford | 3 | -10/+45 | |
- Use pcall() to call test config functions. - Test encoding with refuse_invalid_numbers() options. - Test encoding invalid types. |