Commit Graph

428 Commits

Author SHA1 Message Date
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
84ebcbb439 NoDefaultProperties will be true by default, AddProperties to be deprecated
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-11 09:30:45 +03:00
SergeySlice
bcaecf0c57 advance xcpm patch by vector sigma
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-10 21:21:51 +03:00
Jief L
a2b23b391f Add XStringArray::remove and removeIC tests. Create var for "quiet" and
"splash".
2020-05-10 12:41:34 +03:00
Jief L
1279ce374d Little improvement + comment related to strguid. 2020-05-10 10:05:34 +03:00
Jief L
f7b99e3005 Fix strerror and strguid. 2020-05-10 09:49:46 +03:00
SergeySlice
0b7eed38f1 no more drop DSM method, it is not universal
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 12:15:03 +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
7e2dcf5583 make XCPM patch more symbolic
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 11:36:20 +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
c36b0438b3 remake some patches to symbolic
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 08:51:12 +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
SergeySlice
4ed54a19cd advance KernelPM for Catalina
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 07:59:38 +03:00
SergeySlice
1c637c0515 use const arrays
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-08 10:11:47 +03:00
SergeySlice
9b673232f7 use new method for RTC patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-07 21:13:08 +03:00
SergeySlice
8f5a4616b2 dont hang on AICPUPM patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-06 16:35:25 +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
SergeySlice
6a4d892667 correct KernelPm patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-05 15:12:01 +03:00
SergeySlice
33a9cc85ab print as hex, not bytes
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-05 10:38:58 +03:00
SergeySlice
bdcc953ecd wrong print format
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-05 10:19:15 +03:00
SergeySlice
f0c8a7c96f testing KernelPm patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-05 09:09:48 +03:00
asava
cf41491adc Menu width fixes, proportional font fixes, other menu tweaks 2020-05-05 02:52:00 +03:00
SergeySlice
85aee74658 remake kernelPm patch, not enabled yet
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-04 22:31:12 +03:00
Jief L
ce9538bb4e strcpy bug. DecodeOptions bug. 2020-05-03 23:53:50 +03:00
SergeySlice
9166ed8c9c correct format for debug output
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-03 20:34:46 +03:00
SergeySlice
486f6473ff fix conflicts
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-03 20:20:34 +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
Sergey Isakov
2502b0d825 temporary disable new RTC patch
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-05-03 14:16:44 +03:00
asava
d10cadac4b Correct typo in previous commit 2020-05-03 10:21:50 +03:00
asava
ccfbc5b558 Correct some mistakes with kernel/kext patcher 2020-05-03 10:03:06 +03:00
SergeySlice
d7d3c960a9 simplify SIP patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-03 07:10:02 +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
5ed90999d2 simplify AppleRTC patch by RodionS
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-02 19:00:31 +03:00
SergeySlice
abc41b5b64 one more case for sip patch take into account
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-02 16:30:33 +03:00
SergeySlice
e9d9b22f37 advance kernel patch using proc names
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-02 13:12:53 +03:00
SergeySlice
2eb070776b wromg mask
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-02 08:03:29 +03:00
SergeySlice
b673288e5d improve catalina sip patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-02 07:53:18 +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
asava
64de6d0fef Correct some problems when changing config files 2020-05-01 03:14:11 +03:00
asava
1ec91d72cd A few corrections needed for Linux booting in some cases 2020-04-30 21:17:54 +03:00
Jief L
e170b16516 Rename XString to XString8. 2020-04-30 09:03:56 +03:00
Jief L
82b679bcbd Avoid memory copy at XString initialisation. 2020-04-30 08:17:51 +03:00
Jief L
d27afce852 Comment out unused global var. 2020-04-29 23:32:22 +03:00
SergeySlice
804bca204a disable new patching until verified
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-29 23:09:59 +03:00
Sergey Isakov
93d6fb6fdf restrict search
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-29 18:13:35 +03:00
Sergey Isakov
6b610f5b24 correct commit c4357fd
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-29 18:07:10 +03:00
SergeySlice
c4357fd984 simplify kext allowing patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-29 11:06:44 +03:00
SergeySlice
3b75317d14 advance kernel patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-29 07:58:43 +03:00
SergeySlice
0ecb066a4b get preloaded linux icons for the case of svg theme
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-28 23:42:53 +03:00
jief
e26fe8ba0c Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-28 22:31:05 +03:00
jief
2ff93a346a BootOption.VariableSize was left uninitialized. 2020-04-28 15:19:28 +03:00
SergeySlice
d7c710f9e3 fix some addresses issue, format text
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-28 13:49:24 +03:00
Sergey Isakov
279fbaffa8 use partial string for procedure name
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-28 10:51:58 +03:00
vectorsigma72
e5983bdf6a Punctuations 2020-04-27 17:39:35 +02:00
SergeySlice
216606d566 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-27 18:17:20 +03:00
SergeySlice
a621438d7c symbolic kexts and kernel patcher
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-27 18:16:43 +03:00
vectorsigma72
dca2aafe40 New _xcpm_bootstrap patch location fo 10.15.4 + 2020-04-27 16:05:41 +02:00
Jief L
a188e19f02 Remove unneeded wc_str(). Correct comparison order. 2020-04-27 15:13:09 +03:00
Jief L
de2bb5f950 Refactor some Path to XStringW. 2020-04-27 12:50:49 +03:00
Jief L
af28b47c72 Refactor BootOptions as XStringArray. 2020-04-26 16:07:30 +03:00
jief
3475414580 Move REFIT_CONFIG in Settings. 2020-04-26 12:39:41 +03:00
asava
b609bfef1c Typo 2020-04-26 12:12:11 +03:00
SergeySlice
5eef6624f1 avoid infinite loop while kext patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-26 08:32:48 +03:00
SergeySlice
db50b1e4b2 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-25 19:18:35 +03:00
SergeySlice
615b710944 a feature to double search pattern in kernel/kext/boot
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-25 19:18:18 +03:00
Jief L
a71fe28d34 Fix VS compilation. 2020-04-25 12:59:07 +03:00
Jief L
d075078a48 Fix warning. 2020-04-24 18:26:27 +03:00
Jief L
fc0b83c34b Fix warnings. 2020-04-24 18:15:05 +03:00
Jief L
0dca81990b Comment unreachable code in abort.cpp 2020-04-24 13:37:50 +03:00
Jief L
5f195c9d8a More cleaning in tests. 2020-04-24 12:30:09 +03:00
Sergey Isakov
21f4bc6cb4 allow kext patches length will be less then find
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-24 12:01:28 +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
asava
775d5abc5f Correct typo 2020-04-23 19:34:01 +03:00
SergeySlice
c48bb89e2e decorations
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-23 19:05:21 +03:00
Jief L
5d38db4501 Simplify dataSized. Update refit.inf. 2020-04-23 17:02:48 +03:00
Jief L
fd0f4589ec New implementation of XString. 2020-04-23 16:20:48 +03:00
SergeySlice
574cc3261c Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-23 12:08:23 +03:00
SergeySlice
01f33f7552 detect unknown linux versions,
stylish change: remove space between func and brace

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-23 12:08:10 +03:00
jief
22ba40a466 Deactivate XStringW operator with native type (to catch things like
"Title != NULL")
2020-04-23 11:23:57 +03:00
SergeySlice
d3da5e1a21 parsing float values in plists
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-22 20:52:21 +03:00
asava
15a9eebae6 Correct ACPI DropTables parsing 2020-04-22 19:37:28 +03:00
SergeySlice
34e2e6e52e copy oem table 41
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-22 18:46:41 +03:00
SergeySlice
dc419a5f0e use length 5 for failure report (?)
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-22 07:42:10 +03:00
SergeySlice
b1024a3627 set wake-failure variable
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-21 22:51:07 +03:00
asava
d7a38dce3e Implement possibility to drop tables for any OS 2020-04-20 19:33:42 +03:00
asava
a28edd4a35 FONT_ALFA not needed also when starting embedded 2020-04-19 13:54:05 +03:00
asava
7058252f89 Don't set FONT_ALFA when using dark embedded 2020-04-19 13:26:13 +03:00
Sergey Isakov
414cfbc03e double word Clover
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-17 18:12:06 +03:00
asava
11b6542852 Restrict SemiWhite pixel for dark embedded theme & allow embedded theme properties also when starting with other themes 2020-04-17 17:50:31 +03:00
jief
4faa0aa8a2 Fix %X and %u format for char and short. 2020-04-17 16:14:24 +03:00
jief
647955dd8c Fix %x format for char and short. 2020-04-17 15:27:38 +03:00
asava
cde5fa908c Move initial theme draw to before menu run, to prevent theme appearing when menu is unused, and visual delay in system scans 2020-04-16 19:21:13 +03:00
jief
3388819d58 Fix Build info unknown. 2020-04-16 15:24:21 +03:00
jief
7cce3899b8 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-16 14:20:15 +03:00
jief
81c0b45e45 Fix and clean Version.h include. 2020-04-16 14:19:37 +03:00
asava
f86e36a7e5 Correct theme Daylight, DarkEmbedded, some other theme issues 2020-04-16 14:04:24 +03:00