aboutsummaryrefslogtreecommitdiff
path: root/src/base
Commit message (Collapse)AuthorAgeFilesLines
...
* Clean up QXmppStream (stream management)Linus Jahn2021-01-092-33/+42
|
* Fix empty incoming XML log introduced in 6dce271Linus Jahn2020-12-271-1/+1
|
* Add SCRAM-SHA3-512 SASL algorithmLinus Jahn2020-10-311-0/+13
| | | | | QCryptographicHash::Sha3_512 was accidentially using Keccak-512 before Qt 5.9.2, thus we can only use SCRAM-SHA3-512 when using Qt >= 5.9.2.
* Add SCRAM-SHA-512 SASL algorithmLinus Jahn2020-10-311-0/+4
|
* SaslClientScram: Refactor to simplify adding new algorithmsLinus Jahn2020-10-312-26/+47
| | | | Adding new algorithms only needs a new name/algorithm entry now.
* QXmppDataForm: tiny fix after 8cfb21e93bb83e3d4cdb4cb26d608c04c340639cBoris Pek2020-10-111-1/+1
|
* QXmppDataForm: Fix with Qt6 QVariant::isNull() behaviourLinus Jahn2020-10-101-1/+1
|
* Port remaining Qt-6-removed APIsLinus Jahn2020-10-104-41/+20
|
* Add extra unit test for QXmppStreamLinus Jahn2020-10-102-1/+10
|
* QXmppStream: Refactor XML parsing, Replace deprecated QRegExpLinus Jahn2020-10-101-38/+78
| | | | QRegExp has been removed from Qt 6 completely.
* Enable -DQURL_NO_CAST_FROM_STRING -DQT_NO_CAST_TO_ASCIIDavid Faure2020-10-103-5/+5
| | | | | I have those always enabled, which is how I detected these issues. This avoids QUrl/QString confusions, and QString/QByteArray confusions.
* doc: Add QXmppPushEnableIq to Stanzas groupLinus Jahn2020-08-081-0/+2
|
* Hide deprecation warnings caused by compatibility codeLinus Jahn2020-08-042-3/+16
| | | | This makes the build log clean again.
* QXmppStanza::Error: Use std::optional<> internallyLinus Jahn2020-07-124-79/+67
| | | | | | | | | 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().
* Replace deprecated QString::contains(QRegExp)Linus Jahn2020-07-032-6/+6
| | | | It has been removed in Qt 6.0.
* Replace deprecated QSslSocket::error signalLinus Jahn2020-07-031-0/+4
|
* Replace deprecated QString::SplitBehaviorLinus Jahn2020-07-031-0/+4
|
* CMake: Use cmake project version variablesLinus Jahn2020-05-181-3/+3
|
* QXmppGlobal: Fix QXMPP_EXPORT define for static linking (#299)Leonardo Basilio2020-05-181-3/+9
|
* Set QXmppRosterIq subscription type correctlyMelvin Keskin2020-04-091-1/+1
|
* Add unit tests for QXmppAttentionManagerLinus Jahn2020-04-071-0/+2
|
* Add \since tags for QXmpp 0.9 everywhereLinus Jahn2020-04-061-10/+52
|
* Add \since tags for QXmpp 0.9.2 everywhereLinus Jahn2020-04-061-3/+17
|
* Add \since tags for QXmpp 0.9.3 everywhereLinus Jahn2020-04-061-0/+18
|
* Add \since tags for QXmpp 1.0 everywhereLinus Jahn2020-04-069-23/+56
|
* Clean up QXmppMessageLinus Jahn2020-04-062-330/+467
|
* Add roster versioning stream featureLinus Jahn2020-04-054-8/+40
|
* QXmppRosterIq: Add 'approved' attribute from RFC6121Linus Jahn2020-04-052-1/+43
| | | | | The 'approved' attribute was added in RFC6121 to indicate whether a pre-approved subscription exists.
* Add pre-approved presence subscriptions stream featureLinus Jahn2020-04-054-1/+47
|
* QXmppMessage: Add parent thread attribute from RFC6121Linus Jahn2020-04-052-3/+37
| | | | | | The 'parent' attribute for <thread/> element in messages has been introduced in RFC6121. This commit adds parsing and serialization for it, including unit tests.
* QXmppStanza::Error: Add 'by' attribute from RFC6120Linus Jahn2020-04-042-0/+32
| | | | | This adds parsing and serialization and unit tests for the by attribute for QXmppStanza::Errors. The protocol is defined in RFC6120.
* Fix build with Qt 5.14Linus Jahn2020-04-012-2/+7
| | | | | | | Q_DEPRECATED_X() can't be used on enum values anymore. The new Q_DECL_ENUMERATOR_DEPRECATED_X() can be uesd instead, this is only available since Qt 5.12, so I needed to define an empty fallback for it.
* Add missing optional exclude to deprecated PaymentRequiredLinus Jahn2020-04-011-13/+14
|
* QXmppStanza::Error: Add redirection URI from RFC6120Linus Jahn2020-04-012-5/+57
| | | | | The error conditions <gone/> and <redirect/> can contain an XMPP URI to redirect to as defined in RFC6120.
* Merge branch 'stable'Linus Jahn2020-04-011-0/+2
|\
| * QXmppRosterIq: Fix missing copy constructorLinus Jahn2020-04-011-0/+2
| |
* | QXmppStanza: Add PolicyViolation error conditionLinus Jahn2020-03-312-1/+9
| | | | | | | | The error condition as stanza error was added in RFC6120.
* | Deprecate PaymentRequired error conditionLinus Jahn2020-03-311-1/+4
| | | | | | | | | | The <payment-required/> error condition was not adopted in RFC6120 as it was unused.
* | QXmppPushEnableIq: Add missing \since tagLinus Jahn2020-03-311-0/+2
| |
* | Implement XEP-0245: The /me CommandLinus Jahn2020-03-312-0/+66
| | | | | | | | | | | | | | This adds parsing for recognizing /me commands in message bodies. It complies with version 1.0 of XEP-0245: The /me Command. https://xmpp.org/extensions/xep-0245.html
* | Replace deprecated 'qsrand()' and 'qrand()' by QRandomGenerator (#267)melvo2020-03-292-1/+13
| | | | | | | | Since QRandomGenerator is only available since Qt 5.10, the deprecated functions are still used for Qt < 5.10.
* | Implement XEP-0357: Push Notifications enable/disable IQ (#271)JBB2020-03-294-0/+259
| | | | | | | | Co-authored-by: Robert Maerkisch <zatroxde@protonmail.ch> Co-authored-by: Linus Jahn <lnj@kaidan.im>
* | QXmppDataForm: Add ctor with all attributesLinus Jahn2020-03-292-4/+61
| | | | | | | | This makes creating forms manually a lot easier.
* | Update parameter of 'QXmppMessage::parseExtension()' in header fileMelvin Keskin2020-03-291-1/+1
| |
* | Expand QSL and QBLJonah Brüchert2020-03-2935-1097/+1094
| | | | | | | | So they don't leak into the public API
* | Reformat codeJonah Brüchert2020-03-288-40/+38
| |
* | base: Convert to QStringLiteralJonah Brüchert2020-03-2835-1095/+1101
| | | | | | | | | | | | Two new macros were added: * QBL (short alias for QByteArrayLiteral) * QSL (short alias for QStringLiteral)
* | Allow to set multiple STUN serversNiels Ole Salscheider2020-03-162-17/+39
| | | | | | | | This way we can for example add a server for IPv4 and one IPv6.
* | Set LowDelay option for UDP socketsNiels Ole Salscheider2020-03-161-0/+2
| |
* | Port QXmppCallManager to use GStreamerNiels Ole Salscheider2020-03-168-4107/+0
| |