jief666
2a029bd298
SETTINGS_DATA refactoring.
2021-03-19 23:32:42 +03:00
jief666
c698bfb932
Fix crash when no OpenRuntime.efi.
2021-03-19 10:41:24 +03:00
SergeySlice
235f13a3db
fix bootlog crash at legacy boot
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-03-06 08:07:06 +03:00
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
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
75097bd304
Remove include <Platform.h> from headers. Keep them in sources.
2021-02-07 17:39:03 +03:00
jief666
1a02f530db
Refactoring to allow Clover to be compiled as a macOs app.
2021-02-06 20:16:46 +03:00
jief666
333b6ce1ca
Hide dead installer prebooter.
...
Do not hide installer if there is a main partition.
2021-02-04 17:04:31 +03:00
jief666
fa0bdcd181
Starting to refactor settings.
2021-02-02 12:02:21 +03:00
SergeySlice
30f4fd2d64
recheck DSDT length
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-11-06 10:31:30 +03:00
jief666
6a96d48330
Better name for Preboot.
...
Ordering of Preboot Main Recovery
2020-10-22 16:55:30 +03:00
jief666
e80852a82f
Allow 11 11.x in IsOSValid().
...
No timing in JIEF_DEBUG.
2020-10-20 10:55:46 +03:00
SergeySlice
641b75e9eb
exclude double settings
...
implement Skip for OC compatibility
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-08 23:03:41 +03:00
SergeySlice
c96d9d57b9
cosmetic changes to xcode project and debug-log
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-04 20:12:10 +03:00
jief666
b8a188382c
Make Clover path independent.
2020-10-03 20:02:31 +03:00
jief666
7e31ca1319
Implement OC FuzzyMatch, KernelCache and Quirks.
2020-09-07 20:33:38 +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
85716960f9
Further refactor of plist.
2020-08-22 16:39:24 +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
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
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
59d8cbad7f
Refactoring KEXT_PATCH.
...
Change numerous CHAR8* CHAR16* to XString.
2020-08-12 18:15:47 +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
jief666
feba2f1399
Rework APFS Preboot and Recovery volumes
2020-08-07 11:23:46 +03:00
SergeySlice
dddceaae36
exclude double headers
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-21 09:33:43 +03:00
SergeySlice
bb59d21a01
take into account that BigSur can be 10.16 or 11.0
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-13 09:59:31 +03:00
SergeySlice
33b2a4535f
repair page up/down in GUI
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-08 17:45:05 +03:00
SergeySlice
d36f1ae23a
embedded patch to cure 8 apples
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-27 21:04:31 +03:00
SergeySlice
59c3764c27
additional settings for vector theme
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-26 20:12:54 +03:00
SergeySlice
ad209ac209
screenshot will work with legacy boot, thanks to blackosx
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-25 06:22:00 +03:00
SergeySlice
be079edc92
dynamic images again with memory free
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-23 14:16:02 +03:00
SergeySlice
f8ccb366fa
temporary disable dynamic svg image generation
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-22 18:30:41 +03:00
SergeySlice
b0547701a9
svg theme parse success not depend on individual icons, just whole parse
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-20 20:56:01 +03:00
SergeySlice
0aca20217d
rasterize svg when needed
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-18 22:40:47 +03:00
SergeySlice
85d3bd1ad9
dynamic daylight, some optimisation
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-17 21:56:10 +03:00
SergeySlice
6236534ec4
include AddDefaultMenu to class
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-16 23:07:27 +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
SergeySlice
813b0d22cc
prepare to dynamic svg
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-15 11:17:06 +03:00
SergeySlice
32d18af83e
advance svg theme
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-14 10:03:06 +03:00
SergeySlice
de7ac1c1c6
disable deprecated functions
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-13 11:18:12 +03:00
asava
9571af3d83
Correct error in egSaveFile causing for example folder instead of screenshot
2020-05-12 16:21:15 +03:00
SergeySlice
ffec5b89c1
StrnCpy must create null-terminating string
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-12 09:01:46 +03:00
vectorsigma72
a4ac6daf97
Wrong type for FileExists()
2020-05-11 20:45:11 +02:00
SergeySlice
84ebcbb439
NoDefaultProperties will be true by default, AddProperties to be deprecated
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-11 09:30:45 +03:00
Jief L
a2b23b391f
Add XStringArray::remove and removeIC tests. Create var for "quiet" and
...
"splash".
2020-05-10 12:41:34 +03:00
SergeySlice
d5305c8cc8
exclude Kernel support CPU patch as redundand and not correct
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 11:55:33 +03:00
asava
533136a0ad
Correct some more GUI glitches
2020-05-09 01:34:15 +03:00
asava
cf41491adc
Menu width fixes, proportional font fixes, other menu tweaks
2020-05-05 02:52:00 +03:00
asava
4d89b2d976
Correct wrong text size length with proportional font, and hang with SVG in some cases
2020-05-04 19:05:29 +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
Jief L
0c88de9390
Rename _XS to _XS8
2020-04-30 09:22:26 +03:00
Jief L
e170b16516
Rename XString to XString8.
2020-04-30 09:03:56 +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
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
a188e19f02
Remove unneeded wc_str(). Correct comparison order.
2020-04-27 15:13:09 +03:00
asava
469750c6e6
Correct loading of os_unknown and os_clover
2020-04-25 23:14:53 +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
Sergey Isakov
0d6513e246
use os_unknown, some tests
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-24 19:24:34 +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
SergeySlice
16806d435f
demo other linux
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-23 14:36:35 +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
asava
1ec5726f01
Move AnimeRun, LastDraw, CurrentFrame to FILM
2020-04-23 11:42:18 +03:00
jief
978e35845a
Crash in DBG.
2020-04-23 11:07:05 +03:00
asava
f764a27a9a
Correct proportional font
2020-04-22 02:27:01 +03:00
asava
92936b6987
Fix typo in previous commit
2020-04-21 22:18:58 +03:00
asava
2c65cd53f7
Restructuring of GetIcon/GetIconAlt/FillByDir, hopefully cover all cases now
2020-04-21 21:41:35 +03:00
SergeySlice
50faf1ae0a
dont decolorize background under gray icon
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-21 19:27:30 +03:00
SergeySlice
d91781b79e
repaired NonSelectedGray and inline badges
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-21 18:57:47 +03:00
asava
2aca7f3ec3
Correct getting of embedded icons in case icon not loaded
2020-04-21 03:39:49 +03:00
Sergey Isakov
e37d782aad
VS2019 compatibility
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-20 15:45:25 +03:00
asava
2ec6b3f905
Correct background on resolution change & eliminate redundant calls
2020-04-20 03:55:35 +03:00
asava
f280ab3323
Correct mistake in XImage::CopyScaled
2020-04-20 02:12:43 +03:00
SergeySlice
d0d27d8e3d
ceoorect banner position in vector theme
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-19 18:40:08 +03:00
SergeySlice
0ff64f4248
exclude extra debug messages
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-19 14:28:14 +03:00
SergeySlice
2a731df6e4
fix vector theme appearance
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-19 14:23:23 +03:00
asava
73f5205891
Another fail-safe check
2020-04-18 22:11:50 +03:00
asava
ea58107509
Add some fail-safe checks to XImage and XTheme
2020-04-18 12:46:52 +03:00
Sergey Isakov
1248bf2c71
use embedded icon with same id if theme native absent
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-18 09:39:47 +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
asava
bda0beecd0
Choose best console mode first by height, then width
2020-04-17 17:12:14 +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
Sergey Isakov
e1345d7ba0
cleanup from EG_IMAGE, they remain in separate drivers/protocols
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-17 15:21:15 +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
asava
509981b16c
Add missing load for some png images
2020-04-16 14:36:51 +03:00
asava
f86e36a7e5
Correct theme Daylight, DarkEmbedded, some other theme issues
2020-04-16 14:04:24 +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
71562cf66a
Swicth Cursor to UINTN to conform renderSVGtext.
2020-04-16 00:04:33 +03:00