Commit Graph

285 Commits

Author SHA1 Message Date
Jief L
3cac160b6d Put functions back in menu.cpp 2020-04-04 15:27:02 +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
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
5b84f64f61 pixel operations
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-01 20:07:57 +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
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
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
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
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