about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)Author
11 daysthere are now concepts of font lists and text linesIrene Knapp
a "line" is a list of spans much of the layout logic is moved into TextLine, but not yet all of it Change-Id: I2edba34cd9be5a50ac6dc646cd6e2ab2369fca13 Force-Push: yes
12 daysfacilities now get an update ping at the start of each frameIrene Knapp
with that done, battery status now updates live! wooooo Force-Push: yes Change-Id: If7f2343f6d7762e8f65a4735deadc1b871e26f9d
12 dayscompute a percentage and fullness for each batteryIrene Knapp
the notion of fullness is based on a threshold Force-Push: yes Change-Id: I955deb7c4a9dfe649cd7c205f7b3d85b9129796a
12 daysthere's a concept of module visibilityIrene Knapp
so that, for example, the battery module can self-hide and self-show when batteries are added or removed. also, said module now displays a list of battery names Force-Push: yes Change-Id: I8696f1b7e914aad3b1a663af12d6a00d9861b28c
12 daysthere is now a concept of horizontal space allocated to modulesIrene Knapp
well, at draw-time. that's hopefully all that's needed, rather than anything across iterations. time will tell. Force-Push: yes Change-Id: I19cd2122777a4dc0d57ff6141055e455c035926c
12 daysthe envsys facility is fully passed through to the battery module nowIrene Knapp
yay!!!! Force-Push: yes Change-Id: I2b1a0ca9858edc0b5d25d6268282fe3a90b99de5
12 daysplist parsingIrene Knapp
Force-Push: yes Change-Id: I79789ad2bd761e27dd2437bec381e550e99029a7
13 daysperform the ioctl()Irene Knapp
and clean up the returned memory, too Force-Push: yes Change-Id: I01ff1c94fd97a185656a05ce432471fa67cb08e5
13 daysmake stuff async; open /dev/sysmonIrene Knapp
Force-Push: yes Change-Id: I65f91e5e7809226d44bc34c99a563a424321b5e5
2026-11-18it instantiates facilities nowIrene Knapp
that was a bunch of type checker stuff. it sure was. Force-Push: yes Change-Id: I2f3a50529548c2d92c348190939d9bfca364f9fc
2026-11-18dyn ModuleIrene Knapp
fun this also seemed a good time to clean up the bibliography and publish it Force-Push: yes Change-Id: Ia8014fb84c1af37be4f3c915b8b8f70bc2022034
2026-11-18pluralityIrene Knapp
Force-Push: yes Change-Id: I6e5400ab4ce64a54fe84e5facb1da56fd26c4667
2026-11-18add an abstraction called "facilities", which does nothing yetIrene Knapp
the type system work was a pain, so it's being checked in now Force-Push: yes Change-Id: If7ec15f0108afb030fa2e5a207c77a6cf9828c43
2026-11-17the delays are now synced to the seconds roll-overIrene Knapp
Force-Push: yes Change-Id: I6c9ea0a8dff7774f066783bca765d68189dfbb1d
2026-11-17yes it's true, the whole visibility sleep thing works now! yay :)Irene Knapp
now the way is clear to do the nontrivial modules Force-Push: yes Change-Id: I0df07a29cf10646f3ce47b9364d9ec44bbc0cd47
2026-11-17use a separate sleep threadIrene Knapp
Force-Push: yes Change-Id: I2e7acc0652c340f731a3d04b665462ffc9033db2
2026-11-15multi-threaded. more dependencies :( the clock runs now!Irene Knapp
some unfortunate reliance on exact sequencing, which needs to be cleaned up Force-Push: yes Change-Id: I833dd0dd5047e3c2f04203e80e3fd722e36bf252
2026-11-14use futures-lite and async-ioIrene Knapp
these are from smol, but we don't need all of smol it's a kinda upsetting quantity of transitive dependencies :( but oh well Force-Push: yes Change-Id: I84d638b4866adf7f68401f6065c7ab358d3e7892
2026-11-14return a sleep duration to the event loopIrene Knapp
this isn't immediately useful, but it will be when threading is added... Force-Push: yes Change-Id: I7abc35826d4ff4a7a63d57f4f7f5e0e0461d23d9
2026-11-14move the time code into a moduleIrene Knapp
also, there is now a concept of modules and they're called "modules" because, really, what else would they be called :) Force-Push: yes Change-Id: I6b63fa19f5126dafc2de6184150365f5719333bf
2026-11-13it prints a time nowIrene Knapp
no auto-update though Force-Push: yes Change-Id: I95804235a03540c13a42241712a42ca0704a34ea
2026-11-13reverse-engineer font ascent and descent, and rely on themIrene Knapp
we now do the baseline computation "properly", during setup, rather than during text rendering. this allows us to be consistent about it; prior to this, the two spans of text we draw would often wind up with different baselines. Force-Push: yes Change-Id: Ic2f34c816fc0767d6e54c5415beb516f99cd3069
2026-11-13messing with metricsIrene Knapp
thus far, everything is reverse engineered and documented. we're about as confident as we can be of these descriptions, without searching Usenet for historical nuance or reading the xft source. in future work, it will be necessary to pick some specific characters to measure to reverse-engineer the desirable metrics. Force-Push: yes Change-Id: I54c7afb825909688d5a9b3f80974d76a69655796
2026-11-12okay, all the color stuff is well-organized nowIrene Knapp
since color is one of those "the data is the point" types, rather than one that encapsulates remote state, both the xcb and xft stuff is handled by a single type, Color. Force-Push: yes Change-Id: I192c40b13dd9040897cbf043d5dd84d5a73f607b
2026-11-12move XftDraw pointers into a new wrapper FontGraphicContextIrene Knapp
impl Drop :) Force-Push: yes Change-Id: I2a2a488819c9f03205aade5dd5d119c02dd8a3c2
2026-11-12move some of the font rendering into its own fileIrene Knapp
Force-Push: yes Change-Id: I628d0d05bf75ac781cf6eb6524972b4e61d25e61
2026-11-12draw textIrene Knapp
this uses Xft, which unfortunately has a lot of parallel tooling it needs some refactoring into its own files, but it works :) Change-Id: I0e78ea69167b1d91af2e9f494d757564d8cb7cdb Force-Push: yes
2026-11-12rounded cornersIrene Knapp
fun that was some nontrivial type magick Force-Push: yes Change-Id: I9b2848cc76f3dfab5b87d7e6b2f28bf2a136fca5
2026-11-11moves towards nontrivial drawingIrene Knapp
also, a little cleanup of trait consistency Force-Push: yes Change-Id: I71e07685d605ec93d98982b3660dcd8d154f8d9d
2026-11-11all the xcb wrapper types are in individual files nowIrene Knapp
the trait inheritance structure isn't THAT convoluted, but having more than one of these in a file was obscuring things. Change-Id: I5132a6304796654d778d731be1ecb1c7b4e77120 Force-Push: yes
2026-11-11graphics contexts! with RAII!Irene Knapp
much trait refactoring the way forward to structure this cleanly is clear now, as well, but not implemented yet Force-Push: yes Change-Id: Ib3905edcfd49bf19d0fa7e4285f2edfed312d539
2026-11-11do proper color managementIrene Knapp
well, sort of. we can't test indexed color, so there's no code specifically accounting for it. ah well. Change-Id: Ic12854c17fd7d433a7ee129ad5663d1bdb2ee541 Force-Push: yes
2026-11-11now it's in two filesIrene Knapp
Force-Push: yes Change-Id: I43fdbd0769fa61ef4e5d6ea053fa210175e47d6a
2026-11-11many traitsIrene Knapp
Force-Push: yes Change-Id: I311da368db44745f72897bf64b20bb92deba7033
2026-11-11initialIrene Knapp
Force-Push: yes Change-Id: Ic5f8f9da1be3329b663d2dcb344fb29a78f1a57b