Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "couchbase_lite"
version = "3.1.7-0"
version = "3.1.10-0"
# The first three numbers correspond to the Couchbase Lite C release, the fourth number corresponds to the Doctolib release

[dependencies]
Expand Down
Binary file modified libcblite-3.0.3/.DS_Store
Binary file not shown.
8 changes: 3 additions & 5 deletions libcblite-3.0.3/include/cbl++/Database.hh
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ namespace cbl {

/** Returns the names of all existing scopes in the database.
The scope exists when there is at least one collection created under the scope.
The default scope is exceptional in that it will always exists even there are no collections under it.
@note The default scope will always exist, containing at least the default collection.
@return The names of all existing scopes in the database, or throws if an error occurred. */
fleece::MutableArray getScopeNames() const {
CBLError error {};
Expand Down Expand Up @@ -207,17 +207,15 @@ namespace cbl {
}

/** Delete an existing collection.
@note The default collection cannot be deleted.
@param collectionName The name of the collection.
@param scopeName The name of the scope. */
inline void deleteCollection(slice collectionName, slice scopeName =kCBLDefaultScopeName) {
CBLError error {};
check(CBLDatabase_DeleteCollection(ref(), collectionName, scopeName, &error), error);
}

/** Returns the default collection.
@note The default collection may not exist if it was deleted.
Also, the default collection cannot be recreated after being deleted.
@return A \ref Collection instance, or NULL if the default collection doesn't exist, or throws if an error occurred. */
/** Returns the default collection. */
inline Collection getDefaultCollection() const {
CBLError error {};
return Collection::adopt(CBLDatabase_DefaultCollection(ref(), &error), &error) ;
Expand Down
9 changes: 4 additions & 5 deletions libcblite-3.0.3/include/cbl/CBLCollection.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ CBL_PUBLIC extern const FLString kCBLDefaultCollectionName;

/** Returns the names of all existing scopes in the database.
The scope exists when there is at least one collection created under the scope.
The default scope is exceptional in that it will always exists even there are no collections under it.
@note You are responsible for releasing the returned array.
@note The default scope will always exist, containing at least the default collection.
@note You are responsible for releasing the returned array.
@param db The database.
@param outError On failure, the error will be written here.
@return The names of all existing scopes in the database, or NULL if an error occurred. */
Expand All @@ -93,8 +93,8 @@ FLMutableArray _cbl_nullable CBLDatabase_CollectionNames(const CBLDatabase* db,

/** Returns an existing scope with the given name.
The scope exists when there is at least one collection created under the scope.
The default scope is exception in that it will always exists even there are no collections under it.
@note You are responsible for releasing the returned scope.
@note The default scope will always exist, containing at least the default collection.
@note You are responsible for releasing the returned scope.
@param db The database.
@param scopeName The name of the scope.
@param outError On failure, the error will be written here.
Expand Down Expand Up @@ -146,7 +146,6 @@ bool CBLDatabase_DeleteCollection(CBLDatabase* db,
CBLError* _cbl_nullable outError) CBLAPI;

/** Returns the default scope.
@note The default scope always exist even there are no collections under it.
@note You are responsible for releasing the returned scope.
@param db The database.
@param outError On failure, the error will be written here.
Expand Down
10 changes: 10 additions & 0 deletions libcblite-3.0.3/include/cbl/CBLDatabase.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ typedef struct {
#ifdef COUCHBASE_ENTERPRISE
CBLEncryptionKey encryptionKey; ///< The database's encryption key (if any)
#endif
/** As Couchbase Lite normally configures its databases, There is a very
small (though non-zero) chance that a power failure at just the wrong
time could cause the most recently committed transaction's changes to
be lost. This would cause the database to appear as it did immediately
before that transaction.

Setting this mode true ensures that an operating system crash or
power failure will not cause the loss of any data. FULL synchronous
is very safe but it is also dramatically slower. */
bool fullSync;
} CBLDatabaseConfiguration;

/** Returns the default database configuration. */
Expand Down
10 changes: 5 additions & 5 deletions libcblite-3.0.3/include/cbl/CBL_Edition.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#define COUCHBASE_ENTERPRISE
#endif

#define CBLITE_VERSION "3.1.7"
#define CBLITE_VERSION_NUMBER 3001007
#define CBLITE_BUILD_NUMBER 5
#define CBLITE_SOURCE_ID "036da58+b89b125"
#define CBLITE_BUILD_TIMESTAMP "2024-04-23T18:33:20Z"
#define CBLITE_VERSION "3.1.10"
#define CBLITE_VERSION_NUMBER 3001010
#define CBLITE_BUILD_NUMBER 52760
#define CBLITE_SOURCE_ID "036da58+f7cfc38"
#define CBLITE_BUILD_TIMESTAMP "2024-09-30T21:11:23Z"
Binary file modified libcblite-3.0.3/lib/aarch64-linux-android/libcblite.so
Binary file not shown.
Binary file not shown.
Binary file modified libcblite-3.0.3/lib/arm-linux-androideabi/libcblite.so
Binary file not shown.
Binary file not shown.
Binary file modified libcblite-3.0.3/lib/i686-linux-android/libcblite.so
Binary file not shown.
Binary file modified libcblite-3.0.3/lib/i686-linux-android/libcblite.stripped.so
Binary file not shown.
Binary file modified libcblite-3.0.3/lib/ios/.DS_Store
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ CBL_PUBLIC extern const FLString kCBLDefaultCollectionName;

/** Returns the names of all existing scopes in the database.
The scope exists when there is at least one collection created under the scope.
The default scope is exceptional in that it will always exists even there are no collections under it.
@note You are responsible for releasing the returned array.
@note The default scope will always exist, containing at least the default collection.
@note You are responsible for releasing the returned array.
@param db The database.
@param outError On failure, the error will be written here.
@return The names of all existing scopes in the database, or NULL if an error occurred. */
Expand All @@ -93,8 +93,8 @@ FLMutableArray _cbl_nullable CBLDatabase_CollectionNames(const CBLDatabase* db,

/** Returns an existing scope with the given name.
The scope exists when there is at least one collection created under the scope.
The default scope is exception in that it will always exists even there are no collections under it.
@note You are responsible for releasing the returned scope.
@note The default scope will always exist, containing at least the default collection.
@note You are responsible for releasing the returned scope.
@param db The database.
@param scopeName The name of the scope.
@param outError On failure, the error will be written here.
Expand Down Expand Up @@ -146,7 +146,6 @@ bool CBLDatabase_DeleteCollection(CBLDatabase* db,
CBLError* _cbl_nullable outError) CBLAPI;

/** Returns the default scope.
@note The default scope always exist even there are no collections under it.
@note You are responsible for releasing the returned scope.
@param db The database.
@param outError On failure, the error will be written here.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ typedef struct {
#ifdef COUCHBASE_ENTERPRISE
CBLEncryptionKey encryptionKey; ///< The database's encryption key (if any)
#endif
/** As Couchbase Lite normally configures its databases, There is a very
small (though non-zero) chance that a power failure at just the wrong
time could cause the most recently committed transaction's changes to
be lost. This would cause the database to appear as it did immediately
before that transaction.

Setting this mode true ensures that an operating system crash or
power failure will not cause the loss of any data. FULL synchronous
is very safe but it is also dramatically slower. */
bool fullSync;
} CBLDatabaseConfiguration;

/** Returns the default database configuration. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#define COUCHBASE_ENTERPRISE
#endif

#define CBLITE_VERSION "3.1.7"
#define CBLITE_VERSION_NUMBER 3001007
#define CBLITE_BUILD_NUMBER 5
#define CBLITE_SOURCE_ID "036da58+b89b125"
#define CBLITE_BUILD_TIMESTAMP "2024-04-23T18:55:12Z"
#define CBLITE_VERSION "3.1.10"
#define CBLITE_VERSION_NUMBER 3001010
#define CBLITE_BUILD_NUMBER 52760
#define CBLITE_SOURCE_ID "036da58+f7cfc38"
#define CBLITE_BUILD_TIMESTAMP "2024-09-30T21:15:22Z"
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>3.1.7</string>
<string>3.1.10</string>
<key>CFBundleVersion</key>
<string>5</string>
<string>52760</string>
</dict>
</plist>
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ CBL_PUBLIC extern const FLString kCBLDefaultCollectionName;

/** Returns the names of all existing scopes in the database.
The scope exists when there is at least one collection created under the scope.
The default scope is exceptional in that it will always exists even there are no collections under it.
@note You are responsible for releasing the returned array.
@note The default scope will always exist, containing at least the default collection.
@note You are responsible for releasing the returned array.
@param db The database.
@param outError On failure, the error will be written here.
@return The names of all existing scopes in the database, or NULL if an error occurred. */
Expand All @@ -93,8 +93,8 @@ FLMutableArray _cbl_nullable CBLDatabase_CollectionNames(const CBLDatabase* db,

/** Returns an existing scope with the given name.
The scope exists when there is at least one collection created under the scope.
The default scope is exception in that it will always exists even there are no collections under it.
@note You are responsible for releasing the returned scope.
@note The default scope will always exist, containing at least the default collection.
@note You are responsible for releasing the returned scope.
@param db The database.
@param scopeName The name of the scope.
@param outError On failure, the error will be written here.
Expand Down Expand Up @@ -146,7 +146,6 @@ bool CBLDatabase_DeleteCollection(CBLDatabase* db,
CBLError* _cbl_nullable outError) CBLAPI;

/** Returns the default scope.
@note The default scope always exist even there are no collections under it.
@note You are responsible for releasing the returned scope.
@param db The database.
@param outError On failure, the error will be written here.
Expand Down
Loading
Loading