Changeset 82

Show
Ignore:
Timestamp:
04/13/07 19:32:52 (3 years ago)
Author:
mike
Message:

[fix] enable log to console (cordney*)
[fix] cocoaDownload.nib adapted for German translation

Location:
trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/changelog.txt

    r81 r82  
     1Q-0.9.0d82 
     2[fix] enable log to console (cordney*) 
     3[fix] cocoaDownload.nib adapted for German translation 
     4 
    15Q-0.9.0d81 
    26[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  
    44<dict> 
    55        <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> 
    77        <key>IBEditorPositions</key> 
    88        <dict> 
    99                <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> 
    1111        </dict> 
    1212        <key>IBFramework Version</key> 
     
    1414        <key>IBOpenObjects</key> 
    1515        <array> 
    16                 <integer>57</integer> 
    1716                <integer>105</integer> 
    1817                <integer>33</integer> 
    1918                <integer>5</integer> 
     19                <integer>57</integer> 
    2020        </array> 
    2121        <key>IBSystem Version</key> 
    22         <string>8J2135a</string> 
     22        <string>8P2137</string> 
    2323</dict> 
    2424</plist> 
  • trunk/qcontrol/cocoaControlController.m

    r81 r82  
    3636        [NSString stringWithString:@"Quartz"], /* enable Quartz by default */ 
    3737        [NSNumber numberWithBool:TRUE], /* enable search for updates */ 
     38        [NSNumber numberWithBool:FALSE], /* disable log to console */ 
    3839        [@"~/Documents/QEMU" stringByExpandingTildeInPath], /* standart path */ 
    3940        nil 
    40     ] forKeys:[NSArray arrayWithObjects:@"display", @"enableCheckForUpdates", @"dataPath", nil]]]; 
     41    ] forKeys:[NSArray arrayWithObjects:@"display", @"enableCheckForUpdates", @"enableLogToConsole", @"dataPath", nil]]]; 
    4142    userDefaults = [NSUserDefaults standardUserDefaults]; 
    4243 
     
    360361        [[thisPC objectForKey:@"PC Data"] setObject:@"shutdown" forKey:@"state"]; 
    361362         
    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"]) { 
    368365 
    369366            NSData * pipedata; 
     
    18391836     
    18401837    // check the user defaults 
    1841     if([[userDefaults objectForKey:@"debug"] isEqual:[NSNumber numberWithBool:0]]) { 
     1838    if(![userDefaults boolForKey:@"enableLogToConsole"]) { 
    18421839        // prepare nstask output to grab exit codes and display a standardAlert when the qemu instance crashed 
    18431840        NSPipe * pipe = [[NSPipe alloc] init];