Commit Graph

112 Commits

Author SHA1 Message Date
Sergey Isakov
6236f85a79 avoid memset generation
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-16 10:31:59 +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
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
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
8a7950d99a Allow NULL title in NewEntry_. 2020-03-11 19:41:20 +03:00
jief
51711c1004 Disable assign & ctor with char* and wchar_t* parameter. 2020-03-10 19:50:55 +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
41c49267a5 Clean the menu item hierarchy. 2020-03-10 12:45:17 +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
1cb7b4e69e Few cleaning in XImage. XPointer improvement.
Renamed some method in XArray XObjArray and XStringW.
2020-03-09 04:12:24 +03:00
Sergey Isakov
c5f8b7df7b update russian localization
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-08 08:09:20 +03:00
Sergey Isakov
aea5deed32 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-06 18:30:12 +03:00
Sergey Isakov
328ede88f0 update About menu
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-06 18:30:07 +03:00
jief
564a3ca06c Make XPointer a shared instance. Fixed some unallocated memory with
XArray.
2020-03-06 10:55:52 +03: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
75f33a759b NULL check added. 2020-03-05 10:37:50 +03:00
jief
640da74dd2 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-05 09:44:12 +03:00
jief
f8bf956a39 Check pointer before using it. 2020-03-05 09:42:50 +03:00
SergeySlice
69a65db69b some security checks
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-05 06:37:21 +03:00
jief
c6a59f85f9 Caught few access to address 0 2020-03-05 00:54:59 +03:00
jief
d549733729 A bit of debug code to keep. 2020-03-04 22:19:44 +03:00
jief
6417348844 Fix bad object allocation, remove some REFIT_MENU_SCREEN ctors. 2020-03-04 18:27:41 +03:00
Sergey Isakov
11bf50dc3a eliminate VS2017 warnings
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-04 12:50:43 +03:00
jief
4bec5cab80 Use new instead of Allocate for objects. 2020-03-04 09:21:43 +03:00
Sergey Isakov
ab6d11f473 fix InputDialog with style function
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-04 06:40:49 +03:00
Sergey Isakov
4e63e897cb auto merge
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 23:55:37 +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
jief
fd327e2b1f Fix unresolved external. 2020-03-03 23:18:21 +03:00
jief
fc2f226e8d Resolve conflicts. Compile, but unresolved external. 2020-03-03 17:43:23 +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
jief
ab391cd1cc 2 details that didn't compile. 2020-03-03 14:41:00 +03:00
Sergey Isakov
24e779c6f8 refactoring menu
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 12:45:07 +03:00
jief
416fb4aa77 Use ptr for IN parameter. Use ref in method body. 2020-03-03 00:04:09 +03:00
Sergey Isakov
2021c9b51d use &Screen instead of *Screen
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-02 22:54:19 +03:00