History log of /5.5.2/couchdb/src/ejson/ (Results 1 - 23 of 23)
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 ...

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
6b9fa5f103-Oct-2012 Aaron Miller <apage43@ninjawhale.com>

MB-6773 Follow new JSON rules

* There are no longer reserved field prefixes.
* We allow any JSON value, not just arrays or objects.

from_binary is also used mostly by the CAPI

MB-6773 Follow new JSON rules

* There are no longer reserved field prefixes.
* We allow any JSON value, not just arrays or objects.

from_binary is also used mostly by the CAPI layer, in order to get a doc
record from a ID/Body pair, and should not bother compressing docs, as
they will immediately be decompressed anyway.

Change-Id: Ib1d1dbeffd0d05cd91c86078ec84cbd4410b05dc
Reviewed-on: http://review.couchbase.org/21324
Reviewed-by: Damien Katz <damien@couchbase.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Aaron Miller <apage43@ninjawhale.com>

show more ...

2c4b88c413-Aug-2012 Filipe David Borba Manana <fdmanana@apache.org>

MB-6096 Use enif_alloc()/enif_free() in ejson decoder

Change-Id: I783148245b59b2134322f8a3c69fa251a86a475b
Reviewed-on: http://review.couchbase.org/19553
Reviewed-by: Filipe David Bo

MB-6096 Use enif_alloc()/enif_free() in ejson decoder

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

show more ...

b935f38e25-Jun-2012 Chris Anderson <jchris@couchbase.com>

CBD-456 Separate document body and meta arguments to map function

Sends non-JSON values as byte arrays for the 'doc' argument.
Numbers and ascii text can be decoded trivially from this c

CBD-456 Separate document body and meta arguments to map function

Sends non-JSON values as byte arrays for the 'doc' argument.
Numbers and ascii text can be decoded trivially from this capability,
extending our support for legacy applications.

The document JSON format on the wire for bulk docs operations
now looks like this:

{
"json":{"user":"data","_anything":"goes"},
"meta":{"id":"mydocid"}
}

Or like this:

{
"base64":"bXliYXNlNjRiaW5hcnlkYXRh",
"meta":{"id":"mydocid"}
}

There can be additional data in the metadata object. Specification is on
the Jira ticket.

This change off support for _id lookups in include_docs queries, although
with server level include docs going away as well, this change should
be of little consequence. Include_docs is not removed as it is used
heavily by tests, in the future it will be renamed to x_include_docs
across both tests and query parser, in order to reflect the non-
supported nature.

Ticket with the specifications documentation:
http://www.couchbase.com/issues/browse/CBD-456

Admin UI and ns_server changes are in this change:
http://review.couchbase.org/#change,18028

Depends on this change in testrunner for view tests:
http://review.couchbase.org/#change,17768

Squashed in an old patch: http://review.couchbase.org/#change,18111

TODO: EP engine doesn't need to check for _fields when setting JSON
flag. This can be accomplished in a future patch.

Related issue (not addressed by this patch): views and _all_docs
output (as well as XDCR JSON format) needs to understand non-UTF8
keys: http://www.couchbase.com/issues/browse/CBD-453

Change-Id: I0fc2364b16251f74bb53c9e6a185046b0ae68791
Reviewed-on: http://review.couchbase.org/18992
Reviewed-by: Chris Anderson <jchris@couchbase.com>
Tested-by: Chris Anderson <jchris@couchbase.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 ...

d114115323-Apr-2012 Filipe David Borba Manana <fdmanana@apache.org>

Fix ejson init function to work under OTP R15B

Path components, for the filename_join/1 function, can no
longer be atoms in OTP R15B onwards.
Also fix a dialyzer warning in the NIF E

Fix ejson init function to work under OTP R15B

Path components, for the filename_join/1 function, can no
longer be atoms in OTP R15B onwards.
Also fix a dialyzer warning in the NIF Erlang stub functions.

This relates to CBD-73

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

show more ...

c065fadf10-Mar-2012 Filipe David Borba Manana <fdmanana@apache.org>

Make set view component use the V8 based MapReduce subsystem

Change-Id: I90b26eeb78f50a6bac4f71e7ff90cbe0e92b8f42
Reviewed-on: http://review.couchbase.org/13857
Reviewed-by: Damien K

Make set view component use the V8 based MapReduce subsystem

Change-Id: I90b26eeb78f50a6bac4f71e7ff90cbe0e92b8f42
Reviewed-on: http://review.couchbase.org/13857
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...

f492227b22-Feb-2012 Filipe David Borba Manana <fdmanana@apache.org>

Avoid unnecessary JSON encoding/decoding of doc bodies

The bodies are already raw JSON strings, therefore don't
decode and encode them before sending them to the view
server.

Avoid unnecessary JSON encoding/decoding of doc bodies

The bodies are already raw JSON strings, therefore don't
decode and encode them before sending them to the view
server.

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

show more ...

ef1c5b5a08-Dec-2011 Aliaksey Kandratsenka <alk@tut.by>

Fix for MB-4511. Too many escapes for json validate.

2nd try, was using YAJL API incorrectly.

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

Fix for MB-4511. Too many escapes for json validate.

2nd try, was using YAJL API incorrectly.

Change-Id: Id972138b0159686623f1589f6f69a0dd91429c2e
Reviewed-on: http://review.couchbase.org/11552
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>

show more ...

091da40e07-Dec-2011 Damien Katz <damien@couchbase.com>

Fix for MB-4511. Too many escapes for json validate.

Change-Id: Ia5f2d855cada975f81dc8da8bb8fa7a3cb588422
Reviewed-on: http://review.couchbase.org/11528
Reviewed-by: Filipe David Bor

Fix for MB-4511. Too many escapes for json validate.

Change-Id: Ia5f2d855cada975f81dc8da8bb8fa7a3cb588422
Reviewed-on: http://review.couchbase.org/11528
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@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 ...

eb0bedf811-Nov-2011 Damien Katz <damien@couchbase.com>

Faster loading by leaving docs as JSON bins and simple parsing.

Change-Id: Idb66ecec1fee4bcfbf1509e3c2e4d7b879c79b13
Reviewed-on: http://review.couchbase.org/10788
Reviewed-by: Chiyo

Faster loading by leaving docs as JSON bins and simple parsing.

Change-Id: Idb66ecec1fee4bcfbf1509e3c2e4d7b879c79b13
Reviewed-on: http://review.couchbase.org/10788
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>

show more ...

Revision tags: couchbase_1.2.0
5f4e229822-Sep-2011 Aaron Miller <apage43@ninjawhale.com>

Support storing raw JSON, validating without erlangifying

Change-Id: I8e23e886aa0c6b6bcfd7f0b697a98f2bcdf05728
Reviewed-on: http://review.couchbase.org/9719
Reviewed-by: Damien Katz

Support storing raw JSON, validating without erlangifying

Change-Id: I8e23e886aa0c6b6bcfd7f0b697a98f2bcdf05728
Reviewed-on: http://review.couchbase.org/9719
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...

Revision tags: couchbase_1.1.2, couchbase_1.1.2a
c28d344920-Jun-2011 Bin Cui <bin.cui@gmail.com>

Build ejson module under cygwin/mingw environment

Change-Id: I459f58e768f68fc3498151e914a47f0f901d01dd
Reviewed-on: http://review.couchbase.org/7002
Reviewed-by: Steve Yen <steve.yen

Build ejson module under cygwin/mingw environment

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

show more ...

e828a41921-Apr-2011 Paul Joseph Davis <davisp@apache.org>

Fix ejson build system.

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

8c6ec87c09-Apr-2011 Filipe David Borba Manana <fdmanana@apache.org>

Fix ejson application compilation on Windows


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

ea13fc0d07-Apr-2011 Filipe David Borba Manana <fdmanana@apache.org>

ejson application init function must return 'true' on R13B03

On OTP R13B03, the function invoked by the "on_load" directive (introduced
in this release) must return the atom 'true' and n

ejson application init function must return 'true' on R13B03

On OTP R13B03, the function invoked by the "on_load" directive (introduced
in this release) must return the atom 'true' and not 'ok'.
The Erlang preprocessor also seems to ignore any unknown directives, so
the use of the "on_load" directive should not cause compilation errors
on older OTP releases (<= R13B02).

Thanks to Matt Goodall for reporting this and providing a patch.



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

show more ...

2e99f96505-Apr-2011 Filipe David Borba Manana <fdmanana@apache.org>

Added missing headers for some ejson source files

Thanks to Paul Davis for noticing this.


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

Added missing headers for some ejson source files

Thanks to Paul Davis for noticing this.


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

show more ...

95c3726005-Apr-2011 Paul Joseph Davis <davisp@apache.org>

Tweaks to the ejson build system.

Fixes make distcheck.
The local copy of src/ejson/priv/ejson.so works
better.
General clean up of src/ejson/Makefile.am



git-s

Tweaks to the ejson build system.

Fixes make distcheck.
The local copy of src/ejson/priv/ejson.so works
better.
General clean up of src/ejson/Makefile.am



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

show more ...

3925e85605-Apr-2011 Filipe David Borba Manana <fdmanana@apache.org>

Added ejson application

This is a NIF based JSON decoder/encoder based on Paul Davis' eep0018
implementation (https://github.com/davisp/eep0018/), with some modifications
from Damien

Added ejson application

This is a NIF based JSON decoder/encoder based on Paul Davis' eep0018
implementation (https://github.com/davisp/eep0018/), with some modifications
from Damien (big number support and optimizations) on top, plus a few fixes
from my side and BenoƮt on top of Damien's fork.
This module fallbacks to mochijson2 when the NIF is not loaded or compiled.
The NIF is only compiled and used if we're using an OTP release >= R13B04.

Thanks everyone. Closes COUCHDB-1118.



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

show more ...