Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-01 | converters.h: Support std::vector<> | Kitsune Ral | |
2018-05-01 | User::processEvent: add const | Kitsune Ral | |
2018-05-01 | RedactionEvent: make the constructor explicit | Kitsune Ral | |
2018-05-01 | Event: cleanup | Kitsune Ral | |
2018-05-01 | Integrate converters with EventPtr partially | Kitsune Ral | |
So that events can be created from JSON in the same way as all other types. | |||
2018-04-30 | ConnectionsGuard: one more fix about defaults | Kitsune Ral | |
2018-04-30 | jobs/generated: GetNotificationsJob | Kitsune Ral | |
2018-04-30 | jobs/generated: cleanup C++ | Kitsune Ral | |
2018-04-30 | ConnectionsGuard: suppress the copying assignment operator | Kitsune Ral | |
It accidentally leaked through using QPointer::operator= | |||
2018-04-27 | Use bridge names as the first line of disambiguation | Kitsune Ral | |
If can get away without showing MXIDs we should do it. | |||
2018-04-27 | Cache bridge names along with user names | Kitsune Ral | |
Otherwise the bridge is forgotten after restart. This bumps the cache version. | |||
2018-04-27 | Fix broken User::displayName() logic | Kitsune Ral | |
Also, add an assert to Connection::user() to make sure it doesn't create users with invalid ids. Closes #201. | |||
2018-04-27 | User::rawName(); bonus, bring order to doc comments | Kitsune 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-27 | User::processEvent: fix bridge postfix not being stripped | Kitsune Ral | |
Closes #197. | |||
2018-04-25 | BaseJob::doCheckReply: catch non-HTTP errors too | Kitsune Ral | |
2018-04-25 | BaseJob: rewrite error detection using genuine HTTP codes | Kitsune Ral | |
Qt Network error codes don't represent well some cases. Closes #200. | |||
2018-04-25 | Avatar: don't allow null callbacks to be registered | Kitsune Ral | |
2018-04-22 | Avatar: clear the list of callbacks after completion + general code cleanup | Kitsune Ral | |
2018-04-22 | Code reformatting | Kitsune Ral | |
2018-04-16 | ConnectionsGuard<> template to automatically disconnect subscribers | Kitsune 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-13 | Support Qt 5.4 | Kitsune Ral | |
That is until ubports move to xenial. | |||
2018-04-13 | converters.h: Support QVariantMap and QVariantHash | Kitsune Ral | |
2018-04-05 | Unofficially relax Qt requirement to 5.5.1 | Kitsune Ral | |
This is to support uMatriks that still has to compile on xenial codebase. | |||
2018-04-03 | DirectChatEvent: be careful with range-for over temporaries | Kitsune 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-03 | More fixes from static analysis | Kitsune Ral | |
2018-04-02 | BaseJob: set the status upon headers arrival | Kitsune Ral | |
So that DownloadFileJob could figure if it should save the incoming payload to the file or it's the JSON details about the error. | |||
2018-04-02 | Fixes according to results of static analysis | Kitsune Ral | |
Many thanks to clang-tidy and clazy authors for the tools, and to Qt Creator developers for making them easily available in the IDE. | |||
2018-04-02 | Be more cautious with rvalues | Kitsune Ral | |
Clang on FreeBSD doesn't seem to be playing nice in Release configuration. See the comment in the committed code. | |||
2018-04-02 | lookup()/dispatch() removed; unique_ptr_cast() and qAsConst() introduced | Kitsune Ral | |
qAsConst() is a copy-paste from Qt code and is only supplied by QMatrixClient if Qt is below 5.7. unique_ptr_cast<> is similar to static_cast<> of pointers but deals with unique_ptr's, passing ownership to the newly made pointer. | |||
2018-04-02 | Room/Connection: accountData()/accountDataChanged() | Kitsune Ral | |
Generic account data are at least readable now (you can get, say, pushers from the library without it even being aware of what a pusher is). | |||
2018-04-01 | Pass actual changes with Connection::directChatsListChanged() | Kitsune Ral | |
Also: provide Connection::directChats() to get the whole direct chats map. | |||
2018-04-01 | BaseJob: use QDebugStateSaver | Kitsune Ral | |
...instead of copying the whole QDebug object. | |||
2018-03-31 | Merge branch 'kitsune-install-target' | Kitsune Ral | |
Closes #113. | |||
2018-03-31 | Move source files to a separate folder | Kitsune Ral | |
It's been long overdue to separate them from the rest of the stuff (docs etc.). Also, this allows installing to a directory within the checked out git tree (say, ./install/, similar to ./build/). |