Index: trunk/ChameleonPrefPane/Sources/AdvancedSetupController.h =================================================================== --- trunk/ChameleonPrefPane/Sources/AdvancedSetupController.h (revision 57) +++ trunk/ChameleonPrefPane/Sources/AdvancedSetupController.h (revision 58) @@ -45,6 +45,7 @@ IBOutlet NSTextField* mWakeImageText; IBOutlet NSButton* mSystemId; IBOutlet NSTextField* mSystemIdText; + IBOutlet NSButton* mRestartFix; } - (IBAction) onCheckButtonChange: (NSButton*) sender; Index: trunk/ChameleonPrefPane/Sources/AdvancedSetupController.mm =================================================================== --- trunk/ChameleonPrefPane/Sources/AdvancedSetupController.mm (revision 57) +++ trunk/ChameleonPrefPane/Sources/AdvancedSetupController.mm (revision 58) @@ -37,6 +37,7 @@ BootProp::instance().addOptionDesc(mForceWake, nil, OptionYesNo, "ForceWake", "No"); BootProp::instance().addOptionDesc(mWakeImage, mWakeImageText, OptionString, "WakeImage", ""); BootProp::instance().addOptionDesc(mSystemId, mSystemIdText, OptionString, "SystemId", ""); + BootProp::instance().addOptionDesc(mRestartFix, nil, OptionYesNo, "RestartFix", "Yes"); } //-------------------------------------------------------------------------- Index: trunk/ChameleonPrefPane/Sources/PreferencesControllerBase.mm =================================================================== --- trunk/ChameleonPrefPane/Sources/PreferencesControllerBase.mm (revision 57) +++ trunk/ChameleonPrefPane/Sources/PreferencesControllerBase.mm (revision 58) @@ -158,12 +158,15 @@ const char * stringForKey = BootProp::instance().getStringForKey(bod->Name); std::string s = stringForKey ? trim(stringForKey) : ""; + std::string def = trim(bod->Default ? bod->Default : ""); switch (bod->Type) { case OptionYesNo: - if (stringForKey!=NULL) + if (s.length()>0) [(NSButton*)optionID setIntValue: (toupper(s[0])=='Y' ? 1 : 0 ) ]; + else + [(NSButton*)optionID setIntValue: (toupper(def[0])=='Y' ? 1 : 0 ) ]; break; case OptionKernel1: Index: trunk/ChameleonPrefPane/Info.plist =================================================================== --- trunk/ChameleonPrefPane/Info.plist (revision 57) +++ trunk/ChameleonPrefPane/Info.plist (revision 58) @@ -17,11 +17,11 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 1.0 + 2.0 b4 CFBundleSignature ???? CFBundleVersion - 1.0.2 + 2.0.0 NSMainNibFile Chameleon NSPrefPaneIconFile Index: trunk/ChameleonPrefPane/makebin =================================================================== --- trunk/ChameleonPrefPane/makebin (revision 0) +++ trunk/ChameleonPrefPane/makebin (revision 58) @@ -0,0 +1,13 @@ +#!/bin/sh +# +# Creates binaries archives from the current version stored in ./bin +# +# Usage: +# +# makebin +# +(cd bin/OSX105; ditto -ck --keepParent ../../build/Release\ 10.5/Chameleon.prefPane Chameleon.zip) +(cd bin/OSX106; ditto -ck --keepParent ../../build/Release/*.prefPane Chameleon.zip) +if test "$1" != "" ; then + echo "$1" > bin/version +fi \ No newline at end of file Property changes on: trunk/ChameleonPrefPane/makebin ___________________________________________________________________ Added: svn:executable + * Index: trunk/ChameleonPrefPane/CHANGES =================================================================== --- trunk/ChameleonPrefPane/CHANGES (revision 57) +++ trunk/ChameleonPrefPane/CHANGES (revision 58) @@ -1,3 +1,9 @@ +- Added scrax to credits: thx for testing the Chameleon PrefPane! +- Create a makebin script (to enhance) that creates zip archives and sets a version + in the bin dir +- Fixed default value to Yes not included in the boot config would not be checked + by default in interface +- Added RestartFix boot option - Added forceBootConfigPath to the tabview panel for quicker setup, so now no need to edit the preferences file manually. - Added SystemId Index: trunk/ChameleonPrefPane/bin/version =================================================================== --- trunk/ChameleonPrefPane/bin/version (revision 57) +++ trunk/ChameleonPrefPane/bin/version (revision 58) @@ -1 +1 @@ -2.0.b3 +2.0.b4 Index: trunk/ChameleonPrefPane/CREDITS =================================================================== --- trunk/ChameleonPrefPane/CREDITS (revision 57) +++ trunk/ChameleonPrefPane/CREDITS (revision 58) @@ -14,4 +14,5 @@ BlackOSX MasterChief digital_dreamer - smith@@ \ No newline at end of file + smith@@ + scrax \ No newline at end of file Index: trunk/ChameleonPrefPane/English.lproj/Chameleon.xib =================================================================== --- trunk/ChameleonPrefPane/English.lproj/Chameleon.xib (revision 57) +++ trunk/ChameleonPrefPane/English.lproj/Chameleon.xib (revision 58) @@ -12,7 +12,7 @@ YES - + YES @@ -85,7 +85,7 @@ 72482368 138544128 - Version 2.0 b3 + Version 2.0 b4 LucidaGrande 11 @@ -1833,13 +1833,13 @@ 12 - {{258, 75}, {90, 23}} + {{258, 75}, {50, 23}} YES 67239424 0 - Device (rd) + rd 1211912703 @@ -1899,7 +1899,7 @@ 12 - {{353, 75}, {255, 22}} + {{310, 77}, {158, 22}} YES @@ -2168,6 +2168,32 @@ + + + 268 + {{474, 78}, {136, 18}} + + YES + + 67239424 + 0 + Restart Fix + + LucidaGrande + 12 + 16 + + + 1211912703 + 2 + + + + + 200 + 25 + + {{1, 1}, {626, 111}} @@ -3788,6 +3814,22 @@ 763 + + + onCheckButtonChange: + + + + 766 + + + + mRestartFix + + + + 767 + @@ -4487,10 +4529,11 @@ - + + @@ -5257,6 +5300,20 @@ + + 764 + + + YES + + + + + + 765 + + + @@ -5518,9 +5575,13 @@ 754.IBAttributePlaceholdersKey 754.IBPluginDependency 755.IBPluginDependency + 757.IBAttributePlaceholdersKey 757.IBPluginDependency 758.IBAttributePlaceholdersKey 758.IBPluginDependency + 764.IBAttributePlaceholdersKey + 764.IBPluginDependency + 765.IBPluginDependency 99.IBAttributePlaceholdersKey 99.IBPluginDependency @@ -5545,9 +5606,9 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{193, 183}, {668, 368}} + {{195, 183}, {668, 368}} com.apple.InterfaceBuilder.CocoaPlugin - {{193, 183}, {668, 368}} + {{195, 183}, {668, 368}} {224.664, 10} @@ -6227,11 +6288,19 @@ ToolTip - Swap disks indexes 0<->1, use this option if your disk sequence in osx does not match the chameleon boot disk sequence + Force the path of com.apple.Boot.plist. Useful if more than one file is autodetected, and the automatically found one is not the one that the booter use. com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + orce the path of com.apple.Boot.plist. Useful if more than one file is autodetected, and the automatically found one is not the one that the booter use. + + com.apple.InterfaceBuilder.CocoaPlugin ToolTip @@ -6246,6 +6315,16 @@ ToolTip ToolTip + + Restart fix enable/disable option. If disabled, no FACP patch will be done at boot time. (Enabled by default) + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip Click on a partition to make it the default boot partition. @@ -6269,7 +6348,7 @@ - 763 + 767 @@ -6313,6 +6392,7 @@ mIOText mKernel mKernelText + mRestartFix mSMBIOSDefaults mSMBIOSFile mSMBIOSFileText @@ -6345,6 +6425,7 @@ NSTextField NSButton NSButton + NSButton NSTextField NSButton NSTextField @@ -7162,7 +7243,7 @@ com.apple.InterfaceBuilder.CocoaPlugin.macosx - + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3