aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppStreamManagement.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Introduce QXmppTask & QXmppPromiseLinus Jahn2023-01-031-7/+6
| | | | | | Closes #502. Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* Replace QXmpp::SendError with QXmppError everywhereLinus Jahn2022-12-301-2/+2
| | | | Part of #501.
* Reformat codeLinus Jahn2022-09-061-8/+16
|
* Stanza_p.h: Move function definitions into Stanza.cppLinus Jahn2022-03-121-0/+2
| | | | | This way the function definition is shared and it avoids unused function warnings in QXmppStreamManagement.cpp.
* Run 'clang-format' on all filesMelvin Keskin2022-01-151-2/+1
|
* Convert copyright headers to REUSELinus Jahn2022-01-141-22/+3
|
* Update copyright years (2022 edition)Linus Jahn2022-01-091-1/+1
|
* Refactor packet sending: Add SendSuccess/SendErrorLinus Jahn2021-09-031-8/+13
|
* QXmppStream: Report packet sending result using QFuturesLinus Jahn2021-06-271-8/+31
|
* doc: "Fix" warnings from StreamManagement* classesLinus Jahn2021-03-281-0/+2
|
* QXmppClient: Reset Stream Management package cache on JID changesLinus Jahn2021-03-111-0/+5
| | | | | | | | | | | | | | | The stream management mechanisms cache sent packages until the client receives an acknowledgement from the server. When the connection gets lost, the client resends all packages from the last connection that have not been acknowledged. And here comes the problem: When connecting with a different JID, the client still resends all packages from the last connection. Packages that were never intended to be sent from another account / to another server. This commit fixes this behaviour by resetting the package cache, when the JID changes.
* Update copyright headers to 2021Linus Jahn2021-02-191-1/+1
|
* QXmppStream: Move stream management into separate classLinus Jahn2021-01-091-0/+130
|
* QXmppStanza::Error: Use std::optional<> internallyLinus Jahn2020-07-121-3/+4
| | | | | | | | | This makes the variables for the error type and condition an std::optional<> as this makes the meaning clearer than hidden -1 values created by dubious casts. For now, the API is not changed, because we can't replace the getter easily. We could do something like type() and optionalType().
* Expand QSL and QBLJonah Brüchert2020-03-291-28/+28
| | | | So they don't leak into the public API
* Reformat codeJonah Brüchert2020-03-281-2/+1
|
* base: Convert to QStringLiteralJonah Brüchert2020-03-281-28/+30
| | | | | | Two new macros were added: * QBL (short alias for QByteArrayLiteral) * QSL (short alias for QStringLiteral)
* Run clang-format also on all cpp filesLinus Jahn2020-02-031-12/+12
|
* clang-format: Enable regrouping and sorting of includesLinus Jahn2020-02-031-3/+2
|
* Replace manual xmlns writing by writeDefaultNamespace()Linus Jahn2020-01-291-5/+5
| | | | | | | This is the result of: sed -i 's/writeAttribute("xmlns", /writeDefaultNamespace(/g' \ $(find . -iname "*.cpp" -or -iname "*.h")
* Bump copyright year to 2020Linus Jahn2020-01-061-1/+1
|
* Bump copyright year to 2019Jeremy Lainé2019-01-081-1/+1
|
* Implement XEP-0198: Stream Management (client only) (#99)Niels Ole Salscheider2017-02-121-0/+325
* Some features can be available with different namespaces (e.g. SM) * Provide static functions to convert between strings and stream errors Stream management will reuse this for <failed />. * [travis] test builds using clang * Implement XEP-0198: Stream Management (client only) * QXmppOutgoingClient: Move private methods to QXmppOutgoingClientPrivate