Commit graph

1442 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
376fa9f92e avatar: Fix parsing of avatar data containing whitespace in the base64. 2019-01-27 17:17:12 +01:00
Emmanuel Gil Peyrot
1921f6819e util.helpers: Add a whitespace-aware base64 codec. 2019-01-27 17:16:23 +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
Emmanuel Gil Peyrot
b6c7a06edd avatar: Fix build with --features=disable-validation. 2019-01-25 03:45:48 +01:00
Emmanuel Gil Peyrot
35fccafc09 avatar: Add a new XEP-0084 parser. 2019-01-25 03:34:23 +01:00
Emmanuel Gil Peyrot
82015de964 hashes: Add an hex-encoded SHA-1 attribute helper. 2019-01-25 03:03:08 +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
Emmanuel Gil Peyrot
7160397912 Cargo.toml: Release version 0.12.2. 2019-01-16 15:23:07 +01:00
Emmanuel Gil Peyrot
f28a27185b ChangeLog: Add imminent 0.12.2 release. 2019-01-16 15:23:00 +01:00
Emmanuel Gil Peyrot
b59ca1cbcb lib: Reexport TryFrom and util::error::Error. 2019-01-16 15:22:51 +01:00
Emmanuel Gil Peyrot
6660ca4c86 Cargo.toml: Release version 0.12.1. 2019-01-16 14:33:37 +01:00
Emmanuel Gil Peyrot
5982f81805 ChangeLog: Add imminent 0.12.1 release. 2019-01-16 14:33:19 +01:00
Emmanuel Gil Peyrot
0b38be9ec9 ChangeLog: Fix release date of 0.12.0. 2019-01-16 14:33:08 +01:00
Emmanuel Gil Peyrot
bfd90be0c9 lib: Reexport JidParseError from the jid crate. 2019-01-16 14:32:51 +01:00
Emmanuel Gil Peyrot
e3d6605659 Cargo.toml: Release version 0.12.0. 2019-01-16 13:48:01 +01:00
Emmanuel Gil Peyrot
9946c5dc59 Cargo.toml: Update the homepage and repository. 2019-01-16 13:45:19 +01:00
Emmanuel Gil Peyrot
66b87257ea Cargo.toml: Bump minidom and jid. 2019-01-16 13:32:55 +01:00
Emmanuel Gil Peyrot
1f260cfe86 Prepare for release 0.5.3. 2019-01-16 13:27:54 +01:00
Emmanuel Gil Peyrot
018a303090 ChangeLog: Document why Jid is getting reexported. 2019-01-16 13:23:44 +01:00
Emmanuel Gil Peyrot
5efc64490c lib: Reexport Jid from the jid crate. 2019-01-16 13:22:07 +01:00
Emmanuel Gil Peyrot
107e66f987 ChangeLog: Add imminent version 0.12.0. 2019-01-16 13:17:33 +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
Emmanuel Gil Peyrot
15b9e65a5d util: Add forgotten mod.rs file. 2019-01-13 14:45:13 +01:00
Emmanuel Gil Peyrot
409a1dafa9 Move Error, helpers and macros into a util module. 2019-01-13 12:39:51 +01:00
Emmanuel Gil Peyrot
2a7cf487a4 roster: Also test for the size of the new Ask attribute. 2019-01-13 12:07:11 +01:00
Emmanuel Gil Peyrot
b6796d54e6 roster: Simplify the @ask parsing using a singleton attribute. 2019-01-13 12:07:08 +01:00
Emmanuel Gil Peyrot
62539cbae3 macros: Add a singleton attribute. 2019-01-13 12:07:05 +01:00
linkmauve
69f77e9cf5 Merge branch 'fix-1-add-ask' into 'master'
Add ask attribute from RFC3921.

Closes #1

See merge request xmpp-rs/xmpp-parsers!4
2019-01-13 11:06:17 +00:00
Emmanuel Gil Peyrot
2347b36c89 Merge branch 'compat' 2019-01-13 12:00:36 +01:00
Emmanuel Gil Peyrot
635e8633a8 sasl: Document the reason for the unprefixed @lang test. 2019-01-13 11:56:40 +01:00
04c5bcac1d ci: split build and test stages
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-12 22:16:42 +01:00
Emmanuel Gil Peyrot
c2b7e19378 Rename "compat" into "disable-validation", to insist on it breaking some guarantees. 2019-01-12 22:00:46 +01:00
Emmanuel Gil Peyrot
8b15728bb2 blocking, jingle_ft: Split #[cfg] sections into their own tests. 2019-01-12 20:41:40 +01:00
Emmanuel Gil Peyrot
ee511e653a sasl: Add back the assert, with the correct @xml:lang this time. 2019-01-12 20:41:12 +01:00
O01eg
983078f120
Add prefix support to decoder to accept xml:lang in presence statuses. 2019-01-08 13:41:39 +03:00
O01eg
5ebe92c260
Add ask attribute from RFC3921.
Fixes #1
2019-01-07 16:49:33 +03:00