Commit Graph

447 Commits

Author SHA1 Message Date
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