Commit graph

68 commits

Author SHA1 Message Date
hinto.janai
2205610890
use wgpu backend
Both `glow` and `wgpu` seem to crash (at least in this version
of `eframe/egui`).

It's a pick your poison thing but it
seems wgpu crashing is less common.
2024-03-18 16:01:36 -04:00
hinto.janai
22f11ce7d8
v1.3.5 2024-01-26 09:37:09 -05:00
hinto.janai
5699fe6702
v1.3.4 2024-01-09 08:35:11 -05:00
hinto.janai
3b7181e9c0
Merge branch 'egui' 2023-12-28 16:03:00 -05:00
hinto.janai
4f177ce951
constants: fix widget colors 2023-12-28 08:57:29 -05:00
hinto.janai
582f915977
Merge branch 'ansi' 2023-12-26 13:14:22 -05:00
hinto.janai
27cc46d615
egui: 0.19.0 -> 0.24.1 2023-12-26 11:26:40 -05:00
hinto.janai
91e5cddb8b
for -> while 2023-12-25 09:52:24 -05:00
hinto.janai
4d93670c82
windows: use glow GPU backend 2023-12-25 09:28:07 -05:00
hinto.janai
1bfd72a8c2
v1.3.3 2023-11-26 19:18:07 -05:00
hinto.janai
1eff1b0780
v1.3.2 2023-10-22 18:40:22 -04:00
hinto.janai
008c0def34
v1.3.1 2023-07-19 14:29:46 -04:00
hinto.janai
aa1b3717da
v1.3.0 2023-07-13 13:15:39 -04:00
hinto.janai
f45027e929
prepare v1.2.4 2023-07-13 10:44:05 -04:00
hinto.janai
9ac5335321
use wgpu backend for Linux
May fix https://www.reddit.com/r/MoneroMining/comments/140jlpy/i_cant_get_gupax_to_work_on_linux_fedora_any_ideas/
2023-06-04 18:45:47 -04:00
hinto.janai
dec25895ff
Cargo.toml: fix macOS link issues 2023-06-04 09:52:04 -04:00
hinto.janai
380620c050
update: fix macOS Tor's TLS
On apple-darwin targets there is an issue with the native and rustls
tls implementation so this makes it fall back to the openssl variant.

https://gitlab.torproject.org/tpo/core/arti/-/issues/715
2023-06-01 11:53:03 -04:00
hinto.janai
9b757d1db9
helper: adjust portable_pty
new `portable_pty` from `cargo upgrade`
has a new API on getting STDIN.
2023-05-30 11:57:00 -04:00
hinto.janai
65d1cd4115
cargo upgrade
This excludes:
- `tokio` (node ping gets broken)
- `egui` and friends (way too much layout code to rewrite)
2023-05-30 11:42:16 -04:00
hinto.janai
4c39b58579
v1.2.2 2023-05-11 16:55:26 -04:00
hinto.janai
5eb64a9a3a
num_cpus -> benri 2023-05-11 16:03:32 -04:00
hinto.janai
7d02dfadd0
replace lazy_static with once_cell 2023-05-11 16:01:17 -04:00
hinto.janai
f1320b91bd
gui: change Style
Everything to `Monospace`, set all colors to `ACCENT_COLOR`,
round all corners, set all widget text to `255, 255, 255` (rgb).
2023-04-16 12:49:48 -04:00
hinto.janai
7b56a7b900
main: integrate Syncing signal 2023-04-14 12:12:35 -04:00
hinto.janai
80320decee
cpu.json: update from ef1f6f08ac 2023-03-30 10:24:29 -04:00
hinto.janai
61aae35a95
cargo: add strsim 2023-03-17 16:05:22 -04:00
hinto.janai
bf9c1eea19
Edit name 2023-02-26 11:44:25 -05:00
hinto-janaiyo
c5edfa5593
prepare v1.2.0 2023-02-12 11:40:41 -05:00
hinto-janaiyo
296e6c2413
v1.1.2 2023-02-06 21:55:33 -05:00
hinto-janaiyo
c592f0c9af
only use wgpu backend for Windows 2023-02-06 19:41:17 -05:00
hinto-janaiyo
703b16c324
switch eframe rendering backend from glow to wgpu
The `glow` backend crashes on certain CPU-based graphics, particularly,
Windows running a CPU with integrated graphics using the basic
Microsoft Display Adapter driver.

`wgpu` seems to work everywhere.
2023-02-06 12:40:14 -05:00
hinto-janaiyo
55f8c24cc7
helper: localhost into 127.0.0.1 for xmrig 2023-02-06 09:17:09 -05:00
hinto-janaiyo
de142fb4c3
helper: localhost into 127.0.0.1 for p2pool 2023-02-03 10:32:01 -05:00
hinto-janaiyo
94839a0943
node: add MoneroWorld & HashVault 2023-01-22 21:01:10 -05:00
hinto-janaiyo
388d279e77
v1.1.0 2023-01-03 12:17:38 -05:00
hinto-janaiyo
9d66a20360
status: enable p2pool/xmrig "Image" stats
These couldn't be fit in before since there wasn't enough space.
They still can't all fit in, but the most important ones can be
after adjusting the font sizes and height spacing.
2022-12-23 14:06:25 -05:00
hinto-janaiyo
17feda5cb3
macos: warn user if gupax is in [/private] directory
macOS moves "dangerous" applications into a read-only [/private]
filesystem. This messes up with the updater and default P2Pool and
XMRig paths.

If [/private] is detected, show a panic screen upon Gupax startup
telling the user to move it to [/Applications]. This _seems_ to
make macOS relax a little (after an arbitrary amount of time...)
2022-12-22 11:56:25 -05:00
hinto-janaiyo
3db1adce75
linux: add [--features distro] build flag 2022-12-18 10:22:32 -05:00
hinto-janaiyo
94031359b3
Add [Video] guide 2022-12-15 17:18:28 -05:00
hinto-janaiyo
d3bbe2ece2
cargo check/clippy fixes 2022-12-13 23:05:13 -05:00
hinto-janaiyo
128fa500bb
v0.9.0 (maybe) 2022-12-12 17:24:05 -05:00
hinto-janaiyo
1e2b8f7803
xmrig/status: implement API hyper/tokio call; add [Gupax] stats 2022-12-11 15:51:07 -05:00
hinto-janaiyo
4da775667b
windows/pty: include static [VCRUNTIME140.dll], change PTY size
Bare metal windows was complaining about this DLL, so it is now
included statically using [https://docs.rs/static_vcruntime/].
I tried statically linking everything for Windows but:
	1. It's not necessary, pretty much all DLLs needed
	   (except this one) are included in Windows 7+ by default
	2. It's a pain in the ass to build everything
	   statically, especially since Gupax needs OpenSSL.
	   (building OpenSSL on Windows == hell)

Windows/macOS were having console artifacts, escape codes and
random newlines would show up in P2Pool/XMRig output. After
thinking about it for a while, I realized I left the PTY
size to the default [24 rows/80 columns], hence the PTYs
prematurely inserting newlines and weird escape codes.

It works fine after setting it to [100/1000]. Interestingly,
Linux worked completely fine on 24/80, probably resizes internally.
2022-12-10 15:40:32 -05:00
hinto-janaiyo
e7de536f18
windows: handle admin priviledge for xmrig
Please read the [src/README.md]. I hate windows so much.
2022-12-09 21:31:16 -05:00
hinto-janaiyo
f988e4224c
main: add [zeroize] and implement sudo input/test screen for xmrig 2022-12-07 18:02:08 -05:00
hinto-janaiyo
1f3a472869
helper: p2pool - stdout payouts/xmr parser, priv -> pub functions 2022-12-05 14:55:50 -05:00
hinto-janaiyo
5d293054cf
helper: p2pool - fix args, basic watchdog loop, add STDOUT/STDERR handle to [Process] struct 2022-12-04 11:24:38 -05:00
hinto-janaiyo
d9d71c40d4
helper: translate priv p2pool/xmrig API into pub [Human*] structs 2022-12-03 20:12:40 -05:00
hinto-janaiyo
bfbe0ee969
helper: map xmrig/p2pool JSON API key/values to structs for serde 2022-12-01 23:13:53 -05:00
hinto-janaiyo
20c7542189
v0.5.0 2022-11-22 10:12:16 -05:00