Emmanuel Gil Peyrot
7b6d444f03
delay: Use Jid for from attribute.
2017-05-01 01:50:18 +01:00
Emmanuel Gil Peyrot
ed458ba694
Add a ChangeLog file, to let users know about the changes between major versions.
2017-05-01 01:39:52 +01:00
Emmanuel Gil Peyrot
f3b55350ad
iq: Wire up stanza_error.
2017-05-01 01:23:56 +01:00
Emmanuel Gil Peyrot
42abbe2927
message: Wire up stanza_error.
2017-05-01 01:04:15 +01:00
Emmanuel Gil Peyrot
3dd0eb3a9b
presence: Wire up stanza_error.
2017-05-01 01:02:35 +01:00
Emmanuel Gil Peyrot
2465885975
Add a stanza error parser and serialiser.
2017-05-01 01:24:45 +01:00
Emmanuel Gil Peyrot
c13cebf025
Implement the Debug trait in a more user-friendly way.
2017-05-01 00:00:12 +01:00
Emmanuel Gil Peyrot
875b95bdc9
Reexport ElementEmitter from the lib.
2017-04-30 23:46:29 +01:00
Emmanuel Gil Peyrot
e03a5a89e7
presence: Prevent two statuses from having the same lang.
2017-04-30 22:45:39 +01:00
Emmanuel Gil Peyrot
0abac5ad2d
presence: Make statuses addressable by their xml:lang.
2017-04-30 22:07:32 +01:00
Emmanuel Gil Peyrot
1909ae33dc
presence: make show, statuses and priority first-class elements.
2017-04-30 22:00:29 +01:00
Emmanuel Gil Peyrot
0288b937df
Simplify the Display implementation.
2017-04-30 21:44:02 +01:00
Emmanuel Gil Peyrot
21398447e7
presence: Implement priority parsing.
2017-04-30 21:29:55 +01:00
Emmanuel Gil Peyrot
4ec3898c2f
presence: Implement show parsing.
2017-04-30 21:03:04 +01:00
Emmanuel Gil Peyrot
0e20810a83
status, presence: Merge status into presence.
2017-04-30 20:33:53 +01:00
lumi
1d53007a99
Merge branch 'update_deps' into 'master'
...
Update dep jid-rs and minidom-rs
See merge request !4
2017-04-30 18:29:46 +00:00
Maxime “pep” Buquet
ee2f311447
Update dep jid-rs to 0.2.0
2017-04-30 17:51:44 +01:00
Maxime “pep” Buquet
92969154b4
Update dep minidom-rs to 0.2.0
2017-04-30 17:44:07 +01:00
lumi
1f7c61e0d6
Merge branch 'xml-rs-0.4.1' into 'master'
...
Bump xml-rs dependency to 0.4.1
See merge request !5
2017-04-30 14:05:28 +00:00
lumi
1b1e2fa86a
Merge branch 'use_btreemap_for_attributes' into 'master'
...
Use a BTreeMap<String, String> instead of a Vec<Attribute> to store attributes
Closes #4
See merge request !4
2017-04-30 14:00:05 +00:00
Emmanuel Gil Peyrot
4b90c1dc1f
data_forms, disco, jingle, jingle_ft: Remove superfluous “extern crate”.
2017-04-29 22:10:38 +01:00
Emmanuel Gil Peyrot
407e4cceb4
License the project under MPL-2.0.
2017-04-29 22:14:34 +01:00
Emmanuel Gil Peyrot
6f2ee2f0ad
Cargo.toml: Add some metadata.
2017-04-29 21:41:18 +01:00
Emmanuel Gil Peyrot
7750aae5b5
presence, message, jingle_ft: Remove unneeded println!().
2017-04-29 06:57:20 +01:00
Emmanuel Gil Peyrot
61efeb827f
forwarding: Remove unused imports.
2017-04-29 06:50:57 +01:00
Emmanuel Gil Peyrot
eecb47f4ed
mam: Add tests.
2017-04-29 06:41:55 +01:00
Emmanuel Gil Peyrot
0b2d46aa3a
Add a MAM parser and serialiser.
2017-04-29 06:07:00 +01:00
Emmanuel Gil Peyrot
7cd4a49011
error: Add JidParseError.
2017-04-29 06:06:41 +01:00
Emmanuel Gil Peyrot
72a6eee2fd
Add a RSM parser and serialiser.
2017-04-29 04:37:18 +01:00
Emmanuel Gil Peyrot
0f92a11894
Add a forwarding parser and serialiser.
2017-04-29 03:50:49 +01:00
Emmanuel Gil Peyrot
d824a161b6
message: Implement IntoElements.
2017-04-29 03:50:20 +01:00
Emmanuel Gil Peyrot
4dc585f1c9
delay: Implement IntoElements.
2017-04-29 03:50:02 +01:00
Emmanuel Gil Peyrot
8b964df645
Add a stanza-id parser and serialiser.
2017-04-29 03:23:50 +01:00
Emmanuel Gil Peyrot
b09c57ec72
ecaps2: Move hashing crates to the main library.
2017-04-29 01:31:39 +01:00
Emmanuel Gil Peyrot
45b38bcef9
iq: Wire up the IBB parser and serialiser.
2017-04-29 01:06:12 +01:00
Emmanuel Gil Peyrot
846148d618
ibb: Fix serialisation of <data/> data.
2017-04-28 23:46:32 +01:00
Emmanuel Gil Peyrot
5e4ba2701b
iq: Wire up the Jingle parser and serialiser.
2017-04-28 23:46:06 +01:00
Emmanuel Gil Peyrot
4fb4727357
jingle: Remove extraneous println!.
2017-04-28 23:45:43 +01:00
Emmanuel Gil Peyrot
10a336f874
jingle: Accept any unknown child, as per the specification.
2017-04-28 23:45:27 +01:00
Emmanuel Gil Peyrot
c20d37a842
jingle: Add serialisation for <reason/>.
2017-04-28 23:45:02 +01:00
Emmanuel Gil Peyrot
de93c32cb5
jingle_ft: Add a received parser.
2017-04-28 23:43:47 +01:00
Emmanuel Gil Peyrot
eeb9b36620
jingle_ft: Make Creator into an enum, instead of a String.
2017-04-28 23:43:24 +01:00
Emmanuel Gil Peyrot
9f6eea06ce
ns: Fix the hashes text-names namespaces.
2017-04-28 23:42:50 +01:00
Emmanuel Gil Peyrot
fe3300b4b0
jingle_ft: Add the forgotten desc element.
2017-04-28 23:42:27 +01:00
Emmanuel Gil Peyrot
30a596cb26
ibb: Implement serialise.
2017-04-27 19:05:51 +01:00
Emmanuel Gil Peyrot
6a48a6bf00
ecaps2, error: Update to base64 0.5.
2017-04-27 18:33:02 +01:00
Emmanuel Gil Peyrot
154afda327
Bump xml-rs dependency to 0.4.1.
2017-04-27 17:42:00 +01:00
Bastien Orivel
f87e2442d4
Use a BTreeMap<String, String> instead of a Vec<Attribute> to store attributes
...
This way we don't need to reimplement PartialEq for Element. It's also
way easier to get an attribute by name as we don't need to iterate over
every attribute to see if it exists.
The only side effect is that now, in the Debug output, attributes are
automatically sorted by names instead of being sorted by insertion
order.
Fixes #4
2017-04-26 23:44:58 +02:00
lumi
2aef4aacb8
linewrap license
2017-04-26 01:26:29 +02:00
Emmanuel Gil Peyrot
5d51dff9e6
disco: Bump minidom dependency to 0.2.0, which fixes xml:lang parsing.
2017-04-26 00:22:40 +01:00