update core ans sync
This commit is contained in:
parent
8ef6c67161
commit
fae5b8cf31
|
@ -1,5 +1,5 @@
|
|||
PACKAGE_NAME=realm-js
|
||||
VERSION=2.1.1
|
||||
REALM_CORE_VERSION=4.0.2
|
||||
REALM_SYNC_VERSION=2.2.1
|
||||
REALM_CORE_VERSION=5.0.1
|
||||
REALM_SYNC_VERSION=2.2.2
|
||||
REALM_OBJECT_SERVER_VERSION=2.0.21
|
||||
|
|
|
@ -59,9 +59,6 @@
|
|||
"src/object-store/src/impl/results_notifier.cpp",
|
||||
"src/object-store/src/impl/transact_log_handler.cpp",
|
||||
"src/object-store/src/impl/weak_realm_notifier.cpp",
|
||||
"src/object-store/src/parser/parser.cpp",
|
||||
"src/object-store/src/parser/query_builder.cpp",
|
||||
"src/object-store/src/util/format.cpp",
|
||||
"src/object-store/src/util/uuid.cpp",
|
||||
|
||||
"src/object-store/src/binding_callback_thread_observer.hpp",
|
||||
|
@ -93,8 +90,6 @@
|
|||
"src/object-store/src/object_accessor.hpp",
|
||||
"src/object-store/src/object_schema.hpp",
|
||||
"src/object-store/src/object_store.hpp",
|
||||
"src/object-store/src/parser/parser.hpp",
|
||||
"src/object-store/src/parser/query_builder.hpp",
|
||||
"src/object-store/src/property.hpp",
|
||||
"src/object-store/src/results.hpp",
|
||||
"src/object-store/src/schema.hpp",
|
||||
|
@ -114,12 +109,10 @@
|
|||
"src/object-store/src/thread_safe_reference.hpp",
|
||||
"src/object-store/src/util/aligned_union.hpp",
|
||||
"src/object-store/src/util/android/event_loop_signal.hpp",
|
||||
"src/object-store/src/util/any.hpp",
|
||||
"src/object-store/src/util/apple/event_loop_signal.hpp",
|
||||
"src/object-store/src/util/atomic_shared_ptr.hpp",
|
||||
"src/object-store/src/util/compiler.hpp",
|
||||
"src/object-store/src/util/event_loop_signal.hpp",
|
||||
"src/object-store/src/util/format.hpp",
|
||||
"src/object-store/src/util/generic/event_loop_signal.hpp",
|
||||
"src/object-store/src/util/tagged_bool.hpp",
|
||||
"src/object-store/src/util/time.hpp",
|
||||
|
@ -165,7 +158,6 @@
|
|||
"src/object-store/src",
|
||||
"src/object-store/src/impl",
|
||||
"src/object-store/src/impl/apple",
|
||||
"src/object-store/src/parser",
|
||||
"src/object-store/external/pegtl"
|
||||
]
|
||||
},
|
||||
|
@ -271,7 +263,6 @@
|
|||
"all_dependent_settings": {
|
||||
"include_dirs": [ "<(vendor_dir)/include" ],
|
||||
"library_dirs": [
|
||||
"<(vendor_dir)/lib",
|
||||
"<(vendor_dir)/osx"
|
||||
]
|
||||
},
|
||||
|
|
|
@ -62,6 +62,7 @@ function printProgress(input, totalBytes, archive) {
|
|||
|
||||
function download(serverFolder, archive, destination) {
|
||||
const url = `https://static.realm.io/downloads/${serverFolder}/${archive}`;
|
||||
console.log(`Download url: ${url}`);
|
||||
return fetch(url).then((response) => {
|
||||
if (response.status !== 200) {
|
||||
throw new Error(`Error downloading ${url} - received status ${response.status} ${response.statusText}`);
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
|
||||
#include "shared_realm.hpp"
|
||||
#include "list.hpp"
|
||||
#include "parser.hpp"
|
||||
#include "query_builder.hpp"
|
||||
#include "realm/parser/parser.hpp"
|
||||
#include "realm/parser/query_builder.hpp"
|
||||
|
||||
namespace realm {
|
||||
namespace js {
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
#include "object_accessor.hpp"
|
||||
#include "object_store.hpp"
|
||||
#include "util/format.hpp"
|
||||
|
||||
#include "js_class.hpp"
|
||||
#include "js_types.hpp"
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#include "results.hpp"
|
||||
#include "list.hpp"
|
||||
#include "object_store.hpp"
|
||||
#include "parser.hpp"
|
||||
#include "query_builder.hpp"
|
||||
#include "realm/parser/parser.hpp"
|
||||
#include "realm/parser/query_builder.hpp"
|
||||
|
||||
namespace realm {
|
||||
namespace js {
|
||||
|
@ -155,7 +155,7 @@ typename T::Object ResultsClass<T>::create_filtered(ContextType ctx, const U &co
|
|||
parser::Predicate predicate = parser::parse(query_string);
|
||||
NativeAccessor<T> accessor(ctx, realm, object_schema);
|
||||
query_builder::ArgumentConverter<ValueType, NativeAccessor<T>> converter(accessor, &args.value[1], args.count - 1);
|
||||
query_builder::apply_predicate(query, predicate, converter, realm->schema(), object_schema.name);
|
||||
query_builder::apply_predicate(query, predicate, converter);
|
||||
|
||||
return create_instance(ctx, collection.filter(std::move(query)));
|
||||
}
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#include "js_types.hpp"
|
||||
#include "schema.hpp"
|
||||
|
||||
#include "util/format.hpp"
|
||||
|
||||
namespace realm {
|
||||
namespace js {
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
#include "execution_context_id.hpp"
|
||||
#include "property.hpp"
|
||||
#include "util/format.hpp"
|
||||
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit d681b1fb8a8ca7a8db1ab1edc25771d984795ebe
|
||||
Subproject commit 21e671a155989f4e34e279fc8a7ace5817495de0
|
Loading…
Reference in New Issue