539 Commits

Author SHA1 Message Date
Jae Kwon
0416e0aa9c Close opened files 2016-12-06 01:46:23 -08:00
Jae Kwon
70e694ee76 Fix ThrottleTimer null-pointer error / race condition 2016-12-06 01:39:04 -08:00
Jae Kwon
5e2a1d3e30 Fix tests; Support 'leveldb' for legacy 2016-11-30 20:22:35 -08:00
Jae Kwon
5ab5538d6c Move cleveldb to own file w/ build tag condition 'gcc' 2016-11-30 20:15:29 -08:00
Jae Kwon
226eb6554f Support for Run() convenience function 2016-11-29 16:55:32 -08:00
Jae Kwon
9f81134388 Add support for levigo bindings 2016-11-29 16:06:36 -08:00
Jae Kwon
63186e34b3 Fix race condition 2016-11-21 20:26:47 -08:00
Jae Kwon
2a306419c8 Remove spurious fmt 2016-11-21 20:19:01 -08:00
Jae Kwon
f40b1b65f8 Add Tempdir 2016-11-21 20:03:59 -08:00
Jae Kwon
890e240730 Remove AutoFile tests 2016-11-21 20:03:59 -08:00
Jae Kwon
25dc9ae345 QuitService->BaseService 2016-11-21 20:03:59 -08:00
Jae Kwon
a6a67ea9b2 Remove AutoFile; Use go-autofile instead 2016-11-21 20:03:59 -08:00
Jae Kwon
6b4160f2a5 Add Tempdir 2016-11-21 20:01:11 -08:00
Jae Kwon
dd12bd8f1b Fix checkTotalSizeLimit bug; remove more than 1 file at a time 2016-11-21 19:57:17 -08:00
Jae Kwon
a528af55d3 Group is a BaseService; TotalSizeLimit enforced; tests fixed 2016-11-21 19:09:14 -08:00
Jae Kwon
d1848762cf Fix issue where buffered writes may split a line to two files 2016-11-20 17:19:15 -08:00
Jae Kwon
dc8fa06e64 Add MakeSimpleSearchFunc 2016-11-05 17:58:50 -07:00
Jae Kwon
a20c98e619 Add Monitor.SetREMA() 2016-11-04 06:14:49 -07:00
Jae Kwon
1261fca160 FindLast 2016-10-30 04:29:40 -07:00
Jae Kwon
916f3d789b Size() returns 0 if file doesn't exist 2016-10-28 14:50:46 -07:00
Jae Kwon
5e9c5dc413 Add Group.WriteLine 2016-10-28 13:56:31 -07:00
Jae Kwon
fa3daa7abc Remove AutoFile tests 2016-10-28 12:11:23 -07:00
Jae Kwon
2781df39e5 QuitService->BaseService 2016-10-28 12:09:22 -07:00
Jae Kwon
0311042336 Add CHALLENGE 2016-10-28 09:10:33 -07:00
Jae Kwon
d741b81ab5 Add better docs for Group 2016-10-26 22:12:56 -07:00
Jae Kwon
44f2818a3d Remove AutoFile; Use go-autofile instead 2016-10-26 21:50:28 -07:00
Jae Kwon
c26b857900 Fix Search and add test 2016-10-26 21:50:07 -07:00
Jae Kwon
1859c4d5fe First commit 2016-10-26 16:23:19 -07:00
Jae Kwon
28b3d52948 first commit 2016-10-26 16:22:43 -07:00
Ethan Buchman
1c85cb98a4 Merge pull request #7 from tendermint/develop
EventSwitch is an interface
2016-10-20 21:23:35 -04:00
Jae Kwon
1c62bb6dad Merge pull request #5 from tendermint/develop
Reset() and SIGHUP for AutoFiles
2016-10-20 02:01:00 -07:00
Jae Kwon
1a24e6e237 Let SIGHUP close AutoFiles 2016-10-17 16:24:55 -07:00
Ethan Buchman
2e424ee663 service: Reset() for restarts 2016-10-17 16:24:55 -07:00
Ethan Buchman
1652dc8b3f EventSwitch is an interface 2016-10-10 03:20:42 -04:00
Ethan Buchman
47e06734f6 Merge pull request #4 from tendermint/throttle
throttle_timer: fix race, use mtx instead of atomic
2016-09-10 17:59:15 -04:00
Ethan Buchman
930880f574 throttle_timer: fix race, use mtx instead of atomic 2016-09-10 17:52:26 -04:00
Jae Kwon
9dc4dc1960 Add BitArray.Update() 2016-09-05 18:26:43 -07:00
Ethan Buchman
3baa390bba reduce numTimes in test 2016-07-23 11:24:48 -04:00
Silas Davis
b0c0631468 Spelling 2016-07-13 18:50:06 +01:00
Ethan Buchman
3dabf304a1 fix race condition in repeat_timer 2016-06-26 01:00:51 -04:00
Ethan Buchman
cefb3a45c0 expose LvlNotice 2016-06-26 00:45:56 -04:00
Ethan Buchman
48fa21511b Merge pull request #4 from benjaminbollen/issue1_concurreny_bug_in_remove_listener
Fixes #1 concurreny bug in remove listener
2016-06-21 10:48:51 -04:00
Benjamin Bollen
c15bcd487f
fixes #1; events.go: claim full lock on delete listener 2016-06-17 14:53:19 +02:00
Benjamin Bollen
acabc4d3bb
Introduce events_test.go with five unit tests asserting normal behaviour
and a sixth unit test to probe race conditions on RemoveListener.
2016-06-17 14:53:01 +02:00
Jae Kwon
529efe50ea No global config 2016-05-08 15:00:33 -07:00
Jae Kwon
31fdd21c7e No global config 2016-05-08 15:00:13 -07:00
Ethan Buchman
dcfa46af13 BitArray.IsEmpty() 2016-03-18 02:30:15 -04:00
Jae Kwon
461c3b9785 Remove CRand* from go-common 2016-03-13 09:57:10 -07:00
Jae Kwon
84391b36d3 Conform to new go-config default config behavior 2016-03-06 12:31:22 -08:00
Jae Kwon
1559ae1ac9 Add BitArray.Bytes() 2016-02-21 00:14:08 -08:00