adium/adium

ARC-ify AIUtilities.
ARC
2012-02-02, Frank Dowsett
fb4996fa6f54
Parents b9d76ac8b644
Children 7e788676ad52
ARC-ify AIUtilities.
  • +1 -1
    Frameworks/AIUtilities Framework/Source/AIAlternatingRowOutlineView.h
  • +2 -11
    Frameworks/AIUtilities Framework/Source/AIAlternatingRowOutlineView.m
  • +1 -1
    Frameworks/AIUtilities Framework/Source/AIArrayAdditions.m
  • +12 -19
    Frameworks/AIUtilities Framework/Source/AIAttributedStringAdditions.m
  • +0 -2
    Frameworks/AIUtilities Framework/Source/AIAutoScrollView.m
  • +3 -3
    Frameworks/AIUtilities Framework/Source/AIBezierPathAdditions.m
  • +1 -1
    Frameworks/AIUtilities Framework/Source/AICharacterSetAdditions.m
  • +4 -4
    Frameworks/AIUtilities Framework/Source/AIColorAdditions.m
  • +2 -2
    Frameworks/AIUtilities Framework/Source/AIColoredBoxView.h
  • +0 -7
    Frameworks/AIUtilities Framework/Source/AIColoredBoxView.m
  • +2 -13
    Frameworks/AIUtilities Framework/Source/AICompletingTextField.m
  • +1 -9
    Frameworks/AIUtilities Framework/Source/AIDictionaryAdditions.m
  • +0 -1
    Frameworks/AIUtilities Framework/Source/AIDockingWindow.m
  • +4 -6
    Frameworks/AIUtilities Framework/Source/AIFileManagerAdditions.m
  • +2 -9
    Frameworks/AIUtilities Framework/Source/AIFlexibleLink.m
  • +3 -5
    Frameworks/AIUtilities Framework/Source/AIFloater.m
  • +4 -11
    Frameworks/AIUtilities Framework/Source/AIGenericViewCell.m
  • +24 -32
    Frameworks/AIUtilities Framework/Source/AIHostReachabilityMonitor.m
  • +5 -5
    Frameworks/AIUtilities Framework/Source/AIImageAdditions.m
  • +3 -8
    Frameworks/AIUtilities Framework/Source/AIImageButton.m
  • +4 -4
    Frameworks/AIUtilities Framework/Source/AIImageCollectionView.h
  • +4 -6
    Frameworks/AIUtilities Framework/Source/AIImageCollectionView.m
  • +4 -12
    Frameworks/AIUtilities Framework/Source/AIImageDrawingAdditions.m
  • +3 -11
    Frameworks/AIUtilities Framework/Source/AIImageTextCell.m
  • +5 -5
    Frameworks/AIUtilities Framework/Source/AIImageViewWithImagePicker.h
  • +8 -15
    Frameworks/AIUtilities Framework/Source/AIImageViewWithImagePicker.m
  • +24 -39
    Frameworks/AIUtilities Framework/Source/AIKeychain.m
  • +2 -5
    Frameworks/AIUtilities Framework/Source/AILinkTextView.m
  • +16 -22
    Frameworks/AIUtilities Framework/Source/AILinkTrackingController.m
  • +5 -11
    Frameworks/AIUtilities Framework/Source/AIMenuAdditions.m
  • +2 -12
    Frameworks/AIUtilities Framework/Source/AIMultiCellOutlineView.m
  • +5 -5
    Frameworks/AIUtilities Framework/Source/AIMutableOwnerArray.h
  • +5 -6
    Frameworks/AIUtilities Framework/Source/AIMutableOwnerArray.m
  • +2 -2
    Frameworks/AIUtilities Framework/Source/AIMutableStringAdditions.m
  • +1 -1
    Frameworks/AIUtilities Framework/Source/AIOutlineView.m
  • +2 -2
    Frameworks/AIUtilities Framework/Source/AIParagraphStyleAdditions.m
  • +17 -19
    Frameworks/AIUtilities Framework/Source/AIProgressDataUploader.m
  • +2 -2
    Frameworks/AIUtilities Framework/Source/AIRichTextCoercer.m
  • +0 -2
    Frameworks/AIUtilities Framework/Source/AIRolloverButton.m
  • +0 -7
    Frameworks/AIUtilities Framework/Source/AISendingTextView.m
  • +6 -8
    Frameworks/AIUtilities Framework/Source/AISmoothTooltipTracker.m
  • +19 -19
    Frameworks/AIUtilities Framework/Source/AIStringAdditions.m
  • +3 -14
    Frameworks/AIUtilities Framework/Source/AIStringFormatter.m
  • +6 -7
    Frameworks/AIUtilities Framework/Source/AISystemNetworkDefaults.m
  • +1 -1
    Frameworks/AIUtilities Framework/Source/AITextAttachmentAdditions.m
  • +9 -20
    Frameworks/AIUtilities Framework/Source/AITextAttributes.m
  • +2 -10
    Frameworks/AIUtilities Framework/Source/AITextViewWithPlaceholder.m
  • +2 -11
    Frameworks/AIUtilities Framework/Source/AIToolbarTabView.m
  • +4 -4
    Frameworks/AIUtilities Framework/Source/AIToolbarUtilities.m
  • +15 -19
    Frameworks/AIUtilities Framework/Source/AITooltipUtilities.m
  • +2 -4
    Frameworks/AIUtilities Framework/Source/AIVariableHeightOutlineView.m
  • +1 -3
    Frameworks/AIUtilities Framework/Source/AIVerticallyCenteredTextCell.m
  • +3 -4
    Frameworks/AIUtilities Framework/Source/AIViewAdditions.m
  • +25 -31
    Frameworks/AIUtilities Framework/Source/JVMarkedScroller.m
  • +4 -14
    Frameworks/AIUtilities Framework/Source/MVMenuButton.m
  • +1 -4
    Frameworks/AIUtilities Framework/Source/NSCalendarDate+ISO8601Unparsing.m
  • +1 -1
    Frameworks/AIUtilities Framework/Source/OWAddressBookAdditions.m
  • +1 -0
    xcconfigs/AIUtilities.framework.xcconfig
  • --- a/Frameworks/AIUtilities Framework/Source/AIAlternatingRowOutlineView.h Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIAlternatingRowOutlineView.h Thu Feb 02 00:40:15 2012 -0500
    @@ -34,7 +34,7 @@
    *
    * Ignored if usesAlternatingRowBackgroundColors is NO.
    */
    -@property (readwrite, nonatomic, retain) NSColor *alternatingRowColor;
    +@property (unsafe_unretained, readwrite, nonatomic) NSColor *alternatingRowColor;
    /*!
    * @brief Whether the outlineView should draw its background
    --- a/Frameworks/AIUtilities Framework/Source/AIAlternatingRowOutlineView.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIAlternatingRowOutlineView.m Thu Feb 02 00:40:15 2012 -0500
    @@ -59,17 +59,9 @@
    [self setUsesAlternatingRowBackgroundColors:NO];
    drawsBackground = YES;
    drawsGradientSelection = NO;
    - alternatingRowColor = [[NSColor colorWithCalibratedRed:(237.0f/255.0f) green:(243.0f/255.0f) blue:(254.0f/255.0f) alpha:1.0f] retain];
    + alternatingRowColor = [NSColor colorWithCalibratedRed:(237.0f/255.0f) green:(243.0f/255.0f) blue:(254.0f/255.0f) alpha:1.0f];
    }
    -- (void)dealloc
    -{
    - [alternatingRowColor release];
    -
    - [super dealloc];
    -}
    -
    -
    //Configuring ----------------------------------------------------------------------
    - (void)setDrawsGradientSelection:(BOOL)inDrawsGradientSelection
    @@ -87,8 +79,7 @@
    - (void)setAlternatingRowColor:(NSColor *)color
    {
    if (color != alternatingRowColor) {
    - [alternatingRowColor release];
    - alternatingRowColor = [color retain];
    + alternatingRowColor = color;
    [self setNeedsDisplay:YES];
    }
    }
    --- a/Frameworks/AIUtilities Framework/Source/AIArrayAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIArrayAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -35,7 +35,7 @@
    //Open the plist file
    arrayPath = [ownerBundle pathForResource:name ofType:@"plist"];
    - return [[[NSArray alloc] initWithContentsOfFile:arrayPath] autorelease];
    + return [[NSArray alloc] initWithContentsOfFile:arrayPath];
    }
    - (NSComparisonResult)compare:(NSArray *)other
    --- a/Frameworks/AIUtilities Framework/Source/AIAttributedStringAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIAttributedStringAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -43,7 +43,6 @@
    }
    [self appendAttributedString:tempString];
    - [tempString release];
    }
    - (NSUInteger)replaceOccurrencesOfString:(NSString *)target withString:(NSString*)replacement options:(NSStringCompareOptions)opts range:(NSRange)searchRange
    @@ -85,8 +84,6 @@
    break;
    }
    - [replacementString release];
    -
    return numberOfReplacements;
    }
    @@ -413,15 +410,15 @@
    #define FONT_HEIGHT_STRING @"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789()"
    + (CGFloat)stringHeightForAttributes:(NSDictionary *)attributes
    {
    - NSAttributedString *string = [[[NSAttributedString alloc] initWithString:FONT_HEIGHT_STRING
    - attributes:attributes] autorelease];
    + NSAttributedString *string = [[NSAttributedString alloc] initWithString:FONT_HEIGHT_STRING
    + attributes:attributes];
    return [string heightWithWidth:1e7f];
    }
    + (NSAttributedString *)stringWithString:(NSString *)inString
    {
    NSParameterAssert(inString != nil);
    - return [[[NSAttributedString alloc] initWithString:inString] autorelease];
    + return [[NSAttributedString alloc] initWithString:inString];
    }
    + (NSAttributedString *)attributedStringWithString:(NSString *)inString linkRange:(NSRange)linkRange linkDestination:(id)inLink
    @@ -434,7 +431,7 @@
    NSParameterAssert(inLink != nil);
    NSParameterAssert([inLink isKindOfClass:[NSURL class]]);
    - NSMutableAttributedString *attributedString = [[[NSMutableAttributedString alloc] initWithString:inString] autorelease];
    + NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc] initWithString:inString];
    //Throws NSInvalidArgumentException if the range is out-of-range.
    [attributedString addAttribute:NSLinkAttributeName value:inLink range:linkRange];
    @@ -451,7 +448,7 @@
    NSParameterAssert([inLink isKindOfClass:[NSURL class]]);
    NSDictionary *attributes = [NSDictionary dictionaryWithObject:inLink forKey:NSLinkAttributeName];
    - return [[[self alloc] initWithString:inString attributes:attributes] autorelease];
    + return [[self alloc] initWithString:inString attributes:attributes];
    }
    - (CGFloat)heightWithWidth:(CGFloat)width
    @@ -471,9 +468,6 @@
    CGFloat height = [layoutManager usedRectForTextContainer:textContainer].size.height;
    - [textStorage release];
    - [textContainer release];
    - [layoutManager release];
    return height;
    }
    @@ -502,7 +496,7 @@
    * when the unarchiver is deallocated. We could rely upon autoreleasing the unarchiver, but it
    * is cleaner to make the NSAttributedString autorelease itself.
    */
    - returnValue = (NSAttributedString *)[[[unarchiver decodeObject] retain] autorelease];
    + returnValue = (NSAttributedString *)[unarchiver decodeObject];
    } else {
    /* For reading previously stored NSData objects - we used to store them as RTF data, but that
    @@ -510,11 +504,10 @@
    * here isn't a speed problem. We previously used AIHTMLDecoder to handle Jaguar old-data unarchiving...
    * but that's in Adium.framework and the cross over most certainly isn't worth it.
    */
    - returnValue = ([[[NSAttributedString alloc] initWithRTF:inData
    - documentAttributes:nil] autorelease]);
    + returnValue = ([[NSAttributedString alloc] initWithRTF:inData
    + documentAttributes:nil]);
    }
    - [unarchiver release];
    }
    }
    @catch(id exc) { }
    @@ -525,7 +518,7 @@
    - (NSAttributedString *)attributedStringByConvertingAttachmentsToStrings
    {
    if ([self length] && [self containsAttachments]) {
    - NSMutableAttributedString *newAttributedString = [[self mutableCopy] autorelease];
    + NSMutableAttributedString *newAttributedString = [self mutableCopy];
    [newAttributedString convertAttachmentsToStringsUsingPlaceholder:AILocalizedString(@"<<Attachment>>", nil)];
    return newAttributedString;
    @@ -558,7 +551,7 @@
    if (URL) {
    if (!newAttributedString) {
    - newAttributedString = [[self mutableCopy] autorelease];
    + newAttributedString = [self mutableCopy];
    currentAttributedString = newAttributedString;
    }
    @@ -590,7 +583,7 @@
    }
    }
    - return (newAttributedString ? newAttributedString : [[self copy] autorelease]);
    + return (newAttributedString ? newAttributedString : [self copy]);
    }
    - (NSAttributedString *)attributedStringByConvertingLinksToStrings
    @@ -606,7 +599,7 @@
    {
    NSMutableAttributedString *str = [self mutableCopy];
    [str addFormattingForLinks];
    - return [str autorelease];
    + return str;
    }
    @end
    --- a/Frameworks/AIUtilities Framework/Source/AIAutoScrollView.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIAutoScrollView.m Thu Feb 02 00:40:15 2012 -0500
    @@ -68,8 +68,6 @@
    [[NSNotificationCenter defaultCenter] removeObserver:self
    name:NSViewFrameDidChangeNotification
    object:nil];
    -
    - [super dealloc];
    }
    //Auto Scrolling ---------------------------------------------------------------
    --- a/Frameworks/AIUtilities Framework/Source/AIBezierPathAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIBezierPathAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -190,13 +190,13 @@
    //these three return an autoreleased copy.
    - (NSBezierPath *)bezierPathByFlippingHorizontally {
    - return [[[self copy] autorelease] flipHorizontally];
    + return [[self copy] flipHorizontally];
    }
    - (NSBezierPath *)bezierPathByFlippingVertically {
    - return [[[self copy] autorelease] flipVertically];
    + return [[self copy] flipVertically];
    }
    - (NSBezierPath *)bezierPathByScalingToSize:(NSSize)newSize {
    - return [[[self copy] autorelease] scaleToSize:newSize];
    + return [[self copy] scaleToSize:newSize];
    }
    @end
    --- a/Frameworks/AIUtilities Framework/Source/AICharacterSetAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AICharacterSetAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -27,7 +27,7 @@
    */
    - (NSCharacterSet *)immutableCopy
    {
    - return [[NSCharacterSet characterSetWithBitmapRepresentation:[self bitmapRepresentation]] retain];
    + return [NSCharacterSet characterSetWithBitmapRepresentation:[self bitmapRepresentation]];
    }
    @end
    --- a/Frameworks/AIUtilities Framework/Source/AIColorAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIColorAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -72,7 +72,7 @@
    //the rgb.txt file that comes with Mac OS X 10.3.8 contains 752 entries.
    //we create 3 autoreleased objects for each one.
    //best to not pollute our caller's autorelease pool.
    - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    + @autoreleasepool {
    NSMutableDictionary *mutableDict = [NSMutableDictionary dictionary];
    @@ -135,14 +135,14 @@
    }
    state.prevChar = ch[i];
    } //for (unsigned i = 0; i < length; ++i)
    -
    +
    //why not use -copy? because this is subclass-friendly.
    //you can call this method on NSMutableDictionary and get a mutable dictionary back.
    result = [[self alloc] initWithDictionary:mutableDict];
    end:
    - [pool release];
    - return [result autorelease];
    + return result;
    + }
    }
    @end
    --- a/Frameworks/AIUtilities Framework/Source/AIColoredBoxView.h Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIColoredBoxView.h Thu Feb 02 00:40:15 2012 -0500
    @@ -21,7 +21,7 @@
    * View which draws, simply filling its bounds with a particular color.
    */
    @interface AIColoredBoxView : NSView {
    - NSColor *color;
    + NSColor *__unsafe_unretained color;
    }
    /*!
    @@ -29,6 +29,6 @@
    *
    * The <tt>NSColor</tt> to draw in the view
    */
    -@property (readwrite, nonatomic, retain) NSColor *color;
    +@property (unsafe_unretained, readwrite, nonatomic) NSColor *color;
    @end
    --- a/Frameworks/AIUtilities Framework/Source/AIColoredBoxView.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIColoredBoxView.m Thu Feb 02 00:40:15 2012 -0500
    @@ -23,13 +23,6 @@
    @implementation AIColoredBoxView
    -- (void)dealloc
    -{
    - self.color = nil;
    -
    - [super dealloc];
    -}
    -
    - (BOOL)isOpaque
    {
    return NO;
    --- a/Frameworks/AIUtilities Framework/Source/AICompletingTextField.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AICompletingTextField.m Thu Feb 02 00:40:15 2012 -0500
    @@ -76,14 +76,6 @@
    return self;
    }
    -- (void)dealloc
    -{
    - [stringSet release];
    - [impliedCompletionDictionary release];
    -
    - [super dealloc];
    -}
    -
    //Sets the minimum string length required before completion kicks in
    - (void)setMinStringLength:(int)length
    {
    @@ -98,10 +90,9 @@
    //Set the strings that this field will use to auto-complete
    - (void)setCompletingStrings:(NSArray *)strings
    {
    - [stringSet release];
    - stringSet = [[NSMutableSet setWithArray:strings] retain];
    + stringSet = [NSMutableSet setWithArray:strings];
    - [impliedCompletionDictionary release]; impliedCompletionDictionary = nil;
    + impliedCompletionDictionary = nil;
    }
    //Adds a string to the existing string list
    @@ -223,8 +214,6 @@
    NSArray *sortedArray = [possibleCompletions sortedArrayUsingSelector:@selector(compareLength:)];
    - [possibleCompletions release];
    -
    if ([sortedArray count] > 0){
    return [sortedArray objectAtIndex:0];
    //When the AICompletingTextfield is modified to be able to provide multiple choices of completions, the entire array can be used later.
    --- a/Frameworks/AIUtilities Framework/Source/AIDictionaryAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIDictionaryAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -109,8 +109,6 @@
    NSLog(@"%s: Could not serialize. Error: \"%@\".", __PRETTY_FUNCTION__, retainedError);
    [self validateAsPropertyList];
    - if (retainedError) [retainedError release];
    -
    return NO;
    }
    return YES;
    @@ -138,9 +136,8 @@
    [mutable translate:translation add:addition remove:removal];
    result = [[self class] dictionaryWithDictionary:mutable];
    - [mutable release];
    } else {
    - result = [[self retain] autorelease];
    + result = self;
    }
    return result;
    @@ -207,7 +204,6 @@
    NSMutableDictionary *mutableSelf = [self mutableCopy];
    [mutableSelf intersectSetOfKeys:keys];
    NSDictionary *result = [NSDictionary dictionaryWithDictionary:mutableSelf];
    - [mutableSelf release];
    return result;
    }
    - (NSDictionary *)dictionaryWithDifferenceWithSetOfKeys:(NSSet *)keys
    @@ -215,7 +211,6 @@
    NSMutableDictionary *mutableSelf = [self mutableCopy];
    [mutableSelf minusSetOfKeys:keys];
    NSDictionary *result = [NSDictionary dictionaryWithDictionary:mutableSelf];
    - [mutableSelf release];
    return result;
    }
    @@ -251,7 +246,6 @@
    mutabilityOption:NSPropertyListMutableContainers
    format:NULL
    errorDescription:&error];
    - [plistData release];
    if (!dictionary && create) dictionary = [NSMutableDictionary dictionary];
    @@ -276,8 +270,6 @@
    }
    }
    - [selfCopy release];
    -
    //Add items that aren't in the removal set.
    for (NSString *key in addition) {
    if (!(removal && [removal containsObject:key])) {
    --- a/Frameworks/AIUtilities Framework/Source/AIDockingWindow.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIDockingWindow.m Thu Feb 02 00:40:15 2012 -0500
    @@ -80,7 +80,6 @@
    [[NSNotificationCenter defaultCenter] removeObserver:self
    name:NSWindowDidMoveNotification
    object:self];
    - [super dealloc];
    }
    //Watch the window move. If it gets near an edge, dock it to that edge
    --- a/Frameworks/AIUtilities Framework/Source/AIFileManagerAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIFileManagerAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -153,11 +153,9 @@
    if (err != noErr)
    return nil;
    - NSURL *folderURL = (NSURL *)CFURLCreateFromFSRef(kCFAllocatorSystemDefault, &folderRef);
    + NSURL *folderURL = (__bridge_transfer NSURL *)CFURLCreateFromFSRef(kCFAllocatorSystemDefault, &folderRef);
    if (! folderURL)
    return nil;
    -
    - [folderURL autorelease];
    return [folderURL path];
    }
    @@ -174,7 +172,7 @@
    NSString *resolvedPath = nil;
    CFURLRef url;
    - url = CFURLCreateWithFileSystemPath(/* allocator */ NULL, (CFStringRef)path,
    + url = CFURLCreateWithFileSystemPath(/* allocator */ NULL, (__bridge CFStringRef)path,
    kCFURLPOSIXPathStyle, /* isDir */ false);
    if (url) {
    FSRef fsRef;
    @@ -184,7 +182,7 @@
    &targetIsFolder, &wasAliased) == noErr && wasAliased) {
    CFURLRef resolvedUrl = CFURLCreateFromFSRef(NULL, &fsRef);
    if (resolvedUrl) {
    - resolvedPath = [(NSString*)CFURLCopyFileSystemPath(resolvedUrl, kCFURLPOSIXPathStyle) autorelease];
    + resolvedPath = (__bridge_transfer NSString*)CFURLCopyFileSystemPath(resolvedUrl, kCFURLPOSIXPathStyle);
    CFRelease(resolvedUrl);
    }
    }
    @@ -192,7 +190,7 @@
    CFRelease(url);
    }
    - return (resolvedPath ? resolvedPath : [[path copy] autorelease]);
    + return (resolvedPath ? resolvedPath : [path copy]);
    }
    @end
    --- a/Frameworks/AIUtilities Framework/Source/AIFlexibleLink.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIFlexibleLink.m Thu Feb 02 00:40:15 2012 -0500
    @@ -23,19 +23,12 @@
    {
    if ((self = [super init])) {
    trackingRect = inTrackingRect;
    - url = [inURL retain];
    - title = [inTitle retain];
    + url = inURL;
    + title = inTitle;
    }
    return self;
    }
    -- (void)dealloc
    -{
    - [url release];
    - [title release];
    - [super dealloc];
    -}
    -
    - (NSRect)trackingRect{
    return trackingRect;
    }
    --- a/Frameworks/AIUtilities Framework/Source/AIFloater.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIFloater.m Thu Feb 02 00:40:15 2012 -0500
    @@ -66,7 +66,7 @@
    staticView = [[NSImageView alloc] initWithFrame:frame];
    [staticView setImage:inImage];
    [staticView setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable)];
    - [[panel contentView] addSubview:[staticView autorelease]];
    + [[panel contentView] addSubview:staticView];
    }
    return self;
    @@ -98,11 +98,9 @@
    - (IBAction)close:(id)sender
    {
    - [fadeAnimation stopAnimation]; [fadeAnimation release]; fadeAnimation = nil;
    + [fadeAnimation stopAnimation]; fadeAnimation = nil;
    [panel orderOut:nil];
    - [panel release]; panel = nil;
    -
    - [self release];
    + panel = nil;
    }
    - (void)setMaxOpacity:(CGFloat)inMaxOpacity
    --- a/Frameworks/AIUtilities Framework/Source/AIGenericViewCell.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIGenericViewCell.m Thu Feb 02 00:40:15 2012 -0500
    @@ -24,17 +24,10 @@
    @implementation AIGenericViewCell
    -- (void)dealloc
    -{
    - [embeddedView release];
    - [super dealloc];
    -}
    -
    - (void)setEmbeddedView:(NSView *)inView
    {
    if (embeddedView != inView) {
    - [embeddedView release];
    - embeddedView = [inView retain];
    + embeddedView = inView;
    }
    }
    @@ -42,7 +35,7 @@
    - (id)copyWithZone:(NSZone *)zone
    {
    AIGenericViewCell *newCell = [super copyWithZone:zone];
    - newCell->embeddedView = [embeddedView retain];
    + newCell->embeddedView = embeddedView;
    return newCell;
    }
    @@ -75,7 +68,7 @@
    NSRect frame = [embeddedView frame];
    NSRect usableFrame = NSMakeRect(0,0,frame.size.width,frame.size.height);
    - image = [[[NSImage alloc] initWithSize:frame.size] autorelease];
    + image = [[NSImage alloc] initWithSize:frame.size];
    [image lockFocus];
    [embeddedView setNeedsDisplay:YES];
    [embeddedView drawRect:usableFrame];
    @@ -89,7 +82,7 @@
    NSRect subUsableFrame = NSMakeRect(0, 0, subFrame.size.width, subFrame.size.height);
    //Cache to an image
    - NSImage *subImage = [[[NSImage alloc] initWithSize:subFrame.size] autorelease];
    + NSImage *subImage = [[NSImage alloc] initWithSize:subFrame.size];
    [subImage lockFocus];
    [subView drawRect:subUsableFrame];
    [subImage unlockFocus];
    --- a/Frameworks/AIUtilities Framework/Source/AIHostReachabilityMonitor.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIHostReachabilityMonitor.m Thu Feb 02 00:40:15 2012 -0500
    @@ -90,18 +90,14 @@
    - (void)dealloc
    {
    [hostAndObserverListLock lock];
    - [hosts release]; hosts = nil;
    - [observers release]; observers = nil;
    - [reachabilities release]; reachabilities = nil;
    + hosts = nil;
    + observers = nil;
    + reachabilities = nil;
    - [unconfiguredHostsAndObservers release]; unconfiguredHostsAndObservers = nil;
    + unconfiguredHostsAndObservers = nil;
    [hostAndObserverListLock unlock];
    - [hostAndObserverListLock release];
    -
    [[NSNotificationCenter defaultCenter] removeObserver:self];
    -
    - [super dealloc];
    }
    #pragma mark -
    @@ -118,7 +114,6 @@
    NSString *hostCopy = [host copy];
    [self scheduleReachabilityMonitoringForHost:hostCopy
    observer:newObserver];
    - [hostCopy release];
    }
    /*!
    @@ -142,7 +137,7 @@
    if ((!host) || ([host isEqualToString:[hosts objectAtIndex:i]])) {
    [hosts removeObjectAtIndex:i];
    [observers removeObjectAtIndex:i];
    - SCNetworkReachabilityScheduleWithRunLoop((SCNetworkReachabilityRef)[reachabilities objectAtIndex:i],
    + SCNetworkReachabilityScheduleWithRunLoop((__bridge SCNetworkReachabilityRef)[reachabilities objectAtIndex:i],
    CFRunLoopGetCurrent(),
    kCFRunLoopDefaultMode);
    [reachabilities removeObjectAtIndex:i];
    @@ -209,7 +204,7 @@
    {
    [hostAndObserverListLock lock];
    - NSUInteger i = [reachabilities indexOfObjectIdenticalTo:(id)reachability];
    + NSUInteger i = [reachabilities indexOfObjectIdenticalTo:(__bridge id)reachability];
    if (i != NSNotFound) {
    NSString *host = [hosts objectAtIndex:i];
    id <AIHostReachabilityObserver> observer = [observers objectAtIndex:i];
    @@ -221,7 +216,7 @@
    if (![host isEqualToString:[hosts objectAtIndex:idx]])
    continue;
    - SCNetworkReachabilityRef otherReachability = (SCNetworkReachabilityRef)[reachabilities objectAtIndex:idx];
    + SCNetworkReachabilityRef otherReachability = (__bridge SCNetworkReachabilityRef)[reachabilities objectAtIndex:idx];
    SCNetworkConnectionFlags flags;
    if (SCNetworkReachabilityGetFlags(otherReachability, &flags)
    @@ -261,7 +256,7 @@
    (flags & kSCNetworkFlagsIsDirect) ? 'd' : '-');
    #endif
    - AIHostReachabilityMonitor *self = info;
    + AIHostReachabilityMonitor *self = (__bridge AIHostReachabilityMonitor *)info;
    [self reachabilityChanged:target];
    }
    @@ -272,7 +267,7 @@
    */
    static void hostResolvedCallback(CFHostRef theHost, CFHostInfoType typeInfo, const CFStreamError *error, void *info)
    {
    - NSDictionary *infoDict = info;
    + NSDictionary *infoDict = (__bridge NSDictionary *)info;
    AIHostReachabilityMonitor *self = [infoDict objectForKey:@"self"];
    id observer = [infoDict objectForKey:@"observer"];
    NSString *host = [infoDict objectForKey:@"host"];
    @@ -293,7 +288,7 @@
    // Only add 1 observer for IPv6 and one for IPv4.
    BOOL addedIPv4 = NO, addedIPv6 = NO;
    - for (NSData *saData in (NSArray *)addresses) {
    + for (NSData *saData in (__bridge NSArray *)addresses) {
    struct sockaddr *remoteAddr = (struct sockaddr *)saData.bytes;
    if ((remoteAddr->sa_family == AF_INET && addedIPv4) || (remoteAddr->sa_family == AF_INET6 && addedIPv6)) {
    @@ -308,7 +303,7 @@
    SCNetworkReachabilityRef reachabilityRef;
    SCNetworkReachabilityContext reachabilityContext = {
    .version = 0,
    - .info = self,
    + .info = (__bridge void *)self,
    .retain = CFRetain,
    .release = CFRelease,
    .copyDescription = CFCopyDescription,
    @@ -340,7 +335,7 @@
    kCFRunLoopDefaultMode);
    //Note that we succesfully configured for reachability notifications
    - [self gotReachabilityRef:(SCNetworkReachabilityRef)[(NSObject *)reachabilityRef autorelease]
    + [self gotReachabilityRef:(SCNetworkReachabilityRef)reachabilityRef
    forHost:host
    observer:observer];
    @@ -351,7 +346,7 @@
    #endif
    hostReachabilityChangedCallback(reachabilityRef,
    flags,
    - self);
    + (__bridge void *)self);
    } else {
    /* Perform an immediate reachability check, since we've just scheduled checks for future changes
    @@ -360,12 +355,12 @@
    */
    CFHostClientContext hostContext = {
    .version = 0,
    - .info = [NSDictionary dictionaryWithObjectsAndKeys:
    + .info = (__bridge void *)([NSDictionary dictionaryWithObjectsAndKeys:
    self, @"self",
    host, @"host",
    observer, @"observer",
    reachabilityRef, @"reachabilityRef",
    - nil],
    + nil]),
    .retain = CFRetain,
    .release = CFRelease,
    .copyDescription = CFCopyDescription,
    @@ -391,9 +386,9 @@
    (UInt8 *)&flags);
    //Call the reachability changed callback directly
    - hostReachabilityChangedCallback((SCNetworkReachabilityRef)[infoDict objectForKey:@"reachabilityRef"],
    + hostReachabilityChangedCallback((__bridge SCNetworkReachabilityRef)[infoDict objectForKey:@"reachabilityRef"],
    flags,
    - self);
    + (__bridge void *)self);
    //No further need for this CFHost to be in our run loop
    CFHostUnscheduleFromRunLoop(theHost,
    @@ -419,7 +414,7 @@
    [hosts addObject:host];
    [observers addObject:observer];
    - [reachabilities addObject:(id)reachabilityRef];
    + [reachabilities addObject:(__bridge id)reachabilityRef];
    //Remove from our unconfigured array
    [self removeUnconfiguredHost:host
    @@ -446,17 +441,17 @@
    //Resolve the remote host domain name to an IP asynchronously
    CFHostClientContext hostContext = {
    .version = 0,
    - .info = [NSDictionary dictionaryWithObjectsAndKeys:
    + .info = (__bridge void *)([NSDictionary dictionaryWithObjectsAndKeys:
    self, @"self",
    nodename, @"host",
    observer, @"observer",
    - nil],
    + nil]),
    .retain = CFRetain,
    .release = CFRelease,
    .copyDescription = CFCopyDescription,
    };
    CFHostRef host = CFHostCreateWithName(kCFAllocatorDefault,
    - (CFStringRef)nodename);
    + (__bridge CFStringRef)nodename);
    CFHostSetClient(host,
    hostResolvedCallback,
    &hostContext);
    @@ -573,7 +568,7 @@
    */
    static void localIPsChangedCallback(SCDynamicStoreRef store, CFArrayRef changedKeys, void *info)
    {
    - AIHostReachabilityMonitor *self = info;
    + AIHostReachabilityMonitor *self = (__bridge AIHostReachabilityMonitor *)info;
    /* Wait one second after receiving the callback, as it seems to be sent in some cases the middle of the change
    * rather than after it is complete.
    @@ -598,7 +593,7 @@
    //Create the CFRunLoopSourceRef we will want to add to our run loop to have
    //localIPsChangedCallback() called when the IP list changes
    status = CreateIPAddressListChangeCallbackSCF(localIPsChangedCallback,
    - self,
    + (__bridge void *)(self),
    &storeRef,
    &ipChangesRunLoopSourceRef);
    @@ -645,7 +640,7 @@
    NSEnumerator *enumerator;
    SCNetworkReachabilityRef reachabilityRef;
    enumerator = [reachabilities objectEnumerator];
    - while ((reachabilityRef = (SCNetworkReachabilityRef)[enumerator nextObject])) {
    + while ((reachabilityRef = (__bridge SCNetworkReachabilityRef)[enumerator nextObject])) {
    SCNetworkReachabilityUnscheduleFromRunLoop(reachabilityRef,
    CFRunLoopGetCurrent(),
    kCFRunLoopDefaultMode);
    @@ -665,9 +660,6 @@
    [self addObserver:observer
    forHost:host];
    }
    -
    - [oldHosts release];
    - [oldObservers release];
    }
    #pragma mark -
    --- a/Frameworks/AIUtilities Framework/Source/AIImageAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIImageAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -42,7 +42,7 @@
    image = [[NSImage alloc] initWithContentsOfFile:imagePath];
    }
    - return [image autorelease];
    + return image;
    }
    // Returns an image from the owners bundle with the specified name
    @@ -129,7 +129,7 @@
    NSSize size = [self size];
    // Work with a temporary image so we don't modify self
    - tempImage = [[[NSImage alloc] initWithSize:size] autorelease];
    + tempImage = [[NSImage alloc] initWithSize:size];
    // Lock before drawing to the temporary image
    [tempImage lockFocus];
    @@ -307,7 +307,7 @@
    NSSize size = [self size];
    NSRect rect = NSMakeRect(0.0f, 0.0f, size.width, size.height);
    - NSBitmapImageRep *bm = [[[NSBitmapImageRep alloc] initWithFocusedViewRect:rect] autorelease];
    + NSBitmapImageRep *bm = [[NSBitmapImageRep alloc] initWithFocusedViewRect:rect];
    [self unlockFocus];
    @@ -348,7 +348,7 @@
    NSUInteger height = ((CGFloat)imageRep.pixelsWide - 100.0f)*ratio;
    // Create a new rep with the lowered size
    - NSBitmapImageRep *newImageRep = [[[NSBitmapImageRep alloc] initWithBitmapDataPlanes:NULL
    + NSBitmapImageRep *newImageRep = [[NSBitmapImageRep alloc] initWithBitmapDataPlanes:NULL
    pixelsWide:width
    pixelsHigh:height
    bitsPerSample:imageRep.bitsPerSample
    @@ -357,7 +357,7 @@
    isPlanar:imageRep.isPlanar
    colorSpaceName:NSCalibratedRGBColorSpace
    bytesPerRow:imageRep.bytesPerRow
    - bitsPerPixel:imageRep.bitsPerPixel] autorelease];
    + bitsPerPixel:imageRep.bitsPerPixel];
    // Draw the old rep into the new rep
    [NSGraphicsContext saveGraphicsState];
    --- a/Frameworks/AIUtilities Framework/Source/AIImageButton.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIImageButton.m Thu Feb 02 00:40:15 2012 -0500
    @@ -37,7 +37,7 @@
    - (id)copyWithZone:(NSZone *)zone
    {
    AIImageButton *newButton = [super copyWithZone:zone];
    - newButton->imageFloater = [imageFloater retain];
    + newButton->imageFloater = imageFloater;
    [newButton setCornerRadius:[self cornerRadius]];
    return newButton;
    @@ -46,9 +46,6 @@
    - (void)dealloc
    {
    [imageFloater close:nil];
    - [imageFloater release];
    -
    - [super dealloc];
    }
    #pragma mark Drawing
    @@ -84,7 +81,6 @@
    if (imageFloater) {
    [imageFloater close:nil];
    - [imageFloater release];
    }
    // Rounded corners
    @@ -103,7 +99,6 @@
    [roundedImage unlockFocus];
    [self setImage:roundedImage];
    - [roundedImage release];
    }
    /* If the image would go off the right side of the screen from its origin, shift the origin left
    @@ -114,7 +109,7 @@
    point.x = maxXOrigin;
    }
    - imageFloater = [[AIFloater newFloaterWithImage:bigImage styleMask:NSBorderlessWindowMask] retain];
    + imageFloater = [AIFloater newFloaterWithImage:bigImage styleMask:NSBorderlessWindowMask];
    [imageFloater setMaxOpacity:1.0f];
    [imageFloater moveFloaterToPoint:point];
    [imageFloater setVisible:YES animate:NO];
    @@ -145,7 +140,7 @@
    {
    if (!imageFloaterShouldBeOpen) {
    [imageFloater close:nil];
    - [imageFloater release]; imageFloater = nil;
    + imageFloater = nil;
    }
    }
    --- a/Frameworks/AIUtilities Framework/Source/AIImageCollectionView.h Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIImageCollectionView.h Thu Feb 02 00:40:15 2012 -0500
    @@ -28,10 +28,10 @@
    */
    @interface AIImageCollectionView : NSCollectionView {
    - id <AIImageCollectionViewDelegate> delegate;
    + id <AIImageCollectionViewDelegate> __unsafe_unretained delegate;
    @protected
    - IBOutlet NSArrayController *itemsController;
    + IBOutlet NSArrayController *__unsafe_unretained itemsController;
    NSInteger highlightStyle;
    CGFloat highlightSize;
    @@ -40,9 +40,9 @@
    NSUInteger highlightedIndex;
    }
    -@property (readwrite, assign, nonatomic) id <AIImageCollectionViewDelegate> delegate;
    +@property (readwrite, unsafe_unretained, nonatomic) id <AIImageCollectionViewDelegate> delegate;
    -@property (assign) IBOutlet NSArrayController *itemsController;
    +@property (unsafe_unretained) IBOutlet NSArrayController *itemsController;
    @property (assign) NSInteger highlightStyle;
    @property (assign) CGFloat highlightSize;
    --- a/Frameworks/AIUtilities Framework/Source/AIImageCollectionView.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIImageCollectionView.m Thu Feb 02 00:40:15 2012 -0500
    @@ -69,20 +69,20 @@
    highlightedIndex = NSNotFound;
    // Mouse Tracking
    - [self addTrackingArea:[[[NSTrackingArea alloc] initWithRect:[self bounds]
    + [self addTrackingArea:[[NSTrackingArea alloc] initWithRect:[self bounds]
    options:(NSTrackingMouseEnteredAndExited |
    NSTrackingActiveInKeyWindow |
    NSTrackingInVisibleRect)
    owner:self
    - userInfo:nil] autorelease]];
    + userInfo:nil]];
    // Temporary solution, 1st tracking area will only report MouseMoved Events
    - [self addTrackingArea:[[[NSTrackingArea alloc] initWithRect:[self bounds]
    + [self addTrackingArea:[[NSTrackingArea alloc] initWithRect:[self bounds]
    options:(NSTrackingMouseMoved |
    NSTrackingActiveInKeyWindow |
    NSTrackingInVisibleRect)
    owner:self
    - userInfo:nil] autorelease]];
    + userInfo:nil]];
    // Track for item's selection changes
    [self addObserver:self forKeyPath:@"selectionIndexes"
    @@ -99,8 +99,6 @@
    {
    [self removeObserver:self forKeyPath:@"selectionIndexes"];
    [self removeObserver:self forKeyPath:@"content"];
    -
    - [super dealloc];
    }
    - (void)drawRect:(NSRect)dirtyRect
    --- a/Frameworks/AIUtilities Framework/Source/AIImageDrawingAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIImageDrawingAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -84,7 +84,7 @@
    // Proceed only if size or delta are changing
    if ((NSEqualSizes(originalSize, size)) && (delta == 1.0) && !flipImage) {
    - return [[self copy] autorelease];
    + return [self copy];
    } else {
    NSImage *newImage;
    @@ -151,9 +151,6 @@
    // Write GIF Extension Blocks
    [self writeGIFExtensionBlocksInData:GIFRepresentationData forRepresenation:(NSBitmapImageRep *)bestRep];
    - //You must release before you re-allocate. The data is retained in an autorelease loop in the images array.
    - [newImage release];
    -
    newImage = [[NSImage alloc] initWithData:GIFRepresentationData];
    } else {
    [newImage lockFocus];
    @@ -168,7 +165,7 @@
    [newImage unlockFocus];
    }
    - return [newImage autorelease];
    + return newImage;
    }
    }
    @@ -185,7 +182,7 @@
    // Proceed only if size or delta are changing
    if ((NSEqualSizes(originalSize, size)) && (delta == 1.0) && !flipImage) {
    - return [[self copy] autorelease];
    + return [self copy];
    } else {
    // Scale proportionally (rather than stretching to fit) if requested and needed
    @@ -272,9 +269,6 @@
    // Write GIF Extension Blocks
    [self writeGIFExtensionBlocksInData:GIFRepresentationData forRepresenation:(NSBitmapImageRep *)bestRep];
    -
    - // Release before you re-allocate.
    - [newImage release];
    newImage = [[NSImage alloc] initWithData:GIFRepresentationData];
    } else {
    @@ -300,9 +294,7 @@
    [newImage unlockFocus];
    }
    - [scaledImage release];
    -
    - return [newImage autorelease];
    + return newImage;
    }
    }
    --- a/Frameworks/AIUtilities Framework/Source/AIImageTextCell.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIImageTextCell.m Thu Feb 02 00:40:15 2012 -0500
    @@ -49,10 +49,7 @@
    //Dealloc
    - (void)dealloc
    {
    - [font release]; font = nil;
    - [subString release];
    -
    - [super dealloc];
    + font = nil;
    }
    //Copy
    @@ -98,8 +95,7 @@
    - (void)setFont:(NSFont *)inFont
    {
    if (font != inFont) {
    - [font release];
    - font = [inFont retain];
    + font = inFont;
    }
    }
    - (NSFont *)font
    @@ -112,8 +108,7 @@
    - (void)setSubString:(NSString *)inSubString
    {
    if (subString != inSubString) {
    - [subString release];
    - subString = [inSubString retain];
    + subString = inSubString;
    }
    }
    @@ -422,8 +417,6 @@
    [NSGraphicsContext restoreGraphicsState];
    }
    - [attributedMainString release];
    -
    //Draw the substring
    if (subString) {
    NSAffineTransform *subStringTranslation = [NSAffineTransform transform];
    @@ -432,7 +425,6 @@
    //Draw the substring
    [attributedSubString drawInRect:cellFrame];
    - [attributedSubString release];
    }
    }
    --- a/Frameworks/AIUtilities Framework/Source/AIImageViewWithImagePicker.h Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIImageViewWithImagePicker.h Thu Feb 02 00:40:15 2012 -0500
    @@ -22,11 +22,11 @@
    @class IKPictureTakerRecentPicture; // Private 10.5+ class
    @interface AIImageViewWithImagePicker : NSImageView {
    - IBOutlet id delegate;
    + IBOutlet id __unsafe_unretained delegate;
    NSString *title;
    id pictureTaker;
    - id activeRecentPicture;
    + id __unsafe_unretained activeRecentPicture;
    BOOL usePictureTaker;
    BOOL presentPictureTakerAsSheet;
    @@ -40,10 +40,10 @@
    NSSize maxSize;
    }
    -@property (readwrite, assign, nonatomic) IBOutlet id delegate;
    +@property (readwrite, unsafe_unretained, nonatomic) IBOutlet id delegate;
    -@property (retain) NSString *title;
    -@property (assign) id activeRecentPicture;
    +@property (unsafe_unretained) NSString *title;
    +@property (unsafe_unretained) id activeRecentPicture;
    @property (assign) BOOL usePictureTaker;
    @property (assign) BOOL presentPictureTakerAsSheet;
    @property (assign) BOOL shouldUpdateRecentRepository;
    --- a/Frameworks/AIUtilities Framework/Source/AIImageViewWithImagePicker.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIImageViewWithImagePicker.m Thu Feb 02 00:40:15 2012 -0500
    @@ -115,17 +115,12 @@
    */
    - (void)dealloc
    {
    - [activeRecentPicture release];
    -
    if (pictureTaker) {
    [pictureTaker close];
    - [pictureTaker release], pictureTaker = nil;
    + pictureTaker = nil;
    }
    delegate = nil;
    - [title release];
    -
    - [super dealloc];
    }
    #pragma mark Getters and Setters
    @@ -144,7 +139,7 @@
    [pictureTaker setInputImage:inImage];
    }
    - [activeRecentPicture release], activeRecentPicture = nil;
    + activeRecentPicture = nil;
    }
    /*!
    @@ -156,8 +151,7 @@
    - (void)setTitle:(NSString *)inTitle
    {
    if (title != inTitle) {
    - [title release];
    - title = [inTitle retain];
    + title = inTitle;
    if (pictureTaker) {
    [pictureTaker setTitle:title];
    @@ -278,7 +272,6 @@
    pasteboard:pboard
    source:sourceObject
    slideBack:slideBack];
    - [dragImage release];
    }
    /*
    @@ -362,7 +355,7 @@
    */
    - (void)concludeDragOperation:(id <NSDraggingInfo>)sender
    {
    - NSImage *droppedImage = [[[NSImage alloc] initWithPasteboard:[sender draggingPasteboard]] autorelease];
    + NSImage *droppedImage = [[NSImage alloc] initWithPasteboard:[sender draggingPasteboard]];
    if (!droppedImage) {
    return;
    @@ -447,7 +440,7 @@
    NSData *imageData = (type ? [pb dataForType:type] : nil);
    if (imageData) {
    - NSImage *image = [[[NSImage alloc] initWithData:imageData] autorelease];
    + NSImage *image = [[NSImage alloc] initWithData:imageData];
    if (image) {
    NSSize imageSize = [image size];
    @@ -551,7 +544,7 @@
    {
    if (usePictureTaker) {
    if (!pictureTaker) {
    - pictureTaker = [[IKPictureTaker pictureTaker] retain];
    + pictureTaker = [IKPictureTaker pictureTaker];
    [pictureTaker setDelegate:self];
    }
    @@ -606,7 +599,7 @@
    NSSize imageSize;
    imageData = [NSData dataWithContentsOfURL:[[openPanel URLs] objectAtIndex:0]];
    - image = (imageData ? [[[NSImage alloc] initWithData:imageData] autorelease] : nil);
    + image = (imageData ? [[NSImage alloc] initWithData:imageData] : nil);
    imageSize = (image ? [image size] : NSZeroSize);
    if ((maxSize.width > 0 && imageSize.width > maxSize.width) ||
    @@ -643,7 +636,7 @@
    - (void)setRecentPictureAsImageInput:(IKPictureTakerRecentPicture *)recentPicture
    {
    if (activeRecentPicture != recentPicture) {
    - [activeRecentPicture release]; activeRecentPicture = [recentPicture retain];
    + activeRecentPicture = recentPicture;
    }
    //Update any open picture taker immediately.
    --- a/Frameworks/AIUtilities Framework/Source/AIKeychain.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIKeychain.m Thu Feb 02 00:40:15 2012 -0500
    @@ -83,14 +83,12 @@
    }
    + (BOOL)unlockDefaultKeychainWithPassword:(NSString *)password error:(out NSError **)outError
    {
    - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    + @autoreleasepool {
    NSData *data = [password dataUsingEncoding:NSUTF8StringEncoding];
    NSAssert( UINT_MAX >= [data length], @"Attempting to send more data than Keychain can handle. Abort." );
    OSStatus err = SecKeychainUnlock(/*keychain*/ NULL, (UInt32)[data length], [data bytes], /*usePassword*/ true);
    - [pool release];
    -
    if (outError) {
    NSError *error = nil;
    if (err != noErr) {
    @@ -104,6 +102,7 @@
    *outError = error;
    }
    return err == noErr;
    + }
    }
    + (BOOL)allowsUserInteraction_error:(out NSError **)outError
    @@ -211,13 +210,12 @@
    if (aKeychainRef) {
    if (!lastKnownDefaultKeychain ||
    ([lastKnownDefaultKeychain keychainRef] && (aKeychainRef != [lastKnownDefaultKeychain keychainRef]))) {
    - [lastKnownDefaultKeychain release];
    lastKnownDefaultKeychain = [[self alloc] init];
    }
    CFRelease(aKeychainRef);
    - return [[lastKnownDefaultKeychain retain] autorelease];
    + return lastKnownDefaultKeychain;
    } else {
    NSLog(@"No default keychain!");
    @@ -243,14 +241,13 @@
    *outError = error;
    }
    if (err == noErr) {
    - [lastKnownDefaultKeychain release];
    - lastKnownDefaultKeychain = [newDefaultKeychain retain];
    + lastKnownDefaultKeychain = newDefaultKeychain;
    }
    }
    + (AIKeychain *)keychainWithContentsOfFile:(NSString *)path error:(out NSError **)outError
    {
    - return [[[self alloc] initWithContentsOfFile:path error:outError] autorelease];
    + return [[self alloc] initWithContentsOfFile:path error:outError];
    }
    - (id)initWithContentsOfFile:(NSString *)path error:(out NSError **)outError
    {
    @@ -269,7 +266,6 @@
    *outError = error;
    }
    if (err != noErr) {
    - [self release];
    self = nil;
    }
    }
    @@ -280,7 +276,7 @@
    //SecKeychainCreate
    + (AIKeychain *)keychainWithPath:(NSString *)path password:(NSString *)password promptUser:(BOOL)prompt initialAccess:(SecAccessRef)initialAccess error:(out NSError **)outError
    {
    - return [[[self alloc] initWithPath:path password:password promptUser:prompt initialAccess:initialAccess error:outError] autorelease];
    + return [[self alloc] initWithPath:path password:password promptUser:prompt initialAccess:initialAccess error:outError];
    }
    - (id)initWithPath:(NSString *)path password:(NSString *)password promptUser:(BOOL)prompt initialAccess:(SecAccessRef)initialAccess error:(out NSError **)outError
    {
    @@ -289,7 +285,7 @@
    * ensure that the NSData that we create is an NSData.
    *we create our own pool to ensure that both objects are released ASAP.
    */
    - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    + @autoreleasepool {
    void *passwordBytes = NULL;
    u_int32_t passwordLength = 0;
    @@ -303,8 +299,6 @@
    OSStatus err = SecKeychainCreate([path fileSystemRepresentation], passwordLength, passwordBytes, prompt, initialAccess, &keychainRef);
    - [pool release];
    -
    if (outError) {
    NSError *error = nil;
    if (err != noErr) {
    @@ -318,10 +312,9 @@
    *outError = error;
    }
    if (err != noErr) {
    - [self release];
    self = nil;
    }
    -
    + }
    }
    return self;
    @@ -329,7 +322,7 @@
    + (AIKeychain *)keychainWithKeychainRef:(SecKeychainRef)newKeychainRef
    {
    - return [[[self alloc] initWithKeychainRef:newKeychainRef] autorelease];
    + return [[self alloc] initWithKeychainRef:newKeychainRef];
    }
    - (id)initWithKeychainRef:(SecKeychainRef)newKeychainRef
    @@ -499,7 +492,7 @@
    }
    - (BOOL)unlockKeychainWithPassword:(NSString *)password error:(out NSError **)outError
    {
    - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    + @autoreleasepool {
    NSData *data = [password dataUsingEncoding:NSUTF8StringEncoding];
    @@ -507,8 +500,6 @@
    NSAssert( UINT_MAX >= [data length], @"Attempting to send more data than Keychain can handle. Abort." );
    OSStatus err = SecKeychainUnlock(keychainRef, (UInt32)[data length], [data bytes], /*usePassword*/ true);
    - [pool release];
    -
    if (outError) {
    NSError *error = nil;
    if (err != noErr) {
    @@ -523,6 +514,7 @@
    *outError = error;
    }
    return err == noErr;
    + }
    }
    #pragma mark -
    @@ -573,7 +565,7 @@
    NSParameterAssert(server != nil);
    //domain is optional
    - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    + @autoreleasepool {
    NSData *passwordData = [password dataUsingEncoding:NSUTF8StringEncoding];
    @@ -606,8 +598,6 @@
    (UInt32)[passwordData length], [passwordData bytes],
    outKeychainItem);
    - [pool release];
    -
    if (outError) {
    NSError *error = nil;
    if (err != noErr) {
    @@ -626,6 +616,7 @@
    }
    *outError = error;
    }
    + }
    }
    - (void)addInternetPassword:(NSString *)password forServer:(NSString *)server account:(NSString *)account protocol:(SecProtocolType)protocol error:(out NSError **)outError
    @@ -850,7 +841,7 @@
    */
    SecKeychainItemRef item = NULL;
    - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    + @autoreleasepool {
    [self findInternetPasswordForServer:server
    securityDomain:domain
    @@ -861,11 +852,10 @@
    authenticationType:authType
    keychainItem:&item
    error:&error];
    - [(NSObject *)item autorelease]; //might as well.
    if (error) {
    //Retain this because of the autorelease pool.
    - if (outError) *outError = [error retain];
    + if (outError) *outError = error;
    } else {
    NSData *passwordData = [password dataUsingEncoding:NSUTF8StringEncoding];
    NSAssert( UINT_MAX >= [passwordData length], @"Attempting to send more data than Keychain can handle. Abort." );
    @@ -891,15 +881,13 @@
    keychainRef, AIKEYCHAIN_ERROR_USERINFO_KEYCHAIN,
    nil];
    //Retain this because of the autorelease pool.
    - error = [[NSError errorWithDomain:AIKEYCHAIN_ERROR_DOMAIN code:err userInfo:userInfo] retain];
    + error = [NSError errorWithDomain:AIKEYCHAIN_ERROR_DOMAIN code:err userInfo:userInfo];
    }
    *outError = error;
    } //if (outError)
    } //if (!error) (findInternetPasswordForServer:...)
    -
    - [pool release];
    - [error autorelease];
    } //if (err == errSecDuplicateItem)
    + }
    } //if (error) (addInternetPassword:...)
    } //if (password)
    }
    @@ -934,7 +922,7 @@
    keychainItem:(out SecKeychainItemRef *)outKeychainItem
    error:(out NSError **)outError
    {
    - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    + @autoreleasepool {
    SecKeychainItemRef keychainItem = NULL;
    NSError *error = nil;
    @@ -968,13 +956,11 @@
    }
    }
    - if (outError) *outError = [error retain];
    + if (outError) *outError = error;
    if (outKeychainItem) *outKeychainItem = keychainItem;
    else if (keychainItem) CFRelease(keychainItem);
    -
    - [pool release];
    - if (outError) [*outError autorelease];
    + }
    }
    - (void)deleteInternetPasswordForServer:(NSString *)server account:(NSString *)account protocol:(SecProtocolType)protocol error:(out NSError **)outError
    @@ -1002,7 +988,7 @@
    NSParameterAssert(service != nil);
    NSParameterAssert(account != nil);
    - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    + @autoreleasepool {
    NSData *passwordData = [password dataUsingEncoding:NSUTF8StringEncoding];
    @@ -1019,8 +1005,6 @@
    (UInt32)[passwordData length], [passwordData bytes],
    outKeychainItem);
    - [pool release];
    -
    if (outError) {
    NSError *error = nil;
    if (err != noErr) {
    @@ -1036,6 +1020,7 @@
    }
    *outError = error;
    }
    + }
    }
    - (NSString *)findGenericPasswordForService:(NSString *)service
    @@ -1084,7 +1069,7 @@
    account:(NSString *)account
    error:(out NSError **)outError
    {
    - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    + @autoreleasepool {
    SecKeychainItemRef keychainItem = NULL;
    NSError *error = nil;
    @@ -1116,7 +1101,7 @@
    if (keychainItem) CFRelease(keychainItem);
    - [pool release];
    + }
    }
    #pragma mark -
    --- a/Frameworks/AIUtilities Framework/Source/AILinkTextView.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AILinkTextView.m Thu Feb 02 00:40:15 2012 -0500
    @@ -51,7 +51,7 @@
    //Common init
    - (void)_initLinkTextView
    {
    - linkTrackingController = [[AILinkTrackingController linkTrackingControllerForTextView:self] retain];
    + linkTrackingController = [AILinkTrackingController linkTrackingControllerForTextView:self];
    [[NSNotificationCenter defaultCenter] addObserver:self
    selector:@selector(frameDidChange:)
    name:NSViewFrameDidChangeNotification
    @@ -63,9 +63,6 @@
    - (void)dealloc
    {
    [[NSNotificationCenter defaultCenter] removeObserver:self];
    - [linkTrackingController release];
    -
    - [super dealloc];
    }
    //Pass clicks to the link tracking controller
    @@ -121,7 +118,7 @@
    NSMenuItem *menuItem;
    NSEnumerator *enumerator;
    - if (!menu) menu = [[[NSMenu alloc] init] autorelease];
    + if (!menu) menu = [[NSMenu alloc] init];
    enumerator = [linkMenuItems reverseObjectEnumerator];
    while ((menuItem = [enumerator nextObject])) {
    --- a/Frameworks/AIUtilities Framework/Source/AILinkTrackingController.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AILinkTrackingController.m Thu Feb 02 00:40:15 2012 -0500
    @@ -47,13 +47,13 @@
    //Create a link tracking controller for any view
    + (id)linkTrackingControllerForView:(NSView *)inControlView withTextStorage:(NSTextStorage *)inTextStorage layoutManager:(NSLayoutManager *)inLayoutManager textContainer:(NSTextContainer *)inTextContainer
    {
    - return [[[self alloc] initForView:inControlView withTextStorage:inTextStorage layoutManager:inLayoutManager textContainer:inTextContainer] autorelease];
    + return [[self alloc] initForView:inControlView withTextStorage:inTextStorage layoutManager:inLayoutManager textContainer:inTextContainer];
    }
    //Create a tracking controller for a text view
    + (id)linkTrackingControllerForTextView:(NSTextView *)inTextView
    {
    - return [[[self alloc] initForView:inTextView withTextStorage:[inTextView textStorage] layoutManager:[inTextView layoutManager] textContainer:[inTextView textContainer]] autorelease];
    + return [[self alloc] initForView:inTextView withTextStorage:[inTextView textStorage] layoutManager:[inTextView layoutManager] textContainer:[inTextView textContainer]];
    }
    //Track links in the passed rect. Returns YES if links exist within our text. Pass a 0 width/height visible rect to stop any link tracking.
    @@ -96,7 +96,7 @@
    //Called when the mouse leaves the link
    - (void)mouseExited:(NSEvent *)theEvent
    {
    - [self _setMouseOverLink:NO atPoint:NSMakePoint(0,0)];
    + [self _setMouseOverLink:nil atPoint:NSMakePoint(0,0)];
    }
    //Handle a mouse down. Returns NO if the mouse down event should continue to be processed
    @@ -108,7 +108,7 @@
    NSUInteger charIndex;
    NSRectArray linkRects = nil;
    - [self _setMouseOverLink:NO atPoint:NSMakePoint(0,0)]; //Remove any tooltips
    + [self _setMouseOverLink:nil atPoint:NSMakePoint(0,0)]; //Remove any tooltips
    //Find clicked char index
    mouseLoc = [controlView convertPoint:[theEvent locationInWindow] fromView:nil];
    @@ -236,12 +236,6 @@
    - (void)dealloc
    {
    [self _endCursorTracking];
    -
    - [hoveredString release];
    - [hoveredLink release];
    - [linkArray release];
    -
    - [super dealloc];
    }
    //Begins cursor tracking, registering tracking rects for all our available links
    @@ -299,15 +293,15 @@
    visibleLinkRect = NSIntersectionRect(linkRect, visibleRect);
    //Create a flexible link instance
    - trackedLink = [[[AIFlexibleLink alloc] initWithTrackingRect:linkRect
    + trackedLink = [[AIFlexibleLink alloc] initWithTrackingRect:linkRect
    url:linkURL
    - title:[[textStorage string] substringWithRange:scanRange]] autorelease];
    + title:[[textStorage string] substringWithRange:scanRange]];
    if (!linkArray) linkArray = [[NSMutableArray alloc] init];
    [linkArray addObject:trackedLink];
    //Install a tracking rect for the link (The userData of each tracking rect is the AIFlexibleLink it covers)
    - trackingTag = [controlView addTrackingRect:visibleLinkRect owner:self userData:trackedLink assumeInside:NO];
    + trackingTag = [controlView addTrackingRect:visibleLinkRect owner:self userData:(__bridge void *)trackedLink assumeInside:NO];
    [trackedLink setTrackingTag:trackingTag];
    }
    }
    @@ -327,7 +321,7 @@
    }
    //Flush the link array
    - [linkArray release]; linkArray = nil;
    + linkArray = nil;
    }
    //Configure the mouse for being over a link or not
    @@ -344,8 +338,8 @@
    [[inHoveredLink title] caseInsensitiveCompare:[inHoveredLink url]] != NSOrderedSame &&
    [[@"http://" stringByAppendingString:[inHoveredLink title]] caseInsensitiveCompare:[inHoveredLink url]] != NSOrderedSame) {
    - [hoveredLink release]; hoveredLink = [inHoveredLink retain];
    - [hoveredString release]; hoveredString = [[NSString stringWithFormat:@"%@", [hoveredLink url]] retain];
    + hoveredLink = inHoveredLink;
    + hoveredString = [NSString stringWithFormat:@"%@", [hoveredLink url]];
    [AITooltipUtilities showTooltipWithString:hoveredString onWindow:nil atPoint:inPoint orientation:TooltipAbove]; //Show tooltip
    }
    @@ -356,8 +350,8 @@
    if (showTooltip) {
    [AITooltipUtilities showTooltipWithString:nil onWindow:nil atPoint:NSMakePoint(0,0) orientation:TooltipAbove]; //Hide the tooltip
    - [hoveredLink release]; hoveredLink = nil;
    - [hoveredString release]; hoveredString = nil;
    + hoveredLink = nil;
    + hoveredString = nil;
    }
    mouseOverLink = NO;
    @@ -398,11 +392,11 @@
    if (linkURL) {
    NSMenuItem *menuItem;
    - menuItemsArray = [[[NSMutableArray alloc] init] autorelease];
    - menuItem = [[[NSMenuItem alloc] initWithTitle:COPY_LINK
    + menuItemsArray = [[NSMutableArray alloc] init];
    + menuItem = [[NSMenuItem alloc] initWithTitle:COPY_LINK
    target:self
    action:@selector(copyLink:)
    - keyEquivalent:@""] autorelease];
    + keyEquivalent:@""];
    [menuItem setRepresentedObject:linkURL];
    [menuItemsArray addObject:menuItem];
    }
    @@ -413,7 +407,7 @@
    //Copy the absolute URL to the clipboard
    - (void)copyLink:(id)sender
    {
    - NSAttributedString *copyString = [[[NSAttributedString alloc] initWithString:[(NSURL *)[sender representedObject] absoluteString] attributes:nil] autorelease];
    + NSAttributedString *copyString = [[NSAttributedString alloc] initWithString:[(NSURL *)[sender representedObject] absoluteString] attributes:nil];
    [[NSPasteboard generalPasteboard] declareTypes:[NSArray arrayWithObject:NSRTFPboardType] owner:nil];
    [[NSPasteboard generalPasteboard] setData:[copyString RTFFromRange:NSMakeRange(0,[copyString length]) documentAttributes:nil] forType:NSRTFPboardType];
    }
    --- a/Frameworks/AIUtilities Framework/Source/AIMenuAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIMenuAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -25,7 +25,7 @@
    [self addItem:theMenuItem];
    - return [theMenuItem autorelease];
    + return theMenuItem;
    }
    - (NSMenuItem *)addItemWithTitle:(NSString *)aString target:(id)target action:(SEL)aSelector keyEquivalent:(NSString *)charCode tag:(NSInteger)tag
    @@ -36,7 +36,7 @@
    [self addItem:theMenuItem];
    - return [theMenuItem autorelease];
    + return theMenuItem;
    }
    - (NSMenuItem *)addItemWithTitle:(NSString *)aString target:(id)target action:(SEL)aSelector keyEquivalent:(NSString *)charCode representedObject:(id)object
    @@ -47,7 +47,7 @@
    [self addItem:theMenuItem];
    - return [theMenuItem autorelease];
    + return theMenuItem;
    }
    @@ -128,11 +128,9 @@
    NSMenu *menu = [self menu];
    NSInteger idx = [menu indexOfItem:self];
    - [self retain];
    [menu removeItemAtIndex:idx];
    [self setKeyEquivalent:@""];
    [menu insertItem:self atIndex:idx];
    - [self release];
    }
    - (NSComparisonResult)titleCompare:(NSMenuItem *)inMenuItem
    @@ -171,10 +169,10 @@
    {
    if (itemA == itemB) return;
    - NSMenu *menuA = [[itemA retain] menu];
    + NSMenu *menuA = [itemA menu];
    NSInteger indexA = menuA ? [menuA indexOfItem:itemA] : -1;
    - NSMenu *menuB = [[itemB retain] menu];
    + NSMenu *menuB = [itemB menu];
    NSInteger indexB = menuB ? [menuB indexOfItem:itemB] : -1;
    if ((menuA == menuB) && (indexA < indexB)) {
    @@ -208,16 +206,12 @@
    NSMenuItem *primaryItem = [containingMenu itemAtIndex:(menuItemIndex-1)];
    //Remove the primary item and readd it
    - [primaryItem retain];
    [containingMenu removeItemAtIndex:(menuItemIndex-1)];
    [containingMenu insertItem:primaryItem atIndex:(menuItemIndex-1)];
    - [primaryItem release];
    //Remove the alternate item and readd it
    - [alternateItem retain];
    [containingMenu removeItemAtIndex:menuItemIndex];
    [containingMenu insertItem:alternateItem atIndex:menuItemIndex];
    - [alternateItem release];
    }
    @end
    --- a/Frameworks/AIUtilities Framework/Source/AIMultiCellOutlineView.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIMultiCellOutlineView.m Thu Feb 02 00:40:15 2012 -0500
    @@ -46,19 +46,10 @@
    groupRowHeight = 0;
    }
    -- (void)dealloc
    -{
    - [contentCell release];
    - [groupCell release];
    -
    - [super dealloc];
    -}
    -
    //Cell used for content rows
    - (void)setContentCell:(NSCell *)cell{
    if (contentCell != cell) {
    - [contentCell release];
    - contentCell = [cell retain];
    + contentCell = cell;
    }
    contentRowHeight = [contentCell cellSize].height;
    [self noteHeightOfRowsWithIndexesChanged:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, [self numberOfRows])]];
    @@ -70,8 +61,7 @@
    //Cell used for group rows
    - (void)setGroupCell:(NSCell *)cell{
    if (groupCell != cell) {
    - [groupCell release];
    - groupCell = [cell retain];
    + groupCell = cell;
    }
    groupRowHeight = [groupCell cellSize].height;
    --- a/Frameworks/AIUtilities Framework/Source/AIMutableOwnerArray.h Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIMutableOwnerArray.h Thu Feb 02 00:40:15 2012 -0500
    @@ -84,14 +84,14 @@
    *
    * @result The object with the highest priority, performing no other comparison
    */
    -@property (readonly, nonatomic) id objectValue;
    +@property (unsafe_unretained, readonly, nonatomic) id objectValue;
    /*!
    * @brief Greatest NSNumber value
    *
    * Assumes the \c AIMutableOwnerArray contains \c NSNumber instances
    * @result Returns the greatest (highest value) contained \c NSNumber value.
    */
    -@property (readonly, nonatomic) NSNumber *numberValue;
    +@property (unsafe_unretained, readonly, nonatomic) NSNumber *numberValue;
    /*!
    * @brief Greatest integer value
    *
    @@ -112,7 +112,7 @@
    * Assuming the \c AIMutableOwnerArray contains \c NSDate instances, returns the earliest one.
    * @return Returns the earliest contained date.
    */
    -@property (readonly, nonatomic) NSDate *date;
    +@property (unsafe_unretained, readonly, nonatomic) NSDate *date;
    /*!
    * @brief Retrieve object by owner
    *
    @@ -151,7 +151,7 @@
    * Retrieve an \c NSEnumerator for all objects in the \c AIMutableOwnerArray. Order is not guaranteed.
    * @return Returns \c NSEnumerator for all objects.
    */
    -@property (readonly, nonatomic) NSEnumerator *objectEnumerator;
    +@property (unsafe_unretained, readonly, nonatomic) NSEnumerator *objectEnumerator;
    /*!
    * @brief Retrieve array of values
    *
    @@ -176,6 +176,6 @@
    * to be notified with the \c AIMutableOwnerArray is modified.
    * @param inDelegate The delegate
    */
    -@property (readwrite, nonatomic, assign) id delegate;
    +@property (readwrite, nonatomic, unsafe_unretained) id delegate;
    @end
    --- a/Frameworks/AIUtilities Framework/Source/AIMutableOwnerArray.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIMutableOwnerArray.m Thu Feb 02 00:40:15 2012 -0500
    @@ -51,7 +51,6 @@
    delegate = nil;
    [self _destroyArrays];
    - [super dealloc];
    }
    @@ -66,7 +65,7 @@
    }
    [desc appendString:@">"];
    - return [desc autorelease];
    + return desc;
    }
    @@ -356,9 +355,9 @@
    //Destroy our storage arrays
    - (void)_destroyArrays
    {
    - [contentArray release]; contentArray = nil;
    - [priorityArray release]; priorityArray = nil;
    - [ownerArray release]; ownerArray = nil;
    + contentArray = nil;
    + priorityArray = nil;
    + ownerArray = nil;
    }
    //Delegation -----------------------------------------------------------------------------------------
    @@ -375,7 +374,7 @@
    return delegate;
    }
    -- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len;
    +- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id __unsafe_unretained [])stackbuf count:(NSUInteger)len;
    {
    return [contentArray countByEnumeratingWithState:state objects:stackbuf count:len];
    }
    --- a/Frameworks/AIUtilities Framework/Source/AIMutableStringAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIMutableStringAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -20,8 +20,8 @@
    + (NSMutableString *)stringWithContentsOfASCIIFile:(NSString *)path
    {
    - return ([[[NSMutableString alloc] initWithData:[NSData dataWithContentsOfFile:path]
    - encoding:NSASCIIStringEncoding] autorelease]);
    + return ([[NSMutableString alloc] initWithData:[NSData dataWithContentsOfFile:path]
    + encoding:NSASCIIStringEncoding]);
    }
    - (NSMutableString*)mutableString
    --- a/Frameworks/AIUtilities Framework/Source/AIOutlineView.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIOutlineView.m Thu Feb 02 00:40:15 2012 -0500
    @@ -298,7 +298,7 @@
    [accessibilityActionNames addObject:NSAccessibilityPressAction];
    [accessibilityActionNames addObject:NSAccessibilityShowMenuAction];
    - return [accessibilityActionNames autorelease];
    + return accessibilityActionNames;
    }
    @end
    --- a/Frameworks/AIUtilities Framework/Source/AIParagraphStyleAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIParagraphStyleAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -23,7 +23,7 @@
    NSMutableParagraphStyle *paragraphStyle = [[NSParagraphStyle defaultParagraphStyle] mutableCopy];
    [paragraphStyle setAlignment:alignment];
    - return [paragraphStyle autorelease];
    + return paragraphStyle;
    }
    + (NSMutableParagraphStyle *)styleWithAlignment:(NSTextAlignment)alignment lineBreakMode:(NSLineBreakMode)mode
    @@ -32,7 +32,7 @@
    [paragraphStyle setAlignment:alignment];
    [paragraphStyle setLineBreakMode:mode];
    - return [paragraphStyle autorelease];
    + return paragraphStyle;
    }
    @end
    --- a/Frameworks/AIUtilities Framework/Source/AIProgressDataUploader.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIProgressDataUploader.m Thu Feb 02 00:40:15 2012 -0500
    @@ -78,7 +78,7 @@
    delegate:(id <AIProgressDataUploaderDelegate>)delegate
    context:(id)context
    {
    - return [[[self alloc] initWithData:uploadData URL:url headers:headers delegate:delegate context:context] autorelease];
    + return [[self alloc] initWithData:uploadData URL:url headers:headers delegate:delegate context:context];
    }
    - (id)initWithData:(NSData *)inUploadData
    @@ -88,11 +88,11 @@
    context:(id)inContext
    {
    if ((self = [super init])) {
    - uploadData = [inUploadData retain];
    + uploadData = inUploadData;
    delegate = inDelegate;
    context = inContext;
    - url = [inURL retain];
    - headers = [inHeaders retain];
    + url = inURL;
    + headers = inHeaders;
    }
    return self;
    @@ -100,12 +100,10 @@
    - (void)dealloc
    {
    - [url release]; url = nil;
    - [headers release]; headers = nil;
    - [uploadData release]; uploadData = nil;
    - [returnedData release]; returnedData = nil;
    -
    - [super dealloc];
    + url = nil;
    + headers = nil;
    + uploadData = nil;
    + returnedData = nil;
    }
    /*!
    @@ -117,22 +115,22 @@
    {
    CFHTTPMessageRef httpRequest = CFHTTPMessageCreateRequest(kCFAllocatorDefault,
    CFSTR("POST"),
    - (CFURLRef)url,
    + (__bridge CFURLRef)url,
    kCFHTTPVersion1_1);
    for (NSString *headerKey in headers) {
    CFHTTPMessageSetHeaderFieldValue(httpRequest,
    - (CFStringRef)headerKey,
    - (CFStringRef)[headers objectForKey:headerKey]);
    + (__bridge CFStringRef)headerKey,
    + (__bridge CFStringRef)[headers objectForKey:headerKey]);
    }
    - CFHTTPMessageSetBody(httpRequest, (CFDataRef)uploadData);
    + CFHTTPMessageSetBody(httpRequest, (__bridge CFDataRef)uploadData);
    stream = CFReadStreamCreateForHTTPRequest(kCFAllocatorDefault, httpRequest);
    CFStreamClientContext streamClientContext = {
    0,
    - self,
    + (__bridge void *)(self),
    NULL,
    NULL,
    NULL
    @@ -196,11 +194,11 @@
    {
    totalSize = [uploadData length];
    - periodicTimer = [[NSTimer scheduledTimerWithTimeInterval:UPDATE_INTERVAL
    + periodicTimer = [NSTimer scheduledTimerWithTimeInterval:UPDATE_INTERVAL
    target:self
    selector:@selector(updateProgress)
    userInfo:nil
    - repeats:YES] retain];
    + repeats:YES];
    timeoutTimer = [[NSTimer alloc] initWithFireDate:[NSDate dateWithTimeIntervalSinceNow:TIMEOUT_INTERVAL]
    interval:TIMEOUT_INTERVAL
    @@ -221,7 +219,7 @@
    return;
    }
    - NSNumber *bytesWrittenPropertyNum = [NSMakeCollectable(CFReadStreamCopyProperty(stream, kCFStreamPropertyHTTPRequestBytesWrittenCount)) autorelease];
    + NSNumber *bytesWrittenPropertyNum = NSMakeCollectable(CFReadStreamCopyProperty(stream, kCFStreamPropertyHTTPRequestBytesWrittenCount));
    NSInteger bytesWritten = [bytesWrittenPropertyNum integerValue];
    if (bytesWritten > bytesSent) {
    @@ -256,7 +254,7 @@
    CFStreamEventType type,
    void *info)
    {
    - AIProgressDataUploader *uploader = (AIProgressDataUploader *)info;
    + AIProgressDataUploader *uploader = (__bridge AIProgressDataUploader *)info;
    switch (type) {
    case kCFStreamEventHasBytesAvailable:
    --- a/Frameworks/AIUtilities Framework/Source/AIRichTextCoercer.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIRichTextCoercer.m Thu Feb 02 00:40:15 2012 -0500
    @@ -51,7 +51,7 @@
    result = [input string];
    if([input isKindOfClass:[NSMutableAttributedString class]]) {
    //The input string is mutable, so make a copy of the string.
    - result = [[result copy] autorelease];
    + result = [result copy];
    }
    }
    @@ -63,7 +63,7 @@
    + (id)coercePlainText:(NSString *)input toClass:(Class)class
    {
    if([class isSubclassOfClass:[NSAttributedString class]]) {
    - return [[[class alloc] initWithString:input] autorelease];
    + return [[class alloc] initWithString:input];
    }
    return nil;
    }
    --- a/Frameworks/AIUtilities Framework/Source/AIRolloverButton.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIRolloverButton.m Thu Feb 02 00:40:15 2012 -0500
    @@ -44,8 +44,6 @@
    [self removeTrackingRect:trackingTag];
    trackingTag = -1;
    }
    -
    - [super dealloc];
    }
    #pragma mark Configuration
    --- a/Frameworks/AIUtilities Framework/Source/AISendingTextView.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AISendingTextView.m Thu Feb 02 00:40:15 2012 -0500
    @@ -70,13 +70,6 @@
    sendingEnabled = YES;
    }
    -- (void)dealloc
    -{
    - [returnArray release];
    -
    - [super dealloc];
    -}
    -
    //If true we will invoke selector on target when a send key is pressed
    @synthesize sendingEnabled;
    --- a/Frameworks/AIUtilities Framework/Source/AISmoothTooltipTracker.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AISmoothTooltipTracker.m Thu Feb 02 00:40:15 2012 -0500
    @@ -44,13 +44,13 @@
    + (AISmoothTooltipTracker *)smoothTooltipTrackerForView:(NSView *)inView withDelegate:(id <AISmoothTooltipTrackerDelegate>)inDelegate
    {
    - return [[[self alloc] initForView:inView withDelegate:inDelegate] autorelease];
    + return [[self alloc] initForView:inView withDelegate:inDelegate];
    }
    - (AISmoothTooltipTracker *)initForView:(NSView *)inView withDelegate:(id)inDelegate
    {
    if ((self = [super init])) {
    - view = [inView retain];
    + view = inView;
    delegate = inDelegate;
    tooltipTrackingTag = -1;
    tooltipLocation = NSZeroPoint;
    @@ -91,9 +91,7 @@
    [self removeCursorRect];
    [self _stopTrackingMouse];
    - [view release]; view = nil;
    -
    - [super dealloc];
    + view = nil;
    }
    - (void)setDelegate:(id <AISmoothTooltipTrackerDelegate>)inDelegate
    @@ -228,11 +226,11 @@
    {
    if (!tooltipMouseLocationTimer) {
    tooltipCount = 0;
    - tooltipMouseLocationTimer = [[NSTimer scheduledTimerWithTimeInterval:(1.0/TOOL_TIP_CHECK_INTERVAL)
    + tooltipMouseLocationTimer = [NSTimer scheduledTimerWithTimeInterval:(1.0/TOOL_TIP_CHECK_INTERVAL)
    target:self
    selector:@selector(mouseMovementTimer:)
    userInfo:nil
    - repeats:YES] retain];
    + repeats:YES];
    }
    }
    @@ -249,7 +247,7 @@
    tooltipMouseLocationTimer = nil;
    [theTimer invalidate];
    - [theTimer release]; theTimer = nil;
    + theTimer = nil;
    }
    }
    --- a/Frameworks/AIUtilities Framework/Source/AIStringAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIStringAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -163,11 +163,11 @@
    + (id)stringWithData:(NSData *)data encoding:(NSStringEncoding)encoding
    {
    - return [[[self alloc] initWithData:data encoding:encoding] autorelease];
    + return [[self alloc] initWithData:data encoding:encoding];
    }
    + (id)stringWithBytes:(const void *)inBytes length:(unsigned)inLength encoding:(NSStringEncoding)inEncoding
    {
    - return [[[self alloc] initWithBytes:inBytes length:inLength encoding:inEncoding] autorelease];
    + return [[self alloc] initWithBytes:inBytes length:inLength encoding:inEncoding];
    }
    + (id)ellipsis
    @@ -203,7 +203,7 @@
    NSRange range = NSMakeRange(0, 0);
    outName = [self mutableCopy];
    - CFStringLowercase((CFMutableStringRef)outName, /*locale*/ NULL);
    + CFStringLowercase((__bridge CFMutableStringRef)outName, /*locale*/ NULL);
    len = [outName length];
    while (pos < len) {
    @@ -224,7 +224,7 @@
    }
    }
    - return [outName autorelease];
    + return outName;
    }
    #define BUNDLE_STRING @"$$BundlePath$$"
    @@ -233,7 +233,7 @@
    if ([self hasPrefix:BUNDLE_STRING]) {
    return [[[[NSBundle mainBundle] bundlePath] stringByExpandingTildeInPath] stringByAppendingString:[self substringFromIndex:[BUNDLE_STRING length]]];
    } else {
    - return [[self copy] autorelease];
    + return [self copy];
    }
    }
    @@ -244,7 +244,7 @@
    if ([self hasPrefix:bundlePath]) {
    return [BUNDLE_STRING stringByAppendingString:[self substringFromIndex:[bundlePath length]]];
    } else {
    - return [[self copy] autorelease];
    + return [self copy];
    }
    }
    @@ -258,7 +258,7 @@
    returnString = [[self substringToIndex:length-1] stringByAppendingString:[NSString ellipsis]];
    } else {
    //We don't need to truncate, so don't append an ellipsis
    - returnString = [[self copy] autorelease];
    + returnString = [self copy];
    }
    return (returnString);
    @@ -280,7 +280,7 @@
    [string replaceOccurrencesOfString:@"/" withString:@"-" options:NSLiteralSearch range:NSMakeRange(0, length)];
    - return [string autorelease];
    + return string;
    }
    //- (NSString *)stringByEncodingURLEscapes
    @@ -426,7 +426,7 @@
    sourceIndex++;
    }
    - return [[[NSString alloc] initWithBytes:destPtr length:destIndex encoding:NSASCIIStringEncoding] autorelease];
    + return [[NSString alloc] initWithBytes:destPtr length:destIndex encoding:NSASCIIStringEncoding];
    }
    //stringByDecodingURLEscapes
    @@ -502,7 +502,7 @@
    destIndex++;
    }
    - return [[[NSString alloc] initWithBytes:destPtr length:destIndex encoding:NSASCIIStringEncoding] autorelease];
    + return [[NSString alloc] initWithBytes:destPtr length:destIndex encoding:NSASCIIStringEncoding];
    }
    - (NSString *)string
    @@ -546,11 +546,11 @@
    nil];
    }
    - return [(NSString *)CFXMLCreateStringByEscapingEntities(kCFAllocatorDefault, (CFStringRef)self, (CFDictionaryRef)realEntities) autorelease];
    + return (__bridge_transfer NSString *)CFXMLCreateStringByEscapingEntities(kCFAllocatorDefault, (__bridge CFStringRef)self, (__bridge CFDictionaryRef)realEntities);
    }
    - (NSString *)stringByUnescapingFromXMLWithEntities:(NSDictionary *)entities
    {
    - return [(NSString *)CFXMLCreateStringByUnescapingEntities(kCFAllocatorDefault, (CFStringRef)self, (CFDictionaryRef)entities) autorelease];
    + return (__bridge_transfer NSString *)CFXMLCreateStringByUnescapingEntities(kCFAllocatorDefault, (__bridge CFStringRef)self, (__bridge CFDictionaryRef)entities);
    }
    #ifndef BSD_LICENSE_ONLY
    @@ -743,10 +743,10 @@
    NSString *uuidStr;
    uuid = CFUUIDCreate(NULL);
    - uuidStr = (NSString *)CFUUIDCreateString(NULL, uuid);
    + uuidStr = (__bridge_transfer NSString *)CFUUIDCreateString(NULL, uuid);
    CFRelease(uuid);
    - return [uuidStr autorelease];
    + return uuidStr;
    }
    + (NSString *)stringWithCGFloat:(CGFloat)f maxDigits:(NSUInteger)numDigits
    @@ -779,7 +779,7 @@
    if (!lineBreakCharacterSet) {
    static const unichar lineBreakCharacters[numberOfLineBreakCharacters] = { LINE_FEED, FORM_FEED, CARRIAGE_RETURN, NEXT_LINE, LINE_SEPARATOR, PARAGRAPH_SEPARATOR };
    - lineBreakCharacterSet = [[NSCharacterSet characterSetWithCharactersInString:[NSString stringWithCharacters:lineBreakCharacters length:numberOfLineBreakCharacters]] retain];
    + lineBreakCharacterSet = [NSCharacterSet characterSetWithCharactersInString:[NSString stringWithCharacters:lineBreakCharacters length:numberOfLineBreakCharacters]];
    }
    return lineBreakCharacterSet;
    @@ -841,7 +841,7 @@
    substringRange.length = lineBreakRange.location - searchRange.location;
    [lines addObject:[self substringWithRange:substringRange]];
    - if (separatorObj) [lines addObject:[[separatorObj copy] autorelease]];
    + if (separatorObj) [lines addObject:[separatorObj copy]];
    searchRange.location = (lineBreakRange.location + lineBreakRange.length);
    searchRange.length = selfLength - searchRange.location;
    @@ -890,13 +890,13 @@
    // RFC 2396:
    // reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" | "$" | ","
    - NSString *string = (NSString *)CFURLCreateStringByAddingPercentEscapes(NULL,
    - (CFStringRef)self,
    + NSString *string = (__bridge_transfer NSString *)CFURLCreateStringByAddingPercentEscapes(NULL,
    + (__bridge CFStringRef)self,
    NULL,
    (CFStringRef)@";/?:@&=+$",
    kCFStringEncodingUTF8);
    - return [string autorelease];
    + return string;
    }
    @end
    --- a/Frameworks/AIUtilities Framework/Source/AIStringFormatter.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIStringFormatter.m Thu Feb 02 00:40:15 2012 -0500
    @@ -27,14 +27,14 @@
    + (id)stringFormatterAllowingCharacters:(NSCharacterSet *)inCharacters length:(NSInteger)inLength caseSensitive:(BOOL)inCaseSensitive errorMessage:(NSString *)inErrorMessage
    {
    - return [[[self alloc] initAllowingCharacters:inCharacters length:inLength caseSensitive:inCaseSensitive errorMessage:inErrorMessage] autorelease];
    + return [[self alloc] initAllowingCharacters:inCharacters length:inLength caseSensitive:inCaseSensitive errorMessage:inErrorMessage];
    }
    - (id)initAllowingCharacters:(NSCharacterSet *)inCharacters length:(NSInteger)inLength caseSensitive:(BOOL)inCaseSensitive errorMessage:(NSString *)inErrorMessage
    {
    if ((self = [super init])) {
    - errorMessage = [inErrorMessage retain];
    - characters = [inCharacters retain];
    + errorMessage = inErrorMessage;
    + characters = inCharacters;
    length = inLength;
    caseSensitive = inCaseSensitive;
    errorCount = 0;
    @@ -124,15 +124,4 @@
    return valid;
    }
    -- (void)dealloc
    -{
    - [errorMessage release];
    - [characters release];
    -
    - [super dealloc];
    -}
    -
    @end
    -
    -
    -
    --- a/Frameworks/AIUtilities Framework/Source/AISystemNetworkDefaults.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AISystemNetworkDefaults.m Thu Feb 02 00:40:15 2012 -0500
    @@ -84,19 +84,18 @@
    }
    }
    - if ((proxyDict = (NSDictionary *)SCDynamicStoreCopyProxies(NULL))) {
    - [proxyDict autorelease];
    + if ((proxyDict = (__bridge_transfer NSDictionary *)SCDynamicStoreCopyProxies(NULL))) {
    //Enabled?
    - enable = [[proxyDict objectForKey:(NSString *)enableKey] intValue];
    + enable = [[proxyDict objectForKey:(__bridge NSString *)enableKey] intValue];
    if (enable) {
    //Host
    - hostString = [proxyDict objectForKey:(NSString *)proxyKey];
    + hostString = [proxyDict objectForKey:(__bridge NSString *)proxyKey];
    if (hostString) {
    //Port
    - portNum = [proxyDict objectForKey:(NSString *)portKey];
    + portNum = [proxyDict objectForKey:(__bridge NSString *)portKey];
    if (portNum) {
    NSDictionary *authDict;
    @@ -131,7 +130,7 @@
    NSString *pacFile = [proxyDict objectForKey:(NSString *)kSCPropNetProxiesProxyAutoConfigURLString];
    if (pacFile) {
    - CFURLRef url = (CFURLRef)[NSURL URLWithString:[NSString stringWithFormat:@"http://%@", hostName ?: @"google.com"]];
    + CFURLRef url = (__bridge CFURLRef)[NSURL URLWithString:[NSString stringWithFormat:@"http://%@", hostName ?: @"google.com"]];
    NSString *scriptStr = [NSString stringWithContentsOfURL:[NSURL URLWithString:pacFile] encoding:NSUTF8StringEncoding error:NULL];
    if (url && scriptStr) {
    @@ -143,7 +142,7 @@
    CFRelease(CFNetworkCopyProxiesForURL(url, NULL));
    CFErrorRef error = NULL;
    - proxies = [(NSArray *)CFNetworkCopyProxiesForAutoConfigurationScript((CFStringRef)scriptStr, url, &error) autorelease];
    + proxies = (__bridge_transfer NSArray *)CFNetworkCopyProxiesForAutoConfigurationScript((__bridge CFStringRef)scriptStr, url, &error);
    if (error) {
    CFStringRef description = CFErrorCopyDescription(error);
    --- a/Frameworks/AIUtilities Framework/Source/AITextAttachmentAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AITextAttachmentAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -21,7 +21,7 @@
    - (BOOL)consideredImageForHFSType:(OSType)HFSTypeCode
    pathExtension:(NSString *)pathExtension
    {
    - NSMutableArray *imageFileTypes = [[[NSImage imageFileTypes] mutableCopy] autorelease];
    + NSMutableArray *imageFileTypes = [[NSImage imageFileTypes] mutableCopy];
    NSArray *removeFileTypes = [NSArray arrayWithObjects:@"pdf", @"PDF", @"psd", @"PSD", @"'PDF '", nil];
    [imageFileTypes removeObjectsInArray:removeFileTypes];
    --- a/Frameworks/AIUtilities Framework/Source/AITextAttributes.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AITextAttributes.m Thu Feb 02 00:40:15 2012 -0500
    @@ -35,19 +35,19 @@
    //Creates a new instance of AITextAttributes
    + (id)textAttributesWithFontFamily:(NSString *)inFamilyName traits:(NSFontTraitMask)inTraits size:(NSInteger)inSize
    {
    - return [[[self alloc] initWithFontFamily:inFamilyName traits:inTraits size:inSize] autorelease];
    + return [[self alloc] initWithFontFamily:inFamilyName traits:inTraits size:inSize];
    }
    + (id)textAttributesWithDictionary:(NSDictionary *)inAttributes
    {
    - return [[[self alloc] initWithDictionary:inAttributes] autorelease];
    + return [[self alloc] initWithDictionary:inAttributes];
    }
    //init
    - (id)initWithFontFamily:(NSString *)inFamilyName traits:(NSFontTraitMask)inTraits size:(NSInteger)inSize
    {
    if ((self = [self init])) {
    - fontFamilyName = [inFamilyName retain];
    + fontFamilyName = inFamilyName;
    fontTraitsMask = inTraits;
    fontSize = inSize;
    }
    @@ -58,17 +58,16 @@
    - (id)initWithDictionary:(NSDictionary *)inAttributes
    {
    if ((self = [self init])) {
    - [dictionary release];
    dictionary = [inAttributes mutableCopy];
    NSFont *font = [dictionary objectForKey:NSFontAttributeName];
    if (font) {
    - fontFamilyName = [[font familyName] retain];
    + fontFamilyName = [font familyName];
    fontTraitsMask = [[NSFontManager sharedFontManager] traitsOfFont:font];
    fontSize = [font pointSize];
    } else {
    - fontFamilyName = [@"Helvetica" retain];
    + fontFamilyName = @"Helvetica";
    fontTraitsMask = 0;
    fontSize = 12;
    }
    @@ -90,21 +89,12 @@
    return self;
    }
    -//dealloc
    -- (void)dealloc
    -{
    - [dictionary release];
    - [fontFamilyName release];
    -
    - [super dealloc];
    -}
    -
    - (id)copyWithZone:(NSZone *)zone
    {
    AITextAttributes *newTextAttributes = [[AITextAttributes alloc] init];
    newTextAttributes->dictionary = [dictionary mutableCopy];
    - newTextAttributes->fontFamilyName = [fontFamilyName retain];
    + newTextAttributes->fontFamilyName = fontFamilyName;
    newTextAttributes->fontTraitsMask = fontTraitsMask;
    newTextAttributes->fontSize = fontSize;
    @@ -120,8 +110,7 @@
    - (void)setFontFamily:(NSString *)inName
    {
    if (fontFamilyName != inName) {
    - [fontFamilyName release];
    - fontFamilyName = [inName retain];
    + fontFamilyName = inName;
    [dictionary removeObjectForKey:NSFontAttributeName];
    }
    @@ -317,7 +306,7 @@
    - (void)resetFontAttributes
    {
    - [fontFamilyName release]; fontFamilyName = nil;
    + fontFamilyName = nil;
    fontSize = 0;
    [dictionary removeObjectForKey:NSForegroundColorAttributeName];
    [dictionary removeObjectForKey:NSBackgroundColorAttributeName];
    @@ -364,7 +353,7 @@
    paragraphStyle = [NSParagraphStyle defaultParagraphStyle];
    }
    - newParagraphStyle = [[paragraphStyle mutableCopy] autorelease];
    + newParagraphStyle = [paragraphStyle mutableCopy];
    [newParagraphStyle setBaseWritingDirection:inDirection];
    [dictionary setObject:newParagraphStyle forKey:NSParagraphStyleAttributeName];
    }
    --- a/Frameworks/AIUtilities Framework/Source/AITextViewWithPlaceholder.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AITextViewWithPlaceholder.m Thu Feb 02 00:40:15 2012 -0500
    @@ -27,14 +27,13 @@
    // NSDictionary *attributes;
    // attributes = [NSDictionary dictionaryWithObjectsAndKeys:[NSColor grayColor], NSForegroundColorAttributeName, nil];
    - [self setPlaceholder:[[[NSAttributedString alloc] initWithString:inPlaceholderString
    - attributes:nil] autorelease]];
    + [self setPlaceholder:[[NSAttributedString alloc] initWithString:inPlaceholderString
    + attributes:nil]];
    }
    - (void)setPlaceholder:(NSAttributedString *)inPlaceholder
    {
    if (inPlaceholder != placeholder) {
    - [placeholder release];
    NSMutableAttributedString *tempPlaceholder = [inPlaceholder mutableCopy];
    [tempPlaceholder addAttribute:NSForegroundColorAttributeName value:[NSColor grayColor] range:NSMakeRange(0, [tempPlaceholder length])];
    @@ -50,13 +49,6 @@
    return placeholder;
    }
    -- (void)dealloc
    -{
    - [placeholder release];
    -
    - [super dealloc];
    -}
    -
    - (void)drawRect:(NSRect)rect
    {
    [super drawRect:rect];
    --- a/Frameworks/AIUtilities Framework/Source/AIToolbarTabView.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIToolbarTabView.m Thu Feb 02 00:40:15 2012 -0500
    @@ -38,11 +38,11 @@
    - (void)awakeFromNib
    {
    //
    - toolbarItems = [[NSMutableDictionary dictionary] retain];
    + toolbarItems = [NSMutableDictionary dictionary];
    oldHeight = 100; //Height of the original tab view content
    //Create our toolbar
    - NSToolbar *toolbar = [[[NSToolbar alloc] initWithIdentifier:@"ToolbarTabView"] autorelease];
    + NSToolbar *toolbar = [[NSToolbar alloc] initWithIdentifier:@"ToolbarTabView"];
    [toolbar setDelegate:self];
    [toolbar setAllowsUserCustomization:NO];
    [toolbar setAutosavesConfiguration:NO];
    @@ -51,15 +51,6 @@
    [[self window] setToolbar:toolbar];
    }
    -//Dealloc
    -- (void)dealloc
    -{
    - [toolbarItems release];
    -
    - [super dealloc];
    -}
    -
    -
    //Toolbar --------------------------------------------------------------------------------------------------------------
    #pragma mark Toolbar
    //Install a toolbar item for each tab view item we contain
    --- a/Frameworks/AIUtilities Framework/Source/AIToolbarUtilities.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIToolbarUtilities.m Thu Feb 02 00:40:15 2012 -0500
    @@ -27,7 +27,7 @@
    + (NSToolbarItem *)toolbarItemWithIdentifier:(NSString *)identifier label:(NSString *)label paletteLabel:(NSString *)paletteLabel toolTip:(NSString *)toolTip target:(id)target settingSelector:(SEL)settingSelector itemContent:(id)itemContent action:(SEL)action menu:(NSMenu *)menu
    {
    - NSToolbarItem *item = [[[NSToolbarItem alloc] initWithItemIdentifier:identifier] autorelease];
    + NSToolbarItem *item = [[NSToolbarItem alloc] initWithItemIdentifier:identifier];
    NSMenuItem *mItem;
    [item setLabel:label];
    @@ -55,7 +55,7 @@
    */
    if (menu != NULL) {
    //We actually need an NSMenuItem here, so we construct one
    - mItem = [[[NSMenuItem alloc] init] autorelease];
    + mItem = [[NSMenuItem alloc] init];
    [mItem setSubmenu: menu];
    [mItem setTitle: [menu title]];
    [item setMenuFormRepresentation:mItem];
    @@ -70,11 +70,11 @@
    NSToolbarItem *newItem;
    item = [theDict objectForKey:itemIdentifier];
    - newItem = [[item copy] autorelease];
    + newItem = [item copy];
    if ([item view] != NULL) {
    if ([[item view] respondsToSelector:@selector(copyWithZone:)]) {
    - [newItem setView:[[[item view] copy] autorelease]];
    + [newItem setView:[[item view] copy]];
    } else {
    /* For a toolbar only used in one window at a time, it's alright for a view to not allow copying.
    --- a/Frameworks/AIUtilities Framework/Source/AITooltipUtilities.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AITooltipUtilities.m Thu Feb 02 00:40:15 2012 -0500
    @@ -54,7 +54,7 @@
    //Tooltips
    + (void)showTooltipWithString:(NSString *)inString onWindow:(NSWindow *)inWindow atPoint:(NSPoint)inPoint orientation:(AITooltipOrientation)inOrientation
    {
    - [self showTooltipWithAttributedString:[[[NSAttributedString alloc] initWithString:inString] autorelease]
    + [self showTooltipWithAttributedString:[[NSAttributedString alloc] initWithString:inString]
    onWindow:inWindow
    atPoint:inPoint
    orientation:inOrientation];
    @@ -109,7 +109,7 @@
    !(inTitle == tooltipTitle) ||
    !(inImage == tooltipImage)) { //we don't exist or something changed
    - [tooltipTitle release]; tooltipTitle = [inTitle retain];
    + tooltipTitle = inTitle;
    if (inTitle) {
    [[textView_tooltipTitle textStorage] replaceCharactersInRange:NSMakeRange(0,[[textView_tooltipTitle textStorage] length])
    @@ -118,7 +118,7 @@
    [[textView_tooltipTitle textStorage] deleteCharactersInRange:NSMakeRange(0,[[textView_tooltipTitle textStorage] length])];
    }
    - [tooltipBody release]; tooltipBody = [inBody retain];
    + tooltipBody = inBody;
    if (inBody) {
    [[textView_tooltipBody textStorage] replaceCharactersInRange:NSMakeRange(0,[[textView_tooltipBody textStorage] length])
    withAttributedString:tooltipBody];
    @@ -126,7 +126,7 @@
    [[textView_tooltipBody textStorage] deleteCharactersInRange:NSMakeRange(0,[[textView_tooltipBody textStorage] length])];
    }
    - [tooltipImage release]; tooltipImage = [inImage retain];
    + tooltipImage = inImage;
    imageOnRight = inImageOnRight;
    [view_tooltipImage setImage:tooltipImage];
    @@ -198,12 +198,10 @@
    layoutManager = [[NSLayoutManager alloc] init];
    [textStorage_tooltipTitle addLayoutManager:layoutManager];
    - [layoutManager release];
    container = [[NSTextContainer alloc] initWithContainerSize:NSMakeSize(TOOLTIP_MAX_WIDTH,10000000.0f)];
    [container setLineFragmentPadding:1.0f]; //so widths will caclulate properly
    [layoutManager addTextContainer:container];
    - [container release];
    textView_tooltipTitle = [[NSTextView alloc] initWithFrame:NSZeroRect textContainer:container];
    [textView_tooltipTitle setSelectable:NO];
    @@ -218,12 +216,10 @@
    layoutManager = [[NSLayoutManager alloc] init];
    [textStorage_tooltipBody addLayoutManager:layoutManager];
    - [layoutManager release];
    container = [[NSTextContainer alloc] initWithContainerSize:NSMakeSize(TOOLTIP_MAX_WIDTH,10000000.0f)];
    [container setLineFragmentPadding:0.0f]; //so widths will caclulate properly
    [layoutManager addTextContainer:container];
    - [container release];
    textView_tooltipBody = [[NSTextView alloc] initWithFrame:NSZeroRect textContainer:container];
    [textView_tooltipBody setSelectable:NO];
    @@ -267,18 +263,18 @@
    + (void)_reallyCloseTooltip
    {
    - [textView_tooltipBody release]; textView_tooltipBody = nil;
    - [textView_tooltipTitle release]; textView_tooltipTitle = nil;
    - [textStorage_tooltipBody release]; textStorage_tooltipBody = nil;
    - [textStorage_tooltipTitle release]; textStorage_tooltipTitle = nil;
    - [view_tooltipImage release]; view_tooltipImage = nil;
    - [tooltipWindow release]; tooltipWindow = nil;
    - [tooltipBody release]; tooltipBody = nil;
    - [tooltipTitle release]; tooltipTitle = nil;
    - [tooltipImage release]; tooltipImage = nil;
    + textView_tooltipBody = nil;
    + textView_tooltipTitle = nil;
    + textStorage_tooltipBody = nil;
    + textStorage_tooltipTitle = nil;
    + view_tooltipImage = nil;
    + tooltipWindow = nil;
    + tooltipBody = nil;
    + tooltipTitle = nil;
    + tooltipImage = nil;
    tooltipPoint = NSZeroPoint;
    - [fadeOutAnimation release]; fadeOutAnimation = nil;
    + fadeOutAnimation = nil;
    }
    + (void)_sizeTooltip
    @@ -293,7 +289,7 @@
    static dispatch_once_t setTitleAndBodyMarginLineColor;
    dispatch_once(&setTitleAndBodyMarginLineColor, ^{
    - titleAndBodyMarginLineColor = [[[NSColor grayColor] colorWithAlphaComponent:.7f] retain];
    + titleAndBodyMarginLineColor = [[NSColor grayColor] colorWithAlphaComponent:.7f];
    });
    if (hasTitle) {
    --- a/Frameworks/AIUtilities Framework/Source/AIVariableHeightOutlineView.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIVariableHeightOutlineView.m Thu Feb 02 00:40:15 2012 -0500
    @@ -77,8 +77,6 @@
    - (void)dealloc
    {
    [[NSNotificationCenter defaultCenter] removeObserver:self];
    -
    - [super dealloc];
    }
    /*!
    @@ -338,8 +336,8 @@
    //and then draw the cell into it at the regular size. This way the cell can overflow its bounds as normal and not
    //spill outside the drag image.
    rowRect = [self rectOfRow:firstRow];
    - image = [[[NSImage alloc] initWithSize:NSMakeSize(rowRect.size.width,
    - rowRect.size.height*count + [self intercellSpacing].height*(count-1))] autorelease];
    + image = [[NSImage alloc] initWithSize:NSMakeSize(rowRect.size.width,
    + rowRect.size.height*count + [self intercellSpacing].height*(count-1))];
    //Draw (Since the OLV is normally flipped, we have to be flipped when drawing)
    [image setFlipped:YES];
    --- a/Frameworks/AIUtilities Framework/Source/AIVerticallyCenteredTextCell.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIVerticallyCenteredTextCell.m Thu Feb 02 00:40:15 2012 -0500
    @@ -68,7 +68,7 @@
    }
    //Paragraph style for alignment and clipping
    - NSMutableParagraphStyle *style = [[[NSParagraphStyle defaultParagraphStyle] mutableCopy] autorelease];
    + NSMutableParagraphStyle *style = [[NSParagraphStyle defaultParagraphStyle] mutableCopy];
    [style setAlignment:[self alignment]];
    [style setLineBreakMode:[self lineBreakMode]];
    @@ -105,8 +105,6 @@
    //Draw the string
    [attributedTitle drawInRect:cellFrame];
    -
    - [attributedTitle release];
    }
    }
    --- a/Frameworks/AIUtilities Framework/Source/AIViewAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/AIViewAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -34,19 +34,18 @@
    for (loop = 0;loop < [subviews count]; loop++) {
    [[subviews objectAtIndex:loop] removeFromSuperview];
    }
    - [subviews release];
    }
    - (void)bringSubviewToFront:(NSView *)subview
    {
    - [self sortSubviewsUsingFunction:bringToFront context:subview];
    + [self sortSubviewsUsingFunction:bringToFront context:(__bridge void *)subview];
    }
    NSComparisonResult bringToFront(id itemA, id itemB, void *target)
    {
    - if (itemA == target) {
    + if (itemA == (__bridge id)target) {
    return NSOrderedDescending;
    - } else if (itemB == target) {
    + } else if (itemB == (__bridge id)target) {
    return NSOrderedAscending;
    } else {
    return NSOrderedSame;
    --- a/Frameworks/AIUtilities Framework/Source/JVMarkedScroller.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/JVMarkedScroller.m Thu Feb 02 00:40:15 2012 -0500
    @@ -20,8 +20,8 @@
    struct _mark {
    NSUInteger location;
    - NSString *identifier;
    - NSColor *color;
    +__unsafe_unretained NSString *identifier;
    +__unsafe_unretained NSColor *color;
    };
    @interface JVMarkedScroller (PRIVATE)
    @@ -32,8 +32,8 @@
    @implementation JVMarkedScroller
    - (id) initWithFrame:(NSRect) frame {
    if( ( self = [super initWithFrame:frame] ) ) {
    - _marks = [[NSMutableSet set] retain];
    - _shades = [[NSMutableArray array] retain];
    + _marks = [NSMutableSet set];
    + _shades = [NSMutableArray array];
    _nearestPreviousMark = NSNotFound;
    _nearestNextMark = NSNotFound;
    _currentMark = NSNotFound;
    @@ -42,13 +42,8 @@
    }
    - (void) dealloc {
    - [_marks release];
    - [_shades release];
    -
    _marks = nil;
    _shades = nil;
    -
    - [super dealloc];
    }
    #pragma mark -
    @@ -193,60 +188,59 @@
    }
    - (NSMenu *) menuForEvent:(NSEvent *) event {
    - NSMenu *menu = [[[NSMenu alloc] initWithTitle:@""] autorelease];
    + NSMenu *menu = [[NSMenu alloc] initWithTitle:@""];
    NSMenuItem *item = nil;
    - item = [[[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Clear All Marks", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "clear all marks contextual menu item title" )
    + item = [[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Clear All Marks", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "clear all marks contextual menu item title" )
    action:@selector( removeAllMarks )
    - keyEquivalent:@""] autorelease];
    + keyEquivalent:@""];
    [item setTarget:self];
    [menu addItem:item];
    if( sFlags.isHoriz ) {
    - item = [[[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Clear Marks from Here Left", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "clear marks from here left contextual menu")
    + item = [[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Clear Marks from Here Left", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "clear marks from here left contextual menu")
    action:@selector( clearMarksHereLess: )
    - keyEquivalent:@""] autorelease];
    + keyEquivalent:@""];
    [item setTarget:self];
    [menu addItem:item];
    - item = [[[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Clear Marks from Here Right", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "clear marks from here right contextual menu")
    - action:@selector( clearMarksHereGreater: ) keyEquivalent:@""]
    - autorelease];
    + item = [[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Clear Marks from Here Right", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "clear marks from here right contextual menu")
    + action:@selector( clearMarksHereGreater: ) keyEquivalent:@""];
    [item setTarget:self];
    [menu addItem:item];
    } else {
    - item = [[[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Clear Marks from Here Up", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "clear marks from here up contextual menu")
    + item = [[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Clear Marks from Here Up", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "clear marks from here up contextual menu")
    action:@selector( clearMarksHereLess: )
    - keyEquivalent:@""] autorelease];
    + keyEquivalent:@""];
    [item setTarget:self];
    [menu addItem:item];
    - item = [[[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Clear Marks from Here Down", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "clear marks from here up contextual menu")
    + item = [[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Clear Marks from Here Down", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "clear marks from here up contextual menu")
    action:@selector( clearMarksHereGreater: )
    - keyEquivalent:@""] autorelease];
    + keyEquivalent:@""];
    [item setTarget:self];
    [menu addItem:item];
    }
    [menu addItem:[NSMenuItem separatorItem]];
    - item = [[[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Jump to Previous Mark", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "jump to previous mark contextual menu")
    + item = [[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Jump to Previous Mark", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "jump to previous mark contextual menu")
    action:@selector( jumpToPreviousMark: )
    - keyEquivalent:@"["] autorelease];
    + keyEquivalent:@"["];
    [item setTarget:self];
    [item setKeyEquivalentModifierMask:NSAlternateKeyMask | NSCommandKeyMask];
    [menu addItem:item];
    - item = [[[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Jump to Next Mark", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "jump to next mark contextual menu")
    + item = [[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Jump to Next Mark", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "jump to next mark contextual menu")
    action:@selector( jumpToNextMark: )
    - keyEquivalent:@"]"] autorelease];
    + keyEquivalent:@"]"];
    [item setTarget:self];
    [item setKeyEquivalentModifierMask:NSAlternateKeyMask | NSCommandKeyMask];
    [menu addItem:item];
    - item = [[[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Jump to Focus Mark", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "jump to the mark where the last content the user saw ends")
    + item = [[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle( @"Jump to Focus Mark", nil, [NSBundle bundleWithIdentifier:AIUTILITIES_BUNDLE_ID], "jump to the mark where the last content the user saw ends")
    action:@selector( jumpToFocusMark: )
    - keyEquivalent:@""] autorelease];
    + keyEquivalent:@""];
    [item setTarget:self];
    [menu addItem:item];
    @@ -490,7 +484,7 @@
    }
    - (void) removeMarkWithIdentifier:(NSString *) identifier {
    - NSEnumerator *e = [[[_marks copy] autorelease] objectEnumerator];
    + NSEnumerator *e = [[_marks copy] objectEnumerator];
    NSValue *obj = nil;
    while( ( obj = [e nextObject] ) ) {
    struct _mark mark;
    @@ -504,7 +498,7 @@
    }
    - (void) removeMarksGreaterThan:(NSUInteger) location {
    - NSEnumerator *enumerator = [[[_marks copy] autorelease] objectEnumerator];
    + NSEnumerator *enumerator = [[_marks copy] objectEnumerator];
    NSValue *obj = nil;
    while( ( obj = [enumerator nextObject] ) ) {
    @@ -518,7 +512,7 @@
    }
    - (void) removeMarksLessThan:(NSUInteger) location {
    - NSEnumerator *enumerator = [[[_marks copy] autorelease] objectEnumerator];
    + NSEnumerator *enumerator = [[_marks copy] objectEnumerator];
    NSValue *obj = nil;
    while( ( obj = [enumerator nextObject] ) ) {
    @@ -532,7 +526,7 @@
    }
    - (void) removeMarksInRange:(NSRange) range {
    - NSEnumerator *enumerator = [[[_marks copy] autorelease] objectEnumerator];
    + NSEnumerator *enumerator = [[_marks copy] objectEnumerator];
    NSValue *obj = nil;
    while( ( obj = [enumerator nextObject] ) ) {
    --- a/Frameworks/AIUtilities Framework/Source/MVMenuButton.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/MVMenuButton.m Thu Feb 02 00:40:15 2012 -0500
    @@ -50,20 +50,11 @@
    [newButton setDrawsArrow:drawsArrow];
    //Copy super's config
    - [newButton setMenu:[[[self menu] copy] autorelease]];
    + [newButton setMenu:[[self menu] copy]];
    return newButton;
    }
    -- (void)dealloc
    -{
    - [bigImage release];
    - [arrowPath release];
    -
    - [super dealloc];
    -}
    -
    -
    //Configure ------------------------------------------------------------------------------------------------------------
    #pragma mark Configure
    //Control Size (Allows us to dynamically size for a small or big toolbar)
    @@ -100,7 +91,7 @@
    }
    //Reset the popup arrow path cache, we'll need to re-calculate it for the new size
    - [arrowPath release]; arrowPath = nil;
    + arrowPath = nil;
    }
    - (NSControlSize)controlSize
    {
    @@ -111,8 +102,7 @@
    - (void)setImage:(NSImage *)inImage
    {
    if (bigImage != inImage) {
    - [bigImage release];
    - bigImage = [inImage retain];
    + bigImage = inImage;
    }
    //Update our control size and the displayed image
    @@ -164,7 +154,7 @@
    if (!arrowPath) {
    NSRect frame = [self frame];
    - arrowPath = [[NSBezierPath bezierPath] retain];
    + arrowPath = [NSBezierPath bezierPath];
    if (controlSize == NSRegularControlSize) {
    [arrowPath moveToPoint:NSMakePoint(NSWidth(frame)-9, NSHeight(frame)-5)];
    --- a/Frameworks/AIUtilities Framework/Source/NSCalendarDate+ISO8601Unparsing.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/NSCalendarDate+ISO8601Unparsing.m Thu Feb 02 00:40:15 2012 -0500
    @@ -43,7 +43,6 @@
    NSString *dateFormat = [(includeTime ? @"%Y-%m-%dT%H:%M:%S" : @"%Y-%m-%d") prepareDateFormatWithTimeSeparator:timeSep];
    NSDateFormatter *formatter = [[NSDateFormatter alloc] initWithDateFormat:dateFormat allowNaturalLanguage:NO];
    NSString *str = [formatter stringForObjectValue:self];
    - [formatter release];
    if(includeTime) {
    NSInteger offset = [[self timeZone] secondsFromGMT];
    offset /= 60; //bring down to minutes
    @@ -107,7 +106,6 @@
    if(includeTime) {
    NSDateFormatter *formatter = [[NSDateFormatter alloc] initWithDateFormat:[@"T%H:%M:%S%z" prepareDateFormatWithTimeSeparator:timeSep] allowNaturalLanguage:NO];
    timeString = [formatter stringForObjectValue:self];
    - [formatter release];
    } else
    timeString = @"";
    @@ -118,7 +116,6 @@
    if(includeTime) {
    NSDateFormatter *formatter = [[NSDateFormatter alloc] initWithDateFormat:[@"T%H:%M:%S%z" prepareDateFormatWithTimeSeparator:timeSep] allowNaturalLanguage:NO];
    timeString = [formatter stringForObjectValue:self];
    - [formatter release];
    } else
    timeString = @"";
    @@ -169,7 +166,7 @@
    - (NSString *)prepareDateFormatWithTimeSeparator:(unichar)timeSep {
    NSString *dateFormat = self;
    if(timeSep != ':') {
    - NSMutableString *dateFormatMutable = [[dateFormat mutableCopy] autorelease];
    + NSMutableString *dateFormatMutable = [dateFormat mutableCopy];
    [dateFormatMutable replaceOccurrencesOfString:@":"
    withString:[NSString stringWithCharacters:&timeSep length:1U]
    options:NSBackwardsSearch | NSLiteralSearch
    --- a/Frameworks/AIUtilities Framework/Source/OWAddressBookAdditions.m Wed Jan 25 14:52:06 2012 -0500
    +++ b/Frameworks/AIUtilities Framework/Source/OWAddressBookAdditions.m Thu Feb 02 00:40:15 2012 -0500
    @@ -30,7 +30,7 @@
    [result addObject:record];
    }
    - return [result autorelease];
    + return result;
    }
    @end
    --- a/xcconfigs/AIUtilities.framework.xcconfig Wed Jan 25 14:52:06 2012 -0500
    +++ b/xcconfigs/AIUtilities.framework.xcconfig Thu Feb 02 00:40:15 2012 -0500
    @@ -7,3 +7,4 @@
    DYLIB_COMPATIBILITY_VERSION = 1
    LD_DYLIB_INSTALL_NAME = @rpath/AIUtilities.framework/Versions/A/AIUtilities
    FRAMEWORK_VERSION = A
    +CLANG_ENABLE_OBJC_ARC = YES