Jief L
3ded70c215
Avoid redefining in XString. refit.inf updated.
2020-03-12 18:23:36 +03:00
Jief L
4cad90281f
Activate snprintf in printf_lite.
2020-03-12 17:46:04 +03:00
jief
b920b9f8fb
Introducing a UTF8 XString
2020-03-12 17:40:38 +03:00
Sergey Isakov
59dd1913b8
make initializing of xtheme
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-12 17:00:36 +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 L
8541a85391
Disable warning for VS.
2020-03-11 21:36:21 +03:00
jief
b0da9ea598
cpp tests debug message cleaning.
2020-03-11 19:41:45 +03:00
jief
8a7950d99a
Allow NULL title in NewEntry_.
2020-03-11 19:41:20 +03:00
jief
f641a26d3a
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-11 19:33:04 +03:00
jief
d3f5ae071e
Remove dead code that gives a warning with GCC.
2020-03-11 19:32:32 +03:00
jief
3e95e94a05
Allow NULL as parameter in StrLenInWChar.
2020-03-11 19:32:08 +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
acfb89da04
Resolved ambiguous operator for clang.
2020-03-11 17:27:07 +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
Sergey Isakov
61cab50a09
fix mistake with deleteParser
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-11 14:52:40 +03:00
Sergey Isakov
2e598c0046
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-11 08:55:35 +03:00
Sergey Isakov
edd13a1ae6
unused argument
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-11 08:55:10 +03:00
jief
9d0ad9966d
underscore forgotten in #ifdef __cplusplus
2020-03-11 07:48:40 +03:00
Sergey Isakov
bdee69a7ef
header compatibility with Clover.app
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 22:08:52 +03:00
Sergey Isakov
0d4c4eb5ee
C++ One Definition Rule
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 21:31:40 +03:00
jief
51711c1004
Disable assign & ctor with char* and wchar_t* parameter.
2020-03-10 19:50:55 +03:00
Sergey Isakov
e602853ba3
cancel svg debug
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 17:06:16 +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
a601d335ea
Clean the menu item hierarchy, 2.
2020-03-10 13:00:17 +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
Sergey Isakov
e39c53e831
vs dont like __typeof
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 11:05:37 +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
579b28b4f3
Build system improvements.
...
Rationalize optimizing flags and lto.
build_rule to generate and keep .debug file.
GenFW generate section at the same address as compiler for debugging.
2020-03-09 15:32:09 +03:00
jief
8ebb863d4f
Alive member initialization.
2020-03-09 12:35:14 +03:00
jief
c355af81f4
Draw2 renamed to DrawWithoutCompose. Improved.
2020-03-09 11:14:05 +03:00
jief
efaf94491e
Improve panic()
2020-03-09 11:09:29 +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
jief
c4da0ef5f6
Forgot the refit.inf for ICNS
2020-03-08 20:17:50 +03:00
jief
89ea36f6cc
Support for ICNS in image.cpp was commented out.
2020-03-08 19:19:54 +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
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
Sergey Isakov
a00e148510
exclude debug messages
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-07 09:43:50 +03:00
Sergey Isakov
6c592d8004
working mouse pointer and ximage.draw
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-07 09:37:19 +03:00
Sergey Isakov
c3103859b6
draw in non-working state
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-07 00:08:04 +03:00
Sergey Isakov
5dbf1e0360
always create cloverx64.efi
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-06 22:56:32 +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
Sergey Isakov
d71acbb41d
testing draw, not working
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-06 17:02:06 +03: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
Sergey Isakov
0ca41b23f2
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-05 14:50:13 +03:00
Sergey Isakov
437e2b9965
a trick to not generate memset in VS2017
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-05 14:49:47 +03:00
jief
5fb0d2a601
Remove duplicated member AtClick
2020-03-05 14:43:31 +03:00
jief
2b41073035
Jief debug code
2020-03-05 10:38:15 +03:00
jief
75f33a759b
NULL check added.
2020-03-05 10:37:50 +03:00
jief
6c6f440b99
Default ctor to be sure Item is init to 0
2020-03-05 10:37:15 +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
2a106ef602
typo.
2020-03-04 23:45:36 +03:00
jief
5ddb6c1d79
Handle NULL in ctor.
2020-03-04 23:39:48 +03:00
jief
d549733729
A bit of debug code to keep.
2020-03-04 22:19:44 +03:00
Jief L
bd9458b270
Add default ctor
2020-03-04 19:34:05 +03:00
Jief L
0812cdb6d5
VS2017 warning
2020-03-04 19:33:30 +03:00
jief
6417348844
Fix bad object allocation, remove some REFIT_MENU_SCREEN ctors.
2020-03-04 18:27:41 +03:00
Jief L
2fca0d97a5
VS2017 C++ globals and unit tests
2020-03-04 16:37:39 +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
1ee664b022
Put back CONST to suppress warnings
2020-03-04 09:33:20 +03:00
jief
dbb5187ae5
Line only half commented out.
2020-03-04 09:32:44 +03:00
jief
78f899a927
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-04 09:22:39 +03:00
jief
4bec5cab80
Use new instead of Allocate for objects.
2020-03-04 09:21:43 +03:00
Sergey Isakov
b9b89cc46a
change debugging codes
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-04 09:20:37 +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
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