tpltnt
4ba3d1c0d2
more hasValidValues()
2014-02-16 00:56:21 +01:00
tpltnt
28bf282924
hasValidValues() + tests started
2014-02-16 00:32:02 +01:00
tpltnt
a4d40a90d5
catching empty arguments in IRC() + tests
2014-02-15 23:42:54 +01:00
tpltnt
7c96d05d11
CTCP spec linked
2014-02-14 16:13:17 +01:00
tpltnt
5baf7671c6
IRC RFCs added
2014-02-14 15:03:52 +01:00
tpltnt
c000e87dee
docs done
2014-02-14 14:51:57 +01:00
tpltnt
7f0d4b4a6d
method doc started
2014-02-14 14:29:56 +01:00
tpltnt
d55c9c19ab
package description added
2014-02-14 12:06:09 +01:00
Andrew Montgomery-Hurrell
9100ba0734
Added Whois, Who and Mode (also go fmt)
2014-02-13 21:49:28 +00:00
Thomas Jager
95288a16c5
Fix Formats and Send error to main goroutine on Disconnect
2014-02-12 08:42:10 +01:00
Kaleb Elwert
ea57336e8f
Replaces the Event.Message field with a function
...
Note that this purposefully breaks backwords compatibility. Because of
how Arguments are now handled, this will force users using this library
to update anything using this.
This is not bad, as it seems, because otherwise (just updating the
Event.Arguments to include the Message) the change could cause silent,
strange breakages.
2014-02-12 00:02:58 +01:00
Kaleb Elwert
e08cb2faf7
Makes the lib line up more with the irc rfc in message vs args handling
2014-02-12 00:02:50 +01:00
Andrew Montgomery-Hurrell
847ce8faa2
Make IRC logger public. No reason for disallowing overrides.
2014-02-10 19:56:16 +00:00
Andrew Montgomery-Hurrell
0b6c954b52
try to shutdown more safely so callbacks, etc don't try and use the read/write channels after they are closed
2014-02-10 19:54:07 +00:00
Andrew Montgomery-Hurrell
c0e6d50e0c
Added configurable timeouts and overridable version string
2014-02-09 10:20:58 +00:00
joe
c10849b4c0
Loop: catch reconnection errors; writeLoop: only log.Print if Debug
2013-09-25 23:37:11 -04:00
Philipp Schroer
655a41f804
Some improvements
...
* Remove unused struct elements
* Rename some things
* Reuse more code
* Use 512 byte read buffer
2013-04-02 19:09:45 +02:00
Thomas Jager
3228e64f1b
Add Nick change function
2013-03-13 12:53:08 +01:00
Thomas Jager
83136b6c73
Fix pinger
2012-11-11 10:51:14 +01:00
Thomas Jager
0ed7585b71
Add more helpers
2012-11-11 10:37:52 +01:00
Thomas Jager
9e880ef476
SSL -> TLS
2012-11-07 21:55:33 +01:00
Thomas Jager
c8f78ebf45
Change the way the pinger works.
...
Fix syning threads before reconnections
Formatting
2012-11-07 21:51:24 +01:00
Thomas Jager
e05c098519
Merge changes from other fork
2012-11-06 00:39:31 +01:00
Thomas Jager
be3afcc796
Merge branch 'master' of git://github.com/lye/cleanirc
...
Conflicts:
irc.go
irc_callback.go
irc_struct.go
Merge Interesting changes from fork
2012-11-06 00:38:20 +01:00
Thomas Jager
a5f3a91fd1
go get not working quite as i thought
2012-11-05 23:46:47 +01:00
Thomas Jager
ddf0508cdb
Cleanup old files
2012-11-05 23:41:04 +01:00
Reynir Reynisson
670fd99fb4
Rename IRC{Connection,Event} -> {Connection,Event}
...
I don't feel it's necessary to tag the types with IRC, as a client would
tag it with the module name anyway. Example:
var conn irc.IRCConnection
// ...
vs.
var conn irc.Connection
// ...
2012-05-11 13:35:25 +02:00
lye
4f82a31c9c
Minor tweaks to play nicely with the new go tool
2012-03-28 01:15:26 -05:00
lye
5fe3fea8c0
Hurrah, starting a real fork.
...
The old codebase is too messy for my taste and doesn't provide a clean
enough API. I don't like the name either, so I'm also rebranding it. I
don't care.
2012-03-21 22:38:22 -05:00
lye
d544994641
rfc1459 compliance: PASS before NICK/USER
2012-03-20 23:11:35 -05:00
lye
07b619e8f2
Temporarily use my tls fixes until they're merged
2012-03-20 23:08:05 -05:00
lye
52c17040d5
Make the SSL config app-configurable
2012-03-18 17:08:05 -05:00
lye
b62f72a746
Hack in SSL support
2012-03-18 16:51:13 -05:00
Michael Jard
a0256382be
Fixes against weekly.2012-02-22
...
Convert time/duration variables
Clean up duration math
2012-02-25 00:52:19 -08:00
tj
4e661a3954
Gofix
2011-11-07 01:26:12 +01:00
ich
0828d4cf56
Fix build errors with new versions of go
2011-11-06 01:58:17 +00:00
Michael Jard
0a5d471404
fix minor issue where bot tries to set its nick every 15 minutes,
...
even if it has the wanted nick.
2011-05-21 23:24:35 -07:00
Michael Jard
78a4c71736
Add ability to silence callback handler
2011-05-21 21:06:22 -07:00
tj
9d322aca1a
Compabillity fixes for new go core version
2011-04-05 10:37:17 +02:00
tj
ea8495857e
Better nick recapture
2011-02-03 01:16:13 +01:00
tj
deae8abc23
Use append built-in instead of custom function
2010-11-19 19:36:28 +01:00
tj
105d6d61d3
Add part, patch by soul9
2010-10-19 14:12:17 +02:00
tj
79ac1741ea
Add irccon.Quit() and irccon.Cycle()
...
Quit() Sends QUIT to server and exits the main loop.
Cycle() Sends QUIT to server and reconnects.
2010-10-18 21:46:34 +02:00
tj
8b8321be96
Check for closed channel in writer to avoid throw/crash
2010-10-18 21:34:07 +02:00
tj
6f170547d3
Fix the pinger/ticker code a bit. Thanks soul9 ;)
2010-10-16 20:43:59 +02:00
tj
1fe11ca937
Kill channels for fater retry
2010-10-11 21:17:17 +02:00
tj
9fa6bbdeca
Avoid changing interface for password support
2010-09-29 09:52:43 +02:00
tj
c64043c75b
Merge
2010-09-29 09:00:16 +02:00
tj
998e1c3050
Add support for server PASSWORD
2010-09-29 08:58:32 +02:00
Thomas Jäger
3d0ffc5d06
Merge branch 'master' of git@github.com:thoj/Go-IRC-Client-Library
2010-09-23 18:56:15 +02:00
tj
1165a7fbf2
Fix compile + bit more robust reconnect code
2010-09-23 18:54:34 +02:00
tj
2235f8b8ed
Fix edge case crash
2010-08-06 23:25:03 +02:00
tj
f13d706686
Correct splitting of event codes
2010-08-06 12:49:56 +02:00
tj
4007dcb414
strings.Bytes(str) -> []byte(str)
2010-03-01 17:09:03 +01:00
tj
7019ec3d0e
Rewritten to use callbacks, bit easier to use.
2010-01-06 19:32:35 +01:00
tj
7566c0f963
Try to fix reconnection
2009-11-27 11:57:42 +01:00
tj
fb7dbfd17b
Add automatic reconnect
2009-11-25 20:37:35 +01:00
tj
a0409fa8f1
Add automatic reconnect
2009-11-25 20:22:06 +01:00
tj
db5f5bd9fa
Add automatic reconnect
2009-11-25 20:21:47 +01:00
tj
82d1050496
Add reconnect
2009-11-25 19:17:08 +01:00
tj
1160ab4f58
Don't spam errors
2009-11-22 22:01:47 +01:00
tj
841757090b
Use go Makefiles
2009-11-22 00:05:12 +01:00
tj
f9ea765794
Move USER, NICK to right after connecting
2009-11-19 04:37:56 +01:00
tj
d5a4d7ea4a
Notice, Privmsg and handle server error
2009-11-18 16:26:23 +01:00
tj
85b62f6a9a
LICENSE, Same as go itself.
2009-11-18 16:03:14 +01:00
tj
1c060814f3
first
2009-11-18 01:28:12 +01:00