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

Sync config error handler #577

Merged
merged 102 commits into from
May 25, 2022
Merged

Sync config error handler #577

merged 102 commits into from
May 25, 2022

Commits on May 12, 2022

  1. Configuration menu
    Copy the full SHA
    00e58a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    12284db View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a6f5988 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2cf1d32 View commit details
    Browse the repository at this point in the history
  5. Add SubscriptionSet.waitForStateChangeSync.

    Only synchonous version for now, since async C-API doesn't allow userdata
    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    07f5f89 View commit details
    Browse the repository at this point in the history
  6. Align with kotlin naming

    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    05351d3 View commit details
    Browse the repository at this point in the history
  7. Support session stop policy

    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    49287a8 View commit details
    Browse the repository at this point in the history
  8. Support async SubscriptionSet.waitForStateChange

    This requires support for out-of-isolate callbacks. To do this a dart
    specific EventLoopDispatcher and DispatchFreeUserdata is introduced.
    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    e15e3c7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    80530ce View commit details
    Browse the repository at this point in the history
  10. Add version & state properties to SubscriptionSet

    Also, SubscriptionSet.remove* are now void methods, and corresponding
    _RealmCore functions uses invokeGetBool.
    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    50d1edd View commit details
    Browse the repository at this point in the history
  11. Annoying hack

    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    28fdbdd View commit details
    Browse the repository at this point in the history
  12. 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.
    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    d97fe8e View commit details
    Browse the repository at this point in the history
  13. More tests

    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    a0f2c19 View commit details
    Browse the repository at this point in the history
  14. Add elementAt test

    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    eb654b8 View commit details
    Browse the repository at this point in the history
  15. Fix windows build

    fealebenpae authored and nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    efcde2f View commit details
    Browse the repository at this point in the history
  16. Add subscription tests to flutter tests

    * Add subscription tests to test_driver/realm_test.dart
    * Allow network use from test_driver app on macos
    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    b8d78d5 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    9b699f5 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    547d650 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    a55c85d View commit details
    Browse the repository at this point in the history
  20. Remove lifetime hack

    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    ed3c4c9 View commit details
    Browse the repository at this point in the history
  21. Fix PR feedback

    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    6632aed View commit details
    Browse the repository at this point in the history
  22. 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.
    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    0dfa78e View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    c1544e0 View commit details
    Browse the repository at this point in the history
  24. 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
    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    0ae91d8 View commit details
    Browse the repository at this point in the history
  25. More PR feedback

    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    852df8a View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    f83850f View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    e7ed52f View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    e34448e View commit details
    Browse the repository at this point in the history
  29. Fix PR feedback

    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    dc695a4 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    286c7bd View commit details
    Browse the repository at this point in the history
  31. Avoid storing _queryHandle on RealmResult

    This is possible given recent changes to the C-API.
    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    fc9c426 View commit details
    Browse the repository at this point in the history
  32. Added sync roundtrip test

    Using delay instead of awaiting sync session upload/download, since
    SyncSession is not yet implemented.
    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    5dcb73d View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    6fe3381 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    f044a2a View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    cc7985a View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    79f563f View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    4fce477 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    b020037 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    828e518 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    72d36b6 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    cdcb1e1 View commit details
    Browse the repository at this point in the history
  42. Add some missing docs

    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    97d7627 View commit details
    Browse the repository at this point in the history
  43. Add dart scheduler trampolines for sync session

    * realm_dart_sync_session_wait_for_download_completion
    * realm_dart_sync_session_wait_for_upload_completion
    * realm_dart_sync_session_register_progress_notifier
    * realm_dart_sync_session_register_connection_state_change_callback
    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    9104caf View commit details
    Browse the repository at this point in the history
  44. Update bindings

    nielsenko committed May 12, 2022
    Configuration menu
    Copy the full SHA
    3c47d5c View commit details
    Browse the repository at this point in the history

Commits on May 16, 2022

  1. Configuration menu
    Copy the full SHA
    5446e78 View commit details
    Browse the repository at this point in the history
  2. Use the dart trampoline

    nirinchev committed May 16, 2022
    Configuration menu
    Copy the full SHA
    ac83b8e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f33f983 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2022

  1. Code review changes

    desistefanova committed May 17, 2022
    Configuration menu
    Copy the full SHA
    69b5f8f View commit details
    Browse the repository at this point in the history

Commits on May 18, 2022

  1. Add dart scheduler trampolines for sync session

    * realm_dart_sync_session_wait_for_download_completion
    * realm_dart_sync_session_wait_for_upload_completion
    * realm_dart_sync_session_register_progress_notifier
    * realm_dart_sync_session_register_connection_state_change_callback
    nielsenko authored and nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    18542f1 View commit details
    Browse the repository at this point in the history
  2. Update bindings

    nielsenko authored and nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    b154604 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ea63166 View commit details
    Browse the repository at this point in the history
  4. Use the dart trampoline

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    64eafdd View commit details
    Browse the repository at this point in the history
  5. use correct config ctor

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    948e5ef View commit details
    Browse the repository at this point in the history
  6. Add more tests

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    919cf6a View commit details
    Browse the repository at this point in the history
  7. formatting

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    90d39f5 View commit details
    Browse the repository at this point in the history
  8. Address PR feedback

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    e201952 View commit details
    Browse the repository at this point in the history
  9. Fix tests

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    a480f46 View commit details
    Browse the repository at this point in the history
  10. Fix build errors

    desistefanova committed May 18, 2022
    Configuration menu
    Copy the full SHA
    af3293c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    be0a234 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    00dcef9 View commit details
    Browse the repository at this point in the history
  13. API doc

    desistefanova committed May 18, 2022
    Configuration menu
    Copy the full SHA
    6d322a7 View commit details
    Browse the repository at this point in the history
  14. Add dart scheduler trampolines for sync session

    * realm_dart_sync_session_wait_for_download_completion
    * realm_dart_sync_session_wait_for_upload_completion
    * realm_dart_sync_session_register_progress_notifier
    * realm_dart_sync_session_register_connection_state_change_callback
    nielsenko authored and nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    3388a93 View commit details
    Browse the repository at this point in the history
  15. Update bindings

    nielsenko authored and nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    757322f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    db3b075 View commit details
    Browse the repository at this point in the history
  17. Use the dart trampoline

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    f6c3659 View commit details
    Browse the repository at this point in the history
  18. use correct config ctor

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    ed1e21e View commit details
    Browse the repository at this point in the history
  19. Add more tests

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    80a9465 View commit details
    Browse the repository at this point in the history
  20. formatting

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    a8ee0f0 View commit details
    Browse the repository at this point in the history
  21. Address PR feedback

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    230a0cd View commit details
    Browse the repository at this point in the history
  22. Fix tests

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    e0939c7 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    5de3e58 View commit details
    Browse the repository at this point in the history
  24. Remove -

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    1db6963 View commit details
    Browse the repository at this point in the history
  25. Pick up config.sync rename

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    fbc3505 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    5fa7f33 View commit details
    Browse the repository at this point in the history
  27. Fixes after merge

    desistefanova committed May 18, 2022
    Configuration menu
    Copy the full SHA
    95078c2 View commit details
    Browse the repository at this point in the history
  28. regenerate bindings

    nirinchev committed May 18, 2022
    Configuration menu
    Copy the full SHA
    66f582a View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    db57894 View commit details
    Browse the repository at this point in the history
  30. Fix API doc

    desistefanova committed May 18, 2022
    Configuration menu
    Copy the full SHA
    b6065b3 View commit details
    Browse the repository at this point in the history
  31. utii.dart deleted

    desistefanova committed May 18, 2022
    Configuration menu
    Copy the full SHA
    c7b9cc5 View commit details
    Browse the repository at this point in the history
  32. Fix merges

    desistefanova committed May 18, 2022
    Configuration menu
    Copy the full SHA
    6395978 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    f63d015 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2022

  1. small fixes to another PR

    blagoev committed May 19, 2022
    Configuration menu
    Copy the full SHA
    b0d89dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    873ad61 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4e02089 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    94db93b View commit details
    Browse the repository at this point in the history

Commits on May 23, 2022

  1. Configuration menu
    Copy the full SHA
    4577c66 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f45e36 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e569ea6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    22eab79 View commit details
    Browse the repository at this point in the history
  5. Merge PR #587 into this one

    desistefanova committed May 23, 2022
    Configuration menu
    Copy the full SHA
    4b7cb58 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0f9d440 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1fff5f3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ba9fd41 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9fdb18b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0b842c6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    97c1ea9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6c252a3 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    fe92f6a View commit details
    Browse the repository at this point in the history
  14. print errors

    desistefanova committed May 23, 2022
    Configuration menu
    Copy the full SHA
    61d2a67 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2022

  1. Configuration menu
    Copy the full SHA
    ce4aa59 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2eaa08 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e496d75 View commit details
    Browse the repository at this point in the history