Permalink
Commits on Nov 3, 2011
  1. Add dummy man pages for flush

    Change-Id: I71829784731400e9ea062519928a54bcaae15617
    Reviewed-on: http://review.couchbase.org/10583
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Nov 3, 2011
  2. Added missing files from dist target

    Change-Id: I9fafa40c58cf78fc1e36ca82043f86b51217ab55
    Reviewed-on: http://review.couchbase.org/10582
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Nov 3, 2011
Commits on Nov 2, 2011
  1. Fix ringbuffer for wrapped write/read operations

    This patch make possible following case
    
    1. Create empty buffer for 10 bytes
    
         w
        |----------|
         r
    
    2. put 8 chars into the buffer
    
                 w
        |01234567--|
         r
    
    3. consume first 5 chars
    
                 w
        |-----567--|
              r
    
    4. wrapped write: write 5 more chars
    
            w
        |cde--567ab|
              r
    
    5. wrapped read: read 6 chars
    
            w
        |-de-------|
          r
    
    6. Eventually we have two chars "de" in the buffer
    
    Change-Id: I58c0a0e3f4d7d99e8738a1e21db9e849628c1952
    Reviewed-on: http://review.couchbase.org/10547
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 2, 2011
  2. Fix test compilation

    Change-Id: Ib6667d073284197ebc3509291df202c776b623d8
    Reviewed-on: http://review.couchbase.org/10546
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Nov 2, 2011
Commits on Oct 31, 2011
  1. Add flush command

    Change-Id: I0b988bf317ee71f27ef6163bd0a0682ba060db34
    Reviewed-on: http://review.couchbase.org/10366
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    trondn committed Oct 25, 2011
Commits on Oct 12, 2011
  1. Fix stupid warnings returned from gcc on ubuntu 9.04

    The compiler warns about possible sign change from the following expression
    size_t = boolean expression ? 2 : 1;
    
    Change-Id: Ib77687eac86193efcd2f9a3b2b681fb15186489a
    Reviewed-on: http://review.couchbase.org/10099
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Oct 12, 2011
Commits on Oct 11, 2011
  1. Build more of the test suite for win32

    Change-Id: I804888b0f9bee0c563d20f4ee9c9d67c333d89b7
    Reviewed-on: http://review.couchbase.org/10003
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    trondn committed Oct 7, 2011
  2. By default build libcouchbase and the tests

    Change-Id: Iecb612e06d5b11248d9d3772badd63e2bab15bd5
    Reviewed-on: http://review.couchbase.org/10000
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    trondn committed Oct 7, 2011
  3. add a getopt test for win32

    Change-Id: Id8c3cec4618d7f36c2760f7fe8c1bea112a513cc
    Reviewed-on: http://review.couchbase.org/9999
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    trondn committed Oct 7, 2011
  4. Remove packet filter

    Change-Id: Ia3b71205f74df6c12ab283a69201e13c75dfb6dc
    Reviewed-on: http://review.couchbase.org/9979
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    trondn committed Oct 6, 2011
  5. Add a ringbuffer to use instead of the buffer_t

    Change-Id: I8501360bec2d260ac591c9d268a8c0d4f1734a8c
    Reviewed-on: http://review.couchbase.org/9978
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    trondn committed Oct 5, 2011
Commits on Oct 4, 2011
  1. Create install directories for win32

    Change-Id: I3dd014f3eeb7d87224f94e80d974a90ae9bd5514
    Reviewed-on: http://review.couchbase.org/9940
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Oct 4, 2011
  2. Create an instance of the default io ops if you don't specify one

    The user shouldn't have to do any extra work to get default behavior ;-)
    
    Change-Id: I3df7cc55fba13eee4f2543d9c5e726c3fb466313
    Reviewed-on: http://review.couchbase.org/9936
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Oct 4, 2011
Commits on Sep 30, 2011
  1. Add more details to error message

    Change-Id: I250f41eac1f876d19b297a0b5966ffe30c5298d3
    Reviewed-on: http://review.couchbase.org/9875
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Sep 30, 2011
  2. Setup error callbacks for examples

    Change-Id: Id205286556140624bd9a9e9833edab2162259894
    Reviewed-on: http://review.couchbase.org/9858
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Sep 29, 2011
  3. Update comments for libcouchbase_error_handler

    Change-Id: Ie93cc23cad3ba7f12fba4e65a3b4cea8283c766f
    Reviewed-on: http://review.couchbase.org/9874
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Sep 30, 2011
Commits on Sep 29, 2011
  1. Reset wait flag in libcouchbase_wait()

    Change-Id: I25ccd61416bfaf20924a3e8d0ec9ea025b5b7a21
    Reviewed-on: http://review.couchbase.org/9851
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Sep 29, 2011
Commits on Sep 28, 2011
  1. Use default IO options

    Now couchview* samples use libcouchbase IO abstraction and don't include
    libevent headers directly.
    
    Change-Id: Ibc7cb35c802280f6380233b94954cf5d8af90889
    Reviewed-on: http://review.couchbase.org/9840
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Sep 28, 2011
  2. Win32 compile fixup

    Change-Id: Id8eb571ba6966855360bc2da449e5836ac468d07
    Reviewed-on: http://review.couchbase.org/9838
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Sep 28, 2011
  3. Refactor: Let the client specify the IO framework

    This will eventually make it easier to support other os's or
    other event frameworks.
    
    Change-Id: I410838177e0ab4b1885d61077a381eb0060b58b1
    Reviewed-on: http://review.couchbase.org/9560
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Sep 13, 2011
Commits on Sep 19, 2011
  1. Add dummy man pages

    Change-Id: I42a993d6ca4c8a840c2aa36d4a03d2ef49d68d46
    Reviewed-on: http://review.couchbase.org/9662
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Sep 19, 2011
  2. Fix initialization of couch_api_base

    Change-Id: I569dd7c0b535a0c83300ffb7e4294b4a74780758
    Reviewed-on: http://review.couchbase.org/9661
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Sep 19, 2011
Commits on Sep 18, 2011
  1. Don't include config.h from couchview

    Change-Id: If6aece6cb3ac6573a0910c38bf9d542b8658eb1d
    Reviewed-on: http://review.couchbase.org/9651
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Sep 18, 2011
Commits on Sep 16, 2011
  1. Fix errors reported by gcc4.6.1

    Change-Id: Id7abeabe1f6c01d228bfa5b6b3ee563dd83cf4c5
    Reviewed-on: http://review.couchbase.org/9633
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Sep 16, 2011
  2. CCBC-11 The interface to access views

    Change-Id: Ia68641743ba359f7ffd81a3744eb98962bf5131b
    Reviewed-on: http://review.couchbase.org/9412
    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 Sep 6, 2011
Commits on Sep 13, 2011
  1. Add files to be included in the dist bundle

    Change-Id: I8b5f36a07f02a1cf5ccccdb1ba1f05818226f4cf
    Reviewed-on: http://review.couchbase.org/9555
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Sep 13, 2011
  2. Initial man page support

    Change-Id: I0e55278d1d019c308eb59c0b9ab12ed7e7c9a19c
    Reviewed-on: http://review.couchbase.org/9269
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Aug 28, 2011
Commits on Sep 12, 2011
  1. Fix options iterator for examples

    Change-Id: If70cc69ff475b2af39fbcdfc8b52a78e19b138ab
    Reviewed-on: http://review.couchbase.org/9517
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    avsej committed with trondn Sep 12, 2011
Commits on Sep 1, 2011
  1. Remove compiler warnings reported by MSDEV

    Change-Id: I1f135cef07785553716b76ffbddd9c6e94eb98ce
    Reviewed-on: http://review.couchbase.org/9333
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Sep 1, 2011
Commits on Aug 31, 2011
  1. Update the NMakefile to include the new files

    And revert part of the code from C99 to C89...
    
    Change-Id: I4ea0b3532c729614944fdcbfa2b8864358b98124
    Reviewed-on: http://review.couchbase.org/9315
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Aug 31, 2011
  2. Fix compile errors on Windows 7 with MSDEV 2010

    Change-Id: I61280812afc7050631cc041f5ad4ed9e6f9ffac2
    Reviewed-on: http://review.couchbase.org/9312
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Aug 31, 2011
  3. Add libcouchbase_strerror

    Change-Id: I603291c1102b068d06ebfb877c2b348ce63e032c
    Reviewed-on: http://review.couchbase.org/9260
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Aug 27, 2011
  4. Add timings api

    The purpose of the timing API is to easily be able to get some
    performance metrics of the operations you're using.
    
    Change-Id: I51cdcfd98640c033ecd5fd63e4bac2930101e2be
    Reviewed-on: http://review.couchbase.org/9064
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    trondn committed Aug 17, 2011
Commits on Aug 30, 2011
  1. Fix compile errors from gcc

    Change-Id: I42a63a6e64a3ec1dd9df8e93755bf34cfce70173
    Reviewed-on: http://review.couchbase.org/9293
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Aug 30, 2011
  2. Download CouchbaseMock as part of make check

    Change-Id: Ifccafdb8214851aa9719b2e186b8cafa0448cdd7
    Reviewed-on: http://review.couchbase.org/9291
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    trondn committed Aug 30, 2011