Remove unused files from win32 directory

Nothing uses this.

Change-Id: I9a977b67590c1994d978a8ed710a7857e43bf8d9
Reviewed-on: http://review.couchbase.org/33326
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
cmake/configure: Allow cross compilation

Change-Id: Ib8cfc83bca6e08391c9d216b498b9416a464e602
Reviewed-on: http://review.couchbase.org/33327
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Remove NMakefile. CMake is now the build system for Windows

Change-Id: I5ccf0369a3cfaa57feada3261ce2abe03a6b7aa0
Reviewed-on: http://review.couchbase.org/33311
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
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
Reviewed-on: http://review.couchbase.org/33389
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
UV: Set error status on connect failure

Change-Id: Ic663d241d2ab1852310c4c238060320b3269f3d9
Reviewed-on: http://review.couchbase.org/33390
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Libev: Also check for include/libev

Change-Id: Ie1b2d9a1d902b6033f3cd977a2e0c07c72d0c033
Reviewed-on: http://review.couchbase.org/33391
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
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
Reviewed-on: http://review.couchbase.org/33392
Reviewed-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Add more semantic error functions

This commit adds error 'classifiers' to existing error codes while
maintaining full API/ABI compatibility with existing behavior. The idea
of this commit is to migrate from checking indidivual error codes (i.e.
LCB_ETIMEDOUT or whatever) towards checking error classifiers (i.e.
LCB_EIFNET(e) which function similarly to the WIF* macros for the
POSIX wait() family of functions.

It would be nice to have a file which could maintain backwards
compatibility for older versions of the library (i.e. one that can be
included into the source code of older SDKs) so that we don't have to
rely on the 'lcb_get_errtype' and 2.3

Change-Id: I57e5f595fa0e08f52a64388ab3f76f51aa3deaad
Reviewed-on: http://review.couchbase.org/33406
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Regression tests: Accept CONNECT_ERROR as acceptable for ETIMEDOUT

Change-Id: Iaac29d4e6b23f895755ea5712c26217904c87284
Reviewed-on: http://review.couchbase.org/33393
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
CCCP: connmgr_put on UNKNOWN_COMMAND

Change-Id: I5c5757035291d83294b7810f9e3dda0af90ec133
Reviewed-on: http://review.couchbase.org/33451
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Expose HTTP REST Idle timeout in lcb_cntl

Change-Id: I59d2d68aa13e3132c6d3121baabaee538a18c02a
Reviewed-on: http://review.couchbase.org/33442
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
CCBC-150: Fix callback handling for multiple observe requests

Change-Id: I32b63ed99a3bfc238d72d5c60d048ca88090dca4
Reviewed-on: http://review.couchbase.org/23526
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>