Commit Graph

716 Commits

Author SHA1 Message Date
asava
d521fc1c10 Make LinuxScan first try preloaded, and if such doesn't exist, load from dir 2020-04-29 02:00:40 +03:00
asava
592b75ff01 Correct comment 2020-04-29 00:49:23 +03:00
asava
4f5133deeb Make LinuxScan use LoadOSIcon 2020-04-29 00:32:05 +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
jief
e26fe8ba0c Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-28 22:31:05 +03:00
jief
2ff93a346a BootOption.VariableSize was left uninitialized. 2020-04-28 15:19: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
Sergey Isakov
279fbaffa8 use partial string for procedure name
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-28 10:51:58 +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
asava
aba4619c5e Remove scrollbar flicker & restrict menu text length 2020-04-27 22:49:38 +03:00
Jief L
06647fcee7 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-27 22:20:39 +03:00
Jief L
2a5571d032 loadOptionsW was destroyed before call to StartImage. 2020-04-27 22:20:16 +03:00
vectorsigma72
e5983bdf6a Punctuations 2020-04-27 17:39:35 +02:00
SergeySlice
5834434d93 addition to the commit before
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-27 18:18:36 +03:00
SergeySlice
216606d566 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-27 18:17:20 +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
vectorsigma72
dca2aafe40 New _xcpm_bootstrap patch location fo 10.15.4 + 2020-04-27 16:05:41 +02:00
asava
22eeceb841 Use ResultString 2020-04-27 16:26:58 +03:00
asava
f78d6dbb7c Update TitleLen 2020-04-27 15:59:37 +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
asava
4694008abe Correct previous commit 2020-04-27 11:55:14 +03:00
asava
1f991d348e Move MaxTextLen initialization to menu init 2020-04-27 11:39:21 +03:00
asava
84f7f87a53 Simplify calculations 2020-04-27 03:57:19 +03:00
asava
ae75e6489b Correct some GUI glitches 2020-04-27 03:46:51 +03:00
asava
e210ec2d04 Correct disappearing icon in submenus 2020-04-26 23:08:58 +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
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
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