Fixed a crash selected save after clicking the document close button, and small fixes

This commit is contained in:
galad87 committed 2015-08-29 11:42:54 +02:00
1 parent 29e8fe453f
commit 5d7bafae3d
18 files changed
+158 -83

No files matched your search

@@ -398,6 +398,7 @@
</tabView>
</subviews>
<animations/>
<point key="canvasLocation" x="532" y="445"/>
</customView>
</objects>
<resources>
@@ -39,18 +39,18 @@
<tabViewItems>
<tabViewItem label="Metadata" identifier="1" id="11">
<view key="view" id="12">
<rect key="frame" x="10" y="29" width="482" height="237"/>
<rect key="frame" x="10" y="25" width="482" height="241"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<scrollView autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="19">
<rect key="frame" x="17" y="36" width="448" height="195"/>
<rect key="frame" x="17" y="36" width="448" height="199"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<clipView key="contentView" id="Vdx-OM-peX">
<rect key="frame" x="1" y="17" width="446" height="177"/>
<rect key="frame" x="1" y="0.0" width="446" height="198"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" columnSelection="YES" autosaveColumns="NO" rowHeight="14" headerView="23" id="22" customClass="SBTableView">
<rect key="frame" x="0.0" y="0.0" width="446" height="177"/>
<rect key="frame" x="0.0" y="0.0" width="446" height="181"/>
<autoresizingMask key="autoresizingMask"/>
<animations/>
<size key="intercellSpacing" width="3" height="2"/>
@@ -40,7 +40,6 @@ NS_ASSUME_NONNULL_BEGIN
NSDictionary<NSString *, id> *tags;
NSArray<NSString *> *_tagsArray;
NSArray<NSString *> *tagsMenu;
NSDictionary *detailBoldAttr;
NSMutableDictionary *dct;
+6 -7
View File
@@ -40,8 +40,8 @@ NSString *MetadataPBoardType = @"SublerMetadataPBoardType";
selector:@selector(updateSetsMenu:)
name:@"SBPresetManagerUpdatedNotification" object:nil];
tagsMenu = [[metadata writableMetadata] retain];
for (id tag in tagsMenu) {
NSArray<NSString *> *tagsMenu = [metadata writableMetadata];
for (NSString *tag in tagsMenu) {
[tagList addItemWithTitle:tag];
}
@@ -94,13 +94,13 @@ NSString *MetadataPBoardType = @"SublerMetadataPBoardType";
[imageBrowser reloadData];
}
- (void) setFile: (MP42File *)file
- (void)setFile:(MP42File *)file
{
metadata = [file.metadata retain];
tags = metadata.tagsDict;
}
- (void) setMetadata: (MP42Metadata *)data
- (void)setMetadata:(MP42Metadata *)data
{
metadata = [data retain];
tags = data.tagsDict;
@@ -820,13 +820,12 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
{
[[NSNotificationCenter defaultCenter] removeObserver: self];
[imageBrowser setDataSource:nil];
[imageBrowser setDelegate:nil];
[tagsTableView setDataSource:nil];
[imageBrowser setDataSource:nil];
[tagsTableView setDelegate:nil];
[tagsTableView setDataSource:nil];
[_tagsArray release];
[tagsMenu release];
[tabCol release];
[ratingCell release];
[genreCell release];
+5 -5
View File
@@ -1,8 +1,8 @@
/* HBApplication.h $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr/>.
It may be used under the terms of the GNU General Public License. */
//
// SBLogger.m
// Subler
//
//
#import <Cocoa/Cocoa.h>
+8 -12
View File
@@ -1,8 +1,7 @@
/* HBApplication.m $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr/>.
It may be used under the terms of the GNU General Public License. */
//
// SBLogger.m
// Subler
//
#import "SBApplication.h"
#import "SBExceptionAlertController.h"
@@ -17,14 +16,15 @@ static void CrashMyApplication()
- (NSAttributedString *)_formattedExceptionBacktrace:(NSArray *)backtrace
{
NSMutableAttributedString *result = [[NSMutableAttributedString alloc] init];
for (__strong NSString *s in backtrace)
for (NSString *s in backtrace)
{
s = [s stringByAppendingString:@"\n"];
NSAttributedString *attrS = [[NSAttributedString alloc] initWithString:s];
[result appendAttributedString:attrS];
[attrS release];
}
[result addAttribute:NSFontAttributeName value:[NSFont fontWithName:@"Monaco" size:10] range:NSMakeRange(0, result.length)];
return result;
return [result autorelease];
}
- (void)reportException:(NSException *)exception
@@ -37,11 +37,7 @@ static void CrashMyApplication()
{
// Create a string based on the exception
NSString *exceptionMessage = [NSString stringWithFormat:@"%@\nReason: %@\nUser Info: %@", exception.name, exception.reason, exception.userInfo];
// Always log to console for history
//[HBUtilities writeToActivityLog:"Exception raised:\n%s", exceptionMessage.UTF8String];
//[HBUtilities writeToActivityLog:"Backtrace:\n%s", exception.callStackSymbols.description.UTF8String];
SBExceptionAlertController *alertController = [[SBExceptionAlertController alloc] init];
alertController.exceptionMessage = exceptionMessage;
alertController.exceptionBacktrace = [self _formattedExceptionBacktrace:exception.callStackSymbols];
+22 -19
View File
@@ -133,7 +133,9 @@
- (BOOL)writeSafelyToURL:(NSURL *)url ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError * _Nullable *)outError
{
dispatch_async(dispatch_get_main_queue(), ^{
[self unblockUserInteraction];
dispatch_sync(dispatch_get_main_queue(), ^{
[optBar setIndeterminate:YES];
[optBar startAnimation:self];
[saveOperationName setStringValue:@"Saving…"];
@@ -141,8 +143,6 @@
modalDelegate:nil didEndSelector:NULL contextInfo:nil];
});
[self unblockUserInteraction];
IOPMAssertionID assertionID;
// Enable sleep assertion
CFStringRef reasonForActivity= CFSTR("Subler Save Operation");
@@ -192,18 +192,17 @@
IOPMAssertionRelease(assertionID);
}
NSError *error = *outError;
MP42File *reloadedFile = nil;
if (result == YES) {
reloadedFile = [[[MP42File alloc] initWithURL:url delegate:self] autorelease];
reloadedFile = [[MP42File alloc] initWithURL:url delegate:self];
}
dispatch_async(dispatch_get_main_queue(), ^{
[NSApp endSheet:savingWindow];
[savingWindow orderOut:self];
dispatch_sync(dispatch_get_main_queue(), ^{
[optBar stopAnimation:self];
[savingWindow orderOut:self];
[NSApp endSheet:savingWindow];
if (result == YES && error) {
[self presentError:error
@@ -215,6 +214,7 @@
if (reloadedFile) {
self.mp4 = reloadedFile;
[reloadedFile release];
}
});
@@ -469,15 +469,13 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
- (void)reloadPropertyView
{
if ([propertyView view] != nil) {
if (propertyView.view != nil) {
// remove the undo items from the dealloced view
[[self undoManager] removeAllActionsWithTarget:propertyView];
// remove the current view
[[propertyView view] removeFromSuperview];
}
[propertyView.view removeFromSuperview];
// remove the undo items from the dealloced view
[[self undoManager] removeAllActionsWithTarget:propertyView];
if (propertyView != nil) {
// remove the current view controller
[propertyView release];
}
@@ -508,7 +506,7 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
propertyView = controller;
// embed the current view to our host view
[targetView addSubview: [propertyView view]];
[targetView addSubview:propertyView.view];
[documentWindow recalculateKeyViewLoop];
// make sure we automatically resize the controller's view to the current window size
@@ -519,8 +517,9 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
- (BOOL)tableView:(NSTableView *)tv writeRowsWithIndexes:(NSIndexSet *)rowIndexes toPasteboard:(NSPasteboard *)pboard
{
// Copy the row numbers to the pasteboard.
if ([[self.mp4 trackAtIndex:[rowIndexes firstIndex]] muxed])
if ([[self.mp4 trackAtIndex:[rowIndexes firstIndex]] muxed]) {
return NO;
}
NSData *data = [NSKeyedArchiver archivedDataWithRootObject:rowIndexes];
[pboard declareTypes:@[SublerTableViewDataType] owner:self];
@@ -652,8 +651,9 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
MP42VideoTrack *videoTrack = (MP42VideoTrack *)track;
int hdVideo = isHdVideo((uint64_t)videoTrack.trackWidth, (uint64_t)videoTrack.trackHeight);
if (hdVideo)
[self.mp4.metadata setTag:@(hdVideo) forKey:@"HD Video"];
if (hdVideo) {
self.mp4.metadata[@"HD Video"] = @(hdVideo);
}
}
[self updateChangeCount:NSChangeDone];
}
@@ -955,6 +955,9 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
- (void)dealloc
{
[fileTracksTable setDelegate:nil];
[fileTracksTable setDataSource:nil];
[propertyView release];
propertyView = nil;
+10 -8
View File
@@ -1,8 +1,7 @@
/* HBExceptionAlertController.h $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr/>.
It may be used under the terms of the GNU General Public License. */
//
// SBLogger.m
// Subler
//
#import <Cocoa/Cocoa.h>
@@ -11,11 +10,14 @@ typedef NS_ENUM(NSUInteger, SBExceptionAlertControllerResult) {
SBExceptionAlertControllerResultContinue,
};
@interface SBExceptionAlertController : NSWindowController
@interface SBExceptionAlertController : NSWindowController {
NSString *_exceptionMessage;
NSAttributedString *_exceptionBacktrace;
}
// Properties are used by bindings
@property (copy) NSString *exceptionMessage;
@property (copy) NSAttributedString *exceptionBacktrace;
@property (nonatomic, copy) NSString *exceptionMessage;
@property (nonatomic, copy) NSAttributedString *exceptionBacktrace;
- (IBAction)btnCrashClicked:(id)sender;
- (IBAction)btnContinueClicked:(id)sender;
+7 -5
View File
@@ -1,8 +1,7 @@
/* HBExceptionAlertController.m $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr/>.
It may be used under the terms of the GNU General Public License. */
//
// SBLogger.m
// Subler
//
#import "SBExceptionAlertController.h"
@@ -13,6 +12,9 @@
return [self initWithWindowNibName:@"ExceptionAlert"];
}
@synthesize exceptionBacktrace = _exceptionBacktrace;
@synthesize exceptionMessage = _exceptionMessage;
- (NSInteger)runModal
{
return [NSApp runModalForWindow:self.window];
+4 -2
View File
@@ -16,7 +16,7 @@
{
self = [super initWithFrame:frame];
if (self) {
_pasteboardTypes = @[];
_pasteboardTypes = [@[] retain];
}
return self;
}
@@ -25,7 +25,7 @@
{
self = [super initWithCoder:coder];
if (self) {
_pasteboardTypes = @[];
_pasteboardTypes = [@[] retain];
}
return self;
}
@@ -62,6 +62,8 @@
- (void)dealloc
{
[_pasteboardTypes release];
_pasteboardTypes = nil;
[super dealloc];
}
+1
View File
@@ -14,6 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
@class SBLogger;
@interface SBLogWindowController : NSWindowController <MP42Logging> {
@private
NSTextView *_logView;
SBLogger *_logger;
}
+8 -6
View File
@@ -420,10 +420,10 @@
}
[delegate metadataImportDone:self.selectedResult];
[metadataTable setDataSource:nil];
[metadataTable setDelegate:nil];
[resultsTable setDataSource:nil];
[metadataTable setDataSource:nil];
[resultsTable setDelegate:nil];
[resultsTable setDataSource:nil];
[NSApp endSheet:[self window] returnCode:1];
}
@@ -433,10 +433,10 @@
[self.currentSearcher cancel];
self.currentSearcher = nil;
[metadataTable setDataSource:nil];
[metadataTable setDelegate:nil];
[resultsTable setDataSource:nil];
[metadataTable setDataSource:nil];
[resultsTable setDelegate:nil];
[resultsTable setDataSource:nil];
[NSApp endSheet:[self window] returnCode:0];
}
@@ -593,10 +593,12 @@ static NSInteger sortFunction (id ldict, id rdict, void *context) {
NSInteger right = [(NSArray*) context indexOfObject:rdict];
NSInteger left = [(NSArray*) context indexOfObject:ldict];
if (right < left)
if (right < left) {
rc = NSOrderedDescending;
else
}
else {
rc = NSOrderedAscending;
}
return rc;
}
+6 -4
View File
@@ -167,8 +167,9 @@
MP42Image *artwork = [self loadArtwork:artworkURL];
if (artwork)
if (artwork) {
[metadata.artworks addObject:artwork];
}
}
return metadata;
@@ -183,11 +184,12 @@
MP42VideoTrack *videoTrack = (MP42VideoTrack *)track;
int hdVideo = isHdVideo((uint64_t)videoTrack.trackWidth, (uint64_t)videoTrack.trackHeight);
if (hdVideo)
[metadata setTag:@(hdVideo) forKey:@"HD Video"];
if (hdVideo) {
metadata[@"HD Video"] = @(hdVideo);
}
}
[[item.mp4File metadata] mergeMetadata:metadata];
[item.mp4File.metadata mergeMetadata:metadata];
}
- (NSString *)description {
+1 -1
View File
@@ -26,7 +26,7 @@ NS_ASSUME_NONNULL_BEGIN
NSArray<NSString *> *_pasteboardTypes;
NSInteger _defaultEditingColumn;
}
@property(nonatomic, readwrite, retain) NSArray<NSString *> *pasteboardTypes;
@property(nonatomic, readwrite, copy) NSArray<NSString *> *pasteboardTypes;
@property(nonatomic, readwrite) NSInteger defaultEditingColumn;
@end
+5 -3
View File
@@ -18,7 +18,7 @@
{
self = [super initWithFrame:frame];
if (self) {
_pasteboardTypes = @[];
_pasteboardTypes = [@[] retain];
}
return self;
}
@@ -27,7 +27,7 @@
{
self = [super initWithCoder:coder];
if (self) {
_pasteboardTypes = @[];
_pasteboardTypes = [@[] retain];
}
return self;
}
@@ -170,9 +170,11 @@
[super drawRow:inRow clipRect:newClipRect];
}
- (void) dealloc
- (void)dealloc
{
[_pasteboardTypes release];
_pasteboardTypes = nil;
[super dealloc];
}
+1 -1
View File
@@ -11,7 +11,7 @@
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customObject id="-3" userLabel="Application" customClass="SBApplication"/>
<menu title="AMainMenu" systemMenu="main" id="29" userLabel="MainMenu">
<items>
<menuItem title="Subler" id="56">
+68 -4
View File
@@ -17,6 +17,10 @@
A91F622D0FB0A56F00B96B33 /* libicucore.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A91F622C0FB0A56F00B96B33 /* libicucore.dylib */; };
A925AA8518378D8A00BE84D4 /* MP42Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A925AA8218378D7900BE84D4 /* MP42Foundation.framework */; };
A925AA8818378DD000BE84D4 /* MP42Foundation.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = A925AA8218378D7900BE84D4 /* MP42Foundation.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
A95688A21B91B0F3004456A6 /* NSArray+Subscripting.m in Sources */ = {isa = PBXBuildFile; fileRef = A95688A11B91B0F3004456A6 /* NSArray+Subscripting.m */; settings = {ASSET_TAGS = (); }; };
A95688A91B91B11B004456A6 /* NSDictionary+Subscript.m in Sources */ = {isa = PBXBuildFile; fileRef = A95688A41B91B11B004456A6 /* NSDictionary+Subscript.m */; settings = {ASSET_TAGS = (); }; };
A95688AA1B91B11B004456A6 /* NSMutableArray+Subscript.m in Sources */ = {isa = PBXBuildFile; fileRef = A95688A61B91B11B004456A6 /* NSMutableArray+Subscript.m */; settings = {ASSET_TAGS = (); }; };
A95688AB1B91B11B004456A6 /* NSMutableDictionary+Subscript.m in Sources */ = {isa = PBXBuildFile; fileRef = A95688A81B91B11B004456A6 /* NSMutableDictionary+Subscript.m */; settings = {ASSET_TAGS = (); }; };
A95B8DA91B09F37800F2F152 /* Subler_Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = A95B8DA81B09F37800F2F152 /* Subler_Tests.m */; };
A95C881D0F827BFB00F51A22 /* ToolbarRemoveTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A95C881C0F827BFB00F51A22 /* ToolbarRemoveTemplate.png */; };
A960E96317D4B00900FC6ED9 /* SBImageBrowserView.m in Sources */ = {isa = PBXBuildFile; fileRef = A960E96217D4B00900FC6ED9 /* SBImageBrowserView.m */; };
@@ -67,6 +71,9 @@
A9D47B5A17B239E200900BCA /* EncodeComplete.png in Resources */ = {isa = PBXBuildFile; fileRef = A9D47B5617B239E200900BCA /* EncodeComplete.png */; };
A9D47B5B17B239E200900BCA /* EncodeComplete@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9D47B5717B239E200900BCA /* EncodeComplete@2x.png */; };
A9D73C5218BF3F1100C6FFA6 /* SBQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = A9D73C5118BF3F1100C6FFA6 /* SBQueue.m */; };
A9DA3B9C1B918D5C00F1E40C /* SBApplication.m in Sources */ = {isa = PBXBuildFile; fileRef = A9DA3B991B918D5C00F1E40C /* SBApplication.m */; settings = {ASSET_TAGS = (); }; };
A9DA3B9D1B918D5C00F1E40C /* SBExceptionAlertController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9DA3B9B1B918D5C00F1E40C /* SBExceptionAlertController.m */; settings = {ASSET_TAGS = (); }; };
A9DA3BA31B918D6F00F1E40C /* ExceptionAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9DA3BA11B918D6F00F1E40C /* ExceptionAlert.xib */; settings = {ASSET_TAGS = (); }; };
A9E2C9C91A1770EC00A417C9 /* EncodeWorking@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9E2C9C81A1770EC00A417C9 /* EncodeWorking@2x.png */; };
A9EEA5F218D65490008B54B4 /* SBOptionsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9EEA5F018D65490008B54B4 /* SBOptionsViewController.m */; };
A9EEA5F818D654B9008B54B4 /* QueueOptions.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9EEA5F618D654B9008B54B4 /* QueueOptions.xib */; };
@@ -165,6 +172,14 @@
A917286419FD289F00348DF8 /* SBLogger.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SBLogger.h; path = Classes/SBLogger.h; sourceTree = "<group>"; };
A91F622C0FB0A56F00B96B33 /* libicucore.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libicucore.dylib; path = /usr/lib/libicucore.dylib; sourceTree = "<absolute>"; };
A925AA7B18378D7800BE84D4 /* MP42Foundation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = MP42Foundation.xcodeproj; path = MP42Foundation/MP42Foundation.xcodeproj; sourceTree = "<group>"; };
A95688A01B91B0F3004456A6 /* NSArray+Subscripting.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "NSArray+Subscripting.h"; path = "Classes/Compatibility/NSArray+Subscripting.h"; sourceTree = "<group>"; };
A95688A11B91B0F3004456A6 /* NSArray+Subscripting.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "NSArray+Subscripting.m"; path = "Classes/Compatibility/NSArray+Subscripting.m"; sourceTree = "<group>"; };
A95688A31B91B11B004456A6 /* NSDictionary+Subscript.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "NSDictionary+Subscript.h"; path = "Classes/Compatibility/NSDictionary+Subscript.h"; sourceTree = "<group>"; };
A95688A41B91B11B004456A6 /* NSDictionary+Subscript.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "NSDictionary+Subscript.m"; path = "Classes/Compatibility/NSDictionary+Subscript.m"; sourceTree = "<group>"; };
A95688A51B91B11B004456A6 /* NSMutableArray+Subscript.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "NSMutableArray+Subscript.h"; path = "Classes/Compatibility/NSMutableArray+Subscript.h"; sourceTree = "<group>"; };
A95688A61B91B11B004456A6 /* NSMutableArray+Subscript.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "NSMutableArray+Subscript.m"; path = "Classes/Compatibility/NSMutableArray+Subscript.m"; sourceTree = "<group>"; };
A95688A71B91B11B004456A6 /* NSMutableDictionary+Subscript.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "NSMutableDictionary+Subscript.h"; path = "Classes/Compatibility/NSMutableDictionary+Subscript.h"; sourceTree = "<group>"; };
A95688A81B91B11B004456A6 /* NSMutableDictionary+Subscript.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "NSMutableDictionary+Subscript.m"; path = "Classes/Compatibility/NSMutableDictionary+Subscript.m"; sourceTree = "<group>"; };
A95B8DA41B09F37700F2F152 /* Subler Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Subler Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
A95B8DA71B09F37700F2F152 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
A95B8DA81B09F37800F2F152 /* Subler_Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Subler_Tests.m; sourceTree = "<group>"; };
@@ -244,6 +259,11 @@
A9D47B5717B239E200900BCA /* EncodeComplete@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "EncodeComplete@2x.png"; path = "images/EncodeComplete@2x.png"; sourceTree = "<group>"; };
A9D73C5018BF3F1100C6FFA6 /* SBQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBQueue.h; path = Classes/SBQueue.h; sourceTree = "<group>"; };
A9D73C5118BF3F1100C6FFA6 /* SBQueue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBQueue.m; path = Classes/SBQueue.m; sourceTree = "<group>"; };
A9DA3B991B918D5C00F1E40C /* SBApplication.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBApplication.m; path = Classes/SBApplication.m; sourceTree = "<group>"; };
A9DA3B9A1B918D5C00F1E40C /* SBExceptionAlertController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBExceptionAlertController.h; path = Classes/SBExceptionAlertController.h; sourceTree = "<group>"; };
A9DA3B9B1B918D5C00F1E40C /* SBExceptionAlertController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBExceptionAlertController.m; path = Classes/SBExceptionAlertController.m; sourceTree = "<group>"; };
A9DA3BA01B918D6200F1E40C /* SBApplication.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SBApplication.h; path = Classes/SBApplication.h; sourceTree = "<group>"; };
A9DA3BA21B918D6F00F1E40C /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/ExceptionAlert.xib; sourceTree = "<group>"; };
A9E2C9C81A1770EC00A417C9 /* EncodeWorking@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "EncodeWorking@2x.png"; path = "images/EncodeWorking@2x.png"; sourceTree = "<group>"; };
A9ED7B21180067A2008FD3A8 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = System/Library/Frameworks/IOKit.framework; sourceTree = SDKROOT; };
A9EEA5EF18D65490008B54B4 /* SBOptionsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBOptionsViewController.h; path = Classes/SBOptionsViewController.h; sourceTree = "<group>"; };
@@ -374,10 +394,8 @@
A9AB484817F0AEA2000AA72E /* SBAppDelegate.m */,
CD71FF1A12F1C46900F0A98D /* MetadataImporters */,
A9FD5D150F3C692400817716 /* PropertyView */,
A9C5FA6B19FA22590051F3FF /* SBLogWindowController.h */,
A9C5FA6C19FA22590051F3FF /* SBLogWindowController.m */,
A917286419FD289F00348DF8 /* SBLogger.h */,
A917286019FD288B00348DF8 /* SBLogger.m */,
A95688AC1B91B35A004456A6 /* Activity Log */,
A956889F1B91AFF7004456A6 /* Compatibility */,
);
name = Classes;
sourceTree = "<group>";
@@ -446,6 +464,36 @@
name = Products;
sourceTree = "<group>";
};
A956889F1B91AFF7004456A6 /* Compatibility */ = {
isa = PBXGroup;
children = (
A95688A01B91B0F3004456A6 /* NSArray+Subscripting.h */,
A95688A11B91B0F3004456A6 /* NSArray+Subscripting.m */,
A95688A31B91B11B004456A6 /* NSDictionary+Subscript.h */,
A95688A41B91B11B004456A6 /* NSDictionary+Subscript.m */,
A95688A51B91B11B004456A6 /* NSMutableArray+Subscript.h */,
A95688A61B91B11B004456A6 /* NSMutableArray+Subscript.m */,
A95688A71B91B11B004456A6 /* NSMutableDictionary+Subscript.h */,
A95688A81B91B11B004456A6 /* NSMutableDictionary+Subscript.m */,
);
name = Compatibility;
sourceTree = "<group>";
};
A95688AC1B91B35A004456A6 /* Activity Log */ = {
isa = PBXGroup;
children = (
A9C5FA6B19FA22590051F3FF /* SBLogWindowController.h */,
A9C5FA6C19FA22590051F3FF /* SBLogWindowController.m */,
A917286419FD289F00348DF8 /* SBLogger.h */,
A917286019FD288B00348DF8 /* SBLogger.m */,
A9DA3BA01B918D6200F1E40C /* SBApplication.h */,
A9DA3B991B918D5C00F1E40C /* SBApplication.m */,
A9DA3B9A1B918D5C00F1E40C /* SBExceptionAlertController.h */,
A9DA3B9B1B918D5C00F1E40C /* SBExceptionAlertController.m */,
);
name = "Activity Log";
sourceTree = "<group>";
};
A95B8DA51B09F37700F2F152 /* Subler Tests */ = {
isa = PBXGroup;
children = (
@@ -481,6 +529,7 @@
A9BC410618D9ABC000F8C92C /* QueueItem.xib */,
A90B023910F3290A000416F3 /* Prefs.xib */,
A9C5FA7219FA2FEC0051F3FF /* SBLogWindow.xib */,
A9DA3BA11B918D6F00F1E40C /* ExceptionAlert.xib */,
);
name = NIBs;
sourceTree = "<group>";
@@ -712,6 +761,7 @@
A9D47B5917B239E200900BCA /* EncodeCanceled@2x.png in Resources */,
A984DB740F52DD4B001A20B2 /* dsa_pub.pem in Resources */,
A9C5FA7419FA2FEC0051F3FF /* SBLogWindow.xib in Resources */,
A9DA3BA31B918D6F00F1E40C /* ExceptionAlert.xib in Resources */,
A9C055370F6D395B00AF15B5 /* FileImport.xib in Resources */,
A95C881D0F827BFB00F51A22 /* ToolbarRemoveTemplate.png in Resources */,
A90B023B10F3290A000416F3 /* Prefs.xib in Resources */,
@@ -772,8 +822,10 @@
buildActionMask = 2147483647;
files = (
8D15AC320486D014006FF6A4 /* main.m in Sources */,
A95688A91B91B11B004456A6 /* NSDictionary+Subscript.m in Sources */,
A9AB485617F0AEAC000AA72E /* SBMovieViewController.m in Sources */,
A960E96317D4B00900FC6ED9 /* SBImageBrowserView.m in Sources */,
A9DA3B9D1B918D5C00F1E40C /* SBExceptionAlertController.m in Sources */,
A9BC410318D9AB8700F8C92C /* SBItemViewController.m in Sources */,
A9AB484917F0AEA2000AA72E /* SBAppDelegate.m in Sources */,
A9B46A8C12B79B240040517A /* SBFileImport.m in Sources */,
@@ -790,9 +842,12 @@
A9D73C5218BF3F1100C6FFA6 /* SBQueue.m in Sources */,
A9AB485717F0AEAC000AA72E /* SBSoundViewController.m in Sources */,
A9C828F5195950C3004C4718 /* SBQueuePreferences.m in Sources */,
A9DA3B9C1B918D5C00F1E40C /* SBApplication.m in Sources */,
CD56963212FAAD680029FADB /* SBArtworkSelector.m in Sources */,
A961476313F567E10068F161 /* SBQueueController.m in Sources */,
A961476413F567E10068F161 /* SBPresetManager.m in Sources */,
A95688AA1B91B11B004456A6 /* NSMutableArray+Subscript.m in Sources */,
A95688AB1B91B11B004456A6 /* NSMutableDictionary+Subscript.m in Sources */,
A982D0C0140AB66400B92357 /* SBQueueItem.m in Sources */,
A9AF6A7518D0496400FAAB08 /* SBQueueAction.m in Sources */,
CDC06FCE1747494D003C1D0A /* iTunesStore.m in Sources */,
@@ -802,6 +857,7 @@
CD03087917576AE50093A0BE /* MetadataImporter.m in Sources */,
CD3F2A881761A143000D4C73 /* XMLReader.m in Sources */,
A9AB485517F0AEAC000AA72E /* SBEmptyViewController.m in Sources */,
A95688A21B91B0F3004456A6 /* NSArray+Subscripting.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -941,6 +997,14 @@
name = SBLogWindow.xib;
sourceTree = "<group>";
};
A9DA3BA11B918D6F00F1E40C /* ExceptionAlert.xib */ = {
isa = PBXVariantGroup;
children = (
A9DA3BA21B918D6F00F1E40C /* English */,
);
name = ExceptionAlert.xib;
sourceTree = "<group>";
};
A9EEA5F618D654B9008B54B4 /* QueueOptions.xib */ = {
isa = PBXVariantGroup;
children = (