Revision: 29976
http://sourceforge.net/p/bibdesk/svn/29976
Author: hofman
Date: 2026-01-26 23:19:49 +0000 (Mon, 26 Jan 2026)
Log Message:
-----------
Replace icon for quicklook by just largest representation. Remove spotlight
icon controller and xib.
Modified Paths:
--------------
trunk/QuickLook-BibDesk/GenerateThumbnailForURL.m
trunk/QuickLook-BibDesk/QuickLook-BibDesk.xcodeproj/project.pbxproj
Added Paths:
-----------
trunk/QuickLook-BibDesk/BibDesk.png
Removed Paths:
-------------
trunk/QuickLook-BibDesk/BDSKSpotlightIconController.h
trunk/QuickLook-BibDesk/BDSKSpotlightIconController.m
trunk/QuickLook-BibDesk/FolderPenIcon.icns
trunk/QuickLook-BibDesk/SpotlightFileIconController.xib
Deleted: trunk/QuickLook-BibDesk/BDSKSpotlightIconController.h
===================================================================
--- trunk/QuickLook-BibDesk/BDSKSpotlightIconController.h 2026-01-26
22:57:18 UTC (rev 29975)
+++ trunk/QuickLook-BibDesk/BDSKSpotlightIconController.h 2026-01-26
23:19:49 UTC (rev 29976)
@@ -1,65 +0,0 @@
-//
-// BDSKSpotlightIconController.h
-// Bibdesk
-//
-// Created by Adam Maxwell on 01/25/07.
-/*
- This software is Copyright (c) 2007
- 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>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@class BDSKClearView, BDSKSpotlightIconTableView;
-
-@interface BDSKSpotlightIconController : NSObject {
- NSWindow *window;
- NSArrayController *arrayController;
- NSMutableArray *values;
- NSDateFormatter *dateFormatter;
-}
-
-+ (NSBitmapImageRep *)imageRepWithMetadataItem:(id)anItem forBundle:(NSBundle
*)bundle;
-+ (NSBitmapImageRep *)imageRepWithSearchItem:(id)anItem forBundle:(NSBundle
*)bundle;
-
-@property (nonatomic, nullable, strong) IBOutlet NSWindow *window;
-@property (nonatomic, nullable, strong) IBOutlet NSArrayController
*arrayController;
-
-@end
-
-@interface BDSKSpotlightIconTableView : NSTableView
-@end
-
-@interface BDSKClearView : NSView
-@end
-
-NS_ASSUME_NONNULL_END
Deleted: trunk/QuickLook-BibDesk/BDSKSpotlightIconController.m
===================================================================
--- trunk/QuickLook-BibDesk/BDSKSpotlightIconController.m 2026-01-26
22:57:18 UTC (rev 29975)
+++ trunk/QuickLook-BibDesk/BDSKSpotlightIconController.m 2026-01-26
23:19:49 UTC (rev 29976)
@@ -1,232 +0,0 @@
-//
-// BDSKSpotlightIconController.m
-// Bibdesk
-//
-// Created by Adam Maxwell on 01/25/07.
-/*
- This software is Copyright (c) 2007
- 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 "BDSKSpotlightIconController.h"
-
-static id controller = nil;
-static NSImage *applicationIcon = nil;
-
-@interface BDSKSpotlightIconController (Private)
-+ (void)freeStatics;
-- (id)initWithBundle:(NSBundle *)bundle;
-- (NSBitmapImageRep *)imageRepWithMetadataItem:(id)anItem;
-- (void)loadValuesFromMetadataItem:(id)anItem;
-- (NSBitmapImageRep *)imageRepWithSearchItem:(id)anItem;
-- (void)loadValuesFromSearchItem:(id)anItem;
-@end
-
-void BDSKSpotlightIconControllerFreeStatics()
-{
- [BDSKSpotlightIconController freeStatics];
-}
-
-@implementation BDSKSpotlightIconController
-
-@synthesize window, arrayController;
-
-+ (void)freeStatics
-{
- @synchronized(self) {
- controller = nil;
- applicationIcon = nil;
- }
-}
-
-+ (NSBitmapImageRep *)imageRepWithMetadataItem:(id)anItem forBundle:(NSBundle
*)bundle
-{
- NSBitmapImageRep *imageRep = nil;
- @synchronized(self) {
- if (nil == controller)
- controller = [[self alloc] initWithBundle:bundle];
- if (applicationIcon == nil) {
- NSString *iconPath = [bundle
pathForImageResource:@"FolderPenIcon"];
- applicationIcon = [[NSImage alloc]
initWithContentsOfFile:iconPath];
- [applicationIcon setName:@"FolderPenIcon"];
- [applicationIcon setSize:NSMakeSize(128, 128)];
- }
- imageRep = [controller imageRepWithMetadataItem:anItem];
- }
- return imageRep;
-}
-
-+ (NSBitmapImageRep *)imageRepWithSearchItem:(id)anItem forBundle:(NSBundle
*)bundle
-{
- NSBitmapImageRep *imageRep = nil;
- @synchronized(self) {
- if (nil == controller)
- controller = [[self alloc] initWithBundle:bundle];
- if (applicationIcon == nil) {
- NSString *iconPath = [bundle
pathForImageResource:@"FolderPenIcon"];
- applicationIcon = [[NSImage alloc]
initWithContentsOfFile:iconPath];
- [applicationIcon setName:@"FolderPenIcon"];
- [applicationIcon setSize:NSMakeSize(128, 128)];
- }
- imageRep = [controller imageRepWithSearchItem:anItem];
- }
- return imageRep;
-}
-
-- (id)initWithBundle:(NSBundle *)bundle
-{
- if (self = [super init]) {
- // manually load the nib, since +[NSBundle loadNibName...] won't work
-
- if ([bundle loadNibNamed:@"SpotlightFileIconController" owner:self
topLevelObjects:NULL]) {
- values = [[NSMutableArray alloc] initWithCapacity:16];
- dateFormatter = [[NSDateFormatter alloc] init];
- [dateFormatter setDateFormat:@"yyyy"];
- } else {
- self = nil;
- }
- }
- return self;
-}
-
-static void addDictionaryWithAttributeAndValue(NSMutableArray *array, NSString
*attribute, id value)
-{
- NSDictionary *dict = [[NSDictionary alloc]
initWithObjectsAndKeys:attribute, @"attributeName", value ?: @"",
@"attributeValue", nil];
- [array addObject:dict];
-}
-
-static void addConditionalDictionaryWithAttributeAndValue(NSMutableArray
*array, NSString *attribute, id value)
-{
- if (value != nil) {
- NSDictionary *dict = [[NSDictionary alloc]
initWithObjectsAndKeys:attribute, @"attributeName", value ?: @"",
@"attributeValue", nil];
- [array addObject:dict];
- }
-}
-
-static void addDictionariesFromMultivaluedAttribute(NSMutableArray *array,
NSString *attribute, NSArray *values)
-{
- for (id value in values) {
- addDictionaryWithAttributeAndValue(array, attribute, value);
- // empty attribute name for the rest
- attribute = @"";
- }
-}
-
-- (void)loadValuesFromMetadataItem:(id)anItem;
-{
- [self willChangeValueForKey:@"values"];
-
- [values removeAllObjects];
-
- // anItem is key-value coding compliant
- addDictionaryWithAttributeAndValue(values, @"Container:", [anItem
valueForKey:@"net_sourceforge_bibdesk_container"]);
- addDictionaryWithAttributeAndValue(values, @"Title:", [anItem
valueForKey:(__bridge NSString *)kMDItemTitle]);
- addDictionaryWithAttributeAndValue(values, @"Year:", [dateFormatter
stringFromDate:[anItem
valueForKey:@"net_sourceforge_bibdesk_publicationdate"]]);
- addDictionariesFromMultivaluedAttribute(values, @"Authors:", [anItem
valueForKey:(__bridge NSString *)kMDItemAuthors]);
- addDictionariesFromMultivaluedAttribute(values, @"Editors:", [anItem
valueForKey:(__bridge NSString *)kMDItemEditors]);
- addDictionariesFromMultivaluedAttribute(values, @"Keywords:", [anItem
valueForKey:(__bridge NSString *)kMDItemKeywords]);
-
- while ([values count] < 10)
- // empty lines for the rest
- addDictionaryWithAttributeAndValue(values, @"", @"");
-
- [self didChangeValueForKey:@"values"];
-}
-
-- (NSBitmapImageRep *)imageRepWithMetadataItem:(id)anItem;
-{
- [self loadValuesFromMetadataItem:anItem];
-
- NSView *contentView = [window contentView];
- NSBitmapImageRep *imageRep = [contentView
bitmapImageRepForCachingDisplayInRect:[contentView frame]];
- [contentView cacheDisplayInRect:[contentView frame]
toBitmapImageRep:imageRep];
- return imageRep;
-}
-
-- (void)loadValuesFromSearchItem:(id)anItem;
-{
- [self willChangeValueForKey:@"values"];
-
- [values removeAllObjects];
-
- // anItem is key-value coding compliant
- addDictionaryWithAttributeAndValue(values, @"Name:", [anItem
valueForKey:@"name"]);
- addDictionaryWithAttributeAndValue(values, @"Type:", [anItem
valueForKey:@"type"]);
- addConditionalDictionaryWithAttributeAndValue(values, @"Host:", [anItem
valueForKey:@"database"]);
- addConditionalDictionaryWithAttributeAndValue(values, @"Port:", [anItem
valueForKey:@"port"]);
- addConditionalDictionaryWithAttributeAndValue(values, @"Search term:",
[anItem valueForKey:@"search term"]);
-
- while ([values count] < 10)
- // empty lines for the rest
- addDictionaryWithAttributeAndValue(values, @"", @"");
-
- [self didChangeValueForKey:@"values"];
-}
-
-- (NSBitmapImageRep *)imageRepWithSearchItem:(id)anItem;
-{
- [self loadValuesFromSearchItem:anItem];
-
- NSView *contentView = [window contentView];
- NSBitmapImageRep *imageRep = [contentView
bitmapImageRepForCachingDisplayInRect:[contentView frame]];
- [contentView cacheDisplayInRect:[contentView frame]
toBitmapImageRep:imageRep];
- return imageRep;
-}
-
-@end
-
-
-@implementation BDSKSpotlightIconTableView
-
-- (void)drawGridInClipRect:(NSRect)rect {
- [super drawGridInClipRect:rect];
- CGContextRef context = [[NSGraphicsContext currentContext] graphicsPort];
- CGContextSaveGState(context);
- if ([self isFlipped]) {
- CGContextTranslateCTM(context, 0.0f, NSMaxY([self frame]));
- CGContextScaleCTM(context, 1.0f, -1.0f);
- rect.origin.y = 0.0f; // We've translated ourselves so it's zero
- }
- [applicationIcon drawAtPoint:NSMakePoint(10.0f, NSMaxY([self frame]) -
128.0f) fromRect:NSZeroRect operation:NSCompositingOperationSourceAtop
fraction:1.0f];
- CGContextRestoreGState(context);
-}
-
-@end
-
-@implementation BDSKClearView
-
-- (void)drawRect:(NSRect)r
-{
- [[NSColor whiteColor] setFill];
- NSRectFill(r);
-}
-
-@end
Added: trunk/QuickLook-BibDesk/BibDesk.png
===================================================================
(Binary files differ)
Index: trunk/QuickLook-BibDesk/BibDesk.png
===================================================================
--- trunk/QuickLook-BibDesk/BibDesk.png 2026-01-26 22:57:18 UTC (rev 29975)
+++ trunk/QuickLook-BibDesk/BibDesk.png 2026-01-26 23:19:49 UTC (rev 29976)
Property changes on: trunk/QuickLook-BibDesk/BibDesk.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Deleted: trunk/QuickLook-BibDesk/FolderPenIcon.icns
===================================================================
(Binary files differ)
Modified: trunk/QuickLook-BibDesk/GenerateThumbnailForURL.m
===================================================================
--- trunk/QuickLook-BibDesk/GenerateThumbnailForURL.m 2026-01-26 22:57:18 UTC
(rev 29975)
+++ trunk/QuickLook-BibDesk/GenerateThumbnailForURL.m 2026-01-26 23:19:49 UTC
(rev 29976)
@@ -169,7 +169,7 @@
NSRect pageRect = NSMakeRect(0, 0, size.width, size.height);
NSRectFillUsingOperation(pageRect, NSCompositingOperationSourceOver);
- NSURL *iconURL = (NSURL
*)CFBridgingRelease(CFBundleCopyResourceURL(QLThumbnailRequestGetGeneratorBundle(thumbnail),
CFSTR("FolderPenIcon"), CFSTR("icns"), NULL));
+ NSURL *iconURL = (NSURL
*)CFBridgingRelease(CFBundleCopyResourceURL(QLThumbnailRequestGetGeneratorBundle(thumbnail),
CFSTR("BibDesk"), CFSTR("png"), NULL));
NSImage *appIcon = [[NSImage alloc] initWithContentsOfURL:iconURL];
NSRect iconRect = NSZeroRect;
Modified: trunk/QuickLook-BibDesk/QuickLook-BibDesk.xcodeproj/project.pbxproj
===================================================================
--- trunk/QuickLook-BibDesk/QuickLook-BibDesk.xcodeproj/project.pbxproj
2026-01-26 22:57:18 UTC (rev 29975)
+++ trunk/QuickLook-BibDesk/QuickLook-BibDesk.xcodeproj/project.pbxproj
2026-01-26 23:19:49 UTC (rev 29976)
@@ -13,14 +13,11 @@
8D576314048677EA00EA77CD /* CoreFoundation.framework in
Frameworks */ = {isa = PBXBuildFile; fileRef = 0AA1909FFE8422F4C02AAC07 /*
CoreFoundation.framework */; };
8D5B49A804867FD3000E48DA /* InfoPlist.strings in Resources */ =
{isa = PBXBuildFile; fileRef = 8D5B49A704867FD3000E48DA /* InfoPlist.strings
*/; };
C86B05270671AA6E00DD9006 /* CoreServices.framework in
Frameworks */ = {isa = PBXBuildFile; fileRef = C86B05260671AA6E00DD9006 /*
CoreServices.framework */; };
- CE62BC3F1072B13600AAA035 /* SpotlightFileIconController.xib in
Resources */ = {isa = PBXBuildFile; fileRef = CE62BC3E1072B13600AAA035 /*
SpotlightFileIconController.xib */; };
+ CE1B1ABE2F282D21003B053C /* BibDesk.png in Resources */ = {isa
= PBXBuildFile; fileRef = CE1B1ABD2F282D20003B053C /* BibDesk.png */; };
F28CFBFD0A3EC0AF000ABFF5 /* ApplicationServices.framework in
Frameworks */ = {isa = PBXBuildFile; fileRef = F28CFBFC0A3EC0AF000ABFF5 /*
ApplicationServices.framework */; };
F28CFC030A3EC0C6000ABFF5 /* QuickLook.framework in Frameworks
*/ = {isa = PBXBuildFile; fileRef = F28CFC020A3EC0C6000ABFF5 /*
QuickLook.framework */; };
- F920DC3E0B6C6FC500904F15 /* BDSKSpotlightIconController.h in
Headers */ = {isa = PBXBuildFile; fileRef = F920DC3C0B6C6FC500904F15 /*
BDSKSpotlightIconController.h */; };
- F920DC3F0B6C6FC500904F15 /* BDSKSpotlightIconController.m in
Sources */ = {isa = PBXBuildFile; fileRef = F920DC3D0B6C6FC500904F15 /*
BDSKSpotlightIconController.m */; };
F95147490B5B4672002F5D6B /* Cocoa.framework in Frameworks */ =
{isa = PBXBuildFile; fileRef = F95147480B5B4672002F5D6B /* Cocoa.framework */;
};
F953AE340B5C9BC30053F12B /* BibDeskQuickLook.html in Resources
*/ = {isa = PBXBuildFile; fileRef = F953AE330B5C9BC30053F12B /*
BibDeskQuickLook.html */; };
- F95622500CFBFEA100FE3A6C /* FolderPenIcon.icns in Resources */
= {isa = PBXBuildFile; fileRef = F9C2351E0B752C2E00BC5A84 /* FolderPenIcon.icns
*/; };
F9DCFC0A0CA0E30E00A07543 /* QuartzCore.framework in Frameworks
*/ = {isa = PBXBuildFile; fileRef = F9DCFC090CA0E30E00A07543 /*
QuartzCore.framework */; };
F9F34E520B5DD04500832C0B /* BDSKSyntaxHighlighter.h in Headers
*/ = {isa = PBXBuildFile; fileRef = F9F34E500B5DD04500832C0B /*
BDSKSyntaxHighlighter.h */; };
F9F34E530B5DD04500832C0B /* BDSKSyntaxHighlighter.m in Sources
*/ = {isa = PBXBuildFile; fileRef = F9F34E510B5DD04500832C0B /*
BDSKSyntaxHighlighter.m */; };
@@ -35,19 +32,16 @@
8D576316048677EA00EA77CD /* BibDesk.qlgenerator */ = {isa =
PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path
= BibDesk.qlgenerator; sourceTree = BUILT_PRODUCTS_DIR; };
8D576317048677EA00EA77CD /* Info.plist */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path =
Info.plist; sourceTree = "<group>"; };
C86B05260671AA6E00DD9006 /* CoreServices.framework */ = {isa =
PBXFileReference; lastKnownFileType = wrapper.framework; name =
CoreServices.framework; path =
/System/Library/Frameworks/CoreServices.framework; sourceTree = "<absolute>"; };
+ CE1B1ABD2F282D20003B053C /* BibDesk.png */ = {isa =
PBXFileReference; lastKnownFileType = image.png; path = BibDesk.png; sourceTree
= "<group>"; };
CE3D8EF2125E890300AE0232 /* de */ = {isa = PBXFileReference;
fileEncoding = 10; lastKnownFileType = text.plist.strings; name = de; path =
de.lproj/InfoPlist.strings; sourceTree = "<group>"; };
- CE62BC3E1072B13600AAA035 /* SpotlightFileIconController.xib */
= {isa = PBXFileReference; lastKnownFileType = file.xib; path =
SpotlightFileIconController.xib; sourceTree = "<group>"; };
CECC7B98217F518900C88E8B /* QuickLook-BibDesk-Common.xcconfig
*/ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path =
"QuickLook-BibDesk-Common.xcconfig"; sourceTree = "<group>"; };
CECC7B99217F519800C88E8B /* QuickLook-BibDesk-Debug.xcconfig */
= {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path =
"QuickLook-BibDesk-Debug.xcconfig"; sourceTree = "<group>"; };
CECC7B9A217F51A700C88E8B /* QuickLook-BibDesk-Release.xcconfig
*/ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path =
"QuickLook-BibDesk-Release.xcconfig"; sourceTree = "<group>"; };
F28CFBFC0A3EC0AF000ABFF5 /* ApplicationServices.framework */ =
{isa = PBXFileReference; lastKnownFileType = wrapper.framework; name =
ApplicationServices.framework; path =
/System/Library/Frameworks/ApplicationServices.framework; sourceTree =
"<absolute>"; };
F28CFC020A3EC0C6000ABFF5 /* QuickLook.framework */ = {isa =
PBXFileReference; lastKnownFileType = wrapper.framework; name =
QuickLook.framework; path = /System/Library/Frameworks/QuickLook.framework;
sourceTree = "<absolute>"; };
- F920DC3C0B6C6FC500904F15 /* BDSKSpotlightIconController.h */ =
{isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h;
path = BDSKSpotlightIconController.h; sourceTree = "<group>"; };
- F920DC3D0B6C6FC500904F15 /* BDSKSpotlightIconController.m */ =
{isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =
sourcecode.c.objc; path = BDSKSpotlightIconController.m; sourceTree =
"<group>"; };
F93C35550D35D89A006EB558 /* fr */ = {isa = PBXFileReference;
fileEncoding = 10; lastKnownFileType = text.plist.strings; name = fr; path =
fr.lproj/InfoPlist.strings; sourceTree = "<group>"; };
F95147480B5B4672002F5D6B /* Cocoa.framework */ = {isa =
PBXFileReference; lastKnownFileType = wrapper.framework; name =
Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree
= "<absolute>"; };
F953AE330B5C9BC30053F12B /* BibDeskQuickLook.html */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path =
BibDeskQuickLook.html; sourceTree = "<group>"; };
- F9C2351E0B752C2E00BC5A84 /* FolderPenIcon.icns */ = {isa =
PBXFileReference; lastKnownFileType = image.icns; path = FolderPenIcon.icns;
sourceTree = "<group>"; };
F9DCFC090CA0E30E00A07543 /* QuartzCore.framework */ = {isa =
PBXFileReference; lastKnownFileType = wrapper.framework; name =
QuartzCore.framework; path = /System/Library/Frameworks/QuartzCore.framework;
sourceTree = "<absolute>"; };
F9F34E500B5DD04500832C0B /* BDSKSyntaxHighlighter.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
BDSKSyntaxHighlighter.h; sourceTree = "<group>"; };
F9F34E510B5DD04500832C0B /* BDSKSyntaxHighlighter.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= BDSKSyntaxHighlighter.m; sourceTree = "<group>"; };
@@ -98,8 +92,7 @@
089C167CFE841241C02AAC07 /* Resources */ = {
isa = PBXGroup;
children = (
- CE62BC3E1072B13600AAA035 /*
SpotlightFileIconController.xib */,
- F9C2351E0B752C2E00BC5A84 /* FolderPenIcon.icns
*/,
+ CE1B1ABD2F282D20003B053C /* BibDesk.png */,
F953AE330B5C9BC30053F12B /*
BibDeskQuickLook.html */,
8D576317048677EA00EA77CD /* Info.plist */,
8D5B49A704867FD3000E48DA /* InfoPlist.strings
*/,
@@ -110,8 +103,6 @@
08FB77AFFE84173DC02AAC07 /* Source */ = {
isa = PBXGroup;
children = (
- F920DC3C0B6C6FC500904F15 /*
BDSKSpotlightIconController.h */,
- F920DC3D0B6C6FC500904F15 /*
BDSKSpotlightIconController.m */,
61E3BCFA0870B4F2002186A0 /*
GenerateThumbnailForURL.m */,
2C05A19B06CAA52B00D84F6F /*
GeneratePreviewForURL.m */,
F9F34E500B5DD04500832C0B /*
BDSKSyntaxHighlighter.h */,
@@ -147,7 +138,6 @@
buildActionMask = 2147483647;
files = (
F9F34E520B5DD04500832C0B /*
BDSKSyntaxHighlighter.h in Headers */,
- F920DC3E0B6C6FC500904F15 /*
BDSKSpotlightIconController.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -208,8 +198,7 @@
files = (
8D5B49A804867FD3000E48DA /* InfoPlist.strings
in Resources */,
F953AE340B5C9BC30053F12B /*
BibDeskQuickLook.html in Resources */,
- F95622500CFBFEA100FE3A6C /* FolderPenIcon.icns
in Resources */,
- CE62BC3F1072B13600AAA035 /*
SpotlightFileIconController.xib in Resources */,
+ CE1B1ABE2F282D21003B053C /* BibDesk.png in
Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -234,7 +223,6 @@
2C05A19C06CAA52B00D84F6F /*
GeneratePreviewForURL.m in Sources */,
61E3BCFB0870B4F2002186A0 /*
GenerateThumbnailForURL.m in Sources */,
F9F34E530B5DD04500832C0B /*
BDSKSyntaxHighlighter.m in Sources */,
- F920DC3F0B6C6FC500904F15 /*
BDSKSpotlightIconController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Deleted: trunk/QuickLook-BibDesk/SpotlightFileIconController.xib
===================================================================
--- trunk/QuickLook-BibDesk/SpotlightFileIconController.xib 2026-01-26
22:57:18 UTC (rev 29975)
+++ trunk/QuickLook-BibDesk/SpotlightFileIconController.xib 2026-01-26
23:19:49 UTC (rev 29976)
@@ -1,118 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0"
toolsVersion="14460.31" targetRuntime="MacOSX.Cocoa"
propertyAccessControl="none">
- <dependencies>
- <deployment identifier="macosx"/>
- <development version="8000" identifier="xcode"/>
- <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin"
version="14460.31"/>
- <capability name="documents saved in the Xcode 8 format"
minToolsVersion="8.0"/>
- </dependencies>
- <objects>
- <customObject id="-2" userLabel="File's Owner"
customClass="BDSKSpotlightIconController">
- <connections>
- <outlet property="arrayController" destination="26" id="47"/>
- <outlet property="window" destination="7" id="46"/>
- </connections>
- </customObject>
- <customObject id="-1" userLabel="First Responder"
customClass="FirstResponder"/>
- <customObject id="-3" userLabel="Application"/>
- <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO"
autorecalculatesKeyViewLoop="NO" hasShadow="NO" releasedWhenClosed="NO"
visibleAtLaunch="NO" animationBehavior="default" id="7" userLabel="Window">
- <windowStyleMask key="styleMask" titled="YES"/>
- <windowPositionMask key="initialPositionMask" leftStrut="YES"
rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
- <rect key="contentRect" x="249" y="488" width="512" height="306"/>
- <rect key="screenRect" x="0.0" y="0.0" width="1440" height="938"/>
- <value key="minSize" type="size" width="512" height="306"/>
- <value key="maxSize" type="size" width="512" height="306"/>
- <view key="contentView" id="8" customClass="BDSKClearView">
- <rect key="frame" x="0.0" y="0.0" width="512" height="306"/>
- <autoresizingMask key="autoresizingMask"/>
- <subviews>
- <scrollView borderType="none" horizontalLineScroll="24"
horizontalPageScroll="10" verticalLineScroll="24" verticalPageScroll="10"
hasHorizontalScroller="NO" hasVerticalScroller="NO"
usesPredominantAxisScrolling="NO" id="48">
- <rect key="frame" x="0.0" y="0.0" width="512"
height="287"/>
- <autoresizingMask key="autoresizingMask"
widthSizable="YES" heightSizable="YES"/>
- <clipView key="contentView" id="61O-jc-enH">
- <rect key="frame" x="0.0" y="0.0" width="512"
height="287"/>
- <autoresizingMask key="autoresizingMask"
widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <tableView focusRingType="none"
verticalHuggingPriority="750" allowsExpansionToolTips="YES"
columnAutoresizingStyle="lastColumnOnly" columnReordering="NO"
columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" rowHeight="22"
id="51" customClass="BDSKSpotlightIconTableView">
- <rect key="frame" x="0.0" y="0.0"
width="512" height="287"/>
- <autoresizingMask key="autoresizingMask"/>
- <size key="intercellSpacing" width="3"
height="2"/>
- <color key="backgroundColor" white="1"
alpha="1" colorSpace="calibratedWhite"/>
- <tableViewGridLines key="gridStyleMask"
horizontal="YES"/>
- <color key="gridColor"
name="keyboardFocusIndicatorColor" catalog="System" colorSpace="catalog"/>
- <tableColumns>
- <tableColumn
identifier="attributeName" editable="NO" width="210" minWidth="40"
maxWidth="1000" id="53">
- <tableHeaderCell key="headerCell"
lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
- <font key="font"
metaFont="smallSystem"/>
- <color key="textColor"
name="headerTextColor" catalog="System" colorSpace="catalog"/>
- <color key="backgroundColor"
white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
- </tableHeaderCell>
- <textFieldCell key="dataCell"
alignment="right" id="54">
- <font key="font"
metaFont="systemBold" size="18"/>
- <color key="textColor"
name="controlTextColor" catalog="System" colorSpace="catalog"/>
- <color key="backgroundColor"
name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
- </textFieldCell>
- <connections>
- <binding destination="26"
name="value" keyPath="arrangedObjects.attributeName" id="60">
- <dictionary key="options">
- <integer
key="NSAllowsEditingMultipleValuesSelection" value="0"/>
- <integer
key="NSCreatesSortDescriptor" value="0"/>
- <integer
key="NSRaisesForNotApplicableKeys" value="0"/>
- </dictionary>
- </binding>
- </connections>
- </tableColumn>
- <tableColumn
identifier="attributeValue" editable="NO" width="296" minWidth="8"
maxWidth="1000" id="52">
- <tableHeaderCell key="headerCell"
lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
- <font key="font"
metaFont="smallSystem"/>
- <color key="textColor"
name="headerTextColor" catalog="System" colorSpace="catalog"/>
- <color key="backgroundColor"
white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
- </tableHeaderCell>
- <textFieldCell key="dataCell"
lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left"
id="69">
- <font key="font"
metaFont="system" size="18"/>
- <color key="textColor"
name="controlTextColor" catalog="System" colorSpace="catalog"/>
- <color key="backgroundColor"
name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
- </textFieldCell>
- <connections>
- <binding destination="26"
name="value" keyPath="arrangedObjects.attributeValue" id="66">
- <dictionary key="options">
- <integer
key="NSAllowsEditingMultipleValuesSelection" value="0"/>
- <integer
key="NSConditionallySetsEditable" value="1"/>
- <integer
key="NSCreatesSortDescriptor" value="0"/>
- <integer
key="NSRaisesForNotApplicableKeys" value="0"/>
- </dictionary>
- </binding>
- </connections>
- </tableColumn>
- </tableColumns>
- </tableView>
- </subviews>
- </clipView>
- <scroller key="horizontalScroller" hidden="YES"
wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="71">
- <rect key="frame" x="-100" y="-100" width="478"
height="15"/>
- <autoresizingMask key="autoresizingMask"/>
- </scroller>
- <scroller key="verticalScroller" hidden="YES"
wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="70">
- <rect key="frame" x="-100" y="-100" width="15"
height="327"/>
- <autoresizingMask key="autoresizingMask"/>
- </scroller>
- </scrollView>
- </subviews>
- </view>
- </window>
- <arrayController editable="NO" preservesSelection="NO"
selectsInsertedObjects="NO" avoidsEmptySelection="NO"
clearsFilterPredicateOnInsertion="NO" id="26" userLabel="Array Controller">
- <declaredKeys>
- <string>attributeName</string>
- <string>attributeValue</string>
- </declaredKeys>
- <connections>
- <binding destination="-2" name="contentArray" keyPath="values"
id="30">
- <dictionary key="options">
- <integer key="NSConditionallySetsEditable" value="0"/>
- <integer key="NSRaisesForNotApplicableKeys" value="0"/>
- </dictionary>
- </binding>
- </connections>
- </arrayController>
- </objects>
-</document>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit