Commit Graph

394 Commits

Author SHA1 Message Date
K. Lange
ace54766fe panel: Allow widgets to request faster update rate for animations 2022-11-29 23:18:19 +09:00
K. Lange
c130570aad panel: fixup inefficient window list redrawing 2022-09-05 21:03:02 +09:00
K. Lange
9942ec3889 graphics: fix bad bounds checks in draw_sprite_alpha* 2022-08-22 21:12:54 +09:00
K. Lange
af69cd6369 text: Allow x-adjusted glyph rendering, for better kerning in caches 2022-08-22 13:36:30 +09:00
K. Lange
5f56820331 markup_text: Implement a glyph cache and expose a more detailed API 2022-08-22 12:29:34 +09:00
K. Lange
d7f73b3970 text: Add methods for rasterizing single glyphs 2022-08-22 12:28:39 +09:00
K. Lange
abe66fb45b yutani: pex read() can return error code 2022-08-21 19:01:05 +09:00
K. Lange
89325bb409 kuroko: add waitpid bindings (temporary; should be in 'os') 2022-08-17 19:31:33 +09:00
K. Lange
7b79de9313 rline: Merge fixes from Kuroko 2022-08-14 20:43:01 +09:00
K. Lange
2ee1035cfc kuroko: DYNAMIC_PROPERTY is no longer a thing 2022-08-03 21:06:52 +09:00
K. Lange
24fe385662 rline: pull in cleanup from kuroko version 2022-07-25 09:50:25 +09:00
K. Lange
264d11a618 compositor: blur-behind windows 2022-07-22 19:01:23 +09:00
K. Lange
b1afc654c6 kuroko: apply more API changes 2022-05-31 22:22:53 +09:00
K. Lange
5c71c86263 kuroko: apply const argument fixes to modules 2022-05-31 08:12:07 +09:00
K. Lange
90cef82161 text: faster, though not as nice, stroking method 2022-04-24 19:39:14 -04:00
K. Lange
d0a4583988 e1000: restrict access to SIOCS* family, write() 2022-03-07 18:06:22 +09:00
K. Lange
6e6b66997b graphics: fix bad translate in draw_sprite_rotate 2022-03-03 16:17:32 +09:00
K. Lange
b53a56fe72 aarch64: begin work on new target 2022-01-30 21:25:27 +09:00
K. Lange
607f6e5070 rline: highlight 'abs' as a builtin in kuroko repl 2021-12-08 23:01:21 +09:00
K. Lange
145478b595 panel: Restore Alt-F1 and Alt-F3 key binds 2021-12-08 15:35:20 +09:00
K. Lange
2b85c67661 menu: Better tail alignment for bubble windows 2021-11-29 15:58:53 +09:00
K. Lange
79f3d25f0b panel: always prefer center alignment for popups 2021-11-29 15:04:17 +09:00
K. Lange
7b2c8397b6 panel: Apply smarter alignment to popup menus 2021-11-29 14:32:29 +09:00
K. Lange
4f7ef46f40 panel: First pass at modularization 2021-11-28 18:28:57 +09:00
K. Lange
c7429e9055 meta: purge most instances of vim hints 2021-11-26 12:59:02 +09:00
K. Lange
5301963a87 text: Should have been doing _two_ box blurs this whole time 2021-11-18 21:30:28 +09:00
K. Lange
66682facad menu: Disallow dragging/resizing of menu windows 2021-11-17 13:37:59 +09:00
K. Lange
d2214a94bb meta: I really should not have to keep doing this. Please stop stealing my _free_ code. 2021-11-08 06:45:11 +09:00
K. Lange
6c1acb1290 compositor: Add another layer above overlays for menus so they show in front of toasts 2021-11-05 09:58:33 +09:00
K. Lange
739d3972f4 compositor: Restructure 'advertise' messages to provide window buffer, size 2021-10-31 22:25:00 +09:00
K. Lange
9352c31487 toastd: Adjust spacing, try to vertically center text 2021-10-29 09:45:55 +09:00
K. Lange
4d390e9b97 compositor: Hack to support 24bpp framebuffers 2021-10-25 13:50:59 +09:00
K. Lange
729b0c231f panel: New volume slider menu widget 2021-10-24 21:20:25 +09:00
K. Lange
a281da4b82 text: Expose method for brute-force path stroke 2021-10-04 20:31:30 +09:00
K. Lange
b87381116b graphics: fixup aa line rasterizer 2021-10-04 15:04:34 +09:00
K. Lange
4901a7e538 compositor: Add I-beam cursor; logic in terminal, file-browser 2021-09-16 16:55:43 +09:00
K. Lange
f676ff4295 decorations: try to be a bit smarter about drawing titlebar elements 2021-09-13 19:39:04 +09:00
K. Lange
9d609d15df decorations: Use a single spritesheet for window borders 2021-09-13 18:34:56 +09:00
K. Lange
5816937516 pex: Actually try to close server endpoints 2021-09-12 13:23:38 +09:00
K. Lange
78ecdc931a graphics: actually fix that off-by-one in draw_sprite_alpha 2021-09-07 18:48:43 +09:00
K. Lange
c66f39a563 graphics: off-by-one on scanline width in draw_sprite_alpha 2021-09-07 09:52:00 +09:00
K. Lange
8984cc8f71 groups: First pass at support for supplementary group lists 2021-08-31 20:46:48 +09:00
K. Lange
54f9417fda kbd: Catch different scancode from PrtSc key 2021-08-30 18:05:59 +09:00
K. Lange
913a2c1c84 kuroko: _yutani: expose shm font support 2021-08-28 17:40:41 +09:00
K. Lange
56eff9a3e2 text: on second thought, cache the data not the font object, so each tt_font_from_shm is a unique ref 2021-08-28 14:53:22 +09:00
K. Lange
4d68b0bc4a text: bring back shm-stored fonts provided by compositor 2021-08-28 14:50:52 +09:00
K Lange
7d97b780e0 text: various rewrites 2021-08-27 09:00:33 +09:00
K. Lange
c2fe5fa196 graphics: const arguments for point/line calculations 2021-08-24 22:04:53 +09:00
K Lange
e4fd48a007 menu: Really, seriously don't show menus before moving them 2021-08-19 00:13:03 +09:00
K. Lange
febdb25e95 graphics: faster alpha application... 2021-08-14 15:54:19 +09:00
K. Lange
f794dd6e51 graphics: better approach to transformed blitting 2021-08-14 08:54:04 +09:00
K. Lange
3687793da6 graphics: some improvements to the sprite blitters 2021-08-14 08:29:08 +09:00
K. Lange
dac240b3c9 compositor: Expand rotated coordinate bounds to handle rounding / truncation errors 2021-08-12 10:55:30 +09:00
K. Lange
77435a0b57 menu: flip after moving 2021-08-12 10:36:58 +09:00
K Lange
55c3a2bafc compositor: support positioning a window relative to another 2021-08-12 09:08:31 +09:00
K. Lange
6faf45b4b5 compositor: don't animate regular dropdown menus
No one else does this. We were only doing it because it hid a bug
in the compositor with initial window location, which we've just
fixed in the last commit...
2021-08-11 13:03:33 +09:00
K. Lange
3c20f010b9 text: spot fix for clipped text shadows 2021-07-27 12:59:33 +09:00
K. Lange
b293e989de markup: Initial work on new marked up text rendering library 2021-07-27 10:53:12 +09:00
K. Lange
d81da78dc0 markup: fix bad malloc 2021-07-27 09:53:06 +09:00
K. Lange
a96c7b3f2b panel: cleanup and fix display of window items 2021-07-26 20:55:17 +09:00
K. Lange
decf3517c6 panel: try some smarter popup placement 2021-07-25 20:38:33 +09:00
K. Lange
8080400b22 kuroko: bind text library in _yutani module 2021-07-22 20:43:01 +09:00
K. Lange
5636d6e045 text: offset horizontal scanlines slightly to not bleed bottoms of glyphs into next pixel 2021-07-20 09:32:06 +09:00
K. Lange
670978932c text: read fonts with short glyf table offsets 2021-07-19 18:38:19 +09:00
K. Lange
5798aaa056 menu: space out menu bars nicer 2021-07-19 13:49:30 +09:00
K. Lange
b5d33500a6 text: fix overly trusting bounds calculation 2021-07-16 19:51:23 +09:00
K Lange
f47284ce7e text: support type 4 cmaps, old Microsoft fonts 2021-07-14 21:46:40 +09:00
K. Lange
3176b6147d graphics: Match nearest-neighbor signature to bilinear for easier swapping 2021-07-14 10:57:12 +09:00
K. Lange
fa969a7f0a graphics: short-circuit out of bounds lookups in bilinear interpolator 2021-07-14 10:50:44 +09:00
K Lange
1f5e3bb8be graphics: improved bilinear interpolator 2021-07-14 09:59:31 +09:00
K. Lange
1e6d0279db graphics: fix alpha painting of sprites 2021-07-13 21:58:31 +09:00
K. Lange
35a0e63105 graphics: general improvements 2021-07-13 21:34:39 +09:00
K. Lange
b4f4edb614 graphics: Add affine transformations for sprites 2021-07-13 19:21:33 +09:00
K. Lange
d4ff4244cf kbd: stop sending empty events to clients 2021-07-13 08:32:09 +09:00
K. Lange
14de7e9c78 menu: Rudimentary checkbox menu entries 2021-07-08 13:05:03 +09:00
K. Lange
f082dad327 text: handle off-curve start point 2021-07-07 20:21:40 +09:00
K. Lange
8b064947a7 lib: update docs 2021-07-07 17:17:55 +09:00
K. Lange
94a8706c3d text: support more flexible sizing in pt, px 2021-07-06 21:12:57 +09:00
K. Lange
0ffb6e330c text: read unitsPerEm from font, use for tt_set_size 2021-07-06 21:05:10 +09:00
K. Lange
26e387f5cd text: fix clipped right-hand-side of some glyphs 2021-07-06 19:44:42 +09:00
K. Lange
7b902c26fe font-preview: tool for viewing TrueType fonts 2021-07-06 19:43:09 +09:00
K. Lange
2b08195002 text: allocate subsamples based on glyph bounds 2021-07-06 17:14:51 +09:00
K. Lange
5ff17bea77 graphics: only load image libraries once 2021-07-06 16:44:31 +09:00
K. Lange
02b9a5233a text: purge the SDF renderer, RIP 2021-07-06 13:22:59 +09:00
K. Lange
9a34ba2e44 text: shadowed text, port file-browser 2021-07-06 12:46:31 +09:00
K. Lange
f67b5425dd text: Switch several apps/libs to new text library 2021-07-06 09:39:52 +09:00
K. Lange
18f46976f8 text: Introduce new TrueType implementation 2021-07-06 00:36:46 +09:00
K. Lange
5ec05e0925 menu: Add fancy speech-bubble-style menus like Gnome has 2021-06-23 21:18:58 +09:00
K. Lange
7914841b4e graphics: ensure rounded rectangle rendering is bounded? 2021-06-23 20:57:47 +09:00
K. Lange
372b20209c rline: stop highlighting numbers in the middle of words 2021-06-19 16:46:46 +09:00
K. Lange
7f3ca05506 rline: Add a new r-search 2021-06-15 15:51:11 +09:00
K Lange
5eaeced119 menu: implement menu_free_entry 2021-06-06 18:34:12 +09:00
K. Lange
b35f7ac8c9 misaka: initial merge 2021-05-31 10:54:11 +09:00
K. Lange
8e73380e9f kuroko: Upstream updates 2021-04-17 19:50:20 +09:00
K. Lange
ff7c22b54d rline: reintroduce rline_exp as a workaround for existing Python packages 2021-04-01 10:13:49 +09:00
K. Lange
33fbcde1fd kuroko: sync with upstream 2021-03-25 20:39:37 +09:00
K. Lange
487d0f3a6e kuroko: sync with upstream 2021-03-21 18:10:16 +09:00
K. Lange
123940ec37 rline: Update krk highlighter from kuroko 2021-03-19 11:01:11 +09:00
K. Lange
9ab445cb28 kuroko: Update with upstream, changes to classes 2021-03-18 09:57:22 +09:00
K. Lange
8b6152b000 rline: remove stale rline_exp? in theory nothing links with this except maybe old python 2021-03-07 19:55:52 +09:00