1. 14 Nov, 2014 1 commit
    • Matt Stancliff's avatar
      Lua: Add bitop · 1e501d9f
      Matt Stancliff authored
      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.
      1e501d9f
  2. 06 Oct, 2014 3 commits
  3. 22 Sep, 2014 1 commit
  4. 19 Sep, 2014 1 commit
  5. 27 Aug, 2014 5 commits
  6. 23 Jun, 2014 4 commits
  7. 20 Jun, 2014 2 commits
  8. 13 Mar, 2014 1 commit
  9. 13 Aug, 2013 1 commit
  10. 12 Aug, 2013 1 commit
  11. 25 Jul, 2013 1 commit
  12. 11 Jul, 2013 1 commit
  13. 29 Apr, 2013 1 commit
  14. 18 Apr, 2013 1 commit
    • antirez's avatar
      Redis/Jemalloc Gitignore were too aggressive. · 0e3baa52
      antirez authored
      Redis gitignore was too aggressive since simply broken.
      
      Jemalloc gitignore was too agressive because it is conceived to just
      keep the files that allow to generate all the rest in development
      environments (so for instance the "configure" file is excluded).
      0e3baa52
  15. 02 Apr, 2013 2 commits
  16. 23 Jan, 2013 1 commit
  17. 17 Dec, 2012 1 commit
  18. 12 Dec, 2012 1 commit
  19. 28 Nov, 2012 1 commit
  20. 01 Nov, 2012 1 commit
    • antirez's avatar
      32 bit build fixed on Linux. · 655e6838
      antirez authored
      It failed because of the way jemalloc was compiled (without passing the
      right flags to make, but just to configure). Now the same set of flags
      are also passed to the make command, fixing the issue.
      
      This fixes issue #744
      655e6838
  21. 30 Oct, 2012 1 commit
  22. 22 Aug, 2012 1 commit
    • antirez's avatar
      hiredis library updated. · 7fcba9fd
      antirez authored
      This version of hiredis merges modifications of the Redis fork with
      latest changes in the hiredis repository.
      
      The same version was pushed on the hiredis repository and will probably
      merged into the master branch in short time.
      7fcba9fd
  23. 16 May, 2012 2 commits
  24. 11 Apr, 2012 1 commit
    • Pieter Noordhuis's avatar
      Clean up Makefiles · de07849e
      Pieter Noordhuis authored
      Remove unused variables. Instead of overriding non-standard variables
      such as ARCH and PROF, use standard variables CFLAGS and LDFLAGS to
      override Makefile settings. Move dependencies generated by `make dep` to
      a separate file.
      de07849e
  25. 24 Feb, 2012 2 commits
  26. 19 Feb, 2012 2 commits