Commit graph

19 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
a625b88fce macros: Merge all element children into a common syntax. 2018-05-28 16:29:51 +02:00
Emmanuel Gil Peyrot
cbef3f6e8d muc: Add a serialisation test. 2018-05-28 16:24:17 +02:00
Emmanuel Gil Peyrot
3d495ccf41 Use check_no_children!() where it makes sense. 2018-05-14 16:33:47 +02:00
Emmanuel Gil Peyrot
93b018e5ac macros: Remove use requirement on ns. 2018-05-14 16:30:28 +02:00
Emmanuel Gil Peyrot
0d4327eb42 macros: Remove use requirement on minidom::IntoAttributeValue. 2018-05-14 16:12:56 +02:00
Emmanuel Gil Peyrot
040792c242 macros: Remove use requirement on std::str::FromStr. 2018-05-14 16:11:22 +02:00
Emmanuel Gil Peyrot
6bb466eea2 Use check_self!() where it makes sense. 2018-05-12 18:31:11 +02:00
Emmanuel Gil Peyrot
e0438f9b88 jingle_message, muc, presence, version: Always use the check_no_attributes macro. 2018-05-12 17:59:04 +02:00
Emmanuel Gil Peyrot
93c7ea6914 muc/user: Improve documentation of Status. 2017-11-24 05:50:24 +00:00
Emmanuel Gil Peyrot
75625c497c muc/user: Simplify Status with a new macro. 2017-11-24 05:44:58 +00:00
Emmanuel Gil Peyrot
32f427a73c muc/user: Generate Reason automatically. 2017-11-24 05:24:12 +00:00
Emmanuel Gil Peyrot
929bd577f3 Add a generate_element_with_only_attributes macro, and use it wherever it makes sense. 2017-10-31 17:58:11 +00:00
Astro
1b1661fd82 Introduce comparing with namespace support. 2017-08-19 00:04:18 +01:00
Emmanuel Gil Peyrot
99b9525e6f Update to jid-rs 0.2.3, which implements IntoAttributeValue on Jid. 2017-07-29 06:28:20 +01:00
Emmanuel Gil Peyrot
3b6733f38b Upgrade to minidom 0.4.4 to avoid having to redefine IntoElements for each Into<Element>. 2017-07-21 01:20:29 +01:00
Emmanuel Gil Peyrot
487dbdc6de Replace Into<Element> with From<…> for Element.
This allows Element::from() to work, and since Into<Element> is
automatically implemented for any type implementing From there is no
change to existing code.
2017-07-20 20:36:13 +01:00
Emmanuel Gil Peyrot
1f43cd934b Use TryFrom from the try_from crate, instead of the unstable feature.
This makes xmpp-parsers usable on stable.
2017-07-20 20:03:15 +01:00
Maxime “pep” Buquet
98878042dd Use the generate_attribute macro in muc::user 2017-06-27 00:14:40 +01:00
Maxime “pep” Buquet
27cf9a6298 muc::Muc and muc::MucUser 2017-06-26 23:07:12 +01:00