Commit Graph

747 Commits

Author SHA1 Message Date
Alastair Poole 9fc5b94d6a sensors: Use hwmon interface for thermal.
Should work...
2020-10-05 12:18:26 +01:00
Alastair Poole 42b9ecadc6 ui: "try" to make things clearer. 2020-10-03 15:44:32 +01:00
Alastair Poole 615239115e misc: remove network.
Network needs more details and also its own window...

Move misc to sensors at some point (namespace)...
2020-10-03 14:46:17 +01:00
Alastair Poole b04cde56b8 ui: options kthreads check. 2020-10-03 14:19:29 +01:00
Alastair Poole 45a1eef26f small tidy: makes editing easier.
If someone wants to split each window out or have an idea wtf is
happening this makes more sense...just..
2020-10-03 11:35:36 +01:00
Alastair Poole 3f9a131554 ui_disk: ignore based on path... 2020-10-03 02:25:18 +01:00
Alastair Poole 417c16d540 ui_cpu: Display all cores regardless.
There is no guarantee first n are always on. Show all. Different
CPU behave differently. Can check flags but for now this will do.
2020-10-02 22:26:53 +01:00
Alastair Poole 167b16c7c1 openbsd: is this a meson or linking?
Have done some looking into this issue. With EFL having issues
on FreeBSD i386 and weak symbols and some comments it seems this
must be a linker issue. I need to read up more so for now, this
workaround remains.
2020-10-02 16:47:39 +01:00
Alastair Poole 6f8973ed12 ui: trim some grim 2020-09-29 23:20:00 +01:00
Alastair Poole 43765a53d3 Revert "ui: dont do this..."
This reverts commit b8efdc0a18.

Use your brain
2020-09-28 20:33:59 +01:00
Alastair Poole b8efdc0a18 ui: dont do this...
Might be wrong but I think manually waiting for threads is not
good practice. I don't remember where I learnt this for EFL but
it doesm't seem to be a good idea, the main loop should handle this?
2020-09-28 15:46:44 +01:00
Alastair Poole 68480f726d disk: update objects dont clear and repopulate.
This was annoying as clearing the box breaks scrolling and is
not great...
2020-09-28 15:02:04 +01:00
Alastair Poole 814e6b9e2f ui: silence EFL warning.
I've no idea which EO API was accessed but using this here has
no effect so remove it.
2020-09-14 23:45:14 +01:00
Alastair Poole 97a92a2ed7 btn: use a rect for min sizing.. 2020-09-14 14:35:17 +01:00
Alastair Poole 12afd7b6c0 disk: remove vbox win resize add.
Bad idea...tested with 10+ mounts...disk UI sucks..i'll get that
done some time...
2020-09-14 01:02:09 +01:00
Alastair Poole de385c6930 ui: last one... 2020-09-14 00:38:28 +01:00
Alastair Poole b7ac3b029b prepare 0.5.5 release...
...remove something stupid
2020-09-13 20:27:51 +01:00
Alastair Poole f34de0be19 ui: do chksum 2020-09-12 16:24:06 +01:00
Alastair Poole 811b57f4aa docs: documentation is important...
This is literally how much programmers like to write docs.

It might avoid a few e-mails too...! :
2020-09-12 15:09:59 +01:00
Alastair Poole 25db250732 openbsd: Add comment in case of urge to change.
Still to figure out wtf is going on here....
2020-09-12 14:56:35 +01:00
Alastair Poole 19f7d5cf0b proc_view: defense 2020-09-12 14:31:01 +01:00
Alastair Poole 8f3a80474a ui: aesthetic 2020-09-12 13:57:53 +01:00
Alastair Poole 059290f075 process_view: make sure happens once at a time...
I think this can potentially run twice on a rare occasion when
first populating and/or sorting maybe... it shouldn't hurt
2020-09-12 13:40:40 +01:00
Alastair Poole df89bb22cc menu: clicky clicky come back.
Let's raise the windows if they already exist so you haven't lost
the thing.
2020-09-12 13:22:23 +01:00
Alastair Poole 9de5536c76 ui: Don't let threads select. 2020-09-11 17:15:34 +01:00
Alastair Poole ee3a09faae util: make sure no spaces when generating manpage. 2020-09-11 14:54:02 +01:00
Alastair Poole 316db18173 ui_util: one image is enough. 2020-09-11 14:14:53 +01:00
Alastair Poole db9b8a73a7 init/shutdown: fix.
Queue a restart. Make config checking less aggressive.
2020-09-11 13:52:50 +01:00
Alastair Poole 3453ed3a10 cpu: Disable the checkbox if we can't poll freq. 2020-09-11 09:58:47 +01:00
Carsten Haitzler dc4e297024 split freq and cpu % on 2 rows if cpufreq overlay is on 2020-09-10 13:47:19 +01:00
Alastair Poole c4ac095568 ui: align, menu change 2020-09-10 13:19:42 +01:00
Carsten Haitzler db02f95727 cpu - show core freq as mhz vs ghz to be more human 2020-09-10 12:12:36 +01:00
Carsten Haitzler 27ec63e8eb cpu freq display - show overlayed legends for info 2020-09-10 12:00:40 +01:00
Carsten Haitzler 1c737a8a72 cpu usage/freq display - fix rendering. clearing, efficiency and more
read commnts as to what the code is doing... otherwise its
siginificantly more efficient now, more correct, cleaner, and simpler
even with more features (like properly interpolated colormaps).
2020-09-10 02:47:06 +01:00
Alastair Poole 26169009d5 proc: show kernel threads by default...
Not showing them puts doubt...it also means having to explain to
a user somewhere how to turn it on...OpenBSD doesnt have this..
Linux does, FreeBSD does...macOS probably does but you'd need to
buy a permit and then sign it in blood...
2020-09-10 00:49:32 +01:00
Alastair Poole a17120bccb ui_memory: poll as config... 2020-09-10 00:19:16 +01:00
Alastair Poole 0c8ed945cd ui: that'll do for bolts n clouds...... 2020-09-09 20:41:09 +01:00
Alastair Poole cf4a8f7e8a clouds: my attempt. 2020-09-09 13:57:24 +01:00
Alastair Poole 25cc485218 ui_cpu: hope this is ok 2020-09-09 10:53:42 +01:00
Alastair Poole 8366483936 ui_cpu: fit 2020-09-09 10:43:16 +01:00
Alastair Poole cd21a0a83d ui_cpu: remove unused 2020-09-09 01:10:17 +01:00
Alastair Poole 4ac8359015 ui_cpu: clang lied...
gcc caught
2020-09-08 22:38:33 +01:00
Alastair Poole 5bef24447c ui_cpu: bar height... 2020-09-08 22:36:19 +01:00
Alastair Poole 5d091eb8cd ui_cpu: overlay make it respond better....
colors a bit off but it's visible...
2020-09-08 22:24:23 +01:00
Alastair Poole f4ccc999c0 ui_cpu: tidy...that'll do for now. 2020-09-08 21:54:41 +01:00
Alastair Poole 7604daa1ca cpu: that'll do for now. 2020-09-08 16:33:32 +01:00
Alastair Poole daeff14236 ui: let windows live...
sorry about the previous choice
2020-09-08 16:08:33 +01:00
Alastair Poole 80bb2d61f4 ui_cpu: :) 2020-09-08 16:02:26 +01:00
Alastair Poole 489295737f cpu: nuke the poop 2020-09-08 15:27:37 +01:00
Alastair Poole 9c62b9687b ui_cpu: check cpu count :) 2020-09-08 13:47:01 +01:00
Alastair Poole 0d34b4df40 ui_cpu: bit better.
Check threads too!
2020-09-08 13:43:03 +01:00
Alastair Poole 9ceefbeb65 ui_cpu: k 2020-09-08 13:31:12 +01:00
Alastair Poole cbb724eb6e ui_cpu: poll 1/10 sec 2020-09-08 13:07:12 +01:00
Alastair Poole 6ecd5df976 cpu: turn on > 4... 2020-09-08 12:50:48 +01:00
Alastair Poole c1c026c5b9 test..moving between machines...
dont test
2020-09-08 11:18:45 +01:00
Alastair Poole 4e2646144f cpu: add some debugging.
Should be able to turn this on once the colors/sizing is all
plugged in.
2020-09-08 03:02:38 +01:00
Alastair Poole 945568a64c cpu: win del cb 2020-09-08 02:33:27 +01:00
Alastair Poole eaf548637f cpu: strt > 8 2020-09-08 02:25:33 +01:00
Alastair Poole bb1f06e23a colors: programmable for human. 2020-09-07 16:20:12 +01:00
Alastair Poole 5744742c23 cpu: move this animation to own func.
Let's do something better w/the next one > 4 cpus and also tidy
the mess a little.
2020-09-07 16:02:34 +01:00
Alastair Poole 64a9085e3e clang: shhhh 2020-09-07 15:42:39 +01:00
Alastair Poole 60282d7076 cpu: colorz 2020-09-07 14:39:29 +01:00
Alastair Poole af63cd9ce6 cpu...leeenooks 2020-09-07 12:50:32 +01:00
Alastair Poole b139724e26 aboot: stop effing about now 2020-09-07 00:59:00 +01:00
Alastair Poole b4fb7574fb ui: block horiz scroll.
Our genlist area grows, but we align our table/text...
Block the horiz scroll to hide this hack :)
2020-09-06 23:08:11 +01:00
Alastair Poole 43a4122893 cpu: cpufreq fallback (oops). 2020-09-06 21:40:39 +01:00
Alastair Poole 4f5db6604f process: respect poll settings. 2020-09-06 21:14:52 +01:00
Alastair Poole 690910eef9 ui: reset cpu times on poll time change. 2020-09-06 20:44:37 +01:00
Alastair Poole f76279a6e8 ui: pad... 2020-09-06 20:36:02 +01:00
Alastair Poole ac16641c94 ui: pad...almost done 2020-09-06 19:20:16 +01:00
Alastair Poole f6b535a6d9 main: ffs.
not a good idea
2020-09-06 19:18:27 +01:00
Alastair Poole 313a0ebf3a ui: tooltip to show freq.
Basic but good enough.
2020-09-06 18:58:26 +01:00
Alastair Poole 779af23183 linux: current cpu freq.
Not sure if there is a 3rd fallback...
2020-09-06 14:09:28 +01:00
Alastair Poole 0781f707d5 cpu: basic freq. 2020-09-06 13:23:08 +01:00
Alastair Poole 74efbb1178 config: sanity checks.
Avoid missing issues like this again.
2020-09-05 22:21:57 +01:00
Alastair Poole 94f4e9c620 menu: remove button...
redundant button like the author (for now)... XD
2020-09-05 00:22:26 +01:00
Alastair Poole aef57c2e8c FIX: Set valid config value w/new config.
So, new config. Sleeping 0 * usleep causes some bad stuff to
happen. Thanks thrice for getting me to find it...should use
my own advice and clear my OWN config before telling users to
try doing the same :)
2020-09-05 00:12:17 +01:00
Alastair Poole 18eeaa1afa this... 2020-09-04 22:49:13 +01:00
Alastair Poole c3e0aa84ec try now 2020-09-04 22:46:27 +01:00
Alastair Poole aabfd7ad13 try now 2020-09-04 22:42:33 +01:00
Alastair Poole 79d73e022e try that 2020-09-04 22:35:47 +01:00
Alastair Poole 30036f66d4 about: more dog 2020-09-04 20:16:16 +01:00
Alastair Poole 62ac432265 about: harvey norman 2020-09-04 20:05:52 +01:00
Alastair Poole c4b5465c48 main: fork/exec after we shutdown... 2020-09-04 17:18:32 +01:00
Alastair Poole 8b7375e124 menu: improve hope 2020-09-04 17:01:40 +01:00
Alastair Poole 94e0500977 ui: align 2020-09-04 01:33:37 +01:00
Alastair Poole fe808cfcae ui: simplify resize...
Still to catch that one bug...this is better though I think...
2020-09-04 01:23:18 +01:00
Alastair Poole 70fa4fec9e ui: fix a bug in the cache and hide objects...
If this doesn't resolve one issue it's possible a bug in the old
EFL...
2020-09-03 22:07:36 +01:00
Alastair Poole 524e409b52 images: remove one...
As nice as this one is...it doesn't work right...

Sorry to eat up your disk space w/git history
2020-09-02 22:58:26 +01:00
Alastair Poole 902689e2b2 ui: refresh list on theme change.
thanking you raster.
2020-09-02 18:29:18 +01:00
Alastair Poole 40b7c40e50 fun...
that'll do for now.
2020-09-02 16:24:02 +01:00
Alastair Poole 8738a64bdf fun....more 2020-09-02 16:10:08 +01:00
Alastair Poole 75cb1b9176 util: tidy. 2020-09-02 14:23:09 +01:00
Alastair Poole 12c968908e ui: tidy 2020-09-01 22:46:42 +01:00
Alastair Poole b74a367e2f fun...
Messin about now...need more images
2020-09-01 21:34:46 +01:00
Alastair Poole dd6cdd1fe4 fun...
Leave this for now, wait for complaints
2020-09-01 18:22:17 +01:00
Alastair Poole 998de311b8 fun: poll like a maniac 2020-09-01 18:15:53 +01:00
Alastair Poole 18d88268bc fun: ..see feedback 2020-09-01 17:10:08 +01:00
Alastair Poole a44500936b fun...
Still needs work but...
2020-09-01 17:03:20 +01:00
Alastair Poole 551ee1810f changes:bugs and some stuff...not finished.
Not finished...if you find a bug tell me...just fixed some bad
ones.
2020-08-31 00:36:00 +01:00
Alastair Poole 3319550454 images: some menu iconzzz 2020-08-25 17:16:43 +01:00
Alastair Poole 9803a904ea battery: Fix Linux typo.
Remember to check on Linux before doing a release you spazz!!!
2020-08-23 17:56:48 +01:00
Alastair Poole f7b3f09aff RELEASE: 0.5.3. 2020-08-19 19:11:54 +01:00
Alastair Poole 604c4040c6 process: start time (macOS).
As usual, ever-changing...What a shame if they would drop this OS
midway through all these changes towards some vision.

Dear Apple, finish what you have begun...too many wasted man hours
bodging all the changes you make between releases (major and minor).
2020-08-16 15:07:00 +01:00
Alastair Poole cf9d6dd95c process: start time (linux) 2020-08-16 14:56:50 +01:00
Alastair Poole 71aae93dc3 process: start time (OpenBSD). 2020-08-16 14:56:27 +01:00
Alastair Poole a76e5b54e6 process: Start time.
We need this for something :)
2020-08-16 13:49:06 +01:00
Alastair Poole 7293df18b0 proc: Document reason behind weird division.
Maybe need to relook at this at a later date...for now it's okay
2020-08-13 13:36:51 +01:00
Alastair Poole e96a614c15 macos: missed one. 2020-08-12 11:03:19 +01:00
Alastair Poole 50e31b32ab ppid: linux...prepare 0.5.3... 2020-08-11 12:21:40 +01:00
Alastair Poole 3ef00ca584 PPID: ppid macos 2020-08-11 12:00:02 +01:00
Alastair Poole afb6428e2d PPID: ppid openbsd. 2020-08-11 12:54:06 +01:00
Alastair Poole 7e358de2b3 ppid: PPID fbsd. 2020-08-11 11:49:49 +01:00
Alastair Poole d4d94c97c2 process.h: Minimal document of kthreads_show/hide. 2020-08-01 11:37:26 +01:00
Alastair Poole 305ba225e4 processes: Allow toggle of kernel threads. 2020-07-31 19:13:23 +01:00
Alastair Poole 4a7a6a352d about: small visual fix. 2020-07-28 16:11:54 +01:00
Alastair Poole e1874496fd process: macos process address space...
This comment's origin could be disputable it's from libtop.c
from macOS top command. There is very little external documentation
for these things. As time goes on it gets worse....
2020-07-26 22:48:52 +01:00
Alastair Poole 53fa6a4ca9 openbsd: static heap variables.
I understand what is happening on OpenBSD, but I don't know why
this is happening. I need to speak to someone in the know about
this because it's not occurring on other platforms, and this
shouldn't be happening.
2020-07-26 14:35:59 +01:00
Alastair Poole bb5d3a802b search: Show search entry icon. 2020-07-13 14:29:34 +01:00
Alastair Poole 3c62339c07 formatting: some spaces. 2020-07-12 22:56:36 +01:00
Alastair Poole 548bbe653d Comment: Refer to a REAL file ! 2020-07-11 18:47:24 +01:00
Alastair Poole 3ceaad0afd machine: ifdef chopping and splicing functions.
This stuff is bad...where did i learn to be doing such things.
2020-07-11 18:34:49 +01:00
Alastair Poole fe30a5a72f machine: ifdef chopping within functions.
I don't belive in ifdef blocks within a single function. Ideally
keep the blocks separate at worst. I think if this is necessary
at the time it's permissible but overall it's fucking ugly.
2020-07-11 18:30:23 +01:00
Alastair Poole c0c26ff882 machine: linux battery model/vendor purge
If enough people complain i'll bring this back, but for now keep
it simple until i can test it again properly...it works but
it's horrible
2020-07-11 18:24:30 +01:00
Alastair Poole aa1822c212 machine: ahead of the game...
Meh, we can't yet query by type.
2020-07-11 18:48:13 +01:00
Alastair Poole d1d4d0fb9e openbsd: fix for non-acpi batteries 2020-07-11 17:23:34 +01:00
Alastair Poole 09e8249689 machine: Explain use of machine and tidy Linuxisms
The functions machine.h provides are deliberately using standard
functions from a base install of the operating system. This IS
intentional. I'd like to be able to modify and reuse this anywhere
without having to untangle additional dependencies from machine to
machine.
2020-07-11 13:09:38 +01:00
Alastair Poole b018c8a3f7 machine: tidy declaration 2020-07-11 02:04:48 +01:00
Alastair Poole 9178cbc0d3 cosmetics: if, for, while, wtf 2020-07-10 19:12:30 +01:00
Alastair Poole ff4a80bd87 network: handle multiple addresses on same interface. 2020-07-10 15:04:06 +01:00
Alastair Poole 3c2b50adea typo 2020-07-10 12:00:03 +01:00
Alastair Poole c0f6d74903 Add Copyright. 2020-07-10 11:58:09 +01:00
Alastair Poole 5c3a3cfe10 machine: Include .bogox files for clarity.
To make this maintainable (for now), split the machine querying
code into separate files. I'd like to be able to modify the file
without fear of breaking it here or there. Also, for anyone who
wants to make a change or ammendment doing this is cleaner.
2020-07-10 11:50:49 +01:00
Alastair Poole 05cfc11cf5 machine: unnused 2020-07-10 10:50:35 +01:00
Alastair Poole 9e62816cdc macros: MEMSZ macro. 2020-07-09 23:39:15 +01:00
Alastair Poole 9ed9bd3bb5 macos: wrong, wrong, wrong.
1) test stuff more.
2) Don't have too many SSH sessions open and querying the wrong
machines!!!
2020-07-09 22:13:25 +01:00
Alastair Poole 554eae2965 proc: cast linux. 2020-07-09 21:37:34 +01:00
Alastair Poole 8f2a25ccfb macros: underflow, overflow, wombling free....
I can see this happening elsewhere, we'll need to use these in
other parts where struct members are of varying signage...
2020-07-09 20:23:14 +01:00
Alastair Poole a46f2718ca machine: simple macros to cast. 2020-07-09 16:59:05 +01:00
Alastair Poole d71b1a2651 ui: indent and unnecessary fn call. 2020-07-04 19:15:03 +01:00
Alastair Poole fe8a9b73ba ui: Callback data. 2020-07-03 13:54:59 +01:00
Alastair Poole 6a16a9d414 about: Don't use static global in animator thread.
A global would work, or just a pointer as here.
IDK why Linux and FreeBSD didn't have any issues here.
2020-07-03 13:20:24 +01:00
Alastair Poole 1b053b86b1 ui: Call proc_info_by_pid as needed.
This is slower but it's less prone to borkage.
2020-07-03 12:34:55 +01:00
Alastair Poole b9cbf8e68a Revert "menu: Use a global to store menu cache."
This isn't a good change or fix.

This reverts commit 55113b5a09.
2020-07-03 10:32:07 +01:00
Alastair Poole 55113b5a09 menu: Use a global to store menu cache.
This was causing some problems with OpenBSD. Use a global
to store the state of the menu item and pass that to the
callbacks.
2020-07-03 00:17:37 +01:00
Alastair Poole 5b7c10ff0d icons: Icons from the public domain.
We can remove the GPL stuff now (Faenza)...

Thanks rasterman...Minor tweaking to be done with a couple of
the icons
2020-07-02 14:55:18 +01:00
Alastair Poole e358799e99 0.5.0-RFC: Not quite.
No changes to text.
2020-07-01 14:14:15 +01:00
Alastair Poole b9cb1dfa49 startup: See how this behaves 2020-07-01 13:09:32 +01:00
Alastair Poole efa7f4b083 menu: use static storage. 2020-07-01 12:26:05 +01:00
Alastair Poole b53b1ecbcb debug: fallback 2020-07-01 12:02:01 +01:00
Alastair Poole 73b2d015f1 evisum: Minor Changes 2020-07-01 11:00:19 +01:00
Alastair Poole 02b9ee4531 about: text scroll begin. 2020-06-30 19:44:40 +01:00
Alastair Poole b799de0a1d views: make windows dialog windows.
This is handy in a few ways.
2020-06-30 14:03:18 +01:00
Alastair Poole a5461ad416 shutdown: allow control of cleaning up.
Flag to shutdown now or ordered triggering callbacks.
2020-06-30 13:23:01 +01:00
Alastair Poole d2a72510cb evisum: Clean up orderly.
Whether this is meritted, I don't know. It might be useful in
the future.
2020-06-30 13:05:35 +01:00
Alastair Poole 1f0d8827b8 changes: UI
Small changes.
2020-06-30 12:13:54 +01:00
Alastair Poole 4df3d73fe0 ui: Fonts and Sorting.
Fonts should be normal sized. If fonts aren't looking good, just
bump up the overall ELM scaling, it works much better!

Indicate which sort we are using in the process list.
2020-06-30 11:28:20 +01:00
Alastair Poole 045f1766b5 util: size and shades 2020-06-29 22:15:21 +01:00
Alastair Poole 5b50447eaa icon: find.png 2020-06-29 21:42:31 +01:00
Alastair Poole 7241ad2da0 ui: menu iconz 2020-06-29 22:23:56 +01:00
Alastair Poole 5763b86213 about: do the scroll thing :) 2020-06-29 16:05:30 +01:00
Alastair Poole 5f134b0e82 about: Basic about box 2020-06-29 15:18:35 +01:00
Alastair Poole f3b8302af3 mem: remove unused object 2020-06-29 09:53:08 +01:00
Alastair Poole d3a724f1a7 disk: reset on close 2020-06-28 21:32:21 +01:00
Alastair Poole 9017e61da1 fin: padding. 2020-06-28 20:56:57 +01:00
Alastair Poole 27fd9c5322 win: first run size. 2020-06-28 20:04:03 +01:00
Alastair Poole 310b967bec ui: process list spacing. 2020-06-28 19:58:20 +01:00
Alastair Poole fa81b3ab79 memory: window size.
Too big, make smaller.
2020-06-28 19:42:38 +01:00
Alastair Poole e96d62b44f cpu: delete window straight away 2020-06-28 19:18:54 +01:00
Alastair Poole 35323ea227 evisum: Traditional
Make the UI simpler. Give everything a window. It's not clever
to only allow one action at a time. I think it seemed cool
because every other environment is simplifying the interface.
I don't really agree with this. Also some "tabs" don't
currently justify having the whole window.

hashtag **** it!
2020-06-28 20:02:07 +01:00
Alastair Poole 3e0dfd9d7d cpu: bg colour 2020-06-28 12:28:18 +01:00
Alastair Poole 9ff3706a1b sizing: this will have to do for now 2020-06-27 15:35:41 +01:00
Alastair Poole be17d6ee10 cpu: LoC 2020-06-26 21:57:38 +01:00
Alastair Poole 760994ee34 util: Sizing. 2020-06-26 15:42:55 +01:00
Alastair Poole a00e6156ab ui: silence clang warning 2020-06-26 14:38:43 +01:00
Alastair Poole 0416157c13 cpu: simpler, work. 2020-06-26 14:32:51 +01:00
Alastair Poole 13bde5c66e ui: Font size. 2020-06-26 14:32:16 +01:00
Alastair Poole fc9afb8a24 ui: Max width for other content.
If this content is allowed to expand it looks AWFUL.
2020-06-26 12:42:21 +01:00
Alastair Poole d798bce95b cpu: smoothness 2020-06-25 00:36:11 +01:00
Alastair Poole 7a0e476fda cpu: less mangle
Less buggy...
2020-06-24 23:12:16 +01:00
Alastair Poole 8a100e0bbf machine: add variable CPU poll. 2020-06-24 23:10:50 +01:00
Alastair Poole 908721a720 disks: align top. 2020-06-24 23:09:16 +01:00
Alastair Poole 63ea9ffb1d ui_cpu: flicker, position.
On resize, restart for now.
2020-06-24 17:09:06 +01:00
Alastair Poole 6cba237f05 ui: padding 2020-06-24 15:26:18 +01:00
Alastair Poole 55e172db49 cpu: clear graph with _data_update_add. 2020-06-24 14:11:56 +01:00
Alastair Poole f6a279c4a7 LICENSE: List ISC License. 2020-06-24 13:59:10 +01:00
Alastair Poole b13e42e6ea ui: Fix LARGE fonts 2020-06-24 13:52:53 +01:00
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
Alastair Poole 86d7f2adda ui: crude listing of fs type. 2020-06-08 11:07:07 +01:00
Alastair Poole b8e8164f85 ZFS: Changes. 2020-06-08 10:39:43 +01:00
Alastair Poole f5e8d5e6de disk: fix linux build 2020-06-08 01:24:30 +01:00
Alastair Poole a209120b96 disks: eina_list_free non needed. 2020-06-08 01:16:57 +01:00
Alastair Poole 2a90bc465e disks: small refactor 2020-06-08 01:05:30 +01:00
Alastair Poole 4542ad10db fs: dont expose magic 2020-06-07 21:46:51 +01:00
Alastair Poole dbf3f10194 filesystem: add initial fs info api. 2020-06-07 20:00:43 +01:00
Alastair Poole 83db45e7c6 ui: search hide on resize fix.
Hide the container of the entry when resizing

@fix :)
2020-06-07 18:10:17 +01:00
Alastair Poole 4ffe0a1672 ui: don't let button stretch. 2020-06-07 18:05:13 +01:00
Alastair Poole 8ec8a5efda ui: size format. 2020-06-07 14:43:56 +01:00
Alastair Poole 04ea3ddce8 space: for the future. 2020-06-07 14:39:13 +01:00
Alastair Poole 702f650603 freebsd: include zfs abomination if in use. 2020-06-07 12:57:27 +01:00
Alastair Poole 4dc7109ce9 disks: abstract disks.
We need to be able to know which maniac is using ZFS or some other
weird filesystem that is going to munch as much RAM as possible
before we report it as used...

fs type is useful too...will need a mapping to the super block
magic listing.
2020-06-07 12:17:03 +01:00