Commit log

d867d8d jid: Replace icu with stringprep

Click to expand commit body
This dependency is unmaintained, but it is written in pure Rust unlike
ICU, and doesn’t require a roundtrip through UTF-16, improving both
performances (perhaps?) and ease of compilation.

Emmanuel Gil Peyrot created

a7dee0b jid: Test for the size of our structs

Click to expand commit body
This shows how big JIDs are represented on the stack and in other
structs.

Emmanuel Gil Peyrot created

1733513 tokio-xmpp: Add syntax highlighting to debug logs

Click to expand commit body
This uses syntect, and has been checked to have zero overhead when it is
disabled.

Emmanuel Gil Peyrot created

99f3811 tokio-xmpp: Add debug for chosen DNS method

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

Maxime “pep” Buquet created

f9d4419 parsers: Document new MucUser helpers

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

Maxime “pep” Buquet created

9fa8a9f parsers: Rename MucUser::with_status to with_statuses

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

Maxime “pep” Buquet created

552848b xmpp: Revert part of 9c39e3 and fix code at the right place

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

Maxime “pep” Buquet created

d52ace5 xmpp: add MucUser payload in send_room_private_message Messages

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

Maxime “pep” Buquet created

b8ba74e parser: Add helpers on MucUser

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

Maxime “pep” Buquet created

9c39e3c Event::RoomPrivateMessage does not expose sender FullJid ; add Agent::send_room_private_message method

xmppftw created

6144a4c Event::RoomPrivateMessage for MUC PMs (#85)

xmppftw created

4701f6b jid: Rename Error::IcuError into Error::Stringprep

Click to expand commit body
Avoir the "Error Error" pattern, and also use Stringprep instead of ICU

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

Maxime “pep” Buquet created

2cafecb JID stringprep errors return a JidParseError instead of panic (#84)

xmppftw created

d0ec873 parsers: impl MessagePayload for MucUser

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

Maxime “pep” Buquet created

6cd4add parsers: Add with_payload/with_payloads helpers on Message

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

Maxime “pep” Buquet created

c8dcf5e Fix expected struct sizes for nightly optimizations (no more CI warnings)

xmppftw created

099b735 Include libicu-dev in CI images

xmppftw created

a74eeb2 CI: Lighter docker images

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

Maxime “pep” Buquet created

3ac741d RUST_LOG=debug can now be used in tokio-xmpp examples to see XMPP network traffic

xmppftw created

ae67949 tokio-xmpp: Ensure id is added only to stanza

Click to expand commit body
The previous commit didn't fix a bug where @id would be added to
elements that didn't need it / where it was invalid (e.g., stream
management).

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

Maxime “pep” Buquet created

bc73af1 tokio-xmpp: @id wasn't correctly added to every stanza

Click to expand commit body
This commit moves the code adding @id to AsyncClient and SimpleClient,
instead of on the lower level send_stanza helper, which seemed to only
be used internally.

Support is also added for Component.

This removes the addition of @id on elements like <auth/> or <bind/>,
which probably weren't required anyway?

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

Maxime “pep” Buquet created

6fa6ded Message now has constructors for each type, and a with_body builder method (#78)

xmppftw created

512c1d1 Presence now has constructors for each type variant, and a with_payload builder method (closes #79)

xmppftw created

72ddb8b xmpp: Update Changelog to mention ClientBuilder::new signature change

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

Maxime “pep” Buquet created

209bab1 tokio_xmpp::AsyncClient and xmpp::Agent take a fully parsed Jid (#72)

xmppftw created

7064ef5 minidom/examples: silence warning on unused property in struct

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

Maxime “pep” Buquet created

aafe341 Agent is now Send (closes #64)

xmppftw created

1870a83 tokio-xmpp: cleaner outgoing debug logs

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

Maxime “pep” Buquet created

5256575 tokio-xmpp: Add debug prints for incoming packets

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

Maxime “pep” Buquet created

e8a7d90 parsers: derive PartialEq on Iq too

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

Maxime “pep” Buquet created

8d9288f Implement From<&Jid> for String (close #69)

xmppftw created

ce255d9 Jid (de)serialization now uses untagged representation (close #66)

xmppftw created

8c18eee Bump version to 0.4.0

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

Maxime “pep” Buquet created

943a0af tokio-xmpp: Bump version to 3.3.0

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

Maxime “pep” Buquet created

5d62fc2 xmpp: Update homepage url

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

Maxime “pep” Buquet created

48d5e19 xmpp: Update changelog

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

Maxime “pep” Buquet created

663b73f xmpp: Remove more useless features

Click to expand commit body
They can be added directly via tokio-xmpp

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

Maxime “pep” Buquet created

ad5806a xmpp: ensure cargo fetches 3.x updates for tokio-xmpp

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

Maxime “pep” Buquet created

209c5b7 Fix bug where ContactAdded event was not firing due to a bad if statement.

Doggo created

88ab74c Set tokio_xmpp::client::async_client::Config as public

Paul Fariello created

0d03358 minidom: Release 0.15.2

Click to expand commit body
This finally fixes the memory corruption on closing tag for elements
with a name longer than 24 bytes.

Emmanuel Gil Peyrot created

58f6d54 Bump tokio-xmpp and xmpp dependencies

Click to expand commit body
It still builds and tests pass without any other change.

Emmanuel Gil Peyrot created

2955a0f parsers: Bump base64

Click to expand commit body
Version 0.21 replaced base64::decode() with an Engine trait and multiple
structs implementing it for various alphabets, various performance
profiles, etc.  It is slightly longer to import but in the end does the
very same thing.

Emmanuel Gil Peyrot created

3ad6169 parsers: Replace sha-1 with sha1

Click to expand commit body
It is the same crate now.

Emmanuel Gil Peyrot created

eb62870 minidom: Bump rxml

Click to expand commit body
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.

Emmanuel Gil Peyrot created

216d9c4 xmpp: rustfmt Message events commits

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

Maxime “pep” Buquet created

f2a5993 xmpp: Update changelog

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

Maxime “pep” Buquet created

c759516 xmpp: *Message events now include an optional id

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

Maxime “pep” Buquet created

d7a1cd7 xmpp: Add ServiceMessage event

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

Maxime “pep” Buquet created

8a823af xmpp: Remove unnecessary features

Click to expand commit body
Fixup for 826914da5431ea04d6b4b67b3e00a20f301ed3d5

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

Maxime “pep” Buquet created