Commit Graph

752 Commits

Author SHA1 Message Date
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
Sergey Isakov
70ecc2b1e6 exclude clover-genconfig from build
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-01 20:40:55 +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
45f95118cd exclude clover-genconfig
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-29 08:54:53 +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
Sergey Isakov
32ec9183d5 merge conflict
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 23:16:25 +03:00
Sergey Isakov
9d6949c98f make allocate instead of new
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 23:13:38 +03:00
asava
2479b2a499 Allocate DEV_PROPERTY nodes with AllocateZeroPool 2020-02-27 21:54:26 +02:00
asava
8578de1abe Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-02-27 21:47:23 +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
asava
98a2ae64a4 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-02-26 22:58:36 +02:00
asava
93e431584c correct mistake in nanosvg 2020-02-26 22:57:59 +02: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