Commit graph

37 commits

Author SHA1 Message Date
Astro
95f4ade4ba compat mode that relaxes some of the check_* macros 2018-12-30 00:36:29 +01:00
Emmanuel Gil Peyrot
96c8b05677 Do some manual formatting in macros. 2018-12-29 18:29:11 +01:00
Emmanuel Gil Peyrot
5e64dee0ed Only define assert_size!() macro when testing. 2018-12-18 15:43:49 +01:00
Emmanuel Gil Peyrot
efd7bd5f2f Run cargo fmt. 2018-12-18 15:32:05 +01:00
Emmanuel Gil Peyrot
6b2dd8fe5e Run cargo fix --edition to move to Edition 2018. 2018-12-18 15:27:30 +01:00
Emmanuel Gil Peyrot
40aedcf184 Test the size of every struct defined here. 2018-10-26 14:26:16 +02:00
Emmanuel Gil Peyrot
36cfe76e4d macros: Merge generate_element_with_text!() into generate_element!(). 2018-08-02 19:07:07 +02:00
Emmanuel Gil Peyrot
5f2062483a ibb: Add documentation. 2018-07-02 13:47:32 +02:00
Emmanuel Gil Peyrot
45fdb3d5e2 macros: Improve error messages. 2018-05-28 17:04:40 +02:00
Emmanuel Gil Peyrot
3fb99988d5 macros: Merge generate_element_with_children!() into generate_element!(). 2018-05-28 16:45:13 +02:00
Emmanuel Gil Peyrot
9c598fbdf9 macros: Rename generate_element_with_only_attributes!() into generate_element!(). 2018-05-28 16:42:35 +02:00
Emmanuel Gil Peyrot
ef227c4617 macros: Simplify generate_element_with_only_attributes!(). 2018-05-28 16:37:22 +02:00
Emmanuel Gil Peyrot
a625b88fce macros: Merge all element children into a common syntax. 2018-05-28 16:29:51 +02:00
Emmanuel Gil Peyrot
d9f2af6c97 mam: Use a macro to generate Result_. 2018-05-15 02:06:38 +02:00
Emmanuel Gil Peyrot
965f6a1f83 ecaps2: Use a macro to generate ECaps2. 2018-05-15 01:55:16 +02:00
Emmanuel Gil Peyrot
71dc5ad6c8 pubsub: Document the new structs and their fields. 2018-05-15 00:18:15 +02:00
Emmanuel Gil Peyrot
fcdfc6d85a Add a PubSub module. 2018-05-14 21:04:16 +02:00
Emmanuel Gil Peyrot
a3e35510cc macros: Always use the correct std::default::Default trait. 2018-05-14 21:03:24 +02:00
Emmanuel Gil Peyrot
90063e5433 mood: Add support for the <text/> element. 2018-05-14 17:32:15 +02:00
Emmanuel Gil Peyrot
93b018e5ac macros: Remove use requirement on ns. 2018-05-14 16:30:28 +02:00
Emmanuel Gil Peyrot
d9aaa3e9ce macros: Remove use requirement on error::Error. 2018-05-14 16:21:39 +02:00
Emmanuel Gil Peyrot
6f497027f5 macros: Remove use requirement on minidom::Element. 2018-05-14 16:17:21 +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
292cdd059c macros: Remove use requirement on try_from::TryFrom. 2018-05-14 16:07:15 +02:00
Emmanuel Gil Peyrot
84355f9e1d macros: Simplify generated code for check_no_attributes!(). 2018-05-12 20:25:59 +02:00
Emmanuel Gil Peyrot
3de29e1e81 lib, ns, error, macros: Update the copyright year. 2018-03-01 10:01:35 +01:00
Emmanuel Gil Peyrot
cfaebb4a91 Add a SASL parser. 2018-02-20 17:01:12 +01:00
Emmanuel Gil Peyrot
75625c497c muc/user: Simplify Status with a new macro. 2017-11-24 05:44:58 +00:00
Emmanuel Gil Peyrot
42a3e42533 roster: Simplify parsing of Item. 2017-11-24 05:09:25 +00:00
Emmanuel Gil Peyrot
2661259e9a chatstates: Generate ChatState automatically. 2017-11-24 04:27:35 +00:00
Emmanuel Gil Peyrot
0ead24a041 helpers, disco: Parse children based on their name and namespace. 2017-11-23 16:32:18 +00:00
Emmanuel Gil Peyrot
d78a0e6dae helpers, disco: Add missing serialisation, and add a test. 2017-11-23 16:30:53 +00:00
Emmanuel Gil Peyrot
cb6eb55686 macros: Uniformise trailing commas handling. 2017-11-23 16:06:35 +00:00
Rust Cambridge Mob
3e37beffe2 Implement macro for elements containing children 2017-11-16 21:00:01 +00:00
Rust Cambridge Mob
77e150c63d Implement macro for elements containing text 2017-11-16 20:17:11 +00:00
Emmanuel Gil Peyrot
bd9aa01ad5 Split macros into their own module. 2017-10-31 21:17:24 +00:00