Changeset 4705

Show
Ignore:
Timestamp:
04/23/07 11:22:34 (2 years ago)
Author:
morris
Message:

Batch commit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Footagehead/trunk/English.lproj/MainMenu.nib/info.nib

    r4704 r4705  
    2323        </array> 
    2424        <key>IBSystem Version</key> 
    25         <string>8P135</string> 
     25        <string>8L2127</string> 
    2626</dict> 
    2727</plist> 
  • Footagehead/trunk/English.lproj/Window.nib/classes.nib

    r4704 r4705  
    2424            OUTLETS = { 
    2525                "_fileTableColumn" = NSTableColumn;  
    26                 "_imageViewController" = FHImageViewController;  
     26                "_imageView" = FHImageView;  
     27                "_leftView" = NSView;  
     28                "_progressIndicator" = NSProgressIndicator;  
     29                "_rightView" = NSView;  
     30                "_scrollView" = NSScrollView;  
    2731                "_splitView" = WISplitView;  
    2832                "_tableView" = FHTableView;  
  • Footagehead/trunk/English.lproj/Window.nib/info.nib

    r4704 r4705  
    1717        </array> 
    1818        <key>IBSystem Version</key> 
    19         <string>8P135</string> 
     19        <string>8P2137</string> 
    2020</dict> 
    2121</plist> 
  • Footagehead/trunk/FHController.m

    r4704 r4705  
    106106 
    107107 
    108 - (FHFile *)_fileAtIndex:(unsigned int)index { 
     108- (FHFile *)_fileAtIndex:(NSUInteger)index { 
    109109        return [[_handler files] objectAtIndex:index]; 
    110110} 
     
    10511051        WIURL           *url; 
    10521052         
    1053         // --- if option redirect to home 
    10541053        if((GetCurrentKeyModifiers() & optionKey) != 0) 
    10551054                [FHSettings setObject:[[WIURL fileURLWithPath:NSHomeDirectory()] string] forKey:FHOpenURL]; 
    10561055                 
    10571056        if(_openLastURL) { 
    1058                 // --- get url of last open directory 
    10591057                url = [WIURL URLWithString:[FHSettings objectForKey:FHOpenURL]]; 
    10601058 
     
    10621060                        url = [WIURL fileURLWithPath:NSHomeDirectory()]; 
    10631061 
    1064                 // --- load files 
    1065                 [self _loadURL:url]; 
     1062//              [self _loadURL:url]; 
     1063                [_windowController loadURL:url]; 
    10661064        } 
    10671065         
  • Footagehead/trunk/FHImageLoader.m

    r4704 r4705  
    3737@implementation FHImageLoader 
    3838 
    39 - (void)awakeFromNib { 
     39- (id)init { 
     40        self = [super init]; 
     41         
    4042        _imageLock                      = [[NSConditionLock alloc] initWithCondition:0]; 
    4143        _thumbnailLock          = [[NSConditionLock alloc] initWithCondition:0]; 
     
    4547 
    4648        [NSThread setThreadPriority:0.75]; 
     49         
     50        return self; 
    4751} 
    4852 
     
    7175                pool = [[NSAutoreleasePool alloc] init]; 
    7276 
     77                NSLog(@"waiting on %@", _imageLock); 
    7378                [_imageLock lockWhenCondition:1]; 
     79                NSLog(@"got lock"); 
    7480                index = _index; 
    75                 files = [_files copy]; 
     81                files = [_files retain]; 
    7682                counter = _imageCounter; 
    7783                [_imageLock unlockWithCondition:0]; 
     84                 
     85                NSLog(@"%u == %u", counter, lastCounter); 
    7886                 
    7987                if(counter != lastCounter) { 
     
    148156 
    149157                [_thumbnailLock lockWhenCondition:1]; 
    150                 files = [_files copy]; 
     158                files = [_files retain]; 
    151159                counter = _thumbnailCounter; 
    152160                [_thumbnailLock unlockWithCondition:0]; 
     
    191199                        } 
    192200                } 
    193                         
     201                 
    194202                [files release]; 
    195203                [pool release]; 
  • Footagehead/trunk/FHWindowController.h

    r4704 r4705  
    2727 */ 
    2828 
    29 @class FHTableView, FHImageLoader; 
     29@class FHTableView, FHImageView; 
     30@class FHImageLoader, FHHandler; 
    3031 
    3132@interface FHWindowController : WIWindowController { 
    3233        IBOutlet WISplitView                            *_splitView; 
     34        IBOutlet NSView                                         *_leftView; 
    3335        IBOutlet FHTableView                            *_tableView; 
    3436        IBOutlet NSTableColumn                          *_fileTableColumn; 
     37        IBOutlet NSView                                         *_rightView; 
     38        IBOutlet FHImageView                            *_imageView; 
     39        IBOutlet NSScrollView                           *_scrollView; 
    3540 
    3641        IBOutlet NSProgressIndicator            *_progressIndicator; 
    3742         
    3843        FHImageLoader                                           *_imageLoader; 
     44        FHHandler                                                       *_handler; 
    3945 
    4046        NSMutableDictionary                                     *_toolbarItems; 
     47 
     48        NSSize                                                          _tableViewSize; 
    4149} 
    4250 
     51 
     52- (IBAction)openParent:(id)sender; 
     53- (IBAction)openFile:(id)sender; 
     54- (IBAction)openDirectory:(id)sender; 
     55 
     56- (IBAction)firstFile:(id)sender; 
     57- (IBAction)lastFile:(id)sender; 
     58- (IBAction)previousImage:(id)sender; 
     59- (IBAction)nextImage:(id)sender; 
     60- (IBAction)previousPage:(id)sender; 
     61- (IBAction)nextPage:(id)sender; 
     62 
     63- (void)loadURL:(WIURL *)url; 
     64 
    4365@end 
  • Footagehead/trunk/FHWindowController.m

    r4704 r4705  
    2727 */ 
    2828 
     29#import "FHFile.h" 
    2930#import "FHFileCell.h" 
     31#import "FHHandler.h" 
     32#import "FHImage.h" 
    3033#import "FHImageLoader.h" 
     34#import "FHImageView.h" 
    3135#import "FHWindowController.h" 
    3236 
     
    3438 
    3539- (NSToolbar *)_toolbar; 
     40- (void)_resizeTableView; 
     41 
     42- (void)_loadURL:(WIURL *)url; 
     43- (void)_loadURL:(WIURL *)url selectRow:(NSInteger)row; 
     44- (void)_loadURL:(WIURL *)url selectFile:(NSString *)file; 
     45- (void)_loadURL:(WIURL *)url selectRow:(NSInteger)row file:(NSString *)file; 
     46 
     47- (void)_selectFileAtIndex:(NSUInteger)index; 
     48- (FHFile *)_fileAtIndex:(NSUInteger)index; 
     49- (FHFile *)_selectedFile; 
    3650 
    3751@end 
     
    6074} 
    6175 
     76 
     77 
     78- (void)_resizeTableView { 
     79        NSSize          size; 
     80         
     81        size = [_tableView rectOfColumn:0].size; 
     82        size.width += 28.0; 
     83        [_tableView setRowHeight:size.width]; 
     84        [_tableView sizeToFitFromContent]; 
     85} 
     86 
     87 
     88#pragma mark - 
     89 
     90- (void)_loadURL:(WIURL *)url { 
     91        [self _loadURL:url selectRow:0 file:NULL]; 
     92} 
     93 
     94 
     95 
     96- (void)_loadURL:(WIURL *)url selectRow:(NSInteger)row { 
     97        [self _loadURL:url selectRow:row file:NULL]; 
     98} 
     99 
     100 
     101 
     102- (void)_loadURL:(WIURL *)url selectFile:(NSString *)file { 
     103        [self _loadURL:url selectRow:0 file:file]; 
     104} 
     105 
     106 
     107 
     108- (void)_loadURL:(WIURL *)url selectRow:(NSInteger)row file:(NSString *)file { 
     109        NSArray                 *files; 
     110        FHHandler               *handler; 
     111        NSUInteger              i, count; 
     112        BOOL                    select; 
     113         
     114//      [self _startSpinning]; 
     115         
     116//      _switchingURL = YES; 
     117 
     118        handler = [[FHHandler alloc] initHandlerWithURL:url]; 
     119         
     120        if(!handler) { 
     121//              [self _stopSpinning]; 
     122                 
     123                return; 
     124        } 
     125 
     126        if(_handler) { 
     127/*              if(![_handler isSynchronous] && ![_handler isFinished]) 
     128                        [self _stopSpinning]; 
     129                 
     130                if([_handler isLocal]) 
     131                        [_queue removePath:[[_handler URL] path]];*/ 
     132                 
     133                [_handler release]; 
     134        } 
     135         
     136        _handler = handler; 
     137        [_handler setDelegate:self]; 
     138        files = [_handler files]; 
     139        [_imageLoader setFiles:files]; 
     140         
     141//      if([_handler isLocal]) 
     142//              [_queue addPath:[[_handler URL] path] forMode:WIEventFileWrite]; 
     143         
     144//      [self _updateLeftStatus]; 
     145//      [self _updateButtons]; 
     146//      [self _reloadPathMenu]; 
     147         
     148        if(file) { 
     149                for(i = 0, count = [files count]; i < count; i++) { 
     150                        if([[[files objectAtIndex:i] name] isEqualToString:file]) { 
     151                                row = i; 
     152                                 
     153                                break; 
     154                        } 
     155                } 
     156        } 
     157         
     158        select = (row != [_tableView selectedRow]); 
     159        [_tableView reloadData]; 
     160         
     161        if(select) 
     162                [_tableView selectRow:row byExtendingSelection:NO]; 
     163        else 
     164                [_imageLoader startLoadingImageAtIndex:row]; 
     165 
     166        [_tableView scrollRowToVisible:row]; 
     167 
     168        if([_handler isLocal]) 
     169                [_imageLoader startLoadingThumbnails]; 
     170 
     171//      _switchingURL = NO; 
     172 
     173//      if([_handler isSynchronous]) 
     174//              [self _stopSpinning]; 
     175} 
     176 
     177 
     178 
     179#pragma mark - 
     180 
     181- (void)_selectFileAtIndex:(NSUInteger)index { 
     182        [_tableView selectRow:index byExtendingSelection:NO]; 
     183        [_tableView scrollRowToVisible:index]; 
     184} 
     185 
     186 
     187 
     188- (FHFile *)_fileAtIndex:(NSUInteger)index { 
     189        return [[_handler files] objectAtIndex:index]; 
     190} 
     191 
     192 
     193 
     194 
     195- (FHFile *)_selectedFile { 
     196        NSInteger               row; 
     197         
     198        row = [_tableView selectedRow]; 
     199         
     200        if(row < 0) 
     201                return NULL; 
     202         
     203        return [self _fileAtIndex:row]; 
     204} 
     205 
    62206@end 
    63207 
     
    106250        [[self window] setToolbar:[self _toolbar]]; 
    107251         
     252        [self _resizeTableView]; 
     253         
    108254        [[[NSWorkspace sharedWorkspace] notificationCenter] 
    109255                addObserver:self 
     
    118264                         object:NULL]; 
    119265 
     266        [[NSNotificationCenter defaultCenter] 
     267                addObserver:self 
     268                   selector:@selector(tableViewFrameDidChange:) 
     269                           name:NSViewFrameDidChangeNotification 
     270                         object:_tableView]; 
     271         
    120272        // --- set up fullscreen panel 
    121273/*      [self _reloadScreens]; 
     
    208360 
    209361- (void)imageLoaderDidLoadImageForFile:(FHFile *)file { 
     362        FHImage         *image; 
     363        BOOL            success; 
     364         
     365        image = [file image]; 
     366        success = (image && [image size].width > 0.0); 
     367         
     368        if(file == [self _selectedFile]) { 
     369                if(success) { 
     370                        [NSCursor setHiddenUntilMouseMoves:YES]; 
     371                        [_imageView setImage:image]; 
     372//                      [self _updateRightStatus]; 
     373                } else { 
     374                        [_imageView setImage:[FHImage imageNamed:@"Error"]]; 
     375//                      [_rightStatusTextField setStringValue:[NSSWF:NSLS(@"error opening image", @"Error message")]]; 
     376                } 
     377        } 
    210378} 
    211379 
     
    213381 
    214382- (void)imageLoaderDidLoadThumbnailForFile:(FHFile *)file { 
     383        [_tableView reloadData]; 
    215384} 
    216385 
     
    243412 
    244413 
     414- (float)splitView:(NSSplitView *)splitView constrainMinCoordinate:(float)proposedMin ofSubviewAt:(int)offset { 
     415        return 49.0; 
     416} 
     417 
     418 
     419 
     420- (float)splitView:(NSSplitView *)splitView constrainMaxCoordinate:(float)proposedMax ofSubviewAt:(int)offset { 
     421        return 145.0; 
     422} 
     423 
     424 
     425 
     426- (float)splitView:(NSSplitView *)splitView constrainSplitPosition:(float)proposedPosition ofSubviewAt:(int)offset { 
     427        int                     position; 
     428 
     429        if([[NSApp currentEvent] alternateKeyModifier]) { 
     430                position = proposedPosition - 17.0; 
     431                 
     432                if(position >= 128.0) 
     433                        return 145.0; 
     434                else if(position >= 64.0) 
     435                        return 81.0; 
     436                else if(position >= 48.0) 
     437                        return 65.0; 
     438 
     439                return 49.0; 
     440        } 
     441         
     442        return proposedPosition; 
     443} 
     444 
     445 
     446 
     447- (void)splitView:(NSSplitView *)splitView resizeSubviewsWithOldSize:(NSSize)oldSize { 
     448        if(splitView == _splitView) { 
     449                NSSize          size, leftSize, rightSize; 
     450                 
     451                size = [_splitView frame].size; 
     452                leftSize = [_leftView frame].size; 
     453                leftSize.height = size.height; 
     454                rightSize.height = size.height; 
     455                rightSize.width = size.width - [_splitView dividerThickness] - leftSize.width; 
     456                 
     457                [_leftView setFrameSize:leftSize]; 
     458                [_rightView setFrameSize:rightSize]; 
     459        } 
     460         
     461        [splitView adjustSubviews]; 
     462} 
     463 
     464 
     465 
     466- (BOOL)splitView:(NSSplitView *)splitView canCollapseSubview:(NSView *)subview { 
     467        return (subview != _scrollView); 
     468} 
     469 
     470 
     471 
    245472- (void)workspaceDidMount:(NSNotification *)notification { 
    246473//      [self _reloadVolumesMenu]; 
     
    253480} 
    254481 
     482 
     483 
     484#pragma mark - 
     485 
     486- (IBAction)openParent:(id)sender { 
     487        NSString        *name; 
     488        WIURL           *url; 
     489         
     490        if([_handler hasParent]) { 
     491                url = [_handler parentURL]; 
     492                 
     493                if(![url isEqual:[_handler URL]]) { 
     494                        name = [[[_handler URL] path] lastPathComponent]; 
     495                        [self _loadURL:url]; 
     496//                      [self _updateImage]; 
     497                        [_tableView selectRowWithStringValue:name]; 
     498                } 
     499        } 
     500} 
     501 
     502 
     503 
     504- (IBAction)openFile:(id)sender { 
     505        FHFile  *file; 
     506         
     507        file = [self _selectedFile]; 
     508         
     509        if([file isDirectory]) 
     510                [self _loadURL:[file URL]]; 
     511        else 
     512                [[NSWorkspace sharedWorkspace] openURL:[[file URL] URL]]; 
     513} 
     514 
     515 
     516 
     517- (IBAction)openDirectory:(id)sender { 
     518        FHFile  *file; 
     519         
     520        file = [self _selectedFile]; 
     521         
     522        if([file isDirectory]) 
     523                [self _loadURL:[file URL]]; 
     524} 
     525 
     526 
     527 
     528- (IBAction)firstFile:(id)sender { 
     529        if([[_handler files] count] == 0) 
     530                return; 
     531         
     532        [self _selectFileAtIndex:0]; 
     533} 
     534 
     535 
     536 
     537 
     538- (IBAction)lastFile:(id)sender { 
     539        NSUInteger              count; 
     540 
     541        count = [[_handler files] count]; 
     542         
     543        if(count == 0) 
     544                return; 
     545         
     546        [self _selectFileAtIndex:count - 1]; 
     547} 
     548 
     549 
     550 
     551 
     552- (IBAction)previousImage:(id)sender { 
     553        NSArray                 *files; 
     554        NSUInteger              i, count, index; 
     555        NSInteger               row; 
     556         
     557        row = [_tableView selectedRow]; 
     558         
     559        if(row < 0) 
     560                return; 
     561         
     562        files = [_handler files]; 
     563        count = [files count]; 
     564        index = NSNotFound; 
     565         
     566        if(row > 0) { 
     567                for(i = row - 1; i >= 0; i--) { 
     568                        if(![[files objectAtIndex:i] isDirectory]) { 
     569                                index = i; 
     570                                 
     571                                break; 
     572                        } 
     573                } 
     574        } 
     575                 
     576        if(index != NSNotFound) 
     577                [self _selectFileAtIndex:index]; 
     578} 
     579 
     580 
     581 
     582- (IBAction)nextImage:(id)sender { 
     583        NSArray                 *files; 
     584        NSUInteger              i, count, index; 
     585        NSInteger               row; 
     586 
     587        row = [_tableView selectedRow]; 
     588        files = [_handler files]; 
     589        count = [files count]; 
     590         
     591        if(row < 0 || (NSUInteger) row == count - 1) 
     592                return; 
     593         
     594        index = NSNotFound; 
     595         
     596        if((NSUInteger) row + 1 < count) { 
     597                for(i = row + 1; i < count; i++) { 
     598                        if(![[files objectAtIndex:i] isDirectory]) { 
     599                                index = i; 
     600                                 
     601                                break; 
     602                        } 
     603                } 
     604        } 
     605         
     606        if(index != NSNotFound) 
     607                [self _selectFileAtIndex:index]; 
     608} 
     609 
     610 
     611 
     612- (IBAction)previousPage:(id)sender { 
     613        NSArray                 *files; 
     614        NSUInteger              i, count, step, index; 
     615        NSInteger               row; 
     616         
     617        row = [_tableView selectedRow]; 
     618         
     619        if(row <= 0) 
     620                return; 
     621         
     622        files = [_handler files]; 
     623        count = [files count]; 
     624        index = 0; 
     625        step = (double) count / 10.0; 
     626        step = WI_CLAMP(step, 2, 10); 
     627 
     628        if((NSUInteger) row > step) { 
     629                for(i = row - step; i > 0; i--) { 
     630                        if(![[files objectAtIndex:i] isDirectory]) { 
     631                                index = i; 
     632                                 
     633                                break; 
     634                        } 
     635                } 
     636                 
     637                index = row - step; 
     638        } 
     639         
     640        [self _selectFileAtIndex:index]; 
     641} 
     642 
     643 
     644 
     645- (IBAction)nextPage:(id)sender { 
     646        NSArray                 *files; 
     647        NSUInteger              i, count, step, index; 
     648        NSInteger               row; 
     649         
     650        row = [_tableView selectedRow]; 
     651        files = [_handler files]; 
     652        count = [files count]; 
     653         
     654        if(row < 0 || (NSUInteger) row == count - 1) 
     655                return; 
     656         
     657        index = count - 1; 
     658        step = (double) count / 10.0; 
     659        step = WI_CLAMP(step, 2, 10); 
     660         
     661        if((NSUInteger) row + step < count) { 
     662                for(i = row + step; i < count; i++) { 
     663                        if(![[files objectAtIndex:i] isDirectory]) { 
     664                                index = i; 
     665                                 
     666                                break; 
     667                        } 
     668                } 
     669                 
     670                index = row + step; 
     671        } 
     672         
     673        [self _selectFileAtIndex:index]; 
     674} 
     675 
     676 
     677 
     678 
     679#pragma mark - 
     680 
     681- (void)loadURL:(WIURL *)url { 
     682        [self _loadURL:url]; 
     683} 
     684 
     685 
     686 
     687#pragma mark - 
     688 
     689- (int)numberOfRowsInTableView:(NSTableView *)tableView { 
     690        return [[_handler files] count]; 
     691} 
     692 
     693 
     694 
     695- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row { 
     696        FHFile          *file; 
     697        FHImage         *icon; 
     698         
     699        file = [self _fileAtIndex:row]; 
     700        icon = [file thumbnail]; 
     701         
     702        if(!icon) 
     703                icon = [file icon]; 
     704         
     705        return [NSDictionary dictionaryWithObjectsAndKeys: 
     706                [file name],    FHFileCellNameKey, 
     707                icon,                   FHFileCellIconKey, 
     708                NULL]; 
     709} 
     710 
     711 
     712 
     713- (NSString *)tableView:(NSTableView *)tableView stringValueForRow:(int)row { 
     714        return [[self _fileAtIndex:row] name]; 
     715} 
     716 
     717 
     718 
     719- (void)tableViewFrameDidChange:(NSNotification *)notification { 
     720        NSSize          size; 
     721         
     722        size = [_tableView frame].size; 
     723         
     724        if(size.width != _tableViewSize.width) { 
     725                [self _resizeTableView]; 
     726 
     727                [_tableView displayIfNeeded]; 
     728                 
     729                _tableViewSize = size; 
     730        } 
     731} 
     732 
     733 
     734 
     735- (void)tableViewSelectionDidChange:(NSNotification *)notification { 
     736        int             selectedRow; 
     737         
     738//      [self _updateImage]; 
     739         
     740        selectedRow = [_tableView selectedRow]; 
     741         
     742/*      if(!_switchingURL && selectedRow < (int) _selectedRow) { 
     743                if([_scrollView hasVerticalScroller]) 
     744                        [_imageView scrollPoint:NSZeroPoint]; 
     745        }*/ 
     746         
     747        [_imageLoader startLoadingImageAtIndex:selectedRow]; 
     748} 
     749 
    255750@end 
  • Footagehead/trunk/Footagehead.xcodeproj/project.pbxproj

    r4704 r4705  
    221221                        remoteGlobalIDString = 8DC2EF5B0486A6940098B216; 
    222222                        remoteInfo = "Wired Additions"; 
    223                 }; 
    224                 77512CCC0862CB4F002757A8 /* PBXContainerItemProxy */ = { 
    225                         isa = PBXContainerItemProxy; 
    226                         containerPortal = 77396B390857A18300058AF5 /* WiredAdditions.xcodeproj */; 
    227                         proxyType = 2; 
    228                         remoteGlobalIDString = A5E4B39E07A9797200BD6812; 
    229                         remoteInfo = "ZAAutoreleasePool Test"; 
    230                 }; 
    231                 77512CCE0862CB4F002757A8 /* PBXContainerItemProxy */ = { 
    232                         isa = PBXContainerItemProxy; 
    233                         containerPortal = 77396B390857A18300058AF5 /* WiredAdditions.xcodeproj */; 
    234                         proxyType = 2; 
    235                         remoteGlobalIDString = A553B5E007AAF56E005EE3E5; 
    236                         remoteInfo = "ZANotificationCenter Test"; 
    237                 }; 
    238                 77512CD00862CB4F002757A8 /* PBXContainerItemProxy */ = { 
    239                         isa = PBXContainerItemProxy; 
    240                         containerPortal = 77396B390857A18300058AF5 /* WiredAdditions.xcodeproj */; 
    241                         proxyType = 2; 
    242                         remoteGlobalIDString = A5E4B55207A98AEE00BD6812; 
    243                         remoteInfo = "ZAObject Test"; 
    244223                }; 
    245224                77512CF20862CFB4002757A8 /* PBXContainerItemProxy */ = { 
     
    737716                        children = ( 
    738717                                77512CCB0862CB4F002757A8 /* WiredAdditions.framework */, 
    739                                 77512CCD0862CB4F002757A8 /* WIAutoreleasePool Test.app */, 
    740                                 77512CCF0862CB4F002757A8 /* WINotificationCenter Test.app */, 
    741                                 77512CD10862CB4F002757A8 /* WIObject Test.app */, 
    742718                        ); 
    743719                        name = Products; 
     
    11761152                        sourceTree = BUILT_PRODUCTS_DIR; 
    11771153                }; 
    1178                 77512CCD0862CB4F002757A8 /* WIAutoreleasePool Test.app */ = { 
    1179                         isa = PBXReferenceProxy; 
    1180                         fileType = wrapper.application; 
    1181                         path = "WIAutoreleasePool Test.app"; 
    1182                         remoteRef = 77512CCC0862CB4F002757A8 /* PBXContainerItemProxy */; 
    1183                         sourceTree = BUILT_PRODUCTS_DIR; 
    1184                 }; 
    1185                 77512CCF0862CB4F002757A8 /* WINotificationCenter Test.app */ = { 
    1186                         isa = PBXReferenceProxy; 
    1187                         fileType = wrapper.application; 
    1188                         path = "WINotificationCenter Test.app"; 
    1189                         remoteRef = 77512CCE0862CB4F002757A8 /* PBXContainerItemProxy */; 
    1190                         sourceTree = BUILT_PRODUCTS_DIR; 
    1191                 }; 
    1192                 77512CD10862CB4F002757A8 /* WIObject Test.app */ = { 
    1193                         isa = PBXReferenceProxy; 
    1194                         fileType = wrapper.application; 
    1195                         path = "WIObject Test.app"; 
    1196                         remoteRef = 77512CD00862CB4F002757A8 /* PBXContainerItemProxy */; 
    1197                         sourceTree = BUILT_PRODUCTS_DIR; 
    1198                 }; 
    11991154/* End PBXReferenceProxy section */ 
    12001155 
     
    15511506 
    15521507/* Begin XCBuildConfiguration section */ 
    1553                 77512CF80862CFC2002757A8 /* Debug/Native */ = { 
     1508                77512CF80862CFC2002757A8 /* Debug/Native/32 */ = { 
    15541509                        isa = XCBuildConfiguration; 
    15551510                        buildSettings = { 
     
    15681523                                ); 
    15691524                        }; 
    1570                         name = Debug/Native
     1525                        name = Debug/Native/32
    15711526                }; 
    15721527                77512CF90862CFC2002757A8 /* Test/Universal */ = { 
     
    16061561                        name = Release/Universal; 
    16071562                }; 
    1608                 77512F770862D6C7002757A8 /* Debug/Native */ = { 
     1563                77512F770862D6C7002757A8 /* Debug/Native/32 */ = { 
    16091564                        isa = XCBuildConfiguration; 
    16101565                        buildSettings = { 
    16111566                                PRODUCT_NAME = jpeg; 
    16121567                        }; 
    1613                         name = Debug/Native
     1568                        name = Debug/Native/32
    16141569                }; 
    16151570                77512F780862D6C7002757A8 /* Test/Universal */ = { 
     
    16271582                        name = Release/Universal; 
    16281583                }; 
    1629                 7782C5920856151000777434 /* Debug/Native */ = { 
     1584                7782C5920856151000777434 /* Debug/Native/32 */ = { 
    16301585                        isa = XCBuildConfiguration; 
    16311586                        baseConfigurationReference = 7739664D08574E5400058AF5 /* Footagehead.xcconfig */; 
     
    16391594                                WRAPPER_EXTENSION = app; 
    16401595                        }; 
    1641                         name = Debug/Native
     1596                        name = Debug/Native/32
    16421597                }; 
    16431598                7782C5930856151000777434 /* Test/Universal */ = { 
     
    16691624                        name = Release/Universal; 
    16701625                }; 
    1671                 7782C5970856151000777434 /* Debug/Native */ = { 
     1626                7782C5970856151000777434 /* Debug/Native/32 */ = { 
    16721627                        isa = XCBuildConfiguration; 
    16731628                        buildSettings = { 
     
    16831638                                ZERO_LINK = YES; 
    16841639                        }; 
    1685                         name = Debug/Native
     1640                        name = Debug/Native/32
    16861641                }; 
    16871642                7782C5980856151000777434 /* Test/Universal */ = { 
     
    17141669                        name = Release/Universal; 
    17151670                }; 
    1716                 7782C59C0856151000777434 /* Debug/Native */ = { 
     1671                7782C59C0856151000777434 /* Debug/Native/32 */ = { 
    17171672                        isa = XCBuildConfiguration; 
    17181673                        buildSettings = { 
     
    17281683                                ZERO_LINK = YES; 
    17291684                        }; 
    1730                         name = Debug/Native
     1685                        name = Debug/Native/32
    17311686                }; 
    17321687                7782C59D0856151000777434 /* Test/Universal */ = { 
     
    17591714                        name = Release/Universal; 
    17601715                }; 
    1761                 7782C5A10856151000777434 /* Debug/Native */ = { 
     1716                7782C5A10856151000777434 /* Debug/Native/32 */ = { 
    17621717                        isa = XCBuildConfiguration; 
    17631718                        baseConfigurationReference = 7739664D08574E5400058AF5 /* Footagehead.xcconfig */; 
     
    17681723                                ZERO_LINK = YES; 
    17691724                        }; 
    1770                         name = Debug/Native
     1725                        name = Debug/Native/32
    17711726                }; 
    17721727                7782C5A20856151000777434 /* Test/Universal */ = { 
     
    17981753                        name = Release/Universal; 
    17991754                }; 
    1800                 778F0B700B64C49000E3CD47 /* Debug/Native */ = { 
     1755                778F0B700B64C49000E3CD47 /* Debug/Native/32 */ = { 
    18011756                        isa = XCBuildConfiguration; 
    18021757                        buildSettings = { 
     
    18101765                                ZERO_LINK = NO; 
    18111766                        }; 
    1812                         name = Debug/Native
     1767                        name = Debug/Native/32
    18131768                }; 
    18141769                778F0B710B64C49000E3CD47 /* Test/Universal */ = { 
     
    18401795                        name = Release/Universal; 
    18411796                }; 
    1842                 A5B450DC0880A790003B1DA1 /* Debug/Native */ = { 
     1797                A5B450DC0880A790003B1DA1 /* Debug/Native/32 */ = { 
    18431798                        isa = XCBuildConfiguration; 
    18441799                        buildSettings = { 
     
    18551810                                PRODUCT_NAME = unrar; 
    18561811                        }; 
    1857                         name = Debug/Native
     1812                        name = Debug/Native/32
    18581813                }; 
    18591814                A5B450DD0880A790003B1DA1 /* Test/Universal */ = { 
     
    18911846                        name = Release/Universal; 
    18921847                }; 
     1848                A5D7B6960BDA492600627E08 /* Debug/Native/64 */ = { 
     1849                        isa = XCBuildConfiguration; 
     1850                        buildSettings = { 
     1851                                COPY_PHASE_STRIP = NO; 
     1852                                GCC_GENERATE_DEBUGGING_SYMBOLS = YES; 
     1853                                OPTIMIZATION_CFLAGS = "-O0"; 
     1854                                OTHER_CFLAGS = ""; 
     1855