Commit log

280ce6c Readd global LICENSE file

Click to expand commit body
Remove in 9c1654f59bf4d7164c60b0b523bb997bb2f2ed21 by mistake.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

89d92ce parsers: 0.17.0 release

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

c5a813f jid: 0.9.0 release

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

18d66ed jid: Update Changelog

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

043a0f2 parsers: Update Changelog

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

9c1654f parsers: remove trailing whitespace

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

6ee750b minidom: 0.12.0 release

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

3e7179c minidom: clarify/update changelog

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

9511247 minidom: add license headers

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

6c3332b Add LICENSE file (MPL2) as all projects have the same

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

676f861 minidom: Change license to MPL2. Closes #21

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

c8538c1 minidom: Make explicit the focus on XMPP

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

44eaa5a tokio-xmpp: Prevent XmppCodec from producing invalid stanza

Click to expand commit body
This bug was introduced by 2e97f4de2e44c64524bbe9990553627e7a47f805, to
fix another bug where the parser would choke on whitespace.

The bug would manifest whenever a stanza was sent in different parts,
for example:
<< "<message "
<< "type='chat><body>foo</body></message>"

Would produce the following once parsed:
`<messagetype='chat'><body>foo</body></messagetype='chat'>`

This commit ensures this doesn't happen anymore (by not trimming
whitespaces before feeding the parser), and also ensures that
whitespaces are now handled at the correct layer.

The removal of xmpp_codec::test_lone_whitespace only happens because I'm
not sure if it's supposed to be here anymore. Maybe it should be at a
different layer? Or written differently?

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

0377b56 parsers: Remove dead get_ns methods

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

fbb0edd parsers: cleanup warnings about errors and unused stuff

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

c224133 Add test for openpgp pubkey serialization

Paul Fariello created

13afbfd Add test for jingle udp transport serialization

Paul Fariello created

1432807 Add tests for cert management serialization

Paul Fariello created

34a87e2 Fix fmt

Paul Fariello created

8d24697 Add serialization test for sm failed element

Paul Fariello created

6b14b59 Add serialization test for pubsub publish-options and options element

Paul Fariello created

8010b5a Add serialization test for muc item element

Paul Fariello created

02e3f93 fixup! Add more test on Optionnal, Required children serialization

Paul Fariello created

ce49b91 Add serialization test for mam result and fin element

Paul Fariello created

e66a211 Add serialization test for forwaded element

Paul Fariello created

5da5795 Add serialization test for carbons forwarded elemt

Paul Fariello created

0d879eb Add more test on Optionnal, Required children serialization

Paul Fariello created

db9f7a7 tokio-xmpp: Add some ugly premature logging useful for debugging

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

7c15653 CI: Remove cache

Click to expand commit body
Gitlab.com's third-parti storage works half the time anyway, and it
takes 8min to build 3mn to get it back..

Maybe someday..

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

c53f4ef CI: Also include cargo files in cache

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

c820645 parsers: fix tests indentation with minidom PartialEq changes

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

e62e870 minidom: strictly compare whitespace in Element's PartialEq impl

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

c9e6e3d minidom: Handle Node::Comment in PartialEq

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

fd2bd24 tokio-xmpp: changer .into_iter to .iter to avoid ambiguity

Click to expand commit body
Follow compiler warnings. See
https://github.com/rust-lang/rust/issues/66145

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

658c30f examples: Add blake2b and simplify names.

Emmanuel Gil Peyrot created

0d01918 examples: Remove all unwrap()s.

Emmanuel Gil Peyrot created

0d58b56 ecaps2: Use the Error type instead of () or String.

Emmanuel Gil Peyrot created

473aaa0 Merge branch 'fix-serialization' into 'master'

Click to expand commit body
parsers: Fix serialization

See merge request xmpp-rs/xmpp-rs!42

Maxime Buquet created

3c92f84 pubsub: Add serialization test for configure element

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

689b7cf Fix serialisation of Optional field

Paul Fariello created

3a20274 mam: Fix test on serialisation

Paul Fariello created

8d41959 jingle: Add test on serialisation

Paul Fariello created

1c5551a minidom: Implement PartialEq manually for Node and Element

Click to expand commit body
Move the NamespaceAwareCompare implementation from xmpp-parsers as Node
and Element's PartialEq implementation. Thanks Astro!

It's a lot more useful in tests to use `assert_eq!` than `assert!`, so
we get both items compared (left and right) instead of a "it failed."
message.

This "breaks" comparison for these two structs in the sense that it is
not strict object comparison anymore but it ensures that namespaces are
all present in the compared objects.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

ea6e7c2 Merge branch 'more-ns-choice' into 'master'

Click to expand commit body
minidom: Use NSChoice in more places

See merge request xmpp-rs/xmpp-rs!40

Maxime Buquet created

219b0bb minidom: Use NSChoice in more places

Xidorn Quan created

c4c285d Merge branch 'mam-serialize' into 'master'

Click to expand commit body
parsers/mam: add ignored failing test for serialization

See merge request xmpp-rs/xmpp-rs!38

Maxime Buquet created

f3a1871 parsers/mam: add ignored failing test for serialization

Click to expand commit body
Add failing test for #20. Thanks Paul.
Now that needs fixing..

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

141d11a minidom: Don't prepend xml prelude in writer. Add new API

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

8042d6e minidom: Move compare_ns out of NamespaceSet into NSChoice

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

28faee8 minidom: rustfmt latest commit

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created