Chameleon

Chameleon Svn Source Tree

Root/branches/cparm/CHANGES

1- Security fixes
2- Using of optimized version for bcopy, bzero, strcmp, strcpy, strncpy, strlcat, strlcpy, strlen, strncmp, memset and memcmp
3- Replaced strcmp (deprecated and unsecure) by strncmp as far as possible
4- Decided to keep ld_classic to keep the compatibility with the apple's compiler from snow leopard (xcode 3.x) to Mountain lion (xcode 4.5) (in fact this has not changed since the last commit ;-) )
5
6- Security fixes
7
8- Few security fixes
9- Fixed a serious bug in picopng
10- Fixed a bug in gui.c, related to the images loading
11- Fixed a bug with acpi, where no acpi table may be configured
12
13- Security fixes
14- Updated smbus(spd.c) and radeon(ati.c) card list (taken from the last cosmo1t's update)
15
16- Added two boot options for High resolution display and reboot on kernel panic
17
18- Added fake_crt.c to fix a linker issue ... but it still dont work.
19- Added minor changes to makeinc.dir
20
21- Security fixes
22- Added beta support for Xcode 4.4
23
24- Added memory info to the nvidia plist structure, so now one can add several cards to the plist and set a customized name and memory info for each cards
25- Implemented a method to inject new graphics cards from a plist, no need to hardcode device ids anymore !! (for now, only nvidia cards are supported, see doc/ModuleHelp.txt for usage)
26- Moved the smbios detection code to the freebsd one
27
28- Fixed a bug in the bundle dependency dispatcher
29
30- security fixes in printf.c
31- Fixed a weird bug in boot arguments that could prevent 10.8 to boot
32
33- security, stability, bugs fixes
34- moved __doprnt to the xnu version
35
36- security and stability fixes
37- Fixed a bug where prf may return a wrong string len (for ex : in the previous versions newStringWithformat("%02x%02x%02x%02x%02x%02x",101,117,104,113,103,100) may not return the entire string)
38- Fixed a bug in xml.c
39- Fixed a bug in device_inject.c (inspired from the dmazar's patch)
40
41
42- security and stability fixes
43- Removed useless codes in efistring modules
44- Fixed bugs related to device_inject.c
45- Fixed bugs related to device_tree.c
46- Fixed bugs related to hfs.c
47- Fixed a bug in the booterlog introduced in the previous version
48- Fixed a bug in randomTheme intoduced in the previous version
49- Added LoginToLion Cub Devices (credit to Enzo)
50
51
52- security and stability fixes
53- Improved Xcode4.3+ and clang compatibility
54- Fixed a bug in device_inject.c
55- Updated uthash, utarrey, etc ... to v1.9.6
56- Replaced arc4random by the freebsd version (found in darwin's libc)
57(also Removed others random generators since the pseudo-random generator now work perfectly )
58- Implemented gettimeofday taken from libpayload
59- finaly back to safe_malloc
60- Sync'd the cpu legacy method to the trunk
61
62- Implemented the Runtime Bundles Modules
63- Updated nvidia and ati device id
64- Small security fixes
65
66- Stability fixes
67- Added mountain lion auto_installer compatibility
68- Changed md5c.c to the Xnu's md5.c
69
70- Added a dirty workaround to selectBootVolume (still need more investigations to find out what happening exactly during the bvchain construction, and how the h... the loop can stop with gcc)
71
72- Improved Xcode4.3+ support
73
74- Sync'd LoginToLion with the last Enzo's update (want more about LoginToLion ? please follow or participate to this thread : http://forum.voodooprojects.org/index.php/topic,2125.0.html)
75- fixed some bugs
76- Added an option to change the acpi detection method (only for acpi 64 users)
77- Updated amlsgn with more cocoa
78
79- Many security and bug fixes and improvements
80- Added a workaround for some machines that was unable to enter to the startup options during the countdown
81- Implemented a new environment platform
82- Added mountain lion support
83- Improved Xcode4 support (GUI still work only with Xcode3)
84
85- Added mountain lion icons for the default themes and LogintoLion (credit to Blackosx)
86- Added cpu_intel_amd.c (not by default, you need to edit the makefile in the libsaio directory to compile it)
87- Implemented a stack_protector (seems to work)
88- Sync'd libsa with Xnu
89- Removed lcc_kext dependency from the make file
90- Fixed some bugs
91
92- Updated the default theme to v 1.1 (credit to blackosx)
93- Updated LogintoLion with he haiku device logo (credit to blackosx)
94- Update for the gui
95- Chameleon can now boot the Lion Auto-Installer partition (additionally, on a GPT disk this enable the option "Localize my Mac" of iCloud)
96- Added a first version of amlsgn (NOTE: This tool can can sign an aml file for your machine (with the UUID) or for your machine model, this can be useful
97 with multiple machines w/o an identical model, combined with acpicodec and the option "LoadSignedAmlOnly", you can make sure that Chameleon will load the
98 good aml files for your machine (even if you have for example about 50 dsdt files named differently in your Acpi directory and each one for a different machine) )
99- Applied Guerrero's patch on gui.c (http://forge.voodooprojects.org/p/chameleon/issues/view/attachment/152/gui.diff)
100- Added a theme compatible with the OS detection/Volume feature (credit to Enzo for LoginToLion, see http://forum.voodooprojects.org/index.php?topic=2125.0 for more.)
101- Fixed a mistake with the smbios.plist loading process
102- Reworked the OS detection/Volume (NOTE: now embedded into the core and executed much earlier )
103
104
105- Added Haiku support (credit to scorpius)
106- Added EXFAT (FAT64) support (credit to dmazar)
107- Added JrCs fixes (see trunk v1716 v1719)
108- Gui can now detect the darwin version of each volumes
109- Applied some underthehood fixes and enhancements
110
111- Added an option to the check Oem revision of aml files, can be useful with multiple machines (a command line tool able to patch the aml files will be available soon)
112- Improved smbios support for some Intel Xeon models
113- BETA : Sync'd ati engine with the trunk
114
115- Small security fixes
116- Added a mechanism to strip the madt table
117- Ported the serial number randomizer to smbiosgetters,
118 Warning: smbiosgetters (and also the Gui module) still don't work when built with Xcode4.
119
120- Implemented a serial number randomizer in smbiospatcher
121(can be useful for icloud registration problems, especially when the serial number is already used by another machine,
122
123DISCLAIMER: Please read the iCloud License (http://www.apple.com/legal/icloud/ww/) carefully before using this option.
124By using this option, you are agreeing to be bound by
125the terms of the iCloud License (http://www.apple.com/legal/icloud/ww/). If you do not or cannot agree to the terms
126of the icloud License (http://www.apple.com/legal/icloud/ww/), please do not use this option.
127
128THE CHAMELEON ( OR VOODOO ) TEAM CAN NOT BE HELD RESPONSIBLE FOR ANY ABUSE.)
129
130- Chameleon (or at least this branch) can now boot OSX on Parallels Desktop 7, with full acpi and smbios support
131 (note: you will need to embed at least acpicodec and smbiosgetters since virtual machines don't like our module system),
132 see this vid ;-) : http://www.youtube.com/watch?v=kvSgwIE6D4o&feature=channel_video_title
133- Added a mechanism to boot the real Lion installer partition (with baseSystem.dmg as root device), you will just need to edit the kernelcache
134 for you platform, step 2 of the installation process (booting from the kernelcache in the "Mac OS X Install Data" folder) is still in progress
135
136- Added a simple mechanism to embed a module into the core of the bootloader (useful for virtual machines
137 or for modules not yet compatible with xcode4), see internal_modules.h for more info.
138- Added JrCs's Keylayout support in Keymapper
139- Fixed an issue in AcpiCodec where the highest cpu frequency may not be added in the pstate package on some configurations
140- Improved detection of nb of core(s) and thread(s) for AMD processors
141- Updated keymapper ...
142- Applied scorpius's patch (to get an unstretched boot screen for nVidia cards on DVI) in boot0.s , disabled by default,
143 see - http://forum.voodooprojects.org/index.php/topic,2158.msg10345/boardseen.html#new - for more info.
144- Applied Vladimir Zidar's hibernate patch on hibernateEnabler.
145- Applied "Intel HD Graphics 3000" patch to gma.c (credit: ???) ,
146 found at - http://www.darwinx86.net/forum/61-section-francaise-/1880-espace-de-discussion-anval?limit=10&start=60#6247 -
147- Added AMD support (most of the code is derived from the trunk, MUST BE ENABLED BY HAND IN CPU.C) see - http://forge.voodooprojects.org/p/chameleon/issues/163/ -
148- Improved Core Ix support in AcpiCodec
149- Improved c-states support in AcpiCodec
150
151- Sync'd nvidia.c and gma.c (see GraphicEnabler module) to the trunk
152- Improved compatibility with xcode4 (afaik only the modules gui and smbiosgetters will not work with xcode4, even if they are built without any errors)
153- Applied JrCs's path for more protection against buffer overflow in some case (trunk v1449)
154- Added a mechanism to detect extra mkexts/kexts before loading the kernelCache
155- Moved smp code to Erich Boleyn's smp-imps (not fully implemented yet)
156- Added the UseKernelCache option only for compatibility with the trunk ("Yes" have no effect, since it's the default),
157 the Flag "-F" which do the same things is still valid
158- Re-worked SSDT generation, and merged with the Bits's code
159- Removed aml_generator from AcpiCodec, now use acpicode.c to generate aml file
160- Added YellowIconFixer module
161- Merged fsb detection with Bits's code in cpu.c (slightly faster)
162- Fixed a bug related to ACPI in AcpiCodec (thanck to StephN666 for testing)
163- Fixed a bug related to ACPI and the machine with a rsd table revision > 0 (acpi_tools.c) (thanck to StephN666 for testing)
164
165- Applied Andy Vandijck's Nehalem (i5/i9) spoof to kernelpatcher
166- Fixed an issue with kernelPatcher, it seems that kernelPatcher is unable to patch the kernelCache
167- Applied some fixes from the trunk
168- Applied many under the hood fixes
169- Added Andy Vandijck's Server spoof
170- Added a Patch from Andy Vandijck in SMBiosPatcher and SMBiosGetters
171- Added a Patch from Netkas in GraphicEnabler (ati.c)
172- Fixed an issue where the GUI module couldn't find the themes directory
173- Fixed an issue where the GUI module failed to display the GUI
174- Added AcpiCodec module
175- Re-wrote ACPI code in fake_efi.c
176- Fixed a bug with AcpiPatcher when built with xcode4
177- Optimized AcpiPatcher code
178- Minor change of SMBIOS code in fake_efi.c
179- Applied some changes to the CPU detection
180- Fixed Pict-FailedBoot allocation
181- Board-id fix is now handled by the smbios modules
182
183- Added boot-args in the device tree
184- Added BootCLUT and Pict-FailedBoot
185- Added Board-id spoof
186- Fixed kernelcache loading with 10.5, 10.6 and 10.7
187- Added Lion Compatibility
188
189- Re-enabled Ignore Boot File Flag option , now "-B"
190- Fixed a bug in get_PM_Profile(), where the function return the profile 0 = 'Unspecified' when the facp is incorrect or not found, and so, override the
191 PM type set by the cpu features
192- Added new drop acpi table mechanism, now it's really able to drop any tables
193- BootHelp is not anymore embed by default in the bootloader core, if you need the help at boot time, just install your BootHelp.txt in /Extra/ (for now GUI module still embed it)
194- Fixed the HelloWorld module (broken since i have increased module hook arguments number)
195
196- "-F" now mean do not use prelinked kernel
197- Fixed embedtheme resolution, random theme chooser now also include embedtheme in the list (if the GUI is compiled with the embedtheme option),
198 also fixed a potential memory leak in randomTheme()
199- Fixed a bug in modules.c introduced in the previous versions, the booloader should now load correctly
200 with or without modules
201- Boot helper support (raid) is now an option (992 bytes saved)
202- Fixed an issue where the prelinked kernel can't be found (the bootloader should now be fully compatible with the kextcache command line tool).
203 (Also merged both adler32 function previously located in drivers.c and boot.c into one (adler32) located in boot.c)
204- returned to malloc by default, instead of safe_malloc, safe_malloc(+1280 bytes) is now an option (as in revolution 616+)
205- APM support is now optional (704 bytes saved)
206- Fixed add_symbol function
207- Increased module hook arguments number to 6
208- Added Kabyl's pci subsystem id patch
209- Added Kabyl's smbios implemention (SMBiosGetters, see Kabyl's branch.) as a module (legacy smbios implementation (SMBiosPatcher) have been also rewritten as a module)
210- Added valv's experimental amd support in CPUFreq module (untested)
211- Added Slice's smbios_patcher fix
212- Increased Booter Log size according to the chameleon trunck (thanck to Azimutz)
213
214- Added BSD (OpenBSD and FreeBSD) support (Credits to: nawcom, valv)
215- moved hibernation and ramdisk into modules
216- Added a keyboard mapper module
217- Added CPUFreq module (Credits to: valv, cparm)
218- Added a random theme chooser in the GUI module
219- Added Slice's mobile detection fix
220- Added mozodojo's coreI fix in acpi patcher
221- Applied many fixes and optimizations to the core
222- Moved to meklort's core architecture
223- Added Andy Vandijck's Full ACPI tables override and ACPI V1 to V4 conversion patch
224-------------------------------------------------------------------------------------------------------------------------------------------------
225
226- Added Booter Log Dump Tool
227- Added Booter message Logging (":/boot-log" ioreg property)
228- Removed obsolete -f option, use -x instead
229- Removed -x32 option, use arch=i386 instead
230- Added automatic SMBusspeed detection for lga1156 core i5/7 cpus
231- Added new iMac11,1 sbios default model for lga1156 core i5/17 mobos
232- md0 code. Notified xnu when an md ramdisk is specified
233- Added rollover image support for selected device icons.
234 Use device_<type>_o.png in theme folder. Credits goes to Blackosx.
235- Revisited theme resource embedding. Using the device_<type> icons are optional with
236 the exception of device_generic.
237- Optimized memory detection speed
238- Added displaying source device and partition number for file read operations.
239- Increased boot2's maximum size from 383.5k to 447.5k.
240 Updated stage 1 loaders for handling the new size limit.
241- Added alternate format for setting the default partition. The user can specify the selected
242 volume UUID for the "Default Partition" key.
243- Implemented SPD memory automatic detection and injection,seems to work really great ...
244- Factorized code to prepare a dynamic memory detection algorithm ...
245- Optimized smbios table address search
246- Optimized cursor spinout in textmode if no verbose mode is set
247- Added ram table structures definitions
248- Added getSmbios() a param permitting to select between orig and new smbios entries
249- Changed "Default Partition" behaviour to accept only native system volumes or foreign partitions.
250- Added NVIDIA new NVCAP customization support and support for ION gfx cards from aserebln
251- Added ATI new framebuffers support and new cards from PCEFI10.6
252- improved ACPI file search algo by implementing a cache.
253- Nvidia injection fix
254- pciroot would not always return correct uuid in autodection mode
255- Fixed the hibernation problem in boot2/resume.c
256- Fixed all new booter versions with SystemType would override the facp value even if correct,
257 now keeps the facp value if correct and no override has been done, implemented a best effort algo.
258 for maximizing the chance to get the most correct value before we decide to use a fixed value (1=desktop)
259- Fixed display cosmetics of UUID, now a convert.c file contains all
260 conversions api, to be completed by function that we should reuse.
261
262- Fixed SystemType would be always forced to a value, now optionally changed
263 only if ovveriden
264- Kept SystemID as the only option to change manually the system-id
265 For theses reasons, SystemId from bootConfig and SMUUID from smbiosConfig aer now DEPRECATED.
266
267- Integrated JrCs fadt patch (kept for RC5 the existing DSDT.aml retry algo that disapeared in his patch, should be more discussed for RC6)
268- Added JrCs modified convention name change to coding_standards
269- Now malloc (ex. MALLOC in Asere patch) is renamed malloc(size) and is an alias
270 to safe_malloc(size, file, line) with _FILE_ and _LINE_ prerocessor definitions
271- Added a new 'Rename Partition Feature', now permitting to rename partition
272 like 'System reserved' to a more meaningful name
273- Added SystemID option permitting to change the System UUID to a fixed value.
274- Added the PciRoot autodetection feature imported from pcefi10.5
275- Added automatic "system-id" injection from dmi bios, also compatible
276 with SystemID boot option and former SMUUID from smbios,plist
277- Added "system-type' automatic injection (1=Desktop) plus override possibility
278 with the new system-type option in bootConfig
279- Added SMserial and SMproductname new options for smbios.plist
280- Merged with asere patch, while keeping my fake_efi.c changes, and adding a new
281 stringForKey() API, also changed the DT__XXXX() set of functions
282 to handle const char * values instead of char*.
283

Archive Download this file

Revision: 2112