Commit Graph

1164 Commits

Author SHA1 Message Date
jief666
c7cc003809 Xcode project.
printf_lite. Add test guard.
2020-08-25 19:08:05 +03:00
jief666
b68cd5ec56 Use SerialPortWrite instead of DebugPrint to avoid 256 chars message
length limitation.
2020-08-25 18:43:53 +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
d8c912e420 Fix debug message "patch disabled at config" 2020-08-23 14:54:35 +03:00
jief666
b6d578fe06 int value are 4 bytes like it was before in
gSettings.ArbProperties->Child
2020-08-23 14:47:58 +03:00
jief666
3684ef21a1 wrong return value in TagStruct::getTypeAsXString8() 2020-08-23 14:19:49 +03:00
jief666
d2f3714171 Qemu portable. 2020-08-22 16:40:24 +03:00
jief666
85716960f9 Further refactor of plist. 2020-08-22 16:39:24 +03:00
jief666
2607bd4fbb Wrong cast in GetBootFromOption(). 2020-08-19 22:29:26 +03:00
jief666
8b6f19f2c6 Bug in GetDataSetting.
Bug near "GetProperty(DictPointer, "KextsToPatch")"
2020-08-19 16:56:19 +03:00
jief666
95d477c9a3 Refactor tagNext in tagSruct as a XObjArray<TagStruct> 2020-08-19 15:50:26 +03:00
jief666
3eece0918c Prevent panic in XTheme::ClearScreen() 2020-08-19 10:52:33 +03:00
jief666
2ef2b9df0d Allow empty dict 2020-08-19 10:52:07 +03:00
jief666
5b1eea4df0 PutNvramPlistToRtVars buf after plist refactoring 2020-08-18 22:30:14 +03:00
jief666
8dcf25dc6d Hardened plist. 2020-08-18 19:45:44 +03:00
jief666
2961827dce Correct some refactoring bugs. 2020-08-17 22:40:52 +03:00
Sergey Isakov
29d559aec8 copypool should copy zero ending byte
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-08-17 22:00:26 +03:00
jief666
d6192ab7ab Correct unicode_conversion (but unused in Clover). 2020-08-16 18:02:01 +03:00
jief666
a9bfb87ec2 CmpDev in FIXAirport() could still crash is
AirportBridgeDeviceName.length() != 4.
2020-08-16 16:54:14 +03:00
jief666
d4b3fb9b7a Bug I introduced in StrHToBuf.
Remove PRINTF_EMIT_CR=1.
ReleaseDate wrongly had a \n at the end.
Bug in utf8_stringnn_from_utf16_string.
XString replaceAll(XString,XString) function.
2020-08-16 16:21:12 +03:00
jief666
de45197556 Correct trim() in XString. 2020-08-16 12:33:41 +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
3a742b5dbc Add some XString length test. 2020-08-16 09:01:08 +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
220b450d60 remove EfiStrDuplicate not used anymore.
Comment out MainConfigName from SETTINGS_DATA. Not used.
2020-08-13 15:57:05 +03:00
jief666
8947e66382 SETTINGS serialize method. 2020-08-13 15:07:40 +03:00
jief666
052732eba0 Refactor GetStrArraySeparatedByChar, replaced by Split 2020-08-13 11:21:45 +03:00
jief666
59d8cbad7f Refactoring KEXT_PATCH.
Change numerous CHAR8* CHAR16* to XString.
2020-08-12 18:15:47 +03:00
jief666
ee80193158 Fix CopyKernelAndKextPatches. 2020-08-11 17:05:36 +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
asava
d42ba26027 Update toolchain to GCC 10.2. If you wish to update, delete Build and toolchain directories. 2020-08-09 10:00:31 +03:00
jief666
2a62a98abc Do not set DISK_KIND_NODISK if it's an APFS volume. 2020-08-08 09:26:31 +03:00
jief666
8c8a67cd0c Remove hard coded Preboot and Recovery partition name. 2020-08-07 16:17:30 +03:00
jief666
feba2f1399 Rework APFS Preboot and Recovery volumes 2020-08-07 11:23:46 +03:00
SergeySlice
76c0e3fe55 text formatting
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-08-06 21:53:01 +03:00
SergeySlice
0724be965a kext patching works in bigsur
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-27 16:09:30 +03:00
SergeySlice
b291971c46 names table shifted
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-27 11:45:17 +03:00
Sergey Isakov
15b65bd95b different addressing in the case of kc
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-26 16:44:38 +03:00
SergeySlice
32eba04396 more debugging
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-25 09:36:00 +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
c87aabd9fe kernel addresses are shifted
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-23 23:42:29 +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
92ac659b5d exclude unneeded header
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-21 19:30:42 +03:00
SergeySlice
69e0e0327c debug kext patching
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-21 12:17:02 +03:00