Commit graph

1044 commits

Author SHA1 Message Date
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
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
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
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
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
Maxime “pep” Buquet
5e58956408 Replace xml-rs bits by quickxml in Error 2017-12-28 16:53:13 +01:00
Maxime “pep” Buquet
99a4ad5cac Use quick_xml crate instead of xml 2017-12-28 16:53:13 +01:00
Maxime “pep” Buquet
1a9a100bdc plugins/ibb: IBB enum not available in the parser anymore 2017-12-28 16:53:13 +01:00
Maxime “pep” Buquet
1a8ea2e383 plugins/messaging: Body, Thread, Subject are now structs 2017-12-28 16:53:13 +01:00
Maxime “pep” Buquet
5508f5b388 plugins/messaging: Receipt doesn't exist anymore 2017-12-28 16:53:03 +01:00
Maxime “pep” Buquet
862edfde58 Break the world 2017-12-28 16:37:31 +01:00
Emmanuel Gil Peyrot
7913ca0a76 Added tag v0.9.0 for changeset a1ca167bf1d2 2017-12-27 17:35:46 +01:00
Emmanuel Gil Peyrot
bf116941ec Release version 0.9.0. 2017-12-27 17:35:36 +01:00
Emmanuel Gil Peyrot
9cd3490100 Cargo.toml: Bump base64 version. 2017-12-27 17:35:29 +01:00
Emmanuel Gil Peyrot
efdda7404c ChangeLog: Add imminent vesion 0.9.0. 2017-12-27 17:32:43 +01:00
Emmanuel Gil Peyrot
023ba2b9f0 Cargo.toml: Bump minidom and jid. 2017-12-27 16:52:28 +01:00
Emmanuel Gil Peyrot
93c7ea6914 muc/user: Improve documentation of Status. 2017-11-24 05:50:24 +00:00
Emmanuel Gil Peyrot
75625c497c muc/user: Simplify Status with a new macro. 2017-11-24 05:44:58 +00:00
Emmanuel Gil Peyrot
32f427a73c muc/user: Generate Reason automatically. 2017-11-24 05:24:12 +00:00