Commit graph

110 commits

Author SHA1 Message Date
Matt Bilker
96f223b7e3
bump version to 0.9.0 and upgrade quick-xml to 0.12.1 2018-04-10 21:01:18 -04:00
lumi
e4dfa218b6 update changelog 2018-02-18 21:50:32 +01:00
lumi
8924d2d594 Merge branch 'linkmauve/minidom-rs-failure'
# Conflicts:
#	src/tests.rs
2018-02-18 21:32:51 +01:00
lumi
c9983865eb Merge branch 'master' into 'master'
Support comment and write to quick-xml Writer

See merge request lumi/minidom-rs!26
2018-02-18 20:21:05 +00:00
Emmanuel Gil Peyrot
0eba989122 bump version to 0.8.0 and add CHANGELOG.md entry 2018-02-18 20:56:40 +01:00
Emmanuel Gil Peyrot
236582b24e update quick_xml and migrate from error-chain to failure 2018-02-18 20:45:09 +01:00
Emmanuel Gil Peyrot
055caa8e24 add tests for some XML errors 2018-02-18 19:41:03 +01:00
Yue Liu
f456600efd Support comment and write to quick-xml Writer 2018-01-09 23:29:48 -08:00
lumi
74fb62f953 Merge branch 'update-gitlab-ci' into 'master'
Update docker image used in CI

See merge request lumi/minidom-rs!25
2018-01-01 13:45:20 +00:00
Maxime “pep” Buquet
be3279a999 Update docker image used in CI 2018-01-01 13:39:32 +00:00
lumi
d079f0503a make sure that my tests actually work... 2018-01-01 14:34:24 +01:00
lumi
118bbb5462 add the spectest.xml from https://gitlab.com/lumi/minidom-rs/issues/8 2018-01-01 14:28:17 +01:00
lumi
cdb2cb8d86 try not to allocate memory when comparing ending tags with starting tags 2018-01-01 14:01:03 +01:00
lumi
0e76e5211d Merge branch 'compare-with-prefix' into 'master'
Compare with prefix

See merge request lumi/minidom-rs!23
2018-01-01 12:26:19 +00:00
lumi
309d84f2d0 Merge branch 'remove-wildcard-pattern' into 'master'
Be explicit about quick-xml Events we are handling

See merge request lumi/minidom-rs!24
2017-12-31 16:35:56 +00:00
Maxime “pep” Buquet
9959abbb25 Be explicit about quick-xml Events we are handling 2017-12-31 16:31:26 +00:00
Maxime “pep” Buquet
db70487a31 Change prefix fn to return Option<&str> 2017-12-31 15:24:28 +00:00
Maxime “pep” Buquet
9c498044ee element: Add tests for Element::from_reader 2017-12-31 07:19:24 +01:00
Maxime “pep” Buquet
e250e9cf2c Add doctest for prefix fn 2017-12-30 17:26:15 +01:00
Maxime “pep” Buquet
7d009923b7 Update author list 2017-12-30 17:26:15 +01:00
Maxime “pep” Buquet
1c3a701d2e element: Fix element name comparison in from_reader
quick-xml's Events seem to always return prefixed names, and the
from_reader function, when comparing name of the pop-ed element, and
received event element, was using the unprefixed name to compare.
2017-12-30 17:26:15 +01:00
lumi
4685becf84 Merge branch 'update' into 'master'
Update dependencies, and bump version

See merge request lumi/minidom-rs!22
2017-12-27 15:14:34 +00:00
Emmanuel Gil Peyrot
8f0549b0dd update dependencies, and bump version 2017-12-27 16:05:11 +01:00
lumi
e8c1967b01 Merge branch 'clippy' into 'master'
fix clippy warnings

See merge request lumi/minidom-rs!20
2017-11-12 23:46:31 +00:00
Emmanuel Gil Peyrot
df76bc147a fix clippy warnings 2017-11-12 19:58:07 +00:00
lumi
f4debf1bbf Merge branch 'tafia/minidom-rs-quick_xml_optim' 2017-11-08 18:19:05 +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
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
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
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
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