Revision: 15222
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=15222&view=rev
Author: hofman
Date: 2009-04-28 15:19:38 +0000 (Tue, 28 Apr 2009)
Log Message:
-----------
remove unused class files
Modified Paths:
--------------
trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
Removed Paths:
-------------
trunk/bibdesk/BDSKImageFadeAnimation.h
trunk/bibdesk/BDSKImageFadeAnimation.m
Deleted: trunk/bibdesk/BDSKImageFadeAnimation.h
===================================================================
--- trunk/bibdesk/BDSKImageFadeAnimation.h 2009-04-28 15:15:26 UTC (rev
15221)
+++ trunk/bibdesk/BDSKImageFadeAnimation.h 2009-04-28 15:19:38 UTC (rev
15222)
@@ -1,64 +0,0 @@
-//
-// BDSKImageFadeAnimation.h
-// Bibdesk
-//
-// Created by Adam Maxwell on 10/29/06.
-/*
- This software is Copyright (c) 2006-2009
- Adam Maxwell. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- - Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- - Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in
- the documentation and/or other materials provided with the
- distribution.
-
- - Neither the name of Adam Maxwell nor the names of any
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import <Cocoa/Cocoa.h>
-
-...@class CIFilter;
-
-...@interface BDSKImageFadeAnimation : NSAnimation
-{
- CIFilter *filter;
-}
-
-// set the final image, after transition is complete
-- (void)setTargetImage:(NSImage *)anImage;
-// use to set the starting point for the animation
-- (void)setStartingImage:(NSImage *)anImage;
-
-// returns the image at the final time value
-- (NSImage *)finalImage;
-// returns the image at the current time value
-- (NSImage *)currentImage;
-- (CIImage *)currentCIImage;
-
-...@end
-
-...@interface NSObject (BDSKImageFadeAnimationDelegate)
-- (void)imageAnimationDidUpdate:(BDSKImageFadeAnimation *)animation;
-...@end
-
Deleted: trunk/bibdesk/BDSKImageFadeAnimation.m
===================================================================
--- trunk/bibdesk/BDSKImageFadeAnimation.m 2009-04-28 15:15:26 UTC (rev
15221)
+++ trunk/bibdesk/BDSKImageFadeAnimation.m 2009-04-28 15:19:38 UTC (rev
15222)
@@ -1,122 +0,0 @@
-//
-// BDSKImageFadeAnimation.m
-// Bibdesk
-//
-// Created by Adam Maxwell on 10/29/06.
-/*
- This software is Copyright (c) 2006-2009
- Adam Maxwell. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- - Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- - Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in
- the documentation and/or other materials provided with the
- distribution.
-
- - Neither the name of Adam Maxwell nor the names of any
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import "BDSKImageFadeAnimation.h"
-#import <QuartzCore/QuartzCore.h>
-
-...@implementation BDSKImageFadeAnimation
-
-- (id)initWithDuration:(NSTimeInterval)duration
animationCurve:(NSAnimationCurve)animationCurve;
-{
- self = [super initWithDuration:duration animationCurve:animationCurve];
- if (self) {
- filter = [[CIFilter filterWithName:@"CIDissolveTransition"] retain];
- [filter setDefaults];
- }
- return self;
-}
-
-- (void)dealloc
-{
- [filter release];
- [super dealloc];
-}
-
-- (void)setDelegate:(id)anObject
-{
- // not much point in using the class if the delegate doesn't implement
this method...
- NSAssert(nil == anObject || [anObject
respondsToSelector:@selector(imageAnimationDidUpdate:)], @"Delegate must
implement imageAnimationDidUpdate:");
- [super setDelegate:anObject];
-}
-
-- (void)setCurrentProgress:(NSAnimationProgress)progress;
-{
- [super setCurrentProgress:progress];
-
- // -currentValue ranges 0--1.0 and accounts for the animation curve
- [filter setValue:[NSNumber numberWithFloat:[self currentValue]]
forKey:@"inputTime"];
- [[self delegate] imageAnimationDidUpdate:self];
-}
-
-- (void)setStartingImage:(NSImage *)anImage;
-{
- [filter setValue:[CIImage imageWithData:[anImage TIFFRepresentation]]
forKey:@"inputImage"];
-}
-
-- (void)setTargetImage:(NSImage *)anImage;
-{
- [filter setValue:[CIImage imageWithData:[anImage TIFFRepresentation]]
forKey:@"inputTargetImage"];
-}
-
-- (NSImage *)finalImage;
-{
- NSNumber *inputTime = [[[filter valueForKey:@"inputTime"] retain]
autorelease];
-
- [filter setValue:[NSNumber numberWithInt:1] forKey:@"inputTime"];
- NSImage *currentImage = [self currentImage];
-
- // restore the input time, since calling -finalImage shouldn't interrupt
the animation
- [filter setValue:inputTime forKey:@"inputTime"];
- return currentImage;
-}
-
-- (CIImage *)currentCIImage;
-{
- return [filter valueForKey:@"outputImage"];
-}
-
-- (NSImage *)currentImage;
-{
- NSImage *nsImage = nil;
- CIImage *ciImage = [filter valueForKey:@"outputImage"];
- if (nil != ciImage) {
- CGRect extent = [ciImage extent];
- NSRect sourceRect = NSRectFromCGRect(extent);
- NSRect targetRect = sourceRect;
- targetRect.origin = NSZeroPoint;
-
- nsImage = [[NSImage alloc] initWithSize:targetRect.size];
- [nsImage lockFocus];
- [ciImage drawInRect:targetRect fromRect:sourceRect
operation:NSCompositeSourceOver fraction:1.0];
- [nsImage unlockFocus];
- }
- return [nsImage autorelease];
-}
-
-...@end
-
Modified: trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
===================================================================
--- trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2009-04-28 15:15:26 UTC
(rev 15221)
+++ trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2009-04-28 15:19:38 UTC
(rev 15222)
@@ -457,7 +457,6 @@
F97C9DB20C4481670002EE01 /* BDSKISIGroupServer.m in Sources */
= {isa = PBXBuildFile; fileRef = F97C9DB10C4481670002EE01 /*
BDSKISIGroupServer.m */; };
F97C9DBE0C44866F0002EE01 /* WSGeneratedObj.m in Sources */ =
{isa = PBXBuildFile; fileRef = F97C9DBB0C44866F0002EE01 /* WSGeneratedObj.m */;
};
F97C9DBF0C4486700002EE01 /* BDSKISIWebServices.m in Sources */
= {isa = PBXBuildFile; fileRef = F97C9DBD0C44866F0002EE01 /*
BDSKISIWebServices.m */; };
- F97FA7930AF56FA100C32BBA /* BDSKImageFadeAnimation.m in Sources
*/ = {isa = PBXBuildFile; fileRef = F97FA7910AF56FA100C32BBA /*
BDSKImageFadeAnimation.m */; };
F98AACDE0D43DB5A00D3CD64 /* libssl.dylib in Frameworks */ =
{isa = PBXBuildFile; fileRef = F98AACDD0D43DB5A00D3CD64 /* libssl.dylib */; };
F98AACF50D43E13C00D3CD64 /* libcrypto.dylib in Frameworks */ =
{isa = PBXBuildFile; fileRef = F98AACF40D43E13C00D3CD64 /* libcrypto.dylib */;
};
F98DB3180A23C7730040D347 /* BDSKTemplate.m in Sources */ = {isa
= PBXBuildFile; fileRef = F98DB3160A23C7730040D347 /* BDSKTemplate.m */; };
@@ -1594,8 +1593,6 @@
F97C9DBB0C44866F0002EE01 /* WSGeneratedObj.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= WSGeneratedObj.m; sourceTree = "<group>"; };
F97C9DBC0C44866F0002EE01 /* BDSKISIWebServices.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
BDSKISIWebServices.h; sourceTree = "<group>"; };
F97C9DBD0C44866F0002EE01 /* BDSKISIWebServices.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= BDSKISIWebServices.m; sourceTree = "<group>"; };
- F97FA7900AF56FA100C32BBA /* BDSKImageFadeAnimation.h */ = {isa
= PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path
= BDSKImageFadeAnimation.h; sourceTree = "<group>"; };
- F97FA7910AF56FA100C32BBA /* BDSKImageFadeAnimation.m */ = {isa
= PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc;
path = BDSKImageFadeAnimation.m; sourceTree = "<group>"; };
F98AA67F0971E3F400184BD8 /* BDSKTextViewCompletionController.h
*/ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =
sourcecode.c.h; path = BDSKTextViewCompletionController.h; sourceTree =
"<group>"; };
F98AA6800971E3F400184BD8 /* BDSKTextViewCompletionController.m
*/ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =
sourcecode.c.objc; path = BDSKTextViewCompletionController.m; sourceTree =
"<group>"; };
F98AACDD0D43DB5A00D3CD64 /* libssl.dylib */ = {isa =
PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name =
libssl.dylib; path = /usr/lib/libssl.dylib; sourceTree = "<absolute>"; };
@@ -2085,7 +2082,6 @@
CE1A7EDE090BDF1C00ACC864 /*
BDSKHeaderPopUpButton.m */,
CE1A7ED5090BDEB600ACC864 /*
BDSKHeaderPopUpButtonCell.m */,
CEC7D0240F680C970051794E /*
BDSKIconTextFieldCell.m */,
- F97FA7910AF56FA100C32BBA /*
BDSKImageFadeAnimation.m */,
CE3B682709D1B0190017D339 /*
BDSKImagePopUpButton.m */,
CE3B682909D1B0190017D339 /*
BDSKImagePopUpButtonCell.m */,
F92405010BC5856900672839 /*
BDSKLevelIndicatorCell.m */,
@@ -2671,7 +2667,6 @@
CE1A7EDD090BDF1C00ACC864 /*
BDSKHeaderPopUpButton.h */,
45DB3E8C0CAAFED5001EACDA /* BDSKHubmedParser.h
*/,
CEC7D0230F680C970051794E /*
BDSKIconTextFieldCell.h */,
- F97FA7900AF56FA100C32BBA /*
BDSKImageFadeAnimation.h */,
CE3B682609D1B0190017D339 /*
BDSKImagePopUpButton.h */,
CE3B682809D1B0190017D339 /*
BDSKImagePopUpButtonCell.h */,
CE40EC520EE9AAEF00BCF379 /* BDSKImportCommand.h
*/,
@@ -3826,7 +3821,6 @@
CE6003290AF3E465000B5680 /* BDSKColoredView.m
in Sources */,
CE600E300AF405D6000B5680 /* BDSKRISParser.m in
Sources */,
CE601A4F0AF4C488000B5680 /*
BDSKReferenceMinerParser.m in Sources */,
- F97FA7930AF56FA100C32BBA /*
BDSKImageFadeAnimation.m in Sources */,
CE602A600AF65A9C000B5680 /* BDSKStringParser.m
in Sources */,
CE27D95C0AF92BFD00419879 /*
BDSKZoomableTextView.m in Sources */,
CEEFDE010B03ED0200668BB0 /*
BDSKScriptGroupSheetController.m in Sources */,
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit