Commit Graph

267 Commits

Author SHA1 Message Date
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
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
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
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
e8fd94bb8f Switch to new printf format for DebugLog. 2020-03-25 21:32:44 +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
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
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
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
2f01155383 Correct mask handling mixup between KextPatches/KernelPatches/BootPatches 2020-03-19 22:40:27 +02: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
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
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
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
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
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
jief
51711c1004 Disable assign & ctor with char* and wchar_t* parameter. 2020-03-10 19:50:55 +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
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
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
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
jief
f8bf956a39 Check pointer before using it. 2020-03-05 09:42:50 +03:00
jief
c6a59f85f9 Caught few access to address 0 2020-03-05 00:54:59 +03:00
jief
6417348844 Fix bad object allocation, remove some REFIT_MENU_SCREEN ctors. 2020-03-04 18:27:41 +03:00
jief
4bec5cab80 Use new instead of Allocate for objects. 2020-03-04 09:21:43 +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
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
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
a2534ee4f8 more strict type conversion in cpp
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 15:09:32 +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
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
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
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
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
Jief L
82aaf09e74 VC2017 compilation 2020-02-21 12:44:15 +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
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