Commit Graph

544 Commits

Author SHA1 Message Date
Daniel Oaks
b885d56e16 ircmsg: Fix crash on some message types 2016-02-28 00:18:00 +10:00
Daniel Oaks
18bee1651e client: Allow disabling simplification of events 2016-02-21 21:17:22 +10:00
Daniel Oaks
4764651a23 client: Simplify event instantiation 2016-02-16 22:22:51 +10:00
Daniel Oaks
482554c646 client: Avaliable -> Available 2016-02-16 22:15:47 +10:00
Daniel Oaks
ad391c7537 client: Improve test coverage 2016-02-16 21:10:25 +10:00
Daniel Oaks
cab3c5c682 client: Return error when Send fails instead of killing the process 2016-02-16 21:01:26 +10:00
Daniel Oaks
03e4ae0408 client: Simplify events where possible 2016-02-16 16:42:44 +10:00
Daniel Oaks
a2ee1191e9 client: Move events.go to numerics.go 2016-02-16 16:10:03 +10:00
Daniel Oaks
2858a90b8a readme: Add client lib, and expand note 2016-02-16 01:25:34 +10:00
Daniel Oaks
33bbe12f37 client: Add Casefold() function to client, and tests 2016-02-16 01:15:08 +10:00
Daniel Oaks
9d6cd74633 client: Add PRIVMSG and NOTICE 2016-02-16 01:15:08 +10:00
Daniel Oaks
f9b3f29216 client: Handle capabilities better and more on-spec 2016-02-16 01:15:08 +10:00
Daniel Oaks
8ef550106a client: CAP NEW and CAP DEL 2016-02-16 01:15:08 +10:00
Daniel Oaks
4e5ba36eaf client: Respond to PINGs 2016-02-16 01:15:08 +10:00
Daniel Oaks
4d1e9aa36c client: Dispatch messages out as well 2016-02-16 01:15:08 +10:00
Daniel Oaks
5b009fb255 client: Improve features.go test coverage 2016-02-16 01:15:08 +10:00
Daniel Oaks
3761a842c5 client: Use numeric names instead of numbers where possible 2016-02-16 01:15:08 +10:00
Daniel Oaks
8d6a5affe5 client: Add a very basic Features 2016-02-16 01:15:08 +10:00
Daniel Oaks
de09a0da92 client: Explain function better 2016-02-16 01:15:08 +10:00
Daniel Oaks
aa9fced4e1 client: Since we use one function for testing, also use one function for setting config values 2016-02-16 01:15:08 +10:00
Daniel Oaks
27d71a144b client: Send CAP END 2016-02-16 01:15:07 +10:00
Daniel Oaks
810734eaaf client: Split out event loop handling to let people handle it themselves 2016-02-16 01:15:07 +10:00
Daniel Oaks
1cb8e4762b client: Handle capabilities, improve handling and testing 2016-02-16 01:15:07 +10:00
Daniel Oaks
6d960c81bc client: Return error on connection 2016-02-16 01:15:07 +10:00
Daniel Oaks
b830a629ad client: Rename newServer to client, use InitialNick instead of Nick 2016-02-16 01:15:07 +10:00
Daniel Oaks
db3f552ded client: Test silent ignoring of events 2016-02-16 01:15:07 +10:00
Daniel Oaks
f3fa9f668e client: Set nick with 001 properly, add test for this 2016-02-16 01:15:07 +10:00
Daniel Oaks
569b227f86 client: Fix and test TLS side of things better 2016-02-16 01:15:07 +10:00
Daniel Oaks
306fefe557 client: Start up and shutdown connections properly 2016-02-16 01:15:07 +10:00
Daniel Oaks
44fc747e46 client: Fix reactor bug and add initial Reactor test 2016-02-16 01:15:07 +10:00
Daniel Oaks
c04ab544b3 client: Initial code. Very untested, likely very broken. What is test coverage 2016-02-16 01:15:07 +10:00
Daniel Oaks
b19577fca9 readme: Add more badges! 2016-02-16 01:14:49 +10:00
Daniel Oaks
75aa57f451 readme: Add GoDoc badge 2016-02-14 18:02:23 +10:00
Daniel Oaks
d7fbffbe37 ircfmt: Add test for the new raw parsing code 2016-02-14 14:45:06 +10:00
Daniel Oaks
2c79305aed ircfmt: Add without any brackets after it support 2016-02-14 14:38:41 +10:00
Daniel Oaks
358c21d6ec ircmap: Add ircmap.NONE 2016-02-11 21:13:38 +10:00
Thomas Jager
da78ed515c BREAKING CHANGES: Run callbacks in main thread and int callback id.
Execute callbacks in main thread. This will break callbacks that
use a long time to execute. Create your own thread in AddCallback
using gorutines on long running callbacks.

Use deterministic IDs for AddCallback. Changes the id from SHA-hash
to int.
2016-02-06 21:38:53 +01:00
Thomas Jager
ab737c68eb Remove unnecessary return 2016-02-06 21:20:35 +01:00
Daniel Oaks
5d945dd548 ircmap: Speak about rfc3454 more accurately 2016-01-20 12:34:59 +10:00
Daniel Oaks
649c979693 ircmap: Fix tiny mistake 2016-01-20 12:33:39 +10:00
Daniel Oaks
7298a16e0a ircmap: Fix tests for new interface, add tests for RFC3454 2016-01-20 12:32:37 +10:00
Daniel Oaks
e3b56be41e ircmap: Add RFC3454 mappings 2016-01-20 12:27:11 +10:00
Daniel Oaks
d1eef8f96b ircmap: Add initial version 2016-01-18 21:20:02 +10:00
Daniel Oaks
a17a21c190 doc: Improve 2016-01-18 19:12:03 +10:00
Daniel Oaks
d9a92d5c58 eventmgr: NewInfoMap convenience function 2016-01-18 17:21:27 +10:00
Daniel Oaks
01c3c10e17 eventmgr: Export things that we should be exporting 2016-01-18 17:13:25 +10:00
Daniel Oaks
04978572cb ircmsg: Make sure we fail at right places 2016-01-18 17:04:34 +10:00
Daniel Oaks
45b5c7442f readme: Put build/coverage higher 2016-01-18 16:58:02 +10:00
Daniel Oaks
51036dcf69 ircfmt: Beta 2016-01-18 14:20:11 +10:00
Daniel Oaks
887ba768d3 Add more docs 2016-01-18 14:18:38 +10:00