Jump to content

New features for Chameleon Preference Pane


rekursor
 Share

56 posts in this topic

Recommended Posts

Hi folks, it's been a while I didn't update my chameleon preference pane open source developments,

 

as many people seem to have difficulty with the open sources to figure out how that works I decided to help again by adding new features like:

 

- new rescue boot disk creation in the Boot Setup panel (old scripts from Lizard were there for a while but not integrated, now it is and it even easier than it was in lizard ...)

- new direct edit features for Partition renaming + Partition hiding (visual partition editing in the table view)

- New boot information dynamic tooltips on each chameleon boot partition

- new AppleSMBIOS Extraction and Parsing feature

- completely new partition extractor engine not relying anymore on diskutil redeveloped in objective c from scratch, now partition uuids (as read in OSX) are available. that latest feature is only displayed for info as for today. This is because the chameleon booter uuid format is not compatible for windows partitions with the format (4-2-2-2-6) displayed in OSX, we'll sort that out hopefully later with our other chameleon team devs.

- Dropped support of Leopard, now focusing only on SL and Lion.

 

Binary package available for V2.2.0 r465 :

- Added partition hiding + boot information tooltip new features

 

http://forge.voodoop...6/Chameleon.zip

 

 

readme:

README.zip

 

Sources are also availables as usual here:

http://forge.voodooprojects.org/p/chameleo...ameleonPrefPane

 

Dunno yet on Lion as I don't have it installed yet but should be ok too.

*EDIT* Works fine on my newly installed Lion 10.7.2 partition :)

Note that it is assumed that you used a rather recent chameleon 2 rc5 bootloader, older chameleon bootloader support is not guaranted nor tested.

 

Please let me know if you like that new features :)

  • Like 5
Link to comment
Share on other sites

Tested under Lion 10.7.2...works flawless with latest Chimera but after installation all files and folders in /Extra are hidden :)

mmm this is very strange as the only thing I edit is the org.chameleon.Boot.plist file ...

Were you able to reproduce it ?

 

Thank you for your feedback ;-)

 

 

same for me, impossible to load chameleon preference window (chameleon 2.1 R1700 / Lion 10.7.2)

What mode did you choose for install (local to user or global all users install) ?

Normally when you double-click the panel it should ask you how you want it.

I always debug as with user install, but checks occasionally all-users install.

 

I also noted that sometimes one has to completely remove the panel (right click on it then delete)

before installing a new version

Then always favour exiting and reopen the preferences pane (though many times it will work without that operation).

 

 

Thanks,

-Rek

Link to comment
Share on other sites

mmm this is very strange as the only thing I edit is the org.chameleon.Boot.plist file ...

Were you able to reproduce it ?

 

Thank you for your feedback ;-)

The 1st time i installed it local user only and get that issue. Removed it completely and re-I

installing global for all user works fine. All files in /Extra are visible

Link to comment
Share on other sites

It works, just requires one small restart. ^

First remove the previous Preference Pane, install the new one by double-clicking on it, and restart.

 

@ Rekursor, how can i add more files to the Rescue Boot CD iso? Is it possible somehow during the creation of the CD, or afterwards?

Link to comment
Share on other sites

../..

@ Rekursor, how can i add more files to the Rescue Boot CD iso? Is it possible somehow during the creation of the CD, or afterwards?

 

Not at the moment, but if you want to hack it here's what to do:

You can remove the last rm command in the sh embedded script named cdBootCreate.sh in the Resources folder of the package:

edit that file go to the end and add a # at the beginning of that last line starting by rm -rf

then run the script from the preferences pane by using the interface

and then go back to /tmp/newiso/Extra

you should find a Preboot folder that will contain your kexts and other vital files.

you could add files (like tools) from this folder and the run again the command from the preference pane,

at that time the second generated iso (and all subsequent ones) should contain your files ...

-Rek

  • Like 1
Link to comment
Share on other sites

OK, here it is.

 

11/28/11 6:43:12.589 PM System Preferences unlockFocus called too many time.
11/28/11 6:43:12.589 PM System Preferences unlockFocus called too many time.
11/28/11 6:43:12.590 PM System Preferences org.chameleon.Chameleon failed to load.
NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds
11/28/11 6:43:12.869 PM System Preferences NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds
11/28/11 6:43:13.013 PM System Preferences (
0   CoreFoundation					  0x00007fff93c56286 __exceptionPreprocess + 198
1   libobjc.A.dylib					 0x00007fff9832fd5e objc_exception_throw + 43
2   CoreFoundation					  0x00007fff93c560ba +[NSException raise:format:arguments:] + 106
3   CoreFoundation					  0x00007fff93c56044 +[NSException raise:format:] + 116
4   Foundation						  0x00007fff8de4f33d -[NSRLEArray objectAtIndex:effectiveRange:] + 117
5   Foundation						  0x00007fff8de4f281 -[NSConcreteAttributedString attributesAtIndex:effectiveRange:] + 48
6   Chameleon						   0x0000000103308cd5 -[CenteredTextFieldCell drawInteriorWithFrame:inView:] + 180
7   AppKit							  0x00007fff9200fb66 -[NSTableView drawRow:clipRect:] + 1647
8   AppKit							  0x00007fff9200f343 -[NSTableView drawRowIndexes:clipRect:] + 565
9   AppKit							  0x00007fff9200d465 -[NSTableView drawRect:] + 1390
10  AppKit							  0x00007fff920f7782 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] + 1435
11  AppKit							  0x00007fff92115a26 __-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke_1 + 94
12  AppKit							  0x00007fff921156d4 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2001
13  QuartzCore						  0x00007fff900619bc -[CALayer drawInContext:] + 145
14  QuartzCore						  0x00007fff90060b05 CABackingStoreUpdate_ + 3221
15  QuartzCore						  0x00007fff9005fa14 _ZN2CA5Layer8display_Ev + 1086
16  QuartzCore						  0x00007fff90057724 _ZN2CA5Layer17display_if_neededEPNS_11TransactionE + 560
17  QuartzCore						  0x00007fff900566d7 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 319
18  QuartzCore						  0x00007fff90056454 _ZN2CA11Transaction6commitEv + 274
19  QuartzCore						  0x00007fff90055a55 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 63
20  CoreFoundation					  0x00007fff93c15f37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
21  CoreFoundation					  0x00007fff93c15e96 __CFRunLoopDoObservers + 374
22  CoreFoundation					  0x00007fff93beab02 CFRunLoopRunSpecific + 258
23  HIToolbox						   0x00007fff96a3b3d3 RunCurrentEventLoopInMode + 277
24  HIToolbox						   0x00007fff96a4258f ReceiveNextEventCommon + 181
25  HIToolbox						   0x00007fff96a424ca BlockUntilNextEventMatchingListInMode + 62
26  AppKit							  0x00007fff91f283f1 _DPSNextEvent + 659
27  AppKit							  0x00007fff91f27cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
28  AppKit							  0x00007fff91f2462d -[NSApplication run] + 470
29  AppKit							  0x00007fff921a380c NSApplicationMain + 867
30  System Preferences				  0x000000010047adbc System Preferences + 7612
31  ???								 0x0000000000000002 0x0 + 2
)
11/28/11 6:43:13.022 PM System Preferences unlockFocus called too many time.
11/28/11 6:43:13.022 PM System Preferences unlockFocus called too many time.
11/28/11 6:43:13.022 PM System Preferences NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds
11/28/11 6:43:13.030 PM System Preferences (
0   CoreFoundation					  0x00007fff93c56286 __exceptionPreprocess + 198
1   libobjc.A.dylib					 0x00007fff9832fd5e objc_exception_throw + 43
2   CoreFoundation					  0x00007fff93c560ba +[NSException raise:format:arguments:] + 106
3   CoreFoundation					  0x00007fff93c56044 +[NSException raise:format:] + 116
4   Foundation						  0x00007fff8de4f33d -[NSRLEArray objectAtIndex:effectiveRange:] + 117
5   Foundation						  0x00007fff8de4f281 -[NSConcreteAttributedString attributesAtIndex:effectiveRange:] + 48
6   Chameleon						   0x0000000103308cd5 -[CenteredTextFieldCell drawInteriorWithFrame:inView:] + 180
7   AppKit							  0x00007fff9200fb66 -[NSTableView drawRow:clipRect:] + 1647
8   AppKit							  0x00007fff9200f343 -[NSTableView drawRowIndexes:clipRect:] + 565
9   AppKit							  0x00007fff9200d465 -[NSTableView drawRect:] + 1390
10  AppKit							  0x00007fff920f7782 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] + 1435
11  AppKit							  0x00007fff92115a26 __-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke_1 + 94
12  AppKit							  0x00007fff921156d4 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2001
13  QuartzCore						  0x00007fff900619bc -[CALayer drawInContext:] + 145
14  QuartzCore						  0x00007fff90060b05 CABackingStoreUpdate_ + 3221
15  QuartzCore						  0x00007fff9005fa14 _ZN2CA5Layer8display_Ev + 1086
16  AppKit							  0x00007fff920b08be -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 163
17  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
18  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
19  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
20  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
21  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
22  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
23  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
24  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
25  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
26  AppKit							  0x00007fff920b0541 -[NSView(NSLayerKitGlue) _drawRectAsLayerTree:] + 128
27  AppKit							  0x00007fff91f7424f -[NSView _drawRect:clip:] + 4382
28  AppKit							  0x00007fff91fa18c4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1583
29  AppKit							  0x00007fff91fa1cf0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
30  AppKit							  0x00007fff91f715ba -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 1032
31  AppKit							  0x00007fff91f70ab3 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 270
32  AppKit							  0x00007fff91f6bec9 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4755
33  AppKit							  0x00007fff91f6493e -[NSView displayIfNeeded] + 1676
34  AppKit							  0x00007fff91f6407d _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 648
35  CoreFoundation					  0x00007fff93c15f37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
36  CoreFoundation					  0x00007fff93c15e96 __CFRunLoopDoObservers + 374
37  CoreFoundation					  0x00007fff93beb159 __CFRunLoopRun + 825
38  CoreFoundation					  0x00007fff93beaae6 CFRunLoopRunSpecific + 230
39  HIToolbox						   0x00007fff96a3b3d3 RunCurrentEventLoopInMode + 277
40  HIToolbox						   0x00007fff96a4258f ReceiveNextEventCommon + 181
41  HIToolbox						   0x00007fff96a424ca BlockUntilNextEventMatchingListInMode + 62
42  AppKit							  0x00007fff91f283f1 _DPSNextEvent + 659
43  AppKit							  0x00007fff91f27cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
44  AppKit							  0x00007fff91f2462d -[NSApplication run] + 470
45  AppKit							  0x00007fff921a380c NSApplicationMain + 867
46  System Preferences				  0x000000010047adbc System Preferences + 7612
47  ???								 0x0000000000000002 0x0 + 2
)
11/28/11 6:43:13.049 PM System Preferences unlockFocus called too many time.
11/28/11 6:43:13.049 PM System Preferences unlockFocus called too many time.
11/28/11 6:43:13.051 PM System Preferences NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds
11/28/11 6:43:13.056 PM System Preferences (
0   CoreFoundation					  0x00007fff93c56286 __exceptionPreprocess + 198
1   libobjc.A.dylib					 0x00007fff9832fd5e objc_exception_throw + 43
2   CoreFoundation					  0x00007fff93c560ba +[NSException raise:format:arguments:] + 106
3   CoreFoundation					  0x00007fff93c56044 +[NSException raise:format:] + 116
4   Foundation						  0x00007fff8de4f33d -[NSRLEArray objectAtIndex:effectiveRange:] + 117
5   Foundation						  0x00007fff8de4f281 -[NSConcreteAttributedString attributesAtIndex:effectiveRange:] + 48
6   Chameleon						   0x0000000103308cd5 -[CenteredTextFieldCell drawInteriorWithFrame:inView:] + 180
7   AppKit							  0x00007fff9200fb66 -[NSTableView drawRow:clipRect:] + 1647
8   AppKit							  0x00007fff9200f343 -[NSTableView drawRowIndexes:clipRect:] + 565
9   AppKit							  0x00007fff9200d465 -[NSTableView drawRect:] + 1390
10  AppKit							  0x00007fff920f7782 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] + 1435
11  AppKit							  0x00007fff92115a26 __-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke_1 + 94
12  AppKit							  0x00007fff921156d4 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2001
13  QuartzCore						  0x00007fff900619bc -[CALayer drawInContext:] + 145
14  QuartzCore						  0x00007fff90060b05 CABackingStoreUpdate_ + 3221
15  QuartzCore						  0x00007fff9005fa14 _ZN2CA5Layer8display_Ev + 1086
16  AppKit							  0x00007fff920b08be -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 163
17  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
18  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
19  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
20  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
21  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
22  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
23  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
24  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
25  AppKit							  0x00007fff920b09d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
26  AppKit							  0x00007fff920b0541 -[NSView(NSLayerKitGlue) _drawRectAsLayerTree:] + 128
27  AppKit							  0x00007fff91f7424f -[NSView _drawRect:clip:] + 4382
28  AppKit							  0x00007fff91fa18c4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1583
29  AppKit							  0x00007fff91fa1cf0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
30  AppKit							  0x00007fff91f715ba -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 1032
31  AppKit							  0x00007fff91f70ab3 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 270
32  AppKit							  0x00007fff91f6bec9 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4755
33  AppKit							  0x00007fff91f6493e -[NSView displayIfNeeded] + 1676
34  AppKit							  0x00007fff91f6407d _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 648
35  CoreFoundation					  0x00007fff93c15f37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
36  CoreFoundation					  0x00007fff93c15e96 __CFRunLoopDoObservers + 374
37  CoreFoundation					  0x00007fff93beb159 __CFRunLoopRun + 825
38  CoreFoundation					  0x00007fff93beaae6 CFRunLoopRunSpecific + 230
39  HIToolbox						   0x00007fff96a3b3d3 RunCurrentEventLoopInMode + 277
40  HIToolbox						   0x00007fff96a4258f ReceiveNextEventCommon + 181
41  HIToolbox						   0x00007fff96a424ca BlockUntilNextEventMatchingListInMode + 62
42  AppKit							  0x00007fff91f283f1 _DPSNextEvent + 659
43  AppKit							  0x00007fff91f27cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
44  AppKit							  0x00007fff91f2462d -[NSApplication run] + 470
45  AppKit							  0x00007fff921a380c NSApplicationMain + 867
46  System Preferences				  0x000000010047adbc System Preferences + 7612
47  ???								 0x0000000000000002 0x0 + 2
)

 

Strangely I can't use the attachment feature of this forum so I have to copas them all. ;)

Link to comment
Share on other sites

That's very interesting thank you!

It looks like from the stack trace that it crashes when it first tries to populate the main table view with the disk partition list, I would be curious about the following

please dump the result of the following command on your system:

diskutil list

and pm it to me if it's a long listing.

If that's not enough to get some ideas of what's wrong , I'll submit a small test application that should help us to understand what happened ...

Link to comment
Share on other sites

Thanks for your release but it doesn't work for me in Lion 10.7.1 (I'm using Chameleon 2.1 r1700). It says that it's impossible to load chameleon preferences window.

same for me, impossible to load chameleon preference window (chameleon 2.1 R1700 / Lion 10.7.2)

 

While I have to wait til tonight for posting the result, I find an interesting fact from previous posts by others. I'm using the same revision of Chameleon as myska's and cyberbabacool's, and all of us not able to activate the pref pane, while Wayang-NT's is working by using even higher version of Lion with different revision of Chameleon.

 

works fine in 10.7.3 with Chameleon r1684

 

May be the r1700 is preventing the pref pane to be loaded?

Link to comment
Share on other sites

 Share

×
×
  • Create New...