History log of /Couchbase_C_Client_v3.0/cmake/config-cmake.h.in (Results 1 - 22 of 22)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 3.0.0, 3.0.0-beta.2, 3.0.0-beta.1
# b916b7d4 24-Sep-2019 Sergey Avseyev <sergey.avseyev@gmail.com>

Make sure that compiler uses c++11

Change-Id: Ide2230033c2eb0cb748ff4c42579883c835f4c58
Reviewed-on: http://review.couchbase.org/115271
Tested-by: Build Bot <build@couchbase.com>

Make sure that compiler uses c++11

Change-Id: Ide2230033c2eb0cb748ff4c42579883c835f4c58
Reviewed-on: http://review.couchbase.org/115271
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


# 47775232 02-Sep-2019 Sergey Avseyev <sergey.avseyev@gmail.com>

Use CMAKE_SOURCE_DIR instead of "." for srcdir fallback

Change-Id: I64958e8a3950b39076966d4bd6f45e32850cdd00
Reviewed-on: http://review.couchbase.org/114112
Tested-by: Build Bot <bui

Use CMAKE_SOURCE_DIR instead of "." for srcdir fallback

Change-Id: I64958e8a3950b39076966d4bd6f45e32850cdd00
Reviewed-on: http://review.couchbase.org/114112
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


Revision tags: 3.0.0-alpha.5, 2.10.5, 3.0.0-alpha.4, 2.10.4, 3.0.0-alpha.3, 3.0.0-alpha.2, 3.0.0-alpha.1, 2.10.3, 2.10.2, 2.10.1, 2.10.0, 2.9.5, 2.9.4, 2.9.3, 2.9.2, 2.9.1, 2.9.0, 2.8.7, 2.8.6, 2.8.5, 2.8.4, 2.8.3, 2.8.2
# aa927bc8 26-Sep-2017 Sergey Avseyev <sergey.avseyev@gmail.com>

Do not install plugins into libdir

Change-Id: I8ebe254c34723d88983f209c4d1c91d07bd50369
Reviewed-on: http://review.couchbase.org/107218
Tested-by: Build Bot <build@couchbase.com>

Do not install plugins into libdir

Change-Id: I8ebe254c34723d88983f209c4d1c91d07bd50369
Reviewed-on: http://review.couchbase.org/107218
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


# a6e91cea 04-Jul-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

Record build timestamp and show it in cbc-version

Change-Id: I1869b630e53c4d828351fadaffd28c3ef92c07f4
Reviewed-on: http://review.couchbase.org/96497
Tested-by: Build Bot <build@couc

Record build timestamp and show it in cbc-version

Change-Id: I1869b630e53c4d828351fadaffd28c3ef92c07f4
Reviewed-on: http://review.couchbase.org/96497
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Ellis Breen <ellis.breen@couchbase.com>

show more ...


# 9249c3cf 13-Jun-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-943: Implement option to dump TCP packets

This change introduces new cmake option, which will
force library to report all incoming/outgoing TCP packets on
TRACE log level. It re

CCBC-943: Implement option to dump TCP packets

This change introduces new cmake option, which will
force library to report all incoming/outgoing TCP packets on
TRACE log level. It renders the bytes in Base64 encoding.

Also there is simple extraction tool, which beautifies
packet traces, and could be used like this:

cbc cat -vvv foo bar 2>&1 | tools/extract-packets.rb

Change-Id: I9c65a1932b80438d49739b9d4983a8f8e4f72cf7
Reviewed-on: http://review.couchbase.org/95544
Reviewed-by: Ellis Breen <ellis.breen@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


# 40ff8088 09-Apr-2018 Guillaume Molleda / Amadeus IT Group <gmolleda@amadeus.com>

CCBC-685: Implementation of SCRAM-SHA authentication mechanism

Please refer to RFC 5802 for a complete description of the SCRAM-SHA
authentication sequence.

Basically, the purpo

CCBC-685: Implementation of SCRAM-SHA authentication mechanism

Please refer to RFC 5802 for a complete description of the SCRAM-SHA
authentication sequence.

Basically, the purpose is to base the authentication on exchanges of
proofs of identity rather than passwords (in clear text or not). Proofs
are hashed using a salted password (the salt being provided by the
server) and random nonces (unique to the session), so that only peers
knowing the secret password can acknowledge them.

The authentication is performed in five steps.

Step 1: the client sends the username and his nonce (unique to this
session).

Step 2: the server returns its nonce (concatenated with the client's
nonce), the salt and an iteration count (used when computing the
salted password).

Step 3: the client computes the client's proof from a combination of the
password, the salt, the iteration count and the previous
messages (cf RFC 5802 for the complete details). It is sent back
to the server.

Step 4: the server verifies the validity of the client's proof and
generates its own proof based also on the password, the salt,
the iteration count and a concatenation of previous messages.
This proof is replied to the client as acknowledgement of the
authentication.

Step 5: the client can verify the validity of the server's proof. The
authentication is successful.

Three versions of SCRAM-SHA algorithm are currently available:
SCRAM-SHA1, SCRAM-SHA256 and SCRAM-SHA512, the difference being on the
strength of the hashing. SCRAM-SHA512 is considered as more secure now,
so it is used as default by this implementation.

This implementation was tested over a Couchbase cluster 4.6.2
(enterprise version).

Here is a real example of SCRAM-SHA512 authentication exchange made
between the mininal example and the 4.6.2 cluster (captured using
tcpdump):

Msg 1 (client->server):
n,,n=test,r=0c0d2b1a62de9318

Msg 2 (server->client):
r=0c0d2b1a62de9318660590ff26368002,s=bGkVWZUpi3OgnkzskW+8YlB7LyFrwETeWI+1seQ+0Y4oP4/FditP6DE/oQ0qdrSKFC4VVlkkSaW34EyhGHzEzA==,i=4096

Msg 3 (client->server):
c=biws,r=0c0d2b1a62de9318660590ff26368002,p=f3UTCdYt5pgb5LvkZsdM97crONf7+k8iFZP5/26Z8pIB75I/++L/Vy5FMfAsSDaLNiAo00bzpSz3SFZ9qzR3yw==

Msg 4 (server->client):
v=i6R3vC0ul0V4XW/jIC1dtayEGPeYBVudp1ay8Ai9R9Mup96B2aP8weU58+C2orgWKPRW0IWGPUMXIW7py/Sfrw==

Proofs and salt are encoded in Base64.

Other examples can be found in the unit tests (t_scram.cc file).

Please note that we rely on OpenSSL for the implementation of SHA, HMAC
and PBKDF2 algorithms. If OpenSSL is not linked (or if OpenSSL doesn't
implement PBKDF2), then SCRAM-SHA* authentication mecanisms are disabled
(only CRAM-MD5 and PLAIN will be used).

Change-Id: I4353e791c5e773b8c2fe31b335a05b10d9d499c8
Reviewed-on: http://review.couchbase.org/92497
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


# f38fdb3f 03-Apr-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

Move feature macro into windows section

Fixes build on windows where gettimeofday is missing

Change-Id: Ib1b12cfb4ce5243a838bdf468e21a50630e23779
Reviewed-on: http://review.couc

Move feature macro into windows section

Fixes build on windows where gettimeofday is missing

Change-Id: Ib1b12cfb4ce5243a838bdf468e21a50630e23779
Reviewed-on: http://review.couchbase.org/92045
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Ellis Breen <ellis.breen@couchbase.com>

show more ...


# 5f74c319 29-Mar-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

Fix compile errors on win-x86 builds

Change-Id: I28ed859d2c60a49d004231b73ae793b3b9a8f009
Reviewed-on: http://review.couchbase.org/91852
Tested-by: Build Bot <build@couchbase.com>

Fix compile errors on win-x86 builds

Change-Id: I28ed859d2c60a49d004231b73ae793b3b9a8f009
Reviewed-on: http://review.couchbase.org/91852
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


# 63dc64d5 23-Feb-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

Use rand() when g++ does not support C++11

Change-Id: I3ce7cd07aa8df9f4db695169256cfb1bc3a39d28
Reviewed-on: http://review.couchbase.org/90001
Tested-by: Build Bot <build@couchbase.c

Use rand() when g++ does not support C++11

Change-Id: I3ce7cd07aa8df9f4db695169256cfb1bc3a39d28
Reviewed-on: http://review.couchbase.org/90001
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


# 63b51e13 23-Feb-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

windows: use config.h in snappy-stubs-public.h

Change-Id: I2e22cfcd67f90c35f2fde3102585e6a706208f40
Reviewed-on: http://review.couchbase.org/89952
Tested-by: Build Bot <build@couchba

windows: use config.h in snappy-stubs-public.h

Change-Id: I2e22cfcd67f90c35f2fde3102585e6a706208f40
Reviewed-on: http://review.couchbase.org/89952
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


# 7273dbd9 01-Feb-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-883: Compress all types of the request buffers

This now handles IO vectors too.

Ability to link with external snappy has been removed
because this feature requires C++ inte

CCBC-883: Compress all types of the request buffers

This now handles IO vectors too.

Ability to link with external snappy has been removed
because this feature requires C++ interfaces of the snappy.

Change-Id: I9b94829bf011437eb5d805759c256a01e96984fc
Reviewed-on: http://review.couchbase.org/88713
Reviewed-by: Mike Goldsmith <goldsmith.mike@gmail.com>
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Ellis Breen <ellis.breen@couchbase.com>

show more ...


# 371502c8 20-Dec-2017 Sergey Avseyev <sergey.avseyev@gmail.com>

Carefully detect snappy version for cbc-version

Some snappy builds might not include version information into
snappy-stubs-public.h, display version from pkg-config in this
case

Carefully detect snappy version for cbc-version

Some snappy builds might not include version information into
snappy-stubs-public.h, display version from pkg-config in this
case

Change-Id: I6c07d7ba98c98af8d7ac0264a6b775edc65355c4
Reviewed-on: http://review.couchbase.org/87090
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


# fea58e03 11-Dec-2017 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-883: Update snappy support

Also adds support of compression for cbc

Change-Id: I5f240c711e37f47a8102f4eb084dab97deefebfb
Reviewed-on: http://review.couchbase.org/86654

CCBC-883: Update snappy support

Also adds support of compression for cbc

Change-Id: I5f240c711e37f47a8102f4eb084dab97deefebfb
Reviewed-on: http://review.couchbase.org/86654
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


# 1ac7c332 27-Nov-2017 Sergey Avseyev <sergey.avseyev@gmail.com>

Include platform/compiler into client id

Client ID included into HELLO message, and also in HTTP requests
as the User-Agent header.

Change-Id: I342e80dd59fa08bb417b3a7844adc88c9

Include platform/compiler into client id

Client ID included into HELLO message, and also in HTTP requests
as the User-Agent header.

Change-Id: I342e80dd59fa08bb417b3a7844adc88c9b01fbbf
Reviewed-on: http://review.couchbase.org/86011
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


Revision tags: 2.8.1, 2.8.0, 2.7.7, 2.7.6
# 989398cd 23-Jun-2017 Sergey Avseyev <sergey.avseyev@gmail.com>

Fix BadPluginEnvironment test on Fedora where libm.so is ld script

Change-Id: Ifb190c63fa2a743e2b937e81ca262876d02cfb35
Reviewed-on: http://review.couchbase.org/79976
Tested-by: Buil

Fix BadPluginEnvironment test on Fedora where libm.so is ld script

Change-Id: Ifb190c63fa2a743e2b937e81ca262876d02cfb35
Reviewed-on: http://review.couchbase.org/79976
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


Revision tags: 2.7.5, 2.7.4, 2.7.3, 2.7.2, 2.7.1, 2.7.0, 2.6.4, 2.6.3, 2.6.2, 2.6.1, 2.6.0, 2.5.8, 2.5.7, 2.5.6, 2.5.5, 2.5.4, 2.5.3, 2.5.2, 2.5.1, 2.5.0, 2.4.9, 2.4.8, 2.4.7
# 0fb123d8 30-Jan-2015 Mark Nunberg <mnunberg@haskalah.org>

CCBC-566: DNS SRV support

This adds DNS SRV lookups for bootstrapping. This is provided in two
forms:

1. When there is only a single hostname with no port. This is called

CCBC-566: DNS SRV support

This adds DNS SRV lookups for bootstrapping. This is provided in two
forms:

1. When there is only a single hostname with no port. This is called
implicit lookup
2. When the scheme `couchbase+dnssrv://` is used. This is an explicit
mode and is considered internal to the library.

In both cases the input hostname will be selected and attempted for a DNS SRV
query. If it succeeds, then the hosts use for the query will be
returned. If the query fails, implicit mode will continue, using the
hostname as a couchbase node, whereas explicit mode will fail. Explicit
mode is useful for debugging the dns srv feauture itself.

Currently support depends on either Windows (which works "out of the
box") and libbind/libresolv, which come bundled with glibc on both OS X
and Linux. This may fail to function on very ancient systems; in which
event these routines are stubbed out with no-op equivalents.

Change-Id: I0d54b63c1e6cef64e5a09280343e9aba24ed7a80
Reviewed-on: http://review.couchbase.org/46177
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: buildbot <build@couchbase.com>

show more ...


# 2cec3ee9 27-Jan-2016 Dave Rigby <daver@couchbase.com>

Add option to use HdrHistogram for timings

As an alternative to the existing timings histogram, this patch adds
support for using HdrHistogram[1] instead. This is a well-known
librar

Add option to use HdrHistogram for timings

As an alternative to the existing timings histogram, this patch adds
support for using HdrHistogram[1] instead. This is a well-known
library which has much better dynamic range histograms than the
current implementation, and makes it easy to produce latency curves
for a set of operations - e.g. [2].

To use, build with LCB_USE_HDR_HISTOGRAM.

Example output (cropped), which can be loaded into [2] to produce graphs:

Value Percentile TotalCount 1/(1-Percentile)

159615.000 0.000000 1 1.00
432895.000 0.100000 103 1.11
649727.000 0.200000 202 1.25
867327.000 0.300000 300 1.43
<cut>
2631679.000 0.981250 982 53.33
2641919.000 0.984375 985 64.00
3258367.000 0.985938 988 71.11
3258367.000 0.987500 988 80.00
3596287.000 0.989062 990 91.43
4255743.000 0.990625 991 106.67
6152191.000 0.992188 993 128.00
6152191.000 0.992969 993 142.22
6385663.000 0.993750 994 160.00
6455295.000 0.994531 997 182.86
6455295.000 0.995313 997 213.33
6455295.000 0.996094 997 256.00
6455295.000 0.996484 997 284.44
6455295.000 0.996875 997 320.00
6463487.000 0.997266 1000 365.71
6463487.000 1.000000 1000 inf
#[Mean = 1338618.880, StdDeviation = 797795.505]
#[Max = 6463487.000, Total count = 1000]
#[Buckets = 25, SubBuckets = 2048]

[1]: http://hdrhistogram.github.io/HdrHistogram/
[2]: http://hdrhistogram.github.io/HdrHistogram/plotFiles.html

Change-Id: I6f422c7daa43ac6c48f211feaf1caf9833167542
Reviewed-on: http://review.couchbase.org/59137
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Mark Nunberg <mark.nunberg@couchbase.com>

show more ...


Revision tags: 2.4.6, 2.4.5
# 7d6f83cc 29-Nov-2014 Mark Nunberg <mnunberg@haskalah.org>

fix up config.h generation: Standard headers are always included...

- We don't need to check if standard C headers (string.h, limits.h) etc.
exist
- Check for some stuff we didn't

fix up config.h generation: Standard headers are always included...

- We don't need to check if standard C headers (string.h, limits.h) etc.
exist
- Check for some stuff we didn't include before (i.e. inttypes.h)

Change-Id: Ie92ffe75e319133518fee357cd69a762a665dc3a
Reviewed-on: http://review.couchbase.org/43789
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


# a2e7681f 27-Nov-2014 Mark Nunberg <mnunberg@haskalah.org>

CMake: Remove some extraneous definitions for autotools

This removes some definitions from the compiler line which shouldn't
really be needed for building with CMake

Change-Id:

CMake: Remove some extraneous definitions for autotools

This removes some definitions from the compiler line which shouldn't
really be needed for building with CMake

Change-Id: Ic358ce1c48e89010ffe14292f16c3e64cf11a597
Reviewed-on: http://review.couchbase.org/43717
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>

show more ...


Revision tags: 2.4.4
# f89bffab 04-Nov-2014 Mark Nunberg <mnunberg@haskalah.org>

CMake: Set LCB_LIBDIR in config.h

This makes the compilation line less noisy

Change-Id: I1c491b55077edb974ade362f15a664391f4fa8a5
Reviewed-on: http://review.couchbase.org/42773

CMake: Set LCB_LIBDIR in config.h

This makes the compilation line less noisy

Change-Id: I1c491b55077edb974ade362f15a664391f4fa8a5
Reviewed-on: http://review.couchbase.org/42773
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>

show more ...


Revision tags: 2.4.3
# 611b3a1e 18-Oct-2014 Mark Nunberg <mnunberg@haskalah.org>

Include <arpa/inet.h> when checking for htonll

Otherwise we clobber htonll in OS X Yosemite

Change-Id: Ica6b24e6752e7f4d68974ea613d460d8b94bacea
Reviewed-on: http://review.couch

Include <arpa/inet.h> when checking for htonll

Otherwise we clobber htonll in OS X Yosemite

Change-Id: Ica6b24e6752e7f4d68974ea613d460d8b94bacea
Reviewed-on: http://review.couchbase.org/42283
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


Revision tags: 2.4.2, 2.4.1, 2.4.0, 2.4.0-beta, 2.3.2, 2.4.0-dp1, 2.3.1, 2.3.0, 2.3.0-dp2
# e1ad8c50 15-Jan-2014 Mark Nunberg <mnunberg@haskalah.org>

Re-organize CMakeLists

The goal here is to make our code and build system more modular, with
the ultimate aim of being able to -theoretically- ship some components
as being standalon

Re-organize CMakeLists

The goal here is to make our code and build system more modular, with
the ultimate aim of being able to -theoretically- ship some components
as being standalone.

The first step is trying to untangle the build process - where multiple
modules can be built independently into shared or static archives and
then linked ultimately into their resultant objects.

The second step is to eliminate the NMakefile

Currently supported:

- Plugin builds (libev, libuv, libevent)
- Tools (cbc, pillowfight)
- Tests (unit-test, smoke-test, check-all)
- SOVERSION
- DLL Version information
- config.h generation
- Fat binary builds (OS X)
- Maintainer mode

TODO:

- Make things completely out of tree. Currently the configuration.h
header is still being generated inside the tree
- Better facilities for downloading the mock server
- Create source tarballs
- Create windows zipfiles and/or installers

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

show more ...