| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
This can be done without any concerns, because the registerType was not
part of any release yet.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
This adds utility methods to create an unregistration or a change
password request in one line.
|
| | |
|
| |
|
|
|
|
|
| |
This is the result of:
sed -i 's/writeAttribute("xmlns", /writeDefaultNamespace(/g' \
$(find . -iname "*.cpp" -or -iname "*.h")
|
| | |
|
| | |
|
| |
|
| |
This provides more type safety and is future-proof.
|
| | |
|
| |
|
|
| |
I forgot them in #240.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
QT_VERSION_CHECK() returns the same format as is currently used, it is
easier to read and fixes a problem that could occur with the previous
marco. The macro was unenclosed causing comparison to fail. This also
happened in Kaidan [1].
[1]: https://invent.kde.org/kde/kaidan/commit/5a3e5e8a748488f4d55302b4beacce880dde381a
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Mostly this was a mistake by me in earlier contributions.
|
| |
|
|
|
| |
This adds support for XEP-0231: Bits of Binary attachments in
registration forms.
|
| |
|
|
| |
This adds support for XEP-0231: Bits of Binary attachments in messages.
|
| |
|
|
|
|
| |
This adds a type that may be used as a stanza extension. It is useful,
when a stanza contains (possibly multiple) XEP-0231: Bits of Binary data
elements.
|
| |
|
|
|
| |
This implements parsing and serialization of the BoB IQ from
XEP-0231: Bits of Binary in version 1.0.
|
| |
|
|
|
| |
This implements parsing and serialization of content identifiers from
XEP-0231: Bits of Binary in version 1.0.
|
| | |
|
| |
|
|
|
| |
Q_ENUM exists since Qt 5.5, more details can be found here:
https://woboq.com/blog/q_enum.html
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
| |
Methods of new classes have no \since tag.
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add QXmppDataForm::MediaSource instead of using a QPair<QString,
QString> to save the URIs and content types.
* Deprecate QXmppDataForm::Media:
The extra class was useless: Each Field has exactly one media element
and the media element has only two attributes (size and media sources)
* Add mediaSources and mediaSize attributes to the QXmppDataForm::Field
* Deprecate getters/setters for the Media element of QXmppDataForm::Field
(they are still working and tested)
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit 740a085ef7ac707e2cc2217edf02e296c3f7692e.
There were talks on the standards mailing list that the XEP will be
changed and a private PEP node is used for distributing joined channels.
Also no server (that I am aware of) supports the MIX roster extension,
so I think it is the best we remove before the next release, so we do
not have problems with deprecations and ABI compatibility.
|
| |
|
|
|
| |
This extends the QXmppStanza::Error by the error cases defined in
XEP-0363: HTTP File Upload in version 0.9.0.
|
| | |
|
| |
|
| |
Introduced by 98f2fd04b0a95840584320858ff54cd5caff8f70 (#213).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This simplifies parsing and fixes a possible bug:
The bug case looks like this:
- We have one element we want to parse (e,g, "attachment" with namespace xyz)
- There is another element called "attachment" in the stanza and it's
located before the other element.
- QXmppMessage tries to parse the attachment element using
firstChildElement("attachment") and checks the namespace
- The namespace (of the first) element doesn't match
- The actual "attachment" element is not parsed
This also fixes the "constructor does not initialize these fields: […]"
warnings for QXmppMessagePrivate.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This adds the QXMPP_DISABLE_DEPRECATED_BEFORE option and a
QXMPP_DEPRECATED_SINCE(major, minor) macro.
They work like their Qt equivalent:
- QXMPP_DISABLE_DEPRECATED_BEFORE defines the version number of source
compatibility to be kept with. By default this is the major version
(e.g. QXmpp 1.0.0)
- QXMPP_DEPRECATED_SINCE(major, minor) returns true, if functions that got
deprecated at this version should still be included.
|
| |
|
|
|
|
|
|
| |
Using the following checks:
* modernize-use-nullptr
* modernize-use-override
* modernize-use-using
* modernize-use-bool-literals
|
| |
|
|
|
|
|
|
|
|
| |
This implements parsing and serialization of XEP-0334: Message
Processing Hints in version 0.3.0.
https://xmpp.org/extensions/xep-0334.html
Co-authored-by: Juan Aragon <jaaragont@gmail.com>
Co-authored-by: Sam Truscott <sam@wumpus.co.uk>
|
| |
|
|
|
|
|
| |
This adds parsing and serialization for XEP-0380: Explicit Message
Encryption in version 0.3.0.
https://xmpp.org/extensions/xep-0380.html
|