Permalink
Switch branches/tags
Nothing to show
Commits on Apr 19, 2010
  1. Always return a set object from set-based commands. Thanks Adam Charn…

    …ock for the bug report.
    andymccurdy committed Apr 19, 2010
Commits on Apr 16, 2010
  1. HMGET + tests

    kmerenkov committed with andymccurdy Apr 16, 2010
Commits on Apr 12, 2010
  1. HMSET support

    kmerenkov committed with andymccurdy Apr 12, 2010
  2. [issue 29] Redis instance doesn't use shared connection pool by default

     * Redis constructor accepts connection_pool keyword argument,
       that defaults to None (no shared connection pool).
       However, you can create ConnectionManager instance yourself
       and pass it to as many Redis instances as you want, making
       them use shared connection pool.
     * Renamed ConnectionManager to ConnectionPool.
     * Exported ConnectionPool, so now you can import it in your code
       and create instances.
     * Removed test_pipeline_with_fresh_connection test, since
       all redis instances don't use shared pool by default now.
     * corrected few typos in comments.
     * repaired the rest of tests.
    kmerenkov committed with andymccurdy Apr 12, 2010
Commits on Apr 2, 2010
Commits on Apr 1, 2010
  1. Pipeines can not optionally be transactions (wrapped in MULTI/EXEC) o…

    …r not by passing the transaction parameter. This fixes #23.
    andymccurdy committed Apr 1, 2010
Commits on Mar 31, 2010
  1. Move towards binary-safeness of keys and values.

     * Dropped support of all protocols except multi-bulk
       the only protocol that yet to be released redis 2.0 is able
       understand
     * As a side-effect there is an 'execute_command' function exposed
       to the library user. As for now it is pretty useless :)
     * Added (only) two tests
    kmerenkov committed Mar 31, 2010
  2. [cosmetic] whitespaces cleanup

    kmerenkov committed Mar 31, 2010
Commits on Mar 30, 2010
  1. added support for subscribe, unsubscribe, publish. tests incoming. pa…

    …ttern is:
    
    redis.subscribe('my_channel')
    for msg in redis.listen():
        channel, data = msg['channel'], msg['message']
        ...
    
    listen() is a generator that will generate new messages as they come in.  it will continue to block until all channels are unsubscribed.
    andymccurdy committed Mar 30, 2010
Commits on Mar 26, 2010
  1. * fix for #21, make only the "db" argument of select() required. If h…

    …ost and port aren't specified, the host/port options on the existing connection are used.
    
    * added HINCRBY support
    andymccurdy committed Mar 26, 2010
Commits on Mar 18, 2010
  1. HEXISTS and HLEN implementations

    added a socket_timeout parameter to allow commands to timeout and raise an error
    andymccurdy committed Mar 18, 2010
Commits on Mar 16, 2010
  1. fix for #18 -- i had copy/pasted some code from another function and …

    …forgot to actually change it! thanks to Sam (SJD) for the bug report
    andymccurdy committed Mar 16, 2010
Commits on Mar 15, 2010
  1. HDEL implemented

    andymccurdy committed Mar 15, 2010
Commits on Mar 12, 2010
  1. no reason to join the names here -- just let the format_inline do it,…

    … that way we get the benefit of encoding, too!
    andymccurdy committed Mar 12, 2010
  2. Fixed a bug with pipeline execution of AUTH and SELECT commands. Thes…

    …e failed after MULTI and EXEC were added, since you can't run MULTI until you've auth'd, and it doesn't make sense to run SELECT within a multi/exec.
    
    Thanks Pat Shields for the bug report
    andymccurdy committed Mar 12, 2010
Commits on Mar 11, 2010
  1. fixed #15 where zscore previously failed for members of a sorted set …

    …that didn't exist.
    
    also made anal cleanup changes removing whitespace before colons!
    andymccurdy committed Mar 11, 2010
  2. all commands being executed in a pipeline are now executing with a si…

    …ngle socket send call. this should increase network throughput
    andymccurdy committed Mar 11, 2010
Commits on Mar 10, 2010
  1. HSET now returns 1 if it added a new field to the hash, otherwise 0.

    There was no test for RPUSH, now there is :)
    andymccurdy committed Mar 10, 2010
  2. added HGET/HSET commands

    removed the KEYS callback -- 1.34 Redis servers now return KEYS with the multi-bulk protocol, which means they're already in a list
    andymccurdy committed Mar 10, 2010