Commit graph

2133 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
6c073aca3c rewrite the messaging plugin 2017-05-28 02:27:31 +01:00
lumi
1b2e4aca21 Merge branch 'update-xmpp-parsers' into 'master'
Update xmpp-parsers, needed by pending PRs

See merge request !16
2017-05-28 01:25:55 +00:00
Emmanuel Gil Peyrot
d4c118bad9 update xmpp-parsers, needed by pending PRs 2017-05-28 01:50:08 +01:00
Emmanuel Gil Peyrot
28eb4ff4ea Added tag v0.4.0 for changeset cca02eef486e 2017-05-28 01:49:05 +01:00
Emmanuel Gil Peyrot
fcfe1888e2 Release version 0.4.0. 2017-05-28 01:48:03 +01:00
Emmanuel Gil Peyrot
07fbc0adf1 ChangeLog: Add version 0.4.0. 2017-05-28 01:47:32 +01:00
Emmanuel Gil Peyrot
ee34bc1a86 jingle_s5b: Remove unused .to_owned() during serialisation. 2017-05-28 01:47:12 +01:00
lumi
d6a9e6e9ea implement ToAttributeValue on integral types, bump version 2017-05-28 00:25:57 +02:00
Emmanuel Gil Peyrot
6794b34714 Cargo.toml: Update minidom to 0.4.3 to use its new IntoAttributeValue implementation on numbers. 2017-05-27 23:18:15 +01:00
lumi
4166751828 bump version to 0.4.2 2017-05-28 00:02:26 +02:00
lumi
28d17381c6 Merge branch 'u32-u16-u8' into 'master'
Implement IntoAttributeValue for u32, u16 and u8

See merge request !10
2017-05-27 22:00:54 +00:00
Emmanuel Gil Peyrot
638866fa4c implement IntoAttributeValue for u32, u16 and u8 2017-05-27 22:56:17 +01:00
lumi
8f4361c8b1 Merge branch 'usize' into 'master'
Implement IntoAttributeValue for usize

See merge request !9
2017-05-27 21:53:23 +00:00
lumi
8ba7a332c1 Merge branch 'propagation' into 'master'
Fix some propagation issues

See merge request !15
2017-05-27 21:51:58 +00:00
Emmanuel Gil Peyrot
d63c7b991d implement IntoAttributeValue for usize 2017-05-27 22:45:22 +01:00
Emmanuel Gil Peyrot
a8c64e1d4a fix some propagation issues 2017-05-27 22:44:59 +01:00
lumi
ec31c2b4a3 make CI work, hopefully 2017-05-27 21:37:37 +00:00
lumi
cbff1a7e9b Merge branch 'ibb' into 'master'
Add an IBB plugin, implementing XEP-0047

See merge request !12
2017-05-27 21:32:01 +00:00
Emmanuel Gil Peyrot
b6408f77ca add myself to the authors 2017-05-27 22:24:16 +01:00
Emmanuel Gil Peyrot
070252bde3 remove unused stanza_error implementation 2017-05-27 22:24:16 +01:00
Emmanuel Gil Peyrot
1378ca3724 add an ibb plugin 2017-05-27 22:24:16 +01:00
Emmanuel Gil Peyrot
64c8027936 bump jid dependency to 0.2.1, which implements Hash on Jid 2017-05-27 22:24:16 +01:00
lumi
abaf16079c add linkmauve to authors, bump version to 0.2.1 2017-05-27 23:18:46 +02:00
lumi
83b0d6fa94 Merge branch 'hash' into 'master'
Implement the Hash trait on Jid

See merge request !3
2017-05-27 21:14:23 +00:00
Emmanuel Gil Peyrot
8e1d5e7983 disco: Make xml:lang a proper Option and rename it to lang. 2017-05-27 22:10:00 +01:00
lumi
f671ddd334 Merge branch 'unhandled-iq' into 'master'
Add an unhandled iq plugin

See merge request !13
2017-05-27 20:36:58 +00:00
Emmanuel Gil Peyrot
32380fe5a3 add an unhandled iq plugin 2017-05-27 21:20:17 +01:00
Emmanuel Gil Peyrot
4cca174f68 Implement the Hash trait on Jid. 2017-05-27 20:45:00 +01:00
lumi
6efc77b423 abstract plugin logic into PluginContainer 2017-05-27 20:33:56 +02:00
lumi
1b6b67b332 simplify plugin code 2017-05-27 19:40:00 +02:00
lumi
1550c52552 resolve deadlock, fix component.rs 2017-05-27 18:41:54 +02:00
lumi
b2a18f8e3e Merge branch 'stanza-debug' into 'master'
Add a stanza_debug plugin

See merge request !10
2017-05-27 16:29:05 +00:00
Emmanuel Gil Peyrot
967d3e3217 stop propagating when we are done with a stanza 2017-05-27 17:24:24 +01:00
Emmanuel Gil Peyrot
66bf10b941 add a stanza_debug plugin, printing every stanza on stdout 2017-05-27 17:22:53 +01:00
lumi
ac7c907e9f Merge branch 'master' of gitlab.com:lumi/xmpp-rs 2017-05-27 18:02:19 +02:00
lumi
11c99ec387 add register_handler to Client 2017-05-27 18:01:01 +02:00
lumi
09280ca8df Merge branch 'moar-xmpp-parsers' into 'master'
Moar xmpp-parsers

See merge request !9
2017-05-27 15:53:57 +00:00
Emmanuel Gil Peyrot
c48086bc9c rewrite the ping plugin to make it use the stanza plugin 2017-05-27 16:44:32 +01:00
Emmanuel Gil Peyrot
8e7b7ae31c simplify the presence plugin using xmpp-parsers 2017-05-27 16:37:21 +01:00
Emmanuel Gil Peyrot
ca882fd13a prevent the presence plugin from generating an illegal show element 2017-05-27 16:25:59 +01:00
Emmanuel Gil Peyrot
406dfdea98 initialise the StanzaPlugin in the client example 2017-05-27 16:25:31 +01:00
lumi
c326d5b07e fix up the event system, no more unsafe! 2017-05-27 16:56:44 +02:00
lumi
cdf665454f Merge branch 'new-event-system' into 'master'
Adapt new event system for component

See merge request !8
2017-05-27 13:21:05 +00:00
Emmanuel Gil Peyrot
d1a7d222f0 delay: Use chrono to parse the stamp. 2017-05-27 12:29:21 +01:00
Emmanuel Gil Peyrot
bdaced7603 caps, ecaps2: Add a function to create a Disco query from a hash. 2017-05-27 12:22:50 +01:00
Emmanuel Gil Peyrot
42235c42fb hashes: Implement From<Hash> for String. 2017-05-27 12:22:11 +01:00
Emmanuel Gil Peyrot
357568813d presence: Wire up legacy caps. 2017-05-27 12:21:32 +01:00
Emmanuel Gil Peyrot
2c77c4f701 idle: Add the chrono dependency to actually parse dates. 2017-05-27 12:20:19 +01:00
Emmanuel Gil Peyrot
dfdfd8cf71 Add a legacy caps parser and serialiser. 2017-05-25 02:34:03 +01:00
Emmanuel Gil Peyrot
764a7190e9 stanza_error: Simplify with IntoElements. 2017-05-25 01:14:36 +01:00