Render auth credentials for View requests

Change-Id: Ic2461ea79d80f6c04c834737d7d67d7baf95e782
Reviewed-on: http://review.couchbase.org/18932
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Update metadata for release 1.1.0dp9

The shared object should be 7.0.1 and the library version number should be
set to 1.1.0dp9

Change-Id: I940229747fb0a49569e86923ea5d7b7191acd0d6
Reviewed-on: http://review.couchbase.org/18963
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Fix compile errors caused by sign issues

Change-Id: Idd3ae85cd345ef122eed7f1efe5c4db36ab07db1
Reviewed-on: http://review.couchbase.org/19020
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
CCBC-89: Release the memory allocated by the http parser

Change-Id: I63976ba0ffd19ce1e67a3ab18e7900ec3a13581d
Reviewed-on: http://review.couchbase.org/19082
Reviewed-by: Federico Casares <warptrosse@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Remove unused code

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

Change-Id: Id9d84c86808f09890901787a0d541bd91aa2df44
Reviewed-on: http://review.couchbase.org/19337
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
The threshold for expiration is 30 days

https://github.com/membase/memcached/blob/7aed1faec/daemon/memcached.c#L199

Change-Id: I8e938fa38241117dda061415c844add29f08ce34
Reviewed-on: http://review.couchbase.org/19338
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
CCBC-90 Fix initialization of backup nodes array

The code switching nodes relies on NULL terminator rather than nbackup_nodes
variable

Change-Id: I4de693d64ece6d5f72415c53c0fcd09d1f13b7bd
Reviewed-on: http://review.couchbase.org/19339
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Run some of the mock tests through gtest

Started to move some of the tests that use the mock
to gtest. This will make it easier to get code coverage
numbers etc in the future. Ideally we'd be using an
external mock (not started through the tests) with
a reset command

Change-Id: If43a974fe0819c8b870e9b058a3fc5a2b1924b89
Reviewed-on: http://review.couchbase.org/19298
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Fix memory leak in config-test

Change-Id: Ibf47673f6a6d056f5f92bccd91690e37fa197b76
Reviewed-on: http://review.couchbase.org/19357
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Remove double_free_test macros

Change-Id: I07b36e1916a1e91cc8f6bb27883b31bafacaf606
Reviewed-on: http://review.couchbase.org/19358
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Move plugins to separate sub directories

Change-Id: I288cf6de90b3e42391353aa852b63adda33f19b9
Reviewed-on: http://review.couchbase.org/19321
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Fix problem with allocating too few slots in the backup_nodes

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

Change-Id: I95ad7f5e79a5ebbdca5ca8203175759a9a367856
Reviewed-on: http://review.couchbase.org/19353
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Fix make dist target

Change-Id: I163ad6011acc5ac8fe6a012d1c14a8376f054623
Reviewed-on: http://review.couchbase.org/19359
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Remove unused include

Change-Id: I7621148e7156b19b80aae7d4f6912eaaa3360b76
Reviewed-on: http://review.couchbase.org/19364
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Move 'plugin headers' to a local directory

Change-Id: I4a0d4c4e64dc399cee96f88f836601dab775aede
Reviewed-on: http://review.couchbase.org/19365
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Fix build with libyajl available

Change-Id: I1c8283311d31e6922ddc215d37b7c438cd43d9f1
Reviewed-on: http://review.couchbase.org/19394
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Fix win32 build (Add strings.h)

Change-Id: I6ba65445302244d62c54561b0a69bbe47309e70e
Reviewed-on: http://review.couchbase.org/19395
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Add --enable-m32 and --enable-m64

Change-Id: If48709b6958478e1f9373f52778d17a525ffd5a2
Reviewed-on: http://review.couchbase.org/19398
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>