Commit graph

89 commits

Author SHA1 Message Date
Astro
2654722fa3 client: switch SinkItem to Packet
this breaks backwards compatibility
2019-01-29 01:53:00 +01:00
Astro
1e7031aa31 xmpp_codec: encode </stream:stream> 2019-01-29 01:51:32 +01:00
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
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
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
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
49c0f6e7a6 client: add new_with_jid() to reuse parsed Jid
Should fix Gitlab issue #2
2019-01-14 00:02:02 +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
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
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
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
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
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
Astro
2a17ffc624 replace parts of client::auth with xmpp-parsers 2018-08-02 18:12:41 +02:00
Astro
db81338bc6 replace parts of client::auth with xmpp-parsers 2018-08-02 01:44:48 +02:00
Astro
0155e3fdac more replacement with xmpp-parsers 2018-08-02 01:01:41 +02:00
Astro
71e2b1c84f add XMPPStream.send_stanza() convenience method 2018-08-02 00:19:06 +02:00
Astro
06b97ea228 ClientBind: replace with xmpp_parsers::bind::Bind 2018-08-02 00:00:00 +02:00
Emmanuel Gil Peyrot
2e746f89e2 replace sha-1 with xmpp-parsers for component handshake 2018-08-01 01:08:39 +02:00
Astro
1a3707649e use tokio-codec 2018-07-31 23:34:04 +02:00
Astro
53db39f0c8 bump some deps 2018-07-31 23:19:46 +02:00
Emmanuel Gil Peyrot
772c6b56ee update dependencies 2018-02-22 20:05:41 +01:00
Emmanuel Gil Peyrot
6ac5bb99db happy_eyeballs: fix two mut warnings 2018-02-22 19:56:56 +01:00
Astro
58b5a84391 client: stream.poll_complete() for ease of use 2017-08-24 20:15:14 +02:00
Astro
0743249280 migrate to minidom 0.6.0 2017-08-14 03:57:33 +02:00