Chameleon Svn Source Tree


1- ErmaC : Merged proposed patch by N3 (Boot from vanilla Recovery HD, Installation DMG)
2- bitshoveler : Make 'buffer' arg to aml_add_buffer 'const char *', was just 'char *' (aml_generator)
3- bitshoveler : Fix "sed: RE error: illegal byte sequence", which turns out to be from feeding sed a TIFF file (
4- bitshoveler : Remove "-x" option from "ld" command which breaks build under newer Xcode versions (MakeInc.dir)
5- bitshoveler : CacheInit(), CacheRead() prototypes: use u_int32_t instead of long where appropriate (saio_internal.h)
6- bitshoveler : Improved defensiveness against malloc failure (disk.c)
7- bitshoveler : Use u_int32_t instead of long where appropriate (cache.c)
8- bitshoveler : Make some constant arrays static; other minor fixes (acpi_patcher.c)
9- bitshoveler : Various fixes to problems exposed by Clang static analyzer (picopng.c)
10- bitshoveler : Remove "-x" option from "ld" command which breaks build under newer Xcode versions (/i386/modules/MakeInc.dir)
11- bitshoveler : Comment out some unused functions by expanding "#if UNUSED" conditional (stringTable.c)
12- bitshoveler : Comment out unused static functions, which cause build to fail in "release" mode (vbe.c)
13- bitshoveler : Fix null pointer handling (nvidia.c)
14- bitshoveler : Only write terminating null char if malloc succeeded (strndup.c)
15- bitshoveler : Fix memory leak (bdmesg.c)
16- ErmaC : (re)enable klibc module
17- ErmaC : Merge Recovery Icons(png) courtesy of blackosx
18- ErmaC : Merge Yosemite patch (ready from June 2014) Thanks all involved in the test and develop;
19Special thanks: Alex J, viv xix, zenith432 from
20Testing and improvements: Pike R. Alpha, ErmaC, Bungo, blackosx, Micky1979, crazybirdy, oldnapalm, janek202, MinusZwei and Andy Vandijck.
22- Pike R. Alpha : dinamic "random-seed" implementation ( )
23- ErmaC : getCPUTick() helper function ( )
24- ErmaC : Add Yosemite Icons detection for chameleon UI
25- blackosx : Add chameleon UI Icons for Yosemite
26- ErmaC : Use macro instead of full checkOSVersion
27- viv xix : Move checkOSVersion into boot header
28- ErmaC : define macro for OS X Versions
29- Slice and Clover Team : Replace "NULL" terminated strings and fit Boot2 Sectors size
30- ErmaC : Update bootargs
31- crazybirdy : Fit length for "Loading Darwin"
32- meklort : Update align directives to 2^(old_align)
33- Ermac : Bump svn to 2.3
34- ErmaC : Update efi Header
35- cparm : buffer BPS
36- cparm : devprop_generate_string optimized by cparm
37- ErmaC : Update CPUID and change conditional logic.
38- ErmaC : Typo & ID names
39- meklort : Make compile on gcc w/ errors enabled.
40- bitshoveler : Remove the '-x' option from the offending 'ld' command
41- Jief : Makefile dependency missing for boot0 and boot1h
42- ErmaC : Temp disable klibc module
43- meklort : Silence output.
44- meklort : Add --no-print-directory.
45- meklort : Replace \t with tab.
46- ErmaC : Update Chameleon.xcodeproj
47- ErmaC : Merge LZVN decompression routine by MinusZwei (C Conversion) based on works from Pike R. Alpha and AnV Software (Andy Vandijck).
48- Bungo : Loading custom ECDT.aml, Darwin version string printing, clean boot-args, change firmware rev. to real Mac (0x0001000a), added kernel-compatibility, boot-file, boot-args, machine-signature, random-seed DT properties & some minor changes.
49- ErmaC : Merge tja's patch,5951.0.html
50- bitshoveler : Optimized basic string functions strlen, strncmp, strncat, strcat
51- ErmaC : Replaced sprintf with snprintf in spd.c.
52- bitshoveler : Fixed inadvertent text buffer overflow in getDDRSerial
53- bitshoveler : optimize get_hda_controller_name()
54- Bungo : One of the changes as of rev2284 is boot option SystemId has now been deprecated. Instead use key SMsystemuuid in smbios.plist.
55- bitshoveler : Defend against buffer overruns
56- bitshoveler : Fix memory leak, defend against buffer overruns, add a check for malloc() failure
57- bitshoveler : getMemoryInfoString: defend against buffer overruns, change O(n^2) algorithm to O(n)
58- bitshoveler : Add closedir() to match opendir() call; relocate a malloc() call to fix a memory leak on error; better defense against buffer overruns
59- bitshoveler : Improve robustness against buffer overruns
60- bitshoveler : Add closedir() for every opendir() call, make more robust against buffer overruns
61- bitshoveler : Fix memory leak
62- bitshoveler : Fix cppcheck detected memory leak and error, make more robust against buffer overrun
63- bitshoveler : get_pci_dev_path: get rid of tmp buffer, use snprintf, improved O(n) algorithm instead of O(n^2) (whoopee); dump_pci_dt: hack fix for printf format string vs. args mismatch
64- bitshoveler : Fix memory leak; use snprintf instead of sprintf to make more robust
65- bitshoveler : Fix badly formed comment inside #ifdef
66- bitshoveler : setup_gma_devprop: fix memory leak
67- bitshoveler : setup_nhm: fix cppcheck error
68- bitshoveler : Correct cppcheck detected errors, make more robust against errors
69- bitshoveler : AllocateMemoryRange: fix cppcheck detected memory leak
70- bitshoveler : search_and_get_acpi_fd: fix pointer-to-temporary return problem; use snprintf instead of sprintf to prevent buffer overflows
71- bitshoveler : sym_expand_string_value(): fix cppcheck errors; more to be done here
72- bitshoveler : append_string(): fix cppcheck errors
73- bitshoveler : conf_write_autoconf(): fix cppcheck errors
74- bitshoveler : Fix memory leak for new_layout in main()
75- bitshoveler : Implement snprintf(); implement missing zero-fill in strncpy()
76- bitshoveler : Use original *BSD source for strlcpy()
77- ErmaC: Port from Enoch the support for IVY Bridge and Haswell Intel Graphics cards.
78- 2255: ErmaC add Skip flag key for Intel/nVidia/ATi from Enoch
79- 2252: revert define processors name to match with xnu kernel name
80- 2252: Merge from Enoch the Geoff Seeley patch
81- 2251: bdmesg can show Chameleon and Clover boot logs
82- 2248: Infos about lack for 32/64 bit (Credits to Pike R. Alpha)
83- 2248: Fix issue booting x86 after rev.2175 (Credits to Bronxteck, Alex Burma and Leon).
84- 2245: ErmaC : Add new CPU Model IDs
85- 2245: Add boot support to 10.9 (thx old napalm)
86- 2245: ErmaC : Update gui Icons OS detection
87- 2245: Update default theme Icon set (thx BlackOsx)
88- 2243: Add Linux GPT Partition Label
89- 2234: Fix menuBVR initialization problem
90- Implement ErmaC's HDAEnabler.dylib module
91- Fix Bug in the loop that look for an ATI card. Credits to Jief Luce
92- Fix extension without kPropOSBundleRequired property weren't loaded. Credits to Jief Luce
93- Fix Revision mismatch
94- ErmaC : Improve PCI info. Interface program and device revision.
95- Fix Possible bug in i386/libsaio/device_inject.c devprop_add_device()
96- Fix warnings/errors from new llvm/clang (xcode 4.6)
97- Fix base64 decode, fixes Issue
98- meklort : FileNVRAM module import
99- Merge more cparm's (security, stability, bugs fixes) improvements from his branch.
100- cparm : Added two boot options for High resolution display and reboot on kernel panic
101- cparm : Added a workaroud for Xcode 4.4.x compatibility 504B030414030100630004731141000000007D0000008B00000003000B0062696E01990700020041450308001AED80DA50DF6080B0390FE095B3BC129E1FC27C104EC97897EF27CD1175766CB18C66FF42EFB7023911BDFD5E4BC9AEEC32FF3473963F70B255581D7B74DE9F
102- cparm : Fixed a buffer overflow in the plist loader
103- Add more nVidia and Ati Device and Subdevice IDs.
104- Substitutes some simpler command in place of md which fixes this first issue
105 credits to bltz
106- Fix crash with missing *_o.png image
107 credits to bltz
108- General code cleanups.
109- This revision is devoted to Samantha, AKA DHP or Revogirl in the OSx86 scene.
110 A young talent we lost prematurely.
111 Part of her work will now live on in the Chameleon source code.
112 Changes: code cleaned, improvements taken from Revoboot.
114- Apply patch by Andrey B
115- cparm : Added a Sata module, known as YellowIconFixer in my branch, useful to fix yellow icon issue (can also fix an issue with the apple's dvd player application in moutain lion)
116- cparm : Ported the nvidia plist helper (less time to spend on the device id more time to code :-) )
117- Added Recovery Icon for Default Theme (TODO) (credits to blackosx).
118- Merge Intel Graphics 4000 device IDs from Chimera (Commit 1999).
119- Merge more cparm's (security, stability, bugs fixes) improvements from his branch.
121- Merge "Restart fix Removed" from trunk r1992 by Slice's patch
122- Added nVidia process sub-dev ids.
123- Merge EnableHDMIAudio changes from commit 1950 by Cosmosis Jones.
124- Merge patch by Geoff Seeley
125- Apply patch by Michael Seydl
126- Apply patch by Michael Seydl
127- Apply patch by rafi rafi
128- Added ID for Radeon HD5570 and some subID:
129- Merge cparm's (security, stability, bugs fixes) improvements from his branch.
130- Added ID and correct FB for:
131- Added next coming CHIPSET and ID definition (Mosts of it commented) ML?
132 (found via
133- Merge IVY Bridge stuff from Chimera Branch.
134- Added boot support for Mountain Lion 10.8 (credits to ErmaC) & updated the default theme (credits to blackosx)
135- cparm : Fixed naming convention for raid hfs devices in gui
136- Added support for using UUIDs with ext2 filesystems (credits to bitz):
137- Added Guerrero's patch on gui.c:
138- cparm : Ported the OS detection to the trunk, updated the default theme to v 1.1 (credit to blackosx)
139- Merge correction for "Invalid package length algorithm in aml_generator.c" (credits to rphilipson)
141- Added scorpius's patch (to get an unstretched boot screen for nVidia cards on DVI) in boot0.s,
142 disabled by default:,2158.0.html
143- Added exFAT volume label support (FAT64) support (credit to dmazar):
145- disableIRQs()
146 Port of original patch by: CPARM (who basically did this in boot.c) Thanks!
147 The ACPI specification dictates that the 8259 (PC-AT compatible) vectors
148 must be disabled (that is, masked) when enabling the ACPI APIC operation
149 but this isn't done (apparently) on all mobo's and thus we do that here.
150- Added AtiPorts option to GraphicsEnabler, so users can override the default number of ports. It proved
151 to be useful when used to limit the number of ports that a framebuffer registers, which seems to be a
152 requirement on laptops that can only use 2 ports at the same time.
153 Thanks to Akbar for testing and AniV also for the tip:
155- Added NVidia ION AHCI controllers dev id to AHCIPortInjector kext.
156 Forgot to mention source on the commit:,1170.0.html
157- Renamed to org.chameleon.Boot.plist.
158- Added "ShowInfo" key (enabled by default for now), which enables/disables the display of
159 partition and resolution related info, on the Gui.
160 This info may not play well with some custom themes.
161- Modules can now be selected between not compiled, compiled into chameleon, or compiled as modules.
162- New makefile + configuration system.
163- Added the BOOT2_MAX_LENGTH constant in memory.h. This is now used in mboot.c to relocate the correct
164 number of bytes for boot2.
165- Added new ATi/AMD Graphics Card Enabler.
166- Added new SMBIOS patcher.
167Includes changes to "manufacter" keys, from SM*manufacter to SM*manufacturer.
168- Added module system.
169- Added automatic P-States & C-States generation for native power management.
170- Added Booter Log Dump Tool
171- Added Booter message Logging (":/boot-log" ioreg property)
172- Removed -x32 option, use arch=i386 instead
173- Added automatic SMBusspeed detection for lga1156 core i5/7 cpus
174- Added new iMac11,1 sbios default model for lga1156 core i5/17 mobos
175- md0 code. Notified xnu when an md ramdisk is specified
176- Added rollover image support for selected device icons.
177 Use device_<type>_o.png in theme folder. Credits goes to Blackosx.
178- Revisited theme resource embedding. Using the device_<type> icons are optional with
179 the exception of device_generic.
180- Optimized memory detection speed
181- Added displaying source device and partition number for file read operations.
182- Increased boot2's maximum size from 383.5k to 447.5k.
183 Updated stage 1 loaders for handling the new size limit.
184- Added alternate format for setting the default partition. The user can specify the selected
185 volume UUID for the "Default Partition" key.
186- Implemented SPD memory automatic detection and injection,seems to work really great ...
187- Factorized code to prepare a dynamic memory detection algorithm ...
188- Optimized smbios table address search
189- Optimized cursor spinout in textmode if no verbose mode is set
190- Added ram table structures definitions
191- Added getSmbios() a param permitting to select between orig and new smbios entries
192- Changed "Default Partition" behavior to accept only native system volumes or foreign partitions.
193- Added NVIDIA new NVCAP customization support and support for ION gfx cards from aserebln
194- Added ATI new framebuffers support and new cards from PCEFI10.6
195- improved ACPI file search algo by implementing a cache.
196- Nvidia injection fix
197- pciroot would not always return correct UID in auto detection mode
198- Fixed the hibernation problem in boot2/resume.c
199- Fixed all new booter versions with SystemType would override the facp value even if correct,
200 now keeps the facp value if correct and no override has been done, implemented a best effort algo.
201 for maximizing the chance to get the most correct value before we decide to use a fixed value (1=desktop)
202- Fixed display cosmetics of UUID, now a convert.c file contains all
203 conversions api, to be completed by function that we should reuse.
205- Fixed SystemType would be always forced to a value, now optionally changed
206 only if overridden
207- Kept SystemID as the only option to change manually the system-id
208 For theses reasons, SystemId from bootConfig and SMUUID from smbiosConfig are now DEPRECATED.
210- Integrated JrCs fadt patch (kept for RC5 the existing DSDT.aml retry algo that disappeared in his patch,
211 should be more discussed for RC6)
212- Added JrCs modified convention name change to coding_standards
213- Now malloc (ex. MALLOC in Asere patch) is renamed malloc(size) and is an alias
214 to safe_malloc(size, file, line) with _FILE_ and _LINE_ preprocessor definitions
215- Added a new 'Rename Partition Feature', now permitting to rename partition
216 like 'System reserved' to a more meaningful name
217- Added SystemID option permitting to change the System UUID to a fixed value.
218- Added the PciRoot auto detection feature imported from pcefi10.5
219- Added automatic "system-id" injection from dmi bios, also compatible
220 with SystemID boot option and former SMUUID from smbios,plist
221- Added "system-type' automatic injection (1=Desktop) plus override possibility
222 with the new system-type option in bootConfig
223- Added SMserial and SMproductname new options for smbios.plist
224- Merged with asere patch, while keeping my fake_efi.c changes, and adding a new
225 stringForKey() API, also changed the DT__XXXX() set of functions
226 to handle const char * values instead of char*.

Archive Download this file

Revision: 2460