1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00
Commit Graph

4876 Commits

Author SHA1 Message Date
Con Kolivas
b1823f2723 Always use a maxpacketsize buffer in usb_bulk_transfer 2013-08-31 23:18:09 +10:00
Con Kolivas
85008b84af Merge branch 'master' of github.com:ckolivas/cgminer 2013-08-31 22:53:59 +10:00
Kano
5520206a47 bflsc ensure getinfo cannot overflow it's storage buffer 2013-08-31 22:52:21 +10:00
Con Kolivas
83b5f62474 Don't decref json values in stratum parsing due to memory corruption. 2013-08-31 22:24:38 +10:00
Con Kolivas
fb00f24bcf Use 64 bytes for all libusb control transfers. 2013-08-31 22:17:53 +10:00
Con Kolivas
1d5d28d7fb Skip dissecting opt->names in parse_config if it doesn't exist. 2013-08-31 21:36:15 +10:00
Con Kolivas
22ca87dbf2 Merge branch 'master' of github.com:ckolivas/cgminer 2013-08-31 21:32:15 +10:00
Con Kolivas
33ae5ab8b9 Use an internal buffer in _usb_transfer_read in case the read is larger than the buffer passed to it. 2013-08-31 21:31:32 +10:00
kanoi
10a1de9a3d Merge pull request #487 from kanoi/master
ICA optional limit timing with short=N or long=N
2013-08-30 22:43:57 -07:00
Kano
a6e44cb360 ICA optional limit timing with short=N or long=N 2013-08-31 15:40:23 +10:00
Con Kolivas
69a2078e5d Revert to old custom tolines function since strtok_r is not portable. 2013-08-31 15:13:57 +10:00
kanoi
d7adf84f5e Merge pull request #486 from kanoi/master
applogsiz() + remove unused bflsc code
2013-08-30 21:09:52 -07:00
Kano
42bb607ad4 bflsc remove unused commented out code 2013-08-31 14:03:57 +10:00
Kano
3aefcce41c logging - code mistake 2013-08-31 13:56:50 +10:00
Kano
0d4edbe9c1 logging - applogsiz() for large messages 2013-08-31 13:41:37 +10:00
Con Kolivas
bec40c5b68 Provide base structures for getaddrinfo. 2013-08-31 13:32:40 +10:00
Con Kolivas
4a502e1380 Update readme 2013-08-31 08:29:12 +10:00
Con Kolivas
1c66459c80 Include string.h in bflsc driver. 2013-08-30 23:58:15 +10:00
Con Kolivas
4c451adcb8 Get rid of linear removal of spaces in bflsc text parsing and use strstr throughout instead. 2013-08-30 23:46:32 +10:00
Con Kolivas
a503ba8ba4 Use reentrant strtok in tolines() function in bflsc to avoid racing on contextless calls. 2013-08-30 23:03:03 +10:00
Con Kolivas
8d99a44993 Show how small a too small result in bflsc is. 2013-08-30 22:38:56 +10:00
Con Kolivas
83a8c1328c Duplicate the buffer in process_results in bflsc since strtok modifies it making debugging output limited to one line. 2013-08-30 21:42:38 +10:00
Con Kolivas
1403f4dd08 Only process nonces in bflsc is the breakdown function succeeds. 2013-08-30 21:40:10 +10:00
Con Kolivas
34d977c819 Revert "Ignore inprocess message when retrieved out of sync in bflsc while processing nonces."
This reverts commit 791a8f65ba.
2013-08-30 21:17:42 +10:00
Con Kolivas
791a8f65ba Ignore inprocess message when retrieved out of sync in bflsc while processing nonces. 2013-08-30 21:11:20 +10:00
Con Kolivas
2853a5d9d5 Temporarily revert inprocess parsing in bflsc pending fixes. 2013-08-30 20:39:23 +10:00
Con Kolivas
3f8d56be52 Decrease bflsc queue lines min to match removal of inprocess message. 2013-08-30 20:36:44 +10:00
Con Kolivas
8aa50e19fa Ignore zero count messages in bflsc instead of trying to parse them. 2013-08-30 20:34:40 +10:00
Con Kolivas
2061e97c0f Return ok in tolines when it doesn't match inprocess message for bflsc. 2013-08-30 20:31:57 +10:00
Con Kolivas
0f712d5191 Remove inprocess line instead of deleting all following responses in bflsc. 2013-08-30 20:29:00 +10:00
Con Kolivas
9a86702955 Ignore responses from bflsc as INPROCESS 2013-08-30 20:24:29 +10:00
Con Kolivas
cb914ab53f Change ok testing logic in breakdown() in bflsc and return if not ok at any stage. 2013-08-30 16:26:00 +10:00
Con Kolivas
6ff7893fdd Check the return value of tolines in bflsc driver. 2013-08-30 16:14:25 +10:00
Con Kolivas
b0fe14d4b3 Use strtok to parse lines in bflsc driver. 2013-08-30 16:13:01 +10:00
Con Kolivas
7bb0713124 Add libusb-1.0 m4 directory and gitignore file. 2013-08-30 15:42:09 +10:00
Con Kolivas
ef6925a642 Properly convert from ranlib to lt_init in configure.ac 2013-08-30 15:38:37 +10:00
Con Kolivas
748eda1faa Make autoconf always build for libusb. 2013-08-30 15:38:37 +10:00
Con Kolivas
a99f15bc18 More autoconf buggery. 2013-08-30 15:38:37 +10:00
Con Kolivas
67aab60f30 Update readme reflecting statically included jansson and libusb 2013-08-30 15:38:36 +10:00
Con Kolivas
7f653ba97c Unconditionally build jansson statically from the cgminer source tree. 2013-08-30 15:38:36 +10:00
Con Kolivas
e50f5c87d9 Only test for all usb devices once in configure.ac 2013-08-30 15:38:36 +10:00
Con Kolivas
ec4821c11f Fix various libusb warnings and possible bugs on linux build. 2013-08-30 15:38:36 +10:00
Con Kolivas
358afc8450 Add make clean and maintainer-clean to autogen 2013-08-30 15:38:36 +10:00
Con Kolivas
9a5b630e93 Remove examples from libusb Makefile and generated autoconf files. 2013-08-30 15:38:36 +10:00
ckolivas
4c9d9fd61a Fix libusb subdirectory builds. 2013-08-30 15:38:35 +10:00
ckolivas
99dc528c21 Remove cached files from libusb autoconf on running autogen.sh 2013-08-30 15:38:35 +10:00
ckolivas
0f42fd3f46 Remove unused HAVE_LISBUSB macro and use USE_USBUTILS everywhere. 2013-08-30 15:38:35 +10:00
Con Kolivas
1936d3879a Use direct auto* files to avoid failure of autoreconf 2013-08-30 15:38:35 +10:00
ckolivas
af9a877825 Remove unused and maintainer cleaned files 2013-08-30 15:29:03 +10:00
ckolivas
5ab389c8b0 Show RT_LIBS in ./configure output. 2013-08-30 15:29:02 +10:00