kdeconnect-kde/smsapp/qml
Simon Redman 019e8d6a1c [SMS App] Make requestMoreMessages asynchronous, blocking, and caching
Summary:
The most serious change from this patch is to move the asynchronous replying to a request from the app for more messages to a newly-spawned, self-destructing thread. Within that thread, we block until the remote device replies with the requested messages.

All gotten messages are cached in the ConversationDbusInterface, so all future requests are fast and don't hit the remote device.

Test Plan: After applying this diff, the messaging app should show 10 messages every time it is opened

Reviewers: #kde_connect, nicolasfella, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: albertvaka, apol, nicolasfella, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16475
2018-12-12 22:42:56 -07:00
..
ChatMessage.qml [SMS App] Don't set font size, which causes warnings to be printed 2018-11-10 09:44:45 -07:00
ConversationDisplay.qml [SMS App] Make requestMoreMessages asynchronous, blocking, and caching 2018-12-12 22:42:56 -07:00
ConversationList.qml Fix comment 2018-11-26 20:42:18 +01:00
main.qml Revert "Replace tabs with spaces in messaging app" 2018-10-30 14:01:13 -06:00
RoundImage.qml Replaces tabs with spaces (properly) 2018-10-30 14:03:16 -06:00