Revision tags: v4.6.0, v4.5.0, 2.1.1r, 2.1.0r, 2.0.2r, 2.0.1-linux, 2.0.0-couchbase |
|
#
6b9fa5f1 |
| 03-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 ...
|
#
b935f38e |
| 25-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 ...
|
#
d1141153 |
| 23-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 ...
|
#
c065fadf |
| 10-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 ...
|
#
f492227b |
| 22-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 ...
|
Revision tags: couchbase_1.2.0 |
|
#
5f4e2298 |
| 22-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 |
|
#
ea13fc0d |
| 07-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 ...
|
#
2e99f965 |
| 05-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 ...
|
#
3925e856 |
| 05-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 ...
|