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
8 years ago
c462d23
ping, iq: Implement ping::serialise_ping and link to Iq.
Maxime “pep” Buquet
created
8 years ago
b259ab9
iq: Link disco parser to Iq.
Maxime “pep” Buquet
created
8 years ago
04af2f3
Implement Iq stanzas parsing
Maxime “pep” Buquet
created
8 years ago
944cb39
presence: Add status as a possible payload.
Emmanuel Gil Peyrot
created
8 years ago
93343f3
Add a status parser.
Emmanuel Gil Peyrot
created
8 years ago
948b54d
ecaps2: Implement blake2b.
Emmanuel Gil Peyrot
created
8 years ago
2c95fd6
presence: Add ecaps2 as a possible payload.
Emmanuel Gil Peyrot
created
8 years ago
429abb9
ecaps2: Implement serialise.
Emmanuel Gil Peyrot
created
8 years ago
20949c2
hashes: Implement serialise.
Emmanuel Gil Peyrot
created
8 years ago
78e8a06
Add a presence parser.
Emmanuel Gil Peyrot
created
8 years ago
6a56918
ns: Add the namespaces of hashes functions we implement.
Emmanuel Gil Peyrot
created
8 years ago
5e802b4
Cargo.toml: Update the jid crate to 0.2.0, which implements From<JID> on String.
Emmanuel Gil Peyrot
created
8 years ago
90c4aec
Bump the version number up to 0.2.0.
lumi
created
8 years ago
bbde011
Add a note about not supporting RFC7622 yet.
lumi
created
8 years ago
1f592e1
Merge branch 'from-str' into 'master'
Click to expand commit body
implement From<Jid> on String
See merge request !1
lumi
created
8 years ago
c815097
lib, message, jingle_ft: Remove unused imports.
Emmanuel Gil Peyrot
created
8 years ago
5e7ad72
Add a message parser, along with a dependency on jid.
Emmanuel Gil Peyrot
created
8 years ago
0d2fda8
implement From<Jid> on String
Emmanuel Gil Peyrot
created
8 years ago
15634b6
ping: Remove extraneous brackets.
Emmanuel Gil Peyrot
created
8 years ago
16a6ebd
ibb: Simplify the FromStr using match.
Emmanuel Gil Peyrot
created
8 years ago
659eaee
data_forms: Simplify the FromStr using match.
Emmanuel Gil Peyrot
created
8 years ago
90db24e
jingle: Simplify the FromStr using match.
Emmanuel Gil Peyrot
created
8 years ago
7e964b1
message_correct: Add a serialise function, and simplify the representation.
Emmanuel Gil Peyrot
created
8 years ago
4128c4b
chatstates: Add a serialise function.
Emmanuel Gil Peyrot
created
8 years ago
7002578
body: Test the serialise function.
Emmanuel Gil Peyrot
created
8 years ago
cebccb3
eme: Add a serialise function.
Emmanuel Gil Peyrot
created
8 years ago
c603619
delay: Add a serialise function.
Emmanuel Gil Peyrot
created
8 years ago
ab841dc
receipts: Add a serialise function.
Emmanuel Gil Peyrot
created
8 years ago
54f4040
attention: Simplify the payload type, and add a serialise function.
Emmanuel Gil Peyrot
created
8 years ago
ca6e65a
body: Add a serialise function.
Emmanuel Gil Peyrot
created
8 years ago
6d6ac8a
body: Simplify the type of Body to an alias of String.
Emmanuel Gil Peyrot
created
8 years ago
24d563f
jingle: Carry the minidom Element for description, transport and security.
Emmanuel Gil Peyrot
created
8 years ago
ff5be32
Add a JingleIBB parser.
Emmanuel Gil Peyrot
created
8 years ago
22ec4b1
ibb: Improve handling of optional stanza attribute.
Emmanuel Gil Peyrot
created
8 years ago
fbb6094
Add a JingleFT parser.
Emmanuel Gil Peyrot
created
8 years ago
000e5a5
error: Add ParseIntError to the possible errors.
Emmanuel Gil Peyrot
created
8 years ago
edc5961
hashes: Implement PartialEq on Hash.
Emmanuel Gil Peyrot
created
8 years ago
0778cee
jingle: Remove extraneous println!().
Emmanuel Gil Peyrot
created
8 years ago
e1070a8
ecaps2: Add a parser too.
Emmanuel Gil Peyrot
created
8 years ago
ea2ff8a
Add a hash parser.
Emmanuel Gil Peyrot
created
8 years ago
d39d13b
delay: Correctly parse the content data.
Emmanuel Gil Peyrot
created
8 years ago
cfadff3
Add a Delayed Delivery parser.
Emmanuel Gil Peyrot
created
8 years ago
a680ab1
Add an Explicit Message Encryption parser.
Emmanuel Gil Peyrot
created
8 years ago
94380fd
ibb: Add some more tests.
Emmanuel Gil Peyrot
created
8 years ago
189f17c
ibb: Add a parser for the <close/> element.
Emmanuel Gil Peyrot
created
8 years ago
fb373c2
ibb: Add a parser for the <data/> element.
Emmanuel Gil Peyrot
created
8 years ago
6ba22a4
lib: Import base64 at the top-level, and not in a module.
Emmanuel Gil Peyrot
created
8 years ago
8fba5cf
Add a Last Message Correction parser.
Emmanuel Gil Peyrot
created
8 years ago
9410b96
lib: Export attention as a MessagePayload.
Emmanuel Gil Peyrot
created
8 years ago
Page 47 of 50