Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-29 | Rename pieces with qmc/qmatrixclient | Kitsune Ral | |
2019-09-29 | function_traits: drop unused pieces | Kitsune Ral | |
is_callable won't ever be needed because std::is_invokable is here; arg_number and returns() didn't find its users; and function_type has been just broken all along for member functions. | |||
2019-09-29 | Simplify visit() signature | Kitsune Ral | |
Checking that BaseEventT descends from Event is really extraneous. | |||
2019-09-29 | Make connectSingleShot work wherever QObject::connect works | Kitsune Ral | |
Also: doc-comment connectUntil and unify implementation of both functions. | |||
2019-09-29 | .clang-format: don't add a whitespace before a colon in range-for | Kitsune Ral | |
2019-09-29 | Settings: childGroups() should merge legacy and current groups; QMC->QTNT in ↵ | Kitsune Ral | |
macros Because otherwise migrating one group to the current location leads to all other groups suddenly disappearing from Settings view. | |||
2019-09-29 | Fix formatting weirdness | Kitsune Ral | |
Alas, clang-format is not terrifically good around [[attributes]] | |||
2019-09-24 | Room: cleanup | Kitsune Ral | |
2019-09-12 | Introduce HashQ<> and UnorderedMap<> | Kitsune Ral | |
Invading into std:: is frowned upon, even though legitimate from the C++ standard perspective. Given that it's possible to pass a hash object to unordered_map, it only takes an alias for std::unordered_map to avoid having to specialize std::hash. And besides, a generic compatibility bridge between qHash and std::hash has been long needed. std::hash<QString> in converters.h remains for now; it will be dropped separately when the API files get regenerated to use UnorderedMap. | |||
2019-09-11 | CMakeLists.txt: use set_target_properties(); specify C++ std per-target | Kitsune Ral | |
2019-08-29 | Merge pull request #348 from quotient-im/kitsune-better-basejob | Kitsune Ral | |
Better BaseJob | |||
2019-08-27 | libquotient.pri: use c++1z to help older qmake | Kitsune Ral | |
CONFIG *= c++17 is available from Qt 5.12 only. | |||
2019-08-27 | More compliant 'using' for chrono_literals | Kitsune Ral | |
Compilers warn on using 'using ...::operator""s' because they think we're redefining the reserved suffix. | |||
2019-08-27 | Don't use enumerator attributes | Kitsune Ral | |
Anything after enumerators is a problem for moc before Qt 5.12; so we can't use enumerator attributes before then. | |||
2019-08-27 | Tighten the code; add a missing #include | Kitsune Ral | |
MSVC warns on class/struct mismatch and errors on std::array because `<array>` is not indirectly included on that platform. | |||
2019-08-26 | Room::calculateDisplayname: use local aliases for room naming | Kitsune Ral | |
The Spec now allows it, even if with a disclaimer that it's subject for further removal. | |||
2019-08-26 | setAvatarForRoom: try recover from otherAvatars inconsistency | Kitsune Ral | |
Hopefully manages cases like #347 in a better way. | |||
2019-08-25 | RoomMessageEvent::content(): constify event content | Kitsune Ral | |
2019-08-20 | BaseJob/ConnectionData: connection-wide rate-limiting | Kitsune Ral | |
As before, completely transparent for clients, driven by 529 errors from the server (but cases of rate limiting are signalled by BaseJob::rateLimited). That brings changes to BaseJob API: timeouts now use int64_t and also can be handled in std::chrono terms; aboutToStart() -> aboutToSendRequest(); started() -> sentRequest(). Closes #292. | |||
2019-08-20 | BaseJob: Status/StatusCode tweaks, cleanup, mo' comments | Kitsune Ral | |
Notably, recovered Status::fromHttpCode() that was introduced in 5722ceaf4bd10c29f1091e3dc5a87f5650ea8c71 but fell victim of a careless merge (so much for introducing non-topical changes in feature branches). | |||
2019-08-20 | Connection::run() | Kitsune Ral | |
Finally, clients can pre-create job objects and then separately submit them for execution on a given connection - previously such separation was a privilege of Connection (others had to use Connection::callApi<>, which invoked jobs right away). | |||
2019-08-20 | Store userId in ConnectionData instead of Connection | Kitsune Ral | |
To collect all connection-identifying information in a single place. | |||
2019-08-19 | Room::Private::doSendEvent: fix too early change in BaseJob signals | Kitsune Ral | |
That's a matter of another upcoming commit. | |||
2019-08-18 | room.cpp: applied clang-format with updated penalty values | Kitsune Ral | |
2019-08-18 | Room: use new logging categories | Kitsune Ral | |
2019-08-18 | Room::decryptMessage: now with the header file changes | Kitsune Ral | |
2019-08-18 | Merge pull request #345 from rpallai/UnreadNotifsChange | Kitsune Ral | |
Update the cache for sure if unread counters were changed | |||
2019-08-18 | Room::decryptMessage: fix memory leaks and dangling pointers | Kitsune Ral | |
2019-08-18 | New logging categories: events.state, events.messages, and e2ee | Kitsune Ral | |
2019-08-18 | .clang-format: minor tweaks in penalties | Kitsune Ral | |
2019-08-17 | Update the cache for sure if unread counters were changed | Roland Pallai | |
In Quaternion, I was able to reproduce a process where `d->notificationCount` and `d->highlightCount` were changed in `Room::updateData()` meanwhile `roomChanges` indicated `NoChange` thus the cache became permanently inconsistent with running state. Without deep understanding of `roomChanges` logic, I've applied this straightforward change which made this phenomenon unreproducible. | |||
2019-08-16 | BaseJob: support M_USER_DEACTIVATED error code | Kitsune Ral | |
Closes #344. | |||
2019-08-13 | Support for server notices rooms (MSC1452) | Kitsune Ral | |
Closes #326. | |||
2019-08-12 | README.md: a few notes around using with qmake | Kitsune Ral | |
2019-08-12 | qmc-example.pro: CONFIG += c++17 warn_on | Kitsune Ral | |
2019-08-12 | .travis.yml: add qtmultimedia5-dev to Linux build boxes | Kitsune Ral | |
2019-08-12 | Update Qt5 package naming to match that in bionic | Kitsune Ral | |
2019-08-12 | Ok, bionic has its own Qt5 | Kitsune Ral | |
2019-08-12 | .travis.yml: Switch to bionic | Kitsune Ral | |
2019-08-12 | e2ee.h: Make constants inline instead of static | Kitsune Ral | |
This changes from internal linkage for every translation unit including e2ee.h to external linkage across translation units but without the need to create a .cpp file just to define and init the constants. | |||
2019-08-12 | Make Settings::remove() to clear the legacy; more doc-comments | Kitsune Ral | |
2019-08-12 | CONTRIBUTING.md: more about commenting code | Kitsune Ral | |
2019-08-11 | CMakeLists.txt: tell CMake to not add /W3 flag for MSVC | Kitsune Ral | |
...because /W4 is explicitly added instead. | |||
2019-08-11 | Use [[maybe_unused]] instead of [[gnu::unused]] | Kitsune Ral | |
2019-08-11 | More MSVC suppresions; switch to C++17 in qmake as well | Kitsune Ral | |
2019-08-11 | Now that we're C++17, remove old compatibility cruft | Kitsune Ral | |
2019-08-11 | CMakeLists.txt: more MSVC warning suppresions | Kitsune Ral | |
2019-08-11 | CMakeLists.txt: suppress more MSVC warnings | Kitsune Ral | |
2019-08-11 | CMakeLists.txt: fixed typos | Kitsune Ral | |
2019-08-11 | CMakeLists.txt: suppress some MSVC warnings | Kitsune Ral | |