Chameleon Applications

Chameleon Applications Commit Details

Date:2010-01-25 23:42:19 (14 years 2 months ago)
Author:Rekursor
Commit:58
Parents: 57
Message:2.0b4 release see CHANGES for more info
Changes:
A/trunk/ChameleonPrefPane/makebin
M/trunk/ChameleonPrefPane/Sources/AdvancedSetupController.h
M/trunk/ChameleonPrefPane/Info.plist
M/trunk/ChameleonPrefPane/Sources/AdvancedSetupController.mm
M/trunk/ChameleonPrefPane/CHANGES
M/trunk/ChameleonPrefPane/English.lproj/Chameleon.xib
M/trunk/ChameleonPrefPane/Sources/PreferencesControllerBase.mm
M/trunk/ChameleonPrefPane/CREDITS
M/trunk/ChameleonPrefPane/bin/version

File differences

trunk/ChameleonPrefPane/Sources/AdvancedSetupController.h
4545
4646
4747
48
4849
4950
5051
IBOutlet NSTextField*mWakeImageText;
IBOutlet NSButton*mSystemId;
IBOutlet NSTextField*mSystemIdText;
IBOutlet NSButton*mRestartFix;
}
- (IBAction) onCheckButtonChange: (NSButton*) sender;
trunk/ChameleonPrefPane/Sources/AdvancedSetupController.mm
3737
3838
3939
40
4041
4142
4243
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");
}
//--------------------------------------------------------------------------
trunk/ChameleonPrefPane/Sources/PreferencesControllerBase.mm
158158
159159
160160
161
161162
162163
163164
164165
165
166
166167
168
169
167170
168171
169172
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:
trunk/ChameleonPrefPane/Info.plist
1717
1818
1919
20
20
2121
2222
2323
24
24
2525
2626
2727
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>2.0 b4</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0.2</string>
<string>2.0.0</string>
<key>NSMainNibFile</key>
<string>Chameleon</string>
<key>NSPrefPaneIconFile</key>
trunk/ChameleonPrefPane/makebin
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# Creates binaries archives from the current version stored in ./bin
#
# Usage:
#
# makebin <version>
#
(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
trunk/ChameleonPrefPane/CHANGES
1
2
3
4
5
6
17
28
39
- 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
trunk/ChameleonPrefPane/bin/version
1
1
2.0.b3
2.0.b4
trunk/ChameleonPrefPane/CREDITS
1414
1515
1616
17
17
18
BlackOSX
MasterChief
digital_dreamer
smith@@
smith@@
scrax
trunk/ChameleonPrefPane/English.lproj/Chameleon.xib
1212
1313
1414
15
15
1616
1717
1818
......
8585
8686
8787
88
88
8989
9090
9191
......
18331833
18341834
18351835
1836
1836
18371837
18381838
18391839
18401840
18411841
1842
1842
18431843
18441844
18451845
......
18991899
19001900
19011901
1902
1902
19031903
19041904
19051905
......
21682168
21692169
21702170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
21712197
21722198
21732199
......
37883814
37893815
37903816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
37913833
37923834
37933835
......
44874529
44884530
44894531
4490
44914532
44924533
44934534
4535
4536
44944537
44954538
44964539
......
52575300
52585301
52595302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
52605317
52615318
52625319
......
55185575
55195576
55205577
5578
55215579
55225580
55235581
5582
5583
5584
55245585
55255586
55265587
......
55455606
55465607
55475608
5548
5609
55495610
5550
5611
55515612
55525613
55535614
......
62276288
62286289
62296290
6230
6291
62316292
62326293
62336294
62346295
6296
6297
6298
6299
6300
6301
6302
6303
62356304
62366305
62376306
......
62466315
62476316
62486317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
62496328
62506329
62516330
......
62696348
62706349
62716350
6272
6351
62736352
62746353
62756354
......
63136392
63146393
63156394
6395
63166396
63176397
63186398
......
63456425
63466426
63476427
6428
63486429
63496430
63506431
......
71627243
71637244
71647245
7165
7246
71667247
71677248
71687249
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="174"/>
<integer value="172"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="98357325">
<int key="NSCellFlags">72482368</int>
<int key="NSCellFlags2">138544128</int>
<string key="NSContents">Version 2.0 b3</string>
<string key="NSContents">Version 2.0 b4</string>
<object class="NSFont" key="NSSupport" id="26">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">11</double>
<object class="NSButton" id="317712564">
<reference key="NSNextResponder" ref="1000898384"/>
<int key="NSvFlags">12</int>
<string key="NSFrame">{{258, 75}, {90, 23}}</string>
<string key="NSFrame">{{258, 75}, {50, 23}}</string>
<reference key="NSSuperview" ref="1000898384"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="951067981">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">0</int>
<string key="NSContents">Device (rd)</string>
<string key="NSContents">rd</string>
<reference key="NSSupport" ref="930899267"/>
<reference key="NSControlView" ref="317712564"/>
<int key="NSButtonFlags">1211912703</int>
<object class="NSTextField" id="921716680">
<reference key="NSNextResponder" ref="1000898384"/>
<int key="NSvFlags">12</int>
<string key="NSFrame">{{353, 75}, {255, 22}}</string>
<string key="NSFrame">{{310, 77}, {158, 22}}</string>
<reference key="NSSuperview" ref="1000898384"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="57785620">
<reference key="NSTextColor" ref="866655721"/>
</object>
</object>
<object class="NSButton" id="906728368">
<reference key="NSNextResponder" ref="1000898384"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{474, 78}, {136, 18}}</string>
<reference key="NSSuperview" ref="1000898384"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="55438299">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">0</int>
<string key="NSContents">Restart Fix</string>
<object class="NSFont" key="NSSupport">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">12</double>
<int key="NSfFlags">16</int>
</object>
<reference key="NSControlView" ref="906728368"/>
<int key="NSButtonFlags">1211912703</int>
<int key="NSButtonFlags2">2</int>
<reference key="NSNormalImage" ref="459398604"/>
<reference key="NSAlternateImage" ref="731537593"/>
<string key="NSAlternateContents"/>
<string key="NSKeyEquivalent"/>
<int key="NSPeriodicDelay">200</int>
<int key="NSPeriodicInterval">25</int>
</object>
</object>
</object>
<string key="NSFrame">{{1, 1}, {626, 111}}</string>
<reference key="NSSuperview" ref="138697471"/>
</object>
<int key="connectionID">763</int>
</object>
<object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">onCheckButtonChange:</string>
<reference key="source" ref="523685185"/>
<reference key="destination" ref="906728368"/>
</object>
<int key="connectionID">766</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">mRestartFix</string>
<reference key="source" ref="523685185"/>
<reference key="destination" ref="906728368"/>
</object>
<int key="connectionID">767</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
<reference ref="999034340"/>
<reference ref="489715876"/>
<reference ref="706656551"/>
<reference ref="921716680"/>
<reference ref="286479560"/>
<reference ref="561126957"/>
<reference ref="323622459"/>
<reference ref="906728368"/>
<reference ref="921716680"/>
</object>
<reference key="parent" ref="241622967"/>
</object>
<reference key="object" ref="86444871"/>
<reference key="parent" ref="39816002"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">764</int>
<reference key="object" ref="906728368"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="55438299"/>
</object>
<reference key="parent" ref="138697471"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">765</int>
<reference key="object" ref="55438299"/>
<reference key="parent" ref="906728368"/>
</object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
<string>754.IBAttributePlaceholdersKey</string>
<string>754.IBPluginDependency</string>
<string>755.IBPluginDependency</string>
<string>757.IBAttributePlaceholdersKey</string>
<string>757.IBPluginDependency</string>
<string>758.IBAttributePlaceholdersKey</string>
<string>758.IBPluginDependency</string>
<string>764.IBAttributePlaceholdersKey</string>
<string>764.IBPluginDependency</string>
<string>765.IBPluginDependency</string>
<string>99.IBAttributePlaceholdersKey</string>
<string>99.IBPluginDependency</string>
</object>
</object>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{193, 183}, {668, 368}}</string>
<string>{{195, 183}, {668, 368}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{193, 183}, {668, 368}}</string>
<string>{{195, 183}, {668, 368}}</string>
<integer value="1"/>
<integer value="1"/>
<string>{224.664, 10}</string>
<object class="IBToolTipAttribute" key="NS.object.0">
<string key="name">ToolTip</string>
<reference key="object" ref="352674020"/>
<string key="toolTip">Swap disks indexes 0&lt;-&gt;1, use this option if your disk sequence in osx does not match the chameleon boot disk sequence</string>
<string key="toolTip">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.</string>
</object>
</object>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<object class="NSMutableDictionary">
<string key="NS.key.0">ToolTip</string>
<object class="IBToolTipAttribute" key="NS.object.0">
<string key="name">ToolTip</string>
<reference key="object" ref="39816002"/>
<string key="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.</string>
</object>
</object>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<object class="NSMutableDictionary">
<string key="NS.key.0">ToolTip</string>
<string key="NS.key.0">ToolTip</string>
<object class="IBToolTipAttribute" key="NS.object.0">
<string key="name">ToolTip</string>
<reference key="object" ref="906728368"/>
<string key="toolTip">Restart fix enable/disable option. If disabled, no FACP patch will be done at boot time. (Enabled by default)</string>
</object>
</object>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<object class="NSMutableDictionary">
<string key="NS.key.0">ToolTip</string>
<object class="IBToolTipAttribute" key="NS.object.0">
<string key="name">ToolTip</string>
<reference key="object" ref="303493593"/>
<string key="toolTip">Click on a partition to make it the default boot partition.</string>
</object>
</object>
</object>
<nil key="sourceID"/>
<int key="maxID">763</int>
<int key="maxID">767</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<string>mIOText</string>
<string>mKernel</string>
<string>mKernelText</string>
<string>mRestartFix</string>
<string>mSMBIOSDefaults</string>
<string>mSMBIOSFile</string>
<string>mSMBIOSFileText</string>
<string>NSTextField</string>
<string>NSButton</string>
<string>NSButton</string>
<string>NSButton</string>
<string>NSTextField</string>
<string>NSButton</string>
<string>NSTextField</string>
</object>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
<integer value="1050" key="NS.object.0"/>
<integer value="1060" key="NS.object.0"/>
</object>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>

Archive Download the corresponding diff file

Revision: 58