aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove Qt < 5.15 compat codeLinus Jahn2023-01-3114-127/+6
| |
* | Require Qt 5.15Linus Jahn2023-01-312-2/+2
| |
* | Continue with development of QXmpp 1.6Linus Jahn2023-01-312-1/+6
|/
* Release QXmpp 1.5.0Linus Jahn2023-01-311-2/+2
|
* E2eeExtension: Return encrypted stanzas as Message/Iq instead of XMLLinus Jahn2023-01-314-86/+85
| | | | Part of #513.
* Prepare CHANGELOG for QXmpp 1.5Linus Jahn2023-01-311-1/+34
| | | | Closes #530.
* Client: Rename send/sendUnencrypted to sendSensitive/sendLinus Jahn2023-01-287-16/+16
|
* Fix pubsubmanager test: Wrong error value expectedLinus Jahn2023-01-281-7/+1
|
* IqHandling: Don't accept IQ results/errorsLinus Jahn2023-01-283-5/+17
|
* Task/Promise: Don't allow abstract typesLinus Jahn2023-01-283-16/+10
| | | | | Supporting abstract types only has little advantages and we might want to store the result by value later.
* Stream: Fix use of moved valueLinus Jahn2023-01-281-2/+2
|
* Fix discovery manager incoming request handlingLinus Jahn2023-01-223-4/+23
| | | | Fixes #529.
* Code formattingLinus Jahn2023-01-222-2/+2
|
* Use QXmppError in all IQ results instead of StanzaErrorLinus Jahn2023-01-2221-105/+118
| | | | | | | | 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.
* Task: Add static assert for then functionLinus Jahn2023-01-221-4/+5
|
* Rename TuneItem to UserTuneItemLinus Jahn2023-01-036-9/+9
| | | | Closes #524.
* Add tests for QXmppTaskLinus Jahn2023-01-031-2/+67
|
* Introduce QXmppTask & QXmppPromiseLinus Jahn2023-01-0360-969/+1419
| | | | | | Closes #502. Co-authored-by: Jonah BrĂ¼chert <jbb@kaidan.im>
* doc: Define QXMPP_DOC in doxygen runLinus Jahn2023-01-031-1/+1
|
* Stanza: Fix unhandled case in switch warningsLinus Jahn2023-01-011-0/+4
|
* Fix documentation warnings (renamed functions)Linus Jahn2022-12-312-21/+29
|
* OmemoManager: Replace multi-result futures with single result futuresLinus Jahn2022-12-314-44/+60
| | | | | | | | | QXmppTask won't support multi-result and in the case of the OmemoManager it's not really needed. If you want to know when each single request is finished you can just subscribe/unsubscribe from each jid in a single request. Part of #502.
* Replace QXmpp::SendError with QXmppError everywhereLinus Jahn2022-12-3013-68/+72
| | | | Part of #501.
* StanzaError: Remove optional getter/settters for type/conditionLinus Jahn2022-12-294-93/+20
| | | | | | | The whole QXmppStanza::Error is now used optionally in QXmppStanza, so type and condition of the error don't need to be optionals as well. Part of #512.
* Stanza: Make error optionalLinus Jahn2022-12-292-4/+51
| | | | Closes #512.
* Clean up CMakeLinus Jahn2022-12-292-53/+50
|
* cmake: Remove unused QXMPP_BUILD defineLinus Jahn2022-12-291-2/+0
|
* cmake: Use generate_export_header() instead of doing manuallyLinus Jahn2022-12-297-59/+48
| | | | | | | | | This is going to make it easier for us to maintain things. It's also consistent with the new QXmppOmemo module. This requires CMake 3.7 now. Closes #523.
* Call/CallManager: Fix usage of qt keywordsLinus Jahn2022-12-292-4/+5
|
* Stream: Add IQ response sender checkLinus Jahn2022-12-287-47/+88
| | | | | | | Verifies that the sender of the response is correct, so no evil entity can inject responses. Fixes #510.
* Configuration: Minor documentation improvementsLinus Jahn2022-12-281-13/+13
|
* PubSubEvent: Split up Items type into Items and virtual Retract typeLinus Jahn2022-12-285-25/+45
| | | | | | | | | This makes the handling much easier because you don't have to manually check whether the set 'Items' type means items have been published or retracted. There is no retract type in the XML representation, but that doesn't mean that we cannot distinguish both cases. Closes #521.
* StanzaError: Add NoType and NoCondition for -1 valuesLinus Jahn2022-12-282-7/+8
| | | | | | | | Previsously static_cast<QXmppStanza::Error::Condition>(-1) was used when no condition was set (or type). This adds real enum values with that integer value to avoid undefined behaviour. Fixes #495.
* PubSubManager: Add 'own' to PEP function namesLinus Jahn2022-12-285-54/+54
| | | | | | | | | This makes it clear that the functions use the own PEP nodes. This is clear in some cases (createPepNode()), but in others not so clear (requestPepItem()). To keep it consistent all PEP functions get an 'own' now. Closes #520.
* PubSubManager: Rename fetchNodes to requestNodes (like the functions)Linus Jahn2022-12-282-2/+2
| | | | Part of #520.
* ClientExtension: Save d-ptr allocationLinus Jahn2022-12-282-17/+10
| | | | | | | | The d-ptr only contained one other pointer which can be stored directly. If we should need another attribute, we can just re-add the d-ptr since it has the same size as the current QXmppClient ptr. Closes #522.
* test: omemo: Fix usage of old PubSubIq includeLinus Jahn2022-12-281-1/+0
|
* omemo: Fix usage of Qt keywordsLinus Jahn2022-12-282-13/+13
|
* cmake: Add debug output about chosen Qt version (5 or 6)Linus Jahn2022-12-281-0/+1
|
* PubSubManager: Make requestFeatures() API privateLinus Jahn2022-12-282-2/+11
| | | | | This kind of task should be done by the DiscoveryManager. For now we still need it, but I don't want to make it official API.
* PubSubManager: Remove "void *d;"Linus Jahn2022-12-281-3/+0
| | | | It seems unrealistic to me that we'll actually going to need it.
* Disable Qt keywords completelyLinus Jahn2022-12-2692-699/+675
| | | | | | | | | | | | | | | Previously we had the policy that no qt keywords were allowed in headers that may be included by users. However since there was no automatic test verifying that in some places keywords were still used. This now disables qt keywords completely, also in tests and examples. Qt keywords are in general no good or really good idea as they even conflict with the standard library (`emit` at least). In some cases in the examples I just removed the slot tag if the functions didn't need to be slots (anymore). Closes #503.
* Move PubSubIq into QXmpp::Private namespaceLinus Jahn2022-12-266-142/+152
| | | | This way users won't use it accidentally.
* Make PubSubIq header privateLinus Jahn2022-12-266-6/+4
| | | | | | | Users should only need to use the PubSubManager. The PubSubIq does not need to have a stable API this way and this gives us more flexibility. Closes #509.
* OmemoManagerPrivate: Use chain() in setUpDeviceId()Linus Jahn2022-12-221-7/+3
|
* OmemoManagerPrivate: Simplify setUpDeviceId()Linus Jahn2022-12-222-28/+40
|
* OmemoManagerPrivate: Fix device setupMelvin Keskin2022-12-221-9/+29
|
* Improve and update OMEMO documentationMelvin Keskin2022-12-222-21/+6
| | | | | | * OmemoManager: Use new CarbonManagerV2 and addNewExtension() for class documentation * OmemoManager: Remove unneeded Doxygen references for method documentation * doc: index: Add OmemoManager
* OmemoManagerPrivate: Add colon to error messages (#506)Melvin Keskin2022-10-291-7/+7
|
* MamManager: Add future based interface with encryption supportLinus Jahn2022-10-182-38/+253
|