Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry pick 3.2.1-3.2.2 to master #3363

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Cherry pick 3.2.1-3.2.2 to master #3363

wants to merge 7 commits into from

Conversation

velicuvlad
Copy link
Contributor

  • New LogSink API
  • New Partial Index API
  • LiteCore 4.0.0-39

velicuvlad and others added 7 commits February 13, 2025 17:26
* CBL-6456 : Implement Swift LogSink API

* Implemented Swift LogSink API.

* Fixed using out-of-scope CBLStringBytes when setting directory and header to C4 API for CBLFileLogSink ; Added an option to CBLStringBytes to disable inline storage.

* Ran the script to generate public symbol for the logging API.

* Renamed domain property to domains in CBLConsoleLogSink and CBLCustomLogSink.

* Changed maxKepthFiles to NSInteger and maxFileSize to long long in CBLFileLogSink.

* Updated and completed missing API docs in Objective-C LogSink API.

* Used @testable import so that the tests can use the internal function.
* Partial index impl and tests

* LiteCore 3.2.2-8

* update testVectorMatchLimitBoundary
The class initialize method is + initialize instead of + init.
* Add missing headers in Swift Private Module Map files.

* Fix build and deprecation error.
@velicuvlad
Copy link
Contributor Author

I believe Partial Index is only defined and not implemented in LiteCore for 4.0.0-39. Hence the tests failing...

@velicuvlad velicuvlad requested review from bmeike and pasin February 18, 2025 13:35
@velicuvlad velicuvlad marked this pull request as ready for review February 18, 2025 13:36
@pasin
Copy link
Contributor

pasin commented Feb 18, 2025

I think it's better to wait for a new LiteCore with partial index otherwise the PR validation will continue to be failed.

Copy link
Contributor

@bmeike bmeike left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a pretty big port. If there were any merge conflicts, I'd like to have them highlighted. If not, I guess it is good to go

}
}

- (CBLLogLevel) level {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this SOP? You need the lock on the set, but not on the get?

@@ -2,7 +2,7 @@
// CBLFullTextIndexConfiguration.h
// CouchbaseLite
//
// Copyright (c) 2024 Couchbase, Inc All rights reserved.
// Copyright (c) 2025 Couchbase, Inc All rights reserved.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that standard practice is to include them all: 2024, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants