Commit graph

452 commits

Author SHA1 Message Date
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
Emmanuel Gil Peyrot
ed53f452c3 ping: Add a serialise test. 2017-10-31 17:57:49 +00:00
Emmanuel Gil Peyrot
b5e41a7074 Fix the name in create_empty_element. 2017-10-31 17:55:27 +00:00
Emmanuel Gil Peyrot
7fa889f46e jingle: Import the disposition attribute values. 2017-10-31 17:17:06 +00:00
Emmanuel Gil Peyrot
97abc37f1a jingle_ft: Improve <range/> parsing. 2017-10-31 17:02:24 +00:00
Emmanuel Gil Peyrot
667ae4c40f jingle_ft: Implement checksum parsers. 2017-10-31 16:41:22 +00:00
Emmanuel Gil Peyrot
cf31506580 jingle_ft: Split Description::try_from into File::try_from. 2017-10-31 16:25:01 +00:00
Emmanuel Gil Peyrot
db9ef3ef30 jingle_ft: Use jingle’s ContentId type to identify content names. 2017-10-31 16:11:09 +00:00
Emmanuel Gil Peyrot
0200ced3e5 jingle_ft: Finish implementation of received. 2017-10-31 16:09:28 +00:00
Emmanuel Gil Peyrot
b7b3340c9f Add a blocking command parser (XEP-0191). 2017-10-31 15:48:11 +00:00
Emmanuel Gil Peyrot
f85b451fcf Add a new check_no_attributes macro, to avoid the empty list. 2017-10-31 15:47:38 +00:00
Emmanuel Gil Peyrot
1892e1ca04 disco: Check for children ordering in disco#info. 2017-10-29 00:36:36 +01:00
Emmanuel Gil Peyrot
a8cfc8e62e pubsub::event: Add more type safety. 2017-10-10 19:45:08 +01:00
Emmanuel Gil Peyrot
e1477f146b pubsub::event: Use the new helper macros to simplify parsing. 2017-10-10 19:27:29 +01:00
Emmanuel Gil Peyrot
5f6f6a5e91 disco: Use the new helper macros to simplify parsing. 2017-10-10 19:00:42 +01:00
Emmanuel Gil Peyrot
9f27f200ca data_forms: Use the new helper macros to simplify parsing. 2017-10-10 18:26:05 +01:00
Emmanuel Gil Peyrot
a2c7529668 eme: Use the new helper macros to simplify parsing. 2017-10-10 18:10:52 +01:00
Emmanuel Gil Peyrot
ee243c4720 chatstates: Use the new helper macros to simplify parsing. 2017-10-10 18:09:58 +01:00
Emmanuel Gil Peyrot
a2b6033336 caps: Use the new helper macros to simplify parsing. 2017-10-10 18:04:27 +01:00
Emmanuel Gil Peyrot
66fb8fea74 message_correct: Use the new helper macros to simplify parsing. 2017-10-10 18:00:15 +01:00
Emmanuel Gil Peyrot
cfbfce512e lib, ping, attention: Add a macro for singleton elements. 2017-10-10 17:53:25 +01:00
Emmanuel Gil Peyrot
6add31b526 lib: Add check macros, to simplify code. 2017-10-10 17:52:14 +01:00
Emmanuel Gil Peyrot
33018a5c09 roster: Make subscription="none" the default, see RFC6121 §2.1.2.5. 2017-10-10 17:40:29 +01:00
Emmanuel Gil Peyrot
558622a08a Added tag v0.8.0 for changeset a7b004bf0a44 2017-08-27 14:20:19 +01:00
Emmanuel Gil Peyrot
63c6df59db Release version 0.8.0 2017-08-27 14:20:15 +01:00
Emmanuel Gil Peyrot
84437ed03f ChangeLog: Add imminent vesion 0.8.0. 2017-08-27 01:46:10 +01:00
Emmanuel Gil Peyrot
92277ccde0 jingle_ft: Add support for empty range elements.
These can be used to indicate support for ranged transfers.
2017-08-27 02:33:37 +01:00
Emmanuel Gil Peyrot
f51fa15b68 jingle_ft: Add forgotten xml:lang support for <desc/>. 2017-08-27 01:22:15 +01:00
Emmanuel Gil Peyrot
833ef068c6 message: Fix wrong element for xml:lang. 2017-08-27 01:21:07 +01:00
Emmanuel Gil Peyrot
f69f567448 Use minidom 0.6.1’s Element::has_ns(), to simplify namespace comparisons. 2017-08-27 01:04:56 +01:00
Emmanuel Gil Peyrot
c853a1ff4b compare_elements: Add missing license notice. 2017-08-27 01:32:15 +01:00
Astro
1b1661fd82 Introduce comparing with namespace support. 2017-08-19 00:04:18 +01:00
Emmanuel Gil Peyrot
04ec34bed8 Cargo.toml: Update minidom to 0.6.2 and jid to 0.3.0. 2017-08-27 01:48:28 +01:00
Emmanuel Gil Peyrot
1af06fdf6d Add an iq version parser (XEP-0092). 2017-07-29 11:45:45 +01:00
Emmanuel Gil Peyrot
69cc83c456 message, iq, presence, stanza_error, forwarded: Add support for components hidden behind the component feature flag. 2017-07-29 06:49:02 +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
d55fa8e5dd chatstates: Prevent compilation if the module isn’t properly documented. 2017-07-29 06:26:50 +01:00
Emmanuel Gil Peyrot
a04c395122 roster: Document most structs and their fields. 2017-07-29 06:22:35 +01:00
Emmanuel Gil Peyrot
56a66f8c4b message: Enforce more type safety on Body, Subject and Thread. 2017-07-29 06:11:48 +01:00
Emmanuel Gil Peyrot
6ec1e46953 roster: Make Group a proper struct. 2017-07-29 05:36:59 +01:00
Emmanuel Gil Peyrot
5388696b95 lib: Remove erroneous “reference” mention in the module docstring. 2017-07-29 05:24:20 +01:00
Emmanuel Gil Peyrot
45d196463c disco: Document every struct and their fields. 2017-07-29 04:51:51 +01:00
Emmanuel Gil Peyrot
67e72b009e disco: Fix serialisation of extensions, and add a test. 2017-07-29 04:39:50 +01:00
Emmanuel Gil Peyrot
4d3717d170 disco: Split Feature and Identity parsing out of DiscoQueryResult. 2017-07-29 04:35:15 +01:00
Emmanuel Gil Peyrot
5ece20a029 disco: Create a mutable DiscoInfoResult at the beginning of its parsing. 2017-07-29 04:25:55 +01:00
Emmanuel Gil Peyrot
58760fc28d data_forms: Split field parsing into its own TryFrom impl. 2017-07-29 04:19:58 +01:00
Emmanuel Gil Peyrot
37d1ae64ad receipts: Split the stupid enum into two different structs. 2017-07-29 04:00:25 +01:00
Emmanuel Gil Peyrot
a0b1d93ff0 stanza_id: Split the stupid enum into two different structs. 2017-07-29 03:51:41 +01:00
Emmanuel Gil Peyrot
db35d28c9c ibb: Split the stupid enum into three different structs. 2017-07-29 03:44:35 +01:00
Emmanuel Gil Peyrot
dfb736a973 rsm: Change if .is_some() { .unwrap() } into if let Some(). 2017-07-29 03:03:45 +01:00