Commit graph

1659 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
bb12168c41 jingle_s5b: Handle the forgotten case of an empty transport element, see §2.2. 2017-05-06 13:54:16 +01:00
Emmanuel Gil Peyrot
828b88e5b2 Add a Jingle SOCKS5 Bytestreams Transport implementation. 2017-05-06 12:49:30 +01:00
Emmanuel Gil Peyrot
51eecda4fd error: Implement From<std::string::ParseError>. 2017-05-06 12:48:42 +01:00
lumi
f3b9984ff2 Merge branch 'update-dependencies' into 'master'
Update dependencies

See merge request !6
2017-05-05 01:04:04 +00:00
Emmanuel Gil Peyrot
e3acb55b49 ibb: Port to TryFrom/Into. 2017-05-04 23:11:10 +01:00
Emmanuel Gil Peyrot
78509e25b1 update to the latest sasl 2017-05-04 20:26:46 +01:00
Emmanuel Gil Peyrot
31f78b9f5f update to the latest xml-rs and minidom 2017-05-04 20:26:45 +01:00
Emmanuel Gil Peyrot
b8fda8ea6a update to the latest base64 2017-05-04 20:25:58 +01:00
Emmanuel Gil Peyrot
033cbe777b ping: Port to TryFrom/Into. 2017-05-04 01:31:13 +01:00
Emmanuel Gil Peyrot
6c4fd8da01 jingle: Update to Into and TryFrom. 2017-05-04 01:20:28 +01:00
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