Commit graph

1988 commits

Author SHA1 Message Date
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
Emmanuel Gil Peyrot
78b0d016f1 Release version 0.6.1, with the MPL-2.0 relicense. 2019-06-10 23:17:24 +02:00
Emmanuel Gil Peyrot
8ca35d81a4 Fix CHANGELOG date for 0.6.0. 2019-06-10 23:16:04 +02:00
Emmanuel Gil Peyrot
20a7d4fc55 Switch from LGPLv3 to MPL-2.0. 2019-06-10 23:16:04 +02:00
Emmanuel Gil Peyrot
e2b5696beb Add BareJid and FullJid to the ChangeLog. 2019-06-10 22:55:55 +02:00
Emmanuel Gil Peyrot
d7a74b2f28 Specify what is a bare and a full JID, and when to use something else. 2019-06-10 22:55:15 +02:00
Emmanuel Gil Peyrot
b12487a5b1 Standardise the casing of “full JID” and “bare JID”. 2019-06-10 22:54:52 +02:00
Emmanuel Gil Peyrot
6b1ad1ca9b Make the NoResource error description less ambiguous. 2019-06-10 22:49:57 +02:00
6b17aacd8e
Prepare for release 0.6.0.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-10 22:06:57 +02:00
24aef813b3
rustfmt pass after split-jids merge
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-10 22:04:03 +02:00
c7132bee9b Merge branch 'split-jids' into 'master'
Split jids

See merge request xmpp-rs/jid-rs!14
2019-06-10 20:01:11 +00:00
Emmanuel Gil Peyrot
08af035eb1 Add contact list support 2019-06-01 18:02:41 +02:00
80bb6635a9 ns: add XEP-0277 microblog namespace
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-05-24 21:47:56 +02:00
Emmanuel Gil Peyrot
e6542fdb6b ibr: Ignore size tests, HashMap implementation changed and this added 16 bytes to every instance. 2019-05-09 16:21:28 +02:00
Astro
07304d7fee Merge branch 'contact-addr' into 'master'
Add "Contact Address for XMPP Services" (0157) example

See merge request xmpp-rs/tokio-xmpp!4
2019-04-28 14:28:35 +00:00
Astro
e75e6a1635 Merge branch 'download-avatars' into 'master'
Add a download_avatars example

See merge request xmpp-rs/tokio-xmpp!5
2019-04-28 14:27:15 +00:00
dabdc1db68 Fix rustdoc-args option for docs.rs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-22 12:50:19 +01:00
Emmanuel Gil Peyrot
e1bd0086f1 time, date: Add missing docs. 2019-04-22 13:33:29 +02:00
Emmanuel Gil Peyrot
2d7bf32ad4 Add a XEP-0202 implementation.
Fixes #7.
2019-04-22 13:22:24 +02:00
395d448027
Split Jid struct into BareJid and FullJid. Jid is now an enum
This will help with being able to enforce the usage of bare or full at
compile time. It is still possible to allow one or the other with the
`Jid` enum.

Thanks to O01eg (from xmpp-rs@muc.linkmauve.fr) for the help. This
commit also contains code from them.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-21 23:52:02 +01:00
Emmanuel Gil Peyrot
8db6b5602e Cargo.toml, ChangeLog: Release version 0.13.1. 2019-04-12 12:15:40 +02:00
Emmanuel Gil Peyrot
5bf14b0b22 Drop dependency on try_from.
This bumps the minimum supported stable Rust version to 1.34.

The TryFrom and TryInto traits are still reexported to not break the
API, but these reexports are deprecated and will be removed in a future
release.
2019-04-12 11:06:03 +02:00
Emmanuel Gil Peyrot
0d893edb69 avatar: Bump width/height to u16
This mirrors XEP revision 1.1.2, which made width and height
xs:unsignedShort instead of xs:unsignedByte, as per common usage.
2019-04-08 21:32:57 +02:00
Emmanuel Gil Peyrot
92386fc488 Hello world! 2019-03-21 18:43:27 +01:00