Commit Graph

735 Commits

Author SHA1 Message Date
jief
4a9a99873d move WaitForInputEventPoll. 2020-04-26 12:36:21 +03:00
asava
b609bfef1c Typo 2020-04-26 12:12:11 +03:00
SergeySlice
5eef6624f1 avoid infinite loop while kext patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-26 08:32:48 +03:00
asava
773bb86427 Wrong MaxTextLen committed 2020-04-26 04:36:18 +03:00
asava
0847234281 Enhance Linux Scan and some other GUI corrections 2020-04-26 02:54:13 +03:00
asava
469750c6e6 Correct loading of os_unknown and os_clover 2020-04-25 23:14:53 +03:00
SergeySlice
db50b1e4b2 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-25 19:18:35 +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
Jief L
8d35aa3ecc new trim method in XString. 2020-04-25 14:33:01 +03:00
Jief L
7155fae9cd LastChar was renamed lastChar. 2020-04-25 13:07:23 +03:00
Jief L
96a2e60184 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-25 13:00:21 +03:00
Jief L
a71fe28d34 Fix VS compilation. 2020-04-25 12:59:07 +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
d075078a48 Fix warning. 2020-04-24 18:26:27 +03:00
Jief L
9f552ec04b Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-24 18:15:20 +03:00
Jief L
fc0b83c34b Fix warnings. 2020-04-24 18:15:05 +03:00
asava
ca199712c4 LinuxScan should scan not only the directory where Clover is 2020-04-24 14:50:52 +03:00
Jief L
0dca81990b Comment unreachable code in abort.cpp 2020-04-24 13:37:50 +03:00
Jief L
5f195c9d8a More cleaning in tests. 2020-04-24 12:30:09 +03:00
Sergey Isakov
21f4bc6cb4 allow kext patches length will be less then find
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-24 12:01:28 +03:00
Jief L
b3318cc1a4 Update refit.inf. 2020-04-24 09:39:25 +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
asava
775d5abc5f Correct typo 2020-04-23 19:34:01 +03:00
SergeySlice
c48bb89e2e decorations
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-23 19:05:21 +03:00
Jief L
5d38db4501 Simplify dataSized. Update refit.inf. 2020-04-23 17:02:48 +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
22ba40a466 Deactivate XStringW operator with native type (to catch things like
"Title != NULL")
2020-04-23 11:23:57 +03:00
jief
978e35845a Crash in DBG. 2020-04-23 11:07:05 +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
asava
15a9eebae6 Correct ACPI DropTables parsing 2020-04-22 19:37:28 +03:00
SergeySlice
34e2e6e52e copy oem table 41
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-22 18:46:41 +03:00
SergeySlice
dc419a5f0e use length 5 for failure report (?)
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-22 07:42:10 +03:00
asava
f764a27a9a Correct proportional font 2020-04-22 02:27:01 +03:00
SergeySlice
59314b67f0 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-21 22:51:20 +03:00
SergeySlice
b1024a3627 set wake-failure variable
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-21 22:51:07 +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
SergeySlice
0e57155f2f repair Badge size
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-21 12:08:55 +03:00
asava
2aca7f3ec3 Correct getting of embedded icons in case icon not loaded 2020-04-21 03:39:49 +03:00
asava
d7a38dce3e Implement possibility to drop tables for any OS 2020-04-20 19:33:42 +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
8993c7a7ec Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-19 21:48:17 +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
44207c9718 Initialize static variables when menu runs so that values from previos sessions won't be used 2020-04-19 19:16:40 +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
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
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
a28edd4a35 FONT_ALFA not needed also when starting embedded 2020-04-19 13:54:05 +03:00
asava
7058252f89 Don't set FONT_ALFA when using dark embedded 2020-04-19 13:26:13 +03:00
asava
73f5205891 Another fail-safe check 2020-04-18 22:11:50 +03:00
asava
fad765eb01 Attempt to fix BootCampStyle indicator 2020-04-18 17:46:30 +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
Sergey Isakov
414cfbc03e double word Clover
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-17 18:12:06 +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
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
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
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
asava
ee8da0a71c Correct artefacts when scrolling 2020-04-16 15:40:34 +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
asava
509981b16c Add missing load for some png images 2020-04-16 14:36:51 +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
ea2cb13808 update refit.inf 2020-04-16 12:22:42 +03:00
jief
9dc66aee39 Remove macro from Platform.h. 2020-04-16 12:09:22 +03:00
jief
89933f64ac Remove struct definitions from Plateform.h 2020-04-16 10:48:13 +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
asava
6e1f5206b8 Correct theme change, correct vector theme assignment 2020-04-15 23:12:43 +03:00
Sergey Isakov
fe29494120 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-15 22:19:04 +03:00
Sergey Isakov
8b3233bb34 fix crash with vector themes
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-15 22:18:53 +03:00
jief
ff91406362 Update unicode_conversions 2020-04-15 20:28:59 +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
jief
fb6a1b244a Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-15 19:08:10 +03:00
jief
c248c89a50 Forgotten with previous commit. 2020-04-15 19:03:38 +03:00
jief
c405c4e4f3 Remove const on takeValueFrom. 2020-04-15 19:01:14 +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
asava
1f85d633c4 Correct refactoring of CustomBoot 2020-04-14 23:33:36 +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
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
807e36c427 GetIcon memory leak. 2020-04-14 10:33:02 +03:00
jief
5520ede381 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-14 10:27:57 +03:00
jief
73627c52cc Switch egScreenDescription() to XString 2020-04-14 10:27:23 +03:00
asava
7951eb69ba Exclude redundant calls to LoadXImage in Linux Scan 2020-04-14 09:51:00 +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
asava
b828a3b2e1 Correct previous commit 2020-04-13 18:55:20 +03:00
asava
f81078e79b Correct Linux scan 2020-04-13 18:43:32 +03:00
asava
31079aea32 Add back full paths possibility to custom entries 2020-04-13 14:13:37 +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
5eadae5eb8 More corrections to Custom Entries 2020-04-13 01:28:01 +03:00
Sergey Isakov
d341f40520 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-12 21:54:19 +03:00
Sergey Isakov
12990aacd1 repair background scaling
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-12 21:53:27 +03:00
asava
15a2b3ec53 correct more CustomEntries mistakes 2020-04-12 20:20:47 +03:00
asava
fbc970b44d Correct refactoring issues with CustomEntries 2020-04-12 18:36:40 +03:00
Sergey Isakov
c572e50ec6 repair add options
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-11 23:39:51 +03:00
Sergey Isakov
de181aecfb change background of embedded theme
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-11 23:08:03 +03:00
Sergey Isakov
da0022e7c5 revert check for empty option
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-11 21:16:05 +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
Sergey Isakov
9440b56a61 refactor custom boot
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-11 15:34:59 +03:00
Jief L
84f956714f Some prototypes cleaning. 2020-04-11 09:21:06 +03:00
Jief L
cb51add9aa Add 2 tests about spd serial. 2020-04-11 09:12:10 +03:00
Sherlocks
400640b902 Added modern Intel CPUID 2020-04-11 14:38:09 +09:00
Sherlocks
edd3864b10 Added MBA91, updated firmware versions for T2 models by Andrey1970 2020-04-11 13:40:17 +09:00
Sergey Isakov
ada55825ec Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-10 22:30:07 +03:00
Sergey Isakov
ba80bb4f4d use embedded logo, drive image priorities changed
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 22:29:51 +03:00
asava
986af76df2 Correct missing icons for Linux entries 2020-04-10 22:02:30 +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
521485c852 Adjust format. 2020-04-10 16:32:34 +03:00
Jief L
109cbc1cda Some more checked conversion to snprintf. 2020-04-10 16:27:04 +03:00
Jief L
79c36b193d AsciiSPrint format error in ATIConnectorsPatchInit. Switch to snprintf. 2020-04-10 16:17:50 +03:00
Jief L
6d54a4c0b6 Get rid of AsciiPrintf used with %d 2020-04-10 15:35:25 +03:00
Jief L
c8f3a40532 Get rid of AsciiPrintf use for char. 2020-04-10 15:26:35 +03:00
Jief L
9c100f2a3f Get rid of AsciiPrintf use for string (CHAR8 and CHAR16) 2020-04-10 15:17:23 +03:00
Jief L
2fb28154a8 Unit test. 2020-04-10 14:32:10 +03:00
Jief L
8e8fb57178 Fix printf width specifier for %s. 2020-04-10 14:01:16 +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
Sergey Isakov
92ecdbf630 repair vector themes
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 06:11:00 +03:00
Sergey Isakov
f3bf23c79e rename arguments in ctor
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-09 22:39:40 +03:00
Sergey Isakov
fc567c71c0 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-09 21:04:57 +03:00