Commit graph

91 commits

Author SHA1 Message Date
5a6a1d7c97
Prepare for merge: Move all jid-rs files into jid-rs/
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-18 14:23:21 +02:00
176166b60a
Ensure Jid is Hash-able
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-16 01:23:21 +02:00
147d07832e
Prepare for 0.8 release
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-15 22:35:46 +02:00
d5f6c181af
CI: Refactor: split jobs, add tests, and caching
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 03:27:28 +02:00
Emmanuel Gil Peyrot
59e0e75d69 Prepare for 0.7.2 release. 2019-09-13 00:44:43 +02:00
b4f2515fb5 Merge branch 'moar-jid-helpers' into 'master'
Add more helpers on Jid to convert to Bare/FullJid

See merge request xmpp-rs/jid-rs!20
2019-09-08 21:29:53 +00:00
0138a62957 Add more helpers on Jid to convert to Bare/FullJid
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-08 23:25:06 +02:00
Emmanuel Gil Peyrot
1638288644 Reimplement std::error::Error for Error.
It was removed with the removal of failure, but like in minidom (#18) it
was probably used by people, so let’s reintroduce it.
2019-09-07 16:08:53 +02:00
Emmanuel Gil Peyrot
b244a21e1a Prepare for 0.7.1 release. 2019-09-06 11:39:03 +02:00
e2f9bdbf1b Merge branch 'no-failure' into 'master'
Remove failure

See merge request xmpp-rs/jid-rs!19
2019-09-05 19:21:27 +00:00
Emmanuel Gil Peyrot
cba7a31ea0 Remove failure. 2019-09-05 19:46:13 +02:00
d5789ea1d1 Merge branch 'master' into 'master'
Impl Display for Jid

See merge request xmpp-rs/jid-rs!18
2019-08-31 13:17:51 +00:00
Randy von der Weide
56986a68e4 Impl Display for Jid 2019-08-31 13:17:51 +00: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
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
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
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
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
1f260cfe86 Prepare for release 0.5.3. 2019-01-16 13:27:54 +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
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
lumi
46b7ce9603 Prepare for release 0.5.2. 2018-07-31 22:22:00 +02:00
Astro
0ae044b0d5 Bump minidom dependency to 0.9.1 2018-07-25 00:23:23 +02:00
Emmanuel Gil Peyrot
06afb5afed release version 0.5.1 2018-03-01 16:27:59 +01:00
Emmanuel Gil Peyrot
c45d1bf5ca simplify tests for invalid JIDs 2018-03-01 16:26:44 +01:00
Emmanuel Gil Peyrot
fd4a513779 implement Fail on JidParseError 2018-03-01 16:25:59 +01:00
Emmanuel Gil Peyrot
87d59181cb remove redundant test 2018-03-01 16:25:05 +01:00
Emmanuel Gil Peyrot
56b4657518 simplify Debug and Display implementations 2018-03-01 16:24:53 +01:00
lumi
0589b85f15 Merge branch 'tests' into 'master'
Add more error cases and corresponding tests, and bump minidom

See merge request xmpp-rs/jid-rs!12
2018-02-18 21:09:44 +00:00
Emmanuel Gil Peyrot
98ad44b511 release version 0.5.0 2018-02-18 21:38:07 +01:00
Emmanuel Gil Peyrot
c1fbfd2632 bump minidom dependency 2018-02-18 21:37:01 +01:00
Emmanuel Gil Peyrot
00f7d545aa add tests for errors 2018-02-18 21:36:36 +01:00
lumi
95b77c80ae Merge branch 'update-ci' into 'master'
Update docker image used in CI

See merge request xmpp-rs/jid-rs!11
2018-01-01 13:43:34 +00:00