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
jief
9dc66aee39
Remove macro from Platform.h.
2020-04-16 12:09:22 +03:00
jief
89933f64ac
Remove struct definitions from Plateform.h
2020-04-16 10:48:13 +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
ff91406362
Update unicode_conversions
2020-04-15 20:28:59 +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
Sergey Isakov
0733b704ff
avoid memory leak at sound play
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-15 12:13:51 +03:00
asava
1f85d633c4
Correct refactoring of CustomBoot
2020-04-14 23:33:36 +03:00
jief
e471eb744a
Make Id protected in XCinema
2020-04-14 22:37:44 +03:00
Sergey Isakov
c32de7f2d2
draft xcinema to be replacement for GUI_ANIME
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-14 19:52:13 +03:00
Sergey Isakov
95976da8c6
string compatible should not have leading zeroes
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-14 07:34:10 +03:00
asava
f81078e79b
Correct Linux scan
2020-04-13 18:43:32 +03:00
asava
31079aea32
Add back full paths possibility to custom entries
2020-04-13 14:13:37 +03:00
jief
3ed1a89bcc
Swicth %X to %x in snprintf and get rid of LowCase.
2020-04-13 10:25:42 +03:00
asava
5eadae5eb8
More corrections to Custom Entries
2020-04-13 01:28:01 +03:00
Sergey Isakov
de181aecfb
change background of embedded theme
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-11 23:08:03 +03:00
Sergey Isakov
3433041756
use char8 for KPATIConnectorsController
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-11 18:36:40 +03:00
Sergey Isakov
9440b56a61
refactor custom boot
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-11 15:34:59 +03:00
Jief L
84f956714f
Some prototypes cleaning.
2020-04-11 09:21:06 +03:00
Sherlocks
400640b902
Added modern Intel CPUID
2020-04-11 14:38:09 +09:00
Sherlocks
edd3864b10
Added MBA91, updated firmware versions for T2 models by Andrey1970
2020-04-11 13:40:17 +09:00
Sergey Isakov
6039faefa2
improve oem string, refactor font name
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 20:00:37 +03:00
Sergey Isakov
3ef56cd78d
improve smbios information
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 17:35:24 +03:00
Jief L
325b576b1d
End of AsciiSPrintf replacement.
2020-04-10 16:52:49 +03:00
Jief L
521485c852
Adjust format.
2020-04-10 16:32:34 +03:00
Jief L
109cbc1cda
Some more checked conversion to snprintf.
2020-04-10 16:27:04 +03:00
Jief L
79c36b193d
AsciiSPrint format error in ATIConnectorsPatchInit. Switch to snprintf.
2020-04-10 16:17:50 +03:00
Jief L
6d54a4c0b6
Get rid of AsciiPrintf used with %d
2020-04-10 15:35:25 +03:00
Jief L
c8f3a40532
Get rid of AsciiPrintf use for char.
2020-04-10 15:26:35 +03:00
Jief L
9c100f2a3f
Get rid of AsciiPrintf use for string (CHAR8 and CHAR16)
2020-04-10 15:17:23 +03:00
Sergey Isakov
84a320ba5d
big cleanup to XTHEME
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 13:04:21 +03:00
Sergey Isakov
d74b431b6f
repaired system info
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 10:15:36 +03:00
Sergey Isakov
dc52af47f0
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-04-09 20:01:30 +03:00
Sergey Isakov
c995284c06
some pointer copy must be replaced by value copy
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-09 20:01:23 +03:00
Jief L
91b0145ab9
Disable automatic conversion of XString to wchar_t*.
2020-04-09 19:32:46 +03:00
Jief L
751fcfb8df
Git rid of unused XStringWP.
2020-04-09 18:53:21 +03:00
Sergey Isakov
97d1d23eb0
repaired font handling
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-09 16:04:12 +03:00
Jief L
879b0c2961
DontStopAtPanic helper, XUINTN remove, PRIuPTR and few warnings.
2020-04-08 13:49:00 +03:00
Sergey Isakov
4be33ca401
correct codepage for help screen
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-08 12:45:36 +03:00
Sergey Isakov
75427f2d83
refactoring text handling
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-07 22:48:36 +03:00
Sergey Isakov
7b173d7f08
do not recalculate background and draw it twice
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-05 17:27:42 +03:00
Jief L
b8bb76d51e
Refactor LoadOptions as XString.
2020-04-05 15:25:39 +03:00
Jief L
1c1db57638
Get rid of UnicodeSPrint.
2020-04-04 16:50:13 +03:00
Jief L
3cac160b6d
Put functions back in menu.cpp
2020-04-04 15:27:02 +03:00
Sergey Isakov
f61d46411b
x,y have to be signed int
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-04 05:59:17 +03:00
Sergey Isakov
8b5ec83c6a
refactoring menu entries
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-03 23:00:42 +03:00
Jief L
418b4f4cc3
Get SelectionImage to work.
2020-04-02 22:27:10 +03:00
Sergey Isakov
ddccb001e6
repair scroll position
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-02 17:03:58 +03:00
Sergey Isakov
5b84f64f61
pixel operations
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-01 20:07:57 +03:00
Sergey Isakov
f70c4e14d2
refactoring DrawText and Pixels
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-01 15:57:32 +03:00
Jief L
fbfc206a41
Renamed SPrintf to SWPrintf for XStringW
2020-03-31 19:10:30 +03:00
Jief L
6f64681239
Fix includes and refit.inf
2020-03-31 19:05:34 +03:00
Jief L
0b19538bee
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-31 18:59:42 +03:00
Jief L
23b45d569a
Get rid of XStringWP + few cleanings.
2020-03-31 18:59:35 +03:00
Sergey Isakov
a37196ab8c
repair background draw
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-31 17:25:07 +03:00
Sergey Isakov
0c62865b22
eliminate mouse edge effect
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-31 15:35:04 +03:00
asava
6c816f8595
add cast to previous commit
2020-03-31 03:16:18 +03:00
asava
e149dafe4d
Correct mistake with nvidia inject name
2020-03-31 03:09:53 +03:00
Sherlocks
6d19576520
Update KernelXCPM for 10.15.4
2020-03-30 23:11:18 +09:00
Sergey Isakov
f7254f53e6
load icons as in xtheme
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-30 11:34:16 +03:00
Sergey Isakov
941244d894
merge conflict
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-29 19:19:08 +03:00
Sergey Isakov
4a541a5469
include parseXthem to xtheme class
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-29 19:17:27 +03:00
Jief L
e734530b9b
Get rid of AsciiSPrint.
2020-03-29 16:44:08 +03:00
Jief L
5006d33c5d
Get rid of AsciiPrint.
2020-03-29 15:47:04 +03:00
Jief L
651f7a02c6
Get rid of Print() calls.
2020-03-28 18:14:18 +03:00
jief
020fe5a2f0
Do not use Print() anymore.
2020-03-28 09:36:07 +03:00
SergeySlice
ace46a5646
correct more variables
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-27 22:47:06 +03:00
SergeySlice
20124ba433
reduce timeout after OS start caused by debug.log with dsdt patching
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-27 20:35:39 +03:00
Sergey Isakov
8f2c4b5efd
separate data in global config
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-27 19:50:17 +03:00
Sergey Isakov
a65aa874a2
move types declarations
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-26 20:00:53 +03:00
Sergey Isakov
9b85ac2a5b
merge
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-26 17:25:49 +03:00
Sergey Isakov
1abcd07489
apply theme settings to xtheme
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-26 17:24:20 +03:00
Jief L
ee6124bd10
Bye bye PoolPrintFloat.
2020-03-26 15:59:20 +03:00
Sergey Isakov
a1d4a74efb
update GUI settings for xtheme
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-26 11:18:28 +03:00
Jief L
e8fd94bb8f
Switch to new printf format for DebugLog.
2020-03-25 21:32:44 +03:00
Sherlocks
83da928616
Correct common 0xE2 prologue patterns for KernelPM patch info
2020-03-24 22:23:05 +09:00
Sherlocks
26166b6aec
Change DBG to DBG_RT for essential kernel patch to trace patch easily
2020-03-24 21:55:35 +09:00
Sherlocks
af8a84f478
Add missed return
2020-03-23 23:11:27 +09:00
Sherlocks
425a71629c
Fix previous commit that KernelPM patch
2020-03-23 22:49:06 +09:00
Sherlocks
d62ea4f7f6
Fix KernelPM Patch for 10.14.6 beta 6
...
Add debug line for trace
2020-03-23 22:31:04 +09:00
asava
18a38138e4
Fix hang before Clover GUI caused by the use of freepool to free alligned pages
2020-03-21 18:02:01 +02:00
Jief L
14cdfe29c7
MemLogf and MemLogfVA. Not used yet in Clover.
2020-03-21 16:12:26 +03:00
Sergey Isakov
23ba4b218e
reduce dbg messages
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-20 05:54:20 +03:00
Sergey Isakov
3c9332b833
fix fonts release
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-20 05:47:58 +03:00
asava
2f01155383
Correct mask handling mixup between KextPatches/KernelPatches/BootPatches
2020-03-19 22:40:27 +02:00
Sherlocks
df00594fce
update platformdata
...
from 10.15.4 beta 5
2020-03-18 20:47:17 +09:00
Sergey Isakov
2d82d317e3
init selections and buttons
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-18 12:07:34 +03:00
Sergey Isakov
0aefccfc82
dont use xtheme for this moment
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-16 15:29:27 +03:00
Sergey Isakov
02db12d8c3
fill theme by embedded images
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-16 14:15:25 +03:00
Sergey Isakov
a239da8d61
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-16 10:19:39 +03:00
Sergey Isakov
4618b74d1a
repair kernel patching
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-16 07:27:02 +03:00
SergeySlice
b6d3ddb28f
optimize debug.log
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-15 16:42:45 +03:00
SergeySlice
9ab5a63908
support for VolumeIcon.icns
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-15 14:06:04 +03:00
jief
59059ce210
uintptr_t in strlen.cpp
2020-03-13 19:04:20 +03:00
Jief L
62a379d0a0
Xcode warnings.
2020-03-13 18:58:13 +03:00
Jief L
175f047e15
Typo.
2020-03-13 17:40:06 +03:00
Jief L
09bf1901e4
VS compilation.
2020-03-13 17:37:37 +03:00
Sergey Isakov
ac829bd589
merge conflicts
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-13 16:38:52 +03:00
Sergey Isakov
d79dcb5f9e
advance xtheme invention
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-13 16:34:36 +03:00
jief
0484955f0b
New platform Posix. Replace strlen, strcmp implementation.
2020-03-13 16:11:58 +03:00
Jief L
931ac041c6
Replace __typeof__ by __typeof_am__ for VS
2020-03-11 18:44:11 +03:00
jief
8931f35eb8
Forgot again the __ after __typeof
2020-03-11 18:36:08 +03:00
jief
19cfe2831a
Warning removal. New class XUINTN (not yet used).
2020-03-11 17:23:58 +03:00
jief
e6509221b4
Test always true.
2020-03-11 16:24:29 +03:00
jief
51711c1004
Disable assign & ctor with char* and wchar_t* parameter.
2020-03-10 19:50:55 +03:00
Sergey Isakov
48c89ce4d8
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-10 16:00:09 +03:00
Sergey Isakov
d8dfe555d2
separate fonts in fontChain
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 16:00:02 +03:00
jief
7256a868e5
REFIT_ABSTRACT_MENU_ENTRY.Title to XStringW
2020-03-10 14:51:04 +03:00
jief
41c49267a5
Clean the menu item hierarchy.
2020-03-10 12:45:17 +03:00
Sergey Isakov
a3dc82d30b
dont free memory already free
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 12:25:09 +03:00
Sherlocks
26b6f6079f
correct previous missed commit
2020-03-07 22:38:02 +09:00
Sherlocks
3d0d641caa
Fix typo and Black screen when waking from sleep on HD5500
...
checked it on Samsung nt910s5k
2020-03-07 22:35:01 +09:00
jief
564a3ca06c
Make XPointer a shared instance. Fixed some unallocated memory with
...
XArray.
2020-03-06 10:55:52 +03:00
jief
bc45ded349
Comment out unused code.
2020-03-06 03:31:19 +03:00
vectorsigma72
d77778e62a
No more Clover version
2020-03-05 22:28:24 +01:00
Sergey Isakov
b5dc9e1b7f
testing mouse
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-05 21:23:21 +03:00
Sergey Isakov
797b5638d6
exclude old pointer
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-05 18:58:08 +03:00
Sergey Isakov
b735290ad2
some cleanup
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-05 16:59:17 +03:00
jief
f8bf956a39
Check pointer before using it.
2020-03-05 09:42:50 +03:00
jief
c6a59f85f9
Caught few access to address 0
2020-03-05 00:54:59 +03:00
jief
6417348844
Fix bad object allocation, remove some REFIT_MENU_SCREEN ctors.
2020-03-04 18:27:41 +03:00
jief
4bec5cab80
Use new instead of Allocate for objects.
2020-03-04 09:21:43 +03:00
Sergey Isakov
c1f6e8137a
refactoring menu entries
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 23:44:07 +03:00
Sergey Isakov
b3e48e0547
merge conflicts
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 17:21:48 +03:00
Sergey Isakov
8ff35c6295
improved XPoitner and XImage, menu advance
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 17:17:39 +03:00
jief
99c79d0f94
Using pointer-to-member.
2020-03-03 16:52:23 +03:00
Sergey Isakov
3b49178480
merge conflicts
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-02 22:02:28 +03:00
Sergey Isakov
c0df0f8787
some update for using pointer and scroll
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-02 22:00:01 +03:00
jief
5b1c65486c
XPointer revisited.
2020-03-02 18:43:54 +03:00
Sergey Isakov
dcdd8cc091
avoid memset generation
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-02 16:46:30 +03:00
Sergey Isakov
1acd6a43b4
first implementation of XPointer class
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-02 15:00:24 +03:00
vectorsigma72
e8a29b1a29
Clover.app v1.16 with clover-genconfig ability
...
The internal parser is retro compatible with old Clover revisions since r3250. This is possible because a check for the existence of any variable inside SETTING_DATA structure is performed before the call. Variables are all accessed using the label property of the Mirror class, so as a string.
2020-03-01 15:16:28 +01:00
Sergey Isakov
a260cbad92
some remarks
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-01 11:46:12 +03:00
jief
2de3b84957
Moved DriveImage and BadgeImage down the hierarchy because only loader
...
use them.
2020-02-29 15:56:36 +03:00
jief
dec25e954e
Start refactoring includes. Make gen-config compile.
2020-02-29 10:30:21 +03:00
Sergey Isakov
28fd5f1353
operator new works with DevProps
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-29 08:19:23 +03:00
jief
e05286e4a4
Big big refactoring of REFIT_MENU structs. They are now objects.
...
There is some cleaning to do
in the hierarchy of REFIT_ABSTRACT_MENU_ENTRY.
2020-02-28 23:28:33 +03:00
Sergey Isakov
5709ec8c2c
quirky but working
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 22:41:03 +03:00
Sergey Isakov
bdc977d14f
make genconfig happy
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 21:12:57 +03:00
Sergey Isakov
a2534ee4f8
more strict type conversion in cpp
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 15:09:32 +03:00
jief
bddbdbff13
rEFIt_UEFI/Platform/StateGenerator.cpp
2020-02-28 13:21:33 +03:00
Sergey Isakov
3fdc507aff
fix bootsector compilation in VS
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 11:14:12 +03:00
asava
2479b2a499
Allocate DEV_PROPERTY nodes with AllocateZeroPool
2020-02-27 21:54:26 +02:00
jief
c77802d200
Refactor of "Volumes" global var as an XObjArray.
2020-02-27 17:34:29 +03:00
Sergey Isakov
448ee95681
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-02-27 15:06:27 +03:00
Sergey Isakov
cf70d0a267
cant use enum in packed structure
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 15:06:01 +03:00
jief
08fbee9846
Avoid using explicit type.
2020-02-27 14:50:29 +03:00
Sergey Isakov
297b3601bf
current changes to ximage
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 22:44:16 +03:00
asava
78e3bece9f
Correct mistake in devtree memory allocation
2020-02-26 21:32:50 +02:00
Sergey Isakov
160b9231d7
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-02-23 08:53:53 +03:00
Sergey Isakov
c35f9aa052
fix signess, optimize codes
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-23 08:53:21 +03:00
Sherlocks
e4c5d4e8ff
Update GS layout for LAPIC patch on 10.15.4 by vit9696
2020-02-23 12:33:39 +09:00
Jief L
8199d9b75c
Remove unecessary cast. Some cleanups.
2020-02-22 00:22:30 +03:00
Sergey Isakov
9378884f6e
fix genconfig compilation
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-21 19:28:24 +03:00
Jief L
82aaf09e74
VC2017 compilation
2020-02-21 12:44:15 +03:00
Jief L
32332dd157
Fix to be able to get typeof of an array member.
2020-02-21 07:51:48 +03:00
Sergey Isakov
eb26300fd6
some more fixes
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-21 06:54:01 +03:00
Sergey Isakov
127b035930
fix GCC53 compilation
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 19:24:30 +03:00
Sergey Isakov
5b02b51273
more type casting fixes
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 17:28:24 +03:00
Sergey Isakov
f8098a8336
some adoptation to VS2017
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 15:53:27 +03:00
Sergey Isakov
eb938ce184
improved cbuild.bat
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 11:57:10 +03:00
Sergey Isakov
20237d492a
cleanup
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-18 21:49:54 +03:00
jief
41bcb0f618
Wrong type for downward loop.
2020-02-18 10:17:21 +03:00
jief
15c1c82a6d
Fix build of clover-genconfig
2020-02-18 08:58:56 +03:00
jief
7fa464fde0
Final switch to C++ compiler
2020-02-17 23:41:09 +03:00
Sergey Isakov
60b6eb5c33
use RT instead of RS
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-16 15:00:20 +03:00
Sergey Isakov
d836611308
cpp will be only compilation mode
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-16 13:53:12 +03:00
Sergey Isakov
d2ac4d7de9
merge master and c++_globals
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-15 17:29:59 +03:00
Sergey Isakov
82347b1e8d
use own implementation for CopyMem and SetMem instead of BIOS
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-14 07:15:10 +03:00
Sergey
27de9a9c9a
Merge pull request #75 from Florin9doi/issue_74
...
Repair network installer; Fixes #74
2020-01-22 15:22:21 +03:00
Sherlocks
d28f18009a
fix duplicate case value 'MacPro71'
2020-01-18 21:19:07 +09:00
Sherlocks
d5f6f30aaf
Update Platformdata.c
...
from macOS Catalina 10.15.3 beta 2
2020-01-18 21:01:23 +09:00
Florin9doi
8d011472bd
Repair network installer; Fixes #74
2020-01-16 19:07:27 +02:00
SergeySlice
3f3b85da08
apply dsdt fix changes to master
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2020-01-06 20:46:31 +03:00
SergeySlice
2e4cbf3268
define CometLake
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2020-01-05 09:29:06 +03:00
Sherlocks
8a5065daf0
correct PlatformFeature of MacPro7,1
2020-01-05 01:58:32 +09:00
Sherlocks
28eeef72fd
Update platformdata
...
from 10.15.3 beta1
2020-01-02 23:24:25 +09:00
SergeySlice
1a0fa4b577
fix unused variables caused by previous commit
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2020-01-02 09:34:06 +03:00
SergeySlice
8e5bfb6a61
manual set _UID for PNLS device
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2020-01-02 09:29:08 +03:00
SergeySlice
e168d7c74f
resolve conflicts
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-31 20:46:52 +03:00
SergeySlice
9345c5c5ee
text formatting
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-31 20:44:47 +03:00
Sergey Isakov
36e7d8340b
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2019-12-31 12:13:32 +03:00
Sergey Isakov
34b8946dc1
comments
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-31 12:13:16 +03:00
Florin9doi
9c2995d211
Revert MKextV1 patcher
2019-12-28 12:30:36 +02:00
Florin9doi
d74fc41df0
Clean-up MKext patcher a little
2019-12-27 19:42:56 +02:00
jief
9d99cb049d
Fix pointer of type 'void *' used in arithmetic (cast priority)
2019-12-27 18:21:10 +01:00
jief
a79acfcd24
Fix void* cast and enum cast (prepa C++)
2019-12-27 18:09:07 +01:00
Sergey
6f04c95981
Merge pull request #65 from Florin9doi/p4_mkextV1_patcher
...
MKextV1 (Tiger🐯 /Leopard🐆 ) patcher
2019-12-27 19:27:47 +03:00
jief
2d4a9a77c5
Fix CONST warnings (prepa C++)
2019-12-27 17:12:28 +01:00
jief
5e650e92cf
Add cast to return value of GetNvramVariable (prepa C++)
2019-12-27 16:10:42 +01:00
jief
9b01a6fe58
Add cast to return value of memory allocation functions (prepa c++)
2019-12-27 15:21:40 +01:00
jief
6dc3c956d6
Break declaration line (prepa c++)
2019-12-27 15:21:39 +01:00
Florin9doi
7b6f0afd5d
MKextV1 (Tiger/Leopard) patcher
...
Kext injection was not possible on Tiger/Leopard:
-KLDBootstrap::readBooterExtensions() doesn't exist to be patched
-Tiger gray discs were model specific and didn't had all the kexts in S/L/E to boot without cache
This patch append a kext file to the MKextV1 structure which is
loaded in memory by boot.efi, then repair the structure.
The existing kext isn't removed, so the injected kext needs to be a
higher version.
2019-12-27 15:24:30 +02:00
Sergey Isakov
89c8fd2a69
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2019-12-27 11:14:53 +03:00
Sergey Isakov
ba2c47ce54
exclude one more case of DSDT fix false
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-27 11:14:49 +03:00
Florin9doi
e90fa3274b
Try to fix the issues with 32GB modules; 3rd try
2019-12-24 00:03:26 +02:00
Sergey
d058be8f04
Merge pull request #62 from Florin9doi/p11_kexts_path
...
Fix kext injection for minor versions
2019-12-23 15:48:50 +03:00
Florin9doi
447bf80f73
Fix kext injection for minor versions
...
eg: oemPath/kexts/10.5.6.0 to oemPath/kexts/10.5.6
2019-12-23 13:38:02 +02:00
Florin9doi
da3f447b2e
Kernel patcher and FakeCPUID for Tiger and Leopard
2019-12-22 13:46:48 +02:00
Florin9doi
bd8d5466b0
Delete user memory (gRam) when a new config is selected
...
Allow more then 4 memory channels: MacPro7,1 has 6 channels, but 8
channels systems exists too
2019-12-21 12:34:38 +02:00
jief
2edf37ec84
Switch from CHAR8 to UINT8 to avoid signedness problems.
2019-12-20 16:33:11 +01:00
jief
926ecc8d9b
Update 2 typedef struct to make them compatible C and C++
2019-12-20 15:55:39 +01:00
Sergey Isakov
553c3c338d
change string to char
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-20 15:35:29 +03:00
SergeySlice
43e6e3b3bb
dont produce _SUN for graphics
...
don attach CsmVideo to Intel
exclude EFIVersion from table 11
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-20 08:49:28 +03:00
SergeySlice
070db047fb
reduce stack usage by allocating pool
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-19 19:51:21 +03:00
Sergey Isakov
f3c01aa9be
check more Scope false search
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-19 14:14:54 +03:00
jief666
83205886bf
Merge pull request #59 from jief666/KextLoadingVersionMode
...
Put back KEXT_INJECT_DEBUG to 0
2019-12-19 09:49:16 +01:00
jief
24054e93b2
Put back KEXT_INJECT_DEBUG to 0
...
Restore Eric's modification to check OSBundleRequired
2019-12-19 09:48:27 +01:00
SergeySlice
49380a97ec
adopt to new DeviceTree declarstions
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-18 21:41:07 +03:00
SergeySlice
56ec54a919
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2019-12-18 20:36:20 +03:00
SergeySlice
0979cd808a
use unified DeviceTreeLib
...
Signed-off-by: Сергей Исаков <sergey@Sergejs-iMac.local>
2019-12-18 20:34:26 +03:00
jief666
abc511efaa
Merge pull request #55 from jief666/KextLoadingVersionMode
...
Rename '10.x' folder
2019-12-17 14:18:36 +01:00
Sherlocks
b196220366
Update platformdata
...
from official 10.15.2
2019-12-14 17:17:35 +09:00
jief
7ef7e4055d
Remove unused var
...
Rename '10.x' folder just '10' to be more consistent.
2019-12-13 12:56:57 +01:00
Sergey
9fccb22efa
Merge pull request #52 from jief666/KextLoadingVersionMode
...
Kext loading new structure
2019-12-13 14:28:17 +03:00
Sherlocks
489f4c5a44
Added NoRomInfo key
...
to disable rom info in hardware overview in system profiler
2019-12-12 23:51:55 +09:00
jief
d1abb9167c
Preserve backward compatibility
2019-12-11 14:22:21 +01:00
Sergey Isakov
1615a158ec
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2019-12-11 16:14:23 +03:00
Sergey Isakov
3b4ce81052
fix device path length
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-11 16:13:31 +03:00
jief
ffb691c078
Add a 10.x folder
2019-12-11 13:52:26 +01:00
jief
0946f0d1e8
Load kext depending on version and boot mode.
2019-12-09 11:22:15 +01:00
jief
537ed29157
Missing EFIAPI
2019-12-08 15:52:00 +01:00
Sergey Isakov
90148880ac
prevent wrong patching Field
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-06 12:21:09 +03:00
SergeySlice
85906d7816
dont check SB twice, advance index in cycle
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2019-12-05 08:15:19 +03:00
SergeySlice
1f01128be7
fix a bug with Fix DSDT occured with scope devices
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2019-12-04 20:23:10 +03:00
Sergey Isakov
6caf35b406
create library for HDA operations
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-11-27 14:16:02 +03:00
Sergey Isakov
9b79515463
some hardware comments
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-11-26 17:25:00 +03:00
Sergey
4afea5b83f
Merge pull request #41 from Florin9doi/p6
...
Share a single list of audio devices between Clover and audioDxe
2019-11-26 16:59:07 +03:00
Florin9doi
6bb4afb2f0
Use ExtendedSize when injecting memory modules from config
2019-11-23 17:33:30 +02:00
Florin9doi
fce400bc14
Share a single list of audio devices between Clover and audioDxe
2019-11-23 16:17:31 +02:00