Slice
20e924f5a1
take into account signness of variables
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-26 17:10:53 +03:00
jief
32fbf76326
Update BaseLib.h with macro BASE_LIST_FOR_EACH.
...
Introduce class apd (automatic pointer destruction)
Introduce MemoryTracker
Weak symbols in MemoryAllocationLib to be able to redefine them (see
MemoryTracker).
Embed LegacyOS instead of a pointer.
Fixed a lot of memory leaks.
2023-11-18 11:04:54 +01:00
jief
187400d0ae
Why did I put the FreePool parameter as const. That's stupid !
...
You must never free a const pointer, by definition.
2023-11-11 15:57:02 +01:00
jief
42cece9885
Fix nanosvg leaks.
...
Move global variable textfaces in XTheme.
Move global variable fontsDB in XTheme.
Remove XTheme member SVGParser. SVGParser is deleted just after use.
Remove XTheme members ImageSVG and ImageSVGnight. All images are
rasterized at load, so no need to keep that.
Remove XIcon setFilled because XIcon knows if it's filled or not by
checking Image & ImageNight
2023-11-08 14:35:22 +01:00
jief
0130602198
Make GetSizeInBytes() in XImage public.
...
Change ParseXML first parameter to UINT8 to avoid casts.
2023-11-07 11:02:22 +01:00
jief
45795ccfcc
Make ThemeX a pointer.
2023-11-06 21:53:57 +01:00
SergeySlice
7adb640a42
BlockSkywalk will be false by default
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-09-05 19:54:23 +03:00
Slice
2cb4b24a5d
smbios automatic chooser
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-17 00:44:39 +03:00
Slice
420cf17421
new icon name os_sonoma
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-10 09:30:00 +03:00
Slice
5a6e6e363d
Sonoma compatibility
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-05 22:23:36 +03:00
SergeySlice
4d3d93231b
redirect selfdir in the case of pseudo MS
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-08-01 22:34:35 +03:00
SergeySlice
2c28c23fdd
take Ventura into account
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-06-24 19:03:14 +03:00
jief666
1ea4700bd6
Replace EFI_GUID by a class EFI_GUID.
2022-04-26 00:55:56 +02:00
SergeySlice
80a7bd0b7a
some style check
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-01-25 20:07:33 +03:00
jief666
83593a5ab9
Convert bool to XBool.
2021-09-28 16:54:31 +03:00
jief666
2c829b66cd
Create XBool to avoid nasty side effect when assigning int to bool.
2021-09-28 11:28:45 +03:00
SergeySlice
15199eea5d
correct Monterey installer name
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-06-11 17:33:07 +03:00
SergeySlice
fd780172d3
Monterey compatibility
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-06-09 20:49:30 +03:00
jief666
9906261e23
Fix visual studio compilation.
...
Fix some warnings.
Rename panic_ask to log_technical_bug.
2021-05-08 12:34:17 +03:00
jief666
d52803e7cd
DO NOT explicitly call default ctor with new because of clang bug.
2021-05-05 20:10:10 +03:00
jief666
0223567648
New parser XML. New ConfigManager. A lot of refactoring...
2021-04-28 21:30:34 +03:00
jief666
23b39364d2
Fix a wrong cast in XImage.
...
Fix bug about padding StartMask, MaskFind, Replace, MaskReplace
Move IgPlatform in GlobalConfig.
Improve panic message.
Fix bug in XMLDecode.
2021-04-12 15:11:01 +03:00
jief666
7babc6fe9b
Do not use OC quirks struct anymore in settings.
...
Fix Disabled property in Smbios/Block config.
Move flagstate in GlobalConfig.
Remove gSettings.Smbios.REV, ECPI, RBr and RPlt.
Create getRBr() and getRPlt().
Operator == and isEqual in XArray, XObjArray, SETTINGS_DATA.
Rename equal to isEqual in XString and XStringArray.
Operator == in INPUT_ITEM, undefinable, ABSTRACT_PATCH (and derived) and
RAM_SLOT_INFO class.
Clean b64cdecode.h.
2021-04-11 08:18:52 +03:00
jief666
975ac8f4fb
Implement the possibility to cache XString size. Not activated.
...
Improve unicode_conversions.
Move strlen declaration to string.h.
2021-04-08 18:07:05 +03:00
jief666
04e288d53b
Fix KPKernelPm KPAppleIntelCPUPM.
...
Fix bad "dead installer" detection.
Exclude a DisableDriversArray string if it's empty.
Rename back PatchVBiosBytesNew to PatchVBiosBytes.
Rename ConfigPlist to ConfigPlistClass.
Minor other renames to clean settings.h.
2021-03-27 21:53:30 +03:00
jief666
4a3bc612b8
Create settings section Graphics, RtVariables.
...
Mobe Turbo in GlobalConfig.
2021-03-26 12:43:15 +03:00
jief666
3b542ca711
Fix crash when sub menu has no entries.
2021-03-26 00:15:15 +03:00
jief666
65f8cc122d
Created ABSTRACT_PATCH.
...
Renamed ForceKexts to ForceKextsToLoad.
Create a copy KPKernelPm, KPAppleIntelCPUPM as they can be modified by
NeedPMfix.
Delete gRemapSmBiosIsRequire, duplicate of Patches->KPDELLSMBIOS
Slight refactor of hex2bin and XMLDecode.
Memory leak in XBuffer.stealValueFrom().
Create XString.strsicat() and stealValueFrom with a size parameter.
2021-03-25 17:32:56 +03:00
jief666
ff4c90bc99
Finish refactoring of custom entries settings.
2021-03-23 11:32:57 +03:00
jief666
829fd040dc
Create REFIT_MAINMENU_SCREEN class
...
Create CUSTOM_LOADER_SUBENTRY_SETTINGS, CUSTOM_LOADER_SUBENTRY_SETTINGS
and CUSTOM_LOADER_SUBENTRY.
Clean the sub entries config.plist fields.
Comment unused KernelAndKextPatcherInit, KernelAndKextsPatcherStart,
CheckForFakeSMC
Comment unused OSFLAG_WITHKEXTS and OSFLAG_CHECKFAKESMC
2021-03-22 15:40:01 +03:00
SergeySlice
c93da72714
move self initialisation up
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-03-21 17:08:47 +03:00
jief666
37a4b86a21
Fix custom entries not generated.
2021-03-20 22:22:38 +03:00
jief666
11ca2c36c6
Adapt compiler options for compilation as a macOs app.
...
Rename CustomBoot to CustomLogoType, CustomLogo to CustomLogoImage.
2021-03-20 17:29:34 +03:00
jief666
2a029bd298
SETTINGS_DATA refactoring.
2021-03-19 23:32:42 +03:00
SergeySlice
0dc0a93045
BigSur is not X, it is eleven
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-27 09:31:06 +03:00
jief666
1a02f530db
Refactoring to allow Clover to be compiled as a macOs app.
2021-02-06 20:16:46 +03:00
jief666
333b6ce1ca
Hide dead installer prebooter.
...
Do not hide installer if there is a main partition.
2021-02-04 17:04:31 +03:00
jief666
fa0bdcd181
Starting to refactor settings.
2021-02-02 12:02:21 +03:00
jief666
16c627596f
Rename OSVersion to macOSVersion.
...
Fixed some icons ordering in main menu.
Fixed macOs version detection for custom entries.
Fixed main Big Sur partition appearing in menu.
Refactor IsValidGuidAsciiString.
2021-01-31 12:50:23 +03:00
SergeySlice
349e56a68a
take into account custom entry may point to apfs partition
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-12-01 22:09:30 +03:00
SergeySlice
8649fc7631
fix errors
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-11-28 20:30:26 +03:00
SergeySlice
830cc59ae8
use one recovery entry
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-11-28 18:08:18 +03:00
SergeySlice
357e8cf39e
find recovery for bigsur
...
not working yet
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-11-28 16:48:31 +03:00
jief666
2cdab656af
Update refit.inf to remove warning.
2020-11-13 18:15:46 +03:00
jief666
7f1b87c92f
Create object MacOsVersion.
2020-11-13 00:25:56 +03:00
jief666
fafc50e3d0
Fix partition name when there is more than 1 system partition in
...
container.
printf support of "%.*s".
2020-10-26 23:37:32 +03:00
jief666
109746ca82
Re-implement ordering partition with a no-loop guard.
...
selfOem.unInitialize()
2020-10-23 09:04:01 +03:00
jief666
6a96d48330
Better name for Preboot.
...
Ordering of Preboot Main Recovery
2020-10-22 16:55:30 +03:00
jief666
982a43f3e3
Avoid having main BS partition in Menu.
2020-10-21 00:33:02 +03:00
SergeySlice
48fb8c7575
always boot with injexted kexts, just choose them
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-14 22:06:41 +03:00