Commit graph

1871 commits

Author SHA1 Message Date
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
5bd0feb178 optionally implement minidom::IntoAttributeValue 2017-07-29 05:11:30 +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
Emmanuel Gil Peyrot
f83fe92244 jingle: Wrap the disposition in a struct, to get better type safety. 2017-07-29 02:47:33 +01:00
Emmanuel Gil Peyrot
75ae6100b4 data_forms: Remove unneccessary swallowing of an error. 2017-07-29 02:41:42 +01:00
Emmanuel Gil Peyrot
4b3ced042e ecaps2, jingle_s5b: Replace drain() with into_iter(). 2017-07-26 00:04:20 +01:00
Emmanuel Gil Peyrot
7511ca46c5 Added tag v0.7.1 for changeset 714dc06b558a 2017-07-24 23:11:34 +01:00
Emmanuel Gil Peyrot
712e6dfe11 Release version 0.7.1. 2017-07-24 23:11:31 +01:00
Emmanuel Gil Peyrot
83c9713ab9 caps, ecaps2: Make Blake2b panic and update the blake2 crate to 0.6.1.
See https://github.com/RustCrypto/hashes/issues/34 for more information.
2017-07-24 23:11:10 +01:00
Astro
ff165d745d Cargo.toml: update minidom to 0.4.4 2017-07-23 23:53:08 +02:00
Emmanuel Gil Peyrot
6e506fbc57 Cargo.toml, echo_bot: update xmpp-parsers to 0.7.0 2017-07-23 23:50:43 +02:00
lumi
6ad21dbf83 Merge branch 'xmpp-parsers-0.7.0' into 'master'
update to xmpp-parsers 0.7.0

See merge request !31
2017-07-23 18:06:49 +00:00
Emmanuel Gil Peyrot
ba8c86620a update to xmpp-parsers 0.7.0 2017-07-23 18:59:41 +01:00
Emmanuel Gil Peyrot
9e6e84fcb4 Added tag v0.7.0 for changeset 28ea59e51a98 2017-07-23 18:47:53 +01:00
Emmanuel Gil Peyrot
e26bd3306e Release version 0.7.0. 2017-07-23 18:47:46 +01:00
Emmanuel Gil Peyrot
85ea78d5a7 ChangeLog: Add 0.7.0 release notes. 2017-07-23 18:46:40 +01:00
Astro
a204e66709 echo_component: TODO 2017-07-23 02:47:07 +02:00
Astro
993fdcab8f unify Client::Event and Component::Event into Event 2017-07-23 02:46:47 +02:00
Emmanuel Gil Peyrot
c0f3fc4afb lib: add a component connection method 2017-07-23 02:09:52 +02:00
Astro
430cd4b44d README: TODO 2017-07-23 02:04:46 +02:00
Emmanuel Gil Peyrot
4454da15b6 disco: Implement disco#items. 2017-07-21 17:33:58 +01:00
Emmanuel Gil Peyrot
3b6733f38b Upgrade to minidom 0.4.4 to avoid having to redefine IntoElements for each Into<Element>. 2017-07-21 01:20:29 +01:00
Emmanuel Gil Peyrot
21cee25b27 Replace .and_then() with .map() wherever it makes sense. 2017-07-21 01:19:34 +01:00
Emmanuel Gil Peyrot
7612c53f9a attention, chatstates, eme, ping: Add a docstring on the structs. 2017-07-20 23:47:21 +01:00
Emmanuel Gil Peyrot
fd31e691af lib: Improve the wording of the docstring. 2017-07-20 23:46:44 +01:00
Astro
dc5ddc73f6 client: use idna 2017-07-21 00:43:43 +02:00
Astro
7cd31bd425 delint (clippy) 2017-07-21 00:19:08 +02:00
Emmanuel Gil Peyrot
87af0f3615 message, presence, iq: Improve documentation. 2017-07-20 23:10:13 +01:00
Emmanuel Gil Peyrot
5df585ca40 data_forms, ibr, message, presence, roster: Always use into_iter. 2017-07-20 23:09:22 +01:00
Emmanuel Gil Peyrot
f6f6faeb77 iq, jingle_ft: Simplify item counting with Iterator::count(). 2017-07-20 23:08:23 +01:00
Astro
00e2daaecd echo_bot: use xmpp-parsers to parse message 2017-07-20 01:07:07 +02:00
Astro
fc0973539f add README with TODOs 2017-07-19 01:57:54 +02:00
Astro
6ae3292d0c add .travis.yml 2017-07-19 01:57:46 +02:00
Astro
8850c95155 happy_eyeballs: don't retain errored connects 2017-07-19 01:32:53 +02:00
Maxime “pep” Buquet
2571aa7666 presence: Add with_ helpers to build a Presence 2017-07-19 00:21:44 +01:00
Emmanuel Gil Peyrot
5543d71599 attention: Use super::* in tests like every other module. 2017-07-20 20:53:59 +01:00
Emmanuel Gil Peyrot
cc563b46d2 ecaps2, forwarding, jingle_s5b, mam: Replace complex into expressions with .map(Element::from). 2017-07-20 20:52:25 +01:00
Emmanuel Gil Peyrot
487dbdc6de Replace Into<Element> with From<…> for Element.
This allows Element::from() to work, and since Into<Element> is
automatically implemented for any type implementing From there is no
change to existing code.
2017-07-20 20:36:13 +01:00