aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-01Fix building on OSXKitsune Ral
2018-05-01Merge branch 'master' into kitsune-gtadKitsune Ral
2018-05-01jobs/generated: use std::move in baseURL; type updates from the API filesKitsune Ral
The type updates are a matter of pending PR to matrix-doc yet.
2018-05-01gtad.yaml: Use EventPtr for Notifications.Event; add variant type to the mapKitsune Ral
Variants are not yet supported but just in case, let's have the line, it's very obvious.
2018-05-01GetNotificationsJob: don't alias EventPtr with EventKitsune Ral
It's useless and misleading.
2018-05-01jobs/generated: use std::move in baseURL; type updates from the API filesKitsune Ral
The type updates are a matter of pending PR to matrix-doc yet.
2018-05-01Event and Room: further abstract event pointersKitsune Ral
So that eventual switch from std::unique_ptr to some other pointer (as a case - QSharedPointer) would be as painless as possible.
2018-05-01Room: endorse std::moveKitsune Ral
That is, add "using std::move" and strip std:: from actual usages.
2018-05-01converters.h: Support std::vector<>Kitsune Ral
2018-05-01User::processEvent: add constKitsune Ral
2018-05-01RedactionEvent: make the constructor explicitKitsune Ral
2018-05-01Event: cleanupKitsune Ral
2018-05-01Integrate converters with EventPtr partiallyKitsune Ral
So that events can be created from JSON in the same way as all other types.
2018-05-01Mustache: more C++ tidying and empty lines removalKitsune Ral
2018-05-01ConnectionsGuard: one more fix about defaultsKitsune Ral
2018-05-01jobs/generated: GetNotificationsJobKitsune Ral
2018-04-30ConnectionsGuard: one more fix about defaultsKitsune Ral
2018-04-30jobs/generated: GetNotificationsJobKitsune Ral
2018-04-30jobs/generated: cleanup C++Kitsune Ral
2018-04-30ConnectionsGuard: suppress the copying assignment operatorKitsune Ral
It accidentally leaked through using QPointer::operator=
2018-04-30Build systems: add jobs/generated/definitions to the mixKitsune Ral
2018-04-30gtad.yaml: Migrate to GTAD 0.5 config formatKitsune Ral
2018-04-30jobs/generated: cleanup C++Kitsune Ral
2018-04-30Mustache templates: cleanup C++Kitsune Ral
2018-04-30ConnectionsGuard: suppress the copying assignment operatorKitsune Ral
It accidentally leaked through using QPointer::operator=
2018-04-29Merge branch 'master' into kitsune-gtadKitsune Ral
2018-04-27Use bridge names as the first line of disambiguationKitsune Ral
If can get away without showing MXIDs we should do it.
2018-04-27Cache bridge names along with user namesKitsune Ral
Otherwise the bridge is forgotten after restart. This bumps the cache version.
2018-04-27Fix broken User::displayName() logicKitsune Ral
Also, add an assert to Connection::user() to make sure it doesn't create users with invalid ids. Closes #201.
2018-04-27User::rawName(); bonus, bring order to doc commentsKitsune Ral
This new function allows to get the username along with its bridge (basically, undoing the change applied by processEvent for cases when it is undesirable).
2018-04-27User::processEvent: fix bridge postfix not being strippedKitsune Ral
Closes #197.
2018-04-25BaseJob::doCheckReply: catch non-HTTP errors tooKitsune Ral
2018-04-25BaseJob: rewrite error detection using genuine HTTP codesKitsune Ral
Qt Network error codes don't represent well some cases. Closes #200.
2018-04-25Avatar: don't allow null callbacks to be registeredKitsune Ral
2018-04-22Avatar: clear the list of callbacks after completion + general code cleanupKitsune Ral
2018-04-22Code reformattingKitsune Ral
2018-04-16ConnectionsGuard<> template to automatically disconnect subscribersKitsune Ral
Case in point is a room list model (so far in Quaternion, but planned for inclusion to the lib) that stores lists of connections and rooms; upon dropping, e.g., a room from the list the model should disconnect from the room's signals.
2018-04-14jobs/generated: Overload toJson() instead of operator QJsonObject()/QJsonValue()Kitsune Ral
It slightly reduces the header interface and shortcuts the actual call chain (not that it had any performance implications, just easier reasoning).
2018-04-14Mustache templates: Overload toJson() instead of operator ↵Kitsune Ral
QJsonObject()/QJsonValue() It slightly reduces the header interface and shortcuts the actual call chain (not that it had any performance implications, just easier reasoning).
2018-04-14Mustache: {{#producesNonJson?}} -> {{#producesNotJson?}}Kitsune Ral
According to the most recent changes in GTAD.
2018-04-14CMakeLists.txt: minor refactoringKitsune Ral
2018-04-13Support Qt 5.4Kitsune Ral
That is until ubports move to xenial.
2018-04-13converters.h: Support QVariantMap and QVariantHashKitsune Ral
2018-04-13Merge branch 'master' into kitsune-gtadKitsune Ral
2018-04-11Comment out install(EXPORT_ANDROID_MK)Kitsune Ral
It's only available in CMake 3.7 and later and is not needed for any known project anyway.
2018-04-05qmc-example: fix false negatives due to a missing returnKitsune Ral
2018-04-05Unofficially relax Qt requirement to 5.5.1Kitsune Ral
This is to support uMatriks that still has to compile on xenial codebase.
2018-04-03DirectChatEvent: be careful with range-for over temporariesKitsune Ral
...because temporaries returned by temporaries tend to disappear before you enter the loop body (see the bottom of http://en.cppreference.com/w/cpp/language/range-for#Explanation).
2018-04-03More fixes from static analysisKitsune Ral
2018-04-03CMakeLists.txt: Specify the API version correctlyKitsune Ral
It's not version 2, it's still version 0.2.