Commit graph

611 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
3678d9f0d3 stanza_error: Simplify attribute handling. 2017-05-24 23:56:35 +01:00
Emmanuel Gil Peyrot
898baddd3f disco: Split Into<Element> for Identity and Feature. 2017-05-24 23:47:27 +01:00
Emmanuel Gil Peyrot
17d6959606 jingle: Remove unused clones. 2017-05-24 23:38:44 +01:00
Emmanuel Gil Peyrot
9bd1e7f295 jingle_s5b: Remove the clones. 2017-05-24 23:00:38 +01:00
Emmanuel Gil Peyrot
947c49330f receipts: Parse 'id' using get_attr!(), and make it optional. 2017-05-24 22:43:21 +01:00
Emmanuel Gil Peyrot
47fc116906 media_element: Stop swallowing integer parsing errors. 2017-05-24 22:41:09 +01:00
Emmanuel Gil Peyrot
00f3f3eee6 jingle: Simplify parsing and serialisation. 2017-05-24 22:28:54 +01:00
Emmanuel Gil Peyrot
ecd98251bf rsm: Remove useless clones. 2017-05-24 21:44:35 +01:00
Emmanuel Gil Peyrot
6952f3adfc message_correct: Check for unwanted attributes. 2017-05-24 21:42:29 +01:00
Emmanuel Gil Peyrot
453a3635fd message: Remove extra clones, and simplify Into<Element>. 2017-05-24 21:40:11 +01:00
Emmanuel Gil Peyrot
8182213666 iq: Reintroduce a reference Into to get the type from the payload. 2017-05-24 21:35:09 +01:00
Emmanuel Gil Peyrot
21b92621f0 iq, message: Remove useless clone on unknown element. 2017-05-24 21:32:04 +01:00
Emmanuel Gil Peyrot
fbeeae5c64 presence: Simplify the code. 2017-05-24 21:30:33 +01:00
Emmanuel Gil Peyrot
6f7e504c8a ChangeLog: Forgotten update for 0.3.0. 2017-05-24 00:12:16 +01:00
Emmanuel Gil Peyrot
8a46660f1b Added tag v0.3.0 for changeset 8cc7f08ce87a 2017-05-23 23:50:30 +01:00
Emmanuel Gil Peyrot
cde19967a6 Release version 0.3.0! 2017-05-23 23:50:00 +01:00
Emmanuel Gil Peyrot
16e43c0b01 Convert all of the parsers/serialisers into consuming their parameter. 2017-05-23 23:31:33 +01:00
Emmanuel Gil Peyrot
c1e62cf69b Cargo.toml: Update minidom, probably nice things in it! 2017-05-23 23:28:56 +01:00
Emmanuel Gil Peyrot
e3f1f31718 delay, eme, stanza_error: Use get_attr!. 2017-05-23 01:02:23 +01:00
Emmanuel Gil Peyrot
d61d09f5b7 hashes, presence, message, iq, disco: Use get_attr!. 2017-05-22 19:00:04 +01:00
Emmanuel Gil Peyrot
e7e4284a0d jingle_ft: Obtain attributes using the get_attr! macro. 2017-05-21 21:02:06 +01:00
Emmanuel Gil Peyrot
ca9a250efd jingle_s5b: Obtain attributes using the get_attr! macro. 2017-05-21 21:00:34 +01:00
Emmanuel Gil Peyrot
8c53d6e415 stanza_id: Use the new get_attr! macro to get attributes. 2017-05-21 20:56:04 +01:00
Emmanuel Gil Peyrot
185bd79c72 mam: Simplify attribute management, and make default mandatory. 2017-05-21 20:45:50 +01:00
Emmanuel Gil Peyrot
34ee6d52dc presence: Wire up idle as a payload. 2017-05-21 20:30:42 +01:00
Emmanuel Gil Peyrot
dc530a1912 Add an idle parser. 2017-05-21 20:22:48 +01:00
Emmanuel Gil Peyrot
545ce29282 message: Add forgotten origin-id payload. 2017-05-21 20:15:39 +01:00
Emmanuel Gil Peyrot
7cdb46b90a data_forms: Replace field_type String with a proper enum. 2017-05-21 17:08:05 +01:00
Emmanuel Gil Peyrot
80695edb72 chatstates, ping, presence: Check for extraneous attributes. 2017-05-21 16:44:35 +01:00
Emmanuel Gil Peyrot
814a3bd882 data_forms: Add support for required, options, title and instructions. 2017-05-21 16:41:29 +01:00
Emmanuel Gil Peyrot
a4f50f2d43 jingle_ibb, ibb, rsm: Simplify attribute parsing. 2017-05-21 16:08:25 +01:00
Emmanuel Gil Peyrot
3c083709cb rsm, ibb: Write and use a macro to parse attributes. 2017-05-21 16:03:17 +01:00
Emmanuel Gil Peyrot
16899f8c23 rsm: Add a test for <first/>. 2017-05-21 15:41:16 +01:00
Emmanuel Gil Peyrot
61839042bd rsm: Split First into two options, and generate Set earlier during parsing. 2017-05-21 15:30:22 +01:00
Emmanuel Gil Peyrot
d680c31cf9 iq, message: Wire up MAM to the payloads. 2017-05-19 02:58:35 +01:00
Emmanuel Gil Peyrot
967d4af843 rsm: Rename First id to make it more explicit. 2017-05-19 02:58:18 +01:00
Emmanuel Gil Peyrot
2b8bcebfd9 message, iq, presence: Return an Unknown instead of an error when the element is unknown. 2017-05-19 02:09:23 +01:00
Emmanuel Gil Peyrot
dcb7ac8db2 iq: Remove a panic! 2017-05-19 00:10:23 +01:00
Emmanuel Gil Peyrot
6df3c4a679 iq: Remove a bunch of clones. 2017-05-19 00:07:51 +01:00
Emmanuel Gil Peyrot
65469db1e3 iq: Stop parsing the payload automatically. 2017-05-19 00:04:42 +01:00
Emmanuel Gil Peyrot
4407183010 iq: Move IqPayload parsing into its own Into implementation. 2017-05-18 23:50:08 +01:00
Emmanuel Gil Peyrot
0ad6893d52 presence: Stop parsing payloads automatically. 2017-05-18 23:32:44 +01:00
Emmanuel Gil Peyrot
fe8dccd5df presence: Remove now-unused enum values. 2017-05-18 23:32:26 +01:00
Emmanuel Gil Peyrot
e52817e5cd message: Avoid identical match branches. 2017-05-18 23:14:07 +01:00
Emmanuel Gil Peyrot
f18043231c ecaps2: Avoid a useless clone. 2017-05-18 23:12:45 +01:00
Emmanuel Gil Peyrot
bbdf38d58b message: Stop parsing the payloads automatically. 2017-05-18 23:06:22 +01:00
Emmanuel Gil Peyrot
36b0bead49 message: Add stanza-id as a direct payload. 2017-05-18 23:09:30 +01:00
Emmanuel Gil Peyrot
b22acff15e hashes, ecaps2, jingle_ft: Make the algorithm a proper enum. 2017-05-18 23:09:29 +01:00
Emmanuel Gil Peyrot
4ec92b16ac Fix most clippy warnings. 2017-05-07 15:23:06 +01:00
Emmanuel Gil Peyrot
2b29748e6b message: Add support for the <thread/> element. 2017-05-07 15:09:18 +01:00