aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppStream.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '1.5'Linus Jahn2023-03-171-5/+13
|\
| * Stream: IQ handling: Accept responses without 'from' attribute (#556)Melvin Keskin2023-03-171-3/+11
| | | | | | | | See https://xmpp.org/rfcs/rfc6120.html#stanzas-attributes-from-c2s point 3
| * Client: Don't fill empty 'to' attributes of outgoing IQsLinus Jahn2023-03-141-2/+2
| |
* | Remove Qt < 5.15 compat codeLinus Jahn2023-01-311-15/+0
|/
* Stream: Fix use of moved valueLinus Jahn2023-01-281-2/+2
|
* Use QXmppError in all IQ results instead of StanzaErrorLinus Jahn2023-01-221-6/+3
| | | | | | | | This allows us to report different error types with more information and makes it possible to distinguish stanza errors and errors generated locally. Part of #501.
* Introduce QXmppTask & QXmppPromiseLinus Jahn2023-01-031-21/+17
| | | | | | Closes #502. Co-authored-by: Jonah Brüchert <jbb@kaidan.im>
* Replace QXmpp::SendError with QXmppError everywhereLinus Jahn2022-12-301-7/+7
| | | | Part of #501.
* Stream: Add IQ response sender checkLinus Jahn2022-12-281-12/+30
| | | | | | | Verifies that the sender of the response is correct, so no evil entity can inject responses. Fixes #510.
* Reformat codeLinus Jahn2022-09-061-4/+8
|
* Run 'clang-format' on all filesMelvin Keskin2022-01-151-4/+2
|
* Convert copyright headers to REUSELinus Jahn2022-01-141-23/+4
|
* Update copyright years (2022 edition)Linus Jahn2022-01-091-1/+1
|
* QXmppStream: Allow to use existing future interfaceLinus Jahn2021-09-281-10/+52
|
* Client: Require moving the packets/iqs for sendingLinus Jahn2021-09-281-14/+11
|
* Adapt IQ parsing to new packet sendingLinus Jahn2021-09-031-7/+12
| | | | Remove now unused QXmpp::PacketState.
* Refactor packet sending: Add SendSuccess/SendErrorLinus Jahn2021-09-031-18/+16
|
* QXmppStream: Refactor and simplify IQ handlingLinus Jahn2021-08-311-52/+30
|
* Make it possible to send QXmppNonzas over streamsLinus Jahn2021-08-261-2/+2
|
* QXmppStream: Fix memory leak in new IqStateLinus Jahn2021-07-061-3/+3
| | | | The code needs to be improved here.
* Add reporting of IQ responses with QFuturesLinus Jahn2021-06-271-1/+132
|
* QXmppStream: Report packet sending result using QFuturesLinus Jahn2021-06-271-10/+28
|
* QXmppClient: Reset Stream Management package cache on JID changesLinus Jahn2021-03-111-0/+13
| | | | | | | | | | | | | | | 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-123/+22
|
* Clean up QXmppStream (stream management)Linus Jahn2021-01-091-30/+39
|
* Fix empty incoming XML log introduced in 6dce271Linus Jahn2020-12-271-1/+1
|
* Add extra unit test for QXmppStreamLinus Jahn2020-10-101-1/+6
|
* QXmppStream: Refactor XML parsing, Replace deprecated QRegExpLinus Jahn2020-10-101-38/+78
| | | | QRegExp has been removed from Qt 6 completely.
* Replace deprecated QString::contains(QRegExp)Linus Jahn2020-07-031-2/+2
| | | | It has been removed in Qt 6.0.
* Replace deprecated QSslSocket::error signalLinus Jahn2020-07-031-0/+4
|
* Add \since tags for QXmpp 1.0 everywhereLinus Jahn2020-04-061-2/+14
|
* Replace deprecated 'qsrand()' and 'qrand()' by QRandomGenerator (#267)melvo2020-03-291-0/+4
| | | | Since QRandomGenerator is only available since Qt 5.10, the deprecated functions are still used for Qt < 5.10.
* Expand QSL and QBLJonah Brüchert2020-03-291-3/+3
| | | | So they don't leak into the public API
* base: Convert to QStringLiteralJonah Brüchert2020-03-281-3/+3
| | | | | | Two new macros were added: * QBL (short alias for QByteArrayLiteral) * QSL (short alias for QStringLiteral)
* doc: Use XEP links everywhereLinus Jahn2020-02-111-15/+33
|
* Run clang-format also on all cpp filesLinus Jahn2020-02-031-13/+10
|
* clang-format: Enable regrouping and sorting of includesLinus Jahn2020-02-031-1/+1
|
* Port majority of old-style connects (#237)JBB2020-01-201-18/+4
| | | This provides more type safety and is future-proof.
* Bump copyright year to 2020Linus Jahn2020-01-061-1/+1
|
* Use raw literals, range based loops and autoJonah Brüchert2019-10-221-1/+1
|
* Modernize codebase using clang-tidyJonah Brüchert2019-09-081-1/+1
| | | | | | | | Using the following checks: * modernize-use-nullptr * modernize-use-override * modernize-use-using * modernize-use-bool-literals
* Bump copyright year to 2019Jeremy Lainé2019-01-081-1/+1
|
* Fix spelling errorsBoris Pek2019-01-081-1/+1
|
* Set Stream Management to disabled when the socket becomes readyNiels Ole Salscheider2017-04-291-0/+1
| | | | This is important for reconnects.
* Implement XEP-0198: Stream Management (client only) (#99)Niels Ole Salscheider2017-02-121-3/+119
| | | | | | | | | | | | | | * 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
* clarify the fact QXmppConstants_p.h is not APIJeremy Lainé2016-09-081-1/+1
|
* QXmppStream : handle end of incoming stream (fixes issue #70)Jeremy Lainé2015-08-271-5/+15
|
* don't try to send stream end if socket is disconnectedJeremy Lainé2015-08-271-4/+7
|
* update project homepageJeremy Lainé2014-03-281-1/+1
|