Luke Dashjr
|
0cfdb109cc
Update documentation to include JSON API devdetail command
|
14 years ago |
Luke Dashjr
|
e9cfe5f966
API: json_object_foreach doesn't exist in Jansson 1.1, so use the json_object_iter family instead
|
14 years ago |
Luke Dashjr
|
08342856aa
API: Simplify end-of-device marker
|
14 years ago |
Luke Dashjr
|
db233721f5
Divide device info into "detail" (static information) and "status" (dynamic information), adding a new "devdetail" JSON API method to get the former
|
14 years ago |
Luke Dashjr
|
f4e9426193
API: Refactor devstatus method to make it simpler
|
14 years ago |
Luke Dashjr
|
d046243056
Collapse multiple tailsprintfs into a single one
|
14 years ago |
Luke Dashjr
|
74b93784f6
API: Move device-specific information fetching to the device API model with a new get_extra_device_info function
|
14 years ago |
Luke Dashjr
|
9dad7a836f
API: Append Driver, Kernel, Model, and Device Path to device information
|
14 years ago |
Luke Dashjr
|
d7372d1b76
API: Refactor device status into a single common function
|
14 years ago |
Luke Dashjr
|
3ffffd2374
Bugfix: Don't error on DEVS command if all devices are PGAs
|
14 years ago |
Con Kolivas
|
9b5615d5f3
Shut down the api cleanly when the api thread is cancelled. This should allow the api socket to be closed successfully to next be reopened with app_restart.
|
14 years ago |
Con Kolivas
|
127c4a5ff4
Initialise name variable.
|
14 years ago |
Con Kolivas
|
e07c72687b
Remove unnecessary check for variable that always has memory allocated.
|
14 years ago |
Con Kolivas
|
a5b05d9c55
Merge pull request #167 from luke-jr/bugfix_missing_stmt
|
14 years ago |
Luke Dashjr
|
7987476db3
Bugfix: Missing "break" no-op in default case
|
14 years ago |
Con Kolivas
|
7b947882fe
Merge pull request #157 from luke-jr/unify_drivers
|
14 years ago |
Con Kolivas
|
86671f80a8
Make the status window and log window as large as can fit on startup, rechecking to see if it can be enlarged after the fact. This allows any number of devices to be displayed provided the window is made long enough without corrupting the output.
|
14 years ago |
Luke Dashjr
|
b8778839e9
Merge branch 'master' into unify_drivers
|
14 years ago |
Con Kolivas
|
e08936c3fb
Merge pull request #166 from kanoi/master
|
14 years ago |
Kano
|
2e1d2017de
API add removepool like the screen interface
|
14 years ago |
Kano
|
eec7c1a963
api.c escape required characters in return strings + pools returns the username
|
14 years ago |
Con Kolivas
|
9609dbc42d
Set lp_path to NULL after free for consistency.
|
14 years ago |
Con Kolivas
|
9b2e62d339
Merge pull request #165 from nelisky/resp_hdr_cb_leak
|
14 years ago |
nelisky
|
17b9baa9da
Removing dmalloc import left behind by mistake
|
14 years ago |
Con Kolivas
|
381107cc7b
Merge pull request #164 from kanoi/master
|
14 years ago |
ckolivas
|
b80d22b9d2
Increase maximum number of displayed devices to 14, beyond which the screen becomes corrupted.
|
14 years ago |
nelisky
|
44bcb69ccd
Fixing leak in resp_hdr_cb
|
14 years ago |
Kano
|
8237568395
miner.php warning highlight GPU stats if they are zero (e.g. ADL not enabled)
|
14 years ago |
Kano
|
d5323b7c0c
miner.php highlight any device that isn't 'Enabled'
|
14 years ago |
Kano
|
39eeca263e
miner.php highlight any Status that isn't 'Alive'
|
14 years ago |