adium 4128:e1d9b2f4b76e: Completely removed AILeopardCompatibili...
commits at adium.im
commits at adium.im
Sun Aug 7 20:09:13 UTC 2011
details: http://hg.adium.im/adium/rev/e1d9b2f4b76e
revision: 4128:e1d9b2f4b76e
branch: (none)
author: Patrick Steinhardt <steinhardt.p at me.com>
date: Sun Aug 07 22:05:39 2011 +0200
Completely removed AILeopardCompatibility header.
diffs (159 lines):
diff -r 43862d05b626 -r e1d9b2f4b76e Adium.xcodeproj/project.pbxproj
--- a/Adium.xcodeproj/project.pbxproj Sun Aug 07 18:09:11 2011 +0200
+++ b/Adium.xcodeproj/project.pbxproj Sun Aug 07 22:05:39 2011 +0200
@@ -193,7 +193,6 @@
11D9156F0FFC0FEB00B39713 /* AIImageShackImageUploader.m in Sources */ = {isa = PBXBuildFile; fileRef = 11D915580FFC0E9C00B39713 /* AIImageShackImageUploader.m */; };
11D915720FFC100700B39713 /* AIGenericMultipartImageUploader.m in Sources */ = {isa = PBXBuildFile; fileRef = 11D915710FFC100700B39713 /* AIGenericMultipartImageUploader.m */; };
11E786810F8860210014612E /* AIJumpControlPlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = 11E7867F0F8860210014612E /* AIJumpControlPlugin.m */; };
- 11EC56FC1049E96F00C02587 /* AILeopardCompatibility.h in Headers */ = {isa = PBXBuildFile; fileRef = 1156F03D1049E83F002673FC /* AILeopardCompatibility.h */; settings = {ATTRIBUTES = (Public, ); }; };
11EE1B4D0CDCFAF40097F246 /* oscar-adium.c in Sources */ = {isa = PBXBuildFile; fileRef = 11EE1B490CDCFAF40097F246 /* oscar-adium.c */; };
11EE1B4E0CDCFAF40097F246 /* oscar-adium.h in Headers */ = {isa = PBXBuildFile; fileRef = 11EE1B4A0CDCFAF40097F246 /* oscar-adium.h */; };
11EE1B4F0CDCFAF40097F246 /* ssl-openssl.c in Sources */ = {isa = PBXBuildFile; fileRef = 11EE1B4B0CDCFAF40097F246 /* ssl-openssl.c */; };
@@ -1907,7 +1906,6 @@
1154F50712E1476900B8CA27 /* AILogByAccountWindow.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; path = AILogByAccountWindow.nib; sourceTree = "<group>"; };
1154F50812E1476900B8CA27 /* AILogByAccountWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AILogByAccountWindowController.h; sourceTree = "<group>"; };
1154F50912E1476900B8CA27 /* AILogByAccountWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AILogByAccountWindowController.m; sourceTree = "<group>"; };
- 1156F03D1049E83F002673FC /* AILeopardCompatibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AILeopardCompatibility.h; path = "Frameworks/AIUtilities Framework/Source/AILeopardCompatibility.h"; sourceTree = "<group>"; };
1163F0EA0F6C7A8300F12F5D /* AIURLShortenerPlugin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AIURLShortenerPlugin.h; path = ../../Source/AIURLShortenerPlugin.h; sourceTree = "<group>"; };
1163F0EB0F6C7A8300F12F5D /* AIURLShortenerPlugin.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AIURLShortenerPlugin.m; path = ../../Source/AIURLShortenerPlugin.m; sourceTree = "<group>"; };
1164A90B0F7AD4AB00110AE4 /* AIContentTopic.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AIContentTopic.h; path = "Frameworks/Adium Framework/Source/AIContentTopic.h"; sourceTree = "<group>"; };
@@ -7565,7 +7563,6 @@
6334FF300F9C14BF003C77A9 /* Fun New Controls */,
6334FF050F9C14BF003C77A9 /* Fun New Classes */,
6334FF020F9C14BF003C77A9 /* Functions */,
- 1156F03D1049E83F002673FC /* AILeopardCompatibility.h */,
7E959ACF10E3187000C26397 /* AIMathCompatibility.h */,
);
name = AIUtilities;
@@ -9201,7 +9198,6 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
- 11EC56FC1049E96F00C02587 /* AILeopardCompatibility.h in Headers */,
6334FFFF0F9C14C2003C77A9 /* AIFunctions.h in Headers */,
633400010F9C14C2003C77A9 /* JVMarkedScroller.h in Headers */,
633400030F9C14C2003C77A9 /* AIMutableOwnerArray.h in Headers */,
diff -r 43862d05b626 -r e1d9b2f4b76e Frameworks/AIUtilities Framework/Source/AILeopardCompatibility.h
--- a/Frameworks/AIUtilities Framework/Source/AILeopardCompatibility.h Sun Aug 07 18:09:11 2011 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,108 +0,0 @@
-/*
- * Adium is the legal property of its developers, whose names are listed in the copyright file included
- * with this source distribution.
- *
- * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
- * General Public License as published by the Free Software Foundation; either version 2 of the License,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
- * Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along with this program; if not,
- * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-#ifndef AILeopardCompatibility
-#define AILeopardCompatibility
-
-#import <AvailabilityMacros.h>
-
-#ifndef MAC_OS_X_VERSION_10_6
-#define MAC_OS_X_VERSION_10_6 1060
-#endif //ndef MAC_OS_X_VERSION_10_6
-
-#if MAC_OS_X_VERSION_10_6 > MAC_OS_X_VERSION_MAX_ALLOWED
-
-#ifdef __OBJC__
- at interface NSTextView(NSTextViewLeopardMethods)
-- (void)setAutomaticDataDetectionEnabled:(BOOL)flag;
-- (BOOL)isAutomaticDataDetectionEnabled;
-- (void)toggleAutomaticDataDetection:(id)sender;
-
-- (void)setAutomaticDashSubstitutionEnabled:(BOOL)flag;
-- (BOOL)isAutomaticDashSubstitutionEnabled;
-- (void)toggleAutomaticDashSubstitution:(id)sender;
-
-- (void)setAutomaticTextReplacementEnabled:(BOOL)flag;
-- (BOOL)isAutomaticTextReplacementEnabled;
-- (void)toggleAutomaticTextReplacement:(id)sender;
-
-- (void)setAutomaticSpellingCorrectionEnabled:(BOOL)flag;
-- (BOOL)isAutomaticSpellingCorrectionEnabled;
-- (void)toggleAutomaticSpellingCorrection:(id)sender;
- at end
-
- at interface NSSpellChecker(NSSpellCheckerLeopardMethods)
-- (NSArray *)userPreferredLanguages;
- at end
-
- at interface NSOperationQueue(NSOperationQueueLeopardMethods)
-- (void)setName:(NSString *)newName;
- at end
-
- at interface NSWindow(NSWindowLeopardMethods)
-- (BOOL)isOnActiveSpace;
- at end
-
- at interface NSMenu (NewSnowLeopardMethods)
-- (BOOL)popUpMenuPositioningItem:(NSMenuItem *)item atLocation:(NSPoint)location inView:(NSView *)view;
- at end
-
- at protocol NSToolbarDelegate
- at end
- at protocol NSSplitViewDelegate
- at end
- at protocol NSTextViewDelegate
- at end
- at protocol NSMenuDelegate
- at end
- at protocol NSOutlineViewDelegate
- at optional
-- (id)outlineView:(NSOutlineView *)outlineView child:(NSInteger)index ofItem:(id)item;
-- (BOOL)outlineView:(NSOutlineView *)outlineView isItemExpandable:(id)item;
-- (NSInteger)outlineView:(NSOutlineView *)outlineView numberOfChildrenOfItem:(id)item;
-- (id)outlineView:(NSOutlineView *)outlineView objectValueForTableColumn:(NSTableColumn *)tableColumn byItem:(id)item;
-- (void)outlineView:(NSOutlineView *)outlineView setObjectValue:(id)object forTableColumn:(NSTableColumn *)tableColumn byItem:(id)item;
-- (id)outlineView:(NSOutlineView *)outlineView itemForPersistentObject:(id)object;
-- (id)outlineView:(NSOutlineView *)outlineView persistentObjectForItem:(id)item;
- at end
- at protocol NSOutlineViewDataSource
- at end
- at protocol NSWindowDelegate
- at end
- at protocol NSXMLParserDelegate
- at end
- at protocol NSTableViewDelegate
- at end
- at protocol NSTableViewDataSource
- at end
- at protocol NSTabViewDelegate
- at end
- at protocol NSTextFieldDelegate
- at end
- at protocol NSAnimationDelegate
- at end
- at protocol NSSpeechSynthesizerDelegate
- at end
-
-#endif
-
-enum { NSWindowCollectionBehaviorStationary = 1 << 4 };
-
-#else //Not compiling for 10.6
-
-#endif //MAC_OS_X_VERSION_10_6
-
-#endif //AILeopardCompatibility
diff -r 43862d05b626 -r e1d9b2f4b76e Frameworks/Adium Framework/Source/AIMessageEntryTextView.m
--- a/Frameworks/Adium Framework/Source/AIMessageEntryTextView.m Sun Aug 07 18:09:11 2011 +0200
+++ b/Frameworks/Adium Framework/Source/AIMessageEntryTextView.m Sun Aug 07 22:05:39 2011 +0200
@@ -39,8 +39,6 @@
#import <FriBidi/NSString-FBAdditions.h>
-#import <AIUtilities/AILeopardCompatibility.h>
-
#define MAX_HISTORY 25 //Number of messages to remember in history
#define ENTRY_TEXTVIEW_PADDING 6 //Padding for auto-sizing
More information about the commits
mailing list