Commit Graph

877 Commits

Author SHA1 Message Date
Arsen Arsenović
2fcabe8dfe
readline: exclude the non-ctrl case from checks
Honestly, all of this is hacky, somehow people implementing these APIs
never bothered to put modifiers in some other register to be returned.
The EFI people got a whole struct dedicated to returning what key is
pressed, and didn't even put the modifiers in it.

EFI actually did implement this with EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL,
the returned struct holds the modifier. I can implement this using that
protocol and int 16/AH=01h at a later date.
2021-07-08 17:43:58 +02:00
mintsuki
8636aa2f13 menu: Add support for comments in entry editor 2021-07-08 17:28:43 +02:00
mintsuki
3270ce1bf8 menu: When a directory entry is selected, show expand/collapse rather than boot 2021-07-08 17:15:28 +02:00
mintsuki
00c7c8a6c5 docs: Document entry comments 2021-07-08 17:11:54 +02:00
mintsuki
3b06a0603f menu: Reset terminal palette to default after printing entry comment 2021-07-08 17:07:07 +02:00
mint
2a64832923
Merge pull request #91 from ArsenArsen/trunk
readline: rewrite Ctrl-[pnbf] to arrows
2021-07-08 17:02:16 +02:00
mintsuki
9f5c5e09b4 menu: Support entry comments 2021-07-08 16:57:40 +02:00
Arsen Arsenović
9e2d9f1630
readline: rewrite Ctrl-[pnbf] to arrows 2021-07-08 16:57:04 +02:00
mintsuki
25d9fd6614 term: Do not scroll screen when it shouldn't be 2021-07-08 16:33:24 +02:00
mintsuki
c3f5f0d6fd menu: Nicely box boot menu 2021-07-08 16:07:33 +02:00
mintsuki
a39a588b0e menu: Avoid useless draws of the entry tree 2021-07-08 15:47:28 +02:00
mint
d8db4b1703
Merge pull request #90 from StaticSaga/trunk
Improve performance on TCG, part 1
2021-07-08 15:36:06 +02:00
StaticSaga
8a8b437437 gterm+bmp+image: Improve performance on TCG 2021-07-08 13:52:13 +02:00
mintsuki
c284a91d49 docs: Update README.md 2021-07-07 10:08:17 +02:00
mintsuki
b5f35d6091 multiboot1: Make sure all info is passed to kernel in conventional memory 2021-07-07 10:01:08 +02:00
mintsuki
3b18864e6f efi: Misc bug fixes 2021-07-07 05:54:40 +02:00
mintsuki
0c46de53d8 Revert "pmm: Use our custom EFI memory entry type to release EFI memory back instead of relying on our memmap"
This reverts commit eadee3e6cb.
2021-07-07 05:37:47 +02:00
mintsuki
10e802981d docs: Document stretched background style 2021-07-07 04:56:39 +02:00
mintsuki
393441add4 docs: Update attribution of screenshot and testing background 2021-07-07 04:53:30 +02:00
mintsuki
2bce5bf2d1 docs: Update screenshot 2021-07-07 04:50:32 +02:00
mintsuki
44f5c06366 textmode: Minor aesthetic adjustments 2021-07-07 04:23:34 +02:00
mintsuki
0e6ad967de textmode: Fix various cursor-related issues 2021-07-07 03:37:29 +02:00
mint
4d1a02b0b5
Merge pull request #89 from notYuriy/stretch
bmp: Add support for stretched images
2021-07-07 02:53:23 +02:00
Iurii Zamiatin
6b15b0f97b bmp: Add support for stretched images 2021-07-07 03:46:40 +03:00
mintsuki
177b83de9c menu: Prefer left alignment for titles which are not divisible by 2 2021-07-07 02:43:07 +02:00
mintsuki
3ba705d082 term: Ensure that double escape character raw prints escape 2021-07-07 02:26:25 +02:00
mint
6b4d5cb6be
Merge pull request #88 from carverh/trunk
New Menu System and Editor
2021-07-07 02:02:09 +02:00
Carver Harrison
4c6172d7a6
Update limine.cfg 2021-07-06 16:57:50 -07:00
Carver
8c29063bfc Centering 2021-07-06 16:56:01 -07:00
Carver Harrison
6e82bd0e2f
Another Indentation Fix 2021-07-06 16:35:21 -07:00
Carver
eb33edf9ee Epic last minute formatting fix 2021-07-06 16:31:39 -07:00
Carver
05b42b2428 Merge branch 'trunk' of https://github.com/carverh/qloader2 into trunk 2021-07-06 16:28:31 -07:00
Carver
34825df41b New menu system and editor 2021-07-06 16:27:07 -07:00
mintsuki
a092368895 pmm: Rework pmm_reclaim_uefi_mem() 2021-07-07 00:44:37 +02:00
mintsuki
c20828138e Revert "uefi: Even saner handling of exiting boot services"
This reverts commit e6cc0e4b93.
2021-07-06 22:45:16 +02:00
mintsuki
ae2d924c14 efi: Properly propagate exits after loading an image using chainloading; do not try to return from panics if boot services were exited 2021-07-06 09:59:49 +02:00
mintsuki
eadee3e6cb pmm: Use our custom EFI memory entry type to release EFI memory back instead of relying on our memmap 2021-07-06 08:55:32 +02:00
mintsuki
e63931f0dd linux: Exit bootservices *before* saving the memory map in the zero page 2021-07-06 08:41:48 +02:00
mintsuki
e6cc0e4b93 uefi: Even saner handling of exiting boot services 2021-07-06 08:21:20 +02:00
mintsuki
05bc7c5bda uefi: More sane handling of exiting boot services 2021-07-06 07:42:35 +02:00
mintsuki
d966dc083c pmm: Sanitise raw EFI memory map 2021-07-06 05:26:55 +02:00
mintsuki
4a87babe4a misc: Forbid variable shadowing 2021-07-06 05:17:18 +02:00
mintsuki
04d713a45b linux: Use get_raw_memmap() 2021-07-06 03:23:36 +02:00
mintsuki
36fa6291bd pmm: Optimise get_raw_memmap() 2021-07-06 03:17:28 +02:00
mintsuki
449df1d547 pmm: Implement get_raw_memmap() and use it in mb1 proto 2021-07-06 03:01:07 +02:00
mintsuki
572bcdae3b x86: Invalidate LDT before handoff 2021-07-06 02:13:25 +02:00
mintsuki
fa2a2d77bb protos: Remove dead code 2021-07-06 00:48:29 +02:00
mintsuki
3876645dd9 build: wget -> curl 2021-07-06 00:02:28 +02:00
mintsuki
81f4b86916 build: Unify do_32() and direct calls under a single common_spinup() 2021-07-05 23:28:04 +02:00
mintsuki
3b0afa71d8 build: Ship elf.h for gnu-efi ourselves 2021-07-05 23:00:51 +02:00