CMake: Link static libstdc++ and gcc for exes

This way stuff will work without having to tote around a manual copy of
mingw's libraries

Change-Id: Ie80b742f2e10960acdddb8a2339dc64704dc43fc
Reviewed-on: http://review.couchbase.org/33332
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
CMakeLists: Allow building of static libcouchbase

Change-Id: Iada81a450e83daa98c08223bfe1bb258baf8c397
Reviewed-on: http://review.couchbase.org/33333
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
CMake: use HAVE_* rather than *_FOUND for plugins

Change-Id: I7a82c23af5dffe34e809fbd841eaef09dab54060
Reviewed-on: http://review.couchbase.org/33334
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Beef up test reporting with CMakeLists

Change-Id: Ic71b907d0c9eacc17bd64059280b0013be37226b
Reviewed-on: http://review.couchbase.org/33349
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Don't ensure plugins on win32

Change-Id: I1686cafb219d0610f3e82b5f864b7496c2f5405c
Reviewed-on: http://review.couchbase.org/33350
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
gtest: Don't use EQ/NE on iterators

This fails on VC9, see
https://groups.google.com/forum/#!msg/googletestframework/TI4wPTamEFE/-Wyu5esv0v8J

Change-Id: I1f7e098fd35f839926b4a741a069a62cbd5ef48e
Reviewed-on: http://review.couchbase.org/33351
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Don't link plugin_select twice

- Remove plugin-select.c from source file list
- Make select lib PIC

Change-Id: I962e0fb0c9a08c567b715a53ed9b9675d16ff09e
Reviewed-on: http://review.couchbase.org/33352
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Set proper output name for binary packages

Change-Id: I44c806909df766ecff1d2b389a40274375170fbe
Reviewed-on: http://review.couchbase.org/33353
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Don't call connection_success from v1_connect

Status is _always_ indicated from within the callback and never from
within the return of the connect function itself

Change-Id: I43c90d91b3161d5154e759b198550d64272ed8e0
UV: Set error status on connect failure

Change-Id: Ic663d241d2ab1852310c4c238060320b3269f3d9
Libev: Also check for include/libev

Change-Id: Ie1b2d9a1d902b6033f3cd977a2e0c07c72d0c033
CCBC-152: Allow to check for existence of a key

This adds a new version to the observe command structure which allows to
specify that the request be made to the master only.

Change-Id: I96debd0a14586c0a0578b968759d92b3420a0ac7
Add keystats (WIP)

Change-Id: I4dac61bb232a93200bd3e6ec4af9b12b319645dc
Regression tests: Accept CONNECT_ERROR as acceptable for ETIMEDOUT

Change-Id: Iaac29d4e6b23f895755ea5712c26217904c87284