Commit Graph

189 Commits

Author SHA1 Message Date
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