Chameleon Applications

Chameleon Applications Commit Details

Date:2011-12-03 01:23:13 (8 years 10 months ago)
Author:Rekursor
Commit:375
Parents: 374
Message:Fixed disk number was erroneous
Changes:
M/trunk/ChameleonPrefPane/Italian.lproj/Chameleon.xib
M/trunk/ChameleonPrefPane/French.lproj/Chameleon.xib
M/trunk/ChameleonPrefPane/Spanish.lproj/Chameleon.xib
M/trunk/ChameleonPrefPane/Sources/PartitionInfoElement.h
M/trunk/ChameleonPrefPane/English.lproj/Chameleon.xib
M/trunk/ChameleonPrefPane/German.lproj/Chameleon.xib
M/trunk/ChameleonPrefPane/Sources/PartitionInfoElement.mm

File differences

trunk/ChameleonPrefPane/Sources/PartitionInfoElement.h
4646
4747
4848
49
4950
5051
5152
+(NSMutableArray*)extractInfoWithBSDNames: (NSArray*) bsdNames;
+(NSMutableArray*)extractInfoWithBSDNames: (NSArray*) bsdNames withArray:(NSMutableArray*) arr;
+(NSUInteger*) ResetHdRedirTable;
-(bool)isValid;
trunk/ChameleonPrefPane/Sources/PartitionInfoElement.mm
4747
4848
4949
50
51
52
53
54
55
5056
5157
5258
......
189195
190196
191197
198
199
192200
193201
194202
return sHdRedirTable;
}
/// redirection table for disk swapping
+(NSUInteger*) ResetHdRedirTable
{
for (int i=0; i< MAX_HD; i++) sHdRedirTable[i]=i;
}
/// extract disk number from bsdname spec
-(int) diskNumber
{
if (partArr!=nil && [partArr count]>0)
{
[PartitionInfoElementResetHdRedirTable];
DASessionRef session = DASessionCreate(NULL);
for (NSString* part in partArr)
{
trunk/ChameleonPrefPane/French.lproj/Chameleon.xib
349349
350350
351351
352
352
353353
354354
355355
356356
357357
358358
359
359
360360
361361
362362
......
723723
724724
725725
726
726
727727
728728
729729
......
821821
822822
823823
824
824
825825
826826
827827
......
851851
852852
853853
854
854
855855
856856
857
857858
858859
859860
860
861
861
862862
863863
864864
......
880880
881881
882882
883
883
884884
885885
886886
<object class="NSTableView" id="830282976">
<reference key="NSNextResponder" ref="729666351"/>
<int key="NSvFlags">8448</int>
<string key="NSFrameSize">{494, 257}</string>
<string key="NSFrameSize">{499, 257}</string>
<reference key="NSSuperview" ref="729666351"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<bool key="NSEnabled">YES</bool>
<object class="NSTableHeaderView" key="NSHeaderView" id="4756718">
<reference key="NSNextResponder" ref="216647119"/>
<int key="NSvFlags">256</int>
<string key="NSFrameSize">{494, 17}</string>
<string key="NSFrameSize">{499, 17}</string>
<reference key="NSSuperview" ref="216647119"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<reference key="NSTableView" ref="830282976"/>
<reference key="NSTableView" ref="830282976"/>
</object>
<object class="NSTableColumn" id="861957185">
<double key="NSWidth">42.11328125</double>
<double key="NSWidth">46.90234375</double>
<double key="NSMinWidth">10</double>
<double key="NSMaxWidth">3.4028229999999999e+38</double>
<object class="NSTableHeaderCell" key="NSHeaderCell">
</object>
</object>
<double key="NSRowHeight">32</double>
<int key="NSTvFlags">-692060160</int>
<int key="NSTvFlags">-689963008</int>
<reference key="NSDelegate"/>
<reference key="NSDataSource"/>
<int key="NSColumnAutoresizingStyle">4</int>
</object>
<object class="NSScroller" id="94292441">
<reference key="NSNextResponder" ref="303493593"/>
<int key="NSvFlags">-2147483392</int>
<int key="NSvFlags">256</int>
<string key="NSFrame">{{1, 259}, {494, 15}}</string>
<reference key="NSSuperview" ref="303493593"/>
<bool key="NSEnabled">YES</bool>
<int key="NSsFlags">1</int>
<reference key="NSTarget" ref="303493593"/>
<string key="NSAction">_doScroller:</string>
<double key="NSCurValue">1</double>
<double key="NSPercent">0.99596774193548387</double>
<double key="NSPercent">0.98997995991983967</double>
</object>
<object class="NSClipView" id="216647119">
<reference key="NSNextResponder" ref="303493593"/>
<reference key="NSSuperview" ref="727875353"/>
<reference key="NSNextKeyView" ref="729666351"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<int key="NSsFlags">133682</int>
<int key="NSsFlags">133810</int>
<reference key="NSVScroller" ref="681132672"/>
<reference key="NSHScroller" ref="94292441"/>
<reference key="NSContentView" ref="729666351"/>
trunk/ChameleonPrefPane/Spanish.lproj/Chameleon.xib
349349
350350
351351
352
352
353353
354354
355355
356356
357357
358358
359
359
360360
361361
362362
......
723723
724724
725725
726
726
727727
728728
729729
......
821821
822822
823823
824
824
825825
826826
827827
......
851851
852852
853853
854
854
855855
856856
857
857858
858859
859860
860
861
861
862862
863863
864864
......
880880
881881
882882
883
883
884884
885885
886886
<object class="NSTableView" id="830282976">
<reference key="NSNextResponder" ref="729666351"/>
<int key="NSvFlags">8448</int>
<string key="NSFrameSize">{494, 257}</string>
<string key="NSFrameSize">{499, 257}</string>
<reference key="NSSuperview" ref="729666351"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<bool key="NSEnabled">YES</bool>
<object class="NSTableHeaderView" key="NSHeaderView" id="4756718">
<reference key="NSNextResponder" ref="216647119"/>
<int key="NSvFlags">256</int>
<string key="NSFrameSize">{494, 17}</string>
<string key="NSFrameSize">{499, 17}</string>
<reference key="NSSuperview" ref="216647119"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<reference key="NSTableView" ref="830282976"/>
<reference key="NSTableView" ref="830282976"/>
</object>
<object class="NSTableColumn" id="861957185">
<double key="NSWidth">42.11328125</double>
<double key="NSWidth">46.90234375</double>
<double key="NSMinWidth">10</double>
<double key="NSMaxWidth">3.4028229999999999e+38</double>
<object class="NSTableHeaderCell" key="NSHeaderCell">
</object>
</object>
<double key="NSRowHeight">32</double>
<int key="NSTvFlags">-692060160</int>
<int key="NSTvFlags">-689963008</int>
<reference key="NSDelegate"/>
<reference key="NSDataSource"/>
<int key="NSColumnAutoresizingStyle">4</int>
</object>
<object class="NSScroller" id="94292441">
<reference key="NSNextResponder" ref="303493593"/>
<int key="NSvFlags">-2147483392</int>
<int key="NSvFlags">256</int>
<string key="NSFrame">{{1, 259}, {494, 15}}</string>
<reference key="NSSuperview" ref="303493593"/>
<bool key="NSEnabled">YES</bool>
<int key="NSsFlags">1</int>
<reference key="NSTarget" ref="303493593"/>
<string key="NSAction">_doScroller:</string>
<double key="NSCurValue">1</double>
<double key="NSPercent">0.99596774193548387</double>
<double key="NSPercent">0.98997995991983967</double>
</object>
<object class="NSClipView" id="216647119">
<reference key="NSNextResponder" ref="303493593"/>
<reference key="NSSuperview" ref="727875353"/>
<reference key="NSNextKeyView" ref="729666351"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<int key="NSsFlags">133682</int>
<int key="NSsFlags">133810</int>
<reference key="NSVScroller" ref="681132672"/>
<reference key="NSHScroller" ref="94292441"/>
<reference key="NSContentView" ref="729666351"/>
trunk/ChameleonPrefPane/German.lproj/Chameleon.xib
349349
350350
351351
352
352
353353
354354
355355
356356
357357
358358
359
359
360360
361361
362362
......
723723
724724
725725
726
726
727727
728728
729729
......
821821
822822
823823
824
824
825825
826826
827827
......
851851
852852
853853
854
854
855855
856856
857
857858
858859
859860
860
861
861
862862
863863
864864
......
880880
881881
882882
883
883
884884
885885
886886
<object class="NSTableView" id="830282976">
<reference key="NSNextResponder" ref="729666351"/>
<int key="NSvFlags">8448</int>
<string key="NSFrameSize">{494, 257}</string>
<string key="NSFrameSize">{499, 257}</string>
<reference key="NSSuperview" ref="729666351"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<bool key="NSEnabled">YES</bool>
<object class="NSTableHeaderView" key="NSHeaderView" id="4756718">
<reference key="NSNextResponder" ref="216647119"/>
<int key="NSvFlags">256</int>
<string key="NSFrameSize">{494, 17}</string>
<string key="NSFrameSize">{499, 17}</string>
<reference key="NSSuperview" ref="216647119"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<reference key="NSTableView" ref="830282976"/>
<reference key="NSTableView" ref="830282976"/>
</object>
<object class="NSTableColumn" id="861957185">
<double key="NSWidth">42.11328125</double>
<double key="NSWidth">46.90234375</double>
<double key="NSMinWidth">10</double>
<double key="NSMaxWidth">3.4028229999999999e+38</double>
<object class="NSTableHeaderCell" key="NSHeaderCell">
</object>
</object>
<double key="NSRowHeight">32</double>
<int key="NSTvFlags">-692060160</int>
<int key="NSTvFlags">-689963008</int>
<reference key="NSDelegate"/>
<reference key="NSDataSource"/>
<int key="NSColumnAutoresizingStyle">4</int>
</object>
<object class="NSScroller" id="94292441">
<reference key="NSNextResponder" ref="303493593"/>
<int key="NSvFlags">-2147483392</int>
<int key="NSvFlags">256</int>
<string key="NSFrame">{{1, 259}, {494, 15}}</string>
<reference key="NSSuperview" ref="303493593"/>
<bool key="NSEnabled">YES</bool>
<int key="NSsFlags">1</int>
<reference key="NSTarget" ref="303493593"/>
<string key="NSAction">_doScroller:</string>
<double key="NSCurValue">1</double>
<double key="NSPercent">0.99596774193548387</double>
<double key="NSPercent">0.98997995991983967</double>
</object>
<object class="NSClipView" id="216647119">
<reference key="NSNextResponder" ref="303493593"/>
<reference key="NSSuperview" ref="727875353"/>
<reference key="NSNextKeyView" ref="729666351"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<int key="NSsFlags">133682</int>
<int key="NSsFlags">133810</int>
<reference key="NSVScroller" ref="681132672"/>
<reference key="NSHScroller" ref="94292441"/>
<reference key="NSContentView" ref="729666351"/>
trunk/ChameleonPrefPane/Italian.lproj/Chameleon.xib
349349
350350
351351
352
352
353353
354354
355355
356356
357357
358358
359
359
360360
361361
362362
......
723723
724724
725725
726
726
727727
728728
729729
......
821821
822822
823823
824
824
825825
826826
827827
......
851851
852852
853853
854
854
855855
856856
857
857858
858859
859860
860
861
861
862862
863863
864864
......
880880
881881
882882
883
883
884884
885885
886886
<object class="NSTableView" id="830282976">
<reference key="NSNextResponder" ref="729666351"/>
<int key="NSvFlags">8448</int>
<string key="NSFrameSize">{494, 257}</string>
<string key="NSFrameSize">{499, 257}</string>
<reference key="NSSuperview" ref="729666351"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<bool key="NSEnabled">YES</bool>
<object class="NSTableHeaderView" key="NSHeaderView" id="4756718">
<reference key="NSNextResponder" ref="216647119"/>
<int key="NSvFlags">256</int>
<string key="NSFrameSize">{494, 17}</string>
<string key="NSFrameSize">{499, 17}</string>
<reference key="NSSuperview" ref="216647119"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<reference key="NSTableView" ref="830282976"/>
<reference key="NSTableView" ref="830282976"/>
</object>
<object class="NSTableColumn" id="861957185">
<double key="NSWidth">42.11328125</double>
<double key="NSWidth">46.90234375</double>
<double key="NSMinWidth">10</double>
<double key="NSMaxWidth">3.4028229999999999e+38</double>
<object class="NSTableHeaderCell" key="NSHeaderCell">
</object>
</object>
<double key="NSRowHeight">32</double>
<int key="NSTvFlags">-692060160</int>
<int key="NSTvFlags">-689963008</int>
<reference key="NSDelegate"/>
<reference key="NSDataSource"/>
<int key="NSColumnAutoresizingStyle">4</int>
</object>
<object class="NSScroller" id="94292441">
<reference key="NSNextResponder" ref="303493593"/>
<int key="NSvFlags">-2147483392</int>
<int key="NSvFlags">256</int>
<string key="NSFrame">{{1, 259}, {494, 15}}</string>
<reference key="NSSuperview" ref="303493593"/>
<bool key="NSEnabled">YES</bool>
<int key="NSsFlags">1</int>
<reference key="NSTarget" ref="303493593"/>
<string key="NSAction">_doScroller:</string>
<double key="NSCurValue">1</double>
<double key="NSPercent">0.99596774193548387</double>
<double key="NSPercent">0.98997995991983967</double>
</object>
<object class="NSClipView" id="216647119">
<reference key="NSNextResponder" ref="303493593"/>
<reference key="NSSuperview" ref="727875353"/>
<reference key="NSNextKeyView" ref="729666351"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<int key="NSsFlags">133682</int>
<int key="NSsFlags">133810</int>
<reference key="NSVScroller" ref="681132672"/>
<reference key="NSHScroller" ref="94292441"/>
<reference key="NSContentView" ref="729666351"/>
trunk/ChameleonPrefPane/English.lproj/Chameleon.xib
1212
1313
1414
15
15
1616
1717
1818
......
330330
331331
332332
333
333
334334
335335
336336
337337
338338
339339
340
340
341341
342342
343343
......
704704
705705
706706
707
707
708708
709709
710710
......
802802
803803
804804
805
805
806806
807807
808808
......
832832
833833
834834
835
835
836836
837837
838
838839
839840
840841
841
842
842
843843
844844
845845
......
861861
862862
863863
864
864
865865
866866
867867
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="172"/>
<integer value="103"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSTableView" id="830282976">
<reference key="NSNextResponder" ref="729666351"/>
<int key="NSvFlags">8448</int>
<string key="NSFrameSize">{494, 257}</string>
<string key="NSFrameSize">{499, 257}</string>
<reference key="NSSuperview" ref="729666351"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<bool key="NSEnabled">YES</bool>
<object class="NSTableHeaderView" key="NSHeaderView" id="4756718">
<reference key="NSNextResponder" ref="216647119"/>
<int key="NSvFlags">256</int>
<string key="NSFrameSize">{494, 17}</string>
<string key="NSFrameSize">{499, 17}</string>
<reference key="NSSuperview" ref="216647119"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<reference key="NSTableView" ref="830282976"/>
<reference key="NSTableView" ref="830282976"/>
</object>
<object class="NSTableColumn" id="861957185">
<double key="NSWidth">42.11328125</double>
<double key="NSWidth">46.90234375</double>
<double key="NSMinWidth">10</double>
<double key="NSMaxWidth">3.4028229999999999e+38</double>
<object class="NSTableHeaderCell" key="NSHeaderCell">
</object>
</object>
<double key="NSRowHeight">32</double>
<int key="NSTvFlags">-692060160</int>
<int key="NSTvFlags">-689963008</int>
<reference key="NSDelegate"/>
<reference key="NSDataSource"/>
<int key="NSColumnAutoresizingStyle">4</int>
</object>
<object class="NSScroller" id="94292441">
<reference key="NSNextResponder" ref="303493593"/>
<int key="NSvFlags">-2147483392</int>
<int key="NSvFlags">256</int>
<string key="NSFrame">{{1, 259}, {494, 15}}</string>
<reference key="NSSuperview" ref="303493593"/>
<bool key="NSEnabled">YES</bool>
<int key="NSsFlags">1</int>
<reference key="NSTarget" ref="303493593"/>
<string key="NSAction">_doScroller:</string>
<double key="NSCurValue">1</double>
<double key="NSPercent">0.99596774193548387</double>
<double key="NSPercent">0.98997995991983967</double>
</object>
<object class="NSClipView" id="216647119">
<reference key="NSNextResponder" ref="303493593"/>
<reference key="NSSuperview" ref="727875353"/>
<reference key="NSNextKeyView" ref="729666351"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<int key="NSsFlags">133682</int>
<int key="NSsFlags">133810</int>
<reference key="NSVScroller" ref="681132672"/>
<reference key="NSHScroller" ref="94292441"/>
<reference key="NSContentView" ref="729666351"/>

Archive Download the corresponding diff file

Revision: 375