History log of /3.1.0/platform/ (Results 1 - 25 of 62)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: v6.0.3, v5.5.4, v5.5.0, v4.6.5, v5.0.0, v4.6.0, v4.6.0-DP, v4.5.1-MP1, v4.5.1, v4.5.0, v4.1.0, v3.1.2, v3.0.3
7c10b1f507-Mar-2015 Mike Wiederhold <mikewied06@gmail.com>

Revert "[Backport] XCode 6 contains ntohll"

This reverts commit 4ddd9305ee97e6e78fad4557765eb02916f383d7.

Change-Id: I082030cff6c21e253a0186e0b4b8b61a7a5cecae
Reviewed-on: http:

Revert "[Backport] XCode 6 contains ntohll"

This reverts commit 4ddd9305ee97e6e78fad4557765eb02916f383d7.

Change-Id: I082030cff6c21e253a0186e0b4b8b61a7a5cecae
Reviewed-on: http://review.couchbase.org/47892
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

Revision tags: v3.1.6
4ddd930520-Oct-2014 Trond Norbye <trond.norbye@gmail.com>

[Backport] XCode 6 contains ntohll

Change-Id: I019c708c8ea2c7794fbb1d34d039c56b076573b1
Reviewed-on: http://review.couchbase.org/47628
Reviewed-by: Trond Norbye <trond.norbye@gmail.c

[Backport] XCode 6 contains ntohll

Change-Id: I019c708c8ea2c7794fbb1d34d039c56b076573b1
Reviewed-on: http://review.couchbase.org/47628
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...

Revision tags: v3.0.0
2a6d25c529-Jul-2014 Trond Norbye <trond.norbye@gmail.com>

MB-11842: Fix compile failure on win32

Change-Id: I2f0ed680a6e2c96ef70c2847516bf505bbcc9b7e
Reviewed-on: http://review.couchbase.org/40020
Reviewed-by: Trond Norbye <trond.norbye@gma

MB-11842: Fix compile failure on win32

Change-Id: I2f0ed680a6e2c96ef70c2847516bf505bbcc9b7e
Reviewed-on: http://review.couchbase.org/40020
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

0fc7ad8824-Jul-2014 jim <jim@couchbase.com>

[MB-11548] Memcached does not handle going back in time.

Add a new cb_time method that allow for a platform independent way of
obtaining a monotonic second time value.

Add a new

[MB-11548] Memcached does not handle going back in time.

Add a new cb_time method that allow for a platform independent way of
obtaining a monotonic second time value.

Add a new cb_time method that abstracts gettimeofday (even if we do reimplement
gettimeofday for Win32).

The new cb_get_timeofday method has a related cb_set_timeofday_offset that enables easier
testing of time-shift bugs.

Change-Id: Ib24d628c5d58e7e9236c4635fff966875053b45d
Reviewed-on: http://review.couchbase.org/39811
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

4051222e25-Jun-2014 Nimish Gupta <nimish@couchbase.com>

MB-11443 Add function for setting binary mode

Adding a new function platform_set_binary_mode to set
the mode to binary. It is mainly useful for windows.

Change-Id: Ie6133546358d

MB-11443 Add function for setting binary mode

Adding a new function platform_set_binary_mode to set
the mode to binary. It is mainly useful for windows.

Change-Id: Ie6133546358d48a5953cf5f9c927c2ad9fdd2b0f
Reviewed-on: http://review.couchbase.org/38794
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

3c2a3ebf06-Jun-2014 Trond Norbye <trond.norbye@gmail.com>

Terminate on error

Change-Id: Ic174369301d05cc67f32138b6a76d7f5426df8ab
Reviewed-on: http://review.couchbase.org/37958
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-b

Terminate on error

Change-Id: Ic174369301d05cc67f32138b6a76d7f5426df8ab
Reviewed-on: http://review.couchbase.org/37958
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

0367eff716-Apr-2014 Aliaksey Kandratsenka <alk@tut.by>

MB-10800: avoid overflow computing cb_cond_timedwait wakeup time

tv_sec is usually long. Which is usually 32-bit on 32-bit
machines. And multiplying it by 1000, even if final result is

MB-10800: avoid overflow computing cb_cond_timedwait wakeup time

tv_sec is usually long. Which is usually 32-bit on 32-bit
machines. And multiplying it by 1000, even if final result is
uint64_t, is still performed as 32-bit computation on 32-bit boxes.

Clearly, multiplying current unix-epoch time by 1000 overflows 32-bit.

The fix is to simply convert tv_sec to uint64_t before multiplication
which ensures that it's computed using 64-bit arithmetics.

Change-Id: I13f6a6413bd3b452dfce98eb68fcb1f5daa7f58d
Reviewed-on: http://review.couchbase.org/35919
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

b8af0d5e10-Apr-2014 Trond Norbye <trond.norbye@gmail.com>

MB-10817: Add JSON_checker as a separate library

Change-Id: I6cfc71e09d9e643ffa986feb038efa5a6c5579ad
Reviewed-on: http://review.couchbase.org/35547
Reviewed-by: Trond Norbye <trond.

MB-10817: Add JSON_checker as a separate library

Change-Id: I6cfc71e09d9e643ffa986feb038efa5a6c5579ad
Reviewed-on: http://review.couchbase.org/35547
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

21763e5d09-Apr-2014 Trond Norbye <trond.norbye@gmail.com>

Fixup cb_assert macro

Change-Id: Ic568c91bdecf52849744879a22cc48c292ef4cde
Reviewed-on: http://review.couchbase.org/35489
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Teste

Fixup cb_assert macro

Change-Id: Ic568c91bdecf52849744879a22cc48c292ef4cde
Reviewed-on: http://review.couchbase.org/35489
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

1a1499c326-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Use calloc/strdup instead of own impl

Assigning to/from a void pointer is allowed per def in the
spec, so casting it is bogus

Change-Id: I2a8df4509b8d7b609daeeb0275b51f86e611f49

Use calloc/strdup instead of own impl

Assigning to/from a void pointer is allowed per def in the
spec, so casting it is bogus

Change-Id: I2a8df4509b8d7b609daeeb0275b51f86e611f496
Reviewed-on: http://review.couchbase.org/34930
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

326f98f626-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Don't use 0 for NULL in C

It may be desirable in C++, but not in C

Change-Id: I2d1c376f62563b4ed038e447f591e5afa10e15b8
Reviewed-on: http://review.couchbase.org/34929
Tested

Don't use 0 for NULL in C

It may be desirable in C++, but not in C

Change-Id: I2d1c376f62563b4ed038e447f591e5afa10e15b8
Reviewed-on: http://review.couchbase.org/34929
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

8dbb822a26-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Fixup CMakeLists.txt

Made the tests binary names consistent by using - and not _

Change-Id: I30701fee272f582e4cb9499df8c1ec0755956bd7
Reviewed-on: http://review.couchbase.org/34

Fixup CMakeLists.txt

Made the tests binary names consistent by using - and not _

Change-Id: I30701fee272f582e4cb9499df8c1ec0755956bd7
Reviewed-on: http://review.couchbase.org/34931
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

d8848c1f25-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Make the code more readable

Previously the code used a lot of long singleline,
brace-less expressions. This patch runs it through
astyle making it look more like the rest of our

Make the code more readable

Previously the code used a lot of long singleline,
brace-less expressions. This patch runs it through
astyle making it look more like the rest of our
code and add {}

Change-Id: I7fed1d791ed63d1b538b4fe792c18d57247cac4a
Reviewed-on: http://review.couchbase.org/34896
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

c16eedf925-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Reorder checks in parse_value

Run the fastest checks first before doing function calls

Change-Id: I6a012ad2d8d35bbfa6593454c3251c98e12f6f52
Reviewed-on: http://review.couchbase.

Reorder checks in parse_value

Run the fastest checks first before doing function calls

Change-Id: I6a012ad2d8d35bbfa6593454c3251c98e12f6f52
Reviewed-on: http://review.couchbase.org/34892
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

06cfe07625-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Add simple test program to bench the cJSON parser

Change-Id: I96dbff05e909fb55f1eca9c96666962beecf038c
Reviewed-on: http://review.couchbase.org/34891
Tested-by: buildbot <build@couch

Add simple test program to bench the cJSON parser

Change-Id: I96dbff05e909fb55f1eca9c96666962beecf038c
Reviewed-on: http://review.couchbase.org/34891
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

70415c5325-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Untabify and add hints to emacs

Change-Id: Ia185733321efc3a8bc5cea368e556a1dc0547288
Reviewed-on: http://review.couchbase.org/34890
Tested-by: buildbot <build@couchbase.com>
Revi

Untabify and add hints to emacs

Change-Id: Ia185733321efc3a8bc5cea368e556a1dc0547288
Reviewed-on: http://review.couchbase.org/34890
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

206738a221-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Added CMake PROJECT setting

Change-Id: I68402a5cf21bcfe1bc7dfa590ad863e4c67f5f1e
Reviewed-on: http://review.couchbase.org/34767
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Te

Added CMake PROJECT setting

Change-Id: I68402a5cf21bcfe1bc7dfa590ad863e4c67f5f1e
Reviewed-on: http://review.couchbase.org/34767
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Chris Hillery <ceej@couchbase.com>

show more ...

8e95411820-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Install cJSON.dll

Change-Id: I8339bbcac0ff7cf51a0f5a4d35e27a69a67326bb
Reviewed-on: http://review.couchbase.org/34740
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by

Install cJSON.dll

Change-Id: I8339bbcac0ff7cf51a0f5a4d35e27a69a67326bb
Reviewed-on: http://review.couchbase.org/34740
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

21dc447818-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Add cJSON from libvbucket

Change-Id: I86813432919dbb8bbc42ee4efdc86393039b0806
Reviewed-on: http://review.couchbase.org/34637
Tested-by: buildbot <build@couchbase.com>
Reviewed-b

Add cJSON from libvbucket

Change-Id: I86813432919dbb8bbc42ee4efdc86393039b0806
Reviewed-on: http://review.couchbase.org/34637
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

dfb6769817-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Add cb_assert()

Change-Id: I11f1a6c8d95968040c80ddd87d6b43ace4f45c7b
Reviewed-on: http://review.couchbase.org/34581
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by

Add cb_assert()

Change-Id: I11f1a6c8d95968040c80ddd87d6b43ace4f45c7b
Reviewed-on: http://review.couchbase.org/34581
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

4aae569d26-Feb-2014 Trond Norbye <trond.norbye@gmail.com>

Allow the project to be built standalone

* Define all CMake macros used
* Add headerfiles to targets to make the visual
studio projects easier to navigate in

This informat

Allow the project to be built standalone

* Define all CMake macros used
* Add headerfiles to targets to make the visual
studio projects easier to navigate in

This information is used by the project settings

Change-Id: I0610ba57388c1f32141401486e1c26cb2e8ff034
Reviewed-on: http://review.couchbase.org/33929
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

75a175c527-Jan-2014 Trond Norbye <trond.norbye@gmail.com>

Remove unused variable

Change-Id: If481d02392446e62cff0d17a28e660a841365554
Reviewed-on: http://review.couchbase.org/32862
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Test

Remove unused variable

Change-Id: If481d02392446e62cff0d17a28e660a841365554
Reviewed-on: http://review.couchbase.org/32862
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

efb25dad17-Jan-2014 Trond Norbye <trond.norbye@gmail.com>

Include cstring to get strerror

Change-Id: Id5f603490d6505997bd7886fa7bf665fd4566dc4
Reviewed-on: http://review.couchbase.org/32601
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

Include cstring to get strerror

Change-Id: Id5f603490d6505997bd7886fa7bf665fd4566dc4
Reviewed-on: http://review.couchbase.org/32601
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

fc705f7917-Jan-2014 Trond Norbye <trond.norbye@gmail.com>

Add a C++ interface to the random generators

Change-Id: I30b9a943a7a1fd20495adb8ac735209e0c7444ee
Reviewed-on: http://review.couchbase.org/32590
Reviewed-by: Chiyoung Seo <chiyoung@c

Add a C++ interface to the random generators

Change-Id: I30b9a943a7a1fd20495adb8ac735209e0c7444ee
Reviewed-on: http://review.couchbase.org/32590
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

4f9c608d15-Jan-2014 Trond Norbye <trond.norbye@gmail.com>

Don't install header files unless told so

Change-Id: I3e1139d2433b8c4a817e8f3e9e41e76c62444cfb
Reviewed-on: http://review.couchbase.org/32436
Reviewed-by: Trond Norbye <trond.norbye@

Don't install header files unless told so

Change-Id: I3e1139d2433b8c4a817e8f3e9e41e76c62444cfb
Reviewed-on: http://review.couchbase.org/32436
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

123