Commit graph

1360 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
d9aaa3e9ce macros: Remove use requirement on error::Error. 2018-05-14 16:21:39 +02:00
Emmanuel Gil Peyrot
6f497027f5 macros: Remove use requirement on minidom::Element. 2018-05-14 16:17:21 +02:00
Emmanuel Gil Peyrot
0d4327eb42 macros: Remove use requirement on minidom::IntoAttributeValue. 2018-05-14 16:12:56 +02:00
Emmanuel Gil Peyrot
040792c242 macros: Remove use requirement on std::str::FromStr. 2018-05-14 16:11:22 +02:00
Emmanuel Gil Peyrot
292cdd059c macros: Remove use requirement on try_from::TryFrom. 2018-05-14 16:07:15 +02:00
Emmanuel Gil Peyrot
84355f9e1d macros: Simplify generated code for check_no_attributes!(). 2018-05-12 20:25:59 +02:00
Emmanuel Gil Peyrot
6bb466eea2 Use check_self!() where it makes sense. 2018-05-12 18:31:11 +02:00
Emmanuel Gil Peyrot
e0438f9b88 jingle_message, muc, presence, version: Always use the check_no_attributes macro. 2018-05-12 17:59:04 +02:00
Emmanuel Gil Peyrot
f2f8de773b message: Rename body into value, since this applies to subject too. 2018-05-12 17:42:49 +02:00
Emmanuel Gil Peyrot
c72f5819c7 message: Optimise slightly the get_best method. 2018-05-12 17:42:07 +02:00
Emmanuel Gil Peyrot
6bafe35d2a message: Add getters for the best body per language list. 2018-05-12 17:22:05 +02:00
Emmanuel Gil Peyrot
53e23cbf65 jingle_s5b: Make Candidate.host an IpAddr instead of a String. 2018-05-04 21:19:40 +02:00
Emmanuel Gil Peyrot
3310f29704 jingle_s5b: Add constructors and setters. 2018-05-04 19:11:03 +02:00
Emmanuel Gil Peyrot
927df2fdb1 jingle_ft: Add constructors and setters. 2018-05-04 19:10:45 +02:00
Emmanuel Gil Peyrot
a1e95ffb2e jingle: Add constructors and setters. 2018-05-04 19:10:29 +02:00
Emmanuel Gil Peyrot
c762a03c39 hashes: Add two constructors. 2018-05-04 19:10:04 +02:00
lumi
1634c7dbe5 Merge branch 'upgrade_quick_xml_0.12.1' into 'master'
Upgrade quick-xml to 0.12.1

See merge request lumi/minidom-rs!28
2018-04-22 12:11:33 +00:00
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
Emmanuel Gil Peyrot
d83624c8a4 component: Add constructors. 2018-03-01 17:32:50 +01:00
Emmanuel Gil Peyrot
0a057cdfef component: Fix handshake content, it’s hex, not base64! 2018-03-01 17:31:49 +01:00
Emmanuel Gil Peyrot
06afb5afed release version 0.5.1 2018-03-01 16:27:59 +01:00
Emmanuel Gil Peyrot
c45d1bf5ca simplify tests for invalid JIDs 2018-03-01 16:26:44 +01:00
Emmanuel Gil Peyrot
fd4a513779 implement Fail on JidParseError 2018-03-01 16:25:59 +01:00
Emmanuel Gil Peyrot
87d59181cb remove redundant test 2018-03-01 16:25:05 +01:00
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
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