History log of /6.0.3/couchdb/src/snappy/ (Results 1 - 24 of 24)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: v4.6.0, v4.5.0
1fc9a81f09-Mar-2016 Volker Mische <vmx@couchbase.com>

CBD-1453: Rebuild when header files change

Whenever an Erlang header file changes, rebuild the corresponding
Erlang files. This isn't an automated process, but you need to pass
in th

CBD-1453: Rebuild when header files change

Whenever an Erlang header file changes, rebuild the corresponding
Erlang files. This isn't an automated process, but you need to pass
in the header files a project should depend on manually. For simplicity
sometimes more headers are use than strictly needed. We rather rebuild
more than having a broken incremental build.

Change-Id: Iae6d0a9043ed1b74f2c104d9b251f45715ac04fd
Reviewed-on: http://review.couchbase.org/61152
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>

show more ...

4bd0f4c503-Mar-2016 Volker Mische <vmx@couchbase.com>

MB-17420 Don't use GLOB to find source/test files

Instead of using globbing, it's better to name the files
explicitely. That way incremental builds work.

Change-Id: I1b47c61b0f5

MB-17420 Don't use GLOB to find source/test files

Instead of using globbing, it's better to name the files
explicitely. That way incremental builds work.

Change-Id: I1b47c61b0f524e5576d4111075516d923f039a6f
Reviewed-on: http://review.couchbase.org/60856
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

e575934e05-Oct-2015 Dave Rigby <daver@couchbase.com>

MB-16435: OS X: Add correct rpath for NIFs

Add explicit runtime linker search paths to couch_ejson_compare,
mapreduce and snappy NIFs, so they can locate their runtime library
depend

MB-16435: OS X: Add correct rpath for NIFs

Add explicit runtime linker search paths to couch_ejson_compare,
mapreduce and snappy NIFs, so they can locate their runtime library
dependancies without an external DYLD_LIBRARY_PATH being set (which is
no longer possible from OS X 10.11 "El Capitan" onwards).

Change-Id: I6758b86e345b71f7b5c84aa95aefcd0b599f5f95
Reviewed-on: http://review.couchbase.org/55755
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

96f3e86108-Jan-2015 Trond Norbye <trond.norbye@gmail.com>

Remove unused files.

Change-Id: Ifdc9a884736f58bd1c243e7e587ab5f426b42924
Reviewed-on: http://review.couchbase.org/45057
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Vo

Remove unused files.

Change-Id: Ifdc9a884736f58bd1c243e7e587ab5f426b42924
Reviewed-on: http://review.couchbase.org/45057
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...

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

Build using CMake

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

Build using CMake

Change-Id: If0f29acdd08ff8b148a5362f3a6fb4d6a5be901c
Reviewed-on: http://review.couchbase.org/32799
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

Revision tags: 2.1.1r, 2.1.0r, 2.0.2r, 2.0.1-linux, 2.0.0-couchbase
c2629cd420-Oct-2012 Farshid Ghods <farshid.ghods@gmail.com>

MB-6969 add snappy-stubs-public.h.in to snappy dist target

Change-Id: I111d01a73aa44df2defb477ee4c0f1a5d1d31888
Reviewed-on: http://review.couchbase.org/21801
Reviewed-by: Trond Norb

MB-6969 add snappy-stubs-public.h.in to snappy dist target

Change-Id: I111d01a73aa44df2defb477ee4c0f1a5d1d31888
Reviewed-on: http://review.couchbase.org/21801
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Farshid Ghods <farshid@couchbase.com>
Tested-by: Farshid Ghods <farshid@couchbase.com>

show more ...

55973d4b04-Oct-2012 Filipe David Borba Manana <fdmanana@apache.org>

Don't allocate binary buffer with 0 bytes

For the standard C library, the behaviour of calling malloc
to allocate a bufer with 0 bytes is implementation specific.
Some implementation

Don't allocate binary buffer with 0 bytes

For the standard C library, the behaviour of calling malloc
to allocate a bufer with 0 bytes is implementation specific.
Some implementations return a valid pointer while others
return a NULL pointer.

It's not clear if the same problem can happen directly with
enif_alloc_binary(), or if its implementation can result in
an malloc call for 0 bytes.

Nevertheless it's safer to start with an initial binary buffer
size greater than zero.

Change-Id: I282d4fab6d86be478d0cd5233c433e4b25b6e5eb
Reviewed-on: http://review.couchbase.org/21340
Reviewed-by: Damien Katz <damien@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

e385caee04-Oct-2012 Filipe David Borba Manana <fdmanana@apache.org>

Don't release binary after it's transferred to a term

If compression is successful, the binary containing the
compressed content is transferred to an Erlang term.
Yet, the destructor

Don't release binary after it's transferred to a term

If compression is successful, the binary containing the
compressed content is transferred to an Erlang term.
Yet, the destructor of the compression sink class will
release the binary - while this doesn't seem to cause
any problem, the OTP man pages don't mention if it's safe
to release a binary that was transferred to an Erlang term.
All the OTP man pages say is that a binary is freed by
either calling enif_release_binary or enif_make_binary,
giving the idea they are mutually exclusive operations.

Change-Id: I341f685973031ae13b71daacd3febaf358c2f3be
Reviewed-on: http://review.couchbase.org/21339
Reviewed-by: Aaron Miller <apage43@ninjawhale.com>
Tested-by: Aaron Miller <apage43@ninjawhale.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

2ff437c804-May-2012 Bin Cui <bin.cui@gmail.com>

MB-5240 run msbuild from cmd.exe

The generated msbuild.bat doesn't have execution permission.

Change-Id: I885bda71888fde0cf1a5f5700cedfd3c6b3da6d8
Reviewed-on: http://review.cou

MB-5240 run msbuild from cmd.exe

The generated msbuild.bat doesn't have execution permission.

Change-Id: I885bda71888fde0cf1a5f5700cedfd3c6b3da6d8
Reviewed-on: http://review.couchbase.org/15661
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>

show more ...

0baa8d8308-Feb-2012 Damien Katz <damien@couchbase.com>

Making doc_info and body info simpler, for use by couchstore

Simplifying the storage to only store a single body, with content_meta
type to determine if json or raw binary (and why it's

Making doc_info and body info simpler, for use by couchstore

Simplifying the storage to only store a single body, with content_meta
type to determine if json or raw binary (and why it's not json), and if compressed.

We are now snappy compressing all persisted erlang terms, doc bodies must be
compressed in a separate step.

Removing couch_btree_nif, as we will be using a native updater in ep-engine.

Change-Id: I6822bbc271861748049bca5ebac7ca0f5fe816d4
Reviewed-on: http://review.couchbase.org/13090
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...

64b0284f24-Jan-2012 Bin Cui <bin.cui@gmail.com>

Fix build error

Change-Id: I3a3d8e2cb4bde917c529a92b88466a1fcb38727c
Reviewed-on: http://review.couchbase.org/12635
Tested-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Farshid Ghod

Fix build error

Change-Id: I3a3d8e2cb4bde917c529a92b88466a1fcb38727c
Reviewed-on: http://review.couchbase.org/12635
Tested-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
Reviewed-by: Steve Yen <steve.yen@gmail.com>

show more ...

9c24e77b18-Jan-2012 Trond Norbye <trond.norbye@gmail.com>

Update snappy to 1.0.4

Ideally we shouldn't bundle snappy, but rather check for an installed
version. The old version failed to compile on my Solaris sparc box,
and upgrading to 1.0.

Update snappy to 1.0.4

Ideally we shouldn't bundle snappy, but rather check for an installed
version. The old version failed to compile on my Solaris sparc box,
and upgrading to 1.0.4 solved the problem. It would have been nice to
do that outside a couchdb change ;)

Change-Id: I04ce05f5af65ae7c9346ad4bcb2affdc3854122a
Reviewed-on: http://review.couchbase.org/12481
Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Bin Cui <bin.cui@gmail.com>

show more ...

cb00312424-Nov-2011 Bin Cui <bin.cui@gmail.com>

MB-4470 Build ejson and snappy on windows

Change-Id: I983f29aeee5fc4f312a3e68bd71a65deab015cf8
Reviewed-on: http://review.couchbase.org/11160
Reviewed-by: Steve Yen <steve.yen@gmail.

MB-4470 Build ejson and snappy on windows

Change-Id: I983f29aeee5fc4f312a3e68bd71a65deab015cf8
Reviewed-on: http://review.couchbase.org/11160
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>

show more ...

Revision tags: couchbase_1.2.0
e336352007-Oct-2011 Aliaksey Kandratsenka <alk@tut.by>

catch bad_alloc exception by reference

As it should be always done. Otherwise it's copied via copy
constructor.

Change-Id: Ic6a06c7f91864cabeafeefffb8739d4d4269a5d0
Reviewed

catch bad_alloc exception by reference

As it should be always done. Otherwise it's copied via copy
constructor.

Change-Id: Ic6a06c7f91864cabeafeefffb8739d4d4269a5d0
Reviewed-on: http://review.couchbase.org/9994
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

8500bb8b07-Oct-2011 Aliaksey Kandratsenka <alk@tut.by>

delete-trailing-whitespace on snappy_nif.cc

Change-Id: If75afa801686ba57c2c589987536bea0811e4c26
Reviewed-on: http://review.couchbase.org/9993
Tested-by: Aliaksey Kandratsenka <alkon

delete-trailing-whitespace on snappy_nif.cc

Change-Id: If75afa801686ba57c2c589987536bea0811e4c26
Reviewed-on: http://review.couchbase.org/9993
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

Revision tags: couchbase_1.1.2, couchbase_1.1.2a
4532bd1017-Jun-2011 Filipe David Manana <fdmanana@apache.org>

Upgrade snappy to version 1.0.3

This version adds some speedups for decompression.
See: http://code.google.com/p/snappy/source/browse/trunk/NEWS

Change-Id: I24e90076c6757a6f34b8

Upgrade snappy to version 1.0.3

This version adds some speedups for decompression.
See: http://code.google.com/p/snappy/source/browse/trunk/NEWS

Change-Id: I24e90076c6757a6f34b8ffe1e0746bdecfb5d5fa
Reviewed-on: http://review.couchbase.org/7059
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

1e32e5e920-Jun-2011 Bin Cui <bin.cui@gmail.com>

Build snappy module under cygwin/mingw environment

Change-Id: I756f2787626a3482622195f8c7a00682a7104f5d
Reviewed-on: http://review.couchbase.org/7003
Reviewed-by: Steve Yen <steve.ye

Build snappy module under cygwin/mingw environment

Change-Id: I756f2787626a3482622195f8c7a00682a7104f5d
Reviewed-on: http://review.couchbase.org/7003
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>

show more ...

40514ade03-May-2011 Paul Joseph Davis <davisp@apache.org>

Minor cleanup to the snappy Makefile.am



git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1099105 13f79535-47bb-0310-9956-ffa450edef68

360fe64303-May-2011 Filipe David Borba Manana <fdmanana@apache.org>

Module local functions shouldn't be inside the extern "C" block


git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1099048 13f79535-47bb-0310-9956-ffa450edef68

f73d95f003-May-2011 Filipe David Borba Manana <fdmanana@apache.org>

Added missing static qualifier, and inline hint, to internal functions

g++ 4.4.5 with -Winline says that only make_error is not inlined since calls to it
are unlikely.



Added missing static qualifier, and inline hint, to internal functions

g++ 4.4.5 with -Winline says that only make_error is not inlined since calls to it
are unlikely.



git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1099030 13f79535-47bb-0310-9956-ffa450edef68

show more ...

ac67408c02-May-2011 Paul Joseph Davis <davisp@apache.org>

Fix compatibility with R13B04



git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1098719 13f79535-47bb-0310-9956-ffa450edef68

9fb3decf02-May-2011 Paul Joseph Davis <davisp@apache.org>

Refactored snappy NIF.



git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1098691 13f79535-47bb-0310-9956-ffa450edef68

043bf50b02-May-2011 Filipe David Borba Manana <fdmanana@apache.org>

Fix `make distcheck`

Thanks Randall Leeds for finding out that the backslash was missing.
This is related to COUCHDB-1120.



git-svn-id: https://svn.apache.org/repos/asf

Fix `make distcheck`

Thanks Randall Leeds for finding out that the backslash was missing.
This is related to COUCHDB-1120.



git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1098670 13f79535-47bb-0310-9956-ffa450edef68

show more ...

e2e8554d02-May-2011 Filipe David Borba Manana <fdmanana@apache.org>

Add configurable file compression (snappy, deflate or none)

Not only this makes database and view index files smaller it also increases
database read/write performance, view index genera

Add configurable file compression (snappy, deflate or none)

Not only this makes database and view index files smaller it also increases
database read/write performance, view index generation (specially for large
documents and/or documents with nested JSON structures) and compaction.
Closes COUCHDB-1120.




git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1098558 13f79535-47bb-0310-9956-ffa450edef68

show more ...