Commit graph

507 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
bdae556787 error: Remove unused minidom::Error from Error. 2018-08-08 18:30:12 +02:00
Emmanuel Gil Peyrot
93150bcd2a error: Remove unused io::Error from Error. 2018-08-08 18:28:14 +02:00
Emmanuel Gil Peyrot
67029f5b8a sasl: Actually implement <failure/> properly, with tests this time. 2018-08-03 00:53:00 +02:00
Emmanuel Gil Peyrot
83c0e9113c sasl: Add the -PLUS versions of both SCRAM mechanisms. 2018-08-03 00:05:28 +02:00
Emmanuel Gil Peyrot
92cdaaafcc pubsub: Document all of the modules. 2018-08-02 22:16:55 +02:00
Emmanuel Gil Peyrot
89efc89423 pubsub/event: Remove invalid empty items. 2018-08-02 22:06:34 +02:00
Emmanuel Gil Peyrot
679dd14a49 pubsub/event: Remove unused @node in item. 2018-08-02 22:05:23 +02:00
Emmanuel Gil Peyrot
955f2809be rsm: Fix the description of the two <set/> elements. 2018-08-02 20:43:47 +02:00
Emmanuel Gil Peyrot
14b4d51d7f rsm: Split Set into SetQuery and SetResult, and document this. 2018-08-02 20:35:15 +02:00
Emmanuel Gil Peyrot
71dd906e7a mam: Document this module. 2018-08-02 20:05:51 +02:00
Emmanuel Gil Peyrot
d038ddddab mam: Replace Strings with proper wrappers, and make queryid optional as it should be. 2018-08-02 20:05:35 +02:00
Emmanuel Gil Peyrot
a70ce99d91 receipts: Document this module. 2018-08-02 19:24:09 +02:00
Emmanuel Gil Peyrot
36cfe76e4d macros: Merge generate_element_with_text!() into generate_element!(). 2018-08-02 19:07:07 +02:00
Emmanuel Gil Peyrot
b1a7b8019f media_element: Document this module. 2018-08-02 18:47:06 +02:00
Emmanuel Gil Peyrot
f4eea2ded6 component: Document this module. 2018-08-02 18:39:39 +02:00
Emmanuel Gil Peyrot
ebfbc400a7 delay: Document this module. 2018-08-02 18:33:37 +02:00
Astro
866007621a sasl: add Failure nonza 2018-08-02 18:16:14 +02:00
Astro
caa5d90a9a sasl: add ScramSha256 mechanism 2018-08-02 18:16:10 +02:00
Emmanuel Gil Peyrot
a1530c531b blocking: Document this module. 2018-08-02 18:15:56 +02:00
Emmanuel Gil Peyrot
f7c74498cc forwarding: Use generate_element!() instead of manually writing the parser. 2018-08-01 00:51:38 +02:00
Emmanuel Gil Peyrot
1248cac39b version: Fix tests. 2018-08-01 00:44:27 +02:00
Emmanuel Gil Peyrot
f0fab6b97e message_correct: Document this module. 2018-08-01 00:27:48 +02:00
Emmanuel Gil Peyrot
e757d8dde3 idle: Document this module. 2018-08-01 00:24:00 +02:00
Emmanuel Gil Peyrot
cacafe7ea1 stanza_id: Document this module. 2018-08-01 00:16:59 +02:00
Emmanuel Gil Peyrot
170f87ef0f roster: Finish to document this module. 2018-07-31 23:47:55 +02:00
Emmanuel Gil Peyrot
0d9d24ffca ecaps2: Document this module. 2018-07-31 23:35:16 +02:00
Emmanuel Gil Peyrot
61644e5557 ping: Document this module. 2018-07-31 23:09:53 +02:00
Emmanuel Gil Peyrot
d6ae1fbfb7 attention: Document this module. 2018-07-31 23:08:14 +02:00
Emmanuel Gil Peyrot
2a22902408 version: Split in query/response and document them. 2018-07-31 23:06:49 +02:00
Emmanuel Gil Peyrot
bc6c87b534 bookmarks: Remove unused use of error::Error. 2018-07-31 22:36:02 +02:00
Emmanuel Gil Peyrot
1fcd6c5941 bookmarks: Add a test for all of the elements. 2018-07-31 22:35:02 +02:00
Emmanuel Gil Peyrot
c50c21dd26 nick: Deny missing docs. 2018-07-31 22:08:28 +02:00
Emmanuel Gil Peyrot
cd0d47b92e muc/user: Add a constructor for Item. 2018-07-31 21:32:39 +02:00
Emmanuel Gil Peyrot
9d3028ad71 jingle_ibb: Add documentation. 2018-07-02 13:51:36 +02:00
Emmanuel Gil Peyrot
5f2062483a ibb: Add documentation. 2018-07-02 13:47:32 +02:00
Emmanuel Gil Peyrot
75d5bd3665 ibb, jingle_ibb: Share StreamId. 2018-07-02 13:16:00 +02:00
Emmanuel Gil Peyrot
c6215a9fd0 pubsub: Make item fields public. 2018-06-22 20:18:18 +02:00
Emmanuel Gil Peyrot
33ac338e3e bookmarks: Add an implementation of XEP-0048. 2018-05-29 15:04:16 +02:00
Emmanuel Gil Peyrot
16391e8b5a muc: Add forgotten <history/> handling. 2018-05-28 18:45:29 +02:00
Emmanuel Gil Peyrot
6752bc7131 Don’t export helpers or macros. 2018-05-28 17:32:27 +02:00
Emmanuel Gil Peyrot
7cbdf621ca Reexport minidom::Element. 2018-05-28 17:32:10 +02:00
Emmanuel Gil Peyrot
76877bf85a jingle_s5b: Strenghten the types used by the payloads. 2018-05-28 17:27:21 +02:00
Emmanuel Gil Peyrot
bb60af1531 data_forms: Use a macro for <option/>. 2018-05-28 17:05:04 +02:00
Emmanuel Gil Peyrot
45fdb3d5e2 macros: Improve error messages. 2018-05-28 17:04:40 +02:00
Emmanuel Gil Peyrot
3fb99988d5 macros: Merge generate_element_with_children!() into generate_element!(). 2018-05-28 16:45:13 +02:00
Emmanuel Gil Peyrot
9c598fbdf9 macros: Rename generate_element_with_only_attributes!() into generate_element!(). 2018-05-28 16:42:35 +02:00
Emmanuel Gil Peyrot
ef227c4617 macros: Simplify generate_element_with_only_attributes!(). 2018-05-28 16:37:22 +02:00
Emmanuel Gil Peyrot
a625b88fce macros: Merge all element children into a common syntax. 2018-05-28 16:29:51 +02:00
Emmanuel Gil Peyrot
cbef3f6e8d muc: Add a serialisation test. 2018-05-28 16:24:17 +02:00
Emmanuel Gil Peyrot
5c79960cee version: Add a serialisation test. 2018-05-28 16:23:23 +02:00
Emmanuel Gil Peyrot
c828f93839 Add a Stream Management implementation. 2018-05-18 19:04:02 +02:00
Emmanuel Gil Peyrot
9bd6fe002d disco: Implement IqGetPayload on the correct structs. 2018-05-17 19:24:51 +02:00
Emmanuel Gil Peyrot
0bec19c224 ibr: Fix syntax error. 2018-05-16 15:16:15 +02:00
Emmanuel Gil Peyrot
412eafb363 iq: Implement the Iq*Payload traits on every possible payload. 2018-05-16 15:08:17 +02:00
Emmanuel Gil Peyrot
d5f88d2636 iq: Add helper constructors. 2018-05-16 14:49:00 +02:00
Emmanuel Gil Peyrot
d29021b85c iq: Replace clunky payload enums with proper traits. 2018-05-16 14:48:29 +02:00
Emmanuel Gil Peyrot
d9f2af6c97 mam: Use a macro to generate Result_. 2018-05-15 02:06:38 +02:00
Emmanuel Gil Peyrot
965f6a1f83 ecaps2: Use a macro to generate ECaps2. 2018-05-15 01:55:16 +02:00
Emmanuel Gil Peyrot
f52c28fb35 jingle, jingle_s5b: Add missing checks for unknown attributes and children. 2018-05-15 01:47:12 +02:00
Emmanuel Gil Peyrot
71dc5ad6c8 pubsub: Document the new structs and their fields. 2018-05-15 00:18:15 +02:00
Emmanuel Gil Peyrot
58a1d80b77 pubsub: Add forgotten toplevel parsing. 2018-05-14 21:32:58 +02:00
Emmanuel Gil Peyrot
fcdfc6d85a Add a PubSub module. 2018-05-14 21:04:16 +02:00
Emmanuel Gil Peyrot
a3e35510cc macros: Always use the correct std::default::Default trait. 2018-05-14 21:03:24 +02:00
Emmanuel Gil Peyrot
d2dc77e4a3 pubsub: Move Subscription to the module. 2018-05-14 21:02:22 +02:00
Emmanuel Gil Peyrot
688ae145be pubsub: Move common attributes to the module. 2018-05-14 17:49:25 +02:00
Emmanuel Gil Peyrot
b37a8da906 Add a User Nickname (XEP-0172) parser and serialiser. 2018-05-14 17:43:03 +02:00
Emmanuel Gil Peyrot
90063e5433 mood: Add support for the <text/> element. 2018-05-14 17:32:15 +02:00
Emmanuel Gil Peyrot
3d495ccf41 Use check_no_children!() where it makes sense. 2018-05-14 16:33:47 +02:00
Emmanuel Gil Peyrot
93b018e5ac macros: Remove use requirement on ns. 2018-05-14 16:30:28 +02:00
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
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
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
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
Emmanuel Gil Peyrot
5a2f4859cf Add a mood parser and serialiser. 2017-11-24 05:20:36 +00:00
Emmanuel Gil Peyrot
42a3e42533 roster: Simplify parsing of Item. 2017-11-24 05:09:25 +00:00