Commit graph

  • 09fa19a3d0 Collapsed feature attribute into one line. Aaron Weiss 2014-11-22 04:15:38 -05:00
  • bc927056cc Backtracked to 0.1.0 (1.0 will be with Rust 1.0). Aaron Weiss 2014-11-21 15:06:07 -05:00
  • c84a7813a1 Updated Cargo.toml for crates.io, but the crate name is being squatted. Aaron Weiss 2014-11-21 15:01:41 -05:00
  • 2ab1f65e1f Added send_notice(...) to Wrappers. Aaron Weiss 2014-11-19 22:02:52 -05:00
  • b1a29523cd Reformatted code, and fixed compilation of tests for enum changes. Aaron Weiss 2014-11-18 19:15:29 -05:00
  • 18646ae291 Updated library for changes to enumerations. Aaron Weiss 2014-11-18 19:00:18 -05:00
  • df0f05f4be Removed more unnecessary lifetime annotations. Aaron Weiss 2014-11-13 21:20:24 -05:00
  • 7c6843052f Removed unnecessary explicit lifetimes from IrcServer. Aaron Weiss 2014-11-13 21:18:23 -05:00
  • dd6b6eebd3 Completed channel user list tracking. Aaron Weiss 2014-11-12 00:51:40 -05:00
  • 4e40fd8218 Started working on user tracking, but it's currently very broken. Aaron Weiss 2014-11-11 01:24:01 -05:00
  • 3f0c3ba175 Made documentation improvements. Aaron Weiss 2014-11-08 23:21:55 -05:00
  • 95234df31f Refactored library to be Stream-based, added a wrapper to create streams out of Buffers and Writers, and completed SSL support. Aaron Weiss 2014-11-08 23:07:57 -05:00
  • a903dd9571 Added SSL support, but it's broken because of the duplicate SslStream creations. Aaron Weiss 2014-11-08 17:35:19 -05:00
  • a79a1fc033 Added more details to Cargo.toml. Aaron Weiss 2014-11-08 14:14:23 -05:00
  • dc3b3134f3 Updated README.md. Aaron Weiss 2014-11-07 12:43:01 -05:00
  • 09f426cad5 Added unit tests for wrapper functionality. Aaron Weiss 2014-11-07 12:36:51 -05:00
  • 7d53e298ca Added license attribute to lib.rs. Aaron Weiss 2014-11-06 21:38:37 -05:00
  • 442115330e Refactored Command::from_message(...) to be more easily understood. Aaron Weiss 2014-11-06 20:54:51 -05:00
  • 2b7129c74a Rustdoc comments now end consistently in periods. Aaron Weiss 2014-11-06 15:23:02 -05:00
  • 8d37f71c3a Updated connect(...) with API changes for TcpStream. Aaron Weiss 2014-11-06 15:12:57 -05:00
  • f229f4ebaf IrcServer::from_connection(...) no longer returns an IoResult. Aaron Weiss 2014-11-06 15:07:02 -05:00
  • 544ea11ab7 Added more unit tests for server. Aaron Weiss 2014-11-06 15:05:00 -05:00
  • 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. Aaron Weiss 2014-11-06 14:29:14 -05:00
  • a8c6ba6a82 Added UNLICENSE and contributing guidelines. This library is now public domain. Aaron Weiss 2014-11-05 02:11:33 -05:00
  • 60cfc3dbcf Added link to docs to README.md. Aaron Weiss 2014-11-05 01:56:00 -05:00
  • f596767ce7 Fixed issue with docs not being uploaded to rust-ci. Aaron Weiss 2014-11-05 01:52:38 -05:00
  • 9ab10153f1 Added rust-ci docs configuration. Aaron Weiss 2014-11-05 01:49:55 -05:00
  • 165e7969db Added some basic tests to newly redesigned library. Test coverage is still less than satisfactory. Aaron Weiss 2014-11-05 01:45:17 -05:00
  • 503f14ea5a Added more functionality to Wrapper. Aaron Weiss 2014-11-04 14:26:24 -05:00
  • 1f888281b0 Added exports to data module. Aaron Weiss 2014-11-03 16:41:30 -05:00
  • 6db71ded01 Provided access to internal connections where needed, and added multi-line support to send_privmsg(...). Aaron Weiss 2014-11-03 14:12:23 -05:00
  • 25532d145e Removed lifetime requirements from send_samode. Aaron Weiss 2014-11-03 13:51:21 -05:00
  • 039049ab32 Added documentation for Wrapper and utility functions. Aaron Weiss 2014-11-03 04:19:12 -05:00
  • b3e0e2ea08 Refactored utilities into a Server Wrapper that provides added functionality. Aaron Weiss 2014-11-03 04:15:03 -05:00
  • 5ac62acfd9 Added a simple response to the simple example. Aaron Weiss 2014-11-03 03:50:28 -05:00
  • f0e3db4ce6 Added additional utilities. Aaron Weiss 2014-11-03 03:47:08 -05:00
  • 25c50b182b Updated README.md for redesign. Aaron Weiss 2014-11-03 03:17:34 -05:00
  • b60236a0fd Merge pull request #1 from aaronweiss74/redesign Aaron Weiss 2014-11-03 03:14:34 -05:00
  • c7a0d4b83d Implemented join on connection. Aaron Weiss 2014-11-03 03:11:14 -05:00
  • cd52c5b6a4 Messages now properly end with new-lines. Aaron Weiss 2014-11-03 03:02:35 -05:00
  • 16f29f179a Added basic message handling, and fixed a bug in message parsing. Aaron Weiss 2014-11-03 02:54:40 -05:00
  • 4479c59e79 Fixed bug with Message parsing causing suffixes to include colon prefix. Aaron Weiss 2014-11-03 02:42:06 -05:00
  • c8dc582fd1 Fixed bug with message parsing, and updated example. Aaron Weiss 2014-11-03 02:30:58 -05:00
  • c20038951e Added simple example, and changed how IrcServer creation works. Aaron Weiss 2014-11-03 02:11:51 -05:00
  • 42b4dcbf03 Added identify(...) utility, and clarified intent in some places using match. Aaron Weiss 2014-11-03 02:02:29 -05:00
  • 4d7c2065e9 Added FIXME to from_message(...) with details on how to rewrite it. Aaron Weiss 2014-11-03 01:47:36 -05:00
  • 25d4585fbc Commands now uses slices. Aaron Weiss 2014-11-03 01:45:00 -05:00
  • fbcc3021a8 Added server utils module to hold shortcuts and the like. Aaron Weiss 2014-11-03 00:55:56 -05:00
  • 5bbde7e96c Added documentation everywhere. Aaron Weiss 2014-11-03 00:52:15 -05:00
  • 63f4ca5097 Implemented complete RFC 2812 as Commands. Aaron Weiss 2014-11-03 00:08:40 -05:00
  • 4ace08da3c Took non-existant script out of travis build configuration. Aaron Weiss 2014-11-02 18:45:29 -05:00
  • 2e2d411907 Added Server trait and implemented basic Server functionality for IrcServer. Aaron Weiss 2014-11-02 18:39:00 -05:00
  • 4df7be1662 Added Config implementation. Aaron Weiss 2014-11-02 18:16:49 -05:00
  • d97035cca9 Implemented ServerIterator and message parsing. Aaron Weiss 2014-11-02 18:08:56 -05:00
  • 6da40f2ad3 Implemented thread-safe Connection. Aaron Weiss 2014-11-02 17:25:45 -05:00
  • b2006d044d Laid out basic structure of rewritten library. Aaron Weiss 2014-11-02 16:25:57 -05:00
  • 91aa5bcc6f Refactored for iterators. Aaron Weiss 2014-11-02 16:16:58 -05:00
  • 0ad276fdae Added load_utf8 to Config and load takes a Path. Aaron Weiss 2014-11-02 13:47:22 -05:00
  • f8a6987fcf Config::load(...) now takes the path to the configuration file. Aaron Weiss 2014-11-02 13:32:02 -05:00
  • aa6ff176f2 Added a bot constructor that takes an already-made configuration file. Aaron Weiss 2014-11-02 13:01:02 -05:00
  • 16d8fc15ea Updated README.md with a link to an example. Aaron Weiss 2014-11-02 12:41:24 -05:00
  • f174d17e4b handle_command(...) now calls the user's hook for all messages. Aaron Weiss 2014-10-29 17:02:06 -04:00
  • 3ee6ec76f1 Made colon before last argument optional depending on message type. Aaron Weiss 2014-10-29 03:43:15 -04:00
  • 445cfb1405 Added SAMODE with associated unit test. Aaron Weiss 2014-10-29 01:36:34 -04:00
  • 56ca5379e1 Added send_kill(...) and associated unit test. Aaron Weiss 2014-10-29 00:52:52 -04:00
  • aad1d52b59 Added unit test for send_sanick(...). Aaron Weiss 2014-10-29 00:48:56 -04:00
  • 8924e4e578 Added send_sanick(...). Aaron Weiss 2014-10-29 00:47:39 -04:00
  • 803e1e8ff4 Added send_oper(...) to allow bots to oper up. Aaron Weiss 2014-10-29 00:17:49 -04:00
  • 7f67bd2905 Added options hashmap to config for custom bot configuration. Aaron Weiss 2014-10-29 00:13:18 -04:00
  • f185106e08 Fixed a bug causing failure when user strings are empty. Aaron Weiss 2014-10-27 12:53:20 -04:00
  • e48aca279d Simplified code with new syntax. Aaron Weiss 2014-10-27 00:44:17 -04:00
  • 35af08ef7c Removed unnecessary swearing. Aaron Weiss 2014-10-27 00:34:56 -04:00
  • c669d44f15 User tracking keeps proper track of user rank now. Aaron Weiss 2014-10-27 00:33:17 -04:00
  • 729ff3874c Updated tests to make them more debuggable. Aaron Weiss 2014-10-26 23:47:00 -04:00
  • f0bd2b99f1 Added kick command. Aaron Weiss 2014-10-26 23:29:31 -04:00
  • d719cc006b send_privmsg(...) now supports multiline messages. Aaron Weiss 2014-10-20 03:47:46 -04:00
  • f43634f58e Removed useless lifetime parameter from Bot trait. Aaron Weiss 2014-10-20 02:34:58 -04:00
  • 67a087cab3 Simplified connection tests a bit. Aaron Weiss 2014-10-10 13:20:37 -04:00
  • 6d5144c109 Simplified bot unit tests where possible. Aaron Weiss 2014-10-09 14:37:59 -04:00
  • 6261449e97 Added tests for the user tracking system. Aaron Weiss 2014-10-09 14:32:06 -04:00
  • d6921eae74 Added tests of some of the handle_command(...) functionality. Aaron Weiss 2014-10-09 03:26:16 -04:00
  • fb8081cf77 output(...) now returns an Err(...) if it fails to parse a line. Aaron Weiss 2014-10-08 22:29:41 -04:00
  • 21136c4ec2 Added unit test for identify(). Aaron Weiss 2014-10-08 22:20:50 -04:00
  • 6fcf3e2fc6 Implemented unit tests for the remainder of the send_* methods. Aaron Weiss 2014-10-08 22:17:39 -04:00
  • a7d3a565b8 Added some unit tests for IrcBot, along with required changes to Connection. Aaron Weiss 2014-10-08 22:09:35 -04:00
  • 31e633763b Added unit tests for Connections and caught an inconsistency from the spec. Aaron Weiss 2014-10-08 21:33:20 -04:00
  • 8049d52e93 Travis configuration now marks mktestconfig.sh as executable. Aaron Weiss 2014-10-08 21:08:44 -04:00
  • 89a75b846a Fixed travis config. Aaron Weiss 2014-10-08 21:05:43 -04:00
  • f9f172ec1f Added script to create test configuration for travis-ci. Aaron Weiss 2014-10-08 21:04:51 -04:00
  • f6915e2e53 Connections now support non-cloneable Readers (read: all of them). Thanks, @retep998. Aaron Weiss 2014-10-08 20:57:23 -04:00
  • 7efe3f3fdf Added some basic data tests. Aaron Weiss 2014-10-08 18:08:29 -04:00
  • afa1fccff7 Modularized tests. Aaron Weiss 2014-10-08 16:11:20 -04:00
  • 57df922054 Moved IrcBot implementation to bot.rs. Aaron Weiss 2014-10-08 16:08:15 -04:00
  • bb58dac93c Added from_connection(...) to make an IrcBot from any arbitrary connection. Aaron Weiss 2014-10-08 14:08:27 -04:00
  • af1f8ecf14 config(...) returns a reference instead of a copy of the value. Aaron Weiss 2014-10-08 13:50:54 -04:00
  • 95a3a8d6b6 Specified the implementation of IrcBot to go with the new function. Aaron Weiss 2014-10-08 13:44:36 -04:00
  • bf31646bdd Added method to get config from bots. Aaron Weiss 2014-10-08 13:40:19 -04:00
  • 54e781e6e7 Refactored Bot into IrcBot based on Bot trait. Aaron Weiss 2014-10-08 13:32:37 -04:00
  • b0226099d7 Added newtypes for the specific kinds of Reader and Writer used in the library Aaron Weiss 2014-10-08 13:10:55 -04:00
  • 567074a599 Made changes to allow library to operate on any type of stream. Aaron Weiss 2014-10-08 12:57:36 -04:00