Commit Graph

635 Commits

Author SHA1 Message Date
Vladimir Serbinenko dfac99781c memory: Don't map extra page unnecessarily
When offset2 != 0 it doesn't necessarily mean that we need an extra page.
Fix calculation to map extra page only when necesarry.

This is needed as next page may be unavailable like when available RAM
follows XSDT and hence not available for mapping.
2023-08-16 20:44:09 +02:00
nakst 0a70170952 Merge branch 'gpt' into 'master'
Fix GPT sanity check for 1-sector partitions

See merge request nakst/essence!5
2023-08-11 17:25:54 +00:00
phcoder 9738f7148e Fix GPT sanity check for 1-sector partitions 2023-08-11 17:25:54 +00:00
nakst ceb7285d91 Merge branch 'handle' into 'master'
Fix handle replication logic

See merge request nakst/essence!6
2023-08-08 11:55:05 +00:00
nakst 9bb7169071 Merge branch 'uefi_sh' into 'master'
Several fixes for uefi.sh

See merge request nakst/essence!4
2023-08-08 11:51:38 +00:00
Vladimir Serbinenko 4653876ade Format EFI system partition 2023-08-06 08:02:22 +02:00
Vladimir Serbinenko 4d20edcbb0 uefi.sh: Uncomment running qemu 2023-08-06 08:02:22 +02:00
Vladimir Serbinenko 336e8481db Fix path to Kernel.esx 2023-08-06 08:02:22 +02:00
Vladimir Serbinenko 608adb5767 Dynamically find an unused loop device
loop0 may very well already be used. Fix uefi.sh to find loop device
dynamically.
2023-08-06 08:02:22 +02:00
Vladimir Serbinenko 471b1fe208 Fix handle replication logic
DesktopSendMessage duplicates handle before sending copies of the message.
Yet it forgets to restore message->device.handle and so message->device.handle
has last duplicated handle which may be closed before we actually use it
and lead to process crash and kernel panic
2023-08-06 03:21:16 +02:00
nakst e79b5fba79 misc 2022-12-16 11:18:37 +00:00
nakst 5f7f600cb6 small bugfixes 2022-08-19 14:50:19 +01:00
nakst 2191d611f7 misc: merge updates 2022-07-11 10:45:33 +01:00
nakst 763d79b95d png decoder: palettes, fixed compression 2022-07-10 10:29:19 +01:00
nakst f191939319 help: update building on Ubuntu instructions 2022-07-10 08:38:26 +01:00
nakst d7534bd0e1 config editor: fix building 2022-04-02 22:06:34 +01:00
nakst 6fb0a12fd3 desktop: add option to save files without extensions by default 2022-03-30 20:49:57 +01:00
nakst 9c4d6f61f8 general: bugfixes (part 2) 2022-03-25 14:25:13 +00:00
nakst 4276411dba general: bugfixes 2022-03-25 11:17:57 +00:00
nakst a20b6fe91f start.sh: revert changes 2022-03-24 17:02:53 +00:00
nakst 910bc1bbb0 general: use contentType field for file types 2022-03-24 16:58:35 +00:00
nakst 4f9b5194cd esfs: prevent allocating blocks past end of file system 2022-03-21 14:53:08 +00:00
nakst a0fe4d31e9 files: storing file content type 2022-03-21 14:25:58 +00:00
nakst 82ccd24c61 building: fixes in new scripts 2022-03-20 09:05:45 +00:00
nakst af5bb07722 automation: fix AutomationRunTests 2022-03-19 18:17:09 +00:00
nakst a60344e9bb building: moved line-count into start.script 2022-03-19 18:14:59 +00:00
nakst 3bc928b7dc building: move command prompt loop into start.script 2022-03-19 17:18:06 +00:00
nakst 3e21e0bda3 scripting engine: better error handling in FileLoad 2022-03-19 15:29:24 +00:00
nakst f691a3a12d misc: update readme 2022-03-19 15:26:45 +00:00
nakst be8686282d scripting engine: bugfixes 2022-03-16 18:50:14 +00:00
nakst d2aea44158 ini files: move name to separate key in drivers and fonts 2022-03-16 12:22:20 +00:00
nakst aa4b656bbd ini files: remove sectionClass 2022-03-16 12:04:34 +00:00
nakst f0483e4bfe scripting engine: command line evaluationn 2022-03-16 10:59:26 +00:00
nakst 591bb5635d global: rename DirectoryEnumerateChildren to DirectoryEnumerate 2022-03-10 21:32:05 +00:00
nakst b649302fe8 gui: add ES_ELEMENT_TRANSITION_CONTENT_ONLY; file manager: transition when changing folder view type 2022-03-10 18:58:02 +00:00
nakst daf5cee20a scripting engine: callback supports in library functions 2022-03-10 14:36:18 +00:00
nakst d9a8557568 desktop: use color scheme to determine wallpaper background; fade transition when changing color scheme 2022-03-10 14:36:05 +00:00
nakst 6f074e12f9 scripting engine: fix building 2022-03-09 14:55:49 +00:00
nakst efca537cfd scripting engine: calling external library functions 2022-03-08 16:34:00 +00:00
nakst 7eac86a9b0 scripting engine: bugfixes 2022-03-07 20:08:18 +00:00
nakst 21e94baadd scripting engine: add anytype 2022-03-07 19:43:58 +00:00
nakst f280516530 scripting engine: inheritance of inttypes 2022-03-07 17:49:29 +00:00
nakst d64d3ce44e scripting engine: handletypes, and casts between float and int 2022-03-07 14:50:03 +00:00
nakst c7f9131552 luigi.h: update to latest version 2022-03-07 14:49:21 +00:00
nakst af0ba6e352 scripting engine: implement T_OP_DELETE, T_OP_DELETE_MANY, and T_OP_INSERT_MANY 2022-03-04 10:37:57 +00:00
nakst f3dc1fd4bb scripting engine: bitwise operators 2022-03-04 10:19:47 +00:00
nakst 195f53abe1 scripting engine: inttypes 2022-03-03 20:59:03 +00:00
nakst 68649f9260 ui: fix text display plan caching bug 2022-03-02 21:08:11 +00:00
nakst 10a7d4f1d1 build automation: replace genapisamples.py with script function 2022-03-02 20:51:35 +00:00
nakst c2db2e2de3 text rendering: fix bug where glyphs get rendered at wrong size 2022-03-02 09:40:46 +00:00