Commit graph

50 commits

Author SHA1 Message Date
Aaron Weiss
e4495940fc Made a whole lot of linting changes to improve code.
Small API changes:
  1. Message::into_string -> Message:to_string
  2. NetStream::UnsecuredTcpStream -> NetStream::Unsecured
  3. NetStream::SslTcpStream -> NetStream::Ssl
2016-03-17 21:35:35 -04:00
Aaron Weiss
b6ce088693 Updated examples after Command redesign. 2016-01-30 05:00:16 -05:00
Aaron Weiss
aefd2108c5 Removed autoreconnect example because it now happens automatically. 2016-01-23 11:00:27 -05:00
Aaron Weiss
ea0577bbaf Implemented Clone for IrcServer and updated multithreaded examples
accordingly.
2016-01-03 05:39:44 -05:00
Aaron Weiss
11a54445b7 Removed deprecated code. 2015-11-22 16:26:43 -05:00
Aaron Weiss
05186cf670 Removed trailing whitespace. 2015-06-22 12:03:57 -04:00
Aaron Weiss
81b3e58d52 Replaced Command::from_message with a From<&Message> implementation. 2015-06-05 21:27:15 -04:00
Aaron Weiss
c26d297e62 Eliminated feature use for beta. 2015-04-04 23:06:13 -04:00
Aaron Weiss
23fa48d41e Updated for Rust master. 2015-04-03 00:56:42 -04:00
Aaron Weiss
b7912ee592 Fixed warnings on Rust master. 2015-03-21 23:08:41 -04:00
Aaron Weiss
5f8b09cf57 Updated docs. 2015-02-24 10:55:08 -05:00
Aaron Weiss
8cf7471af2 Updated examples with ServerExt change. 2015-02-24 10:14:44 -05:00
Aaron Weiss
05c0a9ccb5 Simplified command iterator example. 2015-02-23 23:27:50 -05:00
Aaron Weiss
5a801df82f Added ToMessage to Prelude. 2015-02-23 23:11:11 -05:00
Filipe Gonçalves
04dccf5ce2 Added Command iterator. Added a test and a use case example. 2015-02-23 23:57:13 +00:00
Filipe Gonçalves
a43db2b5da Refactored Command to own its data. Updated tests and examples. 2015-02-23 20:02:52 +00:00
Aaron Weiss
73f6685114 Updated examples to use prelude. 2015-02-22 21:22:33 -05:00
Aaron Weiss
76e7aea8e7 Cleaned up code, and more warning fixes. 2015-02-21 10:18:53 -05: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
147af6c437 std::io -> std::old_io 2015-01-28 12:19:02 -05:00
Aaron Weiss
c9a767c8ff Refactored library in preparation for server work. 2015-01-13 02:39:59 -05:00
Aaron Weiss
d0b54f8119 Updated for Rust master. 2015-01-09 17:38:46 -05:00
Aaron Weiss
b3e3b8becd Updated examples with removal of deprecated code. 2014-12-23 13:00:07 -05:00
Aaron Weiss
b44ff8b196 Fixed build. 2014-12-23 12:15:41 -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
855fb1f219 Added example of autoreconnection. 2014-12-20 20:13:16 -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
5a77845691 Updated examples for removal of proc. 2014-12-16 03:22:05 -05:00
Aaron Weiss
eb091a0b58 Simplified tweeter example code. 2014-12-11 00:06:12 -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
4dfa5942a0 Added alternate nicknames to the simple example. 2014-12-06 19:11:13 -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
4d85b7932c Updated tweeter example because reading and writing now use separate
mutexes.
2014-12-01 19:27:30 -05:00
Aaron Weiss
b4cda39134 Made encoding into a feature as encode. 2014-11-30 03:30:10 -05:00
Aaron Weiss
098f9dbbff Added support for non-unicode encodings. 2014-11-30 01:29:38 -05:00
Aaron Weiss
2e0d8e55d8 Added an example showing how to send messages that are not responses to
a user despite the fact that send and recv both block.
2014-11-29 05:26:55 -05:00
Aaron Weiss
f5654abd6e Added a multithreaded example, and added comments to examples. 2014-11-29 03:19:14 -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
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
5ac62acfd9 Added a simple response to the simple example. 2014-11-03 03:50:28 -05:00
Aaron Weiss
c7a0d4b83d Implemented join on connection. 2014-11-03 03:11:14 -05:00
Aaron Weiss
16f29f179a Added basic message handling, and fixed a bug in message parsing. 2014-11-03 02:54:40 -05:00
Aaron Weiss
4479c59e79 Fixed bug with Message parsing causing suffixes to include colon prefix. 2014-11-03 02:42:06 -05:00
Aaron Weiss
c8dc582fd1 Fixed bug with message parsing, and updated example. 2014-11-03 02:30:58 -05:00
Aaron Weiss
c20038951e Added simple example, and changed how IrcServer creation works. 2014-11-03 02:11:51 -05:00
Aaron Weiss
b2006d044d Laid out basic structure of rewritten library. 2014-11-02 16:25:57 -05:00
Aaron Weiss
91aa5bcc6f Refactored for iterators. 2014-11-02 16:16:58 -05:00