Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpx/lua-cjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-25Add README.adoc for GithubHEADmasterMark Pulford
2016-08-25Update manualMark Pulford
2016-08-25Make sparse array test immune to table hash orderMark Pulford
The table hash function was changed in Lua 5.3 which swapped the JSON object output order for the sparse array test. Ignore ordering altogether by checking the JSON output type instead.
2016-08-25Update cjson.util to workaround missing "unpack"Mark Pulford
2016-08-25Remove old TODO itemMark Pulford
2016-08-25Suppress test data generation warningsMark Pulford
Modern versions of Perl generate warnings, but the unit tests are currently designed to also test against the invalid UTF-8 characters.
2016-08-24Use more common adoc extension for AsciiDocMark Pulford
2016-08-24CJSON_EXPORT for msvcichenq
2016-08-24Work around MSVC's C99 supportichenq
inline ==> __inline snprintf ==> _snprintf strncasecmp ==> _strnicmp
2016-08-24Bump default Lua version in MakefileMark Pulford
2016-08-24Add development TODOMark Pulford
2016-04-13Fix build with g++Mark Pulford
- Add explicit casts for functions returning void* - Rename "try" variable to avoid reserved C++ keyword
2016-04-12Fix minor linking/typo faults in documentationMark Pulford
2016-04-12Fix clang undefined-inline warningMark Pulford
Fixes #28.
2012-03-04Add commented PREFIX for Solaris make buildsMark Pulford
Add a commented PREFIX to the Solaris build section since Lua is usually installed outside of the default include/link directories.
2012-03-04Use Javascript compat values for Infinity/NaNMark Pulford
Use Javascript compatible values for Infinity/NaN when encoding invalid numbers.
2012-03-04Add release notes for 2.1.0 release2.1.0Mark Pulford
2012-03-04Bump version to 2.1develMark Pulford
2012-03-04Work around Solaris make limitationsMark Pulford
Remove ?= and := assignment operators from the Makefile since they are not supported by Solaris make.
2012-03-04Work around Solaris awk limitationsMark Pulford
Work around Solaris awk limitations: - Limit line lengths to 2500 bytes - Use "count > 0" instead of "count" for test expression
2012-03-04Add cjson.safe module to suppress exceptionsMark Pulford
Add cjson.safe module to suppress exceptions during JSON conversions.
2012-03-04Update release date for 2.0.0 to 22 Jan 20122.0.0Mark Pulford
2012-03-04Update NEWS for 2.0.0 releaseMark Pulford
2012-03-04Add changelog extra to RPM spec for 2.0.0Mark Pulford
2012-03-04Remove ENABLE_CJSON_GLOBAL optionMark Pulford
Remove ENABLE_CJSON_GLOBAL option since it is not recommended or necessary and doesn't need to be discussed in the manual.
2012-03-04Escape tilde characters in documentationMark Pulford
2012-03-04Update manual for clarity and consistencyMark Pulford
2012-03-04Update performance documentation for clarityMark Pulford
2012-03-04Update LuaRocks/RPM descriptionsMark Pulford
2012-03-04Force binary file mode in util.luaMark Pulford
Force binary file mode in util.lua to fix the utf8.dat test under Windows.
2012-03-04Reduce length of CMake option descriptionsMark Pulford
2012-03-04Ignore DISABLE_INVALID_NUMBERS with builtin fpconvMark Pulford
2012-03-04Rename USE_INTERNAL_DTOA to USE_INTERNAL_FPCONVMark Pulford
2012-03-04Support building packages with version tags >1.xMark Pulford
2012-03-04Convert perf results to HTML and update for 2.0.0Mark Pulford
2012-03-04Add MULTIPLE_THREADS to Makefile #define listMark Pulford
2012-03-04Bump version to 2.0develMark Pulford
Bump version to 2.0devel due to significant changes and updated API (runtime config not fully backwards compatible).
2012-03-04Simplify string.format() callsMark Pulford
Simply string.format() calls with OO method notation.
2012-03-04Fix runtests.sh after API change and file movesMark Pulford
Fix runtests.sh after: - "util" module moved to lua/cjson - "version" removed
2012-03-04Create separate tests for numbers w/leading zerosMark Pulford
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-04Fix string length returned by g_fmt.c for |x|<1Mark Pulford
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-04Reserve stack slot for luaL_error() during encodeMark Pulford
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-04Add an RPM %preun script to remove utf8.datMark Pulford
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-04Remove deprecated "refuse_invalid_numbers"Mark Pulford
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-04Bump development version to 1.1develMark Pulford
2012-03-04Disable registration of cjson global variableMark Pulford
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-04Return boolean values from configuration functionsMark Pulford
Return boolean values from configuration functions to simplify usage in the common case. Eg,: if not cjson.encode_invalid_numbers() then .. end
2012-03-04Add CMake option to toggle DISABLE_CJSON_GLOBALMark Pulford
2012-03-04Add depth/index to decode depth error messageMark Pulford
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-04Fix Lua C function stack overflow during encodingMark Pulford
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.