Commit graph

423 commits

Author SHA1 Message Date
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
Aaron Weiss
442115330e Refactored Command::from_message(...) to be more easily understood. 2014-11-06 20:54:51 -05:00
Aaron Weiss
2b7129c74a Rustdoc comments now end consistently in periods. 2014-11-06 15:23:02 -05:00
Aaron Weiss
8d37f71c3a Updated connect(...) with API changes for TcpStream. 2014-11-06 15:12:57 -05:00
Aaron Weiss
f229f4ebaf IrcServer::from_connection(...) no longer returns an IoResult. 2014-11-06 15:07:02 -05:00
Aaron Weiss
544ea11ab7 Added more unit tests for server. 2014-11-06 15:05:00 -05:00
Aaron Weiss
14f8f09374 Added iterator unit test and fixed a bug where parsing messages without suffixes caused them to incorrectly include a new line in their last argument. 2014-11-06 14:29:14 -05:00
Aaron Weiss
165e7969db Added some basic tests to newly redesigned library. Test coverage is still less than satisfactory. 2014-11-05 01:45:17 -05:00
Aaron Weiss
503f14ea5a Added more functionality to Wrapper. 2014-11-04 14:26:24 -05:00
Aaron Weiss
1f888281b0 Added exports to data module. 2014-11-03 16:41:30 -05:00
Aaron Weiss
6db71ded01 Provided access to internal connections where needed, and added multi-line support to send_privmsg(...). 2014-11-03 14:12:23 -05:00
Aaron Weiss
25532d145e Removed lifetime requirements from send_samode. 2014-11-03 13:51:21 -05:00
Aaron Weiss
039049ab32 Added documentation for Wrapper and utility functions. 2014-11-03 04:19:12 -05:00
Aaron Weiss
b3e0e2ea08 Refactored utilities into a Server Wrapper that provides added functionality. 2014-11-03 04:15:03 -05:00
Aaron Weiss
f0e3db4ce6 Added additional utilities. 2014-11-03 03:47:08 -05:00