Commit Graph

79 Commits

Author SHA1 Message Date
Mintsuki
44b8493555 lib/gterm: Fix NULL dereference in gterm_init cached path 2026-04-19 00:27:01 +02:00
Mintsuki
df4c3ecc1b lib/gterm: Do not clear framebuffer on mode set as Flanterm immediately repaints it 2026-04-09 13:07:12 +02:00
Mintsuki
a24f496c2e Revert "misc: Enforce hash verification when UEFI Secure Boot is active"
This reverts commit 9e2f3e7587.
2026-04-04 15:02:58 +02:00
Mintsuki
3f3a748d42 Revert "misc: Exempt EFI chainload and cosmetic resources from Secure Boot hash enforcement"
This reverts commit 4793ace8b2.
2026-04-04 15:02:58 +02:00
Mintsuki
4793ace8b2 misc: Exempt EFI chainload and cosmetic resources from Secure Boot hash enforcement 2026-04-02 23:13:39 +02:00
Mintsuki
9e2f3e7587 misc: Enforce hash verification when UEFI Secure Boot is active 2026-04-02 22:21:54 +02:00
Mintsuki
97c595de07 lib/gterm: Avoid nested CHECKED_MUL calls to fix -Wshadow 2026-04-02 22:21:54 +02:00
Mintsuki
b84876aed7 lib/gterm: Check for overflow in font size calculation 2026-04-02 22:21:54 +02:00
Mintsuki
18848b6f4a lib/gterm, lib/image: Check for overflow in canvas and image size calculations 2026-04-02 22:21:54 +02:00
Mintsuki
7041ea96c0 lib/gterm, lib/image: Reject zero font scale and zero-dimension images 2026-04-02 01:44:58 +02:00
Mintsuki
d7f0160ddc mm/pmm: Add ext_mem_alloc_counted(), use it everywhere for checked array allocations 2026-03-31 15:31:50 +02:00
Mintsuki
b29b11ce6d Reapply "lib/fb: Add preserve_screen option to skip fb_clear on init"
This reverts commit 12841527e9.
2026-03-30 19:44:19 +02:00
Mintsuki
12841527e9 Revert "lib/fb: Add preserve_screen option to skip fb_clear on init"
This reverts commit 2e2fc63628.
2026-03-30 09:16:32 +02:00
Mintsuki
2e2fc63628 lib/fb: Add preserve_screen option to skip fb_clear on init 2026-03-23 08:34:14 +01:00
Mintsuki
ea7904d13d protos/limine: Add Flanterm FB init params feature 2026-03-22 20:10:00 +01:00
Mintsuki
dc850a1773 lib/fb: Add framebuffer cache flush callbacks for all architectures 2026-03-20 14:01:31 +01:00
Mintsuki
58abb2ca68 lib/gterm: Check parse_resolution return value for TERM_FONT_SIZE to avoid uninitialized use 2026-03-07 00:26:46 +01:00
Mintsuki
eeff264827 lib/gterm: Warn and use default font instead of silently overriding font width 2026-02-16 13:08:01 +01:00
Mintsuki
7ddb899f6a lib/gterm: Fix font autoscaling not resetting per display 2026-02-15 13:22:46 +01:00
Mintsuki
a3ebee437c lib/gterm: Free terms array when no terminals are initialized 2026-02-09 13:02:39 +01:00
Mintsuki
0003430f03 lib/gterm: Add missing parentheses in ARGB macro 2026-02-09 13:02:39 +01:00
Mintsuki
f1167da7a9 misc: Fix wrong format specifiers for 64-bit arguments in print calls 2026-02-09 13:02:39 +01:00
Mintsuki
ded8f687ca lib/gterm: Use dedicated eviction buffer for RISC-V non-Zicbom cache flush 2026-02-09 13:02:38 +01:00
Mintsuki
413a5eb012 lib/image: Fix unsigned wrap in centered displacement for oversized images 2026-02-09 13:02:38 +01:00
Mintsuki
c541733dc8 lib/gterm: Fix off-by-one OOB read in tiled background rendering 2026-02-09 13:02:38 +01:00
Mintsuki
e456988ed6 lib/gterm: Clamp margin to prevent underflow in canvas generation 2026-02-09 13:02:38 +01:00
Mintsuki
7c9818d80e lib/gterm: Set bg_canvas to NULL after free to prevent double-free 2026-02-09 13:02:38 +01:00
MicroFish
c4f9794b46 riscv: Implements read-evicted cache refresh for non-Zicbom SoCs.
Signed-off-by: MicroFish <2609948707@qq.com>
2026-02-02 20:26:24 +08:00
Mintsuki
7499de8a11 gterm: Fix out-of-bounds read in background image rendering 2026-01-12 01:46:18 +01:00
Mintsuki
7e7e080feb gterm: Free previous canvas before reallocation 2026-01-11 23:45:22 +01:00
Mintsuki
a429b0c465 lib/gterm: Do not allow font widths != 8 2025-12-28 14:30:38 +01:00
Mintsuki
4b91cc1c70 lib/gterm: Add safeguard against font file being too small 2025-12-28 14:27:14 +01:00
Mintsuki
18fb572dd2 mm/pmm: Use uint64_t instead of size_t for the size argument for ext_mem_alloc/pmm_free functions 2025-12-27 22:45:52 +01:00
Mintsuki
4d5bfa6af2 lib/config: Return pointer to static buffer from config_get_value() 2025-12-25 18:56:36 +01:00
iretq
aaa500ba70 lib/gterm: Support framebuffer rotation 2025-12-08 09:29:57 +01:00
Kacper Słomiński
afb2a8e642 lib/gterm: Add flush callback for aarch64 2025-11-29 17:21:22 +01:00
Mintsuki
8679e68efc lib/gterm: Add flush callback for riscv64 2025-11-29 16:44:56 +01:00
Mintsuki
05b1a75fde misc: Update Flanterm to latest 2025-07-14 15:36:58 +02:00
dean
e8be325253 lib/term: fix potential issue with modulo 2025-01-05 21:07:42 +11:00
dean
e7a681591c lib/term: support for randomly selected wallpaper 2025-01-05 20:23:52 +11:00
mintsuki
6d9df3f062 lib/gterm: Drop term_ prefix from term_{wallpaper,wallpaper_style,backdrop} 2024-08-02 17:46:41 +02:00
mintsuki
6925846e75 lib/gterm: Fix long standing bug in genloop() that could cause memory corruption 2024-07-21 06:20:10 +02:00
mintsuki
b3d7688449 misc/flanterm: Remove leftover feature flags 2024-06-16 20:10:20 +02:00
48cf
2bba72634f lib/gterm: Try to initialize all 32-bpp framebuffers 2023-10-24 18:38:18 +02:00
mintsuki
ac0d9465f5 gterm: Update font's big left and right arrows 2023-08-29 22:34:11 -05:00
mintsuki
2f1dac0600 gterm: Change resolutions at which autoscaling is triggered 2023-07-29 11:55:37 -05:00
mintsuki
9921af54d0 gterm: Autoscale font on higher resolutions 2023-07-28 04:26:48 -05:00
mintsuki
cde874fe80 misc: Updates for new flanterm 2023-06-10 19:23:50 +02:00
mintsuki
01eeeb6e1d term: Drop in_bootloader for new Flanterm 2023-03-30 01:23:55 +02:00
mintsuki
779571339e misc: Updates for Flanterm rebrand 2023-03-29 22:43:06 +02:00