Commit graph

1767 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
29725b9d4d Update to minidom 0.3.0. 2017-05-04 01:20:22 +01:00
Emmanuel Gil Peyrot
1cea1987a2 Cargo.toml: Remove superfluous license-file. 2017-05-04 01:20:01 +01:00
lumi
33f9dee31f move use std::iter::FromIterator to tests 2017-05-03 18:39:40 +02:00
lumi
1bc1437da8 bump version to 0.3.0 2017-05-03 18:37:03 +02:00
lumi
fdfc7e2cb1 Merge branch 'master' into 'master'
Implement From<Element> for String and use it for fmt::Debug

See merge request !7
2017-05-03 16:22:05 +00:00
lumi
5f462e9081 Merge branch 'master' into 'master'
Reexport ElementEmitter from the lib

See merge request !6
2017-05-03 16:19:49 +00:00
lumi
e27ae954fb Merge branch 'fix-component' into 'master'
fix component connection when one byte was in 0..15

See merge request !5
2017-05-03 00:00:35 +00:00
Emmanuel Gil Peyrot
b4795cecd4 replace openssl with sha-1 for component handshake 2017-05-02 17:21:26 +01:00
Emmanuel Gil Peyrot
1e65b20ead implement From<FormatError> for Error 2017-05-02 17:21:03 +01:00
Maxime “pep” Buquet
e9d33e5e7e Implement From<Element> for String and use it for fmt::Debug 2017-05-02 16:32:32 +01:00
Emmanuel Gil Peyrot
765e8c3333 attention: Replace parse_* and serialise with TryFrom<Element> and Into<Element>. 2017-05-01 23:49:44 +01:00
Emmanuel Gil Peyrot
c0b7c9da88 iq: Remove unused variable causing a warning. 2017-05-01 01:50:38 +01:00
Emmanuel Gil Peyrot
7b6d444f03 delay: Use Jid for from attribute. 2017-05-01 01:50:18 +01:00
Emmanuel Gil Peyrot
ed458ba694 Add a ChangeLog file, to let users know about the changes between major versions. 2017-05-01 01:39:52 +01:00
Emmanuel Gil Peyrot
f3b55350ad iq: Wire up stanza_error. 2017-05-01 01:23:56 +01:00
Emmanuel Gil Peyrot
42abbe2927 message: Wire up stanza_error. 2017-05-01 01:04:15 +01:00
Emmanuel Gil Peyrot
3dd0eb3a9b presence: Wire up stanza_error. 2017-05-01 01:02:35 +01:00
Emmanuel Gil Peyrot
2465885975 Add a stanza error parser and serialiser. 2017-05-01 01:24:45 +01:00
Emmanuel Gil Peyrot
c13cebf025 Implement the Debug trait in a more user-friendly way. 2017-05-01 00:00:12 +01:00
Emmanuel Gil Peyrot
875b95bdc9 Reexport ElementEmitter from the lib. 2017-04-30 23:46:29 +01:00
Emmanuel Gil Peyrot
e03a5a89e7 presence: Prevent two statuses from having the same lang. 2017-04-30 22:45:39 +01:00
Emmanuel Gil Peyrot
0abac5ad2d presence: Make statuses addressable by their xml:lang. 2017-04-30 22:07:32 +01:00
Emmanuel Gil Peyrot
1909ae33dc presence: make show, statuses and priority first-class elements. 2017-04-30 22:00:29 +01:00
Emmanuel Gil Peyrot
0288b937df Simplify the Display implementation. 2017-04-30 21:44:02 +01:00
Emmanuel Gil Peyrot
21398447e7 presence: Implement priority parsing. 2017-04-30 21:29:55 +01:00
Emmanuel Gil Peyrot
4ec3898c2f presence: Implement show parsing. 2017-04-30 21:03:04 +01:00
Emmanuel Gil Peyrot
0e20810a83 status, presence: Merge status into presence. 2017-04-30 20:33:53 +01:00
lumi
1d53007a99 Merge branch 'update_deps' into 'master'
Update dep jid-rs and minidom-rs

See merge request !4
2017-04-30 18:29:46 +00:00
Maxime “pep” Buquet
ee2f311447 Update dep jid-rs to 0.2.0 2017-04-30 17:51:44 +01:00
Maxime “pep” Buquet
92969154b4 Update dep minidom-rs to 0.2.0 2017-04-30 17:44:07 +01:00
lumi
1f7c61e0d6 Merge branch 'xml-rs-0.4.1' into 'master'
Bump xml-rs dependency to 0.4.1

See merge request !5
2017-04-30 14:05:28 +00:00
lumi
1b1e2fa86a Merge branch 'use_btreemap_for_attributes' into 'master'
Use a BTreeMap<String, String> instead of a Vec<Attribute> to store attributes

Closes #4

See merge request !4
2017-04-30 14:00:05 +00:00
Emmanuel Gil Peyrot
4b90c1dc1f data_forms, disco, jingle, jingle_ft: Remove superfluous “extern crate”. 2017-04-29 22:10:38 +01:00
Emmanuel Gil Peyrot
407e4cceb4 License the project under MPL-2.0. 2017-04-29 22:14:34 +01:00
Emmanuel Gil Peyrot
6f2ee2f0ad Cargo.toml: Add some metadata. 2017-04-29 21:41:18 +01:00
Emmanuel Gil Peyrot
7750aae5b5 presence, message, jingle_ft: Remove unneeded println!(). 2017-04-29 06:57:20 +01:00
Emmanuel Gil Peyrot
61efeb827f forwarding: Remove unused imports. 2017-04-29 06:50:57 +01:00
Emmanuel Gil Peyrot
eecb47f4ed mam: Add tests. 2017-04-29 06:41:55 +01:00
Emmanuel Gil Peyrot
0b2d46aa3a Add a MAM parser and serialiser. 2017-04-29 06:07:00 +01:00
Emmanuel Gil Peyrot
7cd4a49011 error: Add JidParseError. 2017-04-29 06:06:41 +01:00
Emmanuel Gil Peyrot
72a6eee2fd Add a RSM parser and serialiser. 2017-04-29 04:37:18 +01:00
Emmanuel Gil Peyrot
0f92a11894 Add a forwarding parser and serialiser. 2017-04-29 03:50:49 +01:00
Emmanuel Gil Peyrot
d824a161b6 message: Implement IntoElements. 2017-04-29 03:50:20 +01:00
Emmanuel Gil Peyrot
4dc585f1c9 delay: Implement IntoElements. 2017-04-29 03:50:02 +01:00
Emmanuel Gil Peyrot
8b964df645 Add a stanza-id parser and serialiser. 2017-04-29 03:23:50 +01:00
Emmanuel Gil Peyrot
b09c57ec72 ecaps2: Move hashing crates to the main library. 2017-04-29 01:31:39 +01:00
Emmanuel Gil Peyrot
45b38bcef9 iq: Wire up the IBB parser and serialiser. 2017-04-29 01:06:12 +01:00
Emmanuel Gil Peyrot
846148d618 ibb: Fix serialisation of <data/> data. 2017-04-28 23:46:32 +01:00
Emmanuel Gil Peyrot
5e4ba2701b iq: Wire up the Jingle parser and serialiser. 2017-04-28 23:46:06 +01:00
Emmanuel Gil Peyrot
4fb4727357 jingle: Remove extraneous println!. 2017-04-28 23:45:43 +01:00