Commit graph

65 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
eaa63fbe46 xmpp-parsers/jingle_rtp: Update to 1.2.0, adding rtcp-mux.
The presence of this element signals the ability to multiplex RTP Data
and Control Packets on a single socket.
2021-01-12 17:05:38 +01:00
Paul Fariello
e921168380 Fix bookamrks2 empty extensions field handling 2021-01-05 08:37:05 +01:00
Paul Fariello
20a94117d3 Handle extensions element in bookmarks2 2021-01-05 08:37:05 +01:00
Paul Fariello
76db2ae117 Update bookmarks2 NS to urn:xmpp:bookmarks:1 2021-01-05 08:37:05 +01:00
Emmanuel Gil Peyrot
2f570fcabe xmpp-parsers/caps: Simplify get_hash_vec(). 2020-12-25 16:13:27 +00:00
Emmanuel Gil Peyrot
f085b1cbf8 xmpp-parsers/hashes: Simplify to_*_hex() functions. 2020-12-25 16:13:27 +00:00
Emmanuel Gil Peyrot
f34897b198 xmpp-parsers: Prefer Bare/FromJid::new to FromStr::from_str. 2020-12-10 21:13:55 +01:00
Emmanuel Gil Peyrot
71b995731a xmpp-parsers/mam: Use .is_empty() instead of Vec’s PartialEq. 2020-12-10 20:45:01 +01:00
Emmanuel Gil Peyrot
63d940b339 xmpp-parsers/blocking: Use .is_empty() instead of Vec’s PartialEq. 2020-12-10 20:37:06 +01:00
Emmanuel Gil Peyrot
7d19101e6e Bump outdated dependencies in minidom and xmpp-parsers. 2020-11-13 19:01:16 +01:00
Emmanuel Gil Peyrot
0c0be96ec4 xmpp-parsers/bookmarks: Make @name actually optional
No idea why these two attribute got considered required, maybe a wrong
read of the spec.
2020-10-30 10:38:28 +00:00
Paul Fariello
3a73ce3fd4 Make date::DateTime inner chrono::DateTime public 2020-10-30 08:36:47 +01:00
Emmanuel Gil Peyrot
c25e87b04f xmpp-parsers: Fix the size tests on AArch64 and amd64
These two changes were caused by the HashMap implementation having been
switched to hashbrown, and thus using less memory and being faster.
2020-10-29 18:39:48 +01:00
Emmanuel Gil Peyrot
5cd7d5fe57 xmpp-parsers: Fix size tests on AArch32 2020-10-29 18:39:22 +01:00
Emmanuel Gil Peyrot
db86aa9d5a xmpp-parsers: Bump RustCrypto crates 2020-07-29 11:07:28 +00:00
Astro
1a06a09774 xmpp-parsers: add ns::TLS 2020-05-30 01:14:29 +02:00
597f5a3ccb
Update Changelogs re jid / serde
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-07 21:39:37 +02:00
36aaa3e681
jid: Add serde support behind feature
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-30 23:24:48 +02:00
47ab4446d1
parsers: remove unused imports
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-22 00:02:54 +02:00
fd158d9a08 parsers: rustfmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-21 22:23:36 +02:00
6308250c17 parsers: update for minidom API changes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-21 22:23:36 +02:00
0b680a18e5
parsers: Fix jingle and jingle_rtp test_size for 32bit
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-05 19:05:12 +02:00
Emmanuel Gil Peyrot
9737194b5e xmpp-parsers: Add MIX to the supported XEPs. 2020-03-27 19:19:43 +01:00
Emmanuel Gil Peyrot
048e49f786 xmpp-parsers: Add a MIX serialisation test. 2020-03-27 19:19:43 +01:00
Emmanuel Gil Peyrot
820fbbf08e xmpp-parsers: Add helper constructors for MIX. 2020-03-27 19:19:43 +01:00
Emmanuel Gil Peyrot
ad4c1f5b15 xmpp-parsers: Add a MIX parser. 2020-03-27 19:19:07 +01:00
015d0007fc
minidom: Remove comments support. Forbid them as per XMPP RFC.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-26 20:50:30 +01:00
Emmanuel Gil Peyrot
c154593fe5 Bump dependencies 2020-03-26 18:28:50 +01:00
Emmanuel Gil Peyrot
04df9fde63 xmpp-parsers: Bump base64 to 0.11. 2020-02-28 01:28:57 +01:00
89d92ced73 parsers: 0.17.0 release
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-15 02:27:26 +01:00
c5a813f6c5 jid: 0.9.0 release
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-15 02:27:26 +01:00
043a0f257b
parsers: Update Changelog
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-15 01:50:09 +01:00
9c1654f59b
parsers: remove trailing whitespace
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-15 01:48:52 +01:00
6ee750ba11
minidom: 0.12.0 release
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-15 01:05:56 +01:00
0377b5658a parsers: Remove dead get_ns methods
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-22 00:50:56 +01:00
fbb0edd93b parsers: cleanup warnings about errors and unused stuff
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-01-22 00:50:56 +01:00
Paul Fariello
c224133382 Add test for openpgp pubkey serialization 2020-01-21 17:23:08 +01:00
Paul Fariello
13afbfd099 Add test for jingle udp transport serialization 2020-01-21 16:59:22 +01:00
Paul Fariello
1432807f11 Add tests for cert management serialization 2020-01-21 16:53:56 +01:00
Paul Fariello
34a87e22a8 Fix fmt 2019-12-30 11:28:52 +01:00
Paul Fariello
8d246975d7 Add serialization test for sm failed element 2019-12-30 11:20:37 +01:00
Paul Fariello
6b14b593d3 Add serialization test for pubsub publish-options and options element 2019-12-30 11:20:37 +01:00
Paul Fariello
8010b5a1e5 Add serialization test for muc item element 2019-12-30 11:20:37 +01:00
Paul Fariello
02e3f93caa fixup! Add more test on Optionnal, Required children serialization 2019-12-30 11:20:37 +01:00
Paul Fariello
ce49b918c6 Add serialization test for mam result and fin element 2019-12-30 11:20:37 +01:00
Paul Fariello
e66a21176a Add serialization test for forwaded element 2019-12-30 11:20:37 +01:00
Paul Fariello
5da5795286 Add serialization test for carbons forwarded elemt 2019-12-30 11:20:37 +01:00
Paul Fariello
0d879eb231 Add more test on Optionnal, Required children serialization 2019-12-30 11:20:37 +01:00
c8206455f1 parsers: fix tests indentation with minidom PartialEq changes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-08 11:03:01 +00:00
Emmanuel Gil Peyrot
658c30fba6 examples: Add blake2b and simplify names. 2019-12-01 17:16:46 +01:00