Commit graph

120 commits

Author SHA1 Message Date
Astro
39346506c8 xmpp_codec: remove packet encoding unwrap()s 2019-01-29 01:51:10 +01:00
Astro
be78f6578b Revert "client: add more state to make close() send </stream:stream>"
This reverts commit 6379f91e02.
2019-01-29 01:34:44 +01:00
Astro
234450b9d1 echo_bot: illustrate close() 2019-01-26 23:59:06 +01:00
Astro
6379f91e02 client: add more state to make close() send </stream:stream> 2019-01-26 23:58:54 +01:00
Astro
599e3be32e xmpp_codec, client: handle StreamEnd 2019-01-26 21:07:15 +01:00
Astro
380bd2fc02 client: implement close() to close inner stream 2019-01-26 20:46:51 +01:00
Astro
3586e5134d client: reindent 2019-01-26 19:39:05 +01:00
Astro
c75eafa553 rm all annoying debug output 2019-01-26 19:30:05 +01:00
Astro
438dbaafec tokio-xmpp 0.2.3 2019-01-17 01:41:59 +01:00
Astro
9921a59400 add Cargo.lock 2019-01-17 01:41:42 +01:00
Astro
def0092b20 happy_eyeballs: set LookupIpStrategy::Ipv4AndIpv6
this is what happy_eyeballs are all about
2019-01-17 01:38:24 +01:00
Astro
e59d048cd0 happy_eyeballs: eliminate State::Start 2019-01-17 01:29:48 +01:00
Astro
59f433fd21 happy_eyeballs: migrate to newer trust-dns dependencies 2019-01-17 01:29:39 +01:00
Astro
c015b3f776 Merge branch 'bump-xmpp-parsers' into 'master'
Bump xmpp-parsers to 0.12.2

See merge request xmpp-rs/tokio-xmpp!2
2019-01-16 22:59:49 +00:00
Emmanuel Gil Peyrot
62e9dcc022 Bump xmpp-parsers to 0.12.2.
This also removes minidom, jid and try_from as direct dependencies,
since they are now reexported by xmpp-parsers.
2019-01-16 15:26:45 +01:00
Astro
5eb211c9fc tokio-xmpp 0.2.2 2019-01-14 02:49:50 +01:00
Astro
49c0f6e7a6 client: add new_with_jid() to reuse parsed Jid
Should fix Gitlab issue #2
2019-01-14 00:02:02 +01:00
Astro
8e9d826d4e Merge branch 'o01eg/tokio-xmpp-accept-prefixes'
Fixes Gitlab MR !1
2019-01-13 21:07:14 +01:00
Astro
1225bf7027 prefix support DRY 2019-01-13 21:05:19 +01:00
O01eg
983078f120
Add prefix support to decoder to accept xml:lang in presence statuses. 2019-01-08 13:41:39 +03:00
Astro
7bb4bd1094 tokio-xmpp 0.2.1 2018-12-20 21:30:56 +01:00
Astro
a6512c2b42 auth: delint 2018-12-20 21:20:52 +01:00
Astro
78f74c6338 auth: clarify + optimize 2018-12-20 21:17:56 +01:00
Astro
11cc7f183a auth: add work-around for xmpp-parsers pickyness 2018-12-20 21:09:13 +01:00
Astro
ce039d767e restructure auth code 2018-12-20 20:39:01 +01:00
Astro
bbadf75c01 move from travis-ci to gitlab-ci 2018-12-20 17:35:05 +01:00
Astro
c7132493cf Cargo: update paths for move to gitlab.com 2018-12-20 17:30:32 +01:00
Astro
ecd3b72f75
Merge pull request #7 from linkmauve/edition
Update to edition 2018, and run cargo fmt
2018-12-20 02:04:33 +01:00
Emmanuel Gil Peyrot
51bae9b0e5 Run cargo fmt on the entire project. 2018-12-18 19:04:31 +01:00
Emmanuel Gil Peyrot
3aba4e7070 Remove now-useless "extern crate"s. 2018-12-18 19:04:02 +01:00
Emmanuel Gil Peyrot
24b2ff1851 Move to edition 2018. 2018-12-18 18:29:31 +01:00
Astro
7ba1b5604f
Merge pull request #5 from linkmauve/ConnectFuture
Use tokio::net::tcp::ConnectFuture directly
2018-10-01 17:06:36 +02:00
Emmanuel Gil Peyrot
4ab3890cd3 Use tokio::net::tcp::ConnectFuture directly.
This removes this warning:
```
warning: use of deprecated item 'tokio::net::ConnectFuture': use `tokio::net::tcp::ConnectFuture` instead
```
2018-10-01 12:34:33 +02:00
Astro
3c82965581 README: TODO update 2018-09-08 02:16:45 +02:00
Astro
3954435d57 tokio-xmpp 0.2.0 2018-09-08 02:13:18 +02:00
Astro
662c61b801 happy_eyeballs: enable parallel A/AAAA resolution 2018-09-08 02:12:49 +02:00
Astro
d3fab29d38 rm stale DomainError, add error docs 2018-09-08 01:42:23 +02:00
Astro
ce2ce363b0 happy_eyeballs: propagate actual connection error 2018-09-08 01:35:26 +02:00
Astro
81191041c4 improve style: flatten future 2018-09-08 01:22:15 +02:00
Astro
f4007511ea improve style 2018-09-06 23:57:42 +02:00
Astro
0b7210d597 Merge branch 'migrate-tokio' 2018-09-06 18:20:05 +02:00
Astro
e9d30f16c3 unstringify Error type 2018-09-06 17:49:42 +02:00
O01eg
d3039127dd
Move from tokio-core to tokio. 2018-09-01 22:59:02 +03:00
Astro
2e0dd44352 a proper ParserError type for XMPPCodec 2018-08-05 21:52:32 +02:00
Astro
0d93bb566f tokio-xmpp 0.1.2 2018-08-03 01:22:01 +02:00
Astro
bacd867385 comment debug output 2018-08-03 01:21:55 +02:00
Astro
a3db744e46 client::auth: update xmpp-parsers usage 2018-08-03 01:11:55 +02:00
Astro
b82237f422 replace try! with ? syntax 2018-08-02 20:10:26 +02:00
Astro
b929a3c71e doc 2018-08-02 19:58:19 +02:00
Astro
0e4941dc7a rm unused dep tendril 2018-08-02 18:46:54 +02:00