aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Split with char instead of string when possibleLinus Jahn2022-03-132-3/+3
| | | | | | | | Saves constructing the QString and makes the splitting faster.
* | Remove unused non-trivial variablesLinus Jahn2022-03-134-7/+0
| | | | | | | | | | Many unused QString/QByteArray not recognized as such by normal compiler warnings.
* | Fix possibly detaching containersLinus Jahn2022-03-139-40/+69
| |
* | Merge branch '1.4'Linus Jahn2022-03-131-2/+4
|\|
| * Merge branch '1.3' into 1.4Linus Jahn2022-03-131-2/+4
| |\
| | * RegistrationManager: Fix setting form type of cached registration formLinus Jahn2022-03-131-2/+4
| | |
* | | Merge branch '1.4'Linus Jahn2022-03-131-1/+2
|\| |
| * | Fix QList detachJonah Brüchert2022-03-131-1/+2
| | |
* | | Stanza::Error: Add optional overloads for Condition/TypeLinus Jahn2022-03-122-2/+60
| | | | | | | | | | | | | | | | | | Currently Condition(-1)/Type(-1) is used for an unset error. This should be deprecated and replaced by the new optional<Condition/Type> functions.
* | | Stanza: Use more QStringLiteral()Linus Jahn2022-03-121-23/+23
| | |
* | | Stanza_p.h: Move function definitions into Stanza.cppLinus Jahn2022-03-123-138/+156
| | | | | | | | | | | | | | | This way the function definition is shared and it avoids unused function warnings in QXmppStreamManagement.cpp.
* | | Rename MixItem.h to MixItems.hLinus Jahn2022-03-102-1/+1
| | |
* | | Split up MixItem.h into Mix{Info,Participant}Item.hLinus Jahn2022-03-104-34/+46
| | |
* | | QXmppDataFormBase: Use serializeNullable in toDataForm()Linus Jahn2022-03-101-5/+1
| | |
* | | Rewrite MIX items with new QXmppPubSubItemLinus Jahn2022-03-102-123/+125
| | |
* | | Refactor QXmppTuneItemLinus Jahn2022-03-092-46/+110
| | |
* | | Implement XEP-0080: User LocationCochise César2022-03-097-0/+401
| | |
* | | OmemoElement: Omit payload XML element if emptyMelvin Keskin2022-03-091-1/+5
| | |
* | | Add 'const' qualifier to OMEMO data method parametersMelvin Keskin2022-03-092-4/+4
| | |
* | | OmemoData: Use QStringLiteralMelvin Keskin2022-03-091-29/+29
| | |
* | | Add parameter 'keyOwnerJid' to trust storages' 'trustLevel()'Melvin Keskin2022-03-075-6/+7
| | |
* | | TrustMemoryStorage: Remove 'const' qualifiers from method parametersMelvin Keskin2022-03-071-2/+2
| | |
* | | doc: UserTuneManager: Add to managers groupLinus Jahn2022-03-031-0/+2
| | |
* | | UserTuneManager: Make use of PEP helpersLinus Jahn2022-03-031-31/+3
| | |
* | | UserTuneManager: RefactoringLinus Jahn2022-03-032-17/+26
| | |
* | | Add (private) helpers for PEP managersLinus Jahn2022-03-031-0/+54
| | | | | | | | | | | | | | | The code for PEP managers is often very similiar, this should make it a bit easier.
* | | Stanza: Make E2eeMetadata optional to avoid allocationLinus Jahn2022-03-033-8/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids an allocation of the E2eeMetadataPrivate object when it's not used. It doesn't use optional<E2eeMetadata> directly because that wouldn't avoid the allocation and takes up 16 bytes instead of 8. This concept could be generalized and used elsewhere in the code (e.g. extended addresses in the stanza are unused 99% of the time).
* | | Add QXmppE2eeMetadata used by QXmppStanzaMelvin Keskin2022-03-035-45/+167
| | | | | | | | | | | | | | | | | | That class contains addtional data needed for end-to-end encryption purposes. 'senderKey' is moved from QXmppMessage to QXmppE2eeMetadata. 'sceTimestamp' is introduced.
* | | AtmManager: Minor clean upLinus Jahn2022-03-031-27/+27
| | |
* | | AtmManager: Use QFutureInterface directly without shared_ptrLinus Jahn2022-03-031-43/+46
| | |
* | | QXmppPacket: Use QFutureInterface directly without shared_ptrLinus Jahn2022-03-033-38/+31
| | |
* | | FutureUtils: chain: Use future interface without shared_ptrLinus Jahn2022-03-031-5/+5
| | | | | | | | | | | | | | | Didn't work before because the lambdas weren't mutable and so the QFutureInterface was always const.
* | | FutureUtils: Make handler lambda mutableLinus Jahn2022-03-031-4/+4
| | |
* | | Client: Forward E2eeExtension result types to use them directlyLinus Jahn2022-02-021-5/+8
| | | | | | | | | | | | Just saves the `QXmppE2eeExtension::` everywhere.
* | | Client: Use 'QXmppE2eeExtension::EncryptMessageResult'Melvin Keskin2022-02-021-2/+2
| | |
* | | Client: Fix 'send()' doesn't forward result from stream when using e2eeMelvin Keskin2022-02-021-3/+5
| | |
* | | Client: Fix comma placement in function documentationMelvin Keskin2022-02-021-4/+4
| | |
* | | FutureUtils: Add method for reporting finished with resultMelvin Keskin2022-02-021-0/+7
| | | | | | | | | | | | | | | | | | QFutureInterface comes with a reportFinished(T *result = nullptr) function, but it only accepts the value by pointer which is inconvenient in some cases.
* | | TrustMessages: Use QStringLiteral (#389)Melvin Keskin2022-01-251-14/+14
| | |
* | | Run 'clang-format' on all filesMelvin Keskin2022-01-1542-448/+461
| | |
* | | Split up ATM parts of trust storage and refactor (#388)Melvin Keskin2022-01-1511-257/+480
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QXmppTrustStorage is now the base class for all trust storages used by end-to-end encryption managers. QXmppAtmTrustStorage is used by QXmppAtmManager. QXmppTrustMemoryStorage is now the base class for all trust storages that use the memory for storing data. QXmppAtmTrustMemoryStorage can be used by QXmppAtmManager. Methods needed by the upcoming OMEMO implementation are added. Some existing methods are refactored.
* | | REUSE-ify whole projectLinus Jahn2022-01-154-24/+17
| | |
* | | Convert copyright headers to REUSELinus Jahn2022-01-14217-4832/+709
| | |
* | | Update copyright years (2022 edition)Linus Jahn2022-01-09213-213/+213
| | |
* | | XEP-0380: Add new encryptions (#384)Melvin Keskin2021-12-194-7/+15
| | | | | | | | | Updates to version 0.4.
* | | AtmManager: Fix compilation with Qt6 (#381)JBB2021-12-051-10/+12
| | |
* | | Add parsing/serialization for SCE envelopeLinus Jahn2021-10-181-0/+128
| | |
* | | Update to OMEMO 0.8, TM 0.6 and ATM 0.4Melvin Keskin2021-10-1013-101/+103
| | | | | | | | | | | | | | | | | | * OMEMO has namespace 'urn:xmpp:omemo:2' and uses SCE 0.4 now * TM has namespace 'urn:xmpp:tm:1' and uses Base64 for key identifiers * ATM uses Base64 for key identifiers
* | | TrustStorage: Add virtual dtorLinus Jahn2021-09-301-0/+2
| | |
* | | TrustMemStorage: Remove now unused comparison operatorsLinus Jahn2021-09-301-15/+0
| | |