Commit graph

2123 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
6add31b526 lib: Add check macros, to simplify code. 2017-10-10 17:52:14 +01:00
Emmanuel Gil Peyrot
33018a5c09 roster: Make subscription="none" the default, see RFC6121 §2.1.2.5. 2017-10-10 17:40:29 +01:00
Astro
1a46449c16 Cargo.toml: update xmpp-parsers from 0.7.2 to 0.8.0 2017-08-28 21:00:59 +02:00
Emmanuel Gil Peyrot
558622a08a Added tag v0.8.0 for changeset a7b004bf0a44 2017-08-27 14:20:19 +01:00
Emmanuel Gil Peyrot
63c6df59db Release version 0.8.0 2017-08-27 14:20:15 +01:00
lumi
52bd40320a Merge branch '0.6.2' into 'master'
Import forgotten !13 into master and bump version

See merge request !19
2017-08-27 10:05:50 +00:00
Emmanuel Gil Peyrot
84437ed03f ChangeLog: Add imminent vesion 0.8.0. 2017-08-27 01:46:10 +01:00
Emmanuel Gil Peyrot
92277ccde0 jingle_ft: Add support for empty range elements.
These can be used to indicate support for ranged transfers.
2017-08-27 02:33:37 +01:00
Emmanuel Gil Peyrot
8fbb272969 bump vesion to 0.6.2 2017-08-27 01:44:54 +01:00
Emmanuel Gil Peyrot
6b4061ad86 update change log 2017-08-27 01:44:54 +01:00
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