Commit Graph

68 Commits

Author SHA1 Message Date
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 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 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 5f134b0e82 about: Basic about box 2020-06-29 15:18:35 +01:00
Alastair Poole 9017e61da1 fin: padding. 2020-06-28 20:56:57 +01:00
Alastair Poole 310b967bec ui: process list spacing. 2020-06-28 19:58:20 +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 9ff3706a1b sizing: this will have to do for now 2020-06-27 15:35:41 +01:00
Alastair Poole d798bce95b cpu: smoothness 2020-06-25 00:36:11 +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 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 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 1450752152 machine: Tidy this up, fix leakages. 2020-06-16 20:12:55 +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 b8e8164f85 ZFS: Changes. 2020-06-08 10:39: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 702f650603 freebsd: include zfs abomination if in use. 2020-06-07 12:57:27 +01:00
Alastair Poole f61e780f0b bytes: use bytes for everything...
Convert Linux memory values to bytes rather than reducing the
granularity of every other OS which reports memory use in
bytes.

The previous method just made everything confusing when it
needn't be.
2020-06-05 15:32:11 +01:00
Alastair Poole 2114f5dd21 FreeBSD: Fix Memory Display.
Peter2121 is right, this is mostly bogus (depending on who you
speak to).
2020-06-05 11:44:54 +01:00
Alastair Poole 0000464723 ui: remove unnecessary lines of code.
noise noise noise
2020-06-03 11:22:07 +01:00
Alastair Poole ceef9ff049 ui: don't use const positions. 2020-06-02 14:28:34 +01:00
Alastair Poole a1d337618d style: More tidying.
...nothing to interest any users at all!
2020-06-02 13:19:08 +01:00
Alastair Poole 143c613edd ui: Fix Scaling. 2020-05-28 10:08:03 +01:00
Alastair Poole 933e0ab15a ui: sizing.
Two simple changes that have a *positive* effect on sizing.
Initial sizing and then bogus field sizing bogusly...
2020-05-26 11:39:44 +01:00