<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua-cjson/tests, branch 1.0.4</title>
<subtitle>A mirror of https://github.com/openresty/lua-cjson
</subtitle>
<id>https://git.lua4.win/lua-cjson/atom?h=1.0.4</id>
<link rel='self' href='https://git.lua4.win/lua-cjson/atom?h=1.0.4'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/'/>
<updated>2011-11-29T12:25:54+00:00</updated>
<entry>
<title>Add automated build testing (LuaRocks, Makefile)</title>
<updated>2011-11-29T12:25:54+00:00</updated>
<author>
<name>Mark Pulford</name>
<email>mark@kyne.com.au</email>
</author>
<published>2011-11-29T12:25:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=a5f6b3e2f9ed7eb6788bf6568c31746185bcfa86'/>
<id>urn:sha1:a5f6b3e2f9ed7eb6788bf6568c31746185bcfa86</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add workaround to handle platforms that print -nan</title>
<updated>2011-11-29T12:17:35+00:00</updated>
<author>
<name>Mark Pulford</name>
<email>mark@kyne.com.au</email>
</author>
<published>2011-11-29T12:17:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=630bb3f16f27c72e3fc2daf3161c96f0fd9c1ba0'/>
<id>urn:sha1:630bb3f16f27c72e3fc2daf3161c96f0fd9c1ba0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support locales which use comma decimal separators</title>
<updated>2011-10-05T13:00:27+00:00</updated>
<author>
<name>Mark Pulford</name>
<email>mark@kyne.com.au</email>
</author>
<published>2011-10-05T13:00:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=0f3ab84a261292d16f684551e67f2f007199936a'/>
<id>urn:sha1:0f3ab84a261292d16f684551e67f2f007199936a</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Fix detection of objects with numeric string keys</title>
<updated>2011-08-10T10:09:52+00:00</updated>
<author>
<name>Mark Pulford</name>
<email>mark@kyne.com.au</email>
</author>
<published>2011-08-10T10:09:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=386fdad6820fefa77355ed330f3072a5e2a4bd3e'/>
<id>urn:sha1:386fdad6820fefa77355ed330f3072a5e2a4bd3e</id>
<content type='text'>
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 &lt;agentzh@gmail.com&gt;
</content>
</entry>
<entry>
<title>Use a benchmark duration, not interation count</title>
<updated>2011-05-29T12:56:12+00:00</updated>
<author>
<name>Mark Pulford</name>
<email>mark@kyne.com.au</email>
</author>
<published>2011-05-29T12:56:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=7e95a594465453f77b7c9449a3a486771e174111'/>
<id>urn:sha1:7e95a594465453f77b7c9449a3a486771e174111</id>
<content type='text'>
Roughly calculate the number of iterations required to run the benchmark
for the chosen duration.
</content>
</entry>
<entry>
<title>Add trivial types.json example</title>
<updated>2011-05-29T08:35:39+00:00</updated>
<author>
<name>Mark Pulford</name>
<email>mark@kyne.com.au</email>
</author>
<published>2011-05-29T08:35:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=9d7bd06ad57832cfe6bba22acc7d7b8c74cdf8b8'/>
<id>urn:sha1:9d7bd06ad57832cfe6bba22acc7d7b8c74cdf8b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Display CJSON library version when testing</title>
<updated>2011-05-29T07:10:04+00:00</updated>
<author>
<name>Mark Pulford</name>
<email>mark@kyne.com.au</email>
</author>
<published>2011-05-29T07:10:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=582ea61b9e4452426753272d921651681a1c8937'/>
<id>urn:sha1:582ea61b9e4452426753272d921651681a1c8937</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add support for runtime number precision config</title>
<updated>2011-05-29T08:33:22+00:00</updated>
<author>
<name>Mark Pulford</name>
<email>mark@kyne.com.au</email>
</author>
<published>2011-05-29T08:33:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=3d1c5e19f45cf484774926ba6e2555d1c8e4c39b'/>
<id>urn:sha1:3d1c5e19f45cf484774926ba6e2555d1c8e4c39b</id>
<content type='text'>
Add cjson.encode_number_precision(). Reducing the number precision from
14 to 3 can increase performance up to 50% with number heavy
conversions.
</content>
</entry>
<entry>
<title>Test module with invalid numbers enabled</title>
<updated>2011-05-16T10:20:39+00:00</updated>
<author>
<name>Mark Pulford</name>
<email>mark@kyne.com.au</email>
</author>
<published>2011-05-16T10:20:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=bada0994dbe5f131964d7feb571478d0dd3974a5'/>
<id>urn:sha1:bada0994dbe5f131964d7feb571478d0dd3974a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add support for stdin to encode.lua/decode.lua</title>
<updated>2011-05-16T10:16:05+00:00</updated>
<author>
<name>Mark Pulford</name>
<email>mark@kyne.com.au</email>
</author>
<published>2011-05-16T10:16:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=6ba7499ac5992c8cc849ffcbd6d2837d305f5b63'/>
<id>urn:sha1:6ba7499ac5992c8cc849ffcbd6d2837d305f5b63</id>
<content type='text'>
</content>
</entry>
</feed>
