Chameleon Applications

Chameleon Applications Commit Details

Date:2011-11-16 06:45:49 (8 years 11 months ago)
Author:Rekursor
Commit:346
Parents: 345
Message:added uuid to freeze
Changes:
M/trunk/ChameleonPrefPane/Sources/BootSetupController.mm
M/trunk/ChameleonPrefPane/CHANGES
M/trunk/ChameleonPrefPane/Sources/PartitionInfoElement.mm

File differences

trunk/ChameleonPrefPane/Sources/BootSetupController.mm
9797
9898
9999
100
100
101
101102
102103
103
104
105
104106
105107
106108
107109
108110
109111
112
113
114
110115
111116
112117
......
203208
204209
205210
206
211
212
207213
208214
209215
{
switch (k) {
case 0: // disk number
diskNum = [word characterAtIndex:0] - '0' ;
diskNum = [word intValue] ;
[ p setDiskNumber:diskNum];
break;
case 1: // partition number
partNum = [word characterAtIndex:0] - '0' ;
partNum = [word intValue] ;
[ p setPartitionNumber: partNum];
break;
case 2: // volume label
[p setVName: word];
case 3: // fstype
[p setVKind: word];
break;
case 4: // vUUID
[p setVUUID: word];
break;
default:
break;
}
[p diskNumber], cPartDescSep,
[p partitionNumber], cPartDescSep,
[[p vName] UTF8String], cPartDescSep,
[[p vKind] UTF8String]);
[[p vKind] UTF8String], cPartDescSep,
[[p vUUID] UTF8String]);
// write it to the dictionary
NSString * key = [[NSString alloc] initWithUTF8String: keyPartN];
trunk/ChameleonPrefPane/Sources/PartitionInfoElement.mm
2525
2626
2727
28
28
2929
3030
3131
char line[256];
ShellProcess p;
p.open("ls -1 /dev/disk*s*");
p.open("ls -1 /dev/disk*");
while( p.get_line(line, sizeof(line)-1))
{
size_t l = strlen(line);
trunk/ChameleonPrefPane/CHANGES
1
2
13
24
35
- Added Partition UUID (OS X standard uuid, so chamelon ntfs/fat partition uuid's are for now not compatible).
- Added new Partition Extractor engine, complety rewritten in objective c.
- Added About Dialog, made the displayed version numbers all rely on the info.plist file
- Fixed refresh and on checked associated button state, made sure the string is disabled if value is 0
- Fixed crash when using swap hd 0<->2

Archive Download the corresponding diff file

Revision: 346