Commit Graph

22 Commits

Author SHA1 Message Date
Alex Bramley a7abc67ac2 Hold state tracker lock for Me(). Fixes data race panic. 2017-10-31 21:38:46 +00:00
Alex Bramley f3c49069c0 The great state tracker privatisation 3/3: tracker. 2014-12-31 13:17:46 +00:00
Alex Bramley 5bb0c8278d Minimally invasive change to put logging behind a user-replaceable interface.
This could probably be done better, and there are probably awful caveats
and hidden gotchas with this approach. I REGRET NOTHING.
2013-09-27 22:19:40 +01:00
Alex Bramley 45d7b3317f Remove state.StateTracker stutter, hide it in Conn. 2013-02-16 11:29:56 +00:00
Alex Bramley ca46884c72 Remove embedded logger from state tracker. Hmmmm. 2013-01-23 22:33:01 +00:00
Alex Bramley e0a5a57fe1 Merge branch 'master' into weekly
Conflicts:
	client/connection.go  # MERGED
	event/registry.go     # DELETED
	logging/mock_test.go  # DELETED
2011-11-13 14:13:55 +00:00
Alex Bramley 4e4c4b6798 Migrate to split logging pkg. 2011-11-13 14:02:12 +00:00
Alex Bramley 81eb9ee3df gofix weekly fixes for state. 2011-11-13 13:32:53 +00:00
Alex Bramley d0f0175d7f Oops. Missed String() from interface. 2011-11-05 09:30:32 +00:00
Alex Bramley b1037b2603 Add String() method for stateTracker. 2011-11-05 06:06:59 +00:00
Alex Bramley cfffcf2a85 Add a method to wipe a state tracker clean. 2011-11-05 02:25:25 +00:00
Alex Bramley 748db6b5d2 Test for dissociation, also ensure both nick and channel passed to {A,Di}ssociate are currently tracked. 2011-10-27 17:54:23 +01:00
Alex Bramley 47dd5b3430 We need to be able to get at ChanPrivs easily. 2011-10-27 17:03:01 +01:00
Alex Bramley 1fbd0a8b17 Switch to using and propagating logger. 2011-10-22 23:57:22 +01:00
Alex Bramley 7be7e79c78 Oops, missed a bit. 2011-10-20 00:23:54 +01:00
Alex Bramley 111a23d87c Epic refactor of the refactor. 2011-10-20 00:10:33 +01:00
Alex Bramley 2c333e0e9a Ditch initialise() functions and just make constructors better. 2011-10-13 22:48:04 +01:00
Alex Bramley 6266eba245 Slight fixes to NewChannel and tests for st's Channel methods. 2011-10-13 22:31:09 +01:00
Alex Bramley 9163b9af7a Slight fixes to ReNick and tests for the rest of st's Nick methods. 2011-10-13 20:44:44 +01:00
Alex Bramley b2ac2929d2 Break state tracker into multiple files. 2011-10-12 22:59:52 +01:00
Alex Bramley a26a940e6d Comment changes and cosmetics for state pkg. 2011-10-08 10:57:10 +01:00
Alex Bramley f128ce84b4 Start of breaking out state tracking into separate package. 2011-10-08 10:42:15 +01:00
Renamed from client/nickchan.go (Browse further)