Changeset 82
- Timestamp:
- 04/13/07 19:32:52 (3 years ago)
- Location:
- trunk
- Files:
-
- 4 modified
-
changelog.txt (modified) (1 diff)
-
qcontrol/Resources/English.lproj/cocoaDownload.nib/info.nib (modified) (2 diffs)
-
qcontrol/Resources/English.lproj/cocoaDownload.nib/keyedobjects.nib (modified) (previous)
-
qcontrol/cocoaControlController.m (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/changelog.txt
r81 r82 1 Q-0.9.0d82 2 [fix] enable log to console (cordney*) 3 [fix] cocoaDownload.nib adapted for German translation 4 1 5 Q-0.9.0d81 2 6 [fix] "#define kju_debug 1" for verbous log messages (txs Andreas F for suggestion) -
trunk/qcontrol/Resources/English.lproj/cocoaDownload.nib/info.nib
r74 r82 4 4 <dict> 5 5 <key>IBDocumentLocation</key> 6 <string> 95 57 356 240 0 0 1280 778 </string>6 <string>111 68 356 240 0 0 1440 878 </string> 7 7 <key>IBEditorPositions</key> 8 8 <dict> 9 9 <key>57</key> 10 <string> 390 414 500 247 0 0 1280 778 </string>10 <string>456 461 500 247 0 0 1440 878 </string> 11 11 </dict> 12 12 <key>IBFramework Version</key> … … 14 14 <key>IBOpenObjects</key> 15 15 <array> 16 <integer>57</integer>17 16 <integer>105</integer> 18 17 <integer>33</integer> 19 18 <integer>5</integer> 19 <integer>57</integer> 20 20 </array> 21 21 <key>IBSystem Version</key> 22 <string>8 J2135a</string>22 <string>8P2137</string> 23 23 </dict> 24 24 </plist> -
trunk/qcontrol/cocoaControlController.m
r81 r82 36 36 [NSString stringWithString:@"Quartz"], /* enable Quartz by default */ 37 37 [NSNumber numberWithBool:TRUE], /* enable search for updates */ 38 [NSNumber numberWithBool:FALSE], /* disable log to console */ 38 39 [@"~/Documents/QEMU" stringByExpandingTildeInPath], /* standart path */ 39 40 nil 40 ] forKeys:[NSArray arrayWithObjects:@"display", @"enableCheckForUpdates", @" dataPath", nil]]];41 ] forKeys:[NSArray arrayWithObjects:@"display", @"enableCheckForUpdates", @"enableLogToConsole", @"dataPath", nil]]]; 41 42 userDefaults = [NSUserDefaults standardUserDefaults]; 42 43 … … 360 361 [[thisPC objectForKey:@"PC Data"] setObject:@"shutdown" forKey:@"state"]; 361 362 362 /* error management here - display the crash output of qemu 363 (if the standard output is a pipe) 364 we avoid checking the user defaults for debug option because 365 the user could have changed the value while running a PC 366 */ 367 if([[[pcsTasks objectForKey:[[thisPC objectForKey:@"PC Data"] objectForKey:@"name"]] standardOutput] isMemberOfClass:[NSPipe class]]) { 363 /* error management here - display the crash output of qemu */ 364 if(![userDefaults boolForKey:@"enableLogToConsole"]) { 368 365 369 366 NSData * pipedata; … … 1839 1836 1840 1837 // check the user defaults 1841 if( [[userDefaults objectForKey:@"debug"] isEqual:[NSNumber numberWithBool:0]]) {1838 if(![userDefaults boolForKey:@"enableLogToConsole"]) { 1842 1839 // prepare nstask output to grab exit codes and display a standardAlert when the qemu instance crashed 1843 1840 NSPipe * pipe = [[NSPipe alloc] init];
