Commit Graph

30 Commits

Author SHA1 Message Date
jief
9e2bc77498 Update cpp_test, CloverX64 and create CloverMacOsApp. 2023-11-20 20:06:35 +01: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
2289e2edc0 Fix some warnings that come up with Xcode. 2023-11-09 19:38:11 +01: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
2cb4b24a5d smbios automatic chooser
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-17 00:44:39 +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
jief666
016794a82e Improve data string check (must be hex digits). 2022-04-14 18:02:47 +02: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
jief666
109901bbeb Better log in case of messages about config,plist.
Implememts --info in ccpv.
2021-10-30 08:58:43 +02:00
jief666
e036b3d54b Do not display config info messages at launch. 2021-10-29 21:56:32 +02:00
jief666
e1fe2bc9bb Simplify validate methods as suggested by Slice. 2021-10-21 11:53:15 +02:00
jief666
710b2dcee5 Allow SmbiosDictClass to work without ProductName defined (using a
defaultMacModel member that has to be assigned before).
Move BiosVersion, BiosReleaseDate and EfiVersion checks in
SmbiosDictClass. Create warnings for incorrect values.
Rename MaxMachineType to MaxMacModel.
Remove GlobalConfig->BiosVersionUsed, ReleaseDateUsed and
EfiVersionUsed.
2021-10-19 19:57:27 +02:00
jief666
83593a5ab9 Convert bool to XBool. 2021-09-28 16:54:31 +03:00
jief666
7b23e6ba3c Remove non const value() in xmllite that breaks encapsulation. 2021-09-28 12:14:59 +03:00
jief666
2c829b66cd Create XBool to avoid nasty side effect when assigning int to bool. 2021-09-28 11:28:45 +03:00
jief666
bf74520cef Deprecate FIX_HEADERS. 2021-05-19 15:11:21 +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
541182fcd1 Fix device properties having a garbage name.
Bug was : xmlKey() wrongly return by value. Returning xmlKey().value()
by reference = returning a local object by reference. value() was
destroyed and referenced memory become garbage.
2021-05-06 12:35:44 +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
0a8f273560 Cleaning and improvement of PlatformPOSIX.
Create a PlatformPOSIX+EFI.
2021-05-05 13:20:40 +03:00
jief666
391ed70310 Fix bug in ConfigPlist when an unknown key happens is ACPI/DSDT/Fixes.
Light refactor of PauseForKey.
gSettings.CPU.SavingMode is ConfigManager.
PlatformPosix : do not redefine abort(), use abort() instead of
CpuDeadLoop().
Format debug.log file name.
Use malloc/free instead of AllocateZeroPool/FreePool for validator
compatibility.
Use strlen instead of AsciiStrLen for validator compatibility.
getRBr() and getRPlt() : make them independent from global var.
Fix wrong line number in XmlLiteParser.
2021-05-04 13:03:40 +03:00
jief666
720e3de375 Fix Validator xcode project. 2021-04-29 20:08:51 +03:00
jief666
0223567648 New parser XML. New ConfigManager. A lot of refactoring... 2021-04-28 21:30:34 +03:00
jief666
7babc6fe9b Do not use OC quirks struct anymore in settings.
Fix Disabled property in Smbios/Block config.
Move flagstate in GlobalConfig.
Remove gSettings.Smbios.REV, ECPI, RBr and RPlt.
Create getRBr() and getRPlt().
Operator == and isEqual in XArray, XObjArray, SETTINGS_DATA.
Rename equal to isEqual in XString and XStringArray.
Operator == in INPUT_ITEM, undefinable, ABSTRACT_PATCH (and derived) and
RAM_SLOT_INFO class.
Clean b64cdecode.h.
2021-04-11 08:18:52 +03:00
jief666
d54fc63747 new folder PosixCompilation. Ressources to compile Clover as a mac
application, for unit tests.
2021-04-03 13:55:25 +03:00
jief666
04e288d53b Fix KPKernelPm KPAppleIntelCPUPM.
Fix bad "dead installer" detection.
Exclude a DisableDriversArray string if it's empty.
Rename back PatchVBiosBytesNew to PatchVBiosBytes.
Rename ConfigPlist to ConfigPlistClass.
Minor other renames to clean settings.h.
2021-03-27 21:53:30 +03:00
jief666
4a3bc612b8 Create settings section Graphics, RtVariables.
Mobe Turbo in GlobalConfig.
2021-03-26 12:43:15 +03:00
jief666
829fd040dc Create REFIT_MAINMENU_SCREEN class
Create CUSTOM_LOADER_SUBENTRY_SETTINGS, CUSTOM_LOADER_SUBENTRY_SETTINGS
and CUSTOM_LOADER_SUBENTRY.
Clean the sub entries config.plist fields.
Comment unused KernelAndKextPatcherInit, KernelAndKextsPatcherStart,
CheckForFakeSMC
Comment unused OSFLAG_WITHKEXTS and OSFLAG_CHECKFAKESMC
2021-03-22 15:40:01 +03:00
jief666
0098f0b1ee Forgotten file. 2021-03-19 21:37:24 +03:00