Commit graph

1613 commits

Author SHA1 Message Date
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
Astro
e2a4f609fb rm stale code 2017-07-13 01:43:27 +02:00
Astro
d5768c4c78 echo_bot: unify send() 2017-07-13 01:40:14 +02:00
Johann Tuffe
444b78c63a unescape_and_decode_value for element attributes 2017-07-08 12:18:15 +08:00
Astro
32031a239e TODO 2017-07-02 01:26:36 +02:00
Astro
3c952e47d1 impl Sink for Client + complete echo_bot 2017-07-02 01:25:22 +02:00
lumi
aeb0bc8ed7 Merge branch 'muc-plugin' into 'master'
Muc plugin

See merge request !29
2017-06-29 13:25:01 +00:00
Maxime “pep” Buquet
ac732f1b92 listen for Presence and return MucPresence 2017-06-29 13:53:17 +01:00
lumi
3882a3ba96 Merge branch 'master' into 'master'
Speedup jid parsing

See merge request !5
2017-06-29 12:45:29 +00:00
Maxime “pep” Buquet
e953a03dda Basic MUC plugin 2017-06-29 13:39:03 +01:00
lumi
fcaa29d9c2 Merge branch 'chrono-update' into 'master'
Update dependencies after chrono semver fail (sha, xmpp-parsers, chrono)

See merge request !30
2017-06-29 12:34:54 +00:00
Maxime “pep” Buquet
2849d5a59c Update chrono to 0.4 2017-06-29 13:20:11 +01:00
Maxime “pep” Buquet
03363dddff Update xmpp-parsers to 0.6 2017-06-29 13:20:03 +01:00
Maxime “pep” Buquet
6c79936484 Update sha-1 to 0.4 2017-06-29 13:19:55 +01:00