Commit graph

2113 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
b49ea5175d implement IntoElements on Into<Element> instead of Element 2017-08-27 01:36:18 +01:00
Emmanuel Gil Peyrot
f51fa15b68 jingle_ft: Add forgotten xml:lang support for <desc/>. 2017-08-27 01:22:15 +01:00
Emmanuel Gil Peyrot
833ef068c6 message: Fix wrong element for xml:lang. 2017-08-27 01:21:07 +01:00
Emmanuel Gil Peyrot
f69f567448 Use minidom 0.6.1’s Element::has_ns(), to simplify namespace comparisons. 2017-08-27 01:04:56 +01:00
Emmanuel Gil Peyrot
c853a1ff4b compare_elements: Add missing license notice. 2017-08-27 01:32:15 +01:00
Astro
58b5a84391 client: stream.poll_complete() for ease of use 2017-08-24 20:15:14 +02:00
Astro
a92e7a0ff7 update deps 2017-08-24 19:54:33 +02:00
lumi
e0124e50f6 bump minidom dependency to 0.6.1 2017-08-20 17:52:32 +02:00
lumi
30e6d7b47d woops, had to bump to 0.3.0, not 0.2.4 2017-08-20 17:50:42 +02:00
lumi
5d0e4721f6 update change log 2017-08-20 17:35:20 +02:00
lumi
501909c32d bump version to 0.6.1 2017-08-20 17:26:45 +02:00
lumi
c82f9b46f4 bump version 2017-08-20 17:20:09 +02:00
lumi
0a2308b941 Merge branch 'master' into 'master'
bump minidom dependency version

See merge request !7
2017-08-20 15:17:27 +00:00
lumi
87a19e5e58 Merge branch 'element_has_ns' into 'master'
add Element::has_ns(&self, NS)

See merge request !16
2017-08-20 15:03:14 +00:00
lumi
437973edf8 Merge branch 'break-value' into 'master'
Fix a FIXME, break value is now stable

See merge request !17
2017-08-20 15:02:19 +00:00
lumi
038133fb79 Merge branch 'bump-quick-xml' into 'master'
Update quick-xml to its latest version

See merge request !18
2017-08-20 15:01:35 +00:00
Emmanuel Gil Peyrot
fb4e802999 update quick-xml to its latest version 2017-08-19 20:26:41 +01:00
Emmanuel Gil Peyrot
89ab8d9aca fix a FIXME, break value is now stable 2017-08-19 00:34:44 +01:00
Astro
8af3e50311 add Element::has_ns(&self, NS) 2017-08-19 01:17:45 +02:00
Astro
1b1661fd82 Introduce comparing with namespace support. 2017-08-19 00:04:18 +01:00
Emmanuel Gil Peyrot
04ec34bed8 Cargo.toml: Update minidom to 0.6.2 and jid to 0.3.0. 2017-08-27 01:48:28 +01:00
Astro
b83905dc96 update to newer jid 2017-08-15 00:27:40 +02:00
Astro
275719a204 bump minidom dependency version 2017-08-14 23:32:27 +02:00
Astro
0743249280 migrate to minidom 0.6.0 2017-08-14 03:57:33 +02:00
lumi
4546db95fc bump version and update CHANGELOG.md 2017-08-13 20:14:01 +02:00
lumi
90a5eb0d49 Merge branch 'namespaceset' into 'master'
add NamespaceSet implementation

See merge request !14
2017-08-13 18:01:13 +00:00
Astro
2398e4f6d1 Cargo.toml: add Astro to authors 2017-08-13 17:29:48 +02:00
Astro
b141559081 rename namespaces mod to namespace_set 2017-08-13 17:29:38 +02:00
Astro
7297dbc5fd namespaces: add some tests 2017-08-13 02:48:28 +02:00
Astro
0148790a01 move NamespaceSet to namespaces mod 2017-08-13 02:35:24 +02:00
Astro
7d2699e08e NamespaceSet::set_parent(): don't require a full Element
by passing just a reference to a NamespaceSet we could reuse this for
xmlns elision in the serialization code.
2017-08-13 02:28:44 +02:00
Astro
98fd71fd3f NamespaceSet: rm unneeded cast 2017-08-13 02:26:45 +02:00
Astro
26f03c27ed optimize Element::write_to_inner() with CoW 2017-08-13 02:24:40 +02:00
Astro
a01cf553ae switch Element namespaces to NamespaceSet with parent reference 2017-08-13 02:24:34 +02:00
Astro
77bc215cba tests: add namespace inheritance tests 2017-08-13 02:19:17 +02:00
lumi
db3c4e43e3 Merge branch 'escaping' into 'master'
escape text and attribute values

See merge request !15
2017-08-12 11:08:50 +00:00
Astro
052c46635a escape text and attribute values 2017-08-12 02:05:18 +02:00
Emmanuel Gil Peyrot
1af06fdf6d Add an iq version parser (XEP-0092). 2017-07-29 11:45:45 +01:00
lumi
cbff99b73d bump version 2017-07-29 12:06:53 +02:00
lumi
0ed1a00c17 Merge branch 'minidom' into 'master'
Optionally implement minidom::IntoAttributeValue

See merge request !6
2017-07-29 10:05:41 +00:00
Emmanuel Gil Peyrot
69cc83c456 message, iq, presence, stanza_error, forwarded: Add support for components hidden behind the component feature flag. 2017-07-29 06:49:02 +01:00
Emmanuel Gil Peyrot
99b9525e6f Update to jid-rs 0.2.3, which implements IntoAttributeValue on Jid. 2017-07-29 06:28:20 +01:00
Emmanuel Gil Peyrot
d55fa8e5dd chatstates: Prevent compilation if the module isn’t properly documented. 2017-07-29 06:26:50 +01:00
Emmanuel Gil Peyrot
a04c395122 roster: Document most structs and their fields. 2017-07-29 06:22:35 +01:00
Emmanuel Gil Peyrot
56a66f8c4b message: Enforce more type safety on Body, Subject and Thread. 2017-07-29 06:11:48 +01:00
Emmanuel Gil Peyrot
6ec1e46953 roster: Make Group a proper struct. 2017-07-29 05:36:59 +01:00
Emmanuel Gil Peyrot
5388696b95 lib: Remove erroneous “reference” mention in the module docstring. 2017-07-29 05:24:20 +01:00
Emmanuel Gil Peyrot
5bd0feb178 optionally implement minidom::IntoAttributeValue 2017-07-29 05:11:30 +01:00
Emmanuel Gil Peyrot
45d196463c disco: Document every struct and their fields. 2017-07-29 04:51:51 +01:00
Emmanuel Gil Peyrot
67e72b009e disco: Fix serialisation of extensions, and add a test. 2017-07-29 04:39:50 +01:00