Commit Graph

  • 0430165f7b Fix cgcompletion return code and free on successful completion. ckolivas 2013-10-18 10:26:31 +1100
  • f826e35765 Provide a cg_completion_timeout helper function for unreliable functions that takes arbitrary functions and parameters and reliably returns. ckolivas 2013-10-18 10:14:51 +1100
  • b1fc68b5f0 Merge pull request #508 from kanoi/master kanoi 2013-10-17 13:54:44 -0700
  • 789d448e84 Perform sync transfers on shutdown to allow final transfers to complete. Con Kolivas 2013-10-18 07:05:35 +1100
  • 011f2d30ae Merge branch 'master' of github.com:ckolivas/cgminer Con Kolivas 2013-10-18 06:56:13 +1100
  • ad8d94979f Destroy cgsems used after transfers to not leave open files on osx. Con Kolivas 2013-10-18 06:55:30 +1100
  • 03d9f56a9d klondike rewrite work control Kano 2013-10-18 01:04:20 +1100
  • c9adb1929c allow __work_complete() access Kano 2013-10-18 00:54:37 +1100
  • 3fc7ff45e4 miner.h allow devices to tv_stamp work Kano 2013-10-16 01:54:54 +1100
  • 06ed3e381b Bump version to 3.6.3 Con Kolivas 2013-10-17 20:32:56 +1100
  • 4b443961a2 Update NEWS Con Kolivas 2013-10-17 20:30:11 +1100
  • c04f3bf3bc Merge branch 'master' into mergelibusb Con Kolivas 2013-10-17 20:27:35 +1100
  • 514b3c424f API add 'MHS %ds' to 'summary' Kano 2013-10-17 19:45:20 +1100
  • d3d3fc1316 Optional lock tracking and stats via the API Kano 2013-10-17 16:14:45 +1100
  • 685c2acecd Speed up polling repeat again in usb poll thread and handle async after the message to disable polling is complete. Con Kolivas 2013-10-17 20:03:31 +1100
  • 920c0bd908 Merge pull request #507 from kanoi/master kanoi 2013-10-17 01:46:24 -0700
  • 55e233d52c API add 'MHS %ds' to 'summary' Kano 2013-10-17 19:45:20 +1100
  • 103bc0bafe Revert to using timeouts on !linux since libusb leaks memory without them. Con Kolivas 2013-10-17 18:52:07 +1100
  • bf810a10c6 Merge pull request #506 from kanoi/master kanoi 2013-10-17 00:37:15 -0700
  • c2073f0944 Optional lock tracking and stats via the API Kano 2013-10-17 16:14:45 +1100
  • 74a4ccba28 Bump version to 3.6.2 Con Kolivas 2013-10-17 00:19:12 +1100
  • eac5d49df4 Update NEWS. Con Kolivas 2013-10-17 00:16:39 +1100
  • 65b130cda1 Remove unused components of jansson Con Kolivas 2013-10-16 23:31:11 +1100
  • 4ed54d8c46 Remove unused parts of libusb Con Kolivas 2013-10-16 23:28:21 +1100
  • 539f2c35d0 Work around older libtoolize that fails without top ltmain.sh not being present during autogen Con Kolivas 2013-10-16 23:17:55 +1100
  • 40034ba1a2 Add m4 directory to jansson Con Kolivas 2013-10-16 22:30:51 +1100
  • ec4dfc5e65 Fix open coded use of autoreconf in autogen Con Kolivas 2013-10-16 22:26:46 +1100
  • 77cffa2f40 Update jansson to only build parts we require and suited to our build environment. Con Kolivas 2013-10-16 22:14:36 +1100
  • d529a3fdbd Initial import of jansson-2.5 Con Kolivas 2013-10-16 22:02:03 +1100
  • 955e971d3d Prevent further USB transfers from occurring once the shutdown signal has been sent to prevent transfers getting stuck and libusb failing to shut down. Con Kolivas 2013-10-16 20:47:26 +1100
  • bec75b61a6 Make the USB polling thread poll every second to potentially aid longer timeout transfers. Con Kolivas 2013-10-16 20:34:51 +1100
  • f821d0fbf3 Set device_diff on work in get_work to not be missed with drivers that use get_work directly. ckolivas 2013-10-15 13:31:07 +1100
  • 330e64282e Convert icarus driver to hash_driver_work model. ckolivas 2013-10-15 10:03:03 +1100
  • addb8481c3 bflsc - also allow ' 0' in DEVICES IN CHAIN Kano 2013-10-15 02:02:30 +1100
  • 8455cc3f77 bflsc - allow a 0 in DEVICES IN CHAIN Kano 2013-10-15 01:55:31 +1100
  • c70cea274c Bump version to 3.6.2 Con Kolivas 2013-10-17 00:19:12 +1100
  • a461a9129d Update NEWS. Con Kolivas 2013-10-17 00:16:39 +1100
  • 7a32a7b808 Remove unused components of jansson Con Kolivas 2013-10-16 23:31:11 +1100
  • b84166e42d Remove unused parts of libusb Con Kolivas 2013-10-16 23:28:21 +1100
  • 84382e1021 Work around older libtoolize that fails without top ltmain.sh not being present during autogen Con Kolivas 2013-10-16 23:17:55 +1100
  • 8f3a055928 Add m4 directory to jansson Con Kolivas 2013-10-16 22:30:51 +1100
  • 53bcd25b00 Fix open coded use of autoreconf in autogen Con Kolivas 2013-10-16 22:26:46 +1100
  • 3488cc96ed Update jansson to only build parts we require and suited to our build environment. Con Kolivas 2013-10-16 22:14:36 +1100
  • 591aa98cfd Initial import of jansson-2.5 Con Kolivas 2013-10-16 22:02:03 +1100
  • 3c9d61eaf7 Merge branch 'master' into libusbx Con Kolivas 2013-10-16 20:51:19 +1100
  • 4e5946d2ba Prevent further USB transfers from occurring once the shutdown signal has been sent to prevent transfers getting stuck and libusb failing to shut down. Con Kolivas 2013-10-16 20:47:26 +1100
  • b6831453b4 Make the USB polling thread poll every second to potentially aid longer timeout transfers. Con Kolivas 2013-10-16 20:34:51 +1100
  • bc0bb822bc klondike - adjust work matching and cleanup Kano 2013-10-16 01:55:57 +1100
  • ecacb24af1 miner.h allow devices to tv_stamp work Kano 2013-10-16 01:54:54 +1100
  • c52973a96e klondike - ensure all memcpy use the size of the target Kano 2013-10-16 00:26:44 +1100
  • 8dbe1a68db Merge to master Con Kolivas 2013-10-15 13:40:46 +1100
  • fe5da96727 Set device_diff on work in get_work to not be missed with drivers that use get_work directly. ckolivas 2013-10-15 13:31:07 +1100
  • 58c5ebba3f Convert icarus driver to hash_driver_work model. ckolivas 2013-10-15 10:03:03 +1100
  • 2bbe492f5b Merge with master Con Kolivas 2013-10-15 08:45:13 +1100
  • dd1f67fe5f bflsc - also allow ' 0' in DEVICES IN CHAIN Kano 2013-10-15 02:02:30 +1100
  • 1f166d99b0 bflsc - allow a 0 in DEVICES IN CHAIN Kano 2013-10-15 01:55:31 +1100
  • ab5b2229f8 Bump version to 3.6.1 Con Kolivas 2013-10-15 00:31:06 +1100
  • 7e43f512c9 Update NEWS for 3.6.1 Con Kolivas 2013-10-15 00:30:45 +1100
  • 7c6bd4a8fb Emulate the libusb_control_transfer sync setup in our async variant. Con Kolivas 2013-10-15 00:26:50 +1100
  • e6280c85d2 Add the libusb control setup size offset for control writes. Con Kolivas 2013-10-15 00:13:06 +1100
  • 91d1d104d1 Merge branch 'master' of github.com:ckolivas/cgminer Con Kolivas 2013-10-15 00:00:00 +1100
  • 8fdaeb0ac9 Differentiate send from receive in control transfers! Con Kolivas 2013-10-14 23:59:01 +1100
  • bae0815edf Merge pull request #505 from kanoi/master kanoi 2013-10-14 03:45:44 -0700
  • 108e73763b usbutils - make all libusb_error_name messages the same Kano 2013-10-14 21:44:10 +1100
  • a089cac35e Bump version to 3.6.0 Con Kolivas 2013-10-14 21:32:18 +1100
  • 1016616036 Further update NEWS Con Kolivas 2013-10-14 21:31:40 +1100
  • 9e287f9598 Merge pull request #499 from someone42/master Con Kolivas 2013-10-14 03:27:57 -0700
  • f706fef537 Merge branch 'master' of github.com:ckolivas/cgminer Con Kolivas 2013-10-14 20:57:13 +1100
  • 4b66519778 Update NEWS. Con Kolivas 2013-10-14 20:56:58 +1100
  • fb32e31c18 Merge pull request #504 from kanoi/master kanoi 2013-10-14 02:55:34 -0700
  • 38f10c0d42 Rename hfa_read thread on it starting. Con Kolivas 2013-10-14 18:09:27 +1100
  • 53b33c8f18 Limit max diff internally used by hashfast driver to 256 to still get some nonces back to check for errors if mining at very high diff. Con Kolivas 2013-10-14 17:46:58 +1100
  • 3dda8a213c Cosmetic changes to hashfast output. Con Kolivas 2013-10-14 17:45:04 +1100
  • fe945e18ff Implement primary scanwork loop submitting work and returning hashrate for hashfast. Con Kolivas 2013-10-14 17:39:33 +1100
  • 8b24b3d35e Send a work restart frame when the restart message is received in hashfast scanwork. Con Kolivas 2013-10-14 16:59:02 +1100
  • 222af657a1 Remove hashfast write thread for all writes can be done from scanwork without added complexity. Con Kolivas 2013-10-14 16:51:21 +1100
  • e9b67b50ae Pass the thr argument to the read and write threads for hashfast to have access to its data. Con Kolivas 2013-10-14 16:19:52 +1100
  • 5cbe4be9e7 Incorporate hf protocol header changes. Con Kolivas 2013-10-14 15:13:30 +1100
  • e06e495ab8 Merge branch 'master' into hashfast Con Kolivas 2013-10-14 15:07:32 +1100
  • 1452cbff12 klondike - can only calculate the nonce difference on or after the 2nd nonce Kano 2013-10-14 13:28:36 +1100
  • c3b0566247 Merge branch 'master' into libusbx Con Kolivas 2013-10-14 12:58:30 +1100
  • 5c7b9f7e57 Merge pull request #503 from kanoi/master kanoi 2013-10-13 18:52:51 -0700
  • 07837072f1 hexstr is too small in test_work_current Con Kolivas 2013-10-14 12:12:01 +1100
  • 166200c094 Windows uses errno for WSAETIMEDOUT Con Kolivas 2013-10-14 12:01:40 +1100
  • 02a4f8df9c Convert the usb callback function to using cgsem_t timed waits to avoid race conditions with conditionals/mutexes. Con Kolivas 2013-10-14 11:44:37 +1100
  • c9c39ac14d Give correct return code in cgsem_mswait Con Kolivas 2013-10-14 11:44:13 +1100
  • 1d9f90b256 Revert "Convert the usb callback function to use a cgsem_t using the timedwait code to avoid races with mutexes/conditionals." Con Kolivas 2013-10-14 11:39:15 +1100
  • 433465bcfc Convert the usb callback function to use a cgsem_t using the timedwait code to avoid races with mutexes/conditionals. Con Kolivas 2013-10-14 11:35:47 +1100
  • 6e948d8750 Check for correct timeout error in cgsem_mswait Con Kolivas 2013-10-14 11:34:08 +1100
  • 51f8107b32 Fix util.h exports for cgsem_mswait Con Kolivas 2013-10-14 11:27:04 +1100
  • c75ce853a9 Implement a generic cgsem_mswait similar to sem_timedwait Con Kolivas 2013-10-14 11:22:57 +1100
  • 634151ffa0 Merge branch 'master' into hashfast Con Kolivas 2013-10-14 10:06:37 +1100
  • 9ca22ed493 Use the one LIBUSB_ERROR_TIMEOUT for cancelled transactions since this error is explicitly tested for in various drivers. Con Kolivas 2013-10-14 10:05:49 +1100
  • a7580f1ff2 Do not use locking on usb callback function pthread signalling to prevent deadlock with libusb's own event lock. Con Kolivas 2013-10-14 09:40:23 +1100
  • 8d1604a2e3 Do not use locking on usb callback function pthread signalling to prevent deadlock with libusb's own event lock. Con Kolivas 2013-10-14 09:40:23 +1100
  • d2d7a7468e Merge branch 'master' into hashfast Con Kolivas 2013-10-14 00:54:39 +1100
  • 280dc4bf01 Lock mutex before second pthread_cond_wait in usbutils to prevent a race. Con Kolivas 2013-10-14 00:54:05 +1100
  • 3c7af2e634 Join threads to close hashfast driver. Con Kolivas 2013-10-14 00:28:57 +1100
  • 598b58c8ce Create basic read and write threads that will be used by hashfast driver. Con Kolivas 2013-10-14 00:18:23 +1100
  • 93d1f93fdd Perform remainder of hashfast_detect_common setup. Con Kolivas 2013-10-13 22:34:16 +1100