Commit Graph

264 Commits

Author SHA1 Message Date
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 9026027b47 Fix accidentally added file. 2019-12-04 18:27:50 +00:00
Alastair Poole 2385de7edb README: Update to reflect meson build system. 2019-12-04 18:15:40 +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 afc9e4cba2 Update news 2019-09-08 01:17:15 +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 3ee8c594e4 RELEASE: 0.2.4 2019-08-24 18:13:21 +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 f98a78cdbb RELEASE: 0.2.2 2019-06-14 21:34:40 +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