Commit Graph

307 Commits

Author SHA1 Message Date
Jack Wills c0bb5355d6 refactor: app_data methods re-ordered & renamed 2023-01-29 01:52:38 +00:00
Jack Wills 2ab88eb26e chore: dependencies updated 2023-01-28 21:55:40 +00:00
Jack Wills 68e444bfc3 fix: deadlock on draw logs when no containers found 2023-01-28 21:53:21 +00:00
Jack Wills c4d80061da revert: is_running AtomicBool back to SeqCst 2023-01-28 20:45:02 +00:00
Jack Wills b4488e4bdb refactor: major refactor of internal data handling
What started off as an inquisitive look at how the gui drawing blocks get the data they require in order to draw to the screen, ended up as a realisation  that it could be achieved in a better manner. Basically just use x.get(y), instead of using x[y] all over the place
2023-01-28 20:44:09 +00:00
Jack Wills 1025579138 docs: comment typo 2023-01-28 17:23:27 +00:00
Jack Wills a174dafe1b refactor: needless (double) referencing removed 2023-01-26 21:00:32 +00:00
Jack Wills 93dbc614d1 chore: release v0.2.0 2023-01-21 22:20:40 +00:00
Jack Wills a53de908c6 docs: changelog 2023-01-21 22:06:53 +00:00
Jack Wills 51c580010a fix: memory column aligned, closes #20 2023-01-18 02:06:05 +00:00
Jack Wills 97b89349dc refactor: main.rs tidy up 2023-01-18 02:05:00 +00:00
Jack Wills 657ea2d751 feat: Logs in own struct
Store the logs, and timestamp into a hashset, so that won't push data into the vec if it's already in the hashset, close #11
2023-01-18 02:04:44 +00:00
Jack Wills 9ec43e124a feat: spawn docker exec commands into own thread 2023-01-18 02:01:56 +00:00
Jack Wills 9dcd0509ef refactor: derive Default for GuiState 2023-01-18 02:01:01 +00:00
Jack Wills bd7dfcd2c5 feat: align memory columns correctly, closes #20
use kB as minimum bytestats unit, screenshot updated
2023-01-14 18:01:38 +00:00
Jack Wills 0350293de3 refactor: param reduction, AtomicBool to Relaxed 2023-01-14 17:59:33 +00:00
Jack Wills 8bd6c94b49 chore: release v0.1.11 2023-01-03 19:23:20 +00:00
Jack Wills cfdea77594 fix: sort containers on every update_stats(), if a sort is set 2023-01-03 04:44:47 +00:00
Jack Wills 3cdc5fae02 refactor: input sort executed in app_data struct sort_by_header() 2023-01-03 04:43:43 +00:00
Jack Wills 46d4e5a832 chore: release v0.1.10 2022-12-25 15:48:57 +00:00
Jack Wills 20feacb8ae fix: linting removed 2022-12-25 15:27:20 +00:00
Jack Wills bf9dcac704 chore: Rust 1.66 linting 2022-12-15 16:34:24 +00:00
Jack Wills 7899b77356 fix: comment typo 2022-12-09 03:49:46 +00:00
Jack Wills 57c3a6c186 refactor: remove_ansi to single liner 2022-12-09 03:42:57 +00:00
Jack Wills e71802fe21 chore: release v0.1.9 2022-12-05 14:06:22 +00:00
Jack Wills 552c26bc5c fix: only sort if no containers currently set, i.e. on first attempt 2022-12-05 13:50:14 +00:00
Jack Wills 160b8021b1 fix: disallow commands to be sent so an oxker container, closes #19 2022-12-05 03:52:41 +00:00
Jack Wills 1adb61ce3b fix: if no container created time, use 0 instead of system time 2022-12-05 03:22:08 +00:00
Jack Wills 6b248082ba chore: release v0.1.8 2022-12-05 02:40:53 +00:00
Jack Wills d1de291473 fix: sort by ascending first 2022-12-05 02:05:14 +00:00
Jack Wills cf14ba4989 feat: default order of created time, reset sorted, closes #18 2022-12-04 21:42:54 +00:00
Jack Wills c93870e5fb feat: -s flag for showing self when conterainerised 2022-12-04 21:42:07 +00:00
Jack Wills 00af24e944 chore: release v0.1.7 2022-11-13 16:39:47 +00:00
Jack Wills 61cfa9394f docs: comment typo 2022-11-10 02:42:43 +00:00
Jack Wills 8f3a151371 chore: aggressive linting, with rust v1.65.0 2022-11-06 01:34:13 +00:00
Jack Wills 283fda6982 chore: release v0.1.6 2022-10-16 02:15:04 +00:00
Jack Wills a060d03258 refactor: Cpu+Mem stats use tuple struct 2022-10-16 01:23:02 +00:00
Jack Wills 9cb0c414af feat: log title show container name, closes #16 2022-10-16 01:22:04 +00:00
Jack Wills a98e8b7260 chore: cargo fmt 2022-10-16 00:00:41 +00:00
Jack Wills 9e9d51559a feat: use gui_status for various gui states 2022-10-15 00:23:26 +00:00
Jack Wills 90e26c300e wip: gui_status, should use a hashset? 2022-10-14 21:26:20 +00:00
Jack Wills 67c4957568 feat: terminal.clear() after run_app 2022-10-13 17:45:29 +00:00
Jack Wills ea08a12246 fix: comment typo 2022-10-13 02:33:32 +00:00
Jack Wills 59797685df fix: loading icon color & shifting, closes #15 2022-10-13 02:33:05 +00:00
Jack Wills 6492012d5f chore: release v0.1.5 2022-10-07 21:13:21 +00:00
Jack Wills 62fb224786 refactor: String::from("") > String::new() 2022-10-07 03:04:06 +00:00
Jack Wills a77f690a49 refactor: replace iter() to into_iter(), and remove useless .iters()'s 2022-10-07 02:43:04 +00:00
Jack Wills 5660b34d51 refactor: map_or_else to map_or 2022-10-07 02:22:26 +00:00
Jack Wills 3e26f292c7 refactor: map_or_else to map_or 2022-10-07 01:45:01 +00:00
Jack Wills 5c9f253695 docs: --help explanation improved 2022-10-07 01:44:21 +00:00