Commit Graph

783 Commits

Author SHA1 Message Date
asava
e1b5f06006 Avoid hang due to double free: FileInfo is also freed by DirIter* methods 2020-05-10 14:06:04 +03:00
Jief L
6710f1daba Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-05-10 12:41:45 +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
asava
fd32cd95e7 Shorten displayed name when volume label missing 2020-05-10 10:59:33 +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
asava
296db9ebc5 Correct Linux Kernel scanning; Some more gui tweaks 2020-05-10 02:40:55 +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
asava
533136a0ad Correct some more GUI glitches 2020-05-09 01:34:15 +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
asava
b7470f8638 Typo in previous commit 2020-05-06 01:37:43 +03:00
asava
9926ff019e Refactor LinuxScan, use in Custom Entries as well 2020-05-06 01:23:59 +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
fce06f6035 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-05-04 22:31:36 +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
asava
9c056aaf6b Forgotten file in previous commit 2020-05-04 21:05:47 +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
asava
2e4aa64d3d Missing file in refit.inf 2020-05-03 22:04:46 +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
Jief L
ab90362ebf Split and ConcatAll more flexible. 2020-05-03 18:07:34 +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
Jief L
5ad1616d7f XtoolsCommon tests. 2020-05-01 00:43:44 +03:00
asava
c903faa26a Missing file in refit.inf 2020-04-30 21:50:42 +03:00
asava
1ec91d72cd A few corrections needed for Linux booting in some cases 2020-04-30 21:17:54 +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 L
82b679bcbd Avoid memory copy at XString initialisation. 2020-04-30 08:17:51 +03:00
Jief L
0c0c2d53d4 Missing L before literals (bis). 2020-04-29 23:33:45 +03:00
Jief L
db7f483cbd Missing L before literals. 2020-04-29 23:32:44 +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
asava
fbbaa8ad2f Same handling for non-standard grub paths 2020-04-29 03:33:41 +03:00
asava
d521fc1c10 Make LinuxScan first try preloaded, and if such doesn't exist, load from dir 2020-04-29 02:00:40 +03:00
asava
592b75ff01 Correct comment 2020-04-29 00:49:23 +03:00
asava
4f5133deeb Make LinuxScan use LoadOSIcon 2020-04-29 00:32:05 +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
jief
2135d2706b Remove incorrect space in ArgOptional. Clean few comments. 2020-04-28 09:54:43 +03:00
asava
67e496d6e9 Allow longer titles for menus, they are trimmed according to theme now 2020-04-28 00:30:26 +03:00
asava
aba4619c5e Remove scrollbar flicker & restrict menu text length 2020-04-27 22:49:38 +03:00
Jief L
06647fcee7 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-27 22:20:39 +03:00
Jief L
2a5571d032 loadOptionsW was destroyed before call to StartImage. 2020-04-27 22:20:16 +03:00
vectorsigma72
e5983bdf6a Punctuations 2020-04-27 17:39:35 +02:00
SergeySlice
5834434d93 addition to the commit before
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-27 18:18:36 +03: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
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
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
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
2ccc95513e Improve Split in XStringArray. 2020-04-26 14:52:10 +03:00
jief
7d43ca70d5 XStringArray re-implementation with template. 2020-04-26 13:12:05 +03:00
jief
3475414580 Move REFIT_CONFIG in Settings. 2020-04-26 12:39:41 +03:00
jief
4a9a99873d move WaitForInputEventPoll. 2020-04-26 12:36:21 +03:00
asava
b609bfef1c Typo 2020-04-26 12:12:11 +03:00