Revision: 11127
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=11127&view=rev
Author: amaxwell
Date: 2007-09-22 12:53:05 -0700 (Sat, 22 Sep 2007)
Log Message:
-----------
Add binary version of FileView.framework for testing until Leopard is released.
Added Paths:
-----------
trunk/bibdesk_vendorsrc/amaxwell/
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/FileView
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Headers
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Resources
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/FileView
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Headers/
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Headers/FVPreviewer.h
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Headers/FileView.h
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/English.lproj/
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/English.lproj/FVPreviewer.nib/
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/English.lproj/FVPreviewer.nib/classes.nib
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/English.lproj/FVPreviewer.nib/info.nib
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/English.lproj/FVPreviewer.nib/keyedobjects.nib
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/FileView-Leopard.bundle/
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/FileView-Leopard.bundle/Contents/
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/FileView-Leopard.bundle/Contents/Info.plist
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/FileView-Leopard.bundle/Contents/MacOS/
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/FileView-Leopard.bundle/Contents/MacOS/FileView-Leopard
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/Info.plist
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/Current
Added: trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/FileView
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/FileView
(rev 0)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/FileView
2007-09-22 19:53:05 UTC (rev 11127)
@@ -0,0 +1 @@
+link Versions/Current/FileView
\ No newline at end of file
Property changes on:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/FileView
___________________________________________________________________
Name: svn:special
+ *
Added: trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Headers
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Headers
(rev 0)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Headers 2007-09-22
19:53:05 UTC (rev 11127)
@@ -0,0 +1 @@
+link Versions/Current/Headers
\ No newline at end of file
Property changes on: trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Headers
___________________________________________________________________
Name: svn:special
+ *
Added: trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Resources
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Resources
(rev 0)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Resources
2007-09-22 19:53:05 UTC (rev 11127)
@@ -0,0 +1 @@
+link Versions/Current/Resources
\ No newline at end of file
Property changes on:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Resources
___________________________________________________________________
Name: svn:special
+ *
Added: trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/FileView
===================================================================
(Binary files differ)
Property changes on:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/FileView
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Headers/FVPreviewer.h
===================================================================
---
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Headers/FVPreviewer.h
(rev 0)
+++
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Headers/FVPreviewer.h
2007-09-22 19:53:05 UTC (rev 11127)
@@ -0,0 +1,29 @@
+//
+// FVPreviewer.h
+// FileViewTest
+//
+// Created by Adam Maxwell on 09/01/07.
+// Copyright 2007 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import <Quartz/Quartz.h>
+#import <QTKit/QTKit.h>
+#import <WebKit/WebKit.h>
+
[EMAIL PROTECTED] FVScaledImageView;
+
[EMAIL PROTECTED] FVPreviewer : NSWindowController {
+ IBOutlet QTMovieView *movieView;
+ IBOutlet PDFView *pdfView;
+ IBOutlet NSImageView *imageView;
+ IBOutlet NSScrollView *textView;
+ IBOutlet WebView *webView;
+ IBOutlet FVScaledImageView *fvImageView;
+ NSProgressIndicator *spinner;
+
+ NSTask *qlTask;
+}
++ (void)previewURL:(NSURL *)absoluteURL;
++ (BOOL)isPreviewing;
[EMAIL PROTECTED]
Property changes on:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Headers/FVPreviewer.h
___________________________________________________________________
Name: svn:executable
+ *
Added:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Headers/FileView.h
===================================================================
---
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Headers/FileView.h
(rev 0)
+++
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Headers/FileView.h
2007-09-22 19:53:05 UTC (rev 11127)
@@ -0,0 +1,109 @@
+//
+// FileView.h
+// FileViewTest
+//
+// Created by Adam Maxwell on 06/23/07.
+// Copyright 2007 __MyCompanyName__. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+// define here, since this is the only public header for the project
+#ifndef NSINTEGER_DEFINED
+#define NSUInteger unsigned
+#define NSInteger int
+#define CGFloat float
+#endif
+
+#ifndef NSAppKitVersionNumber10_4
+#define NSAppKitVersionNumber10_4 824
+#endif
+
[EMAIL PROTECTED] FileView : NSView
+{
[EMAIL PROTECTED]
+ id _delegate;
+ id _dataSource;
+ NSMutableDictionary *_iconCache;
+ NSColor *_backgroundColor;
+ CFRunLoopTimerRef _zombieTimer;
+ NSString *_localDragType;
+ NSMutableIndexSet *_selectedIndexes;
+ NSRect _rubberBandRect;
+ NSRect _dropRectForHighlight;
+ CGFloat _padding;
+ NSSize _iconSize;
+ NSPoint _lastMouseDownLocInView;
+ BOOL _isRescaling;
+ BOOL _isDrawingDragImage;
+ CFAbsoluteTime _timeOfLastOrigin;
+ NSPoint _lastOrigin;
+ CFMutableDictionaryRef _trackingRectMap;
+ NSButton *_leftArrow;
+ NSButton *_rightArrow;
+
+ NSArray *_iconURLs;
+}
+
+// bindings compatibility, although this can be set directly
+- (void)setIconURLs:(NSArray *)anArray;
+- (NSArray *)iconURLs;
+
+// this is the only way to get selection information at present
+- (NSIndexSet *)selectionIndexes;
+- (void)setSelectionIndexes:(NSIndexSet *)indexSet;
+
+// wrapper that calls bound array or datasource transparently
+- (NSURL *)iconURLAtIndex:(NSUInteger)anIndex;
+- (NSUInteger)numberOfIcons;
+
+// bind a slider or other control to this
+- (CGFloat)iconScale;
+- (void)setIconScale:(CGFloat)scale;
+
+// primarily for use with datasource methods
+- (void)setDataSource:(id)obj;
+- (id)dataSource;
+- (NSUInteger)numberOfRows;
+- (NSUInteger)numberOfColumns;
+- (void)reloadIcons;
+
+// default is Mail's source list color
+- (void)setBackgroundColor:(NSColor *)aColor;
+
+// actions that NSResponder doesn't declare
+- (IBAction)selectPreviousIcon:(id)sender;
+- (IBAction)selectNextIcon:(id)sender;
+- (IBAction)delete:(id)sender;
+
+// required for editing support (dropping files on the view, deleting)
+- (void)setDelegate:(id)obj;
+- (id)delegate;
+
[EMAIL PROTECTED]
+
+
+// datasource must conform to this
[EMAIL PROTECTED] NSObject (FileViewDataSource)
+
+// delegate must return an NSURL or nil for each index < numberOfFiles
+- (NSUInteger)numberOfIconsInFileView:(FileView *)aFileView;
+- (NSURL *)fileView:(FileView *)aFileView URLAtIndex:(NSUInteger)index;
+
[EMAIL PROTECTED]
+
[EMAIL PROTECTED] NSObject (FileViewDelegateDragAndDrop)
+
+// If the delegate implements allowsEditingFileView to return YES, all other
methods in this informal protocol /must/ be implemented. This method is only
called when setting the delegate.
+- (BOOL)allowsEditingFileView:(FileView *)aView;
+
+// implement to do something (or nothing) with the dropped URLs
+- (void)fileView:(FileView *)aFileView insertURLs:(NSArray *)absoluteURLs
atIndexes:(NSIndexSet *)aSet;
+
+// replaces the files at the given indexes; this may be a rearranging operation
+- (BOOL)fileView:(FileView *)fileView replaceURLsAtIndexes:(NSIndexSet *)aSet
withURLs:(NSArray *)newURLs;
+
+// does not delete the file from disk; just from the view
+- (BOOL)fileView:(FileView *)fileView deleteURLsAtIndexes:(NSIndexSet
*)indexSet;
+
[EMAIL PROTECTED]
Property changes on:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Headers/FileView.h
___________________________________________________________________
Name: svn:executable
+ *
Added:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/English.lproj/FVPreviewer.nib/classes.nib
===================================================================
---
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/English.lproj/FVPreviewer.nib/classes.nib
(rev 0)
+++
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/English.lproj/FVPreviewer.nib/classes.nib
2007-09-22 19:53:05 UTC (rev 11127)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IBClasses</key>
+ <array>
+ <dict>
+ <key>CLASS</key>
+ <string>FirstResponder</string>
+ <key>LANGUAGE</key>
+ <string>ObjC</string>
+ <key>SUPERCLASS</key>
+ <string>NSObject</string>
+ </dict>
+ <dict>
+ <key>CLASS</key>
+ <string>NSObject</string>
+ <key>LANGUAGE</key>
+ <string>ObjC</string>
+ </dict>
+ <dict>
+ <key>CLASS</key>
+ <string>FVPreviewer</string>
+ <key>LANGUAGE</key>
+ <string>ObjC</string>
+ <key>OUTLETS</key>
+ <dict>
+ <key>imageView</key>
+ <string>NSImageView</string>
+ <key>movieView</key>
+ <string>QTMovieView</string>
+ <key>pdfView</key>
+ <string>PDFView</string>
+ <key>textView</key>
+ <string>NSScrollView</string>
+ <key>webView</key>
+ <string>WebView</string>
+ </dict>
+ <key>SUPERCLASS</key>
+ <string>NSWindowController</string>
+ </dict>
+ </array>
+ <key>IBVersion</key>
+ <string>1</string>
+</dict>
+</plist>
Added:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/English.lproj/FVPreviewer.nib/info.nib
===================================================================
---
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/English.lproj/FVPreviewer.nib/info.nib
(rev 0)
+++
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/English.lproj/FVPreviewer.nib/info.nib
2007-09-22 19:53:05 UTC (rev 11127)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IBFramework Version</key>
+ <string>623</string>
+ <key>IBOldestOS</key>
+ <integer>5</integer>
+ <key>IBOpenObjects</key>
+ <array>
+ <integer>5</integer>
+ </array>
+ <key>IBSystem Version</key>
+ <string>9A527</string>
+ <key>targetFramework</key>
+ <string>IBCocoaFramework</string>
+</dict>
+</plist>
Added:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/English.lproj/FVPreviewer.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Property changes on:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/English.lproj/FVPreviewer.nib/keyedobjects.nib
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/FileView-Leopard.bundle/Contents/Info.plist
===================================================================
---
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/FileView-Leopard.bundle/Contents/Info.plist
(rev 0)
+++
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/FileView-Leopard.bundle/Contents/Info.plist
2007-09-22 19:53:05 UTC (rev 11127)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>FileView-Leopard</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.mac.amaxwell.fileview-leopard</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>BNDL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+</dict>
+</plist>
Added:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/FileView-Leopard.bundle/Contents/MacOS/FileView-Leopard
===================================================================
(Binary files differ)
Property changes on:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/FileView-Leopard.bundle/Contents/MacOS/FileView-Leopard
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/Info.plist
===================================================================
---
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/Info.plist
(rev 0)
+++
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/A/Resources/Info.plist
2007-09-22 19:53:05 UTC (rev 11127)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>FileView</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.mac.amaxwell.fileview</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>FileView</string>
+ <key>CFBundlePackageType</key>
+ <string>FMWK</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+</dict>
+</plist>
Added: trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/Current
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/Current
(rev 0)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/Current
2007-09-22 19:53:05 UTC (rev 11127)
@@ -0,0 +1 @@
+link A
\ No newline at end of file
Property changes on:
trunk/bibdesk_vendorsrc/amaxwell/FileView.framework/Versions/Current
___________________________________________________________________
Name: svn:special
+ *
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit