Commit Graph

214 Commits

Author SHA1 Message Date
Alastair Poole 4258353949 ui: waste not want not.
We can use a list to store PID cpu times.
2020-02-24 17:22:22 +00:00
Alastair Poole 71d161f4a1 ui: split up init code more 2020-02-19 15:04:21 +00:00
Alastair Poole 0520fe4623 FreeBSD: Hide kernel processes.
This was an error. Should be P_KPROC not P_SYSTEM
2020-02-18 16:26:10 +00:00
Alastair Poole ac9e5c0fbf ui: improve logic.
Some of this was overkill.
2020-02-17 22:38:24 +00:00
Alastair Poole 61e3b9b153 disks: Minor changes (Linux) 2020-02-16 21:40:26 +00:00
Alastair Poole 4a0c447591 ui: Small logic change. 2020-02-16 19:38:40 +00:00
Alastair Poole a74ee1d83b evisum: various improvements.
Better command naming on Linux. Also set data type needs to use
a modifier. So, Ctrl + k, m and g.
2020-02-16 19:34:41 +00:00
Alastair Poole ac7cbd8a5b ui: Small changes... 2020-02-16 15:57:26 +00:00
Alastair Poole ab629c7612 ui: more changes, formatting mainly. 2020-02-16 02:03:32 +00:00
Alastair Poole f201489b37 ui: Fix bug
Thanks jf_simon
2020-02-15 17:36:33 +00:00
Alastair Poole 79838b4d42 ui: Improvements.
Hide search bar on other tabs. Fix the sizing of other entries.
2020-02-15 17:12:02 +00:00
Alastair Poole 48e0013743 0.3.0: Prepare a release.
Fixed some minor annoyances and alignment with the UI.
Also added a search bar as I read someone wanted that in a forum.
Along with that some minor changes and tidying...
2020-02-15 15:30:31 +00:00
Alastair Poole d68c72279f ui: Make the command fit. 2020-02-15 12:11:03 +00:00
Alastair Poole ff9a38f0ff ui: Minor formatting 2020-02-14 20:10:54 +00:00
Alastair Poole 14344e8bd2 Icons: Add default icons (Use Apostolos E icons).
Minor formatting and use our own icons by Apostolos.
He already created the application icon. These look fine
with flat and dark theme.
2020-01-04 13:00:35 +00:00
Alastair Poole bd588341a8 proc: use appropriate buffer size.
As per documentation.
2020-01-03 14:19:42 +00:00
Alastair Poole 539f078812 UI: Show percentage sign where applicable. 2019-12-14 19:35:26 +00:00
Alastair Poole c66ef78497 Meson: Use configuration_data.
Meson makes this much easier and prettier. Generate a configure
file for future use.
2019-12-10 23:17:16 +00:00
Alastair Poole 6be13a1268 Misc: Using high precision here is useless. 2019-12-07 13:08:35 +00:00
Alastair Poole 62a451c9ee meson: Fix build for OpenBSD. 2019-12-05 18:04:24 +00:00
Alastair Poole 0a036c0453 getpagesize: No need to keep calling this funtion. 2019-12-05 13:56:19 +00:00
Alastair Poole ebe27c31f0 FIX: Remove workaround for reversion in earlier EFL.
This is no longer necessary.
2019-12-05 13:47:55 +00:00
Alastair Poole 75e1daf45e Changes: Restructure folder. 2019-12-04 22:55:01 +00:00
Alastair Poole 920b61ee82 FIX: Fix crash when clicking on "empty" PID
This CAN happen. Avoid a crash here.
2019-12-04 20:36:38 +00:00
Alastair Poole 08752b1269 Fix small issue 2019-12-04 17:48:58 +00:00
Alastair Poole b09db930af meson: Use Meson over Make 2019-12-04 17:47:17 +00:00
Alastair Poole 5f76337553 system: HW_NCPUONLINE is OpenBSD-specific.
Seems this was added to mitigate spectre and does not exist
for FreeBSD. No other means of testing other platforms so
enable this only with OpenBSD for now.
2019-11-17 17:52:25 +00:00
Alastair Poole f472733f06 CPU: Only use active CPU count for generic CPU progress.
Some systems disable CPU cores. In the CPU tab this is fine,
but for an accurate representation of CPU load we need to check
for the number of active CPUs. E.g. OpenBSD disables HT on amd64
thus a 2-core system will only use 1 core.
2019-11-16 15:58:16 +00:00
Alastair Poole a5355e5357 Tingle: Merge changes from ext. tingle repo. 2019-10-05 11:49:34 +01:00
Alastair Poole 99435ea29c Fix typo and calculation 2019-09-30 21:29:33 +01:00
Alastair Poole 4acdba7ad6 disks: Check fopen return value. 2019-09-08 22:10:56 +01:00
Alastair Poole 3d51dfe687 Linux: Batteries.
Linux also provides battery vendor and model. As with FreeBSD
set the label for battery name "properly".
2019-09-08 01:13:43 +01:00
Alastair Poole f086b0d2d5 FreeBSD: Batteries.
Add vendor informaiton for evisum battery display.
2019-09-07 22:50:22 +01:00
Alastair Poole f07aeeb77b FreeBSD: Support multiple batteries.
This was much easier than I had reckoned.

Having the battery_names array is sadly a necessary evil for now.

Use the same logic for all platforms. Tested on FreeBSD.
Needs retesting on Linux, macOS and OpenBSD. The price of
support multiple operating systems!
2019-09-07 22:37:58 +01:00
Alastair Poole 6968d4274e Changes: Stylistic and fix one API call. 2019-09-07 11:37:15 +01:00
Alastair Poole 12ae98cab7 Minor changes 2019-09-06 00:26:05 +01:00
Alastair Poole 2f46f79e77 Silence some compiler warnings 2019-09-05 23:01:00 +01:00
Alastair Poole e5bbcd1f5c More tidying. 2019-09-05 22:33:38 +01:00
Alastair Poole f9995a3063 Fix a small text issue. 2019-09-03 18:18:47 +01:00
Alastair Poole 039944d555 Documents: Update.
Preparing to release something.
2019-09-03 18:14:26 +01:00
Alastair Poole 38d50d924b Make this more efficient. 2019-09-02 20:18:35 +01:00
Alastair Poole 967b5ce33e Release: Prepare 2019-09-01 17:50:38 +01:00
Alastair Poole 7116c0bde7 Use better battery names 2019-09-01 16:57:36 +01:00
Alastair Poole 64fc9d95a3 Make the UI more "responsive" 2019-09-01 16:06:17 +01:00
Alastair Poole 2b2c71ee3c UI: Bring back the improvements.
Seem to have isolated the issues. Let's reintroduce the UI
fixes.
2019-09-01 15:18:54 +01:00
Alastair Poole 3e42056b88 Tidying up 2019-09-01 15:11:40 +01:00
Alastair Poole 6fd8b24a06 Fix more 2019-09-01 15:07:35 +01:00
Alastair Poole a324cba8cf Add text for batteries 2019-09-01 15:03:38 +01:00
Alastair Poole 09022fa5a3 memory: let's free this. 2019-09-01 14:59:53 +01:00
Alastair Poole 6ba6c25135 Batteries: Add multiple suppor 2019-09-01 14:54:27 +01:00
Alastair Poole 4792cd07e4 Fix: Let's ensure we can properly escape this function.
Thanks to Apostolos Bartziokas for his patience and testing.
His commitment is very valuable.
2019-09-01 14:22:40 +01:00
Alastair Poole 37cb378cf9 Make sure we exit this hole 2019-09-01 14:04:40 +01:00
Alastair Poole 2c2930cc60 Fixe 2019-09-01 12:41:56 +01:00
Alastair Poole 655dacb953 Fix lazy typo breakage. 2019-08-30 20:45:32 +01:00
Alastair Poole 8ddde14287 main: exit on close.
We don't lose any data so just exit here.
2019-08-30 20:44:28 +01:00
Alastair Poole 9b98d23f41 Revert "Changes:"
This reverts commit d8714702fb.
2019-08-30 20:35:46 +01:00
Alastair Poole f9dd314951 Fix issues with Linux batteries and leak 2019-08-29 23:55:43 +01:00
Alastair Poole d8714702fb Changes:
Some minor changes to visuals for spacing.

Also on window close, just exit, there's nothing to be
corrupted.
2019-08-28 00:10:15 +01:00
Alastair Poole 4397b3eafc OpenBSD: Stack issues. 2019-08-24 16:35:41 +01:00
Alastair Poole 203f7b96d0 UI: Minor improvements 2019-08-24 16:28:56 +01:00
Alastair Poole c026f9d5ad Startup and Shutdown: Fix.
Let's only draw the window when we have content and destroy the
window during shutdown.

This is much prettier.
2019-08-24 15:11:32 +01:00
Alastair Poole 17d4a53db4 Makefile: Fix. 2019-08-24 14:57:05 +01:00
Alastair Poole 4694cc9484 VERSION: 0.2.3 2019-06-21 18:16:49 +01:00
Alastair Poole f02bacbc61 Main: Fix a bad bug displaying memory usage. 2019-06-21 18:15:26 +01:00
Alastair Poole d5fef62bda Fix: This always true. 2019-06-09 18:52:57 +01:00
Alastair Poole 16c66fac17 UI: Make the text for command name fit. 2019-06-09 18:48:43 +01:00
Alastair Poole 994f1ea1b3 system: fix typo causing bug. 2019-06-08 23:53:10 +01:00
Alastair Poole cced6b35fa Changes: Improve the program.
Some visual changes, additions and fixes.
2019-06-08 23:39:15 +01:00
Alastair Poole 56f2667451 OpenBSD: Unified CPU polling API.
Further testing proves we can use one approach for both SP and MP
machines.
2019-05-25 16:24:55 +01:00
Alastair Poole 95f81498c0 OpenBSD: Fix SP. 2019-05-25 16:03:38 +01:00
Alastair Poole 5860cd7351 Fixes: Multiple Batteries and CPU on OpenBSD/Linux 2019-05-25 15:34:33 +01:00
Hermet Park 7ee26f974a tingle: ++ pthread lib dependency. 2019-01-22 11:06:14 +09:00
Alastair Poole 8a9dfad663 process: fix bogus state names on other OS. 2019-01-17 11:13:09 +00:00
Alastair Poole ca767ac87b UI: Visual changes to improve layout.
Minor changes to improve rendering of process information
text.
2019-01-17 10:57:58 +00:00
Alastair Poole 7262b87916 ui: erroneous spacing. 2018-11-04 13:19:14 +00:00
Alastair Poole 8b8ac6d51d ui: Remove duplicate code. 2018-10-25 13:59:51 +01:00
Alastair Poole 11832c587a macos: use newer audio API for 10.11. 2018-10-24 18:03:38 +01:00
Alastair Poole d7523502fe ui: remove duplicate code. 2018-10-24 13:59:36 +01:00
Alastair Poole 102209c542 ui: refactor. 2018-10-24 13:27:53 +01:00
Alastair Poole 24f522b713 ui: make this mnore efficient. 2018-10-24 11:49:27 +01:00
Alastair Poole 93d48c1403 evisum: add tingle command-line helper. 2018-10-17 10:39:58 +01:00
Alastair Poole 8076a4b96a ui: ensure we clean up properly before exit.
Ensure timer callback gets cancelled before exitting
the mainloop.
2018-10-17 10:20:54 +01:00
Alastair Poole a9a2b7c671 ui: slight rearrangement. 2018-10-12 13:10:37 +01:00
Alastair Poole b3d388ecbf rel: 0.2.0
Last release before redesign.
2018-10-09 12:45:27 +01:00
Alastair Poole d4bac51dc8 ui: update quicker when changing unit formats. 2018-10-03 17:37:57 +01:00
Alastair Poole e614491e21 ui: do not use strcasecmp here! 2018-10-02 15:46:09 +01:00
Alastair Poole 45b3dcfa87 Refactoring and fixing stuff. 2018-10-02 15:38:06 +01:00
Alastair Poole f5a1292c39 format: allow some key presses.
This is totally bogus. Need to reboot into linux and sort out
the horrible formatting and spacing etc etc etc.
2018-10-02 14:56:25 +01:00
Alastair Poole 1e9785b026 UI: fix process list geometry on resize. 2018-09-25 11:38:06 +01:00
Alastair Poole e0b5a0c42d UI: fix broken size_hint on wrong object. 2018-08-27 15:36:35 +01:00
Alastair Poole 9413dedaeb Prepare for minor release.
Seems my bogus makefiles had issues for anyone trying
to make a package.
2018-06-17 21:52:38 +01:00
Alastair Poole 4d415c8b81 Fix: makefile and linux disk parse? 2018-06-17 17:36:25 +01:00
Alastair Poole 7915baed6e Make preparations of a public release. 2018-06-17 08:45:46 +01:00
Alastair Poole 175034919a shutdown: let's shutdown the same everywhere.
Also minor refactor in main.c
2018-06-16 21:31:49 +01:00
Alastair Poole 56859ad90f Shutdown: hide window as we begin to terminate. 2018-06-16 18:25:46 +01:00
Alastair Poole a8826641d0 Shutdown properly.
Ask threads to terminate and shutdown EFL properly.
2018-06-16 15:09:10 +01:00
Alastair Poole 8efee813e0 ui: display celcius label properly. 2018-06-16 00:07:37 +01:00
Alastair Poole 1e679e290f Remove unused type. 2018-06-11 16:43:03 +01:00
Alastair Poole 53a0a5bf49 Add more 2018-06-11 11:12:02 +01:00
Alastair Poole d0e38dbf6e Refactor again. 2018-06-10 17:06:34 +01:00
Alastair Poole ed1de9bc7b Cast to double. 2018-06-10 16:38:46 +01:00
Alastair Poole a82a33f546 Fix bat 2018-06-10 14:17:32 +01:00
Alastair Poole 08e57b1f95 Add more 2018-06-10 14:09:44 +01:00
Alastair Poole e29464aee8 Improve UI. 2018-06-10 09:32:15 +01:00
Alastair Poole 91b09ab7c2 Minor refactor. 2018-06-09 19:56:17 +01:00
Alastair Poole 9c27291ea0 Minor refactor. 2018-06-09 19:55:04 +01:00
Alastair Poole a49c1e1473 Fix MacOS compilation. 2018-06-09 18:48:22 +01:00
Alastair Poole d559ae3537 Fix Linux disk usage. 2018-06-09 18:39:37 +01:00
Alastair Poole b84ab23c09 Add FreeBSD support for mount size/usage. 2018-06-09 18:31:53 +01:00
Alastair Poole a1bfadafaa Add support for disk tab. 2018-06-09 11:30:07 +01:00
Alastair Poole 115dcfde07 Add makefile install option. 2018-06-07 10:30:03 +01:00
Alastair Poole da8dde89fe ui: make sure we bring the item into view. 2018-06-06 19:22:38 +01:00
Alastair Poole 576e86824e rename from esysinfo -> evisum 2018-06-05 15:26:18 +01:00
Alastair Poole de2818a394 First commit 2018-06-04 11:11:21 +01:00