Commit graph

115 commits

Author SHA1 Message Date
Aaron Weiss
d6786936fa
Fixed the code that shouldn't have worked without AsciiExt. 2018-01-28 01:59:47 +01:00
Aaron Weiss
e4d441695e
Merge branch 'use-failure' into develop 2018-01-28 01:16:38 +01:00
Aaron Weiss
afe3558880
Cleaned up a bunch of code with clippy. 2018-01-28 01:14:55 +01:00
Aaron Weiss
5266e4098d
Refactored the whole crate to use failure. 2018-01-28 00:52:11 +01:00
Aaron Weiss
8782f66de4
Merge branch 'irc-reactor' into develop 2018-01-27 21:19:38 +01:00
Aaron Weiss
de6e5f331d
Added debug derivations for irc::client types (fixes #104). 2018-01-27 20:39:35 +01:00
Aaron Weiss
ce158fc612
Made unspecified server or nickname into errors instead of simply panics. 2018-01-27 20:26:56 +01:00
Aaron Weiss
67cca339a7
Eliminated a panic that can occur when using IrcServerFuture, and recommend using IrcReactor instead. 2018-01-27 19:50:48 +01:00
Aaron Weiss
fd4e5706eb
Added more documentation for IrcReactor, and made new_future internal-only. 2018-01-27 19:26:48 +01:00
Aaron Weiss
fbe17978fc
Removed trailing whitespace in documentation. 2018-01-24 12:21:03 +01:00
Aaron Weiss
a7ae091ff5
Moved connection creation sooner for better error handling in IrcServer::from_config. 2018-01-08 23:19:29 -05:00
Aaron Weiss
452645a56f
Fixed compilation error with no-default-features. 2018-01-01 23:07:10 -05:00
Aaron Weiss
a0d0d3e249
Cleaned up a bunch of code with clippy. 2018-01-01 22:25:25 -05:00
Aaron Weiss
6348ad0567
Fixed broken links in some documentation. 2017-12-24 21:22:51 -05:00
Aaron Weiss
7625c364a6
Added logging support via the log crate. 2017-12-12 14:02:45 +01:00
Aaron Weiss
dc55d08996
Fixed some typographical errors in new documentation. 2017-11-16 17:26:46 +01:00
Aaron Weiss
899accaa2f
Improved the documentation for irc::client::server. 2017-11-16 15:54:08 +01:00
Aaron Weiss
c992fbdf77
Fixed deprecation warnings. 2017-10-02 17:00:46 +02:00
Aaron Weiss
e220e90c58
Added the ability to create a new IrcServer without spawning a thread. 2017-08-15 14:00:32 -04:00
Aaron Weiss
ccefda229b
Switched from time to chrono. 2017-06-28 22:24:23 -07:00
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
196d6425bd
Purged try! from code (replaced with ?). 2017-06-25 05:06:35 -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
1c98b4a5ea
Added documentation and a better error message for second calls to
stream().
2017-06-24 22:18:16 -04:00
Aaron Weiss
4d9d015f84
Fixed CTCP VERSION test. 2017-06-22 16:07:52 -04:00
Aaron Weiss
ec8fdeb2e9
Reorganized imports into a consistent style. 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
89b3c7b29d
Changed library to accept case insensitive commands (fixes #45). 2017-06-21 23:55:17 -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
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
cc1aa5717e
Migrated to using error_chain. 2017-06-20 14:54:06 -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
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
TheMightyBuzzard
c6efd4d9f0 Properly remove users from channels on quit 2017-06-06 04:37:25 -05:00
Aaron Weiss
38c7ed2c71
Changed Server API to provide channel lists, and fixed channel tracking
to work with user PARTs.
2017-05-25 17:27:00 +02:00
Aaron Weiss
f3fb23d755
Added input sanitization to prevent newline injection (fixes #80). 2017-05-02 19:47:16 -04:00
TheMightyBuzzard
9706d93968 track nick changes
Client did not track nick changes. This solves that, although admittedly in a rather inefficient way.
2017-04-11 07:29:33 -05:00
Dominik Miedziński
fcb0c1da64 Use CTCP VERSION and SOURCE replies from Config 2017-03-22 22:06:43 +01:00
Aaron Weiss
6a0f2a184f
Merge branch 'master' into async 2017-03-15 12:44:46 -04:00
Aaron Weiss
c402371450 Merge pull request #75 from miedzinski/fix-warnings
Remove unused imports and fix broken test
2017-03-15 12:35:27 -04:00
Dominik Miedziński
59b79c06cc Remove unused imports and fix broken test 2017-03-15 17:28:07 +01:00