Skip to content

Commit

Permalink
Update realm-core to v13.16.0 (#1340)
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenko authored Jun 30, 2023
1 parent 7644da5 commit eb81b95
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Realm Studio: 13.0.0 or later.

### Internal
* Using Core x.y.z.
* Using Core 13.16.0.

## 1.3.0 (2023-06-22)

Expand Down
38 changes: 38 additions & 0 deletions lib/src/native/realm_bindings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9175,6 +9175,40 @@ class RealmLibrary {
ffi.Pointer<ffi.Void>,
realm_free_userdata_func_t)>();

void realm_sync_config_set_initial_subscription_handler(
ffi.Pointer<realm_sync_config_t> arg0,
realm_async_open_task_init_subscription_func_t arg1,
bool rerun_on_open,
ffi.Pointer<ffi.Void> userdata,
realm_free_userdata_func_t userdata_free,
) {
return _realm_sync_config_set_initial_subscription_handler(
arg0,
arg1,
rerun_on_open,
userdata,
userdata_free,
);
}

late final _realm_sync_config_set_initial_subscription_handlerPtr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<realm_sync_config_t>,
realm_async_open_task_init_subscription_func_t,
ffi.Bool,
ffi.Pointer<ffi.Void>,
realm_free_userdata_func_t)>>(
'realm_sync_config_set_initial_subscription_handler');
late final _realm_sync_config_set_initial_subscription_handler =
_realm_sync_config_set_initial_subscription_handlerPtr.asFunction<
void Function(
ffi.Pointer<realm_sync_config_t>,
realm_async_open_task_init_subscription_func_t,
bool,
ffi.Pointer<ffi.Void>,
realm_free_userdata_func_t)>();

void realm_sync_config_set_recovery_directory_path(
ffi.Pointer<realm_sync_config_t> arg0,
ffi.Pointer<ffi.Char> arg1,
Expand Down Expand Up @@ -11104,6 +11138,10 @@ typedef realm_async_open_task_completion_func_t = ffi.Pointer<
ffi.Pointer<ffi.Void> userdata,
ffi.Pointer<realm_thread_safe_reference_t> realm,
ffi.Pointer<realm_async_error_t> error)>>;
typedef realm_async_open_task_init_subscription_func_t = ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<realm_t> realm, ffi.Pointer<ffi.Void> userdata)>>;

final class realm_async_open_task_progress_notification_token
extends ffi.Opaque {}
Expand Down
2 changes: 1 addition & 1 deletion src/realm-core
Submodule realm-core updated 45 files
+47 −0 CHANGELOG.md
+88 −115 Jenkinsfile
+1 −1 Package.swift
+1 −1 dependencies.list
+10 −1 src/realm.h
+1 −0 src/realm/CMakeLists.txt
+1 −2 src/realm/array.cpp
+0 −11 src/realm/array_unsigned.hpp
+12 −2 src/realm/cluster.hpp
+3 −2 src/realm/exceptions.hpp
+2 −2 src/realm/exec/realmd.cpp
+70 −43 src/realm/geospatial.cpp
+15 −14 src/realm/geospatial.hpp
+10 −10 src/realm/impl/copy_replication.cpp
+12 −0 src/realm/object-store/c_api/sync.cpp
+2 −1 src/realm/object-store/impl/apple/keychain_helper.cpp
+32 −7 src/realm/object-store/impl/realm_coordinator.cpp
+2 −1 src/realm/object-store/impl/realm_coordinator.hpp
+34 −31 src/realm/object-store/results.cpp
+11 −0 src/realm/object-store/results.hpp
+67 −16 src/realm/object-store/sync/async_open_task.cpp
+13 −2 src/realm/object-store/sync/async_open_task.hpp
+22 −25 src/realm/query.cpp
+1 −1 src/realm/query.hpp
+1 −1 src/realm/query_conditions_tpl.hpp
+3 −6 src/realm/query_expression.hpp
+2 −2 src/realm/query_state.hpp
+2 −1 src/realm/sync/CMakeLists.txt
+9 −0 src/realm/sync/config.hpp
+19 −8 src/realm/sync/noinst/server/server.cpp
+11 −0 src/realm/table.cpp
+2 −1 src/realm/table_view.cpp
+19 −3 test/object-store/c_api/c_api.cpp
+7 −4 test/object-store/sync/app.cpp
+359 −24 test/object-store/sync/flx_sync.cpp
+6 −4 test/object-store/sync/metadata.cpp
+24 −0 test/test_group.cpp
+6 −5 test/test_parser.cpp
+14 −1 test/test_query.cpp
+11 −1 test/test_query_geo.cpp
+13 −0 test/test_util_file.cpp
+1 −0 tools/build-apple-device.sh
+40 −43 tools/build-cocoa.sh
+11 −0 tools/cmake/Utilities.cmake
+14 −1 tools/cmake/xcode.toolchain.cmake

0 comments on commit eb81b95

Please sign in to comment.