Commits on Mar 17, 2011
  1. @bos

    Escape and unescape potentially unsafe names.

    This is needed to maintain compatibility with REST clients, as unfortunately
    the Riak server doesn't do the escaping and unescaping itself.
    bos committed Mar 17, 2011
  2. @bos
Commits on Mar 16, 2011
  1. @bos

    Tidy up imports.

    bos committed Mar 15, 2011
Commits on Mar 14, 2011
  1. @bos

    Use an MVar for debug logging to avoid multi-threaded interleaving.

    Turns out that, because Handle goes out of its way to allow concurrent access,
    if two threads are trying to log at the same time, their output is interleaved
    at the character level, rendering it useless.
    
    Using an MVar instead is a little crude, not to mention cruel to concurrency,
    but at least it makes the output readable.
    bos committed Mar 14, 2011
Commits on Mar 10, 2011
  1. @bos
Commits on Mar 9, 2011
  1. @bos

    Bump version

    bos committed Mar 9, 2011
  2. @bos

    Loosen aeson dependency

    bos committed Mar 9, 2011
Commits on Mar 1, 2011
  1. @bos
  2. @bos

    Bump version

    bos committed Mar 1, 2011
  3. @bos
  4. @bos

    Quieten GHC

    bos committed Mar 1, 2011
  5. @bos
  6. @bos
  7. @bos

    Drop -fno-warn-orphans

    bos committed Feb 28, 2011
  8. @bos

    Split the package into two: riak and riak-protobuf

    This makes the generated docs for the riak package much more
    manageable in size.
    
    --HG--
    rename : LICENSE => protobuf/LICENSE
    rename : README.markdown => protobuf/README.markdown
    rename : Setup.hs => protobuf/Setup.hs
    rename : proto.sh => protobuf/proto.sh
    rename : riak.cabal => protobuf/riak-protobuf.cabal
    rename : src/Network/Riak/Protocol.hs => protobuf/src/Network/Riak/Protocol.hs
    rename : src/Network/Riak/Protocol/BucketProps.hs => protobuf/src/Network/Riak/Protocol/BucketProps.hs
    rename : src/Network/Riak/Protocol/Content.hs => protobuf/src/Network/Riak/Protocol/Content.hs
    rename : src/Network/Riak/Protocol/DeleteRequest.hs => protobuf/src/Network/Riak/Protocol/DeleteRequest.hs
    rename : src/Network/Riak/Protocol/ErrorResponse.hs => protobuf/src/Network/Riak/Protocol/ErrorResponse.hs
    rename : src/Network/Riak/Protocol/GetBucketRequest.hs => protobuf/src/Network/Riak/Protocol/GetBucketRequest.hs
    rename : src/Network/Riak/Protocol/GetBucketResponse.hs => protobuf/src/Network/Riak/Protocol/GetBucketResponse.hs
    rename : src/Network/Riak/Protocol/GetClientIDRequest.hs => protobuf/src/Network/Riak/Protocol/GetClientIDRequest.hs
    rename : src/Network/Riak/Protocol/GetClientIDResponse.hs => protobuf/src/Network/Riak/Protocol/GetClientIDResponse.hs
    rename : src/Network/Riak/Protocol/GetRequest.hs => protobuf/src/Network/Riak/Protocol/GetRequest.hs
    rename : src/Network/Riak/Protocol/GetResponse.hs => protobuf/src/Network/Riak/Protocol/GetResponse.hs
    rename : src/Network/Riak/Protocol/GetServerInfoRequest.hs => protobuf/src/Network/Riak/Protocol/GetServerInfoRequest.hs
    rename : src/Network/Riak/Protocol/Link.hs => protobuf/src/Network/Riak/Protocol/Link.hs
    rename : src/Network/Riak/Protocol/ListBucketsRequest.hs => protobuf/src/Network/Riak/Protocol/ListBucketsRequest.hs
    rename : src/Network/Riak/Protocol/ListBucketsResponse.hs => protobuf/src/Network/Riak/Protocol/ListBucketsResponse.hs
    rename : src/Network/Riak/Protocol/ListKeysRequest.hs => protobuf/src/Network/Riak/Protocol/ListKeysRequest.hs
    rename : src/Network/Riak/Protocol/ListKeysResponse.hs => protobuf/src/Network/Riak/Protocol/ListKeysResponse.hs
    rename : src/Network/Riak/Protocol/MapReduce.hs => protobuf/src/Network/Riak/Protocol/MapReduce.hs
    rename : src/Network/Riak/Protocol/MapReduceRequest.hs => protobuf/src/Network/Riak/Protocol/MapReduceRequest.hs
    rename : src/Network/Riak/Protocol/Pair.hs => protobuf/src/Network/Riak/Protocol/Pair.hs
    rename : src/Network/Riak/Protocol/PingRequest.hs => protobuf/src/Network/Riak/Protocol/PingRequest.hs
    rename : src/Network/Riak/Protocol/PutRequest.hs => protobuf/src/Network/Riak/Protocol/PutRequest.hs
    rename : src/Network/Riak/Protocol/PutResponse.hs => protobuf/src/Network/Riak/Protocol/PutResponse.hs
    rename : src/Network/Riak/Protocol/ServerInfo.hs => protobuf/src/Network/Riak/Protocol/ServerInfo.hs
    rename : src/Network/Riak/Protocol/SetBucketRequest.hs => protobuf/src/Network/Riak/Protocol/SetBucketRequest.hs
    rename : src/Network/Riak/Protocol/SetClientIDRequest.hs => protobuf/src/Network/Riak/Protocol/SetClientIDRequest.hs
    rename : src/riakclient.proto => protobuf/src/riakclient.proto
    rename : src/riakextra.proto => protobuf/src/riakextra.proto
    bos committed Feb 28, 2011
Commits on Feb 28, 2011
  1. @bos
  2. @bos

    Reorganise modules to make docs build correctly

    --HG--
    rename : src/Network/Riak/Resolvable.hs => src/Network/Riak/Resolvable/Internal.hs
    bos committed Feb 28, 2011
  3. @bos

    Use the new Resolvable class instead of abusing Monoid

    --HG--
    rename : src/Network/Riak/JSON/Monoid.hs => src/Network/Riak/JSON/Resolvable.hs
    rename : src/Network/Riak/Monoid.hs => src/Network/Riak/Resolvable.hs
    rename : src/Network/Riak/Value/Monoid.hs => src/Network/Riak/Value/Resolvable.hs
    bos committed Feb 28, 2011
Commits on Feb 24, 2011
  1. @bos
Commits on Feb 12, 2011
  1. @bos

    Bump hashable dep

    bos committed Feb 12, 2011
  2. @bos
Commits on Feb 9, 2011
  1. @bos

    Add REST-safe string escaping and unescaping, since Riak gets this wr…

    …ong.
    
    Riak *should* be unescaping names when received from a REST client,
    but doesn't, so a good PBC client must itself escape and unescape
    them.
    bos committed Feb 8, 2011
  2. @bos

    Add a small comment

    bos committed Feb 8, 2011
Commits on Feb 8, 2011
  1. @bos
Commits on Feb 7, 2011
  1. @bos

    Drop an unused function

    bos committed Feb 6, 2011
  2. @bos

    Fix some nasty buffering bugs, and improve performance

    * Bug 1: if a previous receive left buffered data behind, recvExactly
      tried to use it, but was losing it instead.  Oops.
    
    * Bug 2: recvGetN was doing completely nonsensical buffer management.
    
    Performance improvement: recvExactly uses a too-large buffer, just
    in case there might be some, and saves any leftover data.
    bos committed Feb 6, 2011
  3. @bos

    Fix up the handling of vector clock conflict on monoidal PUT

    I had incorrectly assumed that a result of length 1 indicated no
    conflict.  It can mean either a success or a conflict, depending
    on whether the result returned is equal to the result stored.
    Tricky, eh?
    bos committed Feb 6, 2011
  4. @bos

    Add support for connection pooling

    bos committed Feb 6, 2011
Commits on Feb 5, 2011
  1. @bos

    Switch to the new Aeson types

    bos committed Feb 4, 2011
Commits on Feb 2, 2011
  1. @bos
  2. @bos

    Move Monoid instances to aeson

    bos committed Feb 1, 2011
Commits on Jan 27, 2011
  1. @bos
  2. @bos

    Fix some silliness.

    bos committed Jan 27, 2011
  3. @bos

    Bump version to something real

    bos committed Jan 27, 2011
Commits on Jan 26, 2011
  1. @bos