aboutsummaryrefslogtreecommitdiff
path: root/src/client
Commit message (Collapse)AuthorAgeFilesLines
* QXmppDiscoveryManager: Move static features into QXmppClientPrivateLinus Jahn2020-04-063-11/+32
|
* QXmppRosterManager: Add comment on pre-approved subscriptionsLinus Jahn2020-04-051-3/+12
|
* QXmppCallStream: Wrap callback in std::functionJonah Brüchert2020-04-023-6/+9
| | | | Allows to use non-static functions (or lambdas with captures)
* Merge branch 'stable'Linus Jahn2020-04-014-2/+8
|\
| * Do not include 'ask' attribute when renaming roster itemMelvin Keskin2020-04-011-0/+4
| |
| * Set user's vCard also when 'from' attribute contains user's bare JIDMelvin Keskin2020-04-011-1/+1
| |
| * QXmppMessageReceiptManager: Fix receipts are sent on error messages (#269)Blue2020-03-271-1/+1
| | | | | | This fixes that behaviour and extends the tests for QXmppMessageReceiptManager.
| * Fix switch statement when handling IQ stanza for registrationMelvin Keskin2020-03-241-0/+2
| |
* | Update copyright year from '2019' to '2020' for forgotten filesMelvin Keskin2020-03-291-1/+1
| |
* | QXmppCallStream: Fix wrong \since tagsLinus Jahn2020-03-241-2/+2
| |
* | Allow to set multiple STUN serversNiels Ole Salscheider2020-03-164-8/+23
| | | | | | | | This way we can for example add a server for IPv4 and one IPv6.
* | Port QXmppCallManager to use GStreamerNiels Ole Salscheider2020-03-169-754/+1599
| |
* | Add not authorized condition for stream errors (#191)henry610242020-02-141-0/+2
| |
* | Make QXmpp work with projects using QT_NO_KEYWORDSLinus Jahn2020-02-1121-47/+47
| | | | | | | | | | | | | | | | | | | | | | This replaces all occurencies of 'slots' and 'signals' with 'Q_SLOTS' and 'Q_SIGNALS'. This allows for smooth integration with software projects that need QT_NO_KEYWORDS, such as those ones that rely on boost libraries. Closes #115. Co-authored-by: Tommaso Cucinotta <tommaso.cucinotta@santannapisa.it>
* | doc: Use XEP links everywhereLinus Jahn2020-02-1116-33/+39
|/
* QXmppRegistrationManager: Fix typo in deleteAccountIqIdLinus Jahn2020-02-061-4/+4
|
* QXmppRegistrationManager: Handle result of deleteAccount()Linus Jahn2020-02-062-16/+48
| | | | This adds two signals to make the result easily available to the user.
* QXmppRegistrationManager: Pass stanza error by valueLinus Jahn2020-02-061-2/+2
| | | | | It uses QSharedDataPointer<> internally, so passing by value is recommended.
* Fix undocumented Q_PROPERTiesLinus Jahn2020-02-048-73/+94
|
* Fix doxygen warnings about missing titles for \defgroupLinus Jahn2020-02-041-2/+15
|
* Add new QXmppRegistrationManagerLinus Jahn2020-02-043-4/+666
|
* Run clang-format also on all cpp filesLinus Jahn2020-02-0323-656/+437
|
* clang-format: Enable regrouping and sorting of includesLinus Jahn2020-02-0334-117/+124
|
* Replace manual xmlns writing by writeDefaultNamespace()Linus Jahn2020-01-292-2/+2
| | | | | | | This is the result of: sed -i 's/writeAttribute("xmlns", /writeDefaultNamespace(/g' \ $(find . -iname "*.cpp" -or -iname "*.h")
* QXmppClient: Remove obsolete methods for TLS managementLinus Jahn2020-01-292-45/+0
| | | | | | | | | | The methods are obsolete since the TLS manager has become an internal client extension. The methods were not of any use except for the TLS manager and should better not be public to the user at all (i.e. startSocketEncryption()). This can be done without any concerns because the methods were not part of the public API in any release, yet.
* Make QXmppTlsManager an internal client extensionLinus Jahn2020-01-293-9/+27
| | | | | | | | | | | This removes the QXmppTlsManager from the public API and makes it an internal client extension. It was not of any use for the end user and was configured via the QXmppClient (as before). This way we can obsolete some public methods of the QXmppClient, that also have been added with the new TLS manager. This can be done without any concerns because the manager was not part of the public API in any release, yet.
* Introduce QXmppInternalClientExtensionsLinus Jahn2020-01-293-0/+103
| | | | | | | | | | | | The new internal client extensions can be used to access private parts of the QXmppClient since QXmppInternalClientExtensions are a friend of the QXmppClient. The internal client extensions are not part of the public API, so you can't access them in an application using QXmpp. However, this was also the case before. If there is the need to access the internal extensions in the future, we'll still have all options open to change everything, because the classes are not part of the public API.
* QXmppClient: Split up QXmppClientPrivate into private headerLinus Jahn2020-01-292-25/+78
| | | | | | | This is required to access the QXmppClientPrivate from other classes. This way we can split up parts of the client into internal client extensions like the authentication manager, without the need of public methods in the client as with the current approach of the TLS manager.
* Update copyright notice in missing filesLinus Jahn2020-01-282-2/+2
|
* Move TLS negotiation into new QXmppTlsManagerLinus Jahn2020-01-205-43/+168
|
* Port majority of old-style connects (#237)JBB2020-01-2010-268/+127
| | | This provides more type safety and is future-proof.
* QXmppClient: Add missing '\since' tag to new indexOfExtension()Linus Jahn2020-01-191-3/+4
| | | | I forgot this in #241.
* QXmppClient: Add method to get index of extensionLinus Jahn2020-01-131-0/+24
|
* Bump copyright year to 2020Linus Jahn2020-01-0643-43/+43
|
* Add a .clang-format somewhat close to the current style0xd34df00d2019-12-2320-179/+167
|
* Replace emails in copyright headers by entries in the AUTHORS fileLinus Jahn2019-12-082-2/+2
| | | | Mostly this was a mistake by me in earlier contributions.
* QXmppClient: Set correct CSI state on connectLinus Jahn2019-11-281-2/+7
|
* QXmppClient: Only send CSI state when connectedLinus Jahn2019-11-281-1/+1
|
* Replace deprecated Q_ENUMS with Q_ENUMLinus Jahn2019-10-273-17/+15
| | | | | Q_ENUM exists since Qt 5.5, more details can be found here: https://woboq.com/blog/q_enum.html
* QXmppMucManager: Only return true if actually handled stanzaMartin Koller2019-10-271-3/+4
|
* Remove Qt < 5.7 compatibility codeLinus Jahn2019-10-231-13/+0
|
* Replace Q_FOREACH (foreach) by C++11 ranged for-loopsLinus Jahn2019-10-238-55/+51
| | | | | | | Q_FOREACH is bad and will be deprecated in the future: https://www.kdab.com/goodbye-q_foreach/ This also disables Q_FOREACH by defining QT_NO_FOREACH.
* Add \since QXmpp 1.1 to all new methods and classesLinus Jahn2019-10-231-0/+2
| | | | Methods of new classes have no \since tag.
* Port away from deprecated client extension getters of the QXmppClientLinus Jahn2019-10-235-37/+53
| | | | | This replaces the deprecated getters in the examples and in the documentation.
* Use raw literals, range based loops and autoJonah Brüchert2019-10-225-16/+16
|
* QXmppUploadRequestManager: Fix doxygen warningsLinus Jahn2019-10-212-9/+11
|
* Add unit tests for QXmppUploadRequestManagerblue2019-10-201-1/+0
| | | | Co-authored-by: Linus Jahn <lnj@kaidan.im>
* Implement XEP-0363: HTTP File Upload: UploadRequestManagerLinus Jahn2019-10-202-0/+391
| | | | | This adds a manager to simplify service discovery and IQ sending for XEP-0363: HTTP File Upload.
* QXmppTransferManager: Port away from QTime.elapsed()Jonah Brüchert2019-10-191-1/+2
|
* Merge remote-tracking branch 'origin/stable'Linus Jahn2019-10-141-4/+3
|\