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