Permalink
Switch branches/tags
Nothing to show
Commits on Dec 12, 2012
  1. Really ignore.

    ingenthr committed Dec 12, 2012
    Change-Id: I653e98ce67552f3181c5a091a3049c4b2cc4b35c
  2. Redirect to the new location.

    ingenthr committed Dec 12, 2012
    Change-Id: I345b7b4040c39a670606eb6e53208eb9f12c9503
  3. Minor typo and correction to README.

    ingenthr committed with mnunberg Dec 12, 2012
    Change-Id: Ic3a5be21ef591e583ded0cd9004f4ed3c812e559
    Reviewed-on: http://review.couchbase.org/23224
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
Commits on Dec 11, 2012
  1. Updated release tool to go with new repo based build.

    ingenthr committed Dec 11, 2012
    Change-Id: Ie4550ae990863c848eaf6d682194339874cee1b8
    Reviewed-on: http://review.couchbase.org/23215
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
  2. Release 1.1.0.

    ingenthr committed Dec 11, 2012
    See official release notes here:
    http://www.couchbase.com/docs/couchbase-sdk-php-1.1/couchbase-sdk-php-rn.html
    
    Change-Id: I604d901a9b53d621a7a521145aef17de8ef7f0df
    Reviewed-on: http://review.couchbase.org/23212
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  3. Simplify the touch code

    trondn committed with ingenthr Dec 11, 2012
    Try to separate the PHP logic and the libcouchbase logic.
    I've separated the multi-get and single get operation because
    they only share a small subset of logic.. (and that piece
    could in theory be refactored to a common part if we want).
    
    Change-Id: I4b0c89e110aa4d96f9dc7cba24bc89838356c1d3
    Reviewed-on: http://review.couchbase.org/23201
    Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
  4. Refactor: Use common function for reporting errors

    trondn committed with ingenthr Dec 11, 2012
    This removes the if (oo) { throw exception } else { }
    
    Change-Id: I0c4943913a5cebf24e46af8f6df5b926083cb8c8
    Reviewed-on: http://review.couchbase.org/23196
    Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Tested-by: Matt Ingenthron <matt@couchbase.com>
  5. Remove compiler warnings

    trondn committed Dec 11, 2012
    warning: format string is not a string literal
             (potentially insecure) [-Wformat-security]
    
    Change-Id: I68e4f688b9e50729f7533e9d77351e4711f0e557
    Reviewed-on: http://review.couchbase.org/23193
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
Commits on Dec 6, 2012
  1. PCBC-150: make default view timeout 75s

    trondn committed Dec 6, 2012
    The default connection_timeout on the server is still 60
    seconds, but this timer will kill the request if we've not
    gotten a reply within 75 secs (normally we'll get a reply
    from the server if it times out on that side)
    
    Change-Id: Ice4c6d01127d989f5d0ef243562b25a013029da4
    Reviewed-on: http://review.couchbase.org/23118
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Dec 5, 2012
  1. PCBC-159 Fix incorrect timeouts

    trondn committed with avsej Dec 5, 2012
    The code that decoded the information in the observe response
    didn't interpret the values correctly. The ttr and ttp fields
    are not related to the document itself, but _AVERAGE_ values
    for the cluster.
    
    Change-Id: I897e8a651b449a6e5ad15f063cc184a67e4ae438
    Reviewed-on: http://review.couchbase.org/23103
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  2. Refactor: move the touch part of get to getAndTouch

    trondn committed Dec 5, 2012
    Change-Id: Idb8b91c0661574a987875087ba362c9688a3d398
    Reviewed-on: http://review.couchbase.org/23081
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  3. Let get and getAndLock be two different commands

    trondn committed Dec 4, 2012
    Change-Id: Ib719eb6bbdade400043e81a353917aa993d402aa
    Reviewed-on: http://review.couchbase.org/23060
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  4. PCBC-160: Buckets may be configured with too many replicas

    trondn committed Dec 5, 2012
    By default it creates the default bucket with a single replica,
    but you need to add a server in order to be able to fulfill
    this. The php test suite fails unless you have at least
    two nodes in your cluster (unless you configured the cluster
    correctly)
    
    Change-Id: I58e69e3b09d6e877ab2dd05d1dfab76cb34e584a
    Reviewed-on: http://review.couchbase.org/23080
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  5. Regenerate phpt tests

    mnunberg committed with trondn Dec 5, 2012
    Change-Id: I3459b4d617774f90ed969e6383bd87a80307a907
    Reviewed-on: http://review.couchbase.org/23077
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  6. Fix observe test for max durability spec

    mnunberg committed with trondn Dec 5, 2012
    Test was using the number of servers as the number of possible persist
    nodes, when in fact this figure should only be replicas + 1 (master)
    
    Change-Id: I8f6852a98175bdecf7b527b48ffe40e80559c255
    Reviewed-on: http://review.couchbase.org/23076
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Dec 4, 2012
  1. Add information on how to contribute to the driver

    trondn committed Dec 4, 2012
    Change-Id: Icf1e1233eb6f9df9e3e8238ee6668584f5a86101
    Reviewed-on: http://review.couchbase.org/23034
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  2. PCBC-52 Add support for unlock

    trondn committed Dec 4, 2012
    Change-Id: I5f69134f4a26028bc4b5b7a3cff67ff4dc90781c
    Reviewed-on: http://review.couchbase.org/23028
    Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  3. PCBC-153: move flush function to RESTful flush

    trondn committed Dec 3, 2012
    Note that this change require the connection to be
    provided with credentials (username, password and bucket name)
    
    Change-Id: If8b33e57a9dac7469d654c84f67386d5cbd08e31
    Reviewed-on: http://review.couchbase.org/23014
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  4. Fix buildrelated problems

    trondn committed Dec 4, 2012
    Change-Id: If7b37582a25e31fecb7574839cb5443505789d4c
    Reviewed-on: http://review.couchbase.org/23025
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
Commits on Dec 3, 2012
  1. Fix the error message thrown from storing too big item

    trondn committed Dec 3, 2012
    Change-Id: I47dfffede1a73bdfdc5e7edd319e574a46eb5dc2
    Reviewed-on: http://review.couchbase.org/23016
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
  2. Beef up options code

    trondn committed Nov 30, 2012
    Change-Id: Iebecddda38eabd0fcefffe0571c78eb225269956
    Reviewed-on: http://review.couchbase.org/22945
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  3. Sort file listing

    trondn committed Nov 30, 2012
    Change-Id: I17bdc8c0c31b2d90e435fbb06679cfa7c334e681
    Reviewed-on: http://review.couchbase.org/22944
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  4. refactor: move version to separate file

    trondn committed Nov 30, 2012
    Change-Id: I677e0f4bbf34250d0aa5bc190389b61d714b0f6a
    Reviewed-on: http://review.couchbase.org/22937
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  5. move stats to a separate file

    trondn committed Nov 30, 2012
    Change-Id: I0ec0bfea5ccb161b0a36a66020092ea70008e3f8
    Reviewed-on: http://review.couchbase.org/22935
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  6. Simplify flush logic

    trondn committed Nov 29, 2012
    Change-Id: I2c550897080370831de640492d60ee2ff5ae0393
    Reviewed-on: http://review.couchbase.org/22904
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  7. PCBC-83 - Add persist_to and replicate_to

    trondn committed Nov 23, 2012
    This replace the observe parameter for the object oriented
    variants for add, set, replace, cas, setMulti and delete
    
    Change-Id: Idcba1502371de680c4212065d56cfb7272ca0460
    Reviewed-on: http://review.couchbase.org/22712
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Commits on Dec 1, 2012
  1. Simplify arithmetic implementation

    trondn committed Nov 27, 2012
    Change-Id: Iab30b3f722afe93260394ac4cfec0a6354f55eaf
    Reviewed-on: http://review.couchbase.org/22846
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Nov 23, 2012
  1. Add scope for observe_polling_internal

    trondn committed Nov 23, 2012
    Change-Id: I82379ad45f60a82a50d8dbf6a3c7621d719ea647
    Reviewed-on: http://review.couchbase.org/22776
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
  2. Add definition of PHP_COUCHBASE_UNUSED for all compilers

    trondn committed Nov 23, 2012
    Previously it was only defined for win32 & gcc > 4
    
    Change-Id: Ie2fabecc0673a815c94a8a9a54e7b2cd76b71c8c
    Reviewed-on: http://review.couchbase.org/22771
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Commits on Nov 22, 2012
  1. Refactor: move exceptions out of management

    trondn committed Nov 21, 2012
    We should be able to utilize them from everywhere in the code
    
    Change-Id: I79e4579223e6f9f084d3ac637f76921b6784dc9e
    Reviewed-on: http://review.couchbase.org/22706
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Nov 21, 2012
  1. Catch the correct exception type in test

    trondn committed Nov 21, 2012
    Change-Id: I605a3881a3eec0d28d8e6952294d46c6fa5816c8
    Reviewed-on: http://review.couchbase.org/22705
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  2. Fixup whitespace

    trondn committed with avsej Nov 21, 2012
    Run astyle on the code to enforce our coding style guide
    
    Change-Id: Idf5eb41cafe1ec481ea91706ba2170723e01d818
    Reviewed-on: http://review.couchbase.org/22700
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  3. Add comment sections used by editors

    trondn committed with avsej Nov 21, 2012
    Given that the source use TAB for indentation we need
    (or at least I need) the editor to render the TAB character
    with an indent of 4.
    
    Change-Id: I79a5f5a763bc195c8da786e46d27c3f71b74029f
    Reviewed-on: http://review.couchbase.org/22699
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Nov 20, 2012
  1. Fixed build error from recent changeset.

    brett19 committed with avsej Nov 20, 2012
    Change-Id: I9e4c2daa3c8050c456b35f7e8731b1d6ff90d642
    Reviewed-on: http://review.couchbase.org/22687
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  2. Centralized json functions

    mnunberg committed with trondn Nov 20, 2012
    -- I'm not sure we even support 5.2, but it's rather useful to have
    
    Change-Id: I84da543a48f1d69b59db4b2141ba3ecf3fb44a7a
    Reviewed-on: http://review.couchbase.org/22662
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>