Commit Graph

46 Commits

Author SHA1 Message Date
SergeySlice
76bf6321a6 release compilation should never panic on bad user input, use DEBUG for testing
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-21 16:49:09 +03:00
SergeySlice
e1a49a85b9 repair RenameDevices
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-20 21:33:09 +03:00
jief666
8209394af9 Continuing to refactor SETTINGS_DATA. 2021-02-11 14:41:59 +03:00
jief666
7f1b87c92f Create object MacOsVersion. 2020-11-13 00:25:56 +03:00
Jief L
da8ad5c0eb MSVC compilation. 2020-11-02 16:45:11 +03:00
jief666
c458db4acd Typo 2020-10-26 18:02:54 +03:00
jief666
941ff0b3a3 Fix TgtBridge. 2020-10-07 12:15:21 +03:00
jief666
b8a188382c Make Clover path independent. 2020-10-03 20:02:31 +03:00
jief666
b592a62d6f Restore Device properties injection.
Uncomment SetCPUProperties() SetupDataForOSX()
2020-09-23 08:20:06 +03:00
SergeySlice
352c75c711 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-08-30 20:25:30 +03:00
SergeySlice
6dd178030b more informative print
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-08-30 20:25:16 +03:00
Sergey Isakov
3493015cf2 fix DSDT patching
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-08-30 11:02:55 +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
2961827dce Correct some refactoring bugs. 2020-08-17 22:40:52 +03:00
jief666
a9bfb87ec2 CmpDev in FIXAirport() could still crash is
AirportBridgeDeviceName.length() != 4.
2020-08-16 16:54:14 +03:00
jief666
11817925ae Add test in CmpDev.
Do not call CmpDev if gSettings.AirportBridgeDeviceName is empty()
2020-08-16 11:41:44 +03:00
jief666
351918515f Restore CmpAdr. length() test in CmpDev. 2020-08-16 10:54:52 +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
4555bb9e9f Remove the last PoolPrints. 2020-08-09 18:55:30 +03:00
SergeySlice
9efd195bbb one more quirk for dsdt by Exception
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-12 22:10:21 +03:00
Steve
34759a5bd5 Update FixRenameByBridge2() to let it work in SSDTs 2020-06-30 14:28:37 -04:00
Steve
3281303260 Add missing TgtBridge check in AcpiPatcher::PatchAllTables(), fix unexpected rename in OEM SSDTs when TgtBridge is set 2020-06-30 08:56:16 -04:00
SergeySlice
7af605b0b6 eliminate some warnings by gcc10
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-15 06:23:33 +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
562e571d32 take into account longer DSDT
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-06 09:21:30 +03:00
Jief L
d27afce852 Comment out unused global var. 2020-04-29 23:32:22 +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
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
4faa0aa8a2 Fix %X and %u format for char and short. 2020-04-17 16:14: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
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
jief
3ed1a89bcc Swicth %X to %x in snprintf and get rid of LowCase. 2020-04-13 10:25:42 +03:00
Jief L
325b576b1d End of AsciiSPrintf replacement. 2020-04-10 16:52:49 +03:00
Jief L
109cbc1cda Some more checked conversion to snprintf. 2020-04-10 16:27:04 +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
Jief L
e734530b9b Get rid of AsciiSPrint. 2020-03-29 16:44:08 +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
Jief L
ee6124bd10 Bye bye PoolPrintFloat. 2020-03-26 15:59:20 +03:00
Jief L
e8fd94bb8f Switch to new printf format for DebugLog. 2020-03-25 21:32:44 +03:00
jief
19cfe2831a Warning removal. New class XUINTN (not yet used). 2020-03-11 17:23:58 +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
jief
7fa464fde0 Final switch to C++ compiler 2020-02-17 23:41:09 +03:00