Commit log

6f0e88b Correctly add namespaced attributes to elements

Click to expand commit body
Instead of adding the local_name of an attribute, if a prefix exists,
add prefix:local_name to allow users to retrieve it via the namespaced
key name.

For example, with this XML:
```
<?xml version="1.0" encoding="utf-8"?>
<root xml:lang="en" >
</root>
```

`root.attr("xml:lang").unwrap()` will now correctly return "en".
`root.attr("lang")` will not retrieve "xml:lang" value anymore.

This is a breaking change.

Fixes #2

Eijebong created

c462d23 ping, iq: Implement ping::serialise_ping and link to Iq.

Maxime “pep” Buquet created

b259ab9 iq: Link disco parser to Iq.

Maxime “pep” Buquet created

04af2f3 Implement Iq stanzas parsing

Maxime “pep” Buquet created

944cb39 presence: Add status as a possible payload.

Emmanuel Gil Peyrot created

93343f3 Add a status parser.

Emmanuel Gil Peyrot created

948b54d ecaps2: Implement blake2b.

Emmanuel Gil Peyrot created

2c95fd6 presence: Add ecaps2 as a possible payload.

Emmanuel Gil Peyrot created

429abb9 ecaps2: Implement serialise.

Emmanuel Gil Peyrot created

20949c2 hashes: Implement serialise.

Emmanuel Gil Peyrot created

78e8a06 Add a presence parser.

Emmanuel Gil Peyrot created

6a56918 ns: Add the namespaces of hashes functions we implement.

Emmanuel Gil Peyrot created

5e802b4 Cargo.toml: Update the jid crate to 0.2.0, which implements From<JID> on String.

Emmanuel Gil Peyrot created

90c4aec Bump the version number up to 0.2.0.

lumi created

bbde011 Add a note about not supporting RFC7622 yet.

lumi created

1f592e1 Merge branch 'from-str' into 'master'

Click to expand commit body
implement From<Jid> on String

See merge request !1

lumi created

c815097 lib, message, jingle_ft: Remove unused imports.

Emmanuel Gil Peyrot created

5e7ad72 Add a message parser, along with a dependency on jid.

Emmanuel Gil Peyrot created

0d2fda8 implement From<Jid> on String

Emmanuel Gil Peyrot created

15634b6 ping: Remove extraneous brackets.

Emmanuel Gil Peyrot created

16a6ebd ibb: Simplify the FromStr using match.

Emmanuel Gil Peyrot created

659eaee data_forms: Simplify the FromStr using match.

Emmanuel Gil Peyrot created

90db24e jingle: Simplify the FromStr using match.

Emmanuel Gil Peyrot created

7e964b1 message_correct: Add a serialise function, and simplify the representation.

Emmanuel Gil Peyrot created

4128c4b chatstates: Add a serialise function.

Emmanuel Gil Peyrot created

7002578 body: Test the serialise function.

Emmanuel Gil Peyrot created

cebccb3 eme: Add a serialise function.

Emmanuel Gil Peyrot created

c603619 delay: Add a serialise function.

Emmanuel Gil Peyrot created

ab841dc receipts: Add a serialise function.

Emmanuel Gil Peyrot created

54f4040 attention: Simplify the payload type, and add a serialise function.

Emmanuel Gil Peyrot created

ca6e65a body: Add a serialise function.

Emmanuel Gil Peyrot created

6d6ac8a body: Simplify the type of Body to an alias of String.

Emmanuel Gil Peyrot created

24d563f jingle: Carry the minidom Element for description, transport and security.

Emmanuel Gil Peyrot created

ff5be32 Add a JingleIBB parser.

Emmanuel Gil Peyrot created

22ec4b1 ibb: Improve handling of optional stanza attribute.

Emmanuel Gil Peyrot created

fbb6094 Add a JingleFT parser.

Emmanuel Gil Peyrot created

000e5a5 error: Add ParseIntError to the possible errors.

Emmanuel Gil Peyrot created

edc5961 hashes: Implement PartialEq on Hash.

Emmanuel Gil Peyrot created

0778cee jingle: Remove extraneous println!().

Emmanuel Gil Peyrot created

e1070a8 ecaps2: Add a parser too.

Emmanuel Gil Peyrot created

ea2ff8a Add a hash parser.

Emmanuel Gil Peyrot created

d39d13b delay: Correctly parse the content data.

Emmanuel Gil Peyrot created

cfadff3 Add a Delayed Delivery parser.

Emmanuel Gil Peyrot created

a680ab1 Add an Explicit Message Encryption parser.

Emmanuel Gil Peyrot created

94380fd ibb: Add some more tests.

Emmanuel Gil Peyrot created

189f17c ibb: Add a parser for the <close/> element.

Emmanuel Gil Peyrot created

fb373c2 ibb: Add a parser for the <data/> element.

Emmanuel Gil Peyrot created

6ba22a4 lib: Import base64 at the top-level, and not in a module.

Emmanuel Gil Peyrot created

8fba5cf Add a Last Message Correction parser.

Emmanuel Gil Peyrot created

9410b96 lib: Export attention as a MessagePayload.

Emmanuel Gil Peyrot created