SergeySlice
53b163c57c
provide config-sample with full quirk list
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-03 15:17:46 +03:00
SergeySlice
8a89a90cfe
correct memory lib
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-01 23:08:03 +03:00
jief666
48cdadb0b2
Fix bug where StartLoader cannot find kexts.
...
First implementation of Self object.
2020-09-28 18:57:50 +03:00
jief666
588bd4f342
mOpenCoreConfiguration.Nvram.WriteFlash = true;
2020-09-27 14:52:38 +03:00
SergeySlice
f4b3445135
ignore OcQuirks.efi if present
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-09-10 21:35:10 +03:00
jief666
3a2d6f14c7
Xcode warning and project.
2020-09-09 22:02:58 +03:00
SergeySlice
67d332ce14
somehow resolve conflict between c++ and swift
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-09-01 20:58:59 +03:00
jief666
babba4de6e
make TagData::setDataValue accept NULL value for data.
2020-08-30 22:53:40 +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
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
c7cc003809
Xcode project.
...
printf_lite. Add test guard.
2020-08-25 19:08:05 +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
8dcf25dc6d
Hardened plist.
2020-08-18 19:45:44 +03:00
jief666
8947e66382
SETTINGS serialize method.
2020-08-13 15:07:40 +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
4555bb9e9f
Remove the last PoolPrints.
2020-08-09 18:55:30 +03:00
SergeySlice
69e0e0327c
debug kext patching
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-21 12:17:02 +03:00
SergeySlice
dddceaae36
exclude double headers
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-21 09:33:43 +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
8e2636ad64
sort xcode tree
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-14 08:26:38 +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
Sergey Isakov
c1f2f96041
preliminary include OpenRuntime from OC
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-07 22:25:29 +03:00
Jief L
ce9538bb4e
strcpy bug. DecodeOptions bug.
2020-05-03 23:53:50 +03:00
Jief L
5ad1616d7f
XtoolsCommon tests.
2020-05-01 00:43:44 +03:00
Jief L
82b679bcbd
Avoid memory copy at XString initialisation.
2020-04-30 08:17:51 +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
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 L
a71fe28d34
Fix VS compilation.
2020-04-25 12:59:07 +03:00
Jief L
5f195c9d8a
More cleaning in tests.
2020-04-24 12:30:09 +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
Jief L
fd0f4589ec
New implementation of XString.
2020-04-23 16:20:48 +03:00
jief
05d49b78ab
Make mtoc path generic.
2020-04-20 08:26:50 +03:00
SergeySlice
8dc45f00d0
exclude other processors definitions
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-19 21:48:00 +03:00
jief
4faa0aa8a2
Fix %X and %u format for char and short.
2020-04-17 16:14:24 +03:00
Sergey Isakov
6ee56263ec
Version.h will be in root clover folder
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-16 19:31:46 +03:00
Sergey Isakov
79af8de0a0
separated EG_IMAGE to exclude them
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-16 14:42:14 +03:00
jief
9dc66aee39
Remove macro from Platform.h.
2020-04-16 12:09:22 +03:00
jief
e429268dfc
Remove functions prototypes from Plateform.h
2020-04-16 10:15:26 +03:00
jief
ff91406362
Update unicode_conversions
2020-04-15 20:28:59 +03:00
jief
42c8292445
Optimization of XString initialisation.
2020-04-14 22:49:45 +03:00
jief
e471eb744a
Make Id protected in XCinema
2020-04-14 22:37:44 +03:00
Jief L
c8f3a40532
Get rid of AsciiPrintf use for char.
2020-04-10 15:26:35 +03:00
Sergey Isakov
92ecdbf630
repair vector themes
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 06:11:00 +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
Jief L
7ad745cfa1
Replace utf8Conversion by unicode_conversions.
2020-04-09 18:46:17 +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
Sergey Isakov
790fedbdc6
initial support for cinema
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-09 09:04:21 +03:00
Jief L
879b0c2961
DontStopAtPanic helper, XUINTN remove, PRIuPTR and few warnings.
2020-04-08 13:49:00 +03:00
Jief L
83cd92cb9f
Remove floating point as bool warning.
2020-04-05 18:23:51 +03:00
Sergey Isakov
1c69fccb7a
exclude InitSelection as it done during theme init
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-05 17:04:39 +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
Jief L
60282f90a6
CloverX64 Project update.
2020-04-04 13:14:01 +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
2cb912ca74
Fix XImage assignment operator a better way.
2020-03-31 00:42:58 +03: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
6fa0bb81da
CloverX64 project.
2020-03-29 14:42:30 +03:00
Jief L
6f46b07534
Operator _XS. Fix to VectorGraphics I've misunderstood.
2020-03-29 12:40:13 +03:00
Jief L
651f7a02c6
Get rid of Print() calls.
2020-03-28 18:14:18 +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
Sergey Isakov
d7e93a96e5
adopt DrawMainMenu to XTheme
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-23 17:51:20 +03:00
Jief L
14cdfe29c7
MemLogf and MemLogfVA. Not used yet in Clover.
2020-03-21 16:12:26 +03:00
Sergey Isakov
f1d136e013
make scrolls for xtheme
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-20 20:48:19 +03:00
Sergey Isakov
4beb089a18
fix revision strings
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-20 06:34:04 +03:00
SergeySlice
5ed385d3fa
introduce loadImage
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-17 22:43:58 +03:00
Sergey Isakov
4b8b175619
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-13 19:29:55 +03:00
jief
dfd649dd5b
Xcode projects
2020-03-13 19:08:36 +03:00
Sergey Isakov
5d40230e3f
fix signedness
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-13 18:59:58 +03:00
jief
0484955f0b
New platform Posix. Replace strlen, strcmp implementation.
2020-03-13 16:11:58 +03:00
jief
73249629d7
Update CloverX64 Xcode project.
2020-03-12 21:17:01 +03:00
Jief L
d1a66122d3
Start to switch UTF16 litteral to utf8.
2020-03-12 20:45:28 +03:00
Jief L
c3a986f611
Delete generated file committed by mistake.
2020-03-12 20:02:00 +03:00
jief
b920b9f8fb
Introducing a UTF8 XString
2020-03-12 17:40:38 +03:00
jief
ae0112e93c
Xcode project for CloverX64.efi
2020-03-11 17:34:49 +03:00
jief
19cfe2831a
Warning removal. New class XUINTN (not yet used).
2020-03-11 17:23:58 +03:00
Sergey Isakov
0d4c4eb5ee
C++ One Definition Rule
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 21:31:40 +03:00
jief
51711c1004
Disable assign & ctor with char* and wchar_t* parameter.
2020-03-10 19:50:55 +03:00
Sergey Isakov
5dbf1e0360
always create cloverx64.efi
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-06 22:56:32 +03:00
Jief L
2fca0d97a5
VS2017 C++ globals and unit tests
2020-03-04 16:37:39 +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
Sergey Isakov
a260cbad92
some remarks
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-01 11:46:12 +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
282bc531d7
fix GCC53 compatibility
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-25 20:42:06 +03:00
jief
a9f2c2725a
Update the external cpp_tests project.
2020-02-24 16:07:59 +03:00
jief
4ab2c1179f
Created an Xcode project to run the C++ unit tests in Xcode console.
2020-02-23 23:26:51 +03:00
jief
71e952401a
Import XStringWArray in Clover.
...
Added unit tests
2020-02-23 23:23:31 +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
Sergey Isakov
20237d492a
cleanup
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-18 21:49:54 +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
SergeySlice
2e4cbf3268
define CometLake
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2020-01-05 09:29:06 +03:00
SergeySlice
648f05c0a1
revert hda
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2019-11-27 19:02:16 +03:00
SergeySlice
2dcb40b485
reworking HDA library
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2019-11-27 08:20:14 +03:00
SergeySlice
66430bb85b
new information about graphics
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2019-11-16 09:18:24 +03:00
Sergey Isakov
1c1ea703ff
use LzmaCompress-64bit for Catalina compatibility
...
not use LTO for separate drivers
Signed-off-by: Sergey Isakov <sergey@iMac-Sergey.local>
2019-10-21 19:20:37 +03:00
Sergey Isakov
6a56c2951b
refactoring, renaming, cleanup
2019-10-04 23:32:02 +03:00
Sergey Isakov
8abfa1129b
version 5089
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-20 20:18:44 +03:00
Sergey Isakov
d49c68ae80
check for zero size allocation
2019-09-19 22:14:57 +03:00
Sergey Isakov
e44443837a
fixed some headers
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-05 06:27:09 +03:00
Sergey Isakov
b1264ef1e3
changes of BaseTools
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-04 23:02:41 +03:00
Sergey Isakov
7c0aa811ec
initial commit Clover sources 5061 and modules from EDK2 latest with legacy codes from UDK2018
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-03 12:58:42 +03:00