aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bumped version to 2.1.0.10. (#79)2.1.0.10rc12.1.0.10Johnny Wang2021-12-103-4/+4
|
* bugfix: fixed bugs suspected by cppcheck: shift signed 32-bit value by 31 ↵Johnny Wang2021-10-191-3/+7
| | | | | | | | | bits and uninitialized variable. (#76) [dtoa.c:2453] -> [dtoa.c:2454]: (warning) Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 2453. [dtoa.c:2846]: (error) Uninitialized variable: bb [dtoa.c:2847]: (error) Uninitialized variable: bd [dtoa.c:2848]: (error) Uninitialized variable: bs [dtoa.c:2850]: (error) Uninitialized variable: delta
* bugfix: fixed a possible division by zero bugs found by cppcheck. (#75)Johnny Wang2021-10-181-1/+1
|
* doc: minor tweak in README.md (#71)ali-ghazi782021-09-231-1/+1
|
* travis-ci: remove clang compiler mode from travis to save credits. (#72)Johnny Wang2021-07-081-1/+0
|
* bump version to 2.1.0.92.1.0.9leaf corcoran2021-02-153-4/+4
|
* Update CI (#68)leaf2021-01-081-2/+3
| | | | | * update luarocks action * apt-get update * run tests on pull request as well
* added -g by default.Yichun Zhang (agentzh)2020-07-091-1/+1
|
* write sort_json, use it on perl tests to prevent hash table ordering failuresleaf corcoran2020-04-252-5/+69
|
* run with gcc and clangleaf corcoran2020-04-251-1/+9
|
* ignore dtoa.c for cppcheck, don't share lua headers (breaks due to define)leaf corcoran2020-04-251-1/+1
|
* bring cppcheck backleaf corcoran2020-04-251-1/+4
|
* attempt to run openresty perl testsleaf corcoran2020-04-252-3/+16
|
* cmake doesn't support finding luajit, so skip itleaf corcoran2020-04-252-12/+20
|
* attempting to fix luajit cmake buildleaf corcoran2020-04-251-1/+1
|
* use different header path for luajit make buildsleaf corcoran2020-04-251-1/+6
|
* support error message testing for modern versions of lualeaf corcoran2020-04-251-12/+56
|
* add one_of testing to avoid hash table ordering causing test to failleaf corcoran2020-04-252-3/+33
|
* make tests fail when they failleaf corcoran2020-04-251-2/+2
|
* tell cmake where lua isleaf corcoran2020-04-251-1/+1
|
* use local lua for makefile buildleaf corcoran2020-04-252-2/+2
|
* build after tests, so tests can do their own build testleaf corcoran2020-04-251-3/+4
|
* fail if tests are blockedleaf corcoran2020-04-251-1/+1
|
* see what happens if we run tests on github actionsleaf corcoran2020-04-251-0/+29
|
* use macro instead of header defines for Lua 5.2+ supportleaf corcoran2020-04-251-4/+4
|
* Lua 5.2+ maxn supportleaf corcoran2020-04-251-1/+11
|
* Lua 5.2+ unpack supportleaf corcoran2020-04-251-0/+2
|
* support lua 5.3 with LUA_COMPAT_5_1leaf corcoran2020-04-251-0/+1
|
* support lua 5.2 with LUA_COMPAT_ALLleaf corcoran2020-04-251-0/+3
|
* feature: add option to disable forward slash escaping2.1.0.8rc12.1.0.8Jesper Lundgren2020-03-243-0/+50
| | | | Thanks @spacewander for optimization and documentation.
* bugfix: we now only apply the lightuserdata mask on platforms that are at ↵2.1.0.7rc22.1.0.7罗泽轩2018-12-071-0/+5
| | | | least 64bits.
* feature: ported to the ARM64 platform by masking off the bits higher than ↵2.1.0.7rc1spacewander2018-10-171-9/+14
| | | | | | 47-bit in the lightud. Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
* luarocks: bumped version to 2.1.0.6.WenMing2018-04-261-2/+3
| | | | Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
* bumped version to 2.1.0.6.2.1.0.6Yichun Zhang (agentzh)2018-04-192-2/+2
|
* optimize: improved forward-compatibility with older versions of Lua/LuaJIT.Thibault Charbonnier2018-01-021-6/+9
| | | | Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
* bugfix: fixed the C compiler warning "SO C90 forbids mixed declarations and ↵2.1.0.6rc2Yichun Zhang (agentzh)2017-11-171-2/+3
| | | | code" on older operating systems.
* feature: set cjson.array_mt on decoded JSON arrays.2.1.0.6rc1Thibault Charbonnier2017-11-173-6/+113
| | | | | | | this can be turned on via cjson.decode_array_with_array_mt(true). off by default. Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
* feature: added new cjson.array_mt metatable to allow enforcing JSON array ↵Thibault Charbonnier2017-11-153-21/+155
| | | | | | encoding. Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
* travis: skipped the std lua 5.1 interpreter tests.Yichun Zhang (agentzh)2017-11-151-1/+1
|
* tests: now we use luajit to run the test suite.Yichun Zhang (agentzh)2017-11-154-5/+12
|
* travis-ci: run LuaJIT tests against openresty/luajit2 -b v2.1-agentzh.Thibault Charbonnier2017-05-291-5/+20
| | | | Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
* bugfix: fixed a -Wsign-compare compiler warning.gnought2017-04-101-1/+1
| | | | Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
* bugfix: conditionally build luaL_setfuncs() function as the latest LuaJIT ↵2.1.0.5Datong Sun2017-04-051-2/+3
| | | | v2.1 already includes it. fixes #21.
* feature: supports MS C compiler older than VC2012.spacewander2017-01-314-1/+22
| | | | Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
* bugfix: preserve 'empty_array_mt' behavior upon multiple loadings of the module.Thibault Charbonnier2016-12-172-5/+40
| | | | | | | | | | | | | Prior to this fix, when the module would be loaded several times (by-passing `package.loaded`), the `lua_cjson_new` function would override the `empty_array_mt` table in the registry with a new one. Comparison for equality between those tables would then fail, and the behavior would be broken. This was discovered after loading `cjson` *and* `cjson.safe` in the same application, resulting in two calls to `lua_cjson_new`. Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
* chore: ignored the generated test_case.lua file.Thibault Charbonnier2016-12-171-0/+1
| | | | Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
* bugfix: fixed compilation errors from the Microsoft C compiler.Tim Chen2016-11-061-0/+6
| | | | Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
* Merge pull request #13 from chipitsine/masterYichun Zhang2016-10-111-4/+6
|\ | | | | travis-ci: bugfix, now we fail on either test
| * travis-ci: bugfix, now we fail on either testIlya Shipitsin2016-10-101-4/+6
|/
* Merge pull request #10 from chipitsine/masterYichun Zhang2016-10-071-3/+12
|\ | | | | travis-ci: move package management to "apt" plugin