Commit graph

1526 commits

Author SHA1 Message Date
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
Emmanuel Gil Peyrot
5ec921fa6f attention: Add missing unknown attribute check. 2017-07-20 20:11:00 +01:00
Emmanuel Gil Peyrot
1f43cd934b Use TryFrom from the try_from crate, instead of the unstable feature.
This makes xmpp-parsers usable on stable.
2017-07-20 20:03:15 +01:00
Emmanuel Gil Peyrot
0fcbf11644 iq: Split IqPayload into all three possible types. 2017-07-20 18:31:17 +01:00
Emmanuel Gil Peyrot
76a46559b8 disco: Split query and result. 2017-07-20 17:39:59 +01:00
Astro
7b7f2866fc move stream_start out of places 2017-07-19 01:02:45 +02:00
Astro
35be5a4323 Cargo, echo_bot: fix xmpp-parsers usage 2017-07-19 01:00:17 +02:00
Emmanuel Gil Peyrot
794a994720 don’t use wildcard use 2017-07-18 22:59:45 +02:00
Emmanuel Gil Peyrot
0ec0f3413e echo_bot: use xmpp-parsers to generate stanzas
This also fixes a bug where show and status were inverted while
creating the presence element.
2017-07-18 22:58:43 +02:00
Astro
68af9d2110 xmpp_codec: fix large stanzas 2017-07-18 22:12:00 +02:00
Astro
c6351e8efa Cargo: fix minidom dependency 2017-07-18 21:22:12 +02:00
Astro
b944ca4ac7 make it work with minidom 2017-07-18 20:12:17 +02:00
Astro
36d7ab474e client::auth: fix base64 encoding 2017-07-18 20:04:34 +02:00
Astro
d4bd64370c switch from rustxml to minidom, doesn't work 2017-07-17 20:53:00 +02:00
Astro
fa08591162 echo_bot: take jid, password from cmdline args 2017-07-15 22:35:50 +02:00
Emmanuel Gil Peyrot
945ae350ac Add a jingle message parser and serialiser. 2017-07-15 11:38:44 +01:00
Emmanuel Gil Peyrot
161e5dcc9b jingle: Type Content::name better. 2017-07-15 11:37:29 +01:00
Astro
6e5f86632f xmpp_codec: add remedies for truncated utf8 2017-07-14 01:58:25 +02:00
Astro
2335bab844 happy_eyeballs: improvements 2017-07-13 22:17:29 +02:00
Astro
7e18db0717 echo_bot: document, simplify 2017-07-13 22:04:54 +02:00
Astro
e2c6a6ed37 implement SRV lookup 2017-07-13 02:56:02 +02:00
Astro
7f667041d9 more of a ClientEvent api 2017-07-13 01:47:05 +02:00