Commit Graph

63 Commits

Author SHA1 Message Date
jief666
9906261e23 Fix visual studio compilation.
Fix some warnings.
Rename panic_ask to log_technical_bug.
2021-05-08 12:34:17 +03:00
jief666
243f6d7b36 Fix validator xcode 12.5 compilation problem. 2021-05-06 10:55:11 +03:00
SergeySlice
072a0a5d26 DebugMode is not same for DBG()
check AudioList is empty

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-03-28 17:02:56 +03:00
jief666
4a3bc612b8 Create settings section Graphics, RtVariables.
Mobe Turbo in GlobalConfig.
2021-03-26 12:43:15 +03:00
jief666
8209394af9 Continuing to refactor SETTINGS_DATA. 2021-02-11 14:41:59 +03:00
jief666
95be95c531 Reactivate warnings.
Clean warnings reactivated.
Clean build flags in the 4 configurations to make RELEASE_XCODE8 works
in QEMU.
2021-02-10 15:32:07 +03:00
jief666
d66a14ae39 Attempt to fix bzero missing when compiling with xcode. 2021-02-07 19:27:19 +03:00
jief666
1a02f530db Refactoring to allow Clover to be compiled as a macOs app. 2021-02-06 20:16:46 +03:00
jief666
7f1b87c92f Create object MacOsVersion. 2020-11-13 00:25:56 +03:00
jief666
b6a13a9f53 Fix GenFW, remove -no-lto for CppMemLib. 2020-11-09 16:19:33 +03:00
SergeySlice
d042fa25a7 no-lto for library
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-11-03 22:13:44 +03:00
Jief L
da8ad5c0eb MSVC compilation. 2020-11-02 16:45:11 +03:00
jief666
fafc50e3d0 Fix partition name when there is more than 1 system partition in
container.
printf support of "%.*s".
2020-10-26 23:37:32 +03:00
jief666
d17d02b1f8 Clean [BuildOptions] in inf files.
Add "-flto  -DUSING_LTO" when DISABLE_LTO is not defined.
2020-10-20 15:00:24 +03:00
jief666
e80852a82f Allow 11 11.x in IsOSValid().
No timing in JIEF_DEBUG.
2020-10-20 10:55:46 +03:00
jief666
2d124e41e3 Improve GetDebugLogFile() and SaveMessageToDebugLogFile(). 2020-10-19 15:04:03 +03:00
jief666
70988228c4 Refactor selfOem. Created getConfigDir... methods.
Enclose access to getOemDir... by if (selfOem.oemDirExists()).
Enclose access to getKextsDir... by if (selfOem.isKextsDirFound()).
closeDebugLog() in UninitRefitLib().
Prevent DBG loop.
2020-10-17 16:01:33 +03:00
SergeySlice
743b036202 change format printing
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-10 18:15:54 +03:00
jief666
b8a188382c Make Clover path independent. 2020-10-03 20:02:31 +03:00
jief666
8ccee7054f 1st experiment to use OpenCore to boot Big Sur installer. 2020-09-07 01:19:48 +03:00
SergeySlice
da591d7cf6 include headers into inf files as required by build system
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-08-31 21:51:55 +03:00
jief666
74a5477c26 un-inline some function to allow GCC compilation. 2020-08-26 22:39:39 +03:00
jief666
5779130ea5 MemLogfVA now use only printf_lite which has better handling of
timestamp at the beginning of lines.
2020-08-26 21:49:49 +03:00
jief666
8703ccab7f Fix SerialPortWrite call in MemLogfVA. 2020-08-26 10:56:05 +03:00
jief666
19ce4d6edf MemLogLib didn't compile.
update Clover.dsc and refit.inf
2020-08-25 19:38:50 +03:00
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
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
SergeySlice
cd23181296 move OcQuirks.plist into config.plist and into GUI menu
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-15 20:29:27 +03:00
SergeySlice
830c0c41fe fix mistakes of previous commits
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-14 08:59:49 +03:00
SergeySlice
abc8d3cab3 initialize variables
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-13 22:41:29 +03:00
Sergey Isakov
620401dca6 preliminary include OcQuirks into the project with huge amount of unnecessary dependencies
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-09 22:06:48 +03:00
SergeySlice
56ad0e511a update MachoLib
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-07 09:19:59 +03:00
jief666
9be63c456d Oups, baaad bug. 2020-06-17 12:53:37 +03:00
SergeySlice
22f9adcbc9 using XIcon class for dynamic images
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-16 22:30:29 +03:00
Jief L
6357aaf299 Correct no_sanitize attribute. 2020-05-03 18:26:32 +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
SergeySlice
d7c710f9e3 fix some addresses issue, format text
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-28 13:49:24 +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
Jief L
5f195c9d8a More cleaning in tests. 2020-04-24 12:30:09 +03:00
SergeySlice
c48bb89e2e decorations
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-23 19:05:21 +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
647955dd8c Fix %x format for char and short. 2020-04-17 15:27:38 +03:00
Jief L
8e8fb57178 Fix printf width specifier for %s. 2020-04-10 14:01:16 +03:00
Jief L
8e84796b17 typo 2020-04-04 12:57:41 +03:00
Jief L
f888a60526 Handle NULL pointer for string in printf_lite 2020-03-29 16:53:57 +03:00
Jief L
c07950d6f7 Fix emit CR when output to unicode. 2020-03-28 19:17:32 +03:00
Jief L
ee6124bd10 Bye bye PoolPrintFloat. 2020-03-26 15:59:20 +03:00
asava
3f1eb9a02e add missing files to inf 2020-03-21 18:38:20 +02:00
Jief L
14cdfe29c7 MemLogf and MemLogfVA. Not used yet in Clover. 2020-03-21 16:12:26 +03:00