Commit graph

2161 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
56b4657518 simplify Debug and Display implementations 2018-03-01 16:24:53 +01:00
Emmanuel Gil Peyrot
011308b4b4 Add a component handshake parser. 2018-03-01 10:57:01 +01:00
Emmanuel Gil Peyrot
395b64e644 Add a <stream:stream> parser. 2018-03-01 10:08:30 +01:00
Emmanuel Gil Peyrot
3de29e1e81 lib, ns, error, macros: Update the copyright year. 2018-03-01 10:01:35 +01:00
Marc-Antoine Perennou
a7f460f900 update base64 and openssl deps
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2018-02-27 11:44:41 +01:00
Emmanuel Gil Peyrot
a484150e4b bind: Switch to an enum, only three options are possible. 2018-02-23 12:38:40 +01:00
Emmanuel Gil Peyrot
772c6b56ee update dependencies 2018-02-22 20:05:41 +01:00
Emmanuel Gil Peyrot
6ac5bb99db happy_eyeballs: fix two mut warnings 2018-02-22 19:56:56 +01:00
Emmanuel Gil Peyrot
7c0975dd5d Add a Bind parser. 2018-02-20 17:43:19 +01:00
Emmanuel Gil Peyrot
cfaebb4a91 Add a SASL parser. 2018-02-20 17:01:12 +01:00
Emmanuel Gil Peyrot
fab99c9004 error: Remove std::error::Error implementation as it conflicts with failure. 2018-02-20 16:53:42 +01:00
Emmanuel Gil Peyrot
208e280067 Add a WebSocket <open/> parser. 2018-02-20 16:20:45 +01:00
lumi
0589b85f15 Merge branch 'tests' into 'master'
Add more error cases and corresponding tests, and bump minidom

See merge request xmpp-rs/jid-rs!12
2018-02-18 21:09:44 +00:00
lumi
e4dfa218b6 update changelog 2018-02-18 21:50:32 +01:00
Emmanuel Gil Peyrot
98ad44b511 release version 0.5.0 2018-02-18 21:38:07 +01:00
Emmanuel Gil Peyrot
c1fbfd2632 bump minidom dependency 2018-02-18 21:37:01 +01:00
Emmanuel Gil Peyrot
00f7d545aa add tests for errors 2018-02-18 21:36:36 +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
lumi
95b77c80ae Merge branch 'update-ci' into 'master'
Update docker image used in CI

See merge request xmpp-rs/jid-rs!11
2018-01-01 13:43:34 +00:00
Maxime “pep” Buquet
5e6990bef9 Update docker image used in CI 2018-01-01 13:41:52 +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
lumi
0c2455b2a2 Merge branch 'revert-359f6bb4' into 'master'
Revert "Merge branch 'update-deps' into 'master'"

See merge request xmpp-rs/xmpp-rs!33
2017-12-31 14:47:01 +00:00
Maxime Buquet
8c4bb1b810 Revert "Merge branch 'update-deps' into 'master'"
This reverts merge request !32
2017-12-31 13:56:17 +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
359f6bb4aa Merge branch 'update-deps' into 'master'
Update/Change deps: quick-xml, xmpp-parsers, minidom, jid

See merge request xmpp-rs/xmpp-rs!32
2017-12-28 17:36:21 +00:00
Maxime “pep” Buquet
2146244e1c Update docker image 2017-12-28 18:08:49 +01:00
Maxime “pep” Buquet
2fb540f85b component: Fix attributes parsing; thanks Link Mauve 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
5f9d91140d transport, component, connection: Do not use unneeded return values 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
690e83725c connection: Unneeded return value 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
06fd0a354a client: Adapt to quickxml 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
44a03c37d5 component: Remove duplicate call to read_event 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
37148b9097 transport: Adapt to quick_xml. Thanks eijebong. 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
4b322cc62b connection: Adapt C2S and Component2S impl for quickxml; Thanks eijebong 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
5e5086e2ef plugins/roster: Subscription is now an enum 2017-12-28 16:54:37 +01:00