Skip to content
Commits on Jan 15, 2013
  1. @melo

    Prepare release 1.957

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 15, 2013
  2. @melo

    v1.956

        * Add on_connect callback to Redis constructor (issue 28)
        * Make sure quit() doesn't die when the socket is already dead (issue 30);
        * Switch to Digest::SHA, one less non-core dep RT#81841
        * Try and make Travis-CI more useful, ask for a redis-server
        * Update SUPPORT section, moving bugtracker to GitHub issues
    melo committed Jan 15, 2013
  3. @melo

    Tweak Dist::Zilla config, enable some tests, disable portability for now

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

    Update Changes for new release

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

    Make sure quit() doesn't die if we fail to send the command:

    The end result is the same - the socket connection is down - so make sure
    we cleanup properly but don't bother with errors in the process.
    
    Closes #30.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 15, 2013
  6. @melo

    Be more precise when dealing with syswrite errors

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

    Make sure we have a redis-server available

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

    Remove extra cpanm commands: installing the PluginBundle should be en…

    …ough
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Jan 5, 2013
Commits on Nov 8, 2012
  1. @melo

    Tidy code a bit

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Nov 8, 2012
  2. @melo

    Add on_connect callback to Redis constructor

    The on_connect callback will be called after each successful connection.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Nov 8, 2012
Commits on Oct 10, 2012
  1. @melo

    v1.955

        * Skip 30-scripts.t if the redis-server found lacks script support
    melo committed Oct 10, 2012
  2. @melo

    Skip scripting tests if redis-server found lack scripting support

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Oct 10, 2012
  3. @melo

    v1.954

        * Support for multi-word commands such as "SCRIPT LOAD".
        * Try another fix for Windows non-blocking reads
    melo committed Oct 10, 2012
  4. @melo

    Remove trailing spaces

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Oct 10, 2012
  5. @melo

    Prepare next release

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Oct 10, 2012
  6. @melo

    Add documentation for the new scripting commands

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Oct 10, 2012
  7. @melo

    Improve script tests to check script_load() returns valid sha1 digest

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Oct 10, 2012
  8. @melo

    Remove left over die from script tests

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Oct 10, 2012
  9. @melo

    Merge branch 'windows-fix-with-sysread'

    * windows-fix-with-sysread:
      Replace read() with sysread() in __try_read_sock() if we are running Win32
    melo committed Oct 10, 2012
  10. @melo

    Merge pull request #26 from tsee/master

    Implement support for multi-word Redis commands such as "script load"
    melo committed Oct 10, 2012
Commits on Sep 5, 2012
  1. @melo

    v1.953

        * Tweak travis.ci setup
    melo committed Sep 5, 2012
  2. @melo

    Prepare small release to fix travis.ci setup

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Sep 5, 2012
  3. @melo

    Tracking down a problem installing D::Z::PB::Author::MELO:

     * --quiet down most modules installation;
     * --installdeps of D::Z::PB::Author::MELO in a separate step.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Sep 5, 2012
Commits on Sep 4, 2012
  1. @melo

    Make sure we include perl 5.16

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Sep 4, 2012
  2. @melo

    v1.952

        * Added automatic authentication after connection establishment
        * Support Redis 2.6: Aaron Crane <arc@cpan.org>
        * Attempt to fix non-blocking read on Windows
        * Enable travis.ci support on the repository
    melo committed Sep 4, 2012
  3. @melo

    Fix dist.ini to work with latest @Author::MELO

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Sep 4, 2012
  4. @melo

    Prepare next release, check Changes

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Sep 4, 2012
  5. @melo

    Replace read() with sysread() in __try_read_sock() if we are running …

    …Win32
    
    See #20 and #21 and also 6a517e64510 for the logic behind this.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Sep 4, 2012
  6. @melo

    Be more flexible when detecting Windows:

    We need to know if we are using windows to decide which code to use to set
    a socket to non-blocking behaviour in __fh_nonblocking (used by
    __try_read_sock).
    
    We had reports of blocking on Windows (see #20 and #21), and the
    solution given on #21 is to use replace read() with sysread() in
    __try_read_sock(). The fact that this works is a point in its favor,
    but after that call, we do a ungetc() to put back what we've read.
    
    According to Perl documentation, we should not mix sysread (unbuffered
    I/O) with read/ungetc (buffered I/O) so I don't really like the sysread
    solution.
    
    So I'll try this first instead: the logic behind this commit is that for
    some reason, the socket is not in non-blocking mode when it reaches the
    read() call, and it blocks. This should catch more cases of mswin32 usage,
    and it might fix the issue for good. If it does not, I'll quickly relase
    a sysread-based release but that uses sysread only on Windows (I've tested
    sysread on UNIX systems and it would break as expected).
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Sep 4, 2012
  7. @melo

    Move "is Windows32" decision to a constant

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Sep 4, 2012
  8. @melo

    Our test redis-server can have a customizable timeout now:

     * default is 120 seconds, some tests (eg 04-pipelining.t) would fail
       due to a low timeout value;
     * make sure 07-reconnect.t uses the lowest timeout possible: it depends
       on that.
    
    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Sep 4, 2012
  9. @melo

    Make sure our test directory is clean before starting the Redis server

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Sep 4, 2012
  10. @melo

    Make sure REDIS_SERVER_PATH works

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Sep 4, 2012
  11. @melo

    Fix typo in Redis::Hash documentation

    Signed-off-by: Pedro Melo <melo@simplicidade.org>
    melo committed Sep 4, 2012
Commits on Jun 18, 2012
  1. @melo

    Merge pull request #23 from arc/support-2-6

    Support Redis 2.6
    melo committed Jun 18, 2012
Something went wrong with that request. Please try again.