Emmanuel Gil Peyrot
|
db1a87e2ee
|
jingle: Implement serialise.
|
2017-04-24 19:25:00 +01:00 |
|
Emmanuel Gil Peyrot
|
fa10ab4ebc
|
jingle: Implement From for String on all special attributes.
|
2017-04-24 19:25:00 +01:00 |
|
Emmanuel Gil Peyrot
|
90f1792ebc
|
jingle_ibb: Make the fields in Transport public.
|
2017-04-24 19:25:00 +01:00 |
|
Emmanuel Gil Peyrot
|
2b19a415d4
|
jingle_ibb: Implement serialise.
|
2017-04-24 19:25:00 +01:00 |
|
Emmanuel Gil Peyrot
|
c71b32ae24
|
ibb: Implement IntoAttributeValue for Stanza.
|
2017-04-24 19:25:00 +01:00 |
|
Maxime “pep” Buquet
|
1b4c0c4589
|
iq: Clippify
|
2017-04-24 19:20:35 +01:00 |
|
Maxime “pep” Buquet
|
c462d230f1
|
ping, iq: Implement ping::serialise_ping and link to Iq.
|
2017-04-23 21:17:26 +01:00 |
|
Maxime “pep” Buquet
|
b259ab9ef2
|
iq: Link disco parser to Iq.
|
2017-04-23 21:12:27 +01:00 |
|
Maxime “pep” Buquet
|
04af2f3d26
|
Implement Iq stanzas parsing
|
2017-04-23 20:38:13 +01:00 |
|
Emmanuel Gil Peyrot
|
944cb3964e
|
presence: Add status as a possible payload.
|
2017-04-23 19:32:48 +01:00 |
|
Emmanuel Gil Peyrot
|
93343f3a00
|
Add a status parser.
|
2017-04-23 19:28:25 +01:00 |
|
Emmanuel Gil Peyrot
|
948b54d073
|
ecaps2: Implement blake2b.
|
2017-04-23 19:28:03 +01:00 |
|
Emmanuel Gil Peyrot
|
2c95fd6786
|
presence: Add ecaps2 as a possible payload.
|
2017-04-23 18:38:53 +01:00 |
|
Emmanuel Gil Peyrot
|
429abb996d
|
ecaps2: Implement serialise.
|
2017-04-23 18:36:37 +01:00 |
|
Emmanuel Gil Peyrot
|
20949c2832
|
hashes: Implement serialise.
|
2017-04-23 18:36:12 +01:00 |
|
Emmanuel Gil Peyrot
|
78e8a06ec2
|
Add a presence parser.
|
2017-04-23 17:30:23 +01:00 |
|
Emmanuel Gil Peyrot
|
6a56918484
|
ns: Add the namespaces of hashes functions we implement.
|
2017-04-23 17:30:07 +01:00 |
|
Emmanuel Gil Peyrot
|
c81509744f
|
lib, message, jingle_ft: Remove unused imports.
|
2017-04-23 15:32:38 +01:00 |
|
Emmanuel Gil Peyrot
|
5e7ad720c3
|
Add a message parser, along with a dependency on jid.
|
2017-04-23 15:13:03 +01:00 |
|
Emmanuel Gil Peyrot
|
15634b6500
|
ping: Remove extraneous brackets.
|
2017-04-23 03:45:14 +01:00 |
|
Emmanuel Gil Peyrot
|
16a6ebd751
|
ibb: Simplify the FromStr using match.
|
2017-04-23 03:44:58 +01:00 |
|
Emmanuel Gil Peyrot
|
659eaee14e
|
data_forms: Simplify the FromStr using match.
|
2017-04-23 03:42:50 +01:00 |
|
Emmanuel Gil Peyrot
|
90db24eed8
|
jingle: Simplify the FromStr using match.
|
2017-04-23 03:41:26 +01:00 |
|
Emmanuel Gil Peyrot
|
7e964b167a
|
message_correct: Add a serialise function, and simplify the representation.
|
2017-04-23 03:23:13 +01:00 |
|
Emmanuel Gil Peyrot
|
4128c4b9ed
|
chatstates: Add a serialise function.
|
2017-04-23 03:22:42 +01:00 |
|
Emmanuel Gil Peyrot
|
7002578bc0
|
body: Test the serialise function.
|
2017-04-23 03:22:25 +01:00 |
|
Emmanuel Gil Peyrot
|
cebccb363f
|
eme: Add a serialise function.
|
2017-04-23 03:22:02 +01:00 |
|
Emmanuel Gil Peyrot
|
c6036194b1
|
delay: Add a serialise function.
|
2017-04-23 03:21:53 +01:00 |
|
Emmanuel Gil Peyrot
|
ab841dc375
|
receipts: Add a serialise function.
|
2017-04-23 03:21:21 +01:00 |
|
Emmanuel Gil Peyrot
|
54f4040251
|
attention: Simplify the payload type, and add a serialise function.
|
2017-04-23 03:20:52 +01:00 |
|
Emmanuel Gil Peyrot
|
ca6e65ad76
|
body: Add a serialise function.
|
2017-04-23 02:24:13 +01:00 |
|
Emmanuel Gil Peyrot
|
6d6ac8a380
|
body: Simplify the type of Body to an alias of String.
|
2017-04-22 20:49:17 +01:00 |
|
Emmanuel Gil Peyrot
|
24d563ff18
|
jingle: Carry the minidom Element for description, transport and security.
|
2017-04-22 19:30:17 +01:00 |
|
Emmanuel Gil Peyrot
|
ff5be32a0e
|
Add a JingleIBB parser.
|
2017-04-22 19:15:48 +01:00 |
|
Emmanuel Gil Peyrot
|
22ec4b1913
|
ibb: Improve handling of optional stanza attribute.
|
2017-04-22 19:15:29 +01:00 |
|
Emmanuel Gil Peyrot
|
fbb609485b
|
Add a JingleFT parser.
|
2017-04-22 17:39:21 +01:00 |
|
Emmanuel Gil Peyrot
|
000e5a50c2
|
error: Add ParseIntError to the possible errors.
|
2017-04-22 17:39:00 +01:00 |
|
Emmanuel Gil Peyrot
|
edc5961a79
|
hashes: Implement PartialEq on Hash.
|
2017-04-22 17:38:36 +01:00 |
|
Emmanuel Gil Peyrot
|
0778ceea7d
|
jingle: Remove extraneous println!().
|
2017-04-22 17:38:19 +01:00 |
|
Emmanuel Gil Peyrot
|
e1070a8b98
|
ecaps2: Add a parser too.
|
2017-04-22 16:51:10 +01:00 |
|
Emmanuel Gil Peyrot
|
ea2ff8a35d
|
Add a hash parser.
|
2017-04-21 04:21:16 +01:00 |
|
Emmanuel Gil Peyrot
|
d39d13b7cb
|
delay: Correctly parse the content data.
|
2017-04-21 04:01:14 +01:00 |
|
Emmanuel Gil Peyrot
|
cfadff3bc9
|
Add a Delayed Delivery parser.
|
2017-04-21 03:57:34 +01:00 |
|
Emmanuel Gil Peyrot
|
a680ab194c
|
Add an Explicit Message Encryption parser.
|
2017-04-21 03:45:05 +01:00 |
|
Emmanuel Gil Peyrot
|
94380fdbd5
|
ibb: Add some more tests.
|
2017-04-21 03:21:06 +01:00 |
|
Emmanuel Gil Peyrot
|
189f17c569
|
ibb: Add a parser for the <close/> element.
|
2017-04-21 03:09:10 +01:00 |
|
Emmanuel Gil Peyrot
|
fb373c2b66
|
ibb: Add a parser for the <data/> element.
|
2017-04-21 03:07:21 +01:00 |
|
Emmanuel Gil Peyrot
|
6ba22a43e5
|
lib: Import base64 at the top-level, and not in a module.
|
2017-04-21 02:46:41 +01:00 |
|
Emmanuel Gil Peyrot
|
8fba5cf966
|
Add a Last Message Correction parser.
|
2017-04-21 02:07:44 +01:00 |
|
Emmanuel Gil Peyrot
|
9410b9682a
|
lib: Export attention as a MessagePayload.
|
2017-04-21 01:56:18 +01:00 |
|
Emmanuel Gil Peyrot
|
458099cef0
|
Add an attention parser.
|
2017-04-21 01:53:47 +01:00 |
|
Emmanuel Gil Peyrot
|
6600418070
|
ecaps2: Remove function convert_element, used only in the tests.
|
2017-04-21 01:39:32 +01:00 |
|
Emmanuel Gil Peyrot
|
79c691e1c0
|
ecaps2: Add a TODO about changing algo into an enum.
|
2017-04-21 01:30:29 +01:00 |
|
Emmanuel Gil Peyrot
|
3209b04a50
|
Fix all warnings issued by cargo clippy .
|
2017-04-21 01:28:58 +01:00 |
|
Emmanuel Gil Peyrot
|
0da3d55e40
|
First attempt at a documentation.
|
2017-04-21 01:06:30 +01:00 |
|
Emmanuel Gil Peyrot
|
62d9385728
|
Make all parsed types implement Clone.
|
2017-04-21 00:41:15 +01:00 |
|
Emmanuel Gil Peyrot
|
88ae9aca3f
|
ecaps2: Remove unused brackets around Blake2b.
|
2017-04-21 00:24:20 +01:00 |
|
Emmanuel Gil Peyrot
|
efedb215c4
|
ecaps2: Add Rust-Crypto and base64 dependencies, and implement hashing.
|
2017-04-21 00:01:57 +01:00 |
|
Emmanuel Gil Peyrot
|
7288c2c74f
|
Import ns itself, and remove the _NS suffix on all namespaces.
|
2017-04-20 23:16:12 +01:00 |
|
Emmanuel Gil Peyrot
|
411e421732
|
ecaps2: Use a reference everywhere, instead of taking ownership.
|
2017-04-20 21:53:46 +01:00 |
|
Emmanuel Gil Peyrot
|
83cf57abd0
|
disco: Use a reference everywhere, instead of taking ownership.
|
2017-04-20 21:53:46 +01:00 |
|
Emmanuel Gil Peyrot
|
1190dd9001
|
disco: Add a serializer.
|
2017-04-20 21:03:02 +01:00 |
|
Emmanuel Gil Peyrot
|
e0e6119e55
|
disco: Relax the parsing rules for get disco#info.
|
2017-04-20 21:02:51 +01:00 |
|
Emmanuel Gil Peyrot
|
55f5435f6e
|
body: Make the string public.
|
2017-04-20 01:31:03 +01:00 |
|
Emmanuel Gil Peyrot
|
f3c9a58862
|
Add a receipts parser.
|
2017-04-20 00:43:33 +01:00 |
|
Emmanuel Gil Peyrot
|
861c933c56
|
body, chatstates: Fix tests.
|
2017-04-20 00:43:17 +01:00 |
|
Emmanuel Gil Peyrot
|
a9993b1281
|
Remove the MessagePayload trait, it was a bad idea.
|
2017-04-20 00:14:47 +01:00 |
|
Emmanuel Gil Peyrot
|
b8b0494c19
|
Fix a stupid copy/paste syntax error.
|
2017-04-20 00:14:29 +01:00 |
|
Emmanuel Gil Peyrot
|
fc7a0517d3
|
Replace assert!()s with proper errors in parsers.
|
2017-04-19 23:41:54 +01:00 |
|
Emmanuel Gil Peyrot
|
6a0724d133
|
Add a MessagePayload trait, and implement it for Body and ChatState.
|
2017-04-19 23:21:53 +01:00 |
|
Emmanuel Gil Peyrot
|
948ecd7dd7
|
Add a body plugin.
|
2017-04-19 23:21:23 +01:00 |
|
Emmanuel Gil Peyrot
|
4f31727a1a
|
Add an In-Band Bytestream parser.
|
2017-04-19 21:52:14 +01:00 |
|
Emmanuel Gil Peyrot
|
31a7d8be23
|
disco: Drop some unneeded derived traits from Feature.
|
2017-04-19 21:50:14 +01:00 |
|
Emmanuel Gil Peyrot
|
69f1405b9c
|
Add a chatstate parser.
|
2017-04-19 19:15:57 +01:00 |
|
Emmanuel Gil Peyrot
|
fdc76eca3c
|
Add a ping parser.
|
2017-04-19 18:59:07 +01:00 |
|
Emmanuel Gil Peyrot
|
87cd047a46
|
media_element: Import the namespace from ns.
|
2017-04-19 18:58:43 +01:00 |
|
Emmanuel Gil Peyrot
|
9d129701d0
|
jingle: Add an error when there is more than one <text/> in a <reason/>.
|
2017-04-19 02:38:10 +01:00 |
|
Emmanuel Gil Peyrot
|
9da488f909
|
Add a Jingle parser.
|
2017-04-19 02:27:42 +01:00 |
|
Emmanuel Gil Peyrot
|
82fa22cd06
|
disco: Rename misnamed variable.
|
2017-04-19 02:27:33 +01:00 |
|
Emmanuel Gil Peyrot
|
9cf1521775
|
Hello world!
|
2017-04-18 20:44:36 +01:00 |
|