Commit graph

1841 commits

Author SHA1 Message Date
lumi
cdf665454f Merge branch 'new-event-system' into 'master'
Adapt new event system for component

See merge request !8
2017-05-27 13:21:05 +00:00
Emmanuel Gil Peyrot
d1a7d222f0 delay: Use chrono to parse the stamp. 2017-05-27 12:29:21 +01:00
Emmanuel Gil Peyrot
bdaced7603 caps, ecaps2: Add a function to create a Disco query from a hash. 2017-05-27 12:22:50 +01:00
Emmanuel Gil Peyrot
42235c42fb hashes: Implement From<Hash> for String. 2017-05-27 12:22:11 +01:00
Emmanuel Gil Peyrot
357568813d presence: Wire up legacy caps. 2017-05-27 12:21:32 +01:00
Emmanuel Gil Peyrot
2c77c4f701 idle: Add the chrono dependency to actually parse dates. 2017-05-27 12:20:19 +01:00
Emmanuel Gil Peyrot
dfdfd8cf71 Add a legacy caps parser and serialiser. 2017-05-25 02:34:03 +01:00
Emmanuel Gil Peyrot
764a7190e9 stanza_error: Simplify with IntoElements. 2017-05-25 01:14:36 +01:00
Emmanuel Gil Peyrot
56b7785942 delay: Remove clones. 2017-05-25 01:04:51 +01:00
Emmanuel Gil Peyrot
f08c81382c data_forms, media_element: Implement forgotten serialisation. 2017-05-25 01:00:17 +01:00
Emmanuel Gil Peyrot
b4e47e9a78 mam: Improve serialisation. 2017-05-25 00:41:13 +01:00
Emmanuel Gil Peyrot
a6b3152add hashes: Make the hash a Vec<u8>, to avoid base64 issues. 2017-05-25 00:30:29 +01:00
Emmanuel Gil Peyrot
070227ea03 eme: Remove two clones. 2017-05-25 00:30:00 +01:00
Maxime “pep” Buquet
2ee23c1c05 Adapt new event system for component 2017-05-25 00:28:07 +01:00
Emmanuel Gil Peyrot
b172a6e05c ecaps2: Remove the last clone. 2017-05-25 00:04:37 +01:00
Emmanuel Gil Peyrot
9bb65ea8fb jingle_ibb: Simplify parsing and remove clones. 2017-05-24 23:59:45 +01:00
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
lumi
d0fa23f19a Merge branch 'xmpp-parsers' into 'master'
Add an xmpp-parsers dependency

See merge request !7
2017-05-23 23:54:03 +00:00
Emmanuel Gil Peyrot
9488c6fe12 add xmpp-parsers dependency, and use it in the stanza plugin 2017-05-24 00:40:45 +01:00
Emmanuel Gil Peyrot
2826f6624c update dependencies 2017-05-24 00:38:58 +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
lumi
9d45230c17 should re-export more things under the error module 2017-05-22 19:30:52 +02:00
lumi
508c971416 port error.rs to error_chain, bump version to 0.4.0 2017-05-22 19:20:01 +02:00
lumi
6323529cd7 bump version to 0.3.3 2017-05-22 18:50:43 +02:00
lumi
3341d7e692 turns out i was wrong and clippy was right, all hail clippy 2017-05-22 18:49:24 +02:00
lumi
dbcbe7cd9b make clippy happy 2017-05-22 18:45:43 +02:00
lumi
3223fc11fe this will already get auto-dereferenced 2017-05-22 16:15:26 +02:00
lumi
49d25968cb no need to clone that 2017-05-22 16:15:04 +02:00
lumi
f6ad64c910 now at version 0.3.2 2017-05-22 16:09:04 +02:00
lumi
8d7afc0d5c Merge branch 'into-&String' into 'master'
Implement IntoElements and IntoAttributeValue for &String

See merge request !8
2017-05-22 14:05:05 +00:00
Emmanuel Gil Peyrot
f4e5f5380e implement IntoElements and IntoAttributeValue for &String 2017-05-21 21:07:37 +01:00
Emmanuel Gil Peyrot
e7e4284a0d jingle_ft: Obtain attributes using the get_attr! macro. 2017-05-21 21:02:06 +01:00