Fixed missing CAS from remove.

Change-Id: Id13aeff026c74863b4b1ab377deb892e6bce0051
Reviewed-on: http://review.couchbase.org/22981
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Fixed bug in observe unit test.

Change-Id: Ia7005f87a8763d9756650c0282ecb71b183da9ee
Reviewed-on: http://review.couchbase.org/23036
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Added CAS handling to endure function.

Change-Id: Ic5151bbde9ad29cd94a08609b95282b7c07dcaad
Reviewed-on: http://review.couchbase.org/23033
Tested-by: Brett Lawson <brett19@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
JSCBC-5: Change writeability notifications to async_t

Refactor from uv_prepare_t to uv_async_t. This ensures that write
notification requests made from within a different prepare phase ends up
being delivered immediately after control is returned from the (non-lcb)
prepare callback

Change-Id: Ib8fc34847f3855707c9968456e296422887af086
Reviewed-on: http://review.couchbase.org/22908
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
JSCBC-6: Assertion failure during socket dtor

Change-Id: I6205e4b2f6bde2163d0cc8ee2b45388e0b8e9f69
Reviewed-on: http://review.couchbase.org/23059
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
JSCBC-7: treat undefined as null during creation

Change-Id: Ibc88cf6526f4aca4c3ba3a76c354dc7df64d8e46
Reviewed-on: http://review.couchbase.org/23057
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Update npm version number

Change-Id: I0744a0d71e5c74b38cc22278122c7f8a62561d22
Reviewed-on: http://review.couchbase.org/23089
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Fix bug with CAS comparison in endure.

Change-Id: Ic130362a845afacf5ff3f614c6fd3b3a14e07033
Reviewed-on: http://review.couchbase.org/23058
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Correct error in handling meta flags/expiry values.

Change-Id: If98bfb3b954d816d1d60311a6dd81f778cac5a40
Reviewed-on: http://review.couchbase.org/23098
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Implement missing touch functionality.

Change-Id: I310219cff9084fbb12c9692b74ad21336ef40c98
Reviewed-on: http://review.couchbase.org/23104
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Update npm version number

Change-Id: I161e1b75806b8c318109e792fec6da3b87c22491
Reviewed-on: http://review.couchbase.org/23106
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Set the test timeout to 10 sec

I had some spurious test timeout failures depending on the
current load on the system (on a build server). Guess I can
live with waiting an extra 9 secs for a test failure in a
hanging test.

Change-Id: Ieb662afdd0cecb97b2d0b608225d37ec8a245e51
Reviewed-on: http://review.couchbase.org/23115
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Fixup view test

It'll still most likely fail on clusters with more than one
node given that the views are populated asynchronously.

Change-Id: I75fcc40715b429741f47b3f695fa69712242e633
Reviewed-on: http://review.couchbase.org/23116
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Remove compile warning

Change-Id: I65d13f13439f59211ed33bc2099e4715e12c3941
Reviewed-on: http://review.couchbase.org/23343
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Added prepend and append with a test

Change-Id: I024a62417852d327d264cb6153cdc1303e8aeec6
Reviewed-on: http://review.couchbase.org/23470
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Update AUTHORS

Change-Id: I7e9a1ec51d7ae5d740a203966a4ec05a1bcd6676
Reviewed-on: http://review.couchbase.org/23495
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Update package data

Change-Id: If53ec3f1fe28e5055bee4c3a7122a4afcbbcd886
Reviewed-on: http://review.couchbase.org/23496
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Added id to the error for a multi get

Added id to the error for a multi get so that the error could be
matched with the key

Change-Id: Ia0c2236f0889d384d4cd562b00bab5706bc45bf7
Reviewed-on: http://review.couchbase.org/23610
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Added a doJsonConversions parameter

Default value is true. This is set in your config parameter
(i.e. {host:"localhost:8091", bucket:"default",
doJsonConversions:false})

Setting this to false means that couchnode will no longer stringify
and parse documents. It will have to be done before passing in the
docs.

Change-Id: Ibd82295dafe3b5370d78991a5f3760061a07976e
Reviewed-on: http://review.couchbase.org/23611
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Added some important information about contributing and fixed some typos

Change-Id: I48f9d8d8f092ad36ddbfc018adec2a7de33ce68e
Reviewed-on: http://review.couchbase.org/23852
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>