Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-27 | connectSingleShot() | Kitsune Ral | |
Time and again I need one-off slots that disconnect once they are done. The code has been inside Connection implementation for quite some time, now it's put to the interface for usage in other places (notably qmc-example). | |||
2018-07-27 | Fix compilation with Clang | Kitsune Ral | |
2018-07-27 | makeEvent<>: Add a doc comment | Kitsune Ral | |
[ci skip] | |||
2018-07-27 | event.h: drop eventCast for references; other cleanup | Kitsune Ral | |
Omittable<> doesn't work with reference types and returning an unknown event spoils the experience. It's much simpler to just deal with event pointers instead. | |||
2018-07-27 | Omittable<>: use std::decay<>, add assertion | Kitsune Ral | |
...against unwrapping omitted values (the release build will return a default-constructed value). | |||
2018-07-23 | Fix rooms tags being incorrectly set | Kitsune Ral | |
Many thanks to @encombhat for pinpointing. | |||
2018-07-22 | Switched to GTAD 0.7-pre | Kitsune Ral | |
{{>}} instead of {{#@filePartial}}, library macros begin with _ instead of @, mustache/definitions split - see the GTAD commit log. | |||
2018-07-22 | gtad.yaml: cleanup | Kitsune Ral | |
2018-07-22 | Merge pull request #223 from encombhat/master | Kitsune Ral | |
Expose Room::addTag() and Room::removeTag() to QML | |||
2018-07-22 | Change order data type. | Black Hat | |
2018-07-22 | csapi: Minor cleanup in #includes, part 2 | Kitsune Ral | |
2018-07-22 | csapi: Minor cleanup in #includes | Kitsune Ral | |
2018-07-21 | csapi: add definitions/auth_data.* and optimise out trivial files with the ↵ | Kitsune Ral | |
latest GTAD | |||
2018-07-21 | Overload Room:addTag. | Black Hat | |
2018-07-21 | Mark Room::addTag() and Room::removeTag() as Q_INVOKABLE. | Black Hat | |
2018-07-21 | csapi: Fix indentaton of data structures inside job classes | Kitsune Ral | |
2018-07-20 | csapi: Rename entities in application-service/ | Kitsune Ral | |
The actual change is in API definition files, this is just regeneration. | |||
2018-07-19 | ConnectionData: use std::move() | Kitsune Ral | |
2018-07-19 | Connection::stateChanged() signal | Kitsune Ral | |
Also: as of the previous commit, we officially bump API version to 0.4 | |||
2018-07-18 | csapi: third_party_lookup.* and its dependencies in application-service/ | Kitsune Ral | |
As per the latest API definitions. | |||
2018-07-18 | csapi: Doxy-comments thanks to the latest GTAD | Kitsune Ral | |
2018-07-16 | Connection::uploadFile(): Fix a missing negation | Kitsune Ral | |
...leading to uploadFile() being never even functional - the code really needs tests. Closes #221. | |||
2018-07-16 | Fix a clazy warning | Kitsune Ral | |
2018-07-11 | Room: (optionally) keep redaction events in the timeline | Kitsune Ral | |
If KEEP_REDACTIONS_IN_TIMELINE is defined, the library adds redaction events to the timeline as well. If not, the legacy behaviour is used: redaction events themselves are dropped from the timeline and only stored as parts of redacted events. Closes #220. Closes #196 (requires KEEP_REDACTIONS_IN_TIMELINE for that). | |||
2018-07-11 | converters.h: overload addTo() for QStringList to fix FTBFS with the new csapi | Kitsune Ral | |
2018-07-11 | csapi: Update to the latest API definitions | Kitsune Ral | |
Presence requires authentication; GetConfigJob; GetLoginFlowsJob; serverName parameter in JoinRoomJob. | |||
2018-07-11 | Introduce DISABLE_EVENTTYPE flag | Kitsune Ral | |
If defined (value doesn't matter), it will suppress generation of deprecated EventType constants. Not defined by default, as of 0.4. | |||
2018-07-11 | EventFactory::make() should return nullptr in case of failure | Kitsune Ral | |
Otherwise factory chaining doesn't work right (an unknown event returned by a chained factory is treated as successful parsing). | |||
2018-07-11 | Add missing #includes | Kitsune Ral | |
2018-07-11 | event.h: protect from readding factory methods | Kitsune Ral | |
2018-07-11 | Room::isRedaction: disallow empty pointers | Kitsune Ral | |
They should not come anywhere around Room. | |||
2018-07-11 | EventTypeRegistry::getMatrixType(): move implementation to .cpp | Kitsune Ral | |
2018-07-10 | Room::postHtmlMessage() - a facility method to send HTML messages | Kitsune Ral | |
2018-07-09 | Add a missing #include | Kitsune Ral | |
2018-07-09 | Room: Revert from visit() to a combination of ifs and eventCasts | Kitsune Ral | |
Easier to read, and also easier compiler diagnostics if things go wrong. Still using visit() for state events processing though - it maintains that all lambdas return some value. | |||
2018-07-09 | Fix legacy EventType values being incorrectly initialised | Kitsune Ral | |
Static storage initialisation fiasco, as it is... | |||
2018-07-08 | Revert perfect forwarding support in Omittable | Kitsune Ral | |
Turned out to work in unexpected ways when an Omittable<> gets copied. | |||
2018-07-08 | Use constexpr functions instead of variables | Kitsune Ral | |
MSVC struggles with template variables... | |||
2018-07-08 | visit<>(): drop the overload for pointer-like objects | Kitsune Ral | |
It confuses compilers and adds a mostly unneeded null check; it's dead easy to just dereference a pointer before passing it to visit<>(). | |||
2018-07-08 | visit<>(): support catch-all visitors on the tail | Kitsune Ral | |
2018-07-08 | eventCast(): generalize to smart pointers | Kitsune Ral | |
2018-07-08 | Omittable: support perfect forwarding | Kitsune Ral | |
2018-07-08 | TimelineItem::viewAs(): fix a typo | Kitsune Ral | |
2018-07-08 | TimelineItem: get(); validating viewAs<>() | Kitsune Ral | |
Having get() allows to work with TimelineItem as a smart pointer. | |||
2018-07-08 | eventCast<>() | Kitsune Ral | |
2018-07-08 | Generalize weakPtrCast<>() | Kitsune Ral | |
2018-07-08 | Move Omittable<> to util.h | Kitsune Ral | |
2018-07-07 | visit<>(): Add an overload accepting a default value | Kitsune Ral | |
2018-07-07 | Remove [[gnu::const]] from linkifyUrls() | Kitsune Ral | |
It's not a pure function by any account. Closes #377. Also: minor tweaks in util.cpp | |||
2018-07-07 | Reinstate EventTypeRegistry, keeping EventTypeTraits<> around | Kitsune Ral | |
You can now get a (much more readable) Matrix type (event_mtype_t) for the internal event type code (event_type_t) using EventTypeRegistry::getMatrixType(). |