Commit graph

1419 commits

Author SHA1 Message Date
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
Emmanuel Gil Peyrot
12265e9237 presence: Fix serialisation of priority. 2019-03-21 01:39:21 +01:00
Emmanuel Gil Peyrot
2e10ff8091 download_avatars: new example client 2019-03-20 20:14:22 +01:00
d04eb02d4c
Add "Contact Address for XMPP Services" (0157) example
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-20 18:47:31 +00:00
Emmanuel Gil Peyrot
63afd5d939 Bump xmpp-parsers to 0.13.
Fixes #4.
2019-03-20 19:27:10 +01:00
Emmanuel Gil Peyrot
98c4c5b901 Cargo.toml: Release version 0.13.0. 2019-03-20 19:19:27 +01:00
Emmanuel Gil Peyrot
d329a473d4 ChangeLog: Mention XEP-0157 support, thanks pep.! 2019-03-20 19:17:21 +01:00
Emmanuel Gil Peyrot
00e19012e5 server_info: Implement Default and use it. 2019-03-20 19:10:48 +01:00
Emmanuel Gil Peyrot
cbc787a9d4 server_info: Remove remaining FORM_TYPE handling.
Also reenables the test.
2019-03-20 19:10:48 +01:00
ba5a014de9 XEP-0157: Contact Addresses for XMPP Services.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-20 19:10:43 +01:00
107bd90a87 Change pep's email address
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-20 18:55:20 +01:00
Emmanuel Gil Peyrot
5057905650 ChangeLog: Add imminent 0.13.0 release. 2019-03-20 18:52:20 +01:00
Emmanuel Gil Peyrot
3e41442702 jingle_drls_srtp: Add missing #[cfg(test)] on mod test. 2019-03-20 17:48:37 +01:00
Astro
f7b02c210d Merge branch 'typo-fix' into 'master'
Fix a typo in documentation

See merge request xmpp-rs/tokio-xmpp!3
2019-03-12 00:32:56 +00:00
Voker57
11a45a1330 Fix a typo in documentation 2019-03-11 19:00:25 +00:00
lumi
efb283f6fe Merge branch 'nicer-debug' into 'master'
Implement a nicer Debug for NamespaceSet

See merge request lumi/minidom-rs!33
2019-03-06 14:27:47 +00:00
Emmanuel Gil Peyrot
41bcf2dce7 examples: Add a caps/ecaps2 generator. 2019-03-03 20:13:51 +01:00
Emmanuel Gil Peyrot
af8cf177ce ecaps2: Add a constructor. 2019-03-03 20:08:27 +01:00
Emmanuel Gil Peyrot
36d6169386 jingle_ice_udp: Add DTLS-SRTP support. 2019-02-28 13:54:54 +01:00
Emmanuel Gil Peyrot
429fc387b5 jingle_drls_srtp: Add a new parser and serialiser. 2019-02-28 13:33:18 +01:00
Emmanuel Gil Peyrot
7fc5dea4d6 jingle_ice_udp, jingle_rtp: Add a size test. 2019-02-28 03:47:04 +01:00
Emmanuel Gil Peyrot
5592c11745 jingle_ice_udp: Use an IpAddr for rel-addr too. 2019-02-28 03:36:04 +01:00
Emmanuel Gil Peyrot
ba875cfd2a jingle_rtp: Put Channel code into a macro, to generate it automatically. 2019-02-28 03:10:21 +01:00
Emmanuel Gil Peyrot
a62b184d54 stanza_error: Use a mutable struct first. 2019-02-28 02:54:13 +01:00
Emmanuel Gil Peyrot
fb4a3dcba8 stanza_error: Add missing attribute checks. 2019-02-28 02:48:50 +01:00
Emmanuel Gil Peyrot
4f64754bdc stanza_error: Simplify serialisation. 2019-02-28 02:44:31 +01:00
Emmanuel Gil Peyrot
2b9a6d57b6 jingle: Support more than one <text/> with different @xml:lang. 2019-02-28 02:40:53 +01:00
Emmanuel Gil Peyrot
b56582c8b5 disco: Use a macro for <identity/>. 2019-02-28 02:26:10 +01:00
Emmanuel Gil Peyrot
c4d867571e Also reexport TryInto from try_from. 2019-02-27 23:27:40 +01:00