Commit Graph

421 Commits

Author SHA1 Message Date
mintsuki f92e6706c4 compress/gz: Add hack to allow macOS compressed GZs to load with stbi 2023-03-05 09:25:57 +01:00
mintsuki 7b9600c893 image: Use stbi_image_free() instead of freeing buffer ourselves 2023-03-05 09:25:57 +01:00
mintsuki baf5f6c2ce stb_image: More proper implementation of malloc/free/realloc macros 2023-03-05 09:25:57 +01:00
mintsuki 296e0a2684 image: Use stb_image for image loading 2023-03-05 09:25:57 +01:00
mintsuki af495884ba build: Honour CROSS_CPPFLAGS 2023-02-27 01:46:10 +01:00
mintsuki 00f228f750 build: Very minor QOL fixes 2023-02-21 03:32:28 +01:00
mintsuki 2a5d66e99b build: Misc quality-of-life fixes 2023-02-19 10:44:09 +01:00
mintsuki f022bcd195 misc: Let freestanding-headers handle limits.h 2023-02-19 10:44:09 +01:00
mintsuki dee6dc80ba menu: Fix issue introduced in 48053fd2 where TIMEOUT=0 would not show interface 2023-02-16 07:18:05 +01:00
mintsuki 24af4c116e uri/tinfgzip: Minor fixes and layering improvement 2023-02-16 04:19:31 +01:00
mintsuki ccb0d0f738 uri: Fix minor use-after-free bug 2023-02-16 04:19:31 +01:00
mintsuki d22b97cf66 uri: Prevent memory leak when opening compressed files 2023-02-16 04:19:31 +01:00
mintsuki 08b349e513 misc: Backport multiple framebuffer support from trunk 2023-02-16 04:13:22 +01:00
mintsuki a80eba16a8 stb/image: Comment out problematic functions 2023-02-15 12:48:14 +01:00
mintsuki c2e70b6f2e stb: Ignore some warnings coming from stb_image.h 2023-02-15 12:48:14 +01:00
mintsuki f6282c37bc compress: Replace tinf's inflate implementation with stb_image's zlib 2023-02-15 12:48:14 +01:00
mintsuki de409b9371 config: Do not allow recovering from checksum mismatch panic 2023-02-07 01:02:09 +01:00
mintsuki abc5119a01 config: No longer allow continuing boot on checksum mismatches 2023-02-07 01:02:09 +01:00
mintsuki a72d2fc59d misc: Add support for enrolling config blake2b hash in executable 2023-02-07 01:02:09 +01:00
mintsuki c132903b7f term: Expose support for out-of-band output control 2023-01-20 21:05:24 +01:00
mintsuki e6cc9c9b21 file: Fix several bugs to do with handling of path field 2023-01-20 21:05:24 +01:00
Qwinci 5efd4357dc limine: Add UEFI PXE support based on @qookei's original patch with small changes. 2023-01-20 21:05:24 +01:00
mintsuki 2ef15c15e4 efi/chainload: Support passing of command lines. Addresses #244 2023-01-14 13:43:21 +01:00
mintsuki 258388c890 term: Compatibility with new terminal code 2022-12-30 08:31:39 +01:00
mintsuki 78075319d4 lib/gterm: Remove now-useless full_refresh() call 2022-12-16 03:53:45 +01:00
mintsuki 72f074bfc2 term: Compatibility with latest terminal changes 2022-12-14 16:35:05 +01:00
mintsuki 104e0c5ef1 readline: Fix issue arising from terminal's wraparound handling fix 2022-11-19 08:20:04 +01:00
mintsuki 1c0db86965 disk: Fix issue where _p struct was not zeroed out in create_disk_index() 2022-11-19 08:20:04 +01:00
beakeyz 690c3ccee9 Fixed little memory leak in the UEFI build that would make the bootloader crash on systems with larger disks 2022-11-19 08:20:04 +01:00
mintsuki 066244c692 gop: Remove ConOut logic 2022-11-19 08:20:04 +01:00
mintsuki 0f70361281 gop: Use ConOut to obtain GOP whenever possible 2022-11-14 08:10:19 +01:00
mintsuki e95df146df Revert "gop: Allow user to select which GOP to use in config. Addresses #233"
This reverts commit d82dc64b93.
2022-11-14 08:10:19 +01:00
mintsuki b10c5617c1 Revert "gop: Fix implicit declaration warning introduced in d82dc64b"
This reverts commit c477414c5c.
2022-11-14 08:10:19 +01:00
Ryan Cohen 937d2c379c readline: Fix command line scrolling and cursor wrap-around
Fixes `cursor_fwd` to wrap the cursor to the first column when it passes
the bottom right corner of the screen.

Fixes `readline` to update the command line's row position when the
cursor wrap-around causes the screen to scroll up.
2022-11-14 08:10:19 +01:00
mintsuki 76a5873369 gop: Fix implicit declaration warning introduced in d82dc64b 2022-11-12 00:54:30 +01:00
mintsuki f78243c375 gop: Allow user to select which GOP to use in config. Addresses #233 2022-11-12 00:54:30 +01:00
mintsuki 9ae0bcefc9 Revert "smp/x86: Free up trampoline memory after use"
This reverts commit ae771dd8a1.
2022-11-02 15:34:53 +01:00
mintsuki 88d99fa34b multiboot2: Support load_addr == -1 2022-10-30 15:02:07 +01:00
mintsuki 2fab5311d8 smp/x86: Free up trampoline memory after use 2022-10-30 15:02:07 +01:00
mintsuki 23081f06d5 pmm: Work around potential memmap data race in EFI init_memmap() 2022-10-17 06:45:45 +02:00
mintsuki f3357648ab pmm: Fix AllocatePages() call to take pages count; remove useless alignment check 2022-10-17 06:45:45 +02:00
mintsuki 7d0ef9ef24 pmm: Avoid throwing away big memory ranges that fail to AllocatePages() indiscriminately 2022-10-17 06:45:45 +02:00
mintsuki bda32f7325 linux: Revert 793d0293 2022-10-14 14:34:15 +02:00
mintsuki 8b1c1ef6e5 disk: Fix wrong parameter passed to ReadBlocks() 2022-10-14 07:45:10 +02:00
mintsuki 5d5f29ffeb misc: Minor cleanup after #216 2022-10-14 05:42:15 +02:00
czapek1337 2a4cbcecc0 uri: Add checksum validation 2022-10-14 05:42:15 +02:00
czapek1337 5a6cc57773 print: Specifier for printing URIs 2022-10-14 05:42:15 +02:00
mintsuki 9bf0d263ee gop: Do not zero default_res out erroneously 2022-10-14 05:42:15 +02:00
mintsuki 09941f905b limine: Add support for framebuffer modes listing 2022-10-14 05:42:15 +02:00
mintsuki 5e29b6574c file: Reimplement a1bcf3c0 without use-after-free bug 2022-10-14 05:42:15 +02:00