aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-05First pieces of server-side read marker supportKitsune Ral
2018-03-05Travis: added one more parameter to qmc-exampleKitsune Ral
2018-03-05Profile-log if saving state has been interrupted by processEvents for long ↵Kitsune Ral
enough
2018-03-05qmc-example: Rewritten with a QObject for clearer dispatchingKitsune Ral
2018-03-05Merge branch 'kitsune-save-room-tags'Kitsune Ral
2018-03-05qmc-example: tests for redaction and tagging; send origin in test messagesKitsune Ral
2018-03-05Room: addTag() and removeTag()Kitsune Ral
Slightly changed TagRecord constructors to match.
2018-03-05Room::toJson(): Fix caching of tagsKitsune Ral
2018-03-05ReadMarkerEvent; TagEvent remade with less boilerplate codeKitsune Ral
tagevent.h -> accountdataevents.h now has a macro to define more simplistic events along the lines of simplestateevents.h but inheriting from Event instead. TagEvent and ReadMarkerEvent(m.fully_read) are defined using this macro. ReadMarkerEvent is also wired through event.* (but not further yet).
2018-03-05Use constants instead of hardcoded stringsKitsune Ral
2018-03-05Support saving account data on the serverKitsune Ral
Closes #152. Saving of specific event types should be added separately.
2018-03-05converters.h: pass QJsonValue by reference; add support of QHash<QString, T>Kitsune Ral
2018-03-05jobs/generated: SetAccountDataJob, SetAccountDataPerRoomJobKitsune Ral
2018-03-05simplestateevents.h: minor tweaksKitsune Ral
2018-03-05Fix a typo leading to cache never workingKitsune Ral
2018-03-04Connection: allow to choose between binary and text JSON cacheKitsune Ral
2018-03-04Room::toJson(): Use QJsonObject/Array modern constructors; check execution timeKitsune Ral
Now that we're on Qt 5.6 we can afford brace-initialization of those objects.
2018-03-04QCoreApplication::processEvents() is static, doesn't need instance()Kitsune Ral
Thanks to clang-tidy for spotting that.
2018-03-04CMakeLists.txt: indent files with 4 spaces as everywhere elseKitsune Ral
[skip ci]
2018-03-04Merge pull request #180 from Quiark/update_compilerKitsune Ral
Making it compile for android
2018-03-03Caching: switching to binary JSON format; yield to event loop while making a ↵Kitsune Ral
cache payload
2018-03-03Merge branch 'ci-tweaks'Kitsune Ral
2018-03-03Improve compatibility with gcc 4.9 to be able to build for Android with ↵Roman Plášil
QtCreator
2018-03-02ISSUE_TEMPLATE.mdKitsune Ral
2018-03-02Travis CI: run qmc-example on OSX; set valgrind options externallyKitsune Ral
The first part at least checks that qmc-example works on OSX (and we no more make a useless bundle for it). The second part allows to change valgrind options without tinkering .travis.yml.
2018-03-01Connection::tagNames()Kitsune Ral
To be able to get all available tags throughout the connection.
2018-03-01Fix tags saving/restoring (finally)Kitsune Ral
Closes #134.
2018-02-28Skip retry interval if the last job attempt timed outKitsune Ral
Closes #175.
2018-02-28Don't resolve the homeserver port from a user MXIDKitsune Ral
Closes #176. The right way (c) of server name resolution will be done in #178 (see also the Google Doc mentioned in it).
2018-02-28To the previous commit: µ (mu, micro) is a part of Latin-1 code page.Kitsune Ral
And QDebug doesn't work with u"" anyway.
2018-02-28Profiling logs: added µs, less empty profiling log linesKitsune Ral
Closes #177.
2018-02-27Travis CI: Fix a typoKitsune Ral
2018-02-27Room: Save tags in the cache; isFavourite() and isLowPriority()Kitsune Ral
2018-02-26qmc-example: Temporarily comment out the code that uses uncommitted featuresKitsune Ral
2018-02-26TagEvent: drop unneeded methods; add a license block to the .cpp fileKitsune Ral
Those methods are more appropriate for Room.
2018-02-26qmc-example: Optionally send a test message; don't dump incoming messages to ↵Kitsune Ral
cout The room alias is the third parameter (after user and password).
2018-02-26Travis CI: Skip valgrind on OSX; send a message to a test room on every runKitsune Ral
2018-02-26Deal with memory more carefullyKitsune Ral
Plugs some memory leaks reported by Valgrind.
2018-02-26Fix on the previous fix (sorry for the mess)Kitsune Ral
2018-02-26Fix (not working for quite a long time) CI on OSXKitsune Ral
2018-02-26Travis CI: an attempt to introduce automatic testingKitsune Ral
Adding valgrind to the mix.
2018-02-26qmc-example: Single-shot sync instead of continuous; room tags; code cleanupKitsune Ral
Single-shot sync is now used because with that qmc-example can be used as a crude auto-testing tool.
2018-02-26Merge branch 'kitsune-account-data'Kitsune Ral
2018-02-26Room and Connection: support room tagsKitsune Ral
Closes #134.
2018-02-26TagEvent: m.tag events parsingKitsune Ral
Using them in rooms and connection comes in the next commit.
2018-02-26SyncJob: parse events from global account data tooKitsune Ral
Closes #123 (room account data were parsed even before). No specific event classes for account data yet, though.
2018-02-26Room: show 1-on-1 invitations in a better wayKitsune Ral
Previously it was just an "Empty room" name, now it's "Invitation from %1".
2018-02-25ReceiptEvent: code cleanupKitsune Ral
2018-02-24Merge branch 'kitsune-room-specific-userinfo'Kitsune Ral
2018-02-24User: store avatars on the heap; use two containers to store ↵Kitsune Ral
avatars-to-rooms mapping Because they are uncopiable, unlike pointers to them; and a combination of QHash of avatars and a QMultiHash of rooms is much more convenient than a std::vector<std::pair<...>>.