Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use Javascript compat values for Infinity/NaN | Mark Pulford | 2012-03-04 | 1 | -4/+5 |
| | | | | | Use Javascript compatible values for Infinity/NaN when encoding invalid numbers. | ||||
* | Add release notes for 2.1.0 release2.1.0 | Mark Pulford | 2012-03-04 | 1 | -1/+1 |
| | |||||
* | Bump version to 2.1devel | Mark Pulford | 2012-03-04 | 1 | -4/+4 |
| | |||||
* | Add cjson.safe module to suppress exceptions | Mark Pulford | 2012-03-04 | 1 | -12/+22 |
| | | | | Add cjson.safe module to suppress exceptions during JSON conversions. | ||||
* | Update release date for 2.0.0 to 22 Jan 20122.0.0 | Mark Pulford | 2012-03-04 | 1 | -1/+1 |
| | |||||
* | Remove ENABLE_CJSON_GLOBAL option | Mark Pulford | 2012-03-04 | 1 | -2/+0 |
| | | | | | Remove ENABLE_CJSON_GLOBAL option since it is not recommended or necessary and doesn't need to be discussed in the manual. | ||||
* | Escape tilde characters in documentation | Mark Pulford | 2012-03-04 | 1 | -5/+5 |
| | |||||
* | Update manual for clarity and consistency | Mark Pulford | 2012-03-04 | 1 | -189/+234 |
| | |||||
* | Ignore DISABLE_INVALID_NUMBERS with builtin fpconv | Mark Pulford | 2012-03-04 | 1 | -1/+2 |
| | |||||
* | Rename USE_INTERNAL_DTOA to USE_INTERNAL_FPCONV | Mark Pulford | 2012-03-04 | 1 | -1/+1 |
| | |||||
* | Bump version to 2.0devel | Mark Pulford | 2012-03-04 | 1 | -4/+4 |
| | | | | | Bump version to 2.0devel due to significant changes and updated API (runtime config not fully backwards compatible). | ||||
* | Bump development version to 1.1devel | Mark Pulford | 2012-03-04 | 1 | -4/+4 |
| | |||||
* | Disable registration of cjson global variable | Mark Pulford | 2012-03-04 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | Use Lua CJSON instead of CJSON in documentation | Mark Pulford | 2012-03-04 | 1 | -3/+3 |
| | |||||
* | Change default nesting limits to 1000 | Mark Pulford | 2012-03-04 | 1 | -3/+3 |
| | | | | | Increase the default nesting limits to reduce the chance of accidently throwing an error on valid JSON out of the box. | ||||
* | Add option to encode invalid numbers as "null" | Mark Pulford | 2012-03-04 | 1 | -39/+57 |
| | | | | | Deprecate and replace refuse_invalid_numbers() with encode_invalid_numbers() and decode_invalid_numbers(). | ||||
* | Add configurable decode nesting limit | Mark Pulford | 2012-03-04 | 1 | -0/+26 |
| | | | | | | | | | | | Lua 5.2 is able to extend the Lua stack much further than earlier versions. Recent testing shows it is possible for Lua CJSON to hit the process stack limit and segfault. Add a configurable JSON object/array nesting limit to prevent running out of process stack space. The current limit is 20 (same as encode). Add decode_max_depth() configuration function. | ||||
* | Fix typo in manual | Mark Pulford | 2012-03-04 | 1 | -2/+2 |
| | |||||
* | Document dtoa build options | Mark Pulford | 2012-03-04 | 1 | -0/+16 |
| | |||||
* | Fix typos (lists, hexadecimal) | Mark Pulford | 2012-01-02 | 1 | -7/+7 |
| | |||||
* | Update all package descriptions for consistency | Mark Pulford | 2012-01-02 | 1 | -4/+5 |
| | |||||
* | Add build option to disable invalid numbers | Mark Pulford | 2012-01-01 | 1 | -9/+12 |
| | | | | | Windows MinGW doesn't convert Infinity/NaN/hexadecimal numbers. Add DISABLE_INVALID_NUMBERS build option option to disable invalid numbers. | ||||
* | Sanitise locale code, comments and documentation | Mark Pulford | 2012-01-01 | 1 | -8/+20 |
| | |||||
* | Add support for Lua 5.2 and cjson.new | Mark Pulford | 2011-12-30 | 1 | -14/+47 |
| | | | | | | | | | | | | | | Update all Lua scripts to use new module init style everywhere: local json = require "cjson" Lua CJSON does not register a global table under Lua 5.2. The global table can be disabled under Lua 5.1 with DISABLE_CJSON_GLOBAL. Other changes: - Store CJSON configuration as an upvalue for each function. - Add "cjson.new" function to create another module table with a separate configuration. - Add _NAME and _VERSION variables. | ||||
* | Remove POSIX locale workaround | Mark Pulford | 2011-12-29 | 1 | -14/+0 |
| | |||||
* | Clarify optional args and return values | Mark Pulford | 2011-12-20 | 1 | -0/+15 |
| | |||||
* | Remove cjson prefix from function headings | Mark Pulford | 2011-12-20 | 1 | -18/+18 |
| | |||||
* | Add UTF-8 caution to manual (and misc changes) | Mark Pulford | 2011-12-20 | 1 | -10/+24 |
| | |||||
* | Update manual (various minor improvements) | Mark Pulford | 2011-12-15 | 1 | -84/+79 |
| | | | | | | | - Fix typo (keep_encode_buffer -> encode_keep_buffer) - Update for consistency - Remove duplicate sparse table example - Change manual to use horizontal item lists | ||||
* | Add CMake build documentation | Mark Pulford | 2011-12-15 | 1 | -7/+26 |
| | |||||
* | Update examples in documentation | Mark Pulford | 2011-12-15 | 1 | -32/+16 |
| | | | | | - Remove block quotes - Add titles | ||||
* | Rewrite cjson.encode_sparse_array documentation | Mark Pulford | 2011-12-15 | 1 | -29/+25 |
| | |||||
* | Clean up build options documentation in manual | Mark Pulford | 2011-12-15 | 1 | -8/+7 |
| | |||||
* | Automate package releases with build-packages.sh | Mark Pulford | 2011-12-15 | 1 | -5/+4 |
| | | | | | | build-packages.sh has several advantages: - Automatically bumps version numbers - Builds HTML documentation on the fly | ||||
* | Remove quirks section from manual | Mark Pulford | 2011-12-14 | 1 | -74/+55 |
| | | | | | | | | Merge quirks section into: - Build overview (locales) - API docs Add API section for variables. | ||||
* | Order API functions in manual alphabetically | Mark Pulford | 2011-12-13 | 1 | -81/+81 |
| | |||||
* | Convert documentation to AsciiDoc | Mark Pulford | 2011-12-12 | 1 | -0/+460 |
- Rename README to manual.txt and add AsciiDoc markup - Rewrite some sections of documentation (more outstanding) - Add "doc" Makefile target - Update RPM spec file to include HTML output |