Commit Graph

374 Commits

Author SHA1 Message Date
Slice
1404ba662b debugging SVG
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-07-03 22:58:47 +03:00
Slice
2593b69c67 exclude double protocol
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-06-18 22:37:56 +03:00
Slice
083b863ee6 prepare for sequoia
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-06-10 22:50:11 +03:00
Slice
97fe5c2fc8 check signness at RLE
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-06-09 12:44:46 +03:00
Slice
73f4840a3a fix use after free
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-06-08 23:00:44 +03:00
Slice
eb76853ba7 use signed height
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-06-08 22:51:49 +03:00
Slice
223904acee extra dbg
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-06-08 15:29:29 +03:00
Slice
cd78a41c5e fix bmp decoder error
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-06-08 15:23:33 +03:00
Slice
8359929a2e add bmp coder/decoder
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-06-07 23:02:19 +03:00
Slice
06d591c810 prepare to fifteen
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-05-19 20:25:30 +03:00
Slice
1a23556796 use const float instead of define
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-02-26 19:08:45 +03:00
Slice
ad05c0b989 more correct using constants in c++
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-02-25 19:08:29 +03:00
jief666
8b2d5934fd Switch IconsNames from CHAR8*[] to LString8[] to avoid memory
allocation.
2024-01-08 11:27:38 +01:00
jief666
53de33a8f4 Set permission 0644 for files in rEFIt_UEFI. No changes of content. 2024-01-05 16:16:38 +01:00
Slice
153691acea decrease int i level
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-12-02 12:14:30 +03:00
Slice
20e924f5a1 take into account signness of variables
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-26 17:10:53 +03:00
jief
32fbf76326 Update BaseLib.h with macro BASE_LIST_FOR_EACH.
Introduce class apd (automatic pointer destruction)
Introduce MemoryTracker
Weak symbols in MemoryAllocationLib to be able to redefine them (see
MemoryTracker).
Embed LegacyOS instead of a pointer.
Fixed a lot of memory leaks.
2023-11-18 11:04:54 +01:00
jief
a9b0654a59 Improve XString forgetDataWithoutFreeing() to avoid freeing a literal.
Improve XString stealValueFrom to avoid a memory leak
Change GlobalConfig.ACPIDropTables to a XObjArray.
2023-11-12 03:48:29 +01:00
jief
187400d0ae Why did I put the FreePool parameter as const. That's stupid !
You must never free a const pointer, by definition.
2023-11-11 15:57:02 +01:00
jief
87d5576923 Forgotten warning. 2023-11-11 07:20:58 +01:00
jief
c35c0c520c Renames in nano svg to follow conventions nsvg__
Remove global FrameTime and NumFrames.
2023-11-11 06:50:58 +01:00
jief
652c25fa69 Fix release compilation. 2023-11-08 14:56:43 +01:00
jief
42cece9885 Fix nanosvg leaks.
Move global variable textfaces in XTheme.
Move global variable fontsDB in XTheme.
Remove XTheme member SVGParser. SVGParser is deleted just after use.
Remove XTheme members ImageSVG and ImageSVGnight. All images are
rasterized at load, so no need to keep that.
Remove XIcon setFilled because XIcon knows if it's filled or not by
checking Image & ImageNight
2023-11-08 14:35:22 +01:00
jief
8de61a22fb XIcon::GetBest now returns a reference, which save time and memory.
Added some const.
Remove GetIconP from XTheme.
2023-11-07 17:40:28 +01:00
jief
0130602198 Make GetSizeInBytes() in XImage public.
Change ParseXML first parameter to UINT8 to avoid casts.
2023-11-07 11:02:22 +01:00
jief
c1ce6aa406 Fix a memory waste in efiStrError().
Create displayFreeMemory().
Few renaming and details that doesn't change behavior.
2023-11-06 23:51:16 +01:00
jief
a107644cf2 nanosvg memory allocation tracer. 2023-11-06 22:46:13 +01:00
jief
45795ccfcc Make ThemeX a pointer. 2023-11-06 21:53:57 +01:00
Slice
ee2b479b19 revert ventura, cleanup
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-07-20 20:25:33 +03:00
Slice
5fb19df839 advance vector graphics support, update cesium theme
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-07-19 23:39:43 +03:00
Slice
9c3e5436ac some text formatting
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-07-16 19:45:53 +03:00
Slice
8f611a004f updated standard themes
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-28 20:05:58 +03:00
chris1111
bd7cb72ffa
Update XIcon.cpp 2023-06-10 09:41:50 -04:00
Slice
18e1640d92 switch to gcc-13
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-03 15:54:38 +03:00
SergeySlice
d54c3b9601 embed AppleImageCodec protocol
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-08-16 21:30:49 +03:00
SergeySlice
2c28c23fdd take Ventura into account
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-06-24 19:03:14 +03:00
jief666
1ea4700bd6 Replace EFI_GUID by a class EFI_GUID. 2022-04-26 00:55:56 +02:00
SergeySlice
6a722e3bba optimize style
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-02-18 22:00:04 +03:00
SergeySlice
b55b199188 using lambda
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-02-18 20:44:36 +03:00
SergeySlice
80a7bd0b7a some style check
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-01-25 20:07:33 +03:00
SergeySlice
d388e910fe wrong DEBUG usage, firmware version is 2
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-01-23 15:19:15 +03:00
SergeySlice
198a8e3d9b c++20 compatibility
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-03 20:33:03 +03:00
jief666
83593a5ab9 Convert bool to XBool. 2021-09-28 16:54:31 +03:00
jief666
2c829b66cd Create XBool to avoid nasty side effect when assigning int to bool. 2021-09-28 11:28:45 +03:00
SergeySlice
fd780172d3 Monterey compatibility
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-06-09 20:49:30 +03:00
jief666
82ba60a90a Revert commit a9cb69 : remove workaround and fix operator = in XIcon. 2021-05-17 08:52:17 +03:00
SergeySlice
a9cb692f6e clean night icon usage bug
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-05-15 17:52:16 +03:00
jief666
9906261e23 Fix visual studio compilation.
Fix some warnings.
Rename panic_ask to log_technical_bug.
2021-05-08 12:34:17 +03:00
jief666
d52803e7cd DO NOT explicitly call default ctor with new because of clang bug. 2021-05-05 20:10:10 +03:00
jief666
0223567648 New parser XML. New ConfigManager. A lot of refactoring... 2021-04-28 21:30:34 +03:00