aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add automatic RPM build testingMark Pulford2011-12-131-1/+17
| |
* | Fix RPM buildMark Pulford2011-12-131-2/+2
| | | | | | | | | | Previously the the RPM build would overwrite CJSON_CFLAGS but didn't provide the necessary default CFLAGS (-fpic -DVERSION ..).
* | Convert documentation to AsciiDocMark Pulford2011-12-125-330/+468
| | | | | | | | | | | | | | - 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
* | Fix Makefile for use with non-GNU makeMark Pulford2011-12-085-36/+38
| | | | | | | | | | | | | | | | | | | | | | | | - Remove GNU make "override" statements. - Add OBJS variable since there is no portable way to specify all targets for linking. Also: - Put build defaults at the top to avoid potential confusion. - Don't assume a Linux platform. Default to USE_POSIX_SETLOCALE. - Change "install -d" to mkdir/install since the former isn't available on some platforms (Solaris).
* | Silence genutf8.pl warnings across Perl versionsMark Pulford2011-12-081-14/+5
| | | | | | | | | | | | | | - Use Perl filehandles directly since IO::Handle generates unicode warnings that can't be silenced. - Disable all warnings since the specific "nonchar" warning only exists in newer versions.
* | Update NEWS for 1.0.4 release1.0.4Mark Pulford2011-11-301-2/+2
| |
* | Add automated build testing (LuaRocks, Makefile)Mark Pulford2011-11-292-1/+46
| |
* | Add workaround to handle platforms that print -nanMark Pulford2011-11-292-10/+11
| |
* | Remove unused escape table init codeMark Pulford2011-11-291-26/+0
| |
* | Suppress isinf() define when it already existsMark Pulford2011-11-291-2/+2
| |
* | Add platform specific overrides to rockspecMark Pulford2011-11-292-1/+21
| | | | | | | | | | Luarocks does not support a "solaris" platform - USE_INTERNAL_ISINF must stay commented.
* | Add common platform defaults/overrides to MakefileMark Pulford2011-11-291-19/+19
| |
* | Improve README documentation (minor)Mark Pulford2011-11-291-11/+10
| |
* | Improve build documentation and layoutMark Pulford2011-11-293-25/+40
| |
* | Update version to 1.0.4Mark Pulford2011-11-274-8/+11
| |
* | Update THANKS for locale bug reporterMark Pulford2011-11-271-0/+1
| |
* | Add USE_POSIX_SETLOCALE optionMark Pulford2011-10-075-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).
* | Rename MISSING_ISINF to USE_INTERNAL_ISINFMark Pulford2011-10-074-5/+8
| |
* | Support locales which use comma decimal separatorsMark Pulford2011-10-055-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.
* | Fix out of date comment (json_config_key)Mark Pulford2011-10-051-1/+1
| |
* | Add release notes for 1.0.31.0.3Mark Pulford2011-09-152-1/+5
| | | | | | | | Also update release date in RPM spec file.
* | Add limitations section to documentationMark Pulford2011-09-151-35/+89
| | | | | | | | Improve text for clarity.
* | Update comment to match docs (very -> excessively)Mark Pulford2011-09-151-1/+1
| |
* | Update TODOMark Pulford2011-08-181-7/+1
| |
* | Added THANKS fileMark Pulford2011-08-122-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 SolarisMark Pulford2011-08-113-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.3Mark Pulford2011-08-104-8/+11
| |
* | Fix detection of objects with numeric string keysMark Pulford2011-08-102-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.gzMark Pulford2011-06-211-1/+1
| |
* | Simplify RPM package description1.0.2Mark Pulford2011-05-291-3/+2
| |
* | Update performance.txt for 1.0.2Mark Pulford2011-05-291-34/+43
| |
* | Use a benchmark duration, not interation countMark Pulford2011-05-291-2/+12
| | | | | | | | | | Roughly calculate the number of iterations required to run the benchmark for the chosen duration.
* | Update TODOMark Pulford2011-05-291-2/+8
| |
* | Document building via LuaRocksMark Pulford2011-05-291-4/+26
| |
* | Add trivial types.json exampleMark Pulford2011-05-292-0/+3
| |
* | Display CJSON library version when testingMark Pulford2011-05-291-1/+3
| |
* | Update version to 1.0.2Mark Pulford2011-05-295-9/+23
| |
* | Add support for runtime number precision configMark Pulford2011-05-295-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 LuaRocksMark Pulford2011-05-292-1/+3
| | | | | | | | Windows has poor support for "tar.gz", but all platforms support "zip".
* | Change version number for developmentMark Pulford2011-05-162-2/+2
| |
* | Test module with invalid numbers enabledMark Pulford2011-05-161-2/+1
| |
* | Add support for stdin to encode.lua/decode.luaMark Pulford2011-05-163-20/+42
| |
* | Use Perl builtin UTF-8 support, not Text::IconvMark Pulford2011-05-161-7/+13
| | | | | | | | Remove Perl dependency on Text::Iconv to improve portability.
* | Move all benchmark code into bench.luaMark Pulford2011-05-162-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 examplesMark Pulford2011-05-162-8/+4
| |
* | Add command line encode/decode utilitiesMark Pulford2011-05-162-0/+37
| |
* | Warn that a failed NaN test may not be an errorMark Pulford2011-05-162-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 LuaRocksMark Pulford2011-05-152-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.1Mark Pulford2011-05-106-20/+20
| |
* | Add stack overflow fix to NEWSMark Pulford2011-05-101-1/+2
| |