Commit Graph

859 Commits

Author SHA1 Message Date
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
Sergey Isakov
fd2547c281 safe draw
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-09 21:04:35 +03:00
Jief L
43bf62431e Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-09 20:09:30 +03:00
Jief L
2d11da499e Silence warnings. 2020-04-09 20:07:32 +03:00
Sergey Isakov
dc52af47f0 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-09 20:01:30 +03:00
Sergey Isakov
c995284c06 some pointer copy must be replaced by value copy
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-09 20:01:23 +03:00
Jief L
a7e897706c Quick fix of a crash. 2020-04-09 19:51:49 +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
Jief L
da5dc56504 Add a test in XStringW. 2020-04-09 18:12:48 +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
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
Jief L
879b0c2961 DontStopAtPanic helper, XUINTN remove, PRIuPTR and few warnings. 2020-04-08 13:49:00 +03:00
Sergey Isakov
b245ea17d4 some cleanup
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-08 13:04:54 +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
91ba53fd1c fix compose, fix badge position
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-08 10:32:26 +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
5a85883180 update linux list
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-06 20:06:48 +03:00
Sergey Isakov
0a3f4c3575 fix uninitialized disk type
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-06 18:40:45 +03:00
Sergey Isakov
7635c0ca3b cache embedded images
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-06 15:26:16 +03:00
Sergey Isakov
3ba2ecd0fc use builtin icons when not theme provided
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-06 12:15: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
1f2832897e Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-05 21:57:00 +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
asava
ed86b5eabf add missing files to refit.inf 2020-04-05 21:36:40 +03:00
Sergey Isakov
f1c72d752e simplify drawBCS
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-05 20:06:09 +03:00
Sergey Isakov
ac789c25aa Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-04-05 18:55:38 +03:00
Sergey Isakov
4d9c1efd0c take optional os icons
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-05 18:54:10 +03:00
Jief L
83cd92cb9f Remove floating point as bool warning. 2020-04-05 18:23:51 +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
Jief L
875bda8a56 Delete REFIT_MENU_SCREEN.cpp 2020-04-04 13:01:49 +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
f638ad999a correct add legacy entry
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-04 06:46:41 +03:00
Sergey Isakov
f61d46411b x,y have to be signed int
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-04 05:59:17 +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
Jief L
418b4f4cc3 Get SelectionImage to work. 2020-04-02 22:27:10 +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
Jief L
8b806cf4e7 Example of UTF16 conversion with XString. 2020-03-31 10:27:50 +03:00
Jief L
876ed07554 Cleanup panic() function. 2020-03-31 09:10:47 +03:00
asava
6c816f8595 add cast to previous commit 2020-03-31 03:16:18 +03:00
asava
e149dafe4d Correct mistake with nvidia inject name 2020-03-31 03:09:53 +03:00
Jief L
2cb912ca74 Fix XImage assignment operator a better way. 2020-03-31 00:42:58 +03:00
Jief L
cdf5913c24 Fix XImage assignment operator in case other is empty. 2020-03-31 00:28:12 +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
fb901fa1a0 dont commit USE_XTHEME
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-30 18:53:11 +03:00
Sergey Isakov
1397ffe580 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-30 18:32:00 +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
Sherlocks
6d19576520 Update KernelXCPM for 10.15.4 2020-03-30 23:11:18 +09: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
asava
7e747613a9 Change arithmetics order to allow mouse movement in cases with high mouse resolution 2020-03-29 21:02:54 +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
3e58b71ea6 USE_XTHEME=0 for now. Cast in lodepng to avoid VS2017 warnings. 2020-03-29 14:42:17 +03:00
Jief L
b605d0d3bb Use size_t for Width and Height to conform eglodepng_decode prototype. 2020-03-29 13:35:09 +03:00
Jief L
22b9a6013b Fix compilation of getIcon methods 2020-03-29 13:19:05 +03:00
Jief L
6f46b07534 Operator _XS. Fix to VectorGraphics I've misunderstood. 2020-03-29 12:40:13 +03:00
Jief L
1eac7bacfb Some compile errors. 2020-03-29 12:06:34 +03:00
SergeySlice
6ca8e4426b some string corrections
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-29 11:07:59 +03:00
SergeySlice
443ad8ee3e dont commit USE_XTHEME
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-29 10:18:00 +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
fab5d07b37 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-28 21:34:37 +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
324b0608e6 Move operator (ctor and =). 2020-03-28 19:17:02 +03:00
Jief L
1cb19148e5 Forgot to update refit.inf 2020-03-28 18:54:53 +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
SergeySlice
20124ba433 reduce timeout after OS start caused by debug.log with dsdt patching
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-27 20:35:39 +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
e5beea2f1b exclude tests for VS
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-27 11:29:38 +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
01e8807236 dont commit USE_XTHEME
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-26 23:35:12 +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
8e42d69706 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-26 20:00:58 +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
Jief L
95f3123235 Remove PoolPrintFloat, adapt format litteral. 2020-03-26 19:49:10 +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
Sergey Isakov
a1d4a74efb update GUI settings for xtheme
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-26 11:18:28 +03:00
Jief L
84306ecbd8 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-25 21:33:21 +03:00
Jief L
e8fd94bb8f Switch to new printf format for DebugLog. 2020-03-25 21:32:44 +03:00
Sergey Isakov
6db46bffc3 repair mouse events
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-25 21:22:34 +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
0af69ed7a3 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-24 18:17:22 +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
Sherlocks
83da928616 Correct common 0xE2 prologue patterns for KernelPM patch info 2020-03-24 22:23:05 +09:00
Sherlocks
26166b6aec Change DBG to DBG_RT for essential kernel patch to trace patch easily 2020-03-24 21:55:35 +09: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
73b9eabd22 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-23 17:51:32 +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
Sherlocks
af8a84f478 Add missed return 2020-03-23 23:11:27 +09:00
Sherlocks
425a71629c Fix previous commit that KernelPM patch 2020-03-23 22:49:06 +09:00
Sherlocks
d62ea4f7f6 Fix KernelPM Patch for 10.14.6 beta 6
Add debug line for trace
2020-03-23 22:31:04 +09: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
asava
ceb6ffbd2f Omit debug to console in printf_lite tests 2020-03-21 23:36:24 +02: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
asava
3f1eb9a02e add missing files to inf 2020-03-21 18:38:20 +02:00
asava
18a38138e4 Fix hang before Clover GUI caused by the use of freepool to free alligned pages 2020-03-21 18:02:01 +02:00
Jief L
14cdfe29c7 MemLogf and MemLogfVA. Not used yet in Clover. 2020-03-21 16:12:26 +03:00
Jief L
35e2eec3cc Some (not all) compilation issues fixed. 2020-03-21 14:43:45 +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
16947ddbe4 advance vector graphics for xtheme
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-20 23:10:08 +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
23ba4b218e reduce dbg messages
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-20 05:54:20 +03:00
Sergey Isakov
3c9332b833 fix fonts release
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-20 05:47:58 +03:00
asava
4d07a7376b add missing files in refit.inf 2020-03-19 23:03:24 +02:00
asava
2f01155383 Correct mask handling mixup between KextPatches/KernelPatches/BootPatches 2020-03-19 22:40:27 +02:00
Sergey Isakov
054898eef3 implemented LoadXImage
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-19 21:35:58 +03:00
Sergey Isakov
c64788a19e improve setSizeInPixels
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-19 09:56:31 +03:00
Sergey Isakov
ce86d7f6b8 ensure image size
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-19 07:15:08 +03:00
SergeySlice
7461b02052 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-18 17:12:12 +03:00
SergeySlice
eac40c312e begin fill theme with images
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-18 17:11:56 +03:00
Sherlocks
df00594fce update platformdata
from 10.15.4 beta 5
2020-03-18 20:47:17 +09:00
Sergey Isakov
2d82d317e3 init selections and buttons
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-18 12:07:34 +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
0aefccfc82 dont use xtheme for this moment
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-16 15:29:27 +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
Sergey Isakov
a239da8d61 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-16 10:19:39 +03:00
Sergey Isakov
4618b74d1a repair kernel patching
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-16 07:27:02 +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
59059ce210 uintptr_t in strlen.cpp 2020-03-13 19:04:20 +03:00
Jief L
62a379d0a0 Xcode warnings. 2020-03-13 18:58:13 +03:00
Jief L
175f047e15 Typo. 2020-03-13 17:40:06 +03:00
Jief L
09bf1901e4 VS compilation. 2020-03-13 17:37:37 +03:00
Sergey Isakov
ac829bd589 merge conflicts
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-13 16:38:52 +03:00
Sergey Isakov
d79dcb5f9e advance xtheme invention
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-13 16:34:36 +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
Jief L
3d73ed884e VS2017 warnings. 2020-03-12 19:16:18 +03:00
Jief L
c2897bf11e DBG wrongly defined in XString header. 2020-03-12 18:27:17 +03:00
Jief L
3ded70c215 Avoid redefining in XString. refit.inf updated. 2020-03-12 18:23:36 +03:00
Jief L
4cad90281f Activate snprintf in printf_lite. 2020-03-12 17:46:04 +03:00
jief
b920b9f8fb Introducing a UTF8 XString 2020-03-12 17:40:38 +03:00
Sergey Isakov
59dd1913b8 make initializing of xtheme
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-12 17:00:36 +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 L
8541a85391 Disable warning for VS. 2020-03-11 21:36:21 +03:00
jief
b0da9ea598 cpp tests debug message cleaning. 2020-03-11 19:41:45 +03:00
jief
8a7950d99a Allow NULL title in NewEntry_. 2020-03-11 19:41:20 +03:00
jief
f641a26d3a Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-11 19:33:04 +03:00
jief
d3f5ae071e Remove dead code that gives a warning with GCC. 2020-03-11 19:32:32 +03:00
jief
3e95e94a05 Allow NULL as parameter in StrLenInWChar. 2020-03-11 19:32:08 +03:00
Jief L
931ac041c6 Replace __typeof__ by __typeof_am__ for VS 2020-03-11 18:44:11 +03:00
jief
8931f35eb8 Forgot again the __ after __typeof 2020-03-11 18:36:08 +03:00
jief
acfb89da04 Resolved ambiguous operator for clang. 2020-03-11 17:27:07 +03:00
jief
19cfe2831a Warning removal. New class XUINTN (not yet used). 2020-03-11 17:23:58 +03:00
jief
e6509221b4 Test always true. 2020-03-11 16:24:29 +03:00
Sergey Isakov
61cab50a09 fix mistake with deleteParser
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-11 14:52:40 +03:00
Sergey Isakov
2e598c0046 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-11 08:55:35 +03:00
Sergey Isakov
edd13a1ae6 unused argument
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-11 08:55:10 +03:00
jief
9d0ad9966d underscore forgotten in #ifdef __cplusplus 2020-03-11 07:48:40 +03:00
Sergey Isakov
bdee69a7ef header compatibility with Clover.app
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 22:08:52 +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
e602853ba3 cancel svg debug
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 17:06:16 +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
a601d335ea Clean the menu item hierarchy, 2. 2020-03-10 13:00:17 +03:00
jief
41c49267a5 Clean the menu item hierarchy. 2020-03-10 12:45:17 +03:00
Sergey Isakov
a3dc82d30b dont free memory already free
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 12:25:09 +03:00
Sergey Isakov
e39c53e831 vs dont like __typeof
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 11:05:37 +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
579b28b4f3 Build system improvements.
Rationalize optimizing flags and lto.
build_rule to generate and keep .debug file.
GenFW generate section at the same address as compiler for debugging.
2020-03-09 15:32:09 +03:00
jief
8ebb863d4f Alive member initialization. 2020-03-09 12:35:14 +03:00
jief
c355af81f4 Draw2 renamed to DrawWithoutCompose. Improved. 2020-03-09 11:14:05 +03:00
jief
efaf94491e Improve panic() 2020-03-09 11:09:29 +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
jief
c4da0ef5f6 Forgot the refit.inf for ICNS 2020-03-08 20:17:50 +03:00
jief
89ea36f6cc Support for ICNS in image.cpp was commented out. 2020-03-08 19:19:54 +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
Sherlocks
26b6f6079f correct previous missed commit 2020-03-07 22:38:02 +09:00
Sherlocks
3d0d641caa Fix typo and Black screen when waking from sleep on HD5500
checked it on Samsung nt910s5k
2020-03-07 22:35:01 +09:00
Sergey Isakov
a00e148510 exclude debug messages
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-07 09:43:50 +03:00
Sergey Isakov
6c592d8004 working mouse pointer and ximage.draw
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-07 09:37:19 +03:00
Sergey Isakov
c3103859b6 draw in non-working state
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-07 00:08:04 +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
Sergey Isakov
aea5deed32 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-06 18:30:12 +03:00
Sergey Isakov
328ede88f0 update About menu
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-06 18:30:07 +03:00
Sergey Isakov
d71acbb41d testing draw, not working
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-06 17:02:06 +03:00
jief
564a3ca06c Make XPointer a shared instance. Fixed some unallocated memory with
XArray.
2020-03-06 10:55:52 +03:00
jief
bc45ded349 Comment out unused code. 2020-03-06 03:31:19 +03:00
vectorsigma72
d77778e62a No more Clover version 2020-03-05 22:28:24 +01:00
Sergey Isakov
b5dc9e1b7f testing mouse
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-05 21:23:21 +03:00
Sergey Isakov
797b5638d6 exclude old pointer
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-05 18:58:08 +03:00
Sergey Isakov
b735290ad2 some cleanup
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-05 16:59:17 +03:00
Sergey Isakov
0ca41b23f2 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-05 14:50:13 +03:00
Sergey Isakov
437e2b9965 a trick to not generate memset in VS2017
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-05 14:49:47 +03:00
jief
5fb0d2a601 Remove duplicated member AtClick 2020-03-05 14:43:31 +03:00
jief
2b41073035 Jief debug code 2020-03-05 10:38:15 +03:00
jief
75f33a759b NULL check added. 2020-03-05 10:37:50 +03:00
jief
6c6f440b99 Default ctor to be sure Item is init to 0 2020-03-05 10:37:15 +03:00
jief
640da74dd2 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-05 09:44:12 +03:00
jief
f8bf956a39 Check pointer before using it. 2020-03-05 09:42:50 +03:00
SergeySlice
69a65db69b some security checks
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-05 06:37:21 +03:00
jief
c6a59f85f9 Caught few access to address 0 2020-03-05 00:54:59 +03:00
jief
2a106ef602 typo. 2020-03-04 23:45:36 +03:00
jief
5ddb6c1d79 Handle NULL in ctor. 2020-03-04 23:39:48 +03:00
jief
d549733729 A bit of debug code to keep. 2020-03-04 22:19:44 +03:00
Jief L
bd9458b270 Add default ctor 2020-03-04 19:34:05 +03:00
Jief L
0812cdb6d5 VS2017 warning 2020-03-04 19:33:30 +03:00
jief
6417348844 Fix bad object allocation, remove some REFIT_MENU_SCREEN ctors. 2020-03-04 18:27:41 +03:00
Jief L
2fca0d97a5 VS2017 C++ globals and unit tests 2020-03-04 16:37:39 +03:00
Sergey Isakov
11bf50dc3a eliminate VS2017 warnings
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-04 12:50:43 +03:00
jief
1ee664b022 Put back CONST to suppress warnings 2020-03-04 09:33:20 +03:00
jief
dbb5187ae5 Line only half commented out. 2020-03-04 09:32:44 +03:00
jief
78f899a927 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-04 09:22:39 +03:00
jief
4bec5cab80 Use new instead of Allocate for objects. 2020-03-04 09:21:43 +03:00
Sergey Isakov
b9b89cc46a change debugging codes
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-04 09:20:37 +03:00
Sergey Isakov
ab6d11f473 fix InputDialog with style function
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-04 06:40:49 +03:00
Sergey Isakov
4e63e897cb auto merge
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 23:55:37 +03:00
Sergey Isakov
c1f6e8137a refactoring menu entries
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 23:44:07 +03:00
jief
fd327e2b1f Fix unresolved external. 2020-03-03 23:18:21 +03:00
jief
fc2f226e8d Resolve conflicts. Compile, but unresolved external. 2020-03-03 17:43:23 +03:00
Sergey Isakov
b3e48e0547 merge conflicts
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 17:21:48 +03:00
Sergey Isakov
8ff35c6295 improved XPoitner and XImage, menu advance
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 17:17:39 +03:00
jief
99c79d0f94 Using pointer-to-member. 2020-03-03 16:52:23 +03:00
jief
ab391cd1cc 2 details that didn't compile. 2020-03-03 14:41:00 +03:00
Sergey Isakov
24e779c6f8 refactoring menu
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 12:45:07 +03:00
jief
416fb4aa77 Use ptr for IN parameter. Use ref in method body. 2020-03-03 00:04:09 +03:00
Sergey Isakov
2021c9b51d use &Screen instead of *Screen
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-02 22:54:19 +03:00
Sergey Isakov
3b49178480 merge conflicts
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-02 22:02:28 +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
jief
5b1c65486c XPointer revisited. 2020-03-02 18:43:54 +03:00
Sergey Isakov
dcdd8cc091 avoid memset generation
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-02 16:46:30 +03:00
Sergey Isakov
1acd6a43b4 first implementation of XPointer class
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-02 15:00:24 +03:00
vectorsigma72
e8a29b1a29 Clover.app v1.16 with clover-genconfig ability
The internal parser is  retro compatible with old Clover revisions since r3250. This is possible because a check for the existence of any variable inside SETTING_DATA structure is performed before the call. Variables are all accessed using the label property of the Mirror class, so as a string.
2020-03-01 15:16:28 +01:00
Sergey Isakov
a260cbad92 some remarks
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-01 11:46:12 +03:00
jief
2de3b84957 Moved DriveImage and BadgeImage down the hierarchy because only loader
use them.
2020-02-29 15:56:36 +03:00
jief
dec25e954e Start refactoring includes. Make gen-config compile. 2020-02-29 10:30:21 +03:00
Sergey Isakov
28fd5f1353 operator new works with DevProps
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-29 08:19:23 +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
5709ec8c2c quirky but working
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 22:41:03 +03:00
Sergey Isakov
bdc977d14f make genconfig happy
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 21:12:57 +03:00
Sergey Isakov
b6f2478cff create XImage from svg
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 17:08:40 +03:00
Sergey Isakov
a2534ee4f8 more strict type conversion in cpp
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 15:09:32 +03:00
Sergey Isakov
7999d10b9c update lodepng to version 20200219
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 14:26:24 +03:00
jief
bddbdbff13 rEFIt_UEFI/Platform/StateGenerator.cpp 2020-02-28 13:21:33 +03:00
Sergey Isakov
3fdc507aff fix bootsector compilation in VS
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 11:14:12 +03:00
asava
2479b2a499 Allocate DEV_PROPERTY nodes with AllocateZeroPool 2020-02-27 21:54:26 +02:00
jief
c77802d200 Refactor of "Volumes" global var as an XObjArray. 2020-02-27 17:34:29 +03:00
Sergey Isakov
4b4d1bb9d5 implement smooth image scaling
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 17:02:43 +03:00
Sergey Isakov
5c73df9feb use setEmpty in XArray
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 16:11:03 +03:00
Sergey Isakov
6c6fe90842 use isEmpty and setEmpty
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 15:32:14 +03:00
Sergey Isakov
448ee95681 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-02-27 15:06:27 +03:00
Sergey Isakov
cf70d0a267 cant use enum in packed structure
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 15:06:01 +03:00
jief
08fbee9846 Avoid using explicit type. 2020-02-27 14:50:29 +03:00
jief
5fc9b805af empty cannot be define for a const object, because empty modifed itself. 2020-02-27 14:48:47 +03:00
Sergey Isakov
4be169f058 full lodecpp features
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 12:49:02 +03:00
Sergey Isakov
d1043e2673 modify XArray and lodepng to compile as cpp
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 12:17:50 +03:00
Sergey Isakov
8dbd938bf3 replace std::vector with XArray
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 08:20:15 +03:00
Sergey Isakov
02108d8f48 fix mistake with x instead of y
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 23:57:58 +03:00
Sergey Isakov
297b3601bf current changes to ximage
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 22:44:16 +03:00
asava
78e3bece9f Correct mistake in devtree memory allocation 2020-02-26 21:32:50 +02:00
asava
80d1b0b9da correct path of Version.h 2020-02-26 19:19:28 +02:00
Sergey Isakov
d6885d3f2a more image functions
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 16:59:10 +03:00
Sergey Isakov
f4457dc741 few polish of png functions
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 09:13:03 +03:00
Sergey Isakov
1946bf5838 implement PNG coding in ximage
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 09:05:14 +03:00
jief
8727ae6f54 Refactor of XImage to use XArray and create accessor for pixel. 2020-02-26 00:28:36 +03:00
jief
9ac41a3c9d Added const in XImage 2020-02-25 23:57:23 +03:00
Sergey Isakov
a0b40c06dc created XImage::Compose
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-25 23:19:39 +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
Sergey Isakov
a4952d32de preliminary introduce image class
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-25 16:55:39 +03:00
Sergey Isakov
0155a4bf8a some VS adoptations
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-25 13:29:33 +03:00
jief
2775f5a2d4 refit.inf update.
Removed an inline that failed compilation with clang.
2020-02-24 22:02:32 +03:00
jief
ed8f05d367 Commit the real files instead of symlinks. 2020-02-24 17:51:58 +03:00
jief
eb5071dede Remove symlinks. 2020-02-24 17:51:02 +03:00
jief
40dbcf08a9 UTF8 conversion for XStringW 2020-02-24 16:07:24 +03:00
jief
71e952401a Import XStringWArray in Clover.
Added unit tests
2020-02-23 23:23:31 +03:00
jief
56ca2c3e67 Import XArray and XObjArray.
Create a basic unit test of C++ classes.
2020-02-23 14:21:28 +03:00
jief
0d110b4b72 JIEF_DEBUG instead of CLOVER_DEBUG 2020-02-23 14:20:22 +03:00
Sergey Isakov
160b9231d7 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-02-23 08:53:53 +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
Sherlocks
e4c5d4e8ff Update GS layout for LAPIC patch on 10.15.4 by vit9696 2020-02-23 12:33:39 +09:00
Sergey Isakov
3933f80eb2 correct sorting
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-22 17:07:46 +03:00
Jief L
8199d9b75c Remove unecessary cast. Some cleanups. 2020-02-22 00:22:30 +03:00
Sergey Isakov
9378884f6e fix genconfig compilation
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-21 19:28:24 +03:00
Sergey Isakov
371e80725e fix cbuild.bat and Version file location
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-21 15:37:50 +03:00
Jief L
82aaf09e74 VC2017 compilation 2020-02-21 12:44:15 +03:00
Jief L
c6499afa83 Fix AddListElement
Remove non-const casts
2020-02-21 08:29:22 +03:00
Jief L
241a55ce69 Fixing some CONST. 2020-02-21 08:22:09 +03:00
Jief L
32332dd157 Fix to be able to get typeof of an array member. 2020-02-21 07:51:48 +03:00
Sergey Isakov
eb26300fd6 some more fixes
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-21 06:54:01 +03:00
Sergey Isakov
127b035930 fix GCC53 compilation
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 19:24:30 +03:00
Sergey Isakov
8cb786d57e Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-02-20 18:49:24 +03:00
Sergey Isakov
57e21d5a60 replace memset with SetMem because of compiler
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 18:49:18 +03:00
Sergey Isakov
5b02b51273 more type casting fixes
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 17:28:24 +03:00
Sergey Isakov
f8098a8336 some adoptation to VS2017
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 15:53:27 +03:00
Sergey Isakov
eb938ce184 improved cbuild.bat
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 11:57:10 +03:00
Sergey Isakov
db08c98366 speedup png by using quicksort
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-19 20:36:26 +03:00
Sergey Isakov
20237d492a cleanup
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-18 21:49:54 +03:00
jief
41bcb0f618 Wrong type for downward loop. 2020-02-18 10:17:21 +03:00
jief
c59da4d55a Debug message to enable real time debugging. 2020-02-18 09:03:14 +03:00
jief
15c1c82a6d Fix build of clover-genconfig 2020-02-18 08:58:56 +03:00
jief
7fa464fde0 Final switch to C++ compiler 2020-02-17 23:41:09 +03:00
jief
bfc77330a8 Activate Debug on Console (temporary) 2020-02-17 12:55:09 +03:00
jief
5a63f45f7d Switch to new mtoc 2020-02-17 12:54:54 +03:00
jief
3405798581 Keep only on refit.inf 2020-02-17 12:49:43 +03:00
Sergey Isakov
60b6eb5c33 use RT instead of RS
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-16 15:00:20 +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
Sergey Isakov
86cb372de2 add missing files
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-15 17:51:18 +03:00
Sergey Isakov
d2ac4d7de9 merge master and c++_globals
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-15 17:29:59 +03:00
Sergey Isakov
82347b1e8d use own implementation for CopyMem and SetMem instead of BIOS
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-14 07:15:10 +03:00
Sergey
27de9a9c9a
Merge pull request #75 from Florin9doi/issue_74
Repair network installer; Fixes #74
2020-01-22 15:22:21 +03:00
Sherlocks
d28f18009a fix duplicate case value 'MacPro71' 2020-01-18 21:19:07 +09:00
Sherlocks
d5f6f30aaf Update Platformdata.c
from macOS Catalina 10.15.3 beta 2
2020-01-18 21:01:23 +09:00
Florin9doi
8d011472bd Repair network installer; Fixes #74 2020-01-16 19:07:27 +02:00
jief
718c915f1f USe .VolumeLabel.txt for bottom right message. 2020-01-15 10:58:18 +03:00
SergeySlice
3f3b85da08 apply dsdt fix changes to master
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2020-01-06 20:46:31 +03:00
SergeySlice
2e4cbf3268 define CometLake
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2020-01-05 09:29:06 +03:00
Sherlocks
8a5065daf0 correct PlatformFeature of MacPro7,1 2020-01-05 01:58:32 +09:00
Sherlocks
28eeef72fd Update platformdata
from 10.15.3 beta1
2020-01-02 23:24:25 +09:00
SergeySlice
1a0fa4b577 fix unused variables caused by previous commit
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2020-01-02 09:34:06 +03:00
SergeySlice
8e5bfb6a61 manual set _UID for PNLS device
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2020-01-02 09:29:08 +03:00
SergeySlice
e168d7c74f resolve conflicts
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-31 20:46:52 +03:00
SergeySlice
9345c5c5ee text formatting
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-31 20:44:47 +03:00
Sergey Isakov
36e7d8340b Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2019-12-31 12:13:32 +03:00
Sergey Isakov
34b8946dc1 comments
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-31 12:13:16 +03:00
vectorsigma72
12d559aef6 Log audio devices
Parsing the boot-log will help Clover.app finding startup audio settings.
2019-12-28 23:34:11 +01:00
Florin9doi
9c2995d211 Revert MKextV1 patcher 2019-12-28 12:30:36 +02:00
Florin9doi
d74fc41df0 Clean-up MKext patcher a little 2019-12-27 19:42:56 +02:00
jief
9d99cb049d Fix pointer of type 'void *' used in arithmetic (cast priority) 2019-12-27 18:21:10 +01:00