Permalink
Commits on Feb 5, 2011
  1. @melo

    Prepare version 1.901

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Feb 5, 2011
  2. @melo

    Rename test files, make this uniform with the others

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 30, 2011
Commits on Jan 30, 2011
  1. @melo

    Bump version to 1.900_01, our first release candidate for the new 2.0…

    … rel
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 30, 2011
  2. @melo

    Fix README

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 30, 2011
  3. @melo

    Update MANIFEST

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 30, 2011
  4. @melo

    Tidy Redis tests

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 30, 2011
  5. @melo

    Improve Redis::Hash

     * added better synopsis;
     * explain a bit of the internals: we don't use Redis hashes yet;
     * improved test suite.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 30, 2011
  6. @melo

    Improve Redis::List

     * added a better synopsis;
     * fix: added the POP method;
     * improved test suite.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 30, 2011
  7. @melo

    Convert most tests to use the new Test::SpawnRedisServer

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 30, 2011
  8. @melo

    Added Test::SpawnRedisServer for startup/cleanup of a Redis server

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 30, 2011
  9. @melo

    Tidy Redis::List and Redis::Hash

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 30, 2011
  10. @melo

    Documentation tweaks:

     * Added SYNOPSIS, ACKNOWLEDGEMENTS;
     * Tweak COPYRIGHT and AUTHORS;
     * Fix Redis URLs: point most of them to the new http://redis.io/ site;
     * Tidy it up a bit.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 30, 2011
  11. @melo

    Cleanup Makefile.PL:

     * add missing prereqs;
     * switch author information.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 30, 2011
  12. @melo

    Ignore redis-server dump.rdb file

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 30, 2011
  13. @melo

    Cleanup Changes

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 30, 2011
  14. @melo

    Merge branch 'redis2.0'

    melo committed Jan 30, 2011
Commits on Oct 8, 2010
  1. @melo

    Replace sysread-based network code with PerlIO buffered reads:

    Performance is substancialy better, special on readline path.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Oct 2, 2010
  2. @melo

    Split __read_sock into __read_line and __read_len

    Each path is more simple, less conditions, code is simpler, and faster.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Oct 8, 2010
  3. @melo

    Fix encoding parameter to new():

    When new(encoding => undef) was called, to disable the automatic
    encode/decode step, we actually defaulted to 'utf8', causing massive
    performance degradation.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Sep 30, 2010
Commits on Sep 19, 2010
  1. @jlavallee
  2. @jlavallee

    ignore dist files

    jlavallee committed Sep 19, 2010
  3. @jlavallee
  4. @jlavallee

    added .gitignore

    jlavallee committed Sep 19, 2010
  5. @jlavallee

    made POD coverage tests run conditionally

    Environment var tested for is $RELEASE_TESTING
    see http://use.perl.org/~Alias/journal/36128
    jlavallee committed Sep 19, 2010
  6. @jlavallee
Commits on Aug 28, 2010
  1. @dpavlin
Commits on Aug 7, 2010
  1. @melo

    Tidy up test files

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Aug 7, 2010
  2. @melo

    Add support for nested multi-bulk responses:

    Useful for future MULTI/EXEC implementation
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Aug 7, 2010
  3. @melo

    Fix __read_responses() with multi-bulk replies containing $-1 responses

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Aug 7, 2010
  4. @melo

    Added support for Redis PubSub:

     * support commands SUBSCRIBE, UNSUBSCRIBE, PSUBSCRIBE, and PUNSUBSCRIBE:
       * PUBLISH is a regular Redis command, already supported.
     * last argument of subscription changes commands must be a callback, a
       coderef:
       * for each message, the callback will be called with three parameters:
         * the messages data;
         * the topic to whom the message was sent;
         * the subscription that catched this message.
     * you can subscribe to multiple topics or topic matches with the same
       callback: messages to any of those topics will invoke the callback;
     * you can call p?subscribe() multiple times with the same topics or
       topic matching rules, and with different callbacks:
       * we will manage a single Redis subscription, and call all the
         callbacks per message received.
     * p?unsubscribe() calls require the original callback, to remove the
       correct subscription.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Aug 7, 2010
  5. @melo

    Fix __read_response() call in keys(): used wrong command

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Aug 7, 2010
  6. @melo

    On quit(), remove our internal buffer even if we can't close the socket

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Aug 7, 2010
  7. @melo

    Allow size of reads from socket to be tuned

    If you have big keys, values, or big responses, increasing read_size
    will improve your performance, by reducing the number of system calls we
    will make to read them.
    
    Defaults to 8Kb
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Aug 7, 2010
  8. @melo

    Fix: __is_valid_command() must deal with both upper and lower-case cmds

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Aug 7, 2010
  9. @melo

    Added __can_read_sock(): attempts to read from Redis server, non-bloc…

    …king
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Aug 7, 2010