Commit graph

2196 commits

Author SHA1 Message Date
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
Astro
047649dbc8 .gitlab-ci.yml: add a compat-rust-latest stage 2018-12-30 01:08:30 +01:00
Astro
95f4ade4ba compat mode that relaxes some of the check_* macros 2018-12-30 00:36:29 +01:00
Astro
1e85abd10c sasl: Add test failure_with_non_prefixed_text_lang. 2018-12-29 22:40:49 +01:00
Emmanuel Gil Peyrot
96c8b05677 Do some manual formatting in macros. 2018-12-29 18:29:11 +01:00
lumi
f0dd03d633 Split Node off into its own module: node.rs 2018-12-23 15:59:13 +01:00
lumi
c5c8dee20a Get rid of IntoElements, replace it with Into<Node> and <T: Into<Node> IntoIterator<Item = T>. This is a backwards-incompatible change, but should require minimal changes.
Doing this splits the `append` method in `ElementBuilder` into two methods. `append` now appends exactly one node, while `append_all` appends an iterator of nodes.

Add `remove_child`, which removes the first child that has a specific name and namespace, then returns it if it exists.

Add a lot of convenience methods on `Node`: `as_text_mut`, `as_element_mut`, `into_text`, `into_element`.
2018-12-23 15:42:50 +01: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
Emmanuel Gil Peyrot
9c8da4a063 Use a working CI script, and test on both stable and nightly. 2018-12-20 17:49:36 +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
Emmanuel Gil Peyrot
f6593aa74b Setup CI for GitLab. 2018-12-20 16:56:15 +01:00
Emmanuel Gil Peyrot
cf0cfda6b5 Link .hgignore to .gitignore. 2018-12-20 16:46:59 +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
Emmanuel Gil Peyrot
fa0894daa0 Run cargo fmt. 2018-12-18 16:40:44 +01:00
Emmanuel Gil Peyrot
316268d3a1 Use edition 2018. 2018-12-18 16:39:39 +01:00
Emmanuel Gil Peyrot
d48473648b Bump minidom dependency to 0.10. 2018-12-18 16:35:08 +01:00
Emmanuel Gil Peyrot
376ccc1c06 Run cargo fmt on some more files. 2018-12-18 16:07:46 +01:00
Emmanuel Gil Peyrot
090a16953b bind: Add forgotten test for attributes. 2018-12-18 16:00:25 +01:00