Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-11-04 | tests: made the valgrind testing mode more obvious. | Yichun Zhang (agentzh) | 1 | -0/+1 | |
2015-11-01 | fixed the warning "inline function ‘fpconv_init’ declared but never ↵2.1.0.3rc2 | Yichun Zhang (agentzh) | 1 | -1/+1 | |
defined" from gcc. | |||||
2015-10-30 | Makefile: removed the slash (/) after $(DESTDIR) so as to support empty ↵2.1.0.3rc1 | Yichun Zhang (agentzh) | 1 | -13/+13 | |
DESTDIR and relative path values in the following variable. | |||||
2014-08-17 | bugfix: the Makefile had a bug that overwrites existing cjson.so file in ↵2.1.0.2 | Yichun Zhang (agentzh) | 1 | -0/+1 | |
place which could cause already running nginx workers to crash. thanks ywsample for the report. | |||||
2014-03-31 | added one passing test. | Yichun Zhang (agentzh) | 1 | -0/+11 | |
2014-02-18 | feature: applied Jiale Zhi's patch to add the new config function ↵2.1.0.1 | Yichun Zhang (agentzh) | 3 | -1/+124 | |
encode_empty_table_as_object so that we can encode empty Lua tables into empty JSON arrays. | |||||
2014-02-18 | updated .gitignore to make it vim friendly. | Yichun Zhang (agentzh) | 1 | -0/+3 | |
2012-03-04 | Add commented PREFIX for Solaris make builds | Mark Pulford | 1 | -1/+2 | |
Add a commented PREFIX to the Solaris build section since Lua is usually installed outside of the default include/link directories. | |||||
2012-03-04 | Use Javascript compat values for Infinity/NaN | Mark Pulford | 4 | -15/+26 | |
Use Javascript compatible values for Infinity/NaN when encoding invalid numbers. | |||||
2012-03-04 | Add release notes for 2.1.0 release2.1.0 | Mark Pulford | 3 | -1/+8 | |
2012-03-04 | Bump version to 2.1devel | Mark Pulford | 7 | -13/+13 | |
2012-03-04 | Work around Solaris make limitations | Mark Pulford | 1 | -5/+8 | |
Remove ?= and := assignment operators from the Makefile since they are not supported by Solaris make. | |||||
2012-03-04 | Work around Solaris awk limitations | Mark Pulford | 1 | -3/+4 | |
Work around Solaris awk limitations: - Limit line lengths to 2500 bytes - Use "count > 0" instead of "count" for test expression | |||||
2012-03-04 | Add cjson.safe module to suppress exceptions | Mark Pulford | 3 | -12/+94 | |
Add cjson.safe module to suppress exceptions during JSON conversions. | |||||
2012-03-04 | Update release date for 2.0.0 to 22 Jan 20122.0.0 | Mark Pulford | 4 | -4/+4 | |
2012-03-04 | Update NEWS for 2.0.0 release | Mark Pulford | 1 | -4/+13 | |
2012-03-04 | Add changelog extra to RPM spec for 2.0.0 | Mark Pulford | 1 | -4/+8 | |
2012-03-04 | Remove ENABLE_CJSON_GLOBAL option | Mark Pulford | 3 | -8/+0 | |
Remove ENABLE_CJSON_GLOBAL option since it is not recommended or necessary and doesn't need to be discussed in the manual. | |||||
2012-03-04 | Escape tilde characters in documentation | Mark Pulford | 2 | -6/+6 | |
2012-03-04 | Update manual for clarity and consistency | Mark Pulford | 1 | -189/+234 | |
2012-03-04 | Update performance documentation for clarity | Mark Pulford | 1 | -24/+44 | |
2012-03-04 | Update LuaRocks/RPM descriptions | Mark Pulford | 2 | -8/+8 | |
2012-03-04 | Force binary file mode in util.lua | Mark Pulford | 1 | -2/+2 | |
Force binary file mode in util.lua to fix the utf8.dat test under Windows. | |||||
2012-03-04 | Reduce length of CMake option descriptions | Mark Pulford | 1 | -3/+2 | |
2012-03-04 | Ignore DISABLE_INVALID_NUMBERS with builtin fpconv | Mark Pulford | 2 | -13/+16 | |
2012-03-04 | Rename USE_INTERNAL_DTOA to USE_INTERNAL_FPCONV | Mark Pulford | 4 | -7/+7 | |
2012-03-04 | Support building packages with version tags >1.x | Mark Pulford | 1 | -2/+2 | |
2012-03-04 | Convert perf results to HTML and update for 2.0.0 | Mark Pulford | 4 | -53/+74 | |
2012-03-04 | Add MULTIPLE_THREADS to Makefile #define list | Mark Pulford | 1 | -1/+3 | |
2012-03-04 | Bump version to 2.0devel | Mark Pulford | 8 | -14/+14 | |
Bump version to 2.0devel due to significant changes and updated API (runtime config not fully backwards compatible). | |||||
2012-03-04 | Simplify string.format() calls | Mark Pulford | 3 | -15/+14 | |
Simply string.format() calls with OO method notation. | |||||
2012-03-04 | Fix runtests.sh after API change and file moves | Mark Pulford | 1 | -5/+5 | |
Fix runtests.sh after: - "util" module moved to lua/cjson - "version" removed | |||||
2012-03-04 | Create separate tests for numbers w/leading zeros | Mark Pulford | 1 | -3/+8 | |
Create separate tests for numbers with leading zeros. This allows the earlier "normal" number test to pass. Also update hexadecimal test to use the "p" exponent format. | |||||
2012-03-04 | Fix string length returned by g_fmt.c for |x|<1 | Mark Pulford | 1 | -0/+1 | |
Fix string length returned by built in fpconv_g_fmt() so it doesn't include the trailing null when converting numbers |x|<1. | |||||
2012-03-04 | Reserve stack slot for luaL_error() during encode | Mark Pulford | 1 | -4/+11 | |
Unlike "decode", encoding leaves both the key/value on the stack before descending. This leaves no spare room for luaL_error() in case the depth check or lua_checkstack() fails. Allocate an extra stack slot to ensure there is always room for luaL_error() in json_check_encode_depth(). Note: this would not have caused a crash or fault due to the EXTRA_STACK slot reserve, but it was a misuse of the Lua C API. | |||||
2012-03-04 | Add an RPM %preun script to remove utf8.dat | Mark Pulford | 1 | -0/+4 | |
Add an RPM %preun script to remove utf8.dat. Otherwise the user generated test file will cause RPM to leave behind the cjson/tests module directories. | |||||
2012-03-04 | Remove deprecated "refuse_invalid_numbers" | Mark Pulford | 2 | -40/+2 | |
Remove deprecated "refuse_invalid_numbers" since the version number will be bumped to 1.1.0. Also remove "version" variable since it has been replaced by _VERSION. | |||||
2012-03-04 | Bump development version to 1.1devel | Mark Pulford | 7 | -13/+13 | |
2012-03-04 | Disable registration of cjson global variable | Mark Pulford | 5 | -14/+9 | |
Disable registration of cjson module table global variable in the default build. Automatically creating a variable in the global namespace can cause issues for other software and is no longer recommended with Lua. | |||||
2012-03-04 | Return boolean values from configuration functions | Mark Pulford | 2 | -16/+19 | |
Return boolean values from configuration functions to simplify usage in the common case. Eg,: if not cjson.encode_invalid_numbers() then .. end | |||||
2012-03-04 | Add CMake option to toggle DISABLE_CJSON_GLOBAL | Mark Pulford | 1 | -0/+5 | |
2012-03-04 | Add depth/index to decode depth error message | Mark Pulford | 2 | -4/+8 | |
Include depth and character index when throwing decode nesting errors. Pre-emptively add a test decoding a massively nested JSON array. Lua stack overflow faults are unlikely to occur on simple data structures. Valgrind can highlight stack allocation bugs with complicated JSON even if the test succeeds. | |||||
2012-03-04 | Fix Lua C function stack overflow during encoding | Mark Pulford | 2 | -7/+21 | |
Ensure there are enough Lua stack slots available before descending into another table during encoding. This fixes a segfault when encoding deeply nested tables. This bug wasn't noticed earlier due to the previous limit of 20 nested tables. | |||||
2012-03-04 | Update archive download URL | Mark Pulford | 2 | -2/+2 | |
2012-03-04 | Recommend genutf8.pl when utf8.dat is missing | Mark Pulford | 1 | -1/+1 | |
2012-03-04 | Add "throw error" to test descriptions | Mark Pulford | 1 | -41/+41 | |
Add "throw error" to descriptions for tests which are intended to generate errors. | |||||
2012-03-04 | Test config API errors and setting configuration | Mark Pulford | 1 | -28/+66 | |
- Update comments - Use enumerated return values - Test various configuration API errors - Test resetting configuration to default | |||||
2012-03-04 | Tidy tests and improve coverage | Mark Pulford | 2 | -85/+113 | |
- Rearrange test sections to keep more related tests together. - Test configuration functions for errors Add tests for more parts of the Lua CJSON API: - _NAME, _VERSION, version - encode_keep_buffer - encode_number_precision - decode_invalid_numbers - decode_max_depth | |||||
2012-03-04 | Place nested data structure inline with tests | Mark Pulford | 1 | -4/+2 | |
Make the tests more explicit, the nested data structure doesn't need to be generated in advance. | |||||
2012-03-04 | Gather all test data into a table | Mark Pulford | 1 | -20/+32 | |
Move all test data into a single data to tidy the main namespace. |