Commit Graph

227 Commits

Author SHA1 Message Date
jief666
70988228c4 Refactor selfOem. Created getConfigDir... methods.
Enclose access to getOemDir... by if (selfOem.oemDirExists()).
Enclose access to getKextsDir... by if (selfOem.isKextsDirFound()).
closeDebugLog() in UninitRefitLib().
Prevent DBG loop.
2020-10-17 16:01:33 +03:00
SergeySlice
92bf401d7c fix full path for kexts
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-14 21:54:18 +03:00
SergeySlice
22f694d2da search info and exec pathes
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-14 19:08:32 +03:00
SergeySlice
2bf2302d9d a possibility to switch on/off kext patching from GUI
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-12 14:48:50 +03:00
jief666
458d071ec9 Fix kext path when in an OEM folder. 2020-10-03 23:56:50 +03:00
jief666
b8a188382c Make Clover path independent. 2020-10-03 20:02:31 +03:00
jief666
346661efd2 Use OcMain to init OC.
Remove -DMDEPKG_NDEBUG to get OC debug messages.
Refactor InjectKextList as XObjArray<SIDELOAD_KEXT>.
2020-09-16 02:01:53 +03:00
jief666
acc2fea810 Use kext from correct folder for version < 11.0
Use OpenCore OS_INFO_PROTOCOL.
2020-09-14 16:01:30 +03:00
jief666
8ccee7054f 1st experiment to use OpenCore to boot Big Sur installer. 2020-09-07 01:19:48 +03:00
jief666
8449a39e4f Remove "ZeroMem(&gSettings.BootArgs, 256);" because BootArgs is now an
XString.
2020-08-31 15:24:00 +03:00
jief666
e7d14cc70e Refactor HDA_OUTPUTS as a class and AudioList as a XObjArray. 2020-08-31 10:07:36 +03:00
jief666
e9f0f8ccd8 DSDT Patches refactor as an array of object.
Entry->VolName renamed Entry->DisplayedVolName because VolName already
exits in the hierarchie.
2020-08-27 21:47:56 +03:00
jief666
9cb4016bc5 Final refactoring of plist : now each tag is a class.
Rename strerror to efiStrError because of conflict when run cpp_tests on
Mac.
Switch base64_decode_block to long to avoid warning and cast.
Correct GetTableType4(). Size was used without being initialized.
2020-08-25 18:35:19 +03:00
jief666
2961827dce Correct some refactoring bugs. 2020-08-17 22:40:52 +03:00
jief666
f6903b7579 Refactor the hidden flag. All menu entries are now created, allowing to
toogle hidden flag on and off after creation.
2020-08-15 23:39:25 +03:00
jief666
bc04c86a93 Refactoring some CHAR8* and CHAR16* to XString. 2020-08-15 16:47:56 +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
7765a988fe XStringArray self assignament test.
Rename SPrintf S8Printf.
Rename NullXString NullXString8.
Rename XStringArray XString8Array.
2020-08-11 09:00:19 +03:00
jief666
1c4bb3f823 Some CHAR16* refactored to XStringW.
Add insertAtPos, deleteCharsAtPos.
Bug : moved trim, lowerAscii, upperAscii in XStringAbstract.
2020-08-10 14:06:06 +03:00
jief666
4555bb9e9f Remove the last PoolPrints. 2020-08-09 18:55:30 +03:00
jief666
feba2f1399 Rework APFS Preboot and Recovery volumes 2020-08-07 11:23:46 +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
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
SergeySlice
bfe7db9208 shift symbolic table
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-17 23:45:01 +03:00
SergeySlice
f8a010245f disable boot by space press
to avoid side effects

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-09 14:11:05 +03:00
SergeySlice
33b2a4535f repair page up/down in GUI
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-08 17:45:05 +03:00
SergeySlice
98b3d37277 security update for startup sound
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-05 12:43: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
ad209ac209 screenshot will work with legacy boot, thanks to blackosx
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-25 06:22:00 +03:00
SergeySlice
be079edc92 dynamic images again with memory free
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-23 14:16:02 +03:00
SergeySlice
5c61d2a0ea default is daylight
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-18 23:10:38 +03:00
SergeySlice
0aca20217d rasterize svg when needed
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-18 22:40:47 +03:00
SergeySlice
85d3bd1ad9 dynamic daylight, some optimisation
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-17 21:56:10 +03:00
SergeySlice
6236534ec4 include AddDefaultMenu to class
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-16 23:07:27 +03:00
SergeySlice
22f9adcbc9 using XIcon class for dynamic images
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-16 22:30:29 +03:00
SergeySlice
813b0d22cc prepare to dynamic svg
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-15 11:17:06 +03:00
SergeySlice
56c4e4dd48 exclude unused variables, move globals into class
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-11 18:44:00 +03:00
SergeySlice
84c8e614e3 avoid null pointer
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-11 06:21:46 +03:00
asava
cfaf51cee4 Some additions to previous commit 2020-05-10 23:31:35 +03:00
asava
e43696533e Correct load options not being taken from sub entries 2020-05-10 21:27:24 +03:00
asava
296db9ebc5 Correct Linux Kernel scanning; Some more gui tweaks 2020-05-10 02:40:55 +03:00
SergeySlice
d5305c8cc8 exclude Kernel support CPU patch as redundand and not correct
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 11:55:33 +03:00
SergeySlice
dc4d0062a8 Kernel pointer will be member of loader class
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 10:56:30 +03:00
SergeySlice
5cb5243b79 always patch PM if XCPM
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 08:22:31 +03:00
asava
533136a0ad Correct some more GUI glitches 2020-05-09 01:34:15 +03:00
SergeySlice
562e571d32 take into account longer DSDT
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-06 09:21:30 +03:00
SergeySlice
1a3081dc27 new lapic patch, simplify searchProc
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-05 22:15:59 +03:00
asava
cf41491adc Menu width fixes, proportional font fixes, other menu tweaks 2020-05-05 02:52:00 +03:00
asava
702e0d49c2 Correct hang in about and help menus after theme change 2020-05-04 21:03:25 +03:00
asava
4d89b2d976 Correct wrong text size length with proportional font, and hang with SVG in some cases 2020-05-04 19:05:29 +03:00
Jief L
ce9538bb4e strcpy bug. DecodeOptions bug. 2020-05-03 23:53:50 +03:00
SergeySlice
70fea56ee4 change a way to find symbols in kexts
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-03 20:16:50 +03:00
asava
06f1f9301a Correct LoadOptions lost after pressing SpaceBar, and arch= (older systems) not being used 2020-05-02 22:57:41 +03:00
SergeySlice
355e99d6bf new way kext allowing patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-02 06:38:38 +03:00
SergeySlice
314652c49c resolve conflicts
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-01 19:30:22 +03:00
SergeySlice
6b33696c93 kext and kernel patches will be part of LOADER_ENTRY class
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-01 19:26:28 +03:00
Jief L
0c88de9390 Rename _XS to _XS8 2020-04-30 09:22:26 +03:00
Jief L
e170b16516 Rename XString to XString8. 2020-04-30 09:03:56 +03:00
jief
2135d2706b Remove incorrect space in ArgOptional. Clean few comments. 2020-04-28 09:54:43 +03:00
asava
aba4619c5e Remove scrollbar flicker & restrict menu text length 2020-04-27 22:49:38 +03:00
asava
22eeceb841 Use ResultString 2020-04-27 16:26:58 +03:00
asava
f78d6dbb7c Update TitleLen 2020-04-27 15:59:37 +03:00
Jief L
de2bb5f950 Refactor some Path to XStringW. 2020-04-27 12:50:49 +03:00
asava
4694008abe Correct previous commit 2020-04-27 11:55:14 +03:00
asava
1f991d348e Move MaxTextLen initialization to menu init 2020-04-27 11:39:21 +03:00
asava
84f7f87a53 Simplify calculations 2020-04-27 03:57:19 +03:00
asava
ae75e6489b Correct some GUI glitches 2020-04-27 03:46:51 +03:00
asava
e210ec2d04 Correct disappearing icon in submenus 2020-04-26 23:08:58 +03:00
Jief L
af28b47c72 Refactor BootOptions as XStringArray. 2020-04-26 16:07:30 +03:00
jief
7d43ca70d5 XStringArray re-implementation with template. 2020-04-26 13:12:05 +03:00
jief
4a9a99873d move WaitForInputEventPoll. 2020-04-26 12:36:21 +03:00
asava
773bb86427 Wrong MaxTextLen committed 2020-04-26 04:36:18 +03:00
asava
0847234281 Enhance Linux Scan and some other GUI corrections 2020-04-26 02:54:13 +03:00
Jief L
ad33a3b16a Replace XToolsCommon by XToolsConf in include. Improved panic(). 2020-04-24 09:36:29 +03:00
Jief L
73411bbc47 Cleaning in XString. Some method renaming. 2020-04-23 23:43:35 +03:00
Jief L
fd0f4589ec New implementation of XString. 2020-04-23 16:20:48 +03:00
asava
1ec5726f01 Move AnimeRun, LastDraw, CurrentFrame to FILM 2020-04-23 11:42:18 +03:00
asava
f8c1f08c13 Correct case where anime calculation could become negative 2020-04-23 04:32:23 +03:00
SergeySlice
d91781b79e repaired NonSelectedGray and inline badges
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-21 18:57:47 +03:00
asava
2ec6b3f905 Correct background on resolution change & eliminate redundant calls 2020-04-20 03:55:35 +03:00
SergeySlice
8993c7a7ec Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-19 21:48:17 +03:00
SergeySlice
8dc45f00d0 exclude other processors definitions
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-19 21:48:00 +03:00
asava
44207c9718 Initialize static variables when menu runs so that values from previos sessions won't be used 2020-04-19 19:16:40 +03:00
SergeySlice
0ff64f4248 exclude extra debug messages
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-19 14:28:14 +03:00
SergeySlice
2a731df6e4 fix vector theme appearance
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-19 14:23:23 +03:00
asava
fad765eb01 Attempt to fix BootCampStyle indicator 2020-04-18 17:46:30 +03:00
asava
ee8da0a71c Correct artefacts when scrolling 2020-04-16 15:40:34 +03:00
Sergey Isakov
79af8de0a0 separated EG_IMAGE to exclude them
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-16 14:42:14 +03:00
jief
81c0b45e45 Fix and clean Version.h include. 2020-04-16 14:19:37 +03:00
jief
9dc66aee39 Remove macro from Platform.h. 2020-04-16 12:09:22 +03:00
jief
e429268dfc Remove functions prototypes from Plateform.h 2020-04-16 10:15:26 +03:00
Sergey Isakov
36b908900a cleanup anime for xcinema
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-16 07:45:53 +03:00
jief
71562cf66a Swicth Cursor to UINTN to conform renderSVGtext. 2020-04-16 00:04:33 +03:00
Sergey Isakov
631a024373 refactoring anime into xcinema
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-15 19:30:39 +03:00