Commit graph

379 commits

Author SHA1 Message Date
Aaron Weiss
8fa6f85001
Changed outgoing future to panic on error (since the code currently does
that anyway).
2017-06-27 14:26:04 -07:00
Aaron Weiss
7712a5536b
Readded current_nickname to IrcServer interface (fixes #91). 2017-06-25 19:36:38 -07:00
Aaron Weiss
c841e2cca9
Changed server tests to using for_each_incoming. 2017-06-25 05:58:13 -04:00
Aaron Weiss
1c0ccd11a9
Updated docs for ping_time and ping_timeout. 2017-06-25 05:45:30 -04:00
Aaron Weiss
196d6425bd
Purged try! from code (replaced with ?). 2017-06-25 05:06:35 -04:00
Aaron Weiss
52035bd31e
Added EachIncomingExt to prelude. 2017-06-25 05:02:27 -04:00
Aaron Weiss
b95ed76088
Extended for_each_incoming to all IRC streams, and added the error to
the return type.
2017-06-25 04:58:08 -04:00
Aaron Weiss
cfafb39ed9
Added a response_target helper function (suggested in #44). 2017-06-25 04:47:45 -04:00
Aaron Weiss
bd5253016e
Added ChannelExt to prelude. 2017-06-25 04:47:09 -04:00
Aaron Weiss
30468870bf
Refactored ChannelExt into its own module. 2017-06-25 04:46:20 -04:00
Aaron Weiss
a7a20efb0c
Fixed docs for JOIN (fixes #90). 2017-06-25 04:23:56 -04:00
Aaron Weiss
1c98b4a5ea
Added documentation and a better error message for second calls to
stream().
2017-06-24 22:18:16 -04:00
Aaron Weiss
41632b10af
Both sides of the transport now error on ping timeout. 2017-06-22 17:33:29 -04:00
Aaron Weiss
4d9d015f84
Fixed CTCP VERSION test. 2017-06-22 16:07:52 -04:00
Aaron Weiss
1030f51b46
Improved top-level module documentation. 2017-06-22 16:04:09 -04:00
Aaron Weiss
bfb14c0446
Fixed bug with response documentation. 2017-06-22 16:02:03 -04:00
Aaron Weiss
2055603a5d
Changed CTCP VERSION to include the real version number by default. 2017-06-22 15:04:27 -04:00
Aaron Weiss
ec8fdeb2e9
Reorganized imports into a consistent style. 2017-06-22 14:15:55 -04:00
Aaron Weiss
eecbe1630c
Refactored Mode API into its own module and added it to prelude. 2017-06-22 14:15:55 -04:00
Aaron Weiss
d9f4f82051
Implemented new Mode API (fixes #48). 2017-06-22 13:59:18 -04:00
Aaron Weiss
54326e0047
Reformatted conn and transport. 2017-06-22 10:46:40 -04:00
Aaron Weiss
2035739aa5
Added RPL_ISUPPORT, and moved RPL_BOUNCE. Fixes #87. 2017-06-22 10:01:51 -04:00
Aaron Weiss
89b3c7b29d
Changed library to accept case insensitive commands (fixes #45). 2017-06-21 23:55:17 -04:00
Aaron Weiss
536521e349
Fixed bug with SSL domain verification. 2017-06-21 23:35:00 -04:00
Aaron Weiss
b277db71e0
Fixed test compilation. 2017-06-21 23:24:11 -04:00
Aaron Weiss
254f5bb048
Added ability to specify SSL certificate in DER format (fixes #67). 2017-06-21 23:21:03 -04:00
Aaron Weiss
c0af567258
Cleaned up imports and prelude. 2017-06-21 22:14:15 -04:00
Aaron Weiss
8c9a1aca2c
Added for_each_incoming helper to Server. 2017-06-21 22:07:53 -04:00
Aaron Weiss
514a08d838
Fixed compilation for no default features. 2017-06-21 21:52:28 -04:00
Aaron Weiss
86e224b8aa
Fixed unit tests for async changes. 2017-06-21 21:50:38 -04:00
Aaron Weiss
77d44a5055
Added two config fields for testing purposes. 2017-06-21 19:19:58 -04:00
Aaron Weiss
2087e83e79
Removed tokio-service dependency, added tokio-mockstream. 2017-06-21 19:07:59 -04:00
Aaron Weiss
3369ef5ff2
Cleaned up code and added documentation. 2017-06-21 17:15:30 -04:00
Aaron Weiss
073b82feec
Replaced old conn.rs with async.rs. 2017-06-21 16:55:37 -04:00
Aaron Weiss
c363dc7837
Migrated real IrcServer API to be async based on experiment. 2017-06-21 16:53:28 -04:00
Aaron Weiss
6118516951
Fixed bug in line protocol. 2017-06-21 16:50:54 -04:00
Aaron Weiss
7d3e923de8
Added a first real cut at async. 2017-06-21 13:18:22 -04:00
Aaron Weiss
cc1aa5717e
Migrated to using error_chain. 2017-06-20 14:54:06 -04:00
Aaron Weiss
1ca609331c
Added reexports to the proto module. 2017-06-20 11:48:42 -04:00
Aaron Weiss
e7440d9b23
Made some small assorted changes. 2017-06-20 11:48:13 -04:00
Aaron Weiss
1c1e4af311
Updated tests to compile. 2017-06-19 14:42:27 -04:00
Aaron Weiss
cf3ee671ed
Merge branch 'master' into async 2017-06-19 14:33:02 -04:00
Aaron Weiss
e5e33e9069
Fixed bug when compiling with no-default-features. 2017-06-19 14:19:57 -04:00
Manish Goregaokar
02f9968b0c
Update OpenSSL to 0.9. 2017-06-19 14:11:57 -04:00
Aaron Weiss
f0f0b95038
Ran rustfmt on all the code. 2017-06-19 13:59:26 -04:00
Aaron Weiss
388628d62a
Applied a bunch of clippy lints. 2017-06-19 13:46:01 -04:00
Torbjörn Lönnemark
1c84b699d4 Add support for RPL_TOPICWHOTIME (numeric 333) 2017-06-15 21:20:17 +02:00
Torbjörn Lönnemark
e33248f043 Replace rustc-serialize with serde
rustc-serialize is deprecated.

Fixes #84.
2017-06-14 22:20:31 +02:00
TheMightyBuzzard
c6efd4d9f0 Properly remove users from channels on quit 2017-06-06 04:37:25 -05:00
Aaron Weiss
9a2222d802
Updated Tokio protocol code. 2017-05-26 14:09:09 +02:00