aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Generate git tag based version number for packagesMark Pulford2011-12-261-20/+10
|
* Fix typo in lua_cjson.cMark Pulford2011-12-241-1/+1
|
* Clarify optional args and return valuesMark Pulford2011-12-201-0/+15
|
* Add original JSON parser design outlineMark Pulford2011-12-201-0/+50
|
* Add .gitignore for object files, html, extra dirsMark Pulford2011-12-202-0/+9
|
* Remove cjson prefix from function headingsMark Pulford2011-12-201-18/+18
|
* Add UTF-8 caution to manual (and misc changes)Mark Pulford2011-12-201-10/+24
|
* Update manual (various minor improvements)Mark Pulford2011-12-151-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 documentationMark Pulford2011-12-151-7/+26
|
* Remove TODO from releasesMark Pulford2011-12-153-5/+2
|
* Update examples in documentationMark Pulford2011-12-151-32/+16
| | | | | - Remove block quotes - Add titles
* Rewrite cjson.encode_sparse_array documentationMark Pulford2011-12-151-29/+25
|
* Clean up build options documentation in manualMark Pulford2011-12-151-8/+7
|
* Automate package releases with build-packages.shMark Pulford2011-12-158-29/+82
| | | | | | build-packages.sh has several advantages: - Automatically bumps version numbers - Builds HTML documentation on the fly
* Remove quirks section from manualMark Pulford2011-12-141-74/+55
| | | | | | | | Merge quirks section into: - Build overview (locales) - API docs Add API section for variables.
* Add support for building via CMakeMark Pulford2011-12-132-0/+57
|
* Update build testing to show test counts/failuresMark Pulford2011-12-133-7/+28
| | | | | Display failed tests, and successful/total test counts. Use "awk" to provide a portable "ggrep -E" with context.
* Order API functions in manual alphabeticallyMark Pulford2011-12-131-81/+81
|
* Remove external VERSION #define for lua_cjson.cMark Pulford2011-12-133-5/+9
| | | | | The external #define complicates compilation but is only used in lua_cjson.c and Makefile.
* Ensure build tests only use the current cjson.soMark Pulford2011-12-131-6/+13
| | | | Update runtests.sh to exit if an old copy of cjson.so is found.
* 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
|