Commit graph

2086 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
2661259e9a chatstates: Generate ChatState automatically. 2017-11-24 04:27:35 +00:00
Emmanuel Gil Peyrot
cec581baa0 roster: Parse query using the new helpers. 2017-11-23 16:45:05 +00:00
Emmanuel Gil Peyrot
e4cfc1b867 jingle_ft: Simplify serialisation. 2017-11-23 16:37:04 +00:00
Emmanuel Gil Peyrot
988b6a6160 jingle_ft: Parse <range/> using the new helper. 2017-11-23 16:33:08 +00:00
Emmanuel Gil Peyrot
0ead24a041 helpers, disco: Parse children based on their name and namespace. 2017-11-23 16:32:18 +00:00
Emmanuel Gil Peyrot
d78a0e6dae helpers, disco: Add missing serialisation, and add a test. 2017-11-23 16:30:53 +00:00
Emmanuel Gil Peyrot
682bb34b0b delay: Use the new helper macro. 2017-11-23 16:19:24 +00:00
Emmanuel Gil Peyrot
32e373be03 helpers: Add a plain text codec. 2017-11-23 16:19:04 +00:00
Emmanuel Gil Peyrot
cb6eb55686 macros: Uniformise trailing commas handling. 2017-11-23 16:06:35 +00:00
Emmanuel Gil Peyrot
3f57edfc27 hashes: Use the new helpers. 2017-11-23 15:52:06 +00:00
Emmanuel Gil Peyrot
ad17c877f5 Move Base64 codec into a helper module. 2017-11-23 16:00:47 +00:00
Rust Cambridge Mob
3e37beffe2 Implement macro for elements containing children 2017-11-16 21:00:01 +00:00
Rust Cambridge Mob
77e150c63d Implement macro for elements containing text 2017-11-16 20:17:11 +00:00
Emmanuel Gil Peyrot
9c9ffe70a7 caps: Do the same fixes, unbreak blake2 and simplify code. 2017-11-15 23:16:37 +00:00
Emmanuel Gil Peyrot
702c4d2932 ecaps2: Use the digest() facility to simplify hashing. 2017-11-15 23:15:12 +00:00
Emmanuel Gil Peyrot
c1ff291c11 Update all crypto crates to their latest release; un-break blake2b. 2017-11-15 18:37:28 +00: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
Emmanuel Gil Peyrot
8aa51bd047 eme: Restore docstrings. 2017-11-01 00:24:23 +00:00
Emmanuel Gil Peyrot
4fb909cfd1 data_forms: Simplify serialisation using .map(). 2017-10-31 23:33:34 +00:00
Emmanuel Gil Peyrot
1e39a4cdd7 jingle_s5b: Actually use the Candidate parser. 2017-10-31 22:31:57 +00:00
Emmanuel Gil Peyrot
35258482ba delay: Simplify parsing and add more checks. 2017-10-31 22:27:13 +00:00
Emmanuel Gil Peyrot
7950fe8f52 rsm: Simplify serialisation. 2017-10-31 22:21:50 +00:00
Emmanuel Gil Peyrot
86eb65b829 mam: Bump jid to 0.3.1, to serialise it directly to a text node. 2017-10-31 22:21:27 +00:00
Emmanuel Gil Peyrot
6e48d0f65a media_element: Also check for unknown attributes. 2017-10-31 22:04:13 +00:00
Emmanuel Gil Peyrot
4875f15201 media_element: Parse URI separately from MediaElement. 2017-10-31 22:01:52 +00:00
lumi
7490799acd fixing the date format in the change log 2017-10-31 22:53:10 +01:00
lumi
0541234776 add a changelog 2017-10-31 22:51:29 +01:00
lumi
92723a2f13 Merge branch 'minidom' into 'master'
Implement IntoElements on Jid

See merge request lumi/jid-rs!9
2017-10-31 21:47:25 +00:00
Emmanuel Gil Peyrot
fb27b6225c jingle_ft: Correctly insert <range/> in <file/>. 2017-10-31 21:44:43 +00:00
Emmanuel Gil Peyrot
655fc9ae68 Cargo.toml: Bump base64 to 0.7.0. 2017-10-31 21:35:07 +00:00
Emmanuel Gil Peyrot
bd9aa01ad5 Split macros into their own module. 2017-10-31 21:17:24 +00:00
Emmanuel Gil Peyrot
df069ac6c6 mam: Simplify parsing. 2017-10-31 21:10:04 +00:00
Emmanuel Gil Peyrot
6eba0e7d87 Simplify check_self macro. 2017-10-31 20:35:25 +00:00
Emmanuel Gil Peyrot
5185c0bb9e bump version 2017-10-31 20:24:47 +00:00
Emmanuel Gil Peyrot
2ffa3dc1d9 optionally implement minidom::IntoElements 2017-10-31 20:24:41 +00:00
Emmanuel Gil Peyrot
5cdb2d77ab Split out DateTime parsing into its own module (implement XEP-0082). 2017-10-31 19:41:45 +00:00
Emmanuel Gil Peyrot
82fcf3bad5 ecaps2: Simplify parsing. 2017-10-31 19:07:49 +00:00
Emmanuel Gil Peyrot
47c9263b86 blocking: Merge get_children_items into the try_from. 2017-10-31 18:53:51 +00:00
Emmanuel Gil Peyrot
649286d59e disco: Use generate_element_with_only_attributes. 2017-10-31 18:49:22 +00:00
Emmanuel Gil Peyrot
61badccf8b Add meta support to macros. 2017-10-31 18:37:32 +00:00
Emmanuel Gil Peyrot
929bd577f3 Add a generate_element_with_only_attributes macro, and use it wherever it makes sense. 2017-10-31 17:58:11 +00:00
Emmanuel Gil Peyrot
ed53f452c3 ping: Add a serialise test. 2017-10-31 17:57:49 +00:00
Emmanuel Gil Peyrot
b5e41a7074 Fix the name in create_empty_element. 2017-10-31 17:55:27 +00:00
Emmanuel Gil Peyrot
7fa889f46e jingle: Import the disposition attribute values. 2017-10-31 17:17:06 +00:00
Emmanuel Gil Peyrot
97abc37f1a jingle_ft: Improve <range/> parsing. 2017-10-31 17:02:24 +00:00
Emmanuel Gil Peyrot
667ae4c40f jingle_ft: Implement checksum parsers. 2017-10-31 16:41:22 +00:00
Emmanuel Gil Peyrot
cf31506580 jingle_ft: Split Description::try_from into File::try_from. 2017-10-31 16:25:01 +00:00
Emmanuel Gil Peyrot
db9ef3ef30 jingle_ft: Use jingle’s ContentId type to identify content names. 2017-10-31 16:11:09 +00:00