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c1, 3.0.6, 2.8.24, 3.0.5, 2.8.23, 2.8.22, 3.0.4, 3.0.3, 3.0.2, 2.8.21, 2.8.20, 3.0.1, 3.0.0, 3.0.0-rc6, 3.0.0-rc5, 3.0.0-rc4, 3.0.0-rc3, 3.0.0-rc2, 2.8.19, 2.8.18, 3.0.0-rc1, 2.8.17, 2.8.16, 2.8.15, 2.8.14, 3.0.0-beta8, 2.8.13, 3.0.0-beta7, 2.8.12, 2.8.11, 3.0.0-beta6, 2.8.10, 3.0.0-beta5, 3.0.0-beta4, 3.0.0-beta3, 2.8.9 |
|
| #
4fdcd213 |
| 04-Apr-2014 |
Matt Stancliff <[email protected]> |
Lua: Upgrade cjson to 2.1.0 (2012-03-01)
The new cjson has some improvements over our current version including increased platform compatability, a new resource limit to restrict decode depth, and b
Lua: Upgrade cjson to 2.1.0 (2012-03-01)
The new cjson has some improvements over our current version including increased platform compatability, a new resource limit to restrict decode depth, and better invalid number handling.
One minor change was required to deps/Makefile because this version of cjson doesn't export itself globally, so we added a quick little define of -DENABLE_CJSON_GLOBAL.
cjson now has an optional higher performing float parsing interface, but we are not including it (g_fmt.c, dtoa.c) because it requires endianness declaration during compile time.
This commit is exactly lua_cjson.c from 2.1.0 with one minor change of altering the two Lua includes for local search instead of system-wide importing.
show more ...
|
| #
3fecb961 |
| 04-Apr-2014 |
Matt Stancliff <[email protected]> |
Lua: Add bitop
A few people have written custom C commands because bit manipulation isn't exposed through Lua. Let's give them Mike Pall's bitop.
This adds bitop 1.0.2 (2012-05-08) from http://bit
Lua: Add bitop
A few people have written custom C commands because bit manipulation isn't exposed through Lua. Let's give them Mike Pall's bitop.
This adds bitop 1.0.2 (2012-05-08) from http://bitop.luajit.org/
bitop is imported as "bit" into the global namespace.
New Lua commands: bit.tobit, bit.tohex, bit.bnot, bit.band, bit.bor, bit.bxor, bit.lshift, bit.rshift, bit.arshift, bit.rol, bit.ror, bit.bswap
Verification of working (the asserts would abort on error, so (nil) is correct): 127.0.0.1:6379> eval "assert(bit.tobit(1) == 1); assert(bit.band(1) == 1); assert(bit.bxor(1,2) == 3); assert(bit.bor(1,2,4,8,16,32,64,128) == 255)" 0 (nil) 127.0.0.1:6379> eval 'assert(0x7fffffff == 2147483647, "broken hex literals"); assert(0xffffffff == -1 or 0xffffffff == 2^32-1, "broken hex literals"); assert(tostring(-1) == "-1", "broken tostring()"); assert(tostring(0xffffffff) == "-1" or tostring(0xffffffff) == "4294967295", "broken tostring()")' 0 (nil)
Tests also integrated into the scripting tests and can be run with: ./runtest --single unit/scripting
Tests are excerpted from `bittest.lua` included in the bitop distribution.
show more ...
|
|
Revision tags: 2.8.8, 3.0.0-beta2, 2.8.7, 2.8.6, 3.0.0-beta1, 2.8.5, 2.8.4, 2.6.17, 2.8.3, 2.8.2, 2.8.1, 2.8.0, 2.8.0-rc6, 2.8.0-rc5, 2.8.0-rc4, 2.6.16, 2.6.15, 2.8.0-rc3, 2.8.0-rc2, 2.8.0-rc1, 2.6.14-2, 2.6.14-1, 2.6.14, 2.6.13 |
|
| #
214adc50 |
| 29-Apr-2013 |
antirez <[email protected]> |
Lua updated to version 5.1.5.
|
|
Revision tags: 2.6.12, 2.6.10-3, 2.6.10-2 |
|
| #
a6619562 |
| 16-Mar-2013 |
Johan Bergström <[email protected]> |
Inherit CC for Lua
|
|
Revision tags: 2.6.11, 2.6.10-1, 2.6.10, 2.6.9-1, 2.6.9, 2.6.8-1, 2.6.8, 2.6.7-1, 2.6.7, 2.6.6, 2.4.18, 2.6.5, 2.6.4, 2.6.3, 2.6.2, 2.6.1, 2.6.0, 2.6.0-rc8, 2.6.0-rc7, 2.4.17, 2.6.0-rc6, 2.4.16, 2.4.15, 2.6.0-rc5, 2.6.0-rc4, 2.4.14, 2.6.0-rc3, 2.6.0-rc2, 2.4.13, 2.4.12, 2.6.0-rc1, 2.4.11, 2.4.10, 2.4.9 |
|
| #
63505e0b |
| 24-Feb-2012 |
antirez <[email protected]> |
Lua_cmsgpack added to Redis scripting.
|
|
Revision tags: 2.4.8 |
|
| #
2f75bbab |
| 13-Feb-2012 |
lsbardel <[email protected]> |
added lua struct c extension
|
|
Revision tags: 2.4.7, 2.4.6, 2.4.5, 2.4.4, 2.4.3 |
|
| #
b28d0461 |
| 08-Nov-2011 |
antirez <[email protected]> |
32bit build fixed, broken by a previous commit fixing build on Solaris
|
|
Revision tags: 2.4.2 |
|
| #
15108778 |
| 19-Oct-2011 |
antirez <[email protected]> |
JSON support for Lua scripting, based on work from @lp, thanks!. We are using the good and fast cjson by Mark Pulford.
|
|
Revision tags: 2.2.15, 2.4.1, 2.4.0, 2.2.14, 2.4.0-rc8, 2.2.13, 2.4.0-rc7, 2.4.0-rc6, 2.4.0-rc5, 2.4.0-rc4, 2.2.12, 2.4.0-rc3, with-deprecated-diskstore, 2.2.111-scripting, 2.2.11, 2.2.110-scripting, 2.2.10, 2.2.9, 2.4.0-rc2, 2.4.0-rc1, 2.2.8, 2.2.107-scripting, 2.2.7, 2.2.106-scripting, 2.2.6, 2.2.105-scripting |
|
| #
21d3294c |
| 30-Apr-2011 |
antirez <[email protected]> |
makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system
|