jief666
08add49958
remove CustomSmbiosGuid quirks. Force it to false.
2020-09-30 22:03:13 +03:00
jief666
804dd26599
Fix kext path in LoadKexts()
...
Remove StartLoader11(). StartLoader() starts all macOs with OC.
Merge Quirks sections.
2020-09-30 21:56:55 +03:00
jief666
bd8d3140b2
ProvideConsoleGop setting in GUI.
2020-09-29 15:15:11 +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
f663e8fc10
Force OC CustomSmbiosGuid to false.
2020-09-27 23:02:38 +03:00
jief666
588bd4f342
mOpenCoreConfiguration.Nvram.WriteFlash = true;
2020-09-27 14:52:38 +03:00
jief666
e48ae97c60
Avoid GetDefaultSettings scratching SmUUID read from smbios.
2020-09-24 15:06:10 +03:00
jief666
b592a62d6f
Restore Device properties injection.
...
Uncomment SetCPUProperties() SetupDataForOSX()
2020-09-23 08:20:06 +03:00
jief666
bf59b13c93
Allow kext without executable.
...
malloc size bug for mOpenCoreConfiguration.Kernel.Patch.Values.
hardcoded resolution Max for OC.
Kernel arch x86_64 instead of X86_64
2020-09-21 17:02:31 +03:00
jief666
d440b5a7f1
Comment out gAppleDevicePropertyProtocolGuid
...
Rename gAppleDevicePropertyProtocolGuid to
gEfiDevicePathPropertyDatabaseProtocolGuid
Rename gDevicePropertiesGuid to
gEfiDevicePathPropertyDatabaseProtocolGuid
Debug message for USE_OC_SECTION_xxx
2020-09-21 08:53:36 +03:00
jief666
09634f7c94
remove READ_FROM_OC
2020-09-19 14:40:41 +03:00
jief666
8cf91394a2
USE_OC_SECTION
2020-09-18 22:54:30 +03:00
jief666
28a0dc1e8b
Uncomment call to SetDevices(this) and SetVariablesForOSX(this)
...
Temporary panic is OcQuirks not found.
2020-09-18 13:04:07 +03:00
jief666
73f29eb538
Redirect OC log to Clover.
...
Keep log file handle opened.
Put back -DMDEPKG_NDEBUG.
2020-09-18 11:55:44 +03:00
jief666
584df7808f
Static assert with messages.
2020-09-17 09:43:46 +03:00
jief666
887136a381
Use OcMain, continuation.
2020-09-16 20:50:16 +03:00
jief666
346661efd2
Use OcMain to init OC.
...
Remove -DMDEPKG_NDEBUG to get OC debug messages.
Refactor InjectKextList as XObjArray<SIDELOAD_KEXT>.
2020-09-16 02:01:53 +03:00
jief666
acc2fea810
Use kext from correct folder for version < 11.0
...
Use OpenCore OS_INFO_PROTOCOL.
2020-09-14 16:01:30 +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
jief666
232f94f00c
Handle booter quircks.
2020-09-09 20:06:34 +03:00
jief666
dfac7119f6
Hardcode order of some kexts.
...
Improve test in USBFix to avoid crash.
2020-09-09 00:25:26 +03:00
jief666
9681c6292d
Menu disable kext for version 11.
2020-09-08 14:00:17 +03:00
jief666
7470ecc797
LoadOptions for OC (don't know if it's the right way)
...
Bridge KextPatch to OC.
2020-09-08 12:33:35 +03:00
jief666
7e31ca1319
Implement OC FuzzyMatch, KernelCache and Quirks.
2020-09-07 20:33:38 +03:00
jief666
257667f2f1
Get version for installer.
...
OcLog initialisation.
2020-09-07 17:44:24 +03:00
jief666
5f3adb976e
Move all OpenCore initialisation in StarLoader11.
2020-09-07 14:13:44 +03:00
jief666
8ccee7054f
1st experiment to use OpenCore to boot Big Sur installer.
2020-09-07 01:19:48 +03:00
jief666
8449a39e4f
Remove "ZeroMem(&gSettings.BootArgs, 256);" because BootArgs is now an
...
XString.
2020-08-31 15:24:00 +03:00
jief666
2447e1fea7
Refactor BlackList as XStringWArray and rename to DisabledDriverArray.
2020-08-31 12:00:52 +03:00
jief666
da29292e22
refactor ThemesList as XStringWArray and rename to ThemeNameArray.
2020-08-31 10:22:11 +03:00
jief666
e7d14cc70e
Refactor HDA_OUTPUTS as a class and AudioList as a XObjArray.
2020-08-31 10:07:36 +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
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
2607bd4fbb
Wrong cast in GetBootFromOption().
2020-08-19 22:29:26 +03:00
jief666
95d477c9a3
Refactor tagNext in tagSruct as a XObjArray<TagStruct>
2020-08-19 15:50:26 +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
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
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
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
7188cde799
repaired symbolic patching for bigsur
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-20 11:52:36 +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
50a98dc4fb
exclude dump SIP
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-14 11:20:54 +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
1856b519e5
position in installer bigsur
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-24 07:20:45 +03:00
SergeySlice
a0948b2515
prepare for 10.16
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-22 21:47:45 +03:00
SergeySlice
109d1f581c
unload audiodxe before system start
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-18 19:08:00 +03:00
SergeySlice
0f5da727e0
reset HDA after use
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-05 15:15:31 +03:00
SergeySlice
98b3d37277
security update for startup sound
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-06-05 12:43:12 +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
5c61d2a0ea
default is daylight
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-18 23:10:38 +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
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
84c8474388
dont use explicit array size
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-13 13:04:48 +03:00
SergeySlice
de7ac1c1c6
disable deprecated functions
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-13 11:18:12 +03:00
SergeySlice
56c4e4dd48
exclude unused variables, move globals into class
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-11 18:44:00 +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
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
cf41491adc
Menu width fixes, proportional font fixes, other menu tweaks
2020-05-05 02:52:00 +03:00
asava
9c056aaf6b
Forgotten file in previous commit
2020-05-04 21:05:47 +03:00
asava
702e0d49c2
Correct hang in about and help menus after theme change
2020-05-04 21:03:25 +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
asava
64de6d0fef
Correct some problems when changing config files
2020-05-01 03:14:11 +03:00
asava
1ec91d72cd
A few corrections needed for Linux booting in some cases
2020-04-30 21:17:54 +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
d7c710f9e3
fix some addresses issue, format text
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-28 13:49:24 +03:00
jief
2135d2706b
Remove incorrect space in ArgOptional. Clean few comments.
2020-04-28 09:54:43 +03:00
asava
67e496d6e9
Allow longer titles for menus, they are trimmed according to theme now
2020-04-28 00:30:26 +03:00
Jief L
2a5571d032
loadOptionsW was destroyed before call to StartImage.
2020-04-27 22:20:16 +03:00
Jief L
a188e19f02
Remove unneeded wc_str(). Correct comparison order.
2020-04-27 15:13:09 +03:00
Jief L
de2bb5f950
Refactor some Path to XStringW.
2020-04-27 12:50:49 +03:00
Jief L
af28b47c72
Refactor BootOptions as XStringArray.
2020-04-26 16:07:30 +03:00
jief
7d43ca70d5
XStringArray re-implementation with template.
2020-04-26 13:12:05 +03:00
jief
3475414580
Move REFIT_CONFIG in Settings.
2020-04-26 12:39:41 +03:00
jief
4a9a99873d
move WaitForInputEventPoll.
2020-04-26 12:36:21 +03:00
asava
469750c6e6
Correct loading of os_unknown and os_clover
2020-04-25 23:14:53 +03:00
Jief L
7155fae9cd
LastChar was renamed lastChar.
2020-04-25 13:07:23 +03:00
SergeySlice
ddd42ed08b
correct broken test
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-25 06:37:56 +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
73411bbc47
Cleaning in XString. Some method renaming.
2020-04-23 23:43:35 +03:00
SergeySlice
c48bb89e2e
decorations
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-23 19:05:21 +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
asava
f8c1f08c13
Correct case where anime calculation could become negative
2020-04-23 04:32:23 +03:00
SergeySlice
d3da5e1a21
parsing float values in plists
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-22 20:52:21 +03:00
SergeySlice
8dc45f00d0
exclude other processors definitions
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-19 21:48:00 +03:00
asava
bf163735e9
Correct previous commit
2020-04-19 17:42:51 +03:00
asava
e62ca9a398
Correct positioning for legacy anime
2020-04-19 17:40:03 +03:00
jief
1db9b51864
Revert a change, add a test.
2020-04-17 16:32:12 +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
asava
cde5fa908c
Move initial theme draw to before menu run, to prevent theme appearing when menu is unused, and visual delay in system scans
2020-04-16 19:21:13 +03:00
jief
efe9aaa257
Remove double version info.
2020-04-16 18:59:00 +03:00
jief
3388819d58
Fix Build info unknown.
2020-04-16 15:24:21 +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
7cce3899b8
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-04-16 14:20:15 +03:00
jief
81c0b45e45
Fix and clean Version.h include.
2020-04-16 14:19:37 +03:00
asava
f86e36a7e5
Correct theme Daylight, DarkEmbedded, some other theme issues
2020-04-16 14:04:24 +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
Sergey Isakov
36b908900a
cleanup anime for xcinema
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-16 07:45:53 +03:00
asava
6e1f5206b8
Correct theme change, correct vector theme assignment
2020-04-15 23:12:43 +03:00
Sergey Isakov
631a024373
refactoring anime into xcinema
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-15 19:30:39 +03:00
asava
6be18deab2
Correct hang when uniniting volumes due to delete of non-object at Volumes.Empty()
2020-04-15 15:34:03 +03:00
asava
8b7d06ee22
Correct access to unallocated memory resulting in GUI hang in some cases
2020-04-15 14:45:56 +03:00
Sergey Isakov
0733b704ff
avoid memory leak at sound play
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-15 12:13:51 +03:00
Sergey Isakov
c32de7f2d2
draft xcinema to be replacement for GUI_ANIME
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-14 19:52:13 +03:00
jief
73627c52cc
Switch egScreenDescription() to XString
2020-04-14 10:27:23 +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
Sergey Isakov
12d9715a1c
a template for refactoring ANIME
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-13 22:01:40 +03:00
Sergey Isakov
d76962691b
fix conflicts
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-13 13:27:13 +03:00
Sergey Isakov
319dd59b19
get rid of LowCase procedure
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-13 11:43:18 +03:00
jief
3ed1a89bcc
Swicth %X to %x in snprintf and get rid of LowCase.
2020-04-13 10:25:42 +03:00
asava
fbc970b44d
Correct refactoring issues with CustomEntries
2020-04-12 18:36:40 +03:00
Sergey Isakov
3796920a60
repaired boot-args
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-11 20:55:47 +03:00
Sergey Isakov
3433041756
use char8 for KPATIConnectorsController
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-11 18:36:40 +03:00
Jief L
84f956714f
Some prototypes cleaning.
2020-04-11 09:21:06 +03:00
Sergey Isakov
6039faefa2
improve oem string, refactor font name
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 20:00:37 +03:00
Sergey Isakov
3ef56cd78d
improve smbios information
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 17:35:24 +03:00
Jief L
325b576b1d
End of AsciiSPrintf replacement.
2020-04-10 16:52:49 +03:00
Jief L
9c100f2a3f
Get rid of AsciiPrintf use for string (CHAR8 and CHAR16)
2020-04-10 15:17:23 +03:00
Sergey Isakov
84a320ba5d
big cleanup to XTHEME
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 13:04:21 +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
91b0145ab9
Disable automatic conversion of XString to wchar_t*.
2020-04-09 19:32:46 +03:00
Jief L
7ad745cfa1
Replace utf8Conversion by unicode_conversions.
2020-04-09 18:46:17 +03:00
Sergey Isakov
13588fb67c
allow triple os name like chrome,grub,linux
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-09 06:32:57 +03:00
Sergey Isakov
4be33ca401
correct codepage for help screen
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-08 12:45:36 +03:00
Sergey Isakov
75427f2d83
refactoring text handling
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-07 22:48:36 +03:00
Sergey Isakov
2971779ddf
load os icons for legacy
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-06 00:14:27 +03:00
Sergey Isakov
c12f59a551
change type of scanvolumedefault
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-05 21:56:36 +03:00
Sergey Isakov
7b173d7f08
do not recalculate background and draw it twice
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-05 17:27:42 +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
Sergey Isakov
e9bf5703f6
merge changes
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-05 10:24:04 +03:00
Sergey Isakov
94d8d05c39
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-04-05 10:20:14 +03:00
Sergey Isakov
682fea296e
a possibility to switch themes
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-05 10:20:00 +03:00
Jief L
16da915f82
Theme switching.
2020-04-05 09:44:47 +03:00
Sergey Isakov
317cf43107
cleanup messy menu
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-05 07:35:55 +03:00
Sergey Isakov
dc558d04aa
resolve conflict between menu and menu
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-05 06:44:27 +03:00
Sergey Isakov
c163748486
resolve some conflicts
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-04 20:05:57 +03:00
Sergey Isakov
26795329fe
clean place under buttons
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-04 20:02:30 +03:00
Jief L
0bcabfe9e3
Remove a hundred of PoolPrint.
2020-04-04 19:22:07 +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
0449bb7335
Fixes after rename.
2020-04-04 13:13:34 +03:00
Jief L
ad10842a18
Rename menu.cpp to REFIT_MENU_SCREEN.cpp
2020-04-04 13:04:59 +03:00
Sergey Isakov
314acac5ab
reduce messages
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-04 08:50:30 +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
asava
ed196e10c8
Correct missouts preventing compilation
2020-04-03 01:54:03 +03:00
Sergey Isakov
ddccb001e6
repair scroll position
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-02 17:03:58 +03:00
Sergey Isakov
0dacc1df4c
repair text menu
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-02 11:44:42 +03:00
Sergey Isakov
0c6dc2f45e
repair text draw
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-02 09:50:44 +03:00
Sergey Isakov
3ff4a9d730
dont commit USE_XTHEME
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-01 21:03:26 +03:00
Sergey Isakov
5b84f64f61
pixel operations
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-01 20:07:57 +03:00
Sergey Isakov
5f037cc29a
correct ximage compose
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-01 17:59:58 +03:00
Sergey Isakov
f70c4e14d2
refactoring DrawText and Pixels
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-01 15:57:32 +03:00
Jief L
fbfc206a41
Renamed SPrintf to SWPrintf for XStringW
2020-03-31 19:10:30 +03:00
Jief L
6f64681239
Fix includes and refit.inf
2020-03-31 19:05:34 +03:00
Jief L
0b19538bee
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-31 18:59:42 +03:00
Jief L
23b45d569a
Get rid of XStringWP + few cleanings.
2020-03-31 18:59:35 +03:00
Sergey Isakov
a37196ab8c
repair background draw
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-31 17:25:07 +03:00
Sergey Isakov
0c62865b22
eliminate mouse edge effect
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-31 15:35:04 +03:00
asava
e149dafe4d
Correct mistake with nvidia inject name
2020-03-31 03:09:53 +03:00
Sergey Isakov
35103e3126
move data when create ximage from png
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-30 23:31:34 +03:00
Sergey Isakov
6dc43d9d8e
a possibility to use wchar in icon names
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-30 18:31:52 +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
asava
17c92d9526
Correct mistake in FileDevicePathToStr
2020-03-30 02:21:38 +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
SergeySlice
76900d6350
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-29 10:14:26 +03:00
SergeySlice
38319f70bc
correct font handling
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-29 10:14:14 +03:00
Jief L
d093af9b01
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-29 09:54:31 +03:00
Jief L
2100401c4e
Fix include in screen.h & .cpp
2020-03-29 09:54:13 +03:00
Sergey Isakov
e59f205afc
some comments around vector theme
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-29 08:42:33 +03:00
SergeySlice
cf61a01b03
parse svg xtheme, not verified
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-28 21:34:23 +03:00
Jief L
651f7a02c6
Get rid of Print() calls.
2020-03-28 18:14:18 +03:00
jief
020fe5a2f0
Do not use Print() anymore.
2020-03-28 09:36:07 +03:00
SergeySlice
ace46a5646
correct more variables
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-27 22:47:06 +03:00
Sergey Isakov
8f2c4b5efd
separate data in global config
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-27 19:50:17 +03:00
Sergey Isakov
b74b57b7dd
use local cycle index
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-27 10:46:04 +03:00
Sergey Isakov
381487d324
rewrite graphics menu style
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-27 08:54:41 +03:00
Sergey Isakov
b58bcf7270
more text procedures
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-26 23:32:31 +03:00
Sergey Isakov
a65aa874a2
move types declarations
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-26 20:00:53 +03:00
Sergey Isakov
9b85ac2a5b
merge
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-26 17:25:49 +03:00
Sergey Isakov
1abcd07489
apply theme settings to xtheme
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-26 17:24:20 +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
4b1c81b7f9
repair scroll
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-25 20:49:01 +03:00
Sergey Isakov
91ab997f5f
xtheme support is mostly working
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-24 18:17:12 +03:00
Sergey Isakov
446b3cc6f6
revert build_rule
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-24 07:36:39 +03:00
Sergey Isakov
a3f3053c30
rewrite render text
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-23 22:10:16 +03:00
Sergey Isakov
8b8b8452b6
fix compilation
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-23 19:57:09 +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
Sergey Isakov
ddba966e94
advance menu codes for use xtheme
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-22 13:48:13 +03:00
Sergey Isakov
13667ae8f8
current changes moving to xtheme
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-21 22:52:28 +03:00
Jief L
14cdfe29c7
MemLogf and MemLogfVA. Not used yet in Clover.
2020-03-21 16:12:26 +03:00
Sergey Isakov
38d061d970
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-21 10:34:40 +03:00
Sergey Isakov
9ec0c457f5
some advance in xtheme support
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-21 10:34:28 +03:00
asava
932b218617
strip line endings from .VolumeLabel.txt
2020-03-21 09:02:48 +02: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
jief
255c331069
Fix compilation.
2020-03-18 09:39:11 +03:00
SergeySlice
5ed385d3fa
introduce loadImage
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-17 22:43:58 +03:00
Sergey Isakov
0eb9528089
some screen operations for xtheme
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-17 07:25:38 +03:00
SergeySlice
81f2b91b15
clear screen in xtheme
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-16 22:47:02 +03:00
Sergey Isakov
02db12d8c3
fill theme by embedded images
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-16 14:15:25 +03:00
Sergey Isakov
6236f85a79
avoid memset generation
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-16 10:31:59 +03:00
SergeySlice
449fa1c6d1
fix debug-log by tluck
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-15 23:14:33 +03:00
SergeySlice
23fae194bd
a step to xtheme
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-15 23:05:59 +03:00
SergeySlice
b6d3ddb28f
optimize debug.log
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-15 16:42:45 +03:00
SergeySlice
9ab5a63908
support for VolumeIcon.icns
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-15 14:06:04 +03:00
jief
0484955f0b
New platform Posix. Replace strlen, strcmp implementation.
2020-03-13 16:11:58 +03:00
Sergey Isakov
81286c08b1
dont double fonts in chain
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-13 15:13:08 +03:00
Sergey Isakov
07f5c88a8f
fix delete fonts
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-13 11:44:45 +03:00
Jief L
a4d07ef335
Even better : a AddMenuInfo_f that takes printf like vararg. That avoid
...
the allocation of a temporary XStringW !
2020-03-12 21:23:32 +03:00
Jief L
d1a66122d3
Start to switch UTF16 litteral to utf8.
2020-03-12 20:45:28 +03:00
Sergey Isakov
2e1ad593df
template for theme class
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-12 12:47:59 +03:00
Sergey Isakov
8d75c1909e
update about menu
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-12 12:09:33 +03:00
jief
8a7950d99a
Allow NULL title in NewEntry_.
2020-03-11 19:41:20 +03:00
jief
51711c1004
Disable assign & ctor with char* and wchar_t* parameter.
2020-03-10 19:50:55 +03:00
Sergey Isakov
24dec8435c
fix svg fonts handling
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 17:05:39 +03:00
Sergey Isakov
48c89ce4d8
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-10 16:00:09 +03:00
Sergey Isakov
d8dfe555d2
separate fonts in fontChain
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 16:00:02 +03:00
jief
7256a868e5
REFIT_ABSTRACT_MENU_ENTRY.Title to XStringW
2020-03-10 14:51:04 +03:00
jief
a33bcb45d3
Switch struct EG_RECT to a class.
...
Define basic operators.
2020-03-10 13:27:05 +03:00
jief
41c49267a5
Clean the menu item hierarchy.
2020-03-10 12:45:17 +03:00
Sergey Isakov
956009f8ea
files for qemu
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 07:32:08 +03:00
jief
1cb7b4e69e
Few cleaning in XImage. XPointer improvement.
...
Renamed some method in XArray XObjArray and XStringW.
2020-03-09 04:12:24 +03:00
Sergey Isakov
c5f8b7df7b
update russian localization
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-08 08:09:20 +03:00