Alastair Poole
ad7ab21ae5
cpu: update more frequently
2020-06-24 13:11:10 +01:00
Alastair Poole
dd67c71022
ui: add basic cpu core graphs
...
You can enable/disable per-cpu...
Not done
2020-06-24 01:06:08 +01:00
Alastair Poole
136f5d5c9c
ui: dont expand frame
2020-06-22 11:43:13 +01:00
Alastair Poole
95f6967c5e
ui: button_add and tab_add.
...
Consistent tab sizing and button sizing.
2020-06-21 17:14:35 +01:00
Alastair Poole
700a21573d
process_view: Keep new windows close.
...
On larger displays the process view can be a long way from the
main window when created. It's SUPER annoying. This will keep
them close enough for now.
2020-06-21 16:54:10 +01:00
Alastair Poole
e66cb85e64
ui: adding textblock api.
...
This might need more work.
2020-06-21 15:30:34 +01:00
Alastair Poole
c0f6f39970
ui_util: Generic UI API.
...
Move these into their own place.
2020-06-21 14:03:39 +01:00
Alastair Poole
952764df07
ui: Button Sizing.
...
Size elm_widget based on the parent container's size.
Don't set min_size_hint on ANY ELM widget. This is the LAW.
2020-06-21 13:37:06 +01:00
Alastair Poole
13c7e3b69a
ui: improve "tabs" and "buttons" of note
2020-06-21 12:41:34 +01:00
Alastair Poole
e26e1bb392
ui: button sizing.
2020-06-20 11:02:23 +01:00
Alastair Poole
18fa8063e1
machine: file_contents
2020-06-20 00:48:15 +01:00
Alastair Poole
70f7eb5c94
ui: Button Label
2020-06-19 15:21:16 +01:00
Alastair Poole
24cbca1c09
ui: TRY to improve Storage and Misc Tab Design.
...
This looks better. It's not perfect by a long shot.
Need to fix CPU and meh meh memory
2020-06-19 12:52:00 +01:00
Alastair Poole
b2f977ee66
ui: simplify and remove title.
...
These labels are awful.
If you are ON the CPU "tab" WHY the hack do you need another
massive text label explaining the same thing!!!
Sometimes I wonder, wonder wonder...
2020-06-18 21:11:27 +01:00
Alastair Poole
fbd7bc4f1f
misc: fix padding
2020-06-18 20:54:18 +01:00
Alastair Poole
0966855f5b
machine: memory use.
...
In line with ActivityMonitor for usage.
Labels need sorting for/by platform. User feedback would be good.
As would users :)
2020-06-18 20:25:50 +01:00
Alastair Poole
ec9773bf15
machine: cast to uint64_t
2020-06-18 20:08:20 +01:00
Alastair Poole
dfc32faee8
Linux: Use sensible sensor name.
2020-06-18 18:37:51 +01:00
Alastair Poole
8d1d9a7aaf
testing: Add testing mechanics.
...
Expose machine.h APIs and introduce code to make testing
very easy.
2020-06-18 15:36:39 +01:00
Alastair Poole
6bd132a6b5
thermal: parse what is good.
2020-06-18 13:36:23 +01:00
Alastair Poole
d9a750e323
AUTHOR: Alastair NOT Alan or Altron or ALDO.
2020-06-18 13:18:53 +01:00
Alastair Poole
cd0bc01101
linux: read sensors (alphasort).
...
Otherwise it's a sh*tshow
2020-06-18 13:11:56 +01:00
Alastair Poole
77516b3a98
openbsd: fix
2020-06-18 12:54:45 +01:00
Alastair Poole
3ed3be21a4
freebsd: fix
2020-06-18 11:47:22 +01:00
Alastair Poole
d5c10b939d
machine: fix index
2020-06-18 12:45:06 +01:00
Alastair Poole
ef961b275a
machine: remove horrible hack
2020-06-18 12:17:11 +01:00
Alastair Poole
8a9146909e
openbsd: clarify sysctl use
2020-06-18 00:39:47 +01:00
Alastair Poole
30dba9499e
machine: Rename
2020-06-17 23:08:44 +01:00
Alastair Poole
ce200bf65f
filesystems: fix naming
2020-06-17 23:04:52 +01:00
Alastair Poole
461c34fc0d
ui: rename
2020-06-17 22:34:25 +01:00
Alastair Poole
edd8923326
ui: track proc state properly
2020-06-17 11:06:45 +01:00
Alastair Poole
2c552c2625
ui: Move thermal into Misc.
2020-06-17 11:27:36 +01:00
Alastair Poole
00fa1a5467
machine: lindent.
2020-06-16 22:02:01 +01:00
Alastair Poole
b52cc6e717
macos/netbsd: tidy macos and disown netbsd
2020-06-16 21:32:33 +01:00
Alastair Poole
1450752152
machine: Tidy this up, fix leakages.
2020-06-16 20:12:55 +01:00
Alastair Poole
8a5e2704e0
freebsd: thermal here sucks.
...
There are modules for more but it's too much. They should use a
decent API and not put things all over the place/name space.
2020-06-16 17:29:51 +01:00
Alastair Poole
7dd5077692
OpenBSD: Detect thermal zones properly.
2020-06-16 15:21:06 +01:00
Alastair Poole
ab66aa95e8
linux: read as many thermal sensors as we can.
...
As with OpenBSD.
2020-06-16 14:57:09 +01:00
Alastair Poole
2c0ece6008
macos: fix build
2020-06-16 14:39:04 +01:00
Alastair Poole
dcf23687a3
openbsd et al. Support as many sensors we can find.
...
This isn't finished, build broken for Linux and others.
2020-06-16 14:29:06 +01:00
Alastair Poole
384030bade
tz: more precision.
2020-06-15 13:21:34 +01:00
Alastair Poole
0f89e698bb
OpenBSD: Support RPI2/3 and 4 (pending).
...
There is a driver to go along with this. See:
https://haxlab.org/rpi4/bcm2711_temp.diff.txt
2020-06-13 20:54:11 +01:00
Alastair Poole
b1d6b691a5
eina: remove unneeded _list_free part 2.
2020-06-11 12:53:45 +01:00
Alastair Poole
46376bd40b
eina: remove unneeded _list_free
2020-06-11 12:46:50 +01:00
Alastair Poole
aa6f3e5785
ui: one function to save them all.
2020-06-11 12:22:56 +01:00
Alastair Poole
5bfb60cbd6
build: Fix on OpenBSD.
2020-06-11 11:57:19 +01:00
Alastair Poole
73a5305dde
machine: read rpi3/4 cpu core temperature.
2020-06-08 14:05:16 +01:00
Alastair Poole
cc4e50fb3e
filesystem: Linux again diverges from the pack.
...
As we are aiming to suport the other OS, we will treat
Linux as the exception as with memory use.
Linux uses /proc/mounts for all this however BSD/macOS use a
single struct and system call. The argument might be the
expense of the syscall, but for our purposes and sanity use
the greatest common demoninator again. Sorry Linux...
Seems procfs isn't going to scale very well in the future, am
not looking forward to what they use next...
2020-06-08 12:20:55 +01:00
Alastair Poole
68f5c3fcbf
macos/openbsd: fs type name
2020-06-08 11:25:36 +01:00
Alastair Poole
ed267ba555
fbsd: fs type name.
2020-06-08 11:23:12 +01:00