-
Notifications
You must be signed in to change notification settings - Fork 56
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
Lazy loading members #263
Lazy loading members #263
Commits on Dec 8, 2018
-
Both now use through a common JsonConverter<> template class with its base definition tuned for structs/QJsonObjects and specialisations for non-object types. This new implementation doesn't work with virtual fillJson functions yet (so EventContent classes still use toJson as a member function) and does not cope quite well with non-constructible objects (you have to specialise JsonConverter<> rather than, more intuitively, JsonObjectConverter<>), but overall is more streamlined compared to the previous implementation. It also fixes one important issue that pushed for a rewrite: the previous implementation was not working with structure hierarchies at all so (in particular) the Filter part of CS API was totally disfunctional.
Configuration menu - View commit details
-
Copy full SHA for 3392e66 - Browse repository at this point
Copy the full SHA 3392e66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9628594 - Browse repository at this point
Copy the full SHA 9628594View commit details -
Configuration menu - View commit details
-
Copy full SHA for a005348 - Browse repository at this point
Copy the full SHA a005348View commit details -
Connection: support members lazy-loading
This should cover the Connection-related part of #253. Connection gained lazyLoading/setLazyLoading accessors and the respective Q_PROPERTY. When lazy loading is on, sync() adds lazy_load_members: true to its filter.
Configuration menu - View commit details
-
Copy full SHA for 1ff8a0c - Browse repository at this point
Copy the full SHA 1ff8a0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9272d21 - Browse repository at this point
Copy the full SHA 9272d21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a252aa - Browse repository at this point
Copy the full SHA 4a252aaView commit details
Commits on Dec 9, 2018
-
MSC 688: MSC-compliant RoomSummary; update Room::calculateDisplayname()
The members of the summary can be omitted in the payload; this change fixes calculation of the roomname from hero names passed in room summary. Also: RoomSummary can be dumped to QDebug now.
Configuration menu - View commit details
-
Copy full SHA for d51684b - Browse repository at this point
Copy the full SHA d51684bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1678296 - Browse repository at this point
Copy the full SHA 1678296View commit details -
Room: track more changes; fix cache smashing upon restart
Commit fd52459 introduced a regression rendering the cache unusable after a client restart (an empty state overwrites whatever state was in the cache). This commit contains the fix, along with more room change tracking.
Configuration menu - View commit details
-
Copy full SHA for 9225eae - Browse repository at this point
Copy the full SHA 9225eaeView commit details -
Room: defer memberListChanged(); track room summary changes
This concludes beta-version of lazy-loading support in libQMatrixClient (#253).
Configuration menu - View commit details
-
Copy full SHA for 9b3e437 - Browse repository at this point
Copy the full SHA 9b3e437View commit details
Commits on Dec 10, 2018
-
Room::getPreviousContent: use early return
...instead of the entire function body wrapped in an if block.
Configuration menu - View commit details
-
Copy full SHA for 501c79f - Browse repository at this point
Copy the full SHA 501c79fView commit details
Commits on Dec 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c6720cc - Browse repository at this point
Copy the full SHA c6720ccView commit details -
RoomMemberEvent: properly integrate with GetMembersByRoomJob
GetMembersByRoomJob was dysfunctional so far, creating "unknown RoomMemberEvents" instead of proper ones. Now that we need it for lazy- loading, it's fixed!
Configuration menu - View commit details
-
Copy full SHA for 0e67d1e - Browse repository at this point
Copy the full SHA 0e67d1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0bd24a - Browse repository at this point
Copy the full SHA f0bd24aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2db8593 - Browse repository at this point
Copy the full SHA 2db8593View commit details
Commits on Dec 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 095444a - Browse repository at this point
Copy the full SHA 095444aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c46663a - Browse repository at this point
Copy the full SHA c46663aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3934855 - Browse repository at this point
Copy the full SHA 3934855View commit details -
Configuration menu - View commit details
-
Copy full SHA for c33680b - Browse repository at this point
Copy the full SHA c33680bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cda9a0f - Browse repository at this point
Copy the full SHA cda9a0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91b20ca - Browse repository at this point
Copy the full SHA 91b20caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b06b16 - Browse repository at this point
Copy the full SHA 5b06b16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dcda23 - Browse repository at this point
Copy the full SHA 8dcda23View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4aa613 - Browse repository at this point
Copy the full SHA b4aa613View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07c9eac - Browse repository at this point
Copy the full SHA 07c9eacView commit details
Commits on Dec 13, 2018
-
Configuration menu - View commit details
-
Copy full SHA for cb5f0f6 - Browse repository at this point
Copy the full SHA cb5f0f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf4759e - Browse repository at this point
Copy the full SHA cf4759eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cbb053 - Browse repository at this point
Copy the full SHA 2cbb053View commit details
Commits on Dec 14, 2018
-
qmc-example: clearer QMC_CHECK; start tests only after the first sync…
… is done Because lazy-loading test is executed on a room different from the test room.
Configuration menu - View commit details
-
Copy full SHA for 12a0b95 - Browse repository at this point
Copy the full SHA 12a0b95View commit details