-
Notifications
You must be signed in to change notification settings - Fork 87
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
Add support for flexible subscriptions #496
Commits on May 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4d2962e - Browse repository at this point
Copy the full SHA 4d2962eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dc0956 - Browse repository at this point
Copy the full SHA 9dc0956View commit details -
Configuration menu - View commit details
-
Copy full SHA for 604e713 - Browse repository at this point
Copy the full SHA 604e713View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03c2a39 - Browse repository at this point
Copy the full SHA 03c2a39View commit details -
Add SubscriptionSet.waitForStateChangeSync.
Only synchonous version for now, since async C-API doesn't allow userdata
Configuration menu - View commit details
-
Copy full SHA for 1d8743c - Browse repository at this point
Copy the full SHA 1d8743cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a349fea - Browse repository at this point
Copy the full SHA a349feaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7008377 - Browse repository at this point
Copy the full SHA 7008377View commit details -
Support async SubscriptionSet.waitForStateChange
This requires support for out-of-isolate callbacks. To do this a dart specific EventLoopDispatcher and DispatchFreeUserdata is introduced.
Configuration menu - View commit details
-
Copy full SHA for 295f051 - Browse repository at this point
Copy the full SHA 295f051View commit details -
Make subscription non-nullable. Throw, if configuration not a Flexibl…
…eSyncConfiguration
Configuration menu - View commit details
-
Copy full SHA for 7b859e5 - Browse repository at this point
Copy the full SHA 7b859e5View commit details -
Add version & state properties to SubscriptionSet
Also, SubscriptionSet.remove* are now void methods, and corresponding _RealmCore functions uses invokeGetBool.
Configuration menu - View commit details
-
Copy full SHA for 5a135a6 - Browse repository at this point
Copy the full SHA 5a135a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e4b3da - Browse repository at this point
Copy the full SHA 9e4b3daView commit details -
Fix SubscriptionSet.find* when nothing found
When nothing is found we should return null on find. Hence we cannot use invokeGetPointer, and also we need to pass null up the conversion stack.
Configuration menu - View commit details
-
Copy full SHA for 4d2da95 - Browse repository at this point
Copy the full SHA 4d2da95View commit details -
Configuration menu - View commit details
-
Copy full SHA for a976fea - Browse repository at this point
Copy the full SHA a976feaView commit details -
Configuration menu - View commit details
-
Copy full SHA for efffee0 - Browse repository at this point
Copy the full SHA efffee0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e2da68 - Browse repository at this point
Copy the full SHA 0e2da68View commit details -
Add subscription tests to flutter tests
* Add subscription tests to test_driver/realm_test.dart * Allow network use from test_driver app on macos
Configuration menu - View commit details
-
Copy full SHA for e035788 - Browse repository at this point
Copy the full SHA e035788View commit details -
Configuration menu - View commit details
-
Copy full SHA for f869a9e - Browse repository at this point
Copy the full SHA f869a9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3028bf0 - Browse repository at this point
Copy the full SHA 3028bf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ca0779 - Browse repository at this point
Copy the full SHA 0ca0779View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c3bdce - Browse repository at this point
Copy the full SHA 0c3bdceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 956d78c - Browse repository at this point
Copy the full SHA 956d78cView commit details -
Rename addOrUpdate to add and return subscription
The add method takes an optional update parameter, that default to false. If true, the add will update the existing subscription if any. Otherwise, it will fail if the subscription exists.
Configuration menu - View commit details
-
Copy full SHA for 1963b08 - Browse repository at this point
Copy the full SHA 1963b08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83ed6f1 - Browse repository at this point
Copy the full SHA 83ed6f1View commit details -
Rework SubscriptionSet.remove*
* remove is now called removeByQuery * remove instead takes a Subscription as an argument * removeAll is renamed to clear to match List.clear * all remove* methods now returns a boolean indicating whether a subscription was removed
Configuration menu - View commit details
-
Copy full SHA for 722f000 - Browse repository at this point
Copy the full SHA 722f000View commit details -
Configuration menu - View commit details
-
Copy full SHA for e391f59 - Browse repository at this point
Copy the full SHA e391f59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c190c1 - Browse repository at this point
Copy the full SHA 1c190c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f9843a - Browse repository at this point
Copy the full SHA 2f9843aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e351b5 - Browse repository at this point
Copy the full SHA 3e351b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b485a29 - Browse repository at this point
Copy the full SHA b485a29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81ba0f6 - Browse repository at this point
Copy the full SHA 81ba0f6View commit details -
Avoid storing _queryHandle on RealmResult
This is possible given recent changes to the C-API.
Configuration menu - View commit details
-
Copy full SHA for e6e469e - Browse repository at this point
Copy the full SHA e6e469eView commit details -
Using delay instead of awaiting sync session upload/download, since SyncSession is not yet implemented.
Configuration menu - View commit details
-
Copy full SHA for d98ab3a - Browse repository at this point
Copy the full SHA d98ab3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bd11fd - Browse repository at this point
Copy the full SHA 9bd11fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fa5d04 - Browse repository at this point
Copy the full SHA 0fa5d04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52b1962 - Browse repository at this point
Copy the full SHA 52b1962View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5adf8db - Browse repository at this point
Copy the full SHA 5adf8dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55fe548 - Browse repository at this point
Copy the full SHA 55fe548View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe38805 - Browse repository at this point
Copy the full SHA fe38805View commit details -
Configuration menu - View commit details
-
Copy full SHA for b47d87c - Browse repository at this point
Copy the full SHA b47d87cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a90303d - Browse repository at this point
Copy the full SHA a90303dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 959e619 - Browse repository at this point
Copy the full SHA 959e619View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e59769 - Browse repository at this point
Copy the full SHA 0e59769View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78fecfe - Browse repository at this point
Copy the full SHA 78fecfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a4a758 - Browse repository at this point
Copy the full SHA 8a4a758View commit details -
Don't deprecate Configuration ctor, remove immediately
Use Configuration.local factory instead.
Configuration menu - View commit details
-
Copy full SHA for 6e6ac2a - Browse repository at this point
Copy the full SHA 6e6ac2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d61652 - Browse repository at this point
Copy the full SHA 6d61652View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9ced16 - Browse repository at this point
Copy the full SHA e9ced16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 734b3d1 - Browse repository at this point
Copy the full SHA 734b3d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48c8ab7 - Browse repository at this point
Copy the full SHA 48c8ab7View commit details