Commit graph

713 commits

Author SHA1 Message Date
Ratys
bdeb7054b3 Removed PackedIrcClient, IrcClientFuture:
They are redundant now, and are dead code;

Cleaned up unused imports.
2018-06-08 22:18:40 +03:00
Ratys
5275e79971 Rewrote conn module to utilize impl Future in return position:
Changed all involved structs to take `Config`s, rather than borrow them - this is due to `'static` requirement that is bound to crop up somewhere, when spawning a future into a reactor/runtime.

Updated examples and docs to reflect the change.
2018-06-08 22:00:49 +03:00
Ratys
bfb8bf5a1b Partial rewrite to utilize impl Future in return position:
Changed return types relevant methods of `conn` module; no implementation changes;

Rewrote relevant methods of `reactor` and `client`.
2018-06-08 17:25:57 +03:00
Ratys
b5a575966f Partially moved from tokio_core to tokio, removed handle args:
Migrated `conn` and `client` modules to `tokio` types;

Removed `handle` arguments and fields in `reactor`, `conn` and `client` modules;

Removed unused imports of `Handle`, updated doctest.
2018-06-08 17:24:26 +03:00
Ratys
efd13d5a13 Added dependency on tokio 0.1. 2018-06-08 16:41:13 +03:00
Aaron Weiss
7d8feafb52
Documented panic condition for client registration with a reactor. 2018-05-14 20:53:06 +02:00
Aaron Weiss
5bd349f8ff
Added more documentation to send_privmsg about line splitting. 2018-05-11 22:28:18 +02:00
Aaron Weiss
4e9b1ece19
Improved documentation of the IrcTransport. 2018-05-05 16:22:33 +02:00
Aaron Weiss
0e53b979bc
Added a bunch of additional comments and documentation to irc::client. 2018-05-05 16:01:59 +02:00
Aaron Weiss
0235c71268
Added current nickname tracking (fixes #125). [BREAKING] 2018-05-05 15:12:29 +02:00
Aaron Weiss
b452921a03
Made IrcCodec::sanitize part of the public API and improved documentation a bit. 2018-05-05 13:52:51 +02:00
Aaron Weiss
625b59d605
Fixed the tests in irc_proto::colors. 2018-05-05 13:49:47 +02:00
Aaron Weiss
c97469d630
Moved irc::proto::colors into irc-proto crate. 2018-05-05 13:48:35 +02:00
Aaron Weiss
3003d9bdcc
Put the tokio codec (IrcCodec) behind a tokio feature. 2018-05-05 13:37:36 +02:00
Aaron Weiss
62fc67ce19
Changed travis script to test irc-proto too. 2018-05-05 13:37:36 +02:00
Aaron Weiss
3df2c49074
Fixed tests for irc-proto. 2018-05-05 13:37:36 +02:00
Aaron Weiss
fcadf49d31
Added some more irc-proto metadata to Cargo.toml from publishing placeholder. 2018-05-05 13:37:36 +02:00
Aaron Weiss
11f86aedc3
Fixed irc crate to use irc-proto crate now. 2018-05-05 13:37:36 +02:00
Aaron Weiss
70b7349c24
Fixed up split out irc-proto crate. 2018-05-05 13:37:36 +02:00
Aaron Weiss
f1f63223e8
Minimized dependencies for irc-proto. 2018-05-05 13:37:35 +02:00
Aaron Weiss
991e030a4f
Started splitting out proto into its own crate. 2018-05-05 13:37:32 +02:00
Aaron Weiss
a8a48bf4a1
Changed reference to my account in contributing docs to an actual link. 2018-05-02 14:21:45 +02:00
Aaron Weiss
6569f079c7
Added a section to the contributing docs about mentoring. 2018-05-02 14:20:37 +02:00
Aaron Weiss
88233f8e2d
Removed spacemacs shilling from README.
I still love you, spacemacs, but the header is too long on crates.io
2018-04-22 01:20:58 +02:00
Aaron Weiss
61e1f16c21
Added the is-it-maintained badges to Cargo.toml. 2018-04-22 01:16:32 +02:00
Aaron Weiss
af16961037
Merge pull request #134 from freddyb/color-problems
parse 2nd color digit only if within (0..16)
2018-04-22 01:14:30 +02:00
Frederik B
5833403ffd parse 2nd color digit only if within (0..16) 2018-04-21 20:12:21 +02:00
Aaron Weiss
4fe5862632
Merge pull request #133 from freddyb/add-formattedstring
add support for formatted strings (fixes #130)
2018-04-15 22:41:59 +02:00
Frederik B
30dd756588 add tests for formatted strings (#130) 2018-04-15 22:33:56 +02:00
Frederik B
654b759c02 add support for formatted strings (fixes #130) 2018-04-14 23:15:00 +02:00
Aaron Weiss
266cbe97aa
Merge pull request #132 from xlexi/develop
Implement CertFP
2018-03-31 21:24:29 +02:00
Alex S. Glomsaas
e80a0f3a89 Implement CertFP
resolves #131
2018-03-31 21:09:42 +02:00
Aaron Weiss
f2e10001c0
Improved the documentation for Config. 2018-03-31 16:22:07 +02:00
Aaron Weiss
30288c51f8
Made README just a little bit better for docs links. 2018-03-31 16:03:19 +02:00
Aaron Weiss
cba63a80c6
Bumped version to 0.13.5. 2018-03-31 15:39:24 +02:00
Aaron Weiss
845ca63416
Track users who are kicked out of channels (fixes #127). 2018-03-31 15:39:02 +02:00
Aaron Weiss
cef0462859
Added a regression test for sending raw messages (see #128). 2018-03-31 15:39:02 +02:00
Aaron Weiss
7680227222
Sanitize messages later to stop the problematic round-trip parsing. 2018-03-31 15:39:01 +02:00
Aaron Weiss
221997007f
Bumped version to 0.13.4. 2018-03-31 15:39:01 +02:00
Aaron Weiss
bc235a2871
Merge pull request #124 from panicbit/client_handler_mut_fn
Use FnMut for registering client handlers
2018-03-26 10:02:02 +02:00
panicbit
e514c97688 Use FnMut for registering client handlers 2018-03-26 08:53:38 +02:00
Aaron Weiss
9f15041d01
Added playbot_ng to the README 2018-03-26 04:06:33 +02:00
Aaron Weiss
e7e1149bee
Merge pull request #123 from isra17/develop
Fix wrong RPL numeric formatting
2018-03-13 18:28:59 +01:00
isra17
121e2cc844
Fix wrong RPL numeric formatting 2018-03-13 13:18:58 -04:00
Aaron Weiss
7af436a7d2
Added a downloads count badge to README because why not? 2018-03-07 19:43:56 +01:00
Aaron Weiss
cad03f81e6
Revert "Added code coverage with cargo-travis."
It seems to hit an internal compiler error, so, that's not a great plan.

This reverts commit 5612c50f5a.
2018-02-26 20:09:37 +01:00
Aaron Weiss
5612c50f5a
Added code coverage with cargo-travis. 2018-02-26 19:46:30 +01:00
Aaron Weiss
4921127372
Changed ping logic to eliminate a rare panic under heavy load (fixes #120). 2018-02-23 21:08:38 +01:00
Aaron Weiss
c78770f763
Added a custom error that wraps failure::Error to add error possibilities for API consumers. 2018-02-21 14:30:27 +01:00
Aaron Weiss
4509336d74
Fixed config tests after Config::get_option API change. 2018-02-21 12:23:54 +01:00