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
jief666
2cf69b2b55
Rename ABSTRACT_PATCH Data & Patch, Find and Replace.
...
Create GetChassisTypeFromModel() and GetFwFeaturesMaskFromModel().
Ignore first '\' in ForceKextsToLoad.
XString : Add a parameter to wc_str to access address of nth chars.
XString : Add endWithOrEqualToIC.
Create ConstXStringArray.
2021-04-06 16:39:55 +03:00
jief666
6ff5bab8a5
Create section Smbios and BootGraphics.
...
Move OptionsBits and FlagsBits in GlobalConfig.
Move OEMVendor, OEMProduct, OEMBoard in GlobalConfig.
Move KernelPatchesAllowed, KextPatchesAllowed, EnabledCores and
BlockKexts in GlobalConfig.
Create RomVersionUsed, EfiVersionUsed and ReleaseDateUsed in
GlobalConfig.
Move gFwFeatures, gFwFeaturesMask, gPlatformFeature, SlotDevices in
Smbios section.
Move UserInUse, UserChannels and User from gRAM to Smbios settings
section.
Rename enum LANGUAGES to LanguageCode.
2021-04-03 17:42:49 +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
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
jief666
1a02f530db
Refactoring to allow Clover to be compiled as a macOs app.
2021-02-06 20:16:46 +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
jief666
7f1b87c92f
Create object MacOsVersion.
2020-11-13 00:25:56 +03:00
jief666
d540f76b54
Handle Skip in patches.
2020-10-23 21:52:01 +03:00
jief666
0ab6d8a994
First unit test for memory Find-Replace.
2020-10-12 14:51:08 +03:00
jief666
b8a188382c
Make Clover path independent.
2020-10-03 20:02:31 +03:00
jief666
babba4de6e
make TagData::setDataValue accept NULL value for data.
2020-08-30 22:53:40 +03:00
jief666
2961827dce
Correct some refactoring bugs.
2020-08-17 22:40:52 +03:00
jief666
59d8cbad7f
Refactoring KEXT_PATCH.
...
Change numerous CHAR8* CHAR16* to XString.
2020-08-12 18:15:47 +03:00
jief666
29718aaa0b
Fix -W effc++ warnings.
...
SETTINGS_DATA is a class.
XIcon is separate class.
KernelAndKextPatches in LOADER_ENTRY is not a pointer anymore.
2020-08-11 15:43:53 +03:00
jief666
4555bb9e9f
Remove the last PoolPrints.
2020-08-09 18:55:30 +03:00
SergeySlice
76c0e3fe55
text formatting
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-08-06 21:53:01 +03:00
SergeySlice
0724be965a
kext patching works in bigsur
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-27 16:09:30 +03:00
SergeySlice
b291971c46
names table shifted
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-27 11:45:17 +03:00
Sergey Isakov
15b65bd95b
different addressing in the case of kc
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-26 16:44:38 +03:00
SergeySlice
32eba04396
more debugging
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-25 09:36:00 +03:00
SergeySlice
fab169defe
account kext address can be decimal
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-24 21:59:51 +03:00
SergeySlice
c87aabd9fe
kernel addresses are shifted
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-23 23:42:29 +03:00
SergeySlice
0143e228ee
right way to patch kexts
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-23 22:14:20 +03:00
SergeySlice
f7c13f0b84
repair kext patching
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-22 23:23:38 +03:00
SergeySlice
69e0e0327c
debug kext patching
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-21 12:17:02 +03:00
SergeySlice
dddceaae36
exclude double headers
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-21 09:33:43 +03:00
SergeySlice
33816ae90a
separate prelinked and symtab
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-20 19:05:18 +03:00
SergeySlice
7188cde799
repaired symbolic patching for bigsur
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-20 11:52:36 +03:00
Sergey Isakov
b544e86e4b
extend memory range to find boot structure
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-19 16:41:52 +03:00
Sergey Isakov
cf5b919627
force init patcher
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-19 11:50:00 +03:00
Sergey Isakov
762eac695c
fix find kernel container
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-18 21:06:10 +03:00
Sergey Isakov
5e911e4b1d
added bigsur to Clovy theme
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-18 15:27:17 +03:00
SergeySlice
bfe7db9208
shift symbolic table
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-17 23:45:01 +03:00
SergeySlice
df946b75f4
fix mistakes
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-17 14:40:16 +03:00
SergeySlice
16ef973a71
more definitions for macho
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-17 14:36:51 +03:00
SergeySlice
6dbdf12257
extend OS version numeration
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-13 19:30:43 +03:00
SergeySlice
bb59d21a01
take into account that BigSur can be 10.16 or 11.0
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-13 09:59:31 +03:00
Sergey Isakov
620401dca6
preliminary include OcQuirks into the project with huge amount of unnecessary dependencies
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-09 22:06:48 +03:00
SergeySlice
b0444eac74
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-07-07 09:22:43 +03:00
SergeySlice
56ad0e511a
update MachoLib
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-07 09:19:59 +03:00
Sergey Isakov
b9f87e1443
reduce search range, by tluck
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-06 07:04:01 +03:00
SergeySlice
90588855bd
exclude unused variable, it was used for debugging
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-28 20:53:37 +03:00
SergeySlice
982332e440
more robust search symbols
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-27 05:57:27 +03:00
SergeySlice
1856b519e5
position in installer bigsur
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-24 07:20:45 +03:00
SergeySlice
a0948b2515
prepare for 10.16
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-22 21:47:45 +03:00
asava
28ca396699
An additional location with Cyrillic character
2020-05-30 19:49:12 +03:00
SergeySlice
d36f1ae23a
embedded patch to cure 8 apples
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-27 21:04:31 +03:00
SergeySlice
0aca20217d
rasterize svg when needed
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-18 22:40:47 +03:00