1. 22 Jun, 2015 1 commit
    • Matt Stancliff's avatar
      [In-Progress] Add Geo Commands · 7f4ac3d1
      Matt Stancliff authored
      Current todo:
        - replace functions in zset.{c,h} with a new unified Redis
          zset access API.
      
      Once we get the zset interface fixed, we can squash
      relevant commits in this branch and have one nice commit
      to merge into unstable.
      
      This commit adds:
        - Geo commands
        - Tests; runnable with: ./runtest --single unit/geo
        - Geo helpers in deps/geohash-int/
        - src/geo.{c,h} and src/geojson.{c,h} implementing geo commands
        - Updated build configurations to get everything working
        - TEMPORARY: src/zset.{c,h} implementing zset score and zset
          range reading without writing to client output buffers.
        - Modified linkage of one t_zset.c function for use in zset.c
      
      Conflicts:
      	src/Makefile
      	src/redis.c
      7f4ac3d1
  2. 29 May, 2015 3 commits
  3. 19 May, 2015 1 commit
  4. 17 Apr, 2015 1 commit
  5. 31 Mar, 2015 1 commit
  6. 30 Mar, 2015 1 commit
  7. 27 Mar, 2015 1 commit
  8. 22 Mar, 2015 4 commits
  9. 13 Mar, 2015 1 commit
  10. 27 Feb, 2015 2 commits
    • antirez's avatar
      Test: HSTRLEN stress test of corner cases. · 084a59c3
      antirez authored
      Main point here is to correctly report LLONG_MIN length, since to take
      the absolute value we need care in sdigits10().
      084a59c3
    • antirez's avatar
      Hash: HSTRLEN (was HVSTRLEN) improved. · 4e54b85a
      antirez authored
      1. HVSTRLEN -> HSTRLEN. It's unlikely one needs the length of the key,
         not clear how the API would work (by value does not make sense) and
         there will be better names anyway.
      2. Default is to return 0 when field is missing.
      3. Default is to return 0 when key is missing.
      4. The implementation was slower than needed, and produced unnecessary COW.
      
      Related issue #2415.
      4e54b85a
  11. 25 Feb, 2015 2 commits
  12. 23 Feb, 2015 1 commit
  13. 21 Feb, 2015 1 commit
  14. 11 Feb, 2015 3 commits
  15. 10 Feb, 2015 2 commits
  16. 04 Feb, 2015 1 commit
  17. 22 Jan, 2015 2 commits
  18. 21 Jan, 2015 6 commits
  19. 09 Jan, 2015 1 commit
  20. 02 Jan, 2015 3 commits
  21. 14 Dec, 2014 1 commit
    • Alon Diamant's avatar
      Added <count> parameter to SPOP: · 28802887
      Alon Diamant authored
      spopCommand() now runs spopWithCountCommand() in case the <count> param is found.
      Added intsetRandomMembers() to Intset: Copies N random members from the set into inputted 'values' array. Uses either the Knuth or Floyd sample algos depending on ratio count/size.
      Added setTypeRandomElements() to SET type: Returns a number of random elements from a non empty set. This is a version of setTypeRandomElement() that is modified in order to return multiple entries, using dictGetRandomKeys() and intsetRandomMembers().
      Added tests for SPOP with <count>: unit/type/set, unit/scripting, integration/aof
      --
      Cleaned up code a bit to match with required Redis coding style
      28802887
  22. 03 Dec, 2014 1 commit