couchbase-lite-core
couchbase-lite-core copied to clipboard
Cross-platform C++ core library for Couchbase Lite
Note that user-created scope or collection cannot be led by underscore. Also fixed a bug when collection names include upper case letters.
I sometimes encounter crashes when exiting my application. These crashes occur when I'm stopping a replicator via C4Replicator::stop, freeing the replicator via c4repl_free and then close the database via C4Database::close....
Infrastructure: * `Result` holds either a `T` or a `C4Error`. Similar to types found in Swift, Kotlin, Rust, ... * `Async` is a promise/future of a `T`. (Actually of a...
- GET /db includes a `scopes` property containing all the scopes. Every scope contains its collections, every collection contains its `doc_count` and `update_seq`, and all of them were coming from...
When starting a replicator there are 3 queries done on the local database which are not using the correct index. This leads to a very long time until the first...
Using a modified peg/leg from here https://github.com/mingodad/peg to convert the `LiteCore/Query/N1QL_Parser/n1ql.leg` in an EBNF understood by https://www.bottlecaps.de/rr/ui to generate a nice railroad diagram (https://en.wikipedia.org/wiki/Syntax_diagram) to help show/understand the syntax. Command...
``` Revision: '0' ABI: 'arm64' pid: 6909, tid: 6957, name: Thread-7852944 signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xc Cause: null pointer dereference x0 0000007e246f6440 x1 000000000000000c x2 0000007e24e00000...
From commit `c25026c9` The translation of the `MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY` error code results in a non-error code being set for the encapsulating `socketpp::socket` class ``` int translate_mbed_err(int mbedErr) { switch (mbedErr) {...
This feature will keep track of two pieces of information: 1. For any given execution, the path of enqueue and execution calls that led to the execution 2. For any...
Implemented support for signing documents, actually Fleece Dicts, actually any Values. The signature is a Dict that could be stored in the document or elsewhere. This is based on my...