Commit graph

237 commits

Author SHA1 Message Date
Aaron Weiss
6d6e8e1765 Eliminated usage of MemWriter in tests. 2015-02-17 13:32:19 -05:00
Aaron Weiss
ed1c047124 Added unit test for #14. 2015-02-17 13:28:53 -05:00
Aaron Weiss
9a4418762c Cleaned up line-wrapping after #14. 2015-02-17 13:27:16 -05:00
Aaron Weiss
d6d332b6aa Simplified existing test. 2015-02-17 13:26:45 -05:00
Aaron Weiss
a820310b9c Clean up after #14. Updated test config script. 2015-02-17 13:20:59 -05:00
Filipe Gonçalves
62fa0fe524 Added config support to set umodes on connect. 2015-02-17 17:56:06 +00:00
Aaron Weiss
99f0789d35 Updated tests and examples for Rust master. 2015-02-13 10:58:40 -05:00
Aaron Weiss
2f79f180d8 Updated for Rust master. 2015-02-03 13:11:33 -05:00
Aaron Weiss
d63b1ab84e Added feature tags to eliminate warnings. 2015-01-30 12:22:08 -05:00
Aaron Weiss
7fe36d8fd4 Updated stabliziation. 2015-01-30 11:50:03 -05:00
Aaron Weiss
147af6c437 std::io -> std::old_io 2015-01-28 12:19:02 -05:00
Aaron Weiss
95c466056f Fixed compilation on Rust master. 2015-01-24 16:18:32 -05:00
Aaron Weiss
da29644eb1 Updated code for line-wrapping. 2015-01-13 04:07:04 -05:00
Aaron Weiss
87fde7b212 list_users(...) now just returns None when nochanlists is enabled. 2015-01-13 03:59:04 -05:00
Aaron Weiss
8a4a7d3414 Added more stability markers. 2015-01-13 03:51:18 -05:00
Aaron Weiss
2a8170b3ba Updated stability markers more. 2015-01-13 03:37:38 -05:00
Aaron Weiss
fb7853fbcd Changed config.json to client_config.json. 2015-01-13 03:01:18 -05:00
Aaron Weiss
c9a767c8ff Refactored library in preparation for server work. 2015-01-13 02:39:59 -05:00
Will Hipschman
32900f8d49 Add nochanlists feature.
This feature will disable user tracking including joins, parts, and modes.  This is useful for bots on severely crowded channels (tens of thousands of users) that have no need for maintaining a list of users.
2015-01-10 21:14:08 -08:00
Aaron Weiss
ef2dc880e2 Fixed compilation with no default features and bumped version to 0.7.11. 2015-01-09 19:24:02 -05:00
Aaron Weiss
3cc79c7d31 Fixed small bug and bumped version to 0.7.10. 2015-01-09 19:15:49 -05:00
Aaron Weiss
768c6f556f Updated to 0.7.9 and re-evaluated library stabilization. 2015-01-09 18:36:22 -05:00
Aaron Weiss
d0b54f8119 Updated for Rust master. 2015-01-09 17:38:46 -05:00
Aaron Weiss
e3365d235e Updated for Rust master. 2015-01-08 12:51:40 -05:00
Aaron Weiss
dba24dc5cd Removed old orphan check. 2015-01-06 18:37:54 -05:00
Peter Atashian
b2a1f2a6b9 closure syntax
Signed-off-by: Peter Atashian <retep998@gmail.com>
2015-01-06 05:33:40 -05:00
Aaron Weiss
01b2e218cd Fixed compilation for rust master. 2015-01-04 14:22:24 -05:00
Aaron Weiss
4e41d5a80d Fixed test compilation. 2015-01-04 01:24:08 -05:00
Aaron Weiss
2dc47006ce Fixed compilation for rust master. 2015-01-04 01:18:26 -05:00
Aaron Weiss
48788fee5f Added get_source_nickname() to Message. 2015-01-02 15:20:26 -05:00
Aaron Weiss
dace078b1c Updated for mutex changes. 2015-01-01 20:40:58 -05:00
Aaron Weiss
dbd0e4b65b More clean-up around ToMessage, and removed debug messages from CTCP
implementation.
2014-12-31 20:26:44 -05:00
Aaron Weiss
a6146bc135 Clean up after #11, including unit tests. 2014-12-31 20:05:10 -05:00
Simon Bernier St-Pierre
ed84a41e57 Implement ToMessage for Command and Message and use ToMessage in Connection. 2014-12-31 18:39:00 -05:00
Aaron Weiss
5a59945ffc Updated travis build file and added doc notes about CTCP requiring CTCP
feature.
2014-12-23 13:32:35 -05:00
Aaron Weiss
b9357ee671 Fixed CTCP tests. 2014-12-23 13:31:10 -05:00
Aaron Weiss
4fdf801fb3 Updated away from deprecated code in library. 2014-12-23 12:53:30 -05:00
Aaron Weiss
b44ff8b196 Fixed build. 2014-12-23 12:15:41 -05:00
Aaron Weiss
06cd54f39e Added CTCP response tests. 2014-12-22 17:24:56 -05:00
Aaron Weiss
fdfe03d1b2 Added colons to fix tests. 2014-12-22 17:15:35 -05:00
Aaron Weiss
ddda80d00e Added tests for sending CTCP requests. 2014-12-22 17:11:54 -05:00
Aaron Weiss
2cd160a72f Added commands to send CTCP requests as per #7. 2014-12-22 16:43:37 -05:00
Aaron Weiss
1b51c69a23 Added CTCP feature with automatic responses to a set of CTCP commands
as per #7.
2014-12-22 16:35:56 -05:00
Aaron Weiss
86a5faaa1d Reconnection no longer requires mutability, Wrapper now has
send_quit(...).
2014-12-20 20:12:29 -05:00
Aaron Weiss
49c96e9ece Removed unnecessary constructors that set timeouts on construction. 2014-12-20 17:57:55 -05:00
Aaron Weiss
5d45515578 Added set_timeout to Connection. 2014-12-20 17:53:27 -05:00
Aaron Weiss
3173accaa8 Added set_keepalive to Connection and the ability to reconnect to a
server.
2014-12-20 17:36:48 -05:00
Aaron Weiss
70031aa8d8 ServerIterator now iterates over IoResults. 2014-12-20 16:50:54 -05:00
Aaron Weiss
d76dd610de Fixed compilation, and updated README. 2014-12-19 10:48:59 -05:00
Aaron Weiss
467559b478 Changed behavior when using encoding to not fail on improperly encoded
text.
2014-12-17 01:31:24 -05:00
Aaron Weiss
0ec3f1f282 Updated to using #[deriving(Copy)]. 2014-12-14 19:21:14 -05:00
Aaron Weiss
e070639ffe Updated for explicit Copy implementations. 2014-12-13 03:24:41 -05:00
Aaron Weiss
7464dc2f0f No longer tries to identify without a password, and added a test for
nickserv identification.
2014-12-09 17:25:22 -05:00
Aaron Weiss
3146d6a87f Fixed nickserv identification. 2014-12-09 17:15:53 -05:00
Aaron Weiss
f9cb41fff3 Moved nickserv registration to just before channel joining. 2014-12-09 17:11:02 -05:00
Aaron Weiss
398cda4af6 Implemented password support for nickservs as per #9. 2014-12-09 17:01:47 -05:00
Aaron Weiss
31281d2820 Added support for connecting to a password-protected server. 2014-12-09 16:17:05 -05:00
Aaron Weiss
bdb04d693b Updated examples for if let addition, and a failure test with a message. 2014-12-08 15:00:10 -05:00
Aaron Weiss
5ec5ec29eb Updated for language changes. 2014-12-08 03:34:13 -05:00
Aaron Weiss
a222989cb4 Implemented #4 as a list of alternate nicknames. 2014-12-06 18:49:07 -05:00
Aaron Weiss
6b294036f2 Simplified config tests and added rustdoc test for README.md. 2014-12-05 10:27:58 -05:00
Aaron Weiss
3387f5d587 Updated configuration to be a lot more fluid, and easier to work with. 2014-12-04 21:04:22 -05:00
Aaron Weiss
3b5bf55d0c Updated for language changes. 2014-12-04 12:57:07 -05:00
Aaron Weiss
4cd500d892 Updated encoding library for language changes. 2014-12-04 12:54:25 -05:00
Aaron Weiss
afd14cb20a Completed #3 by taking advantage of new support for capabilities
protocol.
2014-12-02 16:35:34 -05:00
Aaron Weiss
8b72503e7d Added support for CAP and IRCv3 capabilities extension. 2014-12-02 14:41:09 -05:00
Aaron Weiss
116ac10e48 Improved access level tracking as per #3, but more improvements are
necessary still.
2014-12-02 14:10:33 -05:00
Aaron Weiss
b05994e65c Fixed typo in SSL implementation that went unnoticed. 2014-12-01 18:34:39 -05:00
Aaron Weiss
0588de82e0 Fixed encode tests. 2014-12-01 18:20:29 -05:00
Aaron Weiss
40d8f09528 Separated reading and writing once more, thanks to changes in
rust-openssl.
2014-12-01 18:17:03 -05:00
Aaron Weiss
da30e4bccd Updated handle_message(...) to use Response everywhere as needed. 2014-12-01 16:12:19 -05:00
Aaron Weiss
4a48093905 handle_command(...) implementation now uses responses, unit tests for
responses are now lincuded.
2014-12-01 14:32:45 -05:00
Aaron Weiss
7a4e1675b2 Added server response codes. 2014-12-01 14:19:14 -05:00
Aaron Weiss
faf54e1b52 Added warning for missing docs, and added missing docs. 2014-12-01 13:53:22 -05:00
Aaron Weiss
b4cda39134 Made encoding into a feature as encode. 2014-11-30 03:30:10 -05:00
Aaron Weiss
7b22fada51 Fixed SSL feature compilation. 2014-11-30 01:32:53 -05:00
Aaron Weiss
098f9dbbff Added support for non-unicode encodings. 2014-11-30 01:29:38 -05:00
Aaron Weiss
73fe293659 Added method to get options from Config options map. 2014-11-29 05:49:20 -05:00
Aaron Weiss
41c824ce47 Unused timeout variable is now unbound in connect_ssl_internal when
compiled without SSL support.
2014-11-29 04:57:38 -05:00
Aaron Weiss
575d37525a Fixed SSL timeout implementation. 2014-11-29 04:57:01 -05:00
Aaron Weiss
ebab05a6b8 Added the ability to set timeouts for live connections. 2014-11-29 04:52:50 -05:00
Aaron Weiss
74528c9d4c Added note in documentation about Wrappers not being thread-safe
currently.
2014-11-29 03:02:11 -05:00
Aaron Weiss
b199480025 Updated reference in Wrapper for RFC 248. 2014-11-29 02:58:05 -05:00
Aaron Weiss
d7517c9666 Updated license in lib.rs 2014-11-29 00:33:22 -05:00
Aaron Weiss
308a506d8f Stability annotations for user. 2014-11-29 00:32:35 -05:00
Aaron Weiss
7ee83a9b2d Added extra unit tests to User. 2014-11-28 17:12:02 -05:00
Aaron Weiss
ca3d52201d The nickname of Users is now accessible. 2014-11-28 16:47:29 -05:00
Aaron Weiss
09fa19a3d0 Collapsed feature attribute into one line. 2014-11-22 04:15:38 -05:00
Aaron Weiss
2ab1f65e1f Added send_notice(...) to Wrappers. 2014-11-19 22:02:52 -05:00
Aaron Weiss
b1a29523cd Reformatted code, and fixed compilation of tests for enum changes. 2014-11-18 19:15:29 -05:00
Aaron Weiss
18646ae291 Updated library for changes to enumerations. 2014-11-18 19:00:18 -05:00
Aaron Weiss
df0f05f4be Removed more unnecessary lifetime annotations. 2014-11-13 21:20:24 -05:00
Aaron Weiss
7c6843052f Removed unnecessary explicit lifetimes from IrcServer. 2014-11-13 21:18:23 -05:00
Aaron Weiss
dd6b6eebd3 Completed channel user list tracking. 2014-11-12 00:51:40 -05:00
Aaron Weiss
4e40fd8218 Started working on user tracking, but it's currently very broken. 2014-11-11 01:24:01 -05:00
Aaron Weiss
3f0c3ba175 Made documentation improvements. 2014-11-08 23:21:55 -05:00
Aaron Weiss
95234df31f Refactored library to be Stream-based, added a wrapper to create streams out of Buffers and Writers, and completed SSL support. 2014-11-08 23:07:57 -05:00
Aaron Weiss
a903dd9571 Added SSL support, but it's broken because of the duplicate SslStream creations. 2014-11-08 17:35:19 -05:00
Aaron Weiss
09f426cad5 Added unit tests for wrapper functionality. 2014-11-07 12:36:51 -05:00
Aaron Weiss
7d53e298ca Added license attribute to lib.rs. 2014-11-06 21:38:37 -05:00