Commit Graph

28 Commits

Author SHA1 Message Date
Alastair Poole 2d9ca2dc37 parents: Simple Parenting.
Firm, but loving. Is they misbehave, hit them with a cricket bat.

Keep it simple.
2021-01-03 00:58:08 +00:00
Alastair Poole 7ac04e84fa ui_proc: save on quit.
Expensive to save like that, just save values in memory then save
on quit.
2021-01-01 20:56:29 +00:00
Alastair Poole 99bdaf9113 sensors: LED LED 2021-01-01 12:12:11 +00:00
Alastair Poole d72e4834f3 sensors: fix table placement when variation. 2020-12-31 08:32:31 +00:00
Alastair Poole 25336bff1b ui: remmember in memory position too 2020-12-30 19:31:50 +00:00
Alastair Poole bf3bd51be1 keydown: escape closes window.
Not perfect but good enough.
2020-12-30 12:55:03 +00:00
Alastair Poole c1e27d69ed ui: handle restart properly and position. 2020-12-30 11:51:59 +00:00
Alastair Poole 8108e4f724 ui: no need to expose thread ptr 2020-12-30 02:41:44 +00:00
Alastair Poole e43d0109b7 ui: overall cleaning. 2020-12-30 01:54:33 +00:00
Alastair Poole a9fedc948b sensors: simplify and align. 2020-12-29 23:20:14 +00:00
Alastair Poole 68403cf787 openbsd: amd64.
Firstly, we don't need so many locks as we blocking the main loop.

On amd64 OpenBSD 6.8. Static are stored in tbss, so I know TLS was
releatively recently added properly, that's one issue.

I can only speculate, it's thread related and how mutexes are
handled on amd64? As well as having too many threads, also too
much blocking of the main loop...

Other changes, get rid of almost all sense of a "main" window...

Lots of stuff learnt through hacking...My folks are downstairs and
I can hear shaging on the TV...Christmas time...it's mean to be...
Sheesh
2020-12-28 20:20:15 +00:00
Alastair Poole 7f0e5da596 openbsd: locking same thread please.
This *might* be the problem??? Seen on arm...
2020-12-26 12:14:41 +00:00
Alastair Poole 6d070aecd2 ui: power on and off. 2020-12-24 12:45:16 +00:00
Alastair Poole 8b2490e4db ui: padding. 2020-12-24 09:08:56 +00:00
Alastair Poole a48cedb30c sensors: nice n simple.
This will do for the moment.
2020-12-23 14:54:59 +00:00
Alastair Poole 0b45319b8f sensors: find issue with combo 2020-12-23 11:54:07 +00:00
Alastair Poole 10bf9e1197 ui: cast ur power 2020-12-22 18:57:27 +00:00
Alastair Poole 1313354239 sensors: use your brain 2020-12-22 17:53:17 +00:00
Alastair Poole 16cdd0e12a mibs: fix openbsd 2020-12-22 14:13:16 +00:00
Alastair Poole 83a33bd991 sensors: Kernel doesn't cache thermal.
Linux doesn't cache thermal readings, select one sensor else we
can block waiting to read from N sensors.

Needs more fixing.
2020-12-22 13:47:41 +00:00
Alastair Poole 32a9f55dbe purge: remove the crud 2020-12-17 11:12:15 +00:00
Alastair Poole 70e03a6df2 ui: shutdown...
Listen to the old men...:)
2020-11-14 17:45:22 +00:00
Alastair Poole d621b0b998 windows: save the value for others.
This saves a job later...
2020-11-10 13:12:10 +00:00
Alastair Poole 9fe587d2bf ui: white 2020-10-27 15:07:07 +00:00
Alastair Poole 43bd0baeb3 ui: rights for all.
No window takes presedence. Last window closes application :)

Because, if this wasn't done, someone in IRC (apbbb probably) would
say it should be done...soooooo
2020-10-27 12:51:15 +00:00
Alastair Poole a33baabcc3 ui: stuff. 2020-10-10 14:52:11 +01:00
Alastair Poole 6c39ea11e8 sensors: FreeBSD
I don't think you can support more than this atm on this OS..atm.
2020-10-06 11:10:02 +01:00
Alastair Poole 324a619a87 sensors: diss the misc.
Rename...
2020-10-05 16:11:26 +01:00