summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* turn the client example into a simple karma botHEADmasterJesse Luehrs2014-09-101-2/+46
|
* move debug output into the libraryJesse Luehrs2014-09-102-10/+22
|
* basic implementation of reply callbacksJesse Luehrs2014-09-101-50/+334
|
* use slices instead of vectors in the apiJesse Luehrs2014-09-101-28/+39
|
* client functions for all of the client commandsJesse Luehrs2014-09-101-13/+285
|
* also only read 512 bytes when reading messagesJesse Luehrs2014-09-101-8/+16
|
* limit messages to 512 bytesJesse Luehrs2014-09-093-13/+29
| | | | | still need to avoid actually reading in bytes past 512 in an incoming message
* add callbacks for on_command and on_replyJesse Luehrs2014-09-091-0/+10
|
* pass is_reply through to the message typeJesse Luehrs2014-09-091-0/+4
|
* the default PING implementation should reply with PONGJesse Luehrs2014-09-092-11/+7
|
* more error handlingJesse Luehrs2014-09-091-6/+26
|
* handle errors a bit more properly hereJesse Luehrs2014-09-091-2/+2
|
* propagate a few more errorsJesse Luehrs2014-09-093-78/+96
|
* move callbacks out to their own traitJesse Luehrs2014-09-093-202/+201
| | | | | this reduces the amount of things users have to worry about reimplementing, since we don't have associated items yet
* fix a warningJesse Luehrs2014-09-091-1/+1
|
* add callbacks for all messagesJesse Luehrs2014-09-092-15/+702
| | | | | i'm not sure that all of these callbacks (or parameters) are valid for clients, but they're all there for now for completeness
* pass &Message around, since Message isn't copyableJesse Luehrs2014-09-082-4/+4
|
* start moving things into callbacksJesse Luehrs2014-09-082-55/+70
|
* also provide a method to get a String outJesse Luehrs2014-09-082-1/+10
| | | | not using this as the default ToStr because it's less easy to read
* move the client implementation to a traitJesse Luehrs2014-09-082-34/+46
| | | | this will allow us to more easily allow adding hooks
* simplifyJesse Luehrs2014-09-061-2/+2
|
* have the example client respond to PING commandsJesse Luehrs2014-09-061-1/+9
|
* pass in the client to callbacksJesse Luehrs2014-09-062-4/+6
| | | | | this requires run_loop_with to consume the client, since we need to be able to pass it in mutably. i think that is probably okay.
* add a basic runloopJesse Luehrs2014-09-062-5/+15
|
* better default for hostnameJesse Luehrs2014-09-061-8/+29
|
* connect should consume the clientbuilderJesse Luehrs2014-09-041-21/+20
| | | | this way we can handle callbacks, which may not be cloneable or whatever
* no need to separate commands and replies as typesJesse Luehrs2014-09-043-121/+85
| | | | it just clutters things
* no reason for these extra & hereJesse Luehrs2014-09-042-9/+9
|
* send the pass too if setJesse Luehrs2014-09-041-1/+15
|
* allow setting the user's hostname tooJesse Luehrs2014-09-041-6/+23
| | | | | eventually we should default this to something more sensible than "localhost"
* this should use the host we're connecting toJesse Luehrs2014-09-041-1/+1
|
* move connection initialization into the clientJesse Luehrs2014-09-043-49/+72
|
* travisJesse Luehrs2014-09-041-0/+1
|
* write some login messages on connect in the exampleJesse Luehrs2014-09-031-0/+23
|
* make a few more things publicJesse Luehrs2014-09-032-3/+4
|
* add support for writing irc messagesJesse Luehrs2014-09-032-1/+38
|
* more useful Show implementationsJesse Luehrs2014-09-031-2/+61
|
* set offset properlyJesse Luehrs2014-09-031-1/+1
|
* simple client testJesse Luehrs2014-09-031-0/+10
|
* expose the client on the top level moduleJesse Luehrs2014-09-031-0/+3
|
* start working on an irc client classJesse Luehrs2014-09-031-0/+42
|
* rename this to something easier to useJesse Luehrs2014-09-031-1/+1
|
* let's put message handling in its own moduleJesse Luehrs2014-09-032-1/+1
|
* test for repliesJesse Luehrs2014-09-031-0/+17
|
* it's simpler if these are just constantsJesse Luehrs2014-09-031-175/+168
| | | | it's not like we'll ever care about exhaustive matching here
* we don't care if the constants are unused for nowJesse Luehrs2014-09-031-0/+2
|
* fix :-prefixed paramsJesse Luehrs2014-09-031-4/+48
|
* start working on message parsingJesse Luehrs2014-09-033-3/+411
|
* initial commitJesse Luehrs2014-09-023-0/+10