jief
9e2bc77498
Update cpp_test, CloverX64 and create CloverMacOsApp.
2023-11-20 20:06:35 +01:00
jief
f80e3774c4
Define some symbols as weak so they can be redefined in Clover
...
(MemoryTracker)
2023-11-20 20:01:37 +01:00
jief
6ac9ed1b54
Change Shortcut to wchar_t to silence warnings.
2023-11-20 20:00:47 +01:00
jief
ca166219f0
Move displayFreeMemory in its own file for Utils not to depend on OC.
2023-11-20 20:00:04 +01:00
jief
495dd319c3
Fixed some warnings.
2023-11-20 19:58:56 +01:00
jief
485a77a65e
Include bmp instead of re-defining to avoid broken compilation of unit
...
tests
2023-11-20 19:57:30 +01:00
jief
23d5c632d1
Include PiFirmwareFile.h instead of re-defining to avoid broken
...
compilation of unit tests.
2023-11-20 19:56:19 +01:00
Slice
c5cb646238
include new files into inf
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-19 18:16:34 +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
Slice
bdb7a95d94
changes in OC
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-16 22:10:31 +03:00
Slice
1914496605
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2023-11-16 21:11:08 +03:00
Slice
d0b6b9b3b9
few more memory leaks
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-16 21:10:42 +03: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
22d277d1e4
Change DiscoveredHdaProperties.controller_name to avoid a memory leak.
2023-11-11 14:36:33 +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
Slice
d512413977
print memory map for log
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-09 23:05:33 +03:00
Sergey
2d5f73c21c
Merge pull request #648 from the-Chain-Warden-thresh/master
...
Fix some unpatched CVEs in OpensslLib
2023-11-09 22:57:06 +03:00
jief
2289e2edc0
Fix some warnings that come up with Xcode.
2023-11-09 19:38:11 +01:00
the-Chain-Warden-thresh
7b65b0b7cf
fix some unpatched CVEs in OpensslLib
2023-11-10 00:47:40 +08: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
dbb93abca9
Remove unnecessary casts.
2023-11-07 11:29:52 +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
jief
88a2a69734
Fix include path.
...
Revert a FreePool mistakenly commented out.
2023-11-05 18:56:53 +01:00
Slice
883e27b0a2
add BlockSkywalk into GUI menu
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-02 21:34:45 +03:00
Slice
3db4e57438
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2023-10-28 19:25:22 +03:00
Slice
4ea855f2bf
chane in sub
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-10-28 19:25:06 +03:00
Sergey
164c956e0c
Update 80.save_nvram_plist.local
...
Use full path for nvram2. The trick by LockDown.
2023-10-26 09:49:13 +03:00
SergeySlice
855baed020
changes in subproject
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-10-25 22:01:39 +03:00
Slice
5fb1f0b048
take into account MeteorLake CPU
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-10-24 19:12:53 +03:00
Slice
06e0d72e40
set priority for wifi legacy kext
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-10-21 20:26:52 +03:00
Slice
cc7603a832
add new id to ati collection
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-10-14 23:02:00 +03:00
Slice
6b1b869cd0
rename HDA audio sample
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-09-22 19:30:27 +03:00
Slice
e375956169
dont use HDEF and HDAU names, it is AppleALC business
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-09-21 21:48:03 +03:00
chris1111
e903309c74
nvram2 will be install in /usr/local/bin/
2023-09-20 22:03:58 -04:00
chris1111
9df2e85c21
Merge pull request #632 from chris1111/master
...
Fix Permission nvram2 Clover PKG
2023-09-20 21:42:06 -04:00
chris1111
db9a8cf6e4
Fix Permission nvram2 Clover PKG
2023-09-20 21:41:14 -04:00
Slice
bf4fb452dc
make the utility to be universal from 10.13 upto now
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-09-15 19:50:48 +03:00
Slice
d21d5b2e65
skywalk priority
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-09-12 22:14:41 +03:00
Slice
fcead07069
create new toolset XCODE15 for Sonoma'
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-09-10 20:41:01 +03:00
SergeySlice
0ea0020c48
restore old xcode8 and create new xcode14 toolset
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-09-06 19:27:06 +03:00
Slice
71da65fcef
changes in subproject
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-09-05 22:22:32 +03:00
Slice
b91c9dec6f
fix some memory leaks and crashes, according to Tiano
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-09-05 22:20:35 +03:00
SergeySlice
7adb640a42
BlockSkywalk will be false by default
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-09-05 19:54:23 +03:00