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

6097 Commits

Author SHA1 Message Date
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
troky
21c007e842 VS2010 build: Static pthreads compiling and linking. 2014-02-01 00:34:50 +02:00
troky
70845714b5 VS2010 build: Added library building instructions. 2014-02-01 00:33:22 +02:00
Noel Maersk
922bf25075 Fix build error in changed compat/jansson-2.5/src/dump.c (missing 'struct'). 2014-02-01 00:29:37 +02:00
troky
975139e054 VS2010 build: Prepared jansson for VS compile. 2014-02-01 00:29:09 +02:00
troky
80d00323de VS2010 build: added sleep/usleep macros 2014-02-01 00:28:44 +02:00
troky
b3dbe146ad Fixed le25todouble() casting.
Conflicts (resolved):
	sgminer.c
2014-02-01 00:27:51 +02:00
troky
e0c380a2c9 Fixed missing realloc removed by mistake.
Conflicts (resolved):
	sgminer.c
2014-02-01 00:26:57 +02:00
Noel Maersk
b97a641ed9 Merge branch 'master' into build-msvs2010-upd
Conflicts (resolved):
	sgminer.c
2014-02-01 00:25:56 +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
troky
6c343ae28c VS2010 build: Added libs download link. 2014-01-28 22:23:31 +02:00
Noel Maersk
14aac4b4dd VS2010 build: move windows config.h gitignore rule to winbuild/.gitignore 2014-01-28 20:53:52 +02:00
troky
e053f49957 VS2010 build: Missing config.h and .gitignore rule to keep windows config.h 2014-01-28 20:53:47 +02:00
Noel Maersk
d9eb547c5a VS2010 build: revert le256todouble() cast/ref/deref change.
Introduced by commit 87e5f35745

The cast/ref/deref is performed wrong and breaks share/best share display.
It is not the value of target that should be increased, but its address.

If all else fails, add an `#ifdef _MSVC_VER`; we should avoid it if possible.

In either case, constructs like `&(*(((uint64_t *)target) + 24))` must be
explained (in a comment).
2014-01-28 20:30:00 +02:00
Sanjin Trošelj
8d25b38e9b VS2010 build: winbuild/* dist and project files.
Cherry-picked by veox.
2014-01-28 03:37:08 +02:00
Noel Maersk
761f100ab9 VS2010 build: fix a segfault from a removed realloc. 2014-01-28 03:29:23 +02:00
Noel Maersk
108ac24e2a core: check for GPU_* environment variables unconditionally. 2014-01-28 02:51:42 +02:00
Sanjin Trošelj
87e5f35745 VS2010 build: commit elist.h and relevant changes in sgminer.c and util.c
Cherry-picked by veox.

Introduces a segfault. Expect a HEAD reset.
2014-01-28 02:42:56 +02:00
Sanjin Trošelj
5078db8b01 VS2010 build: Prepare util.c
Cherry-picked by veox.
2014-01-28 01:04:04 +02:00
Sanjin Trošelj
e35d7b1105 VS2010 build: Prepare scrypt.c
Cherry-picked by veox.
2014-01-28 01:03:56 +02:00
Noel Maersk
17ef58b3d1 doc: typo in doc/KERNEL.md 2014-01-28 01:00:21 +02:00
Sanjin Trošelj
5d5769156f VS2010 build: Prepare ocl.c
Cherry-picked by veox.
2014-01-28 00:24:51 +02:00
Sanjin Trošelj
7ac101f365 VS2010 build: Prepare miner.h
Cherry-picked by veox.
2014-01-28 00:22:19 +02:00
Sanjin Trošelj
b5a3dbeac0 VS2010 build: Prepare hexdump.c
Cherry-picked by veox.
2014-01-28 00:20:40 +02:00
Sanjin Trošelj
db352941b2 VS2010 build: Prepare findnonce.c
Cherry-picked by veox.
2014-01-28 00:13:56 +02:00
Sanjin Trošelj
8c0e250db2 VS2010 build: Prepare driver-opencl.c.
Cherry-picked by veox.

Changes from troky: struct device_drv opencl_drv tab alignment.
2014-01-27 23:16:57 +02:00
Sanjin Trošelj
cf70796196 VS2010 build: Prepare compat/jansson-2.5.
Cherry-picked by veox.

Not a big fan of modifying compat libraries, makes it harder to maintain
later on. See if these changes are relevant upstream.
2014-01-27 22:52:59 +02:00
Sanjin Trošelj
5ce16a44db VS2010 build: ccan/opt
Cherry-picked by veox.
2014-01-27 22:47:01 +02:00