Commit Graph

1386 Commits

Author SHA1 Message Date
jief
2289e2edc0 Fix some warnings that come up with Xcode. 2023-11-09 19:38:11 +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
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
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
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
Slice
d21d5b2e65 skywalk priority
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-09-12 22:14:41 +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
Slice
99fa51da2f support nvram in legacy boot
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-09-04 21:56:03 +03:00
Slice
2711170df4 make block skywalk to be conditional
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-08-27 22:14:02 +03:00
Slice
c653a7378a block skywalk version2
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-08-27 20:00:02 +03:00
SergeySlice
772746c694 test version for blocking skywalk
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-08-27 13:29:21 +03: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
f8c6d764d4 some cleanup
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-28 22:01:41 +03:00
Slice
8f611a004f updated standard themes
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-28 20:05:58 +03:00
Slice
2d142970c0 make FakeCPUID from SMBIOS
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-22 22:50:58 +03:00
Slice
f7c434ca89 add missing systems
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-18 21:54:30 +03:00
Slice
2cb4b24a5d smbios automatic chooser
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-17 00:44:39 +03:00
SergeySlice
76614b3208 some cleanup
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-06-12 14:35:14 +03:00
SergeySlice
3238813474 clean codes for better readability
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-06-11 22:08:12 +03:00
SergeySlice
a1d46ccde7 fix misprint
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-06-11 21:34:02 +03:00
chris1111
6c3777e0b8
Update lib.h 2023-06-10 09:44:15 -04:00
chris1111
bd7cb72ffa
Update XIcon.cpp 2023-06-10 09:41:50 -04:00
Slice
420cf17421 new icon name os_sonoma
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-10 09:30:00 +03:00
Slice
5a6e6e363d Sonoma compatibility
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-05 22:23:36 +03:00
Slice
18e1640d92 switch to gcc-13
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-03 15:54:38 +03:00
Slice
88cca2a814 update versions for modern machines
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-05-31 21:34:30 +03:00
Slice
e0bde75175 restrict str_version conversion to 3 groups
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-05-31 00:17:19 +03:00
SergeySlice
6e94e88437 some research
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-01-05 11:42:49 +03:00
SergeySlice
ff1681ad80 dont fix ownership on non-intel usb3
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-11-30 18:34:43 +03:00
SergeySlice
ac66179352 fix misprint
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-11-23 22:33:41 +03:00
SergeySlice
edd275d82c take into account Raptor Lake
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-11-23 22:18:52 +03:00
SergeySlice
0fc7980fa8 workarounds for gcc12 bug
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-11-22 22:13:55 +03:00
SergeySlice
bd0ad5dfa6 key should be string not data
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-10-15 23:20:30 +03:00
SergeySlice
d296bfa767 fix error for clang
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-10-07 22:44:15 +03:00
Сергей Исаков
e56b549dca implement tscsync
Signed-off-by: Сергей Исаков <slice@Sergejs-Mac-Pro.local>
2022-10-06 22:14:54 +03:00
SergeySlice
70a37b142c dont fix ownership for VIA
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-10-05 21:04:32 +03:00
SergeySlice
9d6f4fa5a3 revert commit f63935
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-09-09 21:51:31 +03:00
SergeySlice
9cdae6f9d1 remove dust
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-09-05 22:23:30 +03:00
SergeySlice
847b46bbaf exclude unused constant
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-09-02 22:14:43 +03:00
SergeySlice
f63935320d add some apple variables
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-08-29 22:44:10 +03:00
SergeySlice
a65f244b2a embed AppleKeyAggregator
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-08-18 19:27:04 +03:00
SergeySlice
d5a69286c7 use count for dsdt patches
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-08-17 13:58:30 +03:00
SergeySlice
d54c3b9601 embed AppleImageCodec protocol
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-08-16 21:30:49 +03:00
SergeySlice
ee318d5c52 comment about WX
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-08-16 14:04:17 +03:00
Сергей Исаков
2313e8bac9 fix clang 13 compatibility
Signed-off-by: Сергей Исаков <sergey@iMac2017.local>
2022-08-12 22:09:53 +03:00
SergeySlice
3fa603faa8 add legacy target
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-08-12 21:06:10 +03:00
SergeySlice
7c21ded8c1 add gibraltar
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-08-04 20:22:25 +03:00
SergeySlice
12aa924078 repair clover entry
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-08-02 22:12:31 +03:00
SergeySlice
4d3d93231b redirect selfdir in the case of pseudo MS
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-08-01 22:34:35 +03:00
SergeySlice
ad2d256e46 collect definitions
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-28 20:46:19 +03:00
SergeySlice
f9f87a5e8d use question instead of comment
it is read as Ask Clover for auto values

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-27 20:42:01 +03:00
SergeySlice
46135654f0 update FakeSMC
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-26 22:01:13 +03:00
SergeySlice
735987a8b1 exclude SMCHelper as the service is embedded
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-26 19:57:36 +03:00
SergeySlice
6b0669f249 embed SMC protocol
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-25 22:29:12 +03:00
SergeySlice
094ca73262 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2022-07-21 20:33:35 +03:00
SergeySlice
6db8fd03d0 change defaults in config
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-21 20:33:09 +03:00
SergeySlice
8216d9f442 take into account non-GOP gfx to be able to change properties in GUI
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-20 20:33:57 +03:00
SergeySlice
30f3048fbf revert commit 9598d7ec, fix issue 525
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-18 21:11:16 +03:00
SergeySlice
a5e5d3b1cc add 13 folder
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-11 23:07:37 +03:00
SergeySlice
8920835bfa sometimes required key
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-09 06:52:23 +03:00
SergeySlice
319545d91f updates versions and SMC keys
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-08 18:41:16 +03:00
SergeySlice
6397778322 fix several mistakes
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-07 22:57:30 +03:00
SergeySlice
e79039c034 exclude FirmwareVolume from compilation
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-03 21:11:48 +03:00
SergeySlice
373008f57b embed FirmwareVolume protocol, separate driver excluded
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-02 13:08:16 +03:00
SergeySlice
53f60e49d7 fix DefaultBackgroundColor
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-02 10:08:53 +03:00
SergeySlice
ccf27146a6 merge conflicts
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-06-29 18:45:16 +03:00
SergeySlice
efa26ef552 new guids to discover
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-06-29 18:41:03 +03:00
SergeySlice
0f50b3644e hwtarget is not for ventura
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-06-28 22:20:28 +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
48be65956e Upgrade to OC pre version 0.8.2. 2022-06-19 18:46:52 +02:00
jief666
cec450188d gcc12 fix. 2022-05-24 15:34:14 +02:00
jief666
68f80562e0 Fix CCPV compilation, addendum. 2022-05-22 20:59:22 +02:00
SergeySlice
153fa4e07c detect new device-ids
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-05-20 20:50:35 +03:00
jief666
ff012267ca Fix CCPV compilation. 2022-05-20 11:29:26 +02:00
SergeySlice
3216ec0696 unused variable
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-05-17 19:43:08 +03:00
jief666
f12fd7c9ca Re-comment unnecessary code. GuidLEToXString8 is replaced by toXString8. 2022-05-14 21:54:27 +02:00
SergeySlice
8fc250a95c reconsideration of USB protocol
revert UUID endianess to traitional

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-05-07 17:03:25 +03:00
SergeySlice
04e42c09e7 restores old smUUID behavior
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-05-03 06:38:54 +03:00
SergeySlice
e6ae7e5926 initialize pointer
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-04-30 21:51:40 +03:00
SergeySlice
4ba408424c dont define copy constructor
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-04-30 15:39:36 +03:00
SergeySlice
60b2ed52b0 simple setNull
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-04-29 21:20:25 +03:00
jief666
1ea4700bd6 Replace EFI_GUID by a class EFI_GUID. 2022-04-26 00:55:56 +02:00
jief666
562ffe5ff0 Add Skip value in ACPI DSDT patches. 2022-04-14 18:07:46 +02:00
jief666
f18a5127ad Allow tracing getMobile result. 2022-04-14 18:06:34 +02:00
jief666
016794a82e Improve data string check (must be hex digits). 2022-04-14 18:02:47 +02:00
SergeySlice
c650742514 new ati id
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-04-09 16:22:09 +03:00
SergeySlice
465dd0d12a technical bug shouldnt be in release
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-04-06 19:05:05 +03:00
SergeySlice
8883032765 exclude error about absent theme
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-04-06 18:49:44 +03:00