<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/qxmpp/src/base/QXmppStanza.h, branch master</title>
<subtitle>Fork of the QXmpp library.
</subtitle>
<id>https://gitea.privatedns.org/xavi/qxmpp/atom?h=master</id>
<link rel='self' href='https://gitea.privatedns.org/xavi/qxmpp/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/qxmpp/'/>
<updated>2022-12-29T20:59:49+00:00</updated>
<entry>
<title>StanzaError: Remove optional getter/settters for type/condition</title>
<updated>2022-12-29T20:59:49+00:00</updated>
<author>
<name>Linus Jahn</name>
<email>lnj@kaidan.im</email>
</author>
<published>2022-12-29T20:44:40+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/qxmpp/commit/?id=93c35b3f1260f3dfafbc77609fcadb9a40a7b97f'/>
<id>urn:sha1:93c35b3f1260f3dfafbc77609fcadb9a40a7b97f</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Stanza: Make error optional</title>
<updated>2022-12-29T20:39:25+00:00</updated>
<author>
<name>Linus Jahn</name>
<email>lnj@kaidan.im</email>
</author>
<published>2022-12-29T20:39:25+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/qxmpp/commit/?id=1b5c7c466d0ca2df80cdec5009cac541afa735c7'/>
<id>urn:sha1:1b5c7c466d0ca2df80cdec5009cac541afa735c7</id>
<content type='text'>
Closes #512.
</content>
</entry>
<entry>
<title>StanzaError: Add NoType and NoCondition for -1 values</title>
<updated>2022-12-28T19:38:05+00:00</updated>
<author>
<name>Linus Jahn</name>
<email>lnj@kaidan.im</email>
</author>
<published>2022-12-28T19:35:34+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/qxmpp/commit/?id=5365018c35e0a496376bde9bf7e4bb4e9df6de2a'/>
<id>urn:sha1:5365018c35e0a496376bde9bf7e4bb4e9df6de2a</id>
<content type='text'>
Previsously static_cast&lt;QXmppStanza::Error::Condition&gt;(-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.
</content>
</entry>
<entry>
<title>Stanza: Move E2eeMetadata into own header file</title>
<updated>2022-07-10T23:54:36+00:00</updated>
<author>
<name>Linus Jahn</name>
<email>lnj@kaidan.im</email>
</author>
<published>2022-07-10T22:57:37+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/qxmpp/commit/?id=35ea54219281bf256b9c990e52025e43c92f3d02'/>
<id>urn:sha1:35ea54219281bf256b9c990e52025e43c92f3d02</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add move constructors and move assignment operators everywhere</title>
<updated>2022-06-18T10:45:19+00:00</updated>
<author>
<name>Linus Jahn</name>
<email>lnj@kaidan.im</email>
</author>
<published>2022-06-17T16:26:01+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/qxmpp/commit/?id=31ef165cbbf918ba0ddd00f86c6dee257a0b936b'/>
<id>urn:sha1:31ef165cbbf918ba0ddd00f86c6dee257a0b936b</id>
<content type='text'>
This is so std::move() on implicitly-shared types actually moves the
content and doesn't call the copy ctor/assignment operator.
</content>
</entry>
<entry>
<title>Stanza: Refactor storage of optional e2ee metadata</title>
<updated>2022-05-13T21:20:58+00:00</updated>
<author>
<name>Linus Jahn</name>
<email>lnj@kaidan.im</email>
</author>
<published>2022-05-13T20:10:21+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/qxmpp/commit/?id=402bb6f33610f7aba9d8295d8c08be2e64324a5d'/>
<id>urn:sha1:402bb6f33610f7aba9d8295d8c08be2e64324a5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>E2eeMetadata: Add enum and attribute for the used encryption</title>
<updated>2022-04-06T13:02:47+00:00</updated>
<author>
<name>Melvin Keskin</name>
<email>melvo@olomono.de</email>
</author>
<published>2022-03-26T11:00:17+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/qxmpp/commit/?id=66b718973a9d32cecdabf1c54799e605fca00fbb'/>
<id>urn:sha1:66b718973a9d32cecdabf1c54799e605fca00fbb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stanza: Remove unused include (#416)</title>
<updated>2022-04-05T16:53:07+00:00</updated>
<author>
<name>Melvin Keskin</name>
<email>melvo@olomono.de</email>
</author>
<published>2022-04-05T16:53:07+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/qxmpp/commit/?id=4b7e5ec74c30b7875c5684fc4d5101e50e48f992'/>
<id>urn:sha1:4b7e5ec74c30b7875c5684fc4d5101e50e48f992</id>
<content type='text'>
This can only be done since QString is already included through other header files.</content>
</entry>
<entry>
<title>Stanza::Error: Add optional overloads for Condition/Type</title>
<updated>2022-03-12T22:28:53+00:00</updated>
<author>
<name>Linus Jahn</name>
<email>lnj@kaidan.im</email>
</author>
<published>2022-03-12T21:58:06+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/qxmpp/commit/?id=769911c613cbae55a3630a6056961582b834aea3'/>
<id>urn:sha1:769911c613cbae55a3630a6056961582b834aea3</id>
<content type='text'>
Currently Condition(-1)/Type(-1) is used for an unset error. This should
be deprecated and replaced by the new optional&lt;Condition/Type&gt;
functions.
</content>
</entry>
<entry>
<title>Stanza: Make E2eeMetadata optional to avoid allocation</title>
<updated>2022-03-03T12:49:50+00:00</updated>
<author>
<name>Linus Jahn</name>
<email>lnj@kaidan.im</email>
</author>
<published>2022-03-02T21:31:12+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/qxmpp/commit/?id=274da5d7bc049c748b0eb04f24275efe15ab7720'/>
<id>urn:sha1:274da5d7bc049c748b0eb04f24275efe15ab7720</id>
<content type='text'>
Avoids an allocation of the E2eeMetadataPrivate object when it's not
used.

It doesn't use optional&lt;E2eeMetadata&gt; 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).
</content>
</entry>
</feed>
