about summary refs log tree commit diff
path: root/src/x
AgeCommit message (Collapse)Author
9 daysswitch to Send mutices; make the i3 protocol workIrene Knapp
that was a lot of painful debugging, but not much code in the end Force-Push: yes Change-Id: Ib38842ac3dafb4ab71ee041d0425accee1e9f067
11 daysclean up imports to be minimalIrene Knapp
and turn on a lint Force-Push: yes Change-Id: I188007807ec1e56ac55b7d57984cbb4e91aa4c53
11 daysnew subdirectory src/x/text/Irene Knapp
Force-Push: yes Change-Id: I1c428e1f7b42de263534965422dffe007300082c
11 daysTextSpan is in a separate file from Font nowIrene Knapp
Force-Push: yes Change-Id: I0b036152bbf3f1b198dc5594a94955a563894fc7
11 daysokay, TextLine is fully in useIrene Knapp
Force-Push: yes Change-Id: Iddd05f95b0db3703e0c25e55bc7d55bb6adfbc5b
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
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-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