Permalink
Commits on May 2, 2012
  1. Update meta for release 1.0.3

    Change-Id: I92c5859264a5c7d6585f29c306e706d5fdb7475f
    Reviewed-on: http://review.couchbase.org/15580
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed May 2, 2012
  2. [backport] Fix ringbuffer_is_continous()

    https://groups.google.com/d/topic/couchbase/YXwbi8KL-nI/discussion
    
    Change-Id: I0965ec70bd2b28e16723da31ae63a3af33416890
    Reviewed-on: http://review.couchbase.org/15504
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Apr 19, 2012
  3. [backport] Pick up cookies from pending buffer unless node connected

    Change-Id: Ifbd01a13400430f461982bad379e9cc576fc878e
    Reviewed-on: http://review.couchbase.org/15503
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Mar 27, 2012
Commits on May 1, 2012
  1. RCBC-33 Fix buffer overflow vulnerability

    Change-Id: I773fc85cea41f82ebca5cafe30f5ea2d3aec0def
    Reviewed-on: http://review.couchbase.org/15500
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed with ingenthr Apr 30, 2012
Commits on Mar 6, 2012
  1. Updated package metadata for 1.0.2 release

    Change-Id: Id3333121aff904c41af5908637bb3bc1dfa35b96
    Reviewed-on: http://review.couchbase.org/13785
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Mar 6, 2012
  2. make reformat

    Change-Id: I0c5b6e23c32fb641c98636377d1fe5032a6620a8
    Reviewed-on: http://review.couchbase.org/13781
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Mar 5, 2012
Commits on Mar 2, 2012
  1. Update library version

    The shared object should be 1.2.0 and the library version number
    should be set to 1.0.2
    
    Change-Id: If3bb7ca0dcf0c6c63a644a7aab824c2b6e66a9b8
    Reviewed-on: http://review.couchbase.org/13747
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Mar 2, 2012
  2. Fix buildbreak on win32

    Change-Id: Ie48ed69ba95a2eb54e2a1fad346423e22eeb7504
    Reviewed-on: http://review.couchbase.org/13749
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Mar 2, 2012
  3. implement PROTOCOL_BINARY_CMD_VERSION

    Change-Id: I4d08b1ea503381913ce5a0d1edc06bdd19e18a57
    Reviewed-on: http://review.couchbase.org/13377
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    mnunberg committed with avsej Feb 20, 2012
  4. Allow use of libcouchbase to pure memcached clusters

    Change-Id: If9152d0783dc86fd879db4549c321ef281714401
    Reviewed-on: http://review.couchbase.org/13746
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Jan Lehnardt <jan@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Mar 2, 2012
  5. Fix compile error in smoke-test (-Wformat-security)

    Change-Id: I5f08c8d582afc6ccd0d1c9026b70d07df249d698
    Reviewed-on: http://review.couchbase.org/13745
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Mar 2, 2012
Commits on Mar 1, 2012
  1. Add astyle rules

    Change-Id: Id596dd3b65f73ba5ad6144ee3b40e2d58d934219
    Reviewed-on: http://review.couchbase.org/13706
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    trondn committed Mar 1, 2012
Commits on Feb 29, 2012
  1. debhelper required to build deb packages

    Change-Id: Ie6b94d65c1a0795ed4607da95c339e7b4824b76a
    Reviewed-on: http://review.couchbase.org/13683
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Feb 29, 2012
  2. Reduce package dependencies (use internal SASL client)

    Change-Id: Ib37ac3c67417613307b634a09bf653d802af6689
    Reviewed-on: http://review.couchbase.org/13682
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Feb 29, 2012
  3. Always sign deb packages and allow to pass PGP key

    Change-Id: I3ecc2a629859f3b24ae32ea5456cc22840b663b1
    Reviewed-on: http://review.couchbase.org/13681
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Feb 29, 2012
  4. Rename packaging/{debian,deb}

    Change-Id: Id49f541ec9f6a37a5cd6b00905d38fd0ebe2938c
    Reviewed-on: http://review.couchbase.org/13680
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Feb 29, 2012
Commits on Feb 28, 2012
  1. Bundle the protocol definitions for memcached to make it easier to build

    The protocol headers is used to get the struct definitions and the
    command id's to make it easier to build on most platforms. Those files
    doesn't change that often, and it doesn't really make sense to require
    the user to build and install the memcached server just to get the
    headerfiles to build the client ;-)
    
    I've added the COPYRIGHT file from the memcached project in the same
    directory as the headers.
    
    Change-Id: I73a469704accd333cef7ead7a4a40701a704bd1c
    Reviewed-on: http://review.couchbase.org/13633
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Feb 27, 2012
Commits on Feb 26, 2012
  1. Refactor connection error handling

    socket connection error handling refactored, common code from instance
    and server connect functions abstracted. More predictable and sensible
    error reporting.
    
    Errors are classified into more 'high-level' [laugh] concepts related to
    users of libcouchbase and the course of action to be taken.
    
    Change-Id: If9c2ced19780531ea92dfb9ba4a818bded7332a9
    Reviewed-on: http://review.couchbase.org/13614
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    mnunberg committed with avsej Feb 25, 2012
Commits on Feb 23, 2012
  1. Add JSON support for cp function

    Change-Id: Id7fe53405fcaeb1f7fca11f395b1cefd6454fd90
    Reviewed-on: http://review.couchbase.org/13300
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Feb 16, 2012
Commits on Feb 22, 2012
  1. Handle EINVAL for connects

    EINVAL can be received for a getaddrinfo response for an IPv6 host
    lookup, but where the actual node/rest server is not listening on ipv6
    (this fails on netbsd with the mockserver, without these fixes)
    
    Change-Id: I34d3b6d4f0b72a56e5b75f69a3a01a08959dd547
    Reviewed-on: http://review.couchbase.org/13477
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    mnunberg committed with trondn Feb 22, 2012
  2. Bundle sasl client implementation

    The user may still use another sasl implementation by using
    --enable-system-libsasl
    
    Change-Id: Ic96836d3fc8f558ac594965aa9a07352cd0b00db
    Reviewed-on: http://review.couchbase.org/13491
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    trondn committed Feb 22, 2012
  3. include <cstdlib> in cbc.cc (provides EXIT_*)

    Change-Id: I902c5c8f959bd350bfc5432e618c224d23b8450b
    Reviewed-on: http://review.couchbase.org/13468
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    mnunberg committed with avsej Feb 22, 2012
  4. Fixed some compiler warnings and tidy types

    s/^uint_/libcouchbase_uint_/;
    
    change %s to %d (this was an actual bug)
    
    use inttypes.h for n-wide protocol field printing (e.g. cas, opaque,
    bodylen)
    
    Fixed other annoying compiler warnings about type safety
    
    Change-Id: If547f4c7f6b29880b864b78644471a48db99d730
    Reviewed-on: http://review.couchbase.org/13479
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    mnunberg committed with avsej Feb 22, 2012
Commits on Feb 21, 2012
  1. Added internal debugging/logging routines

    Change-Id: I6757faa1da14890f852a3e46ac7731e493b20cac
    Reviewed-on: http://review.couchbase.org/13410
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    mnunberg committed with trondn Feb 20, 2012
  2. Fix windows build (MSVC9): define E* if missing

    Change-Id: I5ed44fe668e69b23fa57bc399b12ece8f71c98d3
    Reviewed-on: http://review.couchbase.org/13387
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    pierrejoye committed with trondn Feb 7, 2012
  3. Fix windows build (MSVC9): stdint header

    Change-Id: Ie7b9a0990ec270cefb28d1e221436b303c2ab0b3
    Reviewed-on: http://review.couchbase.org/13386
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    pierrejoye committed with trondn Feb 7, 2012
Commits on Feb 20, 2012
  1. Rename argument to make it more consistent

    The library usually uses "instance" variable to store a pointer to the
    connection object. It is also has cookie field. So it could be a bit
    confusing to read the source of this function.
    
    Change-Id: Ifc5d5d72f75fb57de6c0fc0b53e10da974f3b981
    Reviewed-on: http://review.couchbase.org/13379
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Feb 20, 2012
Commits on Feb 17, 2012
  1. Add support for multiple hosts for the bootstrap URL

    Change-Id: I54ff6e96707034499d7f21d6d8928919bad47090
    Reviewed-on: http://review.couchbase.org/13229
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    trondn committed Feb 14, 2012
  2. Raise error if <stdint.h> missing

    Change-Id: I6021093c0d93fe6180c9e9e1a1e84915d9d1193b
    Reviewed-on: http://review.couchbase.org/13330
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Jan Lehnardt <jan@couchbase.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed Feb 17, 2012
  3. Don't use std:: (we're using namespace std anyway)

    Change-Id: I8c2bdce091915529e6b0149483a7dbf997d13a08
    Reviewed-on: http://review.couchbase.org/13328
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Feb 17, 2012
  4. Added "verify"

    Change-Id: Iafc578dc0b6871aa863bc84751c40bd7211c5383
    Reviewed-on: http://review.couchbase.org/13297
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    trondn committed Feb 16, 2012
  5. Include <stdint.h> for tools

    Fixes following errors:
    
      In file included from tools/configuration.cc:23:0:
      tools/configuration.h:38:21: error: ‘uint32_t’ has not been declared
      tools/configuration.h:39:5: error: ‘uint32_t’ does not name a type
      tools/configuration.h:49:5: error: ‘uint32_t’ does not name a type
      tools/configuration.cc: In constructor ‘Configuration::Configuration()’:
      tools/configuration.cc:27:50: error: class ‘Configuration’ does not have any field named ‘timeout’
      tools/configuration.cc: In member function ‘void Configuration::setTimeout(const char*)’:
      tools/configuration.cc:99:17: error: ‘uint32_t’ was not declared in this scope
      tools/configuration.cc: At global scope:
      tools/configuration.cc:98:6: error: unused parameter ‘t’ [-Werror=unused-parameter]
      tools/configuration.cc:102:32: error: variable or field ‘setTimeout’ declared void
      tools/configuration.cc:102:32: error: ‘uint32_t’ was not declared in this scope
      tools/configuration.cc:106:1: error: ‘uint32_t’ does not name a type
    
    Change-Id: I4d695b212fb2e2e3321b5407e3af8edcc1167a69
    Reviewed-on: http://review.couchbase.org/13329
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Feb 17, 2012
  6. Add option to set timeout for cbc

    Change-Id: Ie7c17942a2e53790d6acb7427f7497842561b521
    Reviewed-on: http://review.couchbase.org/13327
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Feb 17, 2012
  7. Fix command help

    Change-Id: I262794cbc8ec86d1681c89b6a8a0f0c6e23eecf2
    Reviewed-on: http://review.couchbase.org/13301
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Feb 16, 2012
Commits on Feb 16, 2012
  1. Do not expose PACKAGE_STRING

    Change-Id: I07f235af23688e8cabdee5bfc41c78912f77b04e
    Reviewed-on: http://review.couchbase.org/13313
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Feb 16, 2012