roll 1.0.3

Change-Id: I3d71edaf79a0393dd76c993d434be99d6996370c
Reviewed-on: http://review.couchbase.org/15786
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Matt Ingenthron <matt@couchbase.com>
account for builders doing a clean checkout

Change-Id: I62c8388c16ba42136525697d82c62af307c8f494
Reviewed-on: http://review.couchbase.org/15787
Tested-by: Matt Ingenthron <matt@couchbase.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
spaces to tabs, php coding standards

Change-Id: I098270f01eeb3c6dc5f98fbee2a396ae4c1ea579
Reviewed-on: http://review.couchbase.org/16125
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
Tested-by: Jan Lehnardt <jan@couchbase.com>
PCBC-65: Implement getResultMessage() and get_result_message()

Change-Id: I3818291fc40ff199514a658f575a6cc4ae7344df
Reviewed-on: http://review.couchbase.org/16182
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
Tested-by: Jan Lehnardt <jan@couchbase.com>
Reviewed-on: http://review.couchbase.org/16858
PCBC-66: null terminate keys in getMulti responses

Change-Id: I7e4ca87e1cd4fa85e32555421fa1fd1adf17cd58
Reviewed-on: http://review.couchbase.org/16144
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Jan Lehnardt <jan@couchbase.com>
Reviewed-on: http://review.couchbase.org/16859
PCBC-67: Add preserve_order flag to getMulti

Change-Id: I6c423d8bc4b483c27a2de3a2ce9872deff9ef1cd
Reviewed-on: http://review.couchbase.org/16181
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Jan Lehnardt <jan@couchbase.com>
Reviewed-on: http://review.couchbase.org/16860
roll 1.0.4

Change-Id: Ie50b1605e6a43c6b092c8ce40b7f177d449ec6a7
Reviewed-on: http://review.couchbase.org/16946
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
Tested-by: Jan Lehnardt <jan@couchbase.com>
PCBC-75: Free persistent structures correctly.

Change-Id: Ib5fce6428f701ab8e9c8bf60b1d9c100bdec2acf
Reviewed-on: http://review.couchbase.org/17386
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Matt Ingenthron <matt@couchbase.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Fixing compiling fatal errors for zlib and functions.

This set of changes corrects size_t to uLongf datatype changes where
they need to be in place (compression with ZLIB). Also, the complete
callback contains an invalid request data type
(libcouchbase_couch_request_t instead of the correct
libcouchbase_http_request_t).

Change-Id: I056a4f5e6852b406d2665ef8dd1a21218bb5a3a6
Reviewed-on: http://review.couchbase.org/19005
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Reviewed-by: Sergey Dobrodey <sergey.dobrodey@synesis.ru>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Merge branch '1.0.x'

* 1.0.x:
  PCBC-75: Free persistent structures correctly.
  roll 1.0.4
  PCBC-67: Add preserve_order flag to getMulti
  PCBC-66: null terminate keys in getMulti responses
  PCBC-65: Implement getResultMessage() and get_result_message()
  spaces to tabs, php coding standards
  account for builders doing a clean checkout
  roll 1.0.3

Conflicts:
	couchbase.c
	php_couchbase.h

Change-Id: I39102fb84cbcdc9d084fb5ee65a240a9b3ea5cbb
Update tests

Change-Id: I8be6a37a3561324435d6dc4f23527e387081df15
Reviewed-on: http://review.couchbase.org/19945
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Release 1.1-0dp3

Change-Id: Ie5a93dc51ff5234b34b8b88ab925bec3774bd66d
Reviewed-on: http://review.couchbase.org/20000
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
PCBC-91: Make view support work for non _all_docs design docs.

The original implementation did only work for _all_docs and not for
other design/view combination. The problem existed, because the URI
for _all_docs is different than for all custom ones. This fix takes
those into account accordingly.

Also adapting a test case where the additional arguments for the
_all_docs design doc are treated differently as all the others.

Also rename test files so that the test ids are incremented properly
(032 was missing).

Change-Id: Ic62cdb8a2a31cdfc127dcf456bb6af76668fb543
Reviewed-on: http://review.couchbase.org/19250
Reviewed-by: Michael Nitschinger <michael@nitschinger.at>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
PCBC-97: Order the returned data correctly.

This fix makes sure that even when data is returned in a different
order (which can happen when running in a cluster setup), the comparison
is still done in the correct order. This prevents tests from failing
randomly even when the returned data is correct.

Change-Id: Ic896451189325cc091c113c6079135dea1b25161
Reviewed-on: http://review.couchbase.org/20162
Reviewed-by: Michael Nitschinger <michael@nitschinger.at>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Allow for multiple hosts to be specified via an array

Change-Id: Ie51cb8bf828b8b57bf6b4388e83144a76f9a4262
Reviewed-on: http://review.couchbase.org/19536
Tested-by: Matt Ingenthron <matt@couchbase.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>

Conflicts:

	couchbase.c

Change-Id: I95707b1ddfe079effc0794298708196f124c6750
Reviewed-on: http://review.couchbase.org/20431
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
Initial refactor due to libcouchbase refactoring

Change-Id: Ib49f5daffe1efbbe77dd091b1cae489cc3f583ec
Reviewed-on: http://review.couchbase.org/20430
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
PCBC-66 revisited

Change-Id: Iecf82fb56fa2fa565830f5179b70b4e2266411d7
Reviewed-on: http://review.couchbase.org/20449
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Fixup the package readme

- The module name is couchbase, not memcached
- Fix line wrapping

Change-Id: I70bd2b3b75a60660f0c64d1b857d2991ad534e03
Reviewed-on: http://review.couchbase.org/20451
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Don't assume that tar == GNU tar

Change-Id: I4c4d4f0dbefd78db61df181d219fe79fe4d0407f
Reviewed-on: http://review.couchbase.org/20452
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Add everyone listed with git log to CREDITS

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