Commit graph

1360 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
6ea175ad2e Cargo.toml: Update the hashing libraries. 2017-06-27 22:25:13 +01:00
Emmanuel Gil Peyrot
244c9b2710 presence: Remove unused import in tests. 2017-06-27 22:21:35 +01:00
Maxime “pep” Buquet
98878042dd Use the generate_attribute macro in muc::user 2017-06-27 00:14:40 +01:00
Maxime “pep” Buquet
27cf9a6298 muc::Muc and muc::MucUser 2017-06-26 23:07:12 +01:00
Emmanuel Gil Peyrot
8ac4602240 presence: Add a simpler way to create a Presence. 2017-06-26 19:49:16 +01:00
Emmanuel Gil Peyrot
ad1d4adcec message: Add a simpler way to create a Message. 2017-06-26 19:47:26 +01:00
Emmanuel Gil Peyrot
96fe2d200e roster: Fix group serialisation and add a test. 2017-06-25 23:27:38 +01:00
Emmanuel Gil Peyrot
4338d9d638 jingle_s5b: Make jid a Jid and not a String. 2017-06-25 22:20:24 +01:00
Emmanuel Gil Peyrot
f6b222f49a jingle_ibb: Strengthen sid’s type safety. 2017-06-25 22:15:18 +01:00
Emmanuel Gil Peyrot
a219501fed jingle, jingle_ft: Use the new generate_id! macro to simplify Sid/Cid generation. 2017-06-25 22:14:51 +01:00
Emmanuel Gil Peyrot
95a19b4bb4 lib: Implement a generate_id! macro. 2017-06-25 22:14:21 +01:00
Emmanuel Gil Peyrot
3ea0c45337 jingle_s5b: Strengthen type safety for ids. 2017-06-25 21:38:58 +01:00
Emmanuel Gil Peyrot
f428ee070d Add an IBR parser. 2017-06-25 21:03:48 +01:00
Emmanuel Gil Peyrot
a48565e171 data_forms: Fix FORM_TYPE, <title/> and <instructions/> serialisation. 2017-06-25 20:13:43 +01:00
Emmanuel Gil Peyrot
13e8507848 chatstates: Improve parsing. 2017-06-25 19:55:55 +01:00
Emmanuel Gil Peyrot
eca588ad6f Cargo.toml: Update the chrono dependency to 0.4.0. 2017-06-22 01:41:10 +01:00
Astro
1e2672ba50 impl stream for client 2017-06-20 21:27:10 +02:00
Astro
547902fe8f echo_bot: send presence 2017-06-19 02:35:21 +02:00
Astro
000f848dd0 consolidate debug output 2017-06-19 02:34:16 +02:00
Astro
8b7a49d03a client_bind: tighten match
this branch is specific to Async::NotReady
2017-06-19 02:33:01 +02:00
Astro
2e0dff5153 xmpp_codec: add Packet::Text 2017-06-19 02:17:06 +02:00
Astro
014633d119 add client_bind 2017-06-19 02:16:47 +02:00
Maxime “pep” Buquet
973a5ca659 Force channel binding to None 2017-06-17 22:47:07 +02:00
Emmanuel Gil Peyrot
17798190cf error: Implement fmt::Display and error::Error. 2017-06-17 03:36:12 +01:00
Emmanuel Gil Peyrot
6f69f2d7d9 jingle_ft: Parse <date/> into a proper DateTime. 2017-06-16 20:37:48 +01:00
lumi
cc2f47108d Merge branch 'println' into 'master'
Remove debug println in transport.rs

See merge request !27
2017-06-15 15:40:49 +00:00
Emmanuel Gil Peyrot
e7f0c45da5 jingle: Fix sid test. 2017-06-14 09:19:06 +01:00
Emmanuel Gil Peyrot
48d340120c jingle: Specialise Sid to get an increased type safety. 2017-06-14 02:28:42 +01:00
Emmanuel Gil Peyrot
216f6f8389 Fix build and compilation. 2017-06-14 01:57:02 +01:00
Emmanuel Gil Peyrot
393402032c jingle: Add a comment. 2017-06-14 00:59:37 +01:00
Astro
df423e5047 use jid 2017-06-14 01:55:56 +02:00
Emmanuel Gil Peyrot
ebc7582250 Move the Default implementation into more generate_attribute!. 2017-06-14 00:53:18 +01:00
Emmanuel Gil Peyrot
0f297d2d2d Add a generate_attribute! macro, and use it for the common case. 2017-06-14 00:50:57 +01:00
Astro
1d9790a1d8 stream_start: fix style 2017-06-13 23:52:41 +02:00
Emmanuel Gil Peyrot
9955c1131b ns: Remove now useless 'static lifetime. 2017-06-12 22:49:27 +01:00
Maxime “pep” Buquet
82bb3089e1 Remove debug println in transport.rs 2017-06-12 22:22:43 +01:00
Bastien Orivel
e00cfa2c2e Speedup jid parsing
name        control ns/iter  variable ns/iter  diff ns/iter   diff %  speedup
big_jids    638              456                       -182  -28.53%   x 1.40
small_jids  92               91                          -1   -1.09%   x 1.01
2017-06-12 23:11:37 +02:00
lumi
1f11796057 set version to 0.2.2 2017-06-12 22:28:14 +02:00
lumi
ce664554d6 Merge branch 'get__functions' into 'master'
Add get_ functions that return new truncated structs from the current one

See merge request !4
2017-06-12 17:37:55 +00:00
Maxime “pep” Buquet
2f59ca4b56 Fix doctests 2017-06-12 18:20:42 +01:00
Maxime “pep” Buquet
b69ecb31aa Renaming functions 2017-06-12 18:05:19 +01:00
Maxime “pep” Buquet
10ab104ea0 Better without clones 2017-06-12 17:46:06 +01:00
Maxime “pep” Buquet
072cba6a3e Add get_ functions that return new truncated structs from the current one 2017-06-12 17:41:07 +01:00
lumi
0dddceee19 Merge branch 'cache-disco' into 'master'
Cache caps and do disco#info

See merge request !26
2017-06-11 20:04:46 +00:00
Emmanuel Gil Peyrot
0fbe09ad59 add a plugin to query and cache caps 2017-06-11 19:36:55 +01:00
Emmanuel Gil Peyrot
1b21ebc6b0 add a disco result event to the disco plugin 2017-06-11 19:36:35 +01:00
lumi
51616ae1a5 Merge branch 'base64' into 'master'
Bump base64

See merge request !25
2017-06-11 14:54:34 +00:00
Emmanuel Gil Peyrot
8ee73e3a31 bump base64, improves performances and reduces unsafe code 2017-06-11 15:49:45 +01:00
lumi
a5f87494c2 Merge branch 'stanza-debug' into 'master'
Enable stanza_debug automatically when STANZA_DEBUG is set in the env

See merge request !21
2017-06-11 14:49:21 +00:00
Emmanuel Gil Peyrot
313e7a1770 add stanza_debug to client example when STANZA_DEBUG is in the env 2017-06-11 15:43:42 +01:00