Commit graph

1320 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
7ebfe3e881 New XHTML-IM parser (XEP-0071). 2019-08-25 19:01:51 +02:00
ea88adbafb Merge branch 'optional-comments' into 'master'
Make comments optional

See merge request xmpp-rs/minidom-rs!36
2019-08-22 16:18:07 +00:00
Emmanuel Gil Peyrot
a91252c861 Make comments optional.
Add a default "comments" feature to transform comments into errors when
unset.

This is so that XMPP implementations don’t have to care about comments,
as they can’t happen in the stream.
2019-08-22 18:11:22 +02:00
aa8018d999
Update to quick-xml 0.15
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-21 10:32:32 +02:00
Emmanuel Gil Peyrot
08c3cb8c6f bind: Document the split in ChangeLog. 2019-07-31 13:52:08 +02:00
Emmanuel Gil Peyrot
08fa36d186 Implement Bits of Binary. 2019-07-31 13:51:18 +02:00
Emmanuel Gil Peyrot
1eb8c781ab hashes: Add a from_hex constructor, and use it in Sha1HexAttribute. 2019-07-30 22:14:06 +02:00
Emmanuel Gil Peyrot
a8628a7870 ibr: Update the size tests.
Hashbrown has been stabilised, so HashMap is now two pointers bigger,
this reflects in this test.
2019-07-30 21:30:37 +02:00
Emmanuel Gil Peyrot
ecee3e9ee8 bind: Split Bind into request/response. 2019-07-30 21:25:27 +02:00
Emmanuel Gil Peyrot
1ded40b614 doap: Update to the latest specification
The xmpp-doap extension has be simplified to only expose the
SupportedXep class and its children properties, as well as categories,
and reuses DOAP to the maximum.
2019-07-27 15:52:43 +02:00
1f96d82cb8
Remove trailing whitespace
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-27 13:14:37 +02:00
Emmanuel Gil Peyrot
f167e8b591 date: Follow clippy and remove a harmful reference. 2019-07-26 01:54:26 +02:00
bf1c2bd48b
Release version 0.7.0
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-26 01:43:57 +02:00
8f73813b53 Merge branch 'update-minidom' into 'master'
Update minidom dep to 0.11

See merge request xmpp-rs/jid-rs!16
2019-07-25 23:40:21 +00:00
Emmanuel Gil Peyrot
72ebd21767 hashes: Add base64, hex and colon-separated hex formatters on Hash. 2019-07-25 17:51:05 +02:00
Emmanuel Gil Peyrot
d989974f69 Don’t download avatars again if they are already present on the fs. 2019-07-25 17:42:30 +02:00
Emmanuel Gil Peyrot
8e0bcaed14 Autojoin MUCs from bookmarks.
When the JoinRooms ClientFeature is enabled, we want to automatically
receive bookmarks and join them when they are added.
2019-07-25 17:16:50 +02:00
Emmanuel Gil Peyrot
9df465d940 Add various metadata to Cargo.toml. 2019-07-25 15:37:00 +02:00
Emmanuel Gil Peyrot
68b389277e Add the missing license file. 2019-07-25 15:36:45 +02:00
Emmanuel Gil Peyrot
88041550b9 Check that the received roster is from our own account. 2019-07-25 15:04:13 +02:00
Emmanuel Gil Peyrot
c69140b05e Add missing dyn on Future trait object, and deny that. 2019-07-25 15:03:22 +02:00
linkmauve
2a952ffa58 Merge branch 'simplify' into 'master'
Simplify API: attempt 2

See merge request linkmauve/xmpp-rs!2
2019-07-25 12:58:53 +00:00
Marcin Mielniczuk
3f056813ed
Simplify the API by removing explicit channels. 2019-07-24 21:53:26 +02:00
74759a7e39
Update minidom dep to 0.11
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-20 19:45:06 +02:00
24d3d8696d
Build CI with minidom feature
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-20 19:27:31 +02:00
365f26523c
Add minidom feature for CI tests
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-20 19:21:12 +02:00
6b9e858507
Release version 0.6.2
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-20 19:14:12 +02:00
750562cd96
add getters for node and domain on Jid
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-20 19:01:25 +02:00
Emmanuel Gil Peyrot
2234bb76f2 macros, pubsub: Fix build failure introduced in the previous commit. 2019-07-17 22:30:49 +02:00
Emmanuel Gil Peyrot
0aa5f5f60f lib: Stop reexporting TryFrom and TryInto.
They are available in std::convert nowadays, and should be imported from
there.
2019-07-17 22:26:41 +02:00
Emmanuel Gil Peyrot
a7dbaee309 ChangeLog: Start the next entry. 2019-07-17 21:58:42 +02:00
Emmanuel Gil Peyrot
329afabb66 Implement Message Carbons. 2019-07-17 21:58:39 +02:00
Emmanuel Gil Peyrot
9d6a43f620 Add a DOAP file. 2019-07-17 20:27:22 +02:00
fb71acd8d1
Cargo.toml, ChangeLog: Release version 0.14.0
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-13 17:57:17 +02:00
linkmauve
f3eac84992 Merge branch 'presence-show-option' into 'master'
presence: Remove Show::None and make presence.show Option<Show>

See merge request xmpp-rs/xmpp-parsers!11
2019-07-13 15:27:24 +00:00
lumi
36b51171ce Merge branch 'master' into 'master'
Implement From<BareJid> and From<FullJid> for Jid.

See merge request xmpp-rs/jid-rs!15
2019-07-07 10:32:13 +00:00
lumi
8f0d5c7ca1 Implement From<BareJid> and From<FullJid> for Jid. 2019-07-06 14:55:19 +02:00
03a1d915a4 presence: Remove Show::None and make presence.show Option<Show>
This should make it easier to upgrade to minidom 0.11, to avoid having
to implement an Iterator for Show, and just implement Into<Node>.

It also makes a bit more sense to me semantically.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-26 02:07:00 +02:00
868164700a
Fix pep email address in copyright once and for all
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-26 02:06:38 +02:00
Astro
d173254483 Merge branch 'update-dependencies' into 'master'
Update dependencies

See merge request xmpp-rs/tokio-xmpp!6
2019-06-14 23:42:30 +00:00
c5c330d77a
Prepare for 0.11.0 release
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-14 18:39:43 +02:00
019e700ab4
CHANGELOG: Add missing 0.10.0 entry
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-12 18:42:20 +02:00
769821141b
Update quick-xml dependency to 0.14
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-12 18:23:32 +02:00
aacfcc58b9
Change unnecessary mut variable to default immutable
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-12 18:22:51 +02:00
Emmanuel Gil Peyrot
1eaf06bf1c Update trust-dns. 2019-06-12 16:48:39 +02:00
Emmanuel Gil Peyrot
c6ab5a22b8 Update xml5ever. 2019-06-12 16:44:13 +02:00
Emmanuel Gil Peyrot
956193e0da Fix all bare_trait_objects warnings, and deny them. 2019-06-12 16:29:55 +02:00
Emmanuel Gil Peyrot
bc480f8e7c Update test_size tests for 32-bit architectures 2019-06-12 13:53:18 +02:00
3178aaa1cb Update test_size tests 64bit archs with jid-rs change
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-10 23:17:49 +02:00
1e3f940db9 Update jid dependency to 0.6.0: Jid split change
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-10 23:17:38 +02:00