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

[bindgen] Upgrade to core v13.15.1 #6726

Merged
merged 74 commits into from
Jun 19, 2023
Merged

Conversation

kraenhansen
Copy link
Member

@kraenhansen kraenhansen commented Jun 19, 2023

What, How & Why?

This updated Realm Core to the latest release version (13.15.1).
My only contribution is an update to the spec.yml d052273

ironage and others added 30 commits May 12, 2023 14:09
…ed by SDK's (#6612)

* platform and cpu_arch are inferred by core, bundle_id must be provided by SDK's

* update changelog

* Return proper value for X86_64 arch

Co-authored-by: Christian Melchior <[email protected]>

* Get fine-grained platform for Apple devices

* Fix tests

* small fixes

* fix more tests

* Fix mistake in changelog

---------

Co-authored-by: Christian Melchior <[email protected]>
SectionedResults used a std::map in a few places where the keys are a dense
range (i.e. always [0..map.size())) and so they can be std::vector instead. The
maps keyed on Mixed are now std::unordered_map.

Change notifications now report changes as a `std::vector<IndexSet>` rather
than `std::map<size_t, IndexSet>`. This is slower and uses more memory when the
only sections that changed are near the end of a SectionedResults with a large
number of sections, but is much faster if all sections changed or if the
sections which changed are early in the SectionedResults. Change notifications
now reuse buffers, which increases persistent memory usage slightly but
significant reduces allocations.

Change notifications for a single section now only compute the changes for that
section rather than computing the full changes and then filtering out the
changes for other sections.
Improve SectionedResults performance
The result should be an empty result, not the whole table.
* geospatial validation of polygons

* Loop->Ring, added tests

* use std::unique

* changelog
* Allow to filter benchmark and run only list of specified names
* Add simple benchmark for fulltext search with index
* verify local results match a server query

* disallow geowithin on top level tables

* fix geo queries with ANY/ALL/NONE

* geospatial validation of points

* rename GeoCenterSphere -> GeoCircle

* review feedback

* better testing and fix any/all/none geospatial

* format
Filter out unresolved links in Dictionary::get_any()
* Add basic benchmarks for Geospatial type and queries

* Less copying in GeoWithinCompare

* Bring back caching of s2 region into Geospatial

* remove transaction overhead from measurements

* a couple small optimizations

* formatting

* simplify geospatial query evaluations

* changelog

---------

Co-authored-by: James Stone <[email protected]>
papafe and others added 17 commits June 6, 2023 14:27
Reporting correct error message on HTTP errors for Emscripten target
* allow frozen Realms to be opened with additive schema changes

* lint

* strengthen tests and comments

* Update src/realm/object-store/shared_realm.cpp

Co-authored-by: Thomas Goyne <[email protected]>

---------

Co-authored-by: Thomas Goyne <[email protected]>
…6676)

* Changed SessionWrapper pointer to bind_ptr; added session ident history
* Fix teardown if client is destroyed before session
* Session no longer holds bind_ptr to SessionWrapper; reverted some changes
* Fixed return and updated some comments
* Don't process errors if session is shutting down
* Added extra checks for session state
* Updates from review
* Updated some finalized checks
* Rolled back some changes
* Added output to ASSERTS and moved session history to unordered_set
* Remove session history entry on normal close
* Updated comment in sync tests
If a Dictionary property has links as value type, we can use Columns<Link> to handle
the links instead of the basic Columns<Dictionary>. This has the effect that when we
compare with a single value, we will optimize to use LinksToNode. So we need to make
LinksToNode handle the Dictionary case.

When we compare with a list of links, we must ensure that the list is converted to
a list obj ObjKeys - which is the type that Column<Link> evaluates to.

 Use LinksToNode for lists in QueryParser
…g Config.path for inMemory Realm) (#6716)

* Fixes for Emscripten target: Passing header for fetch response. Passing the RealmConfig.path to be used for inMemory Realm, this is needed for registering SyncSession

Co-authored-by: Jørgen Edelbo <[email protected]>
@cla-bot
Copy link

cla-bot bot commented Jun 19, 2023

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: realm-ci.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@kraenhansen kraenhansen force-pushed the kh/bindgen/core-13.15.1 branch from d052273 to 8be7864 Compare June 19, 2023 14:16
@cla-bot
Copy link

cla-bot bot commented Jun 19, 2023

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: realm-ci.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@kraenhansen kraenhansen changed the title Kh/bindgen/core 13.15.1 [bindgen] Upgrade to core v13.15.1 Jun 19, 2023
@kraenhansen kraenhansen merged commit 5dbbfd5 into bindgen Jun 19, 2023
@kraenhansen kraenhansen deleted the kh/bindgen/core-13.15.1 branch June 19, 2023 14:19
papafe added a commit that referenced this pull request Jun 20, 2023
* bindgen:
  Ran clang-format
  [bindgen] Upgrade to core v13.15.1 (#6726)
  Support Bindgen opt-in list (#6639)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.