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
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
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
asava
2479b2a499
Allocate DEV_PROPERTY nodes with AllocateZeroPool
2020-02-27 21:54:26 +02:00
jief
c77802d200
Refactor of "Volumes" global var as an XObjArray.
2020-02-27 17:34:29 +03:00