aboutsummaryrefslogtreecommitdiff
path: root/src/base
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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-094-0/+262
| |
* | 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
| |
* | Stanza: Make E2eeMetadata optional to avoid allocationLinus Jahn2022-03-032-7/+35
| | | | | | | | | | | | | | | | | | | | | | 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-034-44/+166
| | | | | | | | | | | | That class contains addtional data needed for end-to-end encryption purposes. 'senderKey' is moved from QXmppMessage to QXmppE2eeMetadata. 'sceTimestamp' is introduced.
* | QXmppPacket: Use QFutureInterface directly without shared_ptrLinus Jahn2022-03-032-15/+9
| |
* | 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
| |
* | 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-1525-301/+308
| |
* | REUSE-ify whole projectLinus Jahn2022-01-153-24/+13
| |
* | Convert copyright headers to REUSELinus Jahn2022-01-14128-2862/+430
| |
* | Update copyright years (2022 edition)Linus Jahn2022-01-09128-128/+128
| |
* | XEP-0380: Add new encryptions (#384)Melvin Keskin2021-12-194-7/+15
| | | | | | Updates to version 0.4.
* | Update to OMEMO 0.8, TM 0.6 and ATM 0.4Melvin Keskin2021-10-107-32/+34
| | | | | | | | | | | | * 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
* | TrustMessages: Use forward declarations in headersLinus Jahn2021-09-302-5/+4
| |
* | Merge compilation units of TrustMessage{Element,KeyOwner}Linus Jahn2021-09-303-180/+176
| |
* | PubSubManager: Add node configuration requestsLinus Jahn2021-09-291-2/+11
| |
* | PubSubIq: Fix data form type for create/publishLinus Jahn2021-09-291-4/+4
| |
* | PubSubNodeConfig: Rename nodeDeleteNotification to deleteNotificationsLinus Jahn2021-09-292-9/+9
| |
* | Implement stanza parsing for Stanza Content EncryptionLinus Jahn2021-09-287-335/+455
| |
* | QXmppStream: Allow to use existing future interfaceLinus Jahn2021-09-284-16/+84
| |
* | Client: Require moving the packets/iqs for sendingLinus Jahn2021-09-282-17/+14
| |
* | Add QXmppAtmManagerMelvin Keskin2021-09-164-0/+46
| |
* | QXmppDataForm: Merge constructorsLinus Jahn2021-09-072-26/+4
| | | | | | | | Can be done because binary compatibility has been broken.
* | Adapt IQ parsing to new packet sendingLinus Jahn2021-09-034-22/+17
| | | | | | | | Remove now unused QXmpp::PacketState.
* | Refactor packet sending: Add SendSuccess/SendErrorLinus Jahn2021-09-037-36/+90
| |
* | Add QXmppOmemoElementMelvin Keskin2021-09-034-0/+296
| | | | | | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* | Add QXmppOmemoEnvelopeMelvin Keskin2021-09-032-0/+220
| | | | | | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* | Add QXmppOmemoDeviceBundleMelvin Keskin2021-09-032-0/+307
| | | | | | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* | Add QXmppOmemoDeviceListMelvin Keskin2021-09-032-0/+126
| | | | | | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* | Add QXmppOmemoDeviceElementMelvin Keskin2021-09-034-0/+229
| | | | | | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* | PubSubNodeConfig: Add Max option to maxItemsLinus Jahn2021-09-022-10/+43
| |
* | QXmppStream: Refactor and simplify IQ handlingLinus Jahn2021-08-311-52/+30
| |
* | FutureUtils: Add awaitLast using last future resultLinus Jahn2021-08-311-0/+13
| |
* | Make some classes QXmppNonzas instead of QXmppStanzaLinus Jahn2021-08-263-7/+7
| |
* | Make it possible to send QXmppNonzas over streamsLinus Jahn2021-08-264-10/+11
| |
* | Make QXmppStanza inherit from QXmppNonzaLinus Jahn2021-08-262-16/+3
| | | | | | | | | | QXmppNonzas are basic elements which can be sent over XMPP streams. QXmppStanza is a specialization of that (IQ, message or presence).
* | Add QXmppNonzaLinus Jahn2021-08-262-0/+101
| | | | | | | | | | | | | | | | Some objects currently inherit from QXmppStanza although they don't make use of most of the stanza's features (like having to/from/id). This is currently necessary, because only QXmppStanzas can be sent via the client or stream. The QXmppNonza class should fix that by only providing the most important features (parse + toXml).
* | FutureUtils: Add await() functionLinus Jahn2021-08-261-0/+24
| |
* | FutureUtils: Add makeReadyFuture for voidLinus Jahn2021-08-261-0/+6
| |
* | QXmppGlobal: Add missing \since tagsLinus Jahn2021-08-231-1/+7
| |
* | Add QXmppPubSubManagerLinus Jahn2021-08-222-0/+2
| | | | | | | | | | | | Supports the most common pubsub requests. Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* | Implement XEP-0118: User Tune: Add manager with testsLinus Jahn2021-08-222-0/+2
| |
* | Implement XEP-0118: User Tune: Add PubSub itemLinus Jahn2021-08-224-0/+346
| |
* | Add PubSubMetadata formLinus Jahn2021-08-222-0/+392
| |