Commit graph

27 commits

Author SHA1 Message Date
Kristoffer Andersson
5a1ef42369 fix: make eq num nodes is unequal
fixes #99
2023-09-05 14:19:35 +02:00
7064ef5c17 minidom/examples: silence warning on unused property in struct
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-06-01 16:25:38 +02:00
Emmanuel Gil Peyrot
0d0335898d minidom: Release 0.15.2
This finally fixes the memory corruption on closing tag for elements
with a name longer than 24 bytes.
2023-05-13 12:28:11 +02:00
Emmanuel Gil Peyrot
eb628704c0 minidom: Bump rxml
This was causing a memory corruption on closing tags for elements with a
name longer than 24 bytes.  I haven’t investigated why smartstring < 1
had this bug, but it got fixed in 1.0.0 so let’s use that.
2023-04-03 11:28:41 +02: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
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
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
Astro
568a7c2611 minidom: remove unused parser module 2022-04-19 20:45:44 +02:00
Astro
d4a5a8247b minidom, tokio-xmpp: switch xml parsing to rxml 2022-04-19 20:42:30 +02:00
281f1bd195 minidom: un-ignore doctest in lib.rs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-22 17:12:54 +01:00
Emmanuel Gil Peyrot
07ff66d1cc minidom: Release 0.14.0 2022-03-07 12:08:12 +01:00
Bastien Orivel
56363714fb Update quick-xml to 0.22 and bump version 2021-12-28 16:04:12 +00:00
Emmanuel Gil Peyrot
7ddf5e5c33 minidom: Replace IPv4 test with IPv6
This makes the tests pass again on nightly, and avoids using legacy IP
while we have glorious IPv6 support everywhere nowadays.

See also https://github.com/rust-lang/rust/issues/90199
2021-12-01 18:21:34 +01:00
16292e1e6f
minidom: specify again that we handle XMPP primarily
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-11-14 14:32:19 +01:00
Emmanuel Gil Peyrot
4e914e5d3a minidom: Fix some issues reported by clippy 2021-10-11 16:17:09 +02:00
Jasper Hugo
ebf1091cf1 Handle identical namespaces of sibling elements correctly
Fixes #48
2021-10-11 06:34:14 +00:00
Paul Fariello
204b1f38eb Fix Element::ns() doc 2021-10-06 18:47:46 +02:00
Tobias Bieniek
1ef8b5428b CHANGELOG: Add missing line breaks
Without these line breaks the changelog is rendered incorrectly
2021-07-31 09:11:48 +00:00
Emmanuel Gil Peyrot
aaacb2ecf3 minidom: Release 0.13.0
0.12.1 is to be yanked, it contained breaking changes.
2021-01-13 11:46:05 +01:00
Emmanuel Gil Peyrot
e2cf83ab13 minidom: Release 0.12.1 2021-01-13 00:32:53 +01:00
Emmanuel Gil Peyrot
7d19101e6e Bump outdated dependencies in minidom and xmpp-parsers. 2020-11-13 19:01:16 +01:00
b85aa29377
Finish removing 'rs' suffix in libs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-07-15 10:49:50 +02:00
Emmanuel Gil Peyrot
714d850e69 Remove the -rs suffix of jid, minidom and xmpp
We know those are Rust libraries, no need to add it to the path.  This
synchronises their directory with the crate name, hopefully reducing
confusion.
2020-06-22 02:17:32 +02:00