Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 9, 2015
  1. @mnunberg

    Refactor basic KV api for lcb3 API

    mnunberg authored mnunberg committed
    This makes the code smaller and clearer to read. WIP since we still need
    to change the callback interfaces as well.
    
    Change-Id: Ie8f6fcc1f2f922833db17a348bd12ad820ae9824
    Reviewed-on: http://review.couchbase.org/41314
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
  2. @mnunberg

    Refactor KV callbacks to use lcb3 API

    mnunberg authored mnunberg committed
    Change-Id: I0519dd0565665cc0520cf03663a079e105e64e58
    Reviewed-on: http://review.couchbase.org/41315
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
Commits on Jun 2, 2015
  1. @mnunberg

    PYCBC-286: Document async nature better

    mnunberg authored mnunberg committed
    This documents the internal nature of the AsyncBucket class as well as
    provides a low level description of how it may be used.
    
    Change-Id: Ie65fe7421a29b63fb91d9b979bc8b74aefbcd3e7
    Reviewed-on: http://review.couchbase.org/51573
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
  2. @mnunberg

    PYCBC-289: Geometry field is optional for spatial results

    mnunberg authored mnunberg committed
    Change-Id: I8d17c36b0b749ddbc395c386742d3eb81df12667
    Reviewed-on: http://review.couchbase.org/51647
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
  3. @mnunberg

    PYCBC-287: Add mention of logging to api docs

    mnunberg authored mnunberg committed
    Change-Id: Ibdca8dc59d2641abf7a72b8b1d2d0da8b9bdb988
    Reviewed-on: http://review.couchbase.org/51572
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
Commits on May 29, 2015
  1. @mnunberg

    PYCBC-288: Add administrative cluster methods to Admin class

    mnunberg authored mnunberg committed
    Change-Id: I0b6f3120dc504d28d8e62a0b127c884a46bfb5b0
    Reviewed-on: http://review.couchbase.org/51429
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
Commits on May 26, 2015
  1. @mnunberg

    Use API3 for HTTP code

    mnunberg authored mnunberg committed
    Change-Id: I6682cc2bdcfccf21d085ba5a023499c904bc9be1
    Reviewed-on: http://review.couchbase.org/51428
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  2. @mnunberg

    Refactor ConnectionString class

    mnunberg authored mnunberg committed
    This may be useful in the future
    
    Change-Id: Ice70f8f95ff88bd2cccb20d3a17796beffdb098b
    Reviewed-on: http://review.couchbase.org/51426
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  3. @mnunberg

    Silence doc warnings

    mnunberg authored mnunberg committed
    Apparently this magic directive silences most of the warnings
    encountered when building docs. See
    http://stackoverflow.com/questions/12206334/sphinx-autosummary-toctree-contains-reference-to-nonexisting-document-warnings
    
    Change-Id: I228ac191972b15f64d73f0934a1ccbb5453a04cb
    Reviewed-on: http://review.couchbase.org/51427
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
Commits on May 19, 2015
  1. @mnunberg

    Fix wrong kw arg for .incr_multi back-compat

    mnunberg authored mnunberg committed
    See #27
    
    Change-Id: I483c17c1a9f7b422103fa2a604b9b0fb633e1602
    Reviewed-on: http://review.couchbase.org/51218
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
  2. @mnunberg

    rename: connection, arithmetic C files...

    mnunberg authored mnunberg committed
    To their proper names in the API, that is, bucket and counter
    
    Change-Id: I07e5f21916ee09c57885cc269f37bc429f297729
    Reviewed-on: http://review.couchbase.org/51219
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
Commits on May 11, 2015
  1. @mnunberg

    PYCBC-285: Fix wrong encoding of named parameters

    mnunberg authored mnunberg committed
    This also adds some encoding tests that were missing.
    
    Change-Id: Ia79203f7c9110c90af07aa34f379d5a538321b24
    Reviewed-on: http://review.couchbase.org/50779
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  2. @mnunberg

    Fix docs configuration

    mnunberg authored mnunberg committed
    - Update copyright to include 2015
    - Change from 'default' to 'classic' theme (warns otherwise in newer
      versions)
    
    Change-Id: I48445395fdc51b287bc85cfcd1b98e73d25dc2ab
    Reviewed-on: http://review.couchbase.org/50778
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  3. @mnunberg

    Provide more references to spatial views in docs

    mnunberg authored mnunberg committed
    I realized that it was a bit difficult to determine how spatial views
    are queried.
    
    Change-Id: Ie9975bcc4aeb2de0bf9cf350f43158fe02b510d7
    Reviewed-on: http://review.couchbase.org/50780
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
Commits on Apr 29, 2015
  1. @mnunberg

    Add 'docloader' example

    mnunberg authored mnunberg committed
    This functions somewhat like cbdocloader
    
    Change-Id: Id59486d91ac657f90eeb00dff714c4adc0140ea0
    Reviewed-on: http://review.couchbase.org/50158
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
Commits on Apr 24, 2015
  1. @mnunberg

    PYCBC-284: Document flush() method

    mnunberg authored mnunberg committed
    Change-Id: I3ebd11fc89a18a3482bba6d970d481a307c9ab4f
    Reviewed-on: http://review.couchbase.org/50159
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
Commits on Apr 23, 2015
  1. @mnunberg

    N1QL Refactor/Touchups

    mnunberg authored mnunberg committed
    This commit adds more N1QL documentation and changes the API to be a bit
    nicer (including docs).
    
    Main changes are using Python internally for creating the parameters
    (rather than lcb_N1QLPARAMS), and removing the 'N1QLRow' class which
    didn't really do anything.
    
    Change-Id: I915903225168d0c30d0156fa4d24e1ed882756a6
    Reviewed-on: http://review.couchbase.org/50069
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
Commits on Apr 8, 2015
  1. @mnunberg

    Don't do -std=c89 -pedantic on travis builds

    mnunberg authored mnunberg committed
    We now use va_copy which is not C89 strictly speaking (but still works
    on various platforms).
    
    Change-Id: I890615389910ef9dbdc1d56c72b6d4040eb16b97
    Reviewed-on: http://review.couchbase.org/49383
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
Commits on Apr 7, 2015
  1. @mnunberg

    Don't try to reinitialize mock if it failed before

    mnunberg authored mnunberg committed
    This makes test runs be shorter if there's something wrong with the
    mock.
    
    Change-Id: I0f4281252ebbb3c6adbd76ff984c002b2754af59
    Reviewed-on: http://review.couchbase.org/49339
    Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
Commits on Apr 1, 2015
  1. @mnunberg

    Always add /usr/local to paths on Macs

    mnunberg authored mnunberg committed
    This allows virtualenv to work properly
    
    Change-Id: Idd4339c287ab8359ee9e39121ca7adbed3f10bbe
    Reviewed-on: http://review.couchbase.org/48755
    Tested-by: Michael Wiederhold <mike@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
Commits on Mar 30, 2015
  1. @mnunberg

    importer: do not dump exception modules

    mnunberg authored mnunberg committed
    Still commented out so I can quickly enable it later on
    
    Change-Id: I7350ab9cec7411969107f4c00816e4fc7a29cafc
    Reviewed-on: http://review.couchbase.org/48938
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  2. @mnunberg

    PYCBC-281: Fix typo in exception docs

    mnunberg authored mnunberg committed
    Change-Id: I7bb99f2560e602612d0d0f044a8cd4399334b2b6
    Reviewed-on: http://review.couchbase.org/48937
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
  3. @mnunberg

    Add 'split_results()' method to CouchbaseException

    mnunberg authored mnunberg committed
    This will allow for simpler and more idiomatic error handling with multi
    operations.
    
    Change-Id: I6d6951002818c0a261857bc70097ae326dadf1be
    Reviewed-on: http://review.couchbase.org/48748
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  4. @mnunberg

    More windows build fixes

    mnunberg authored mnunberg committed
    This time I've actually verified the code builds on Windows.
    
    Change-Id: I0ae962b5e86f0c1a4fd6cabf813c498510f4c637
    Reviewed-on: http://review.couchbase.org/48807
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  5. @mnunberg

    mockserver: set upper limit to wait for initialization

    mnunberg authored mnunberg committed
    This fixes issues of hanging tests due to missing or corrupt JAR files
    (which is sometimes the case when auto-downloading the mock fails).
    We rely on the mock connecting to a listening socket (created in the
    Python process) - so place a maximum time on waiting for an incoming
    connection. This allows the tests not to hang if the mock can't connect
    (usually because Java exits "immediately" due to an error).
    
    Change-Id: I683cd42bbef8728423dfaa8069b1b72c5b963602
    Reviewed-on: http://review.couchbase.org/48812
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
Commits on Mar 25, 2015
  1. @mnunberg

    ext.c: Fix windows build failure (declaration-before-code)

    mnunberg authored mnunberg committed
    Change-Id: I10fc9024258fe15e05baa0f687c5b4d5d9658eb4
    Reviewed-on: http://review.couchbase.org/48754
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  2. @mnunberg

    Log handler should use PyUnicode_* functions

    mnunberg authored mnunberg committed
    The PyString_ function used does not work on Py3
    
    Change-Id: I59cb01e8d4d34fa345880003cf8ec59f41a5d6b9
    Reviewed-on: http://review.couchbase.org/48751
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  3. @mnunberg

    Accept (and warn for) older 1.x constructor options

    mnunberg authored mnunberg committed
    We should allow older options such as timeout, but with a warning.
    
    Change-Id: I1da611558236f7767873ee42fa2250842da0821d
    Reviewed-on: http://review.couchbase.org/48749
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Volker Mische <volker.mische@gmail.com>
Commits on Mar 23, 2015
  1. @mnunberg

    Readme fixes

    mnunberg authored mnunberg committed
    - Fix links
    - Declare proper version dependency on 2.4.7
    
    Change-Id: I6a757cfd267c24779bc72412da7cc08d0b89a7e9
    Reviewed-on: http://review.couchbase.org/48391
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
Commits on Mar 17, 2015
  1. @mnunberg

    Allow integration with Python's `logging` module

    mnunberg authored mnunberg committed
    This commit adds a 'couchbase.enable_logging()' method to integrate
    libcouchbase's logging with the logging from Python's standard library.
    
    Change-Id: I4532d1af1c96bd19d92526b13c93c738aee30ebf
    Reviewed-on: http://review.couchbase.org/48355
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
Commits on Mar 3, 2015
  1. @mnunberg

    Add get_row_doc function to extract doc from row

    mnunberg authored mnunberg committed
    This allows an opaque interface to access the embedded doc (fetched via
    lcb).
    
    Change-Id: I7b9169a525c4a428f7f1e4bd5f73e0e5277d6e84
    Reviewed-on: http://review.couchbase.org/47625
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
Commits on Mar 2, 2015
  1. @mnunberg

    N1QL Async API

    mnunberg authored mnunberg committed
    Change-Id: I88792706088e80d7614ac11abfd22fbccdd8ddf7
    Reviewed-on: http://review.couchbase.org/47403
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
Commits on Feb 26, 2015
  1. @mnunberg

    Make async view classes function as mixins

    mnunberg authored mnunberg committed
    This will allow better code reuse with N1QL
    
    Change-Id: I05cf01f96a7c8e3981673310f670e97cfcca1675
    Reviewed-on: http://review.couchbase.org/47402
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  2. @mnunberg

    More python3 fixes

    mnunberg authored mnunberg committed
    Python3's dict.keys() method returns a magic iterator which doesn't
    support indexed lookups. This commit provides an abstraction for this.
    
    Change-Id: I8e6e0b73adea1c80bec7cf26ca313b64052ac99a
    Reviewed-on: http://review.couchbase.org/47401
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
  3. @mnunberg

    Add documentation for _cntlstr

    mnunberg authored mnunberg committed
    Change-Id: I53ce0032858500d1cb8821de18ac68058a2054b6
    Reviewed-on: http://review.couchbase.org/47346
    Reviewed-by: Dave Rigby <daver@couchbase.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
    Tested-by: Mark Nunberg <mark.nunberg@couchbase.com>
Something went wrong with that request. Please try again.