about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)Author
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