Commit graph

1586 commits

Author SHA1 Message Date
1ad3459968
Example: Add jxmpp Jid corpus parser
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-03-15 18:06:48 +01:00
216d9c4a8d
xmpp: rustfmt Message events commits
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-02-27 00:07:57 +01:00
f2a599325e
xmpp: Update changelog
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-02-26 20:14:35 +01:00
c759516508
xmpp: *Message events now include an optional id
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-02-26 20:09:20 +01:00
d7a1cd71a9
xmpp: Add ServiceMessage event
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-02-26 17:42:44 +01:00
8a823af56b
xmpp: Remove unnecessary features
Fixup for 826914da54

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-02-26 17:41:17 +01:00
2d5de00749
parsers: Update ChangeLog with feature change
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-16 15:06:35 +01:00
826914da54
parsers, tokio-xmpp: remove unnecessary jid feature alias
It can be done directly using `jid = { version = "*", features =
["stringprep"] }` even though jid is imported from another lib.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-15 21:44:27 +01:00
a91157aa80
jid: Add feature alias 'stringprep'
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-15 21:44:04 +01:00
6bfe707789
minidom: Release 0.15.1
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-15 20:46:25 +01:00
eb3a62eb7e minidom: clear warning in failure_with_duplicate_namespace test
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-15 18:48:21 +01:00
8977745fe3
Fixes #44: Two prefixes resolving to the same namespace
The new TreeBuilder addition seems to have fixed this bug. I added the
test that was provided in !108 by Oliver Inemar but not the rest of the
code.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-14 22:32:00 +01:00
93174f97ec
minidom: Allow passing prefixes alongside a reader
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-09 13:40:18 +01:00
Emmanuel Gil Peyrot
3992c1d4f4 xmpp-parsers: Use some more DOAP properties
Both the documentation and the logo are quite important.
2023-01-04 00:36:11 +01:00
Emmanuel Gil Peyrot
26be8e081f xmpp-parsers: Add the past few releases to the DOAP file 2023-01-04 00:28:21 +01:00
Emmanuel Gil Peyrot
3cfeb0065c xmpp-parsers: Update the DOAP file
The previous releases missed it, oops…
2023-01-04 00:28:21 +01:00
Emmanuel Gil Peyrot
60d6ed5414 xmpp-parsers: Bump base64 to 0.20 2023-01-04 00:23:27 +01:00
Michel Alexandre Salim
940f1bc295 Remove doc references to quick-xml, update CHANGELOG
`minidom` no longer uses it since !154. Also, CHANGELOG was not updated
for 0.15.0 and still referenced 0.14.0; take a stab at documenting what
has changed.

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-12-30 14:29:15 +00:00
Emmanuel Gil Peyrot
6bd407605b xmpp-parsers: Add Message Reactions (XEP-0444) support 2022-12-30 15:26:37 +01:00
a0e6054eb8 parsers: Update IETF URLs in documentation
sed -i -e 's/tools\.ietf\.org\/html/www\.rfc-editor\.org\/rfc/' src/**.rs

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-27 17:36:19 +01:00
afcf9fb2d0 parsers: correct cargo doc warnings
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-27 17:36:19 +01:00
200147b551 parsers: Update ChangeLog
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-27 17:36:19 +01:00
f4084bcc83 parsers: with_ helpers for muc::user::Item
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-27 17:36:19 +01:00
92819ccbed
xmpp-parsers: Release 0.19.2
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-17 21:21:37 +01:00
8fce273929
parsers: Update Changelog for real. And add 0.19.1 changes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-17 21:05:39 +01:00
aede544029
parsers: Update Changelog
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-17 12:19:29 +01:00
82ed8f4991
parsers/muc: Rephrase comment, s/he or she/they/
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-17 12:09:00 +01:00
f0139b4d88
parsers/muc/user: Add 333 status: Status::ServiceErrorKick
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-17 12:01:28 +01:00
f8cd3c4fff
parsers/muc/user: Add status code in docstrings
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-17 11:51:26 +01:00
4244dc2be1
parsers: Conditional on rustc version for test_size tests
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-16 20:30:17 +01:00
309b4cf87d parsers/presence: derive PartialEq on Presence
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-12-16 19:26:00 +01:00
b0e5ca0be8 Revert "parsers: Update test_size tests take 2"
This reverts commit f3e1160f6e.
It doesn't fail yet in stable.
2022-12-16 12:59:01 +01:00
6d98ad97cd
parsers: Change deprecated FixedOffset::{east,west} for *_opt
For the second call, the doc says that None is returned when secs is
out-of-bound. It looks like it should be alright to unwrap here

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-30 17:21:40 +01:00
f3e1160f6e
parsers: Update test_size tests take 2
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-30 16:39:24 +01:00
4795b2c628
parsers: Update test_size tests
Change certainly due to https://github.com/rust-lang/rust/pull/94075

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-09-30 16:32:18 +02:00
Emmanuel Gil Peyrot
ebd7df2dcf tokio-xmpp: Bump all dependencies
No code change was needed this time, it seems.
2022-09-20 21:17:26 +02:00
Emmanuel Gil Peyrot
e85b4260bd icu: Derive PartialEq and Eq
Also fixes a TODO about making comparisons better.
2022-09-20 19:15:51 +02:00
Emmanuel Gil Peyrot
4bfd85556d icu: Make Stringprep private and add helper functions
This makes the API easier to use.
2022-09-20 19:15:26 +02:00
Emmanuel Gil Peyrot
8d4ed296d0 icu: Make links in docstrings actual links
Thanks `cargo doc` for the helpful warnings!
2022-09-20 19:14:57 +02:00
70cba2279e tokio-xmpp: Automatically add id on send if not present
Based on Yuka's work in !149, but moved into tokio-xmpp instead of
xmpp-rs

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-09-16 18:06:51 +00:00
267ff2e817
CI: Replace manual rustfmt invocation with cargo fmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-09-16 20:01:21 +02:00
36e66a7ac4
CI: lint
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-09-16 20:00:55 +02:00
b6b0c5ee52
parsers: cargo fmt the last commit on parsers
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-09-16 19:57:44 +02:00
Emmanuel Gil Peyrot
6eb25755a3 WIP: Add ICU bindings for stringprep, idna2008 and spoof checker. 2022-09-16 11:10:52 +02:00
a425a039ca muc/user: impl PresencePayload for MucUser
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>


(cherry picked from commit 7e211619e3)
2022-09-15 09:52:24 +00:00
Astro
1613a1c667 tokio-xmpp: Release 3.2.0 2022-07-13 20:50:10 +02:00
Astro
947260a1ce xmpp-parsers: Releae 0.19.1 2022-07-13 20:50:10 +02:00
Astro
b6618ffa3d jid: Release 0.9.4 2022-07-13 20:50:10 +02:00
Astro
bd977a7733 minidom: Release 0.15.0 2022-07-13 20:50:10 +02:00
Jonas Schäfer
ea366c2334 Rip out quick-xml 2022-04-24 13:27:48 +02:00