Commit Graph

469 Commits

Author SHA1 Message Date
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 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
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
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 247494ca25 CREDITS: Help -> About Imagery.
Text note, attributing the original aerial photograph used in the
about dialog window by West Midland Police.
2020-07-04 18:41:53 +01:00
Alastair Poole ff8dcd331b 0.5.0: Fin. 2020-07-03 14:50:21 +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
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
maxerba 0e33d39009 Updating italian translation 2020-07-01 19:09:35 +02: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 7096e3191b NEWS: Hear ye, hear ye, hear ye.
Some changes of note...
2020-06-30 15:02:43 +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