Eunchong Yu
8d07c117bb
Polish the parser
2018-09-01 06:51:25 +09:00
Eunchong Yu
c311d37902
Use macro
2018-09-01 06:51:25 +09:00
Eunchong Yu
e7fe08f29d
Make is_formatted simple
2018-09-01 06:51:24 +09:00
Eunchong Yu
b108c833bb
Reduce allocation more
...
String::strip_formatting will do most of operations in place.
2018-09-01 06:51:24 +09:00
Eunchong Yu
4feafc681a
Reduce memcpy case in strip_formatting
...
This makes the return type of FormattedStringExt::strip_formatting
more meaningful.
Drawbacks:
In theory, it breaks backward compatbility due to the shape of
FormattedStringExt trait was changed. But I expected it's not the
problem for the most case because it's rare to implement that trait
while using this library.
2018-09-01 06:51:24 +09:00
Eunchong Yu
c7c65ef671
Fix infinite recursive calls
...
It reverts #137 .
2018-09-01 06:51:24 +09:00
Aaron Weiss
45deaa0978
Merge pull request #146 from Kroisse/fix/develop/deprecations
...
Fix deprecated codes
2018-08-27 19:27:08 -04:00
Eunchong Yu
8ffac6bef0
Replace deprecated tokio_io::codec to tokio_codec
2018-08-19 09:18:50 +09:00
Eunchong Yu
1cf7744156
Clarify to prevent unintended recursions
2018-08-19 08:54:22 +09:00
Eunchong Yu
12003c880c
Remove deprecated AsciiExt
2018-08-19 08:50:38 +09:00
Eunchong Yu
6f2820d7f6
Upgrade log to 0.4
2018-08-19 08:45:15 +09:00
Aaron Weiss
abbf1eafcb
Added notes for PRIVMSG and NOTICE about responses (re: #144 ).
2018-08-16 12:18:05 -04:00
Aaron Weiss
1abed4c552
Removed some langauge that I don't like (simple, easy).
2018-08-08 20:13:50 -04:00
Aaron Weiss
b5b035faa7
Switched all the examples to use #rust-spam on irc.mozilla.org.
2018-07-10 04:15:08 +02:00
Aaron Weiss
3aba7250b0
Moved Travis CI bot to pdgn.co.
2018-07-10 03:36:18 +02:00
Aaron Weiss
791edb2bd7
Added a small optimization (suggested in tokio guide) to LineCodec
.
2018-06-05 20:04:06 +02:00
Aaron Weiss
d4283f6071
Rewrapped comments in tooter.rs.
2018-05-27 23:24:37 +02:00
Aaron Weiss
a23f3417f1
Added the tooter example, an async version of tweeter.
2018-05-27 23:17:31 +02:00
Aaron Weiss
88b7b5f18b
Merge pull request #137 from freddyb/patch-1
...
Remove unnecessary [..]
2018-05-16 23:01:15 +02:00
Frederik B
acc6d7f0f0
Remove unnecessary [..]
...
Replaces (&self[..]).strip_formatting() with (&self).strip_formatting() in `impl FormattedStringExt for String`
2018-05-16 11:15:43 +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
Aaron Weiss
7d744529e6
Eliminated possible panics in Config::get_option.
2018-02-21 12:17:41 +01:00