Noel Maersk
9e9ac30af0
doc: KERNEL.md formatting.
2014-02-06 14:54:08 +02:00
Noel Maersk
4300e42aa8
doc: fix link in BUGS.md.
2014-02-06 14:48:53 +02:00
Noel Maersk
2a950ff758
doc:BUGS.md minor updates.
2014-02-06 13:27:39 +02:00
Noel Maersk
8dd1c2d4af
core: correctly parse boolean configuration values.
...
Also, with style.
2014-02-05 22:03:46 +02:00
Noel Maersk
0e8ec8d060
pools: Allow disabling pool even if it's the last one enabled.
...
Pool state machine is incomplete, and enabled_pools is not increased if
pool state is not explicitly set to "enabled" in config. However,
there is no reason why the user should not be allowed to disable
all pools.
enabled_pools is a bookkeeping variable, and bookkeeping is cumbersome.
Rather than trying to fix this regression, get rid of another place
where enabled_pools is used.
Closes https://github.com/veox/sgminer/issues/75
2014-02-05 16:28:27 +02:00
Noel Maersk
f5c51b7771
build: don't allow disabling OpenCL (it is mandatory).
...
Closes https://github.com/veox/sgminer/issues/76
2014-02-05 15:35:54 +02:00
Noel Maersk
3f34049302
core: change default scantime/expiry to 7/28 (back to 1:4 ratio).
...
Previous defaults (before 10/30) were optimised for Bitcoin that has
a much higher average block time. Optimise for Litecoin (currently
largest scrypt network.)
Not pushing it further down so as not to scare people with dropping
hashrates.
Thanks to MissedOutOnBTC @ freenode for testing.
Closes https://github.com/veox/sgminer/issues/22
2014-02-04 21:00:26 +02:00
Noel Maersk
3ae7531fa9
adl: rename adl_errors() to adl_error_desc(), shorten error desc's, handle unknown error
2014-02-04 20:55:58 +02:00
Noel Maersk
b298675896
Merge remote-tracking branch 'deba12/master'
2014-02-04 20:47:42 +02:00
deba12
cd63c1bf24
Add descriptive adl errors
2014-02-04 18:26:46 +02:00
Noel Maersk
f2f2bcedc7
build: use git version if available.
...
Borrowed from Arch Linux pacman:
https://projects.archlinux.org/pacman.git/tree/
2014-02-04 15:18:27 +02:00
Noel Maersk
76b79b2fb2
build: fix AC_INIT string of configure.ac.
...
As specified in https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Initializing-configure.html
2014-02-04 12:46:09 +02:00
Noel Maersk
52e9df8d78
help: temp-target and temp-overheat had identical descriptions that do not describe what they actually do.
...
Closes https://github.com/veox/sgminer/issues/65
2014-02-03 13:56:43 +02:00
Noel Maersk
b8f4419b58
Merge pull request #69 from Oriumpor/patch-2
...
Replace second ZUIKKIS_KERNNAME for PSW_KERNNAME
2014-02-03 02:10:34 -08:00
Oriumpor
8b92708d23
Replace second ZUIKKIS_KERNNAME for PSW_KERNNAME
...
Build still broken:
sgminer.c: In function âwrite_configâ:
sgminer.c:4193: error: âPSW_KERNNAMEâ undeclared (first use in this function)
sgminer.c:4193: error: (Each undeclared identifier is reported only once
sgminer.c:4193: error: for each function it appears in.)
2014-02-02 10:50:24 -08:00
Noel Maersk
ad5b5fd9a6
Merge pull request #64 from bigchirv/patch-1
...
Adding definition for psw's kernel name.
2014-02-02 07:10:20 -08:00
bigchirv
4082064191
Adding definition for psw's kernel name.
2014-02-02 05:45:52 -04:30
Noel Maersk
638b24d65c
doc: update KERNEL.md.
2014-02-01 16:19:04 +02:00
Noel Maersk
23eb242a5f
kernel: make psw usable, reorder cases alphabetically.
...
Closes https://github.com/veox/sgminer/issues/30
2014-02-01 16:01:37 +02:00
Brandon Tuomela
bda1070259
kernel: add psw kernel.
2014-02-01 15:51:03 +02:00
Noel Maersk
2e16fb50fa
doc: Update BUGS.md to ask whether using precompiled binary.
2014-01-31 22:00:41 +02:00
Noel Maersk
464913aa31
misc: Update AUTHORS (add Perry Huang, reorder).
2014-01-31 21:44:49 +02:00
Noel Maersk
c23522036d
ui: Don't display pool list N times if N pools are set hidden in config.
...
Also, add some comments do #endif's.
2014-01-31 21:39:44 +02:00
Noel Maersk
37f60c3d2a
Merge pull request #59 from perryh/add_api_khs
...
Add API_KHS endpoint.
2014-01-31 09:00:44 -08:00
Perry Huang
8bd980dbbd
Add API_KHS endpoint.
...
Fix multiplying before double cast.
Add endpoint to response.
Fix API response function.
Fix var name.
Add KHS to API summary.
2014-01-31 02:57:23 -06:00
Noel Maersk
9f99474e69
pools: Revert back to "Pool N" default pool name, and use json_array_index to set it.
...
Closes https://github.com/veox/sgminer/issues/51
Using j_a_i allows us to get rid of accounting vars like total_poolnames,
and pool names don't get mixed up if they're not specified for some pools.
It would still be desirable to show the URL as a pool name if poolname is not
set.
2014-01-30 15:22:19 +02:00
Noel Maersk
ed61c38ec8
build/mingw: style fixup after tonobitc merge.
...
Use `#defined(...)` instead of `#defined ...`.
Remove comments about issues - anyone removing those lines can check blame
to see why they were added.
Add tonobitc to AUTHORS.md.
2014-01-29 22:25:38 +02:00
Noel Maersk
241c94cbdd
Merge remote-tracking branch 'tonokip/master'
2014-01-29 22:22:52 +02:00
tonobitc
32b13ccb46
fix for mingw-w64
2014-01-28 16:04:19 -08:00
tonobitc
d56d4ced64
include winsock2.h to resolve ws2tcpip.h conflict
2014-01-28 15:31:31 -08:00
tonobitc
af01573a4f
sleep function still needed for MingW not MW-W64
2014-01-28 14:56:12 -08:00
Noel Maersk
e123cc20c3
kernel: search in pwd
/kernel/ for kernels.
...
Closes https://github.com/veox/sgminer/issues/49 .
2014-01-29 00:48:12 +02:00
Noel Maersk
d203dddabb
ui: remove mention of cgminer in "Settings" menu.
2014-01-28 23:59:31 +02:00
Noel Maersk
83d984a469
doc: add releases, issues and irc channel to README.
2014-01-28 23:05:15 +02:00
Noel Maersk
108ac24e2a
core: check for GPU_* environment variables unconditionally.
2014-01-28 02:51:42 +02:00
Noel Maersk
17ef58b3d1
doc: typo in doc/KERNEL.md
2014-01-28 01:00:21 +02:00
Noel Maersk
cd5fa8d3cb
Merge branch 'windows-cross-compile'
2014-01-27 21:19:47 +02:00
Noel Maersk
e081a669f6
doc: add note about --disable-adl-checks.
...
Should close https://github.com/veox/sgminer/issues/26
2014-01-27 21:18:43 +02:00
Noel Maersk
2879994408
adl: only ask for iDrvIndex on Linux.
...
Should close https://github.com/veox/sgminer/issues/45
2014-01-27 19:07:04 +02:00
Noel Maersk
b56e65aa77
misc: line wrap.
2014-01-27 19:06:52 +02:00
Noel Maersk
a65ff54b08
doc: update README.md with "state" option.
...
Closes https://github.com/veox/sgminer/issues/44
2014-01-27 18:17:14 +02:00
Noel Maersk
d3a3ee6b31
misc: update AUTHORS.md with recent testers.
2014-01-27 17:49:23 +02:00
Noel Maersk
d7c8d1d300
core: change scantime/expiry to 10/30 from 30/120.
2014-01-27 02:43:52 +02:00
Noel Maersk
64fc8324b8
pools: initial implementation of pool state machines.
...
moved enable_pool(), disable_pool() and other functions related to
state. These could probably be factored out altogether.
Pool state default is now "enabled" - it was previosly "disabled",
but there was an unconditional function call to enable all pools
in main() previously. It was factored out by joe's earlier commits,
so not visible in this one.
2014-01-27 02:28:58 +02:00
Noel Maersk
1ebcb07302
Merge branch 'master' into pools
2014-01-27 00:54:16 +02:00
Noel Maersk
cae071b837
Merge branch 'kernels'
2014-01-27 00:48:25 +02:00
Noel Maersk
67d15f2843
Merge branch 'adl-extra-logging'
2014-01-27 00:45:47 +02:00
Noel Maersk
e269656959
Merge branch 'pools-joe'
2014-01-26 23:57:18 +02:00
Noel Maersk
048c82b9b2
pools: rename 'pool->enabled' to 'pool->state'.
2014-01-26 20:02:00 +02:00
Noel Maersk
22b78e91f6
tui: Refactor status line printing.
...
Default pool name is now URL and port instead of "Pool N" (which
is confusing).
Status line displays user-defined name.
2014-01-26 19:44:39 +02:00