You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
(9) |
Apr
(2) |
May
(8) |
Jun
|
Jul
(17) |
Aug
(1) |
Sep
(14) |
Oct
(28) |
Nov
(34) |
Dec
(43) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(37) |
Feb
(52) |
Mar
(130) |
Apr
(52) |
May
(23) |
Jun
(48) |
Jul
(78) |
Aug
(97) |
Sep
(73) |
Oct
(53) |
Nov
(148) |
Dec
(322) |
| 2005 |
Jan
(164) |
Feb
(259) |
Mar
(287) |
Apr
(413) |
May
(272) |
Jun
(231) |
Jul
(353) |
Aug
(363) |
Sep
(245) |
Oct
(361) |
Nov
(802) |
Dec
(493) |
| 2006 |
Jan
(345) |
Feb
(438) |
Mar
(388) |
Apr
(283) |
May
(416) |
Jun
(216) |
Jul
(180) |
Aug
(442) |
Sep
(150) |
Oct
(454) |
Nov
(416) |
Dec
(338) |
| 2007 |
Jan
(516) |
Feb
(512) |
Mar
(364) |
Apr
(152) |
May
(165) |
Jun
(93) |
Jul
(106) |
Aug
(160) |
Sep
(160) |
Oct
(256) |
Nov
(421) |
Dec
(418) |
| 2008 |
Jan
(620) |
Feb
(180) |
Mar
(236) |
Apr
(163) |
May
(196) |
Jun
(281) |
Jul
(175) |
Aug
(72) |
Sep
(56) |
Oct
(95) |
Nov
(73) |
Dec
(82) |
| 2009 |
Jan
(261) |
Feb
(340) |
Mar
(371) |
Apr
(334) |
May
(131) |
Jun
(104) |
Jul
(125) |
Aug
(106) |
Sep
(106) |
Oct
(133) |
Nov
(268) |
Dec
(201) |
| 2010 |
Jan
(183) |
Feb
(112) |
Mar
(77) |
Apr
(52) |
May
(79) |
Jun
(49) |
Jul
(46) |
Aug
(44) |
Sep
(95) |
Oct
(225) |
Nov
(203) |
Dec
(60) |
| 2011 |
Jan
(58) |
Feb
(33) |
Mar
(66) |
Apr
(57) |
May
(49) |
Jun
(72) |
Jul
(44) |
Aug
(66) |
Sep
(53) |
Oct
(49) |
Nov
(62) |
Dec
(83) |
| 2012 |
Jan
(109) |
Feb
(70) |
Mar
(47) |
Apr
(37) |
May
(43) |
Jun
(44) |
Jul
(40) |
Aug
(34) |
Sep
(18) |
Oct
(65) |
Nov
(114) |
Dec
(47) |
| 2013 |
Jan
(46) |
Feb
(51) |
Mar
(49) |
Apr
(47) |
May
(37) |
Jun
(64) |
Jul
(45) |
Aug
(36) |
Sep
(42) |
Oct
(36) |
Nov
(54) |
Dec
(58) |
| 2014 |
Jan
(42) |
Feb
(33) |
Mar
(48) |
Apr
(105) |
May
(58) |
Jun
(39) |
Jul
(53) |
Aug
(32) |
Sep
(34) |
Oct
(56) |
Nov
(34) |
Dec
(27) |
| 2015 |
Jan
(51) |
Feb
(62) |
Mar
(37) |
Apr
(36) |
May
(41) |
Jun
(31) |
Jul
(25) |
Aug
(32) |
Sep
(49) |
Oct
(80) |
Nov
(33) |
Dec
(32) |
| 2016 |
Jan
(35) |
Feb
(55) |
Mar
(58) |
Apr
(51) |
May
(33) |
Jun
(52) |
Jul
(35) |
Aug
(66) |
Sep
(37) |
Oct
(42) |
Nov
(32) |
Dec
(33) |
| 2017 |
Jan
(48) |
Feb
(11) |
Mar
(70) |
Apr
(30) |
May
(43) |
Jun
(27) |
Jul
(33) |
Aug
(34) |
Sep
(27) |
Oct
(50) |
Nov
(22) |
Dec
(33) |
| 2018 |
Jan
(157) |
Feb
(238) |
Mar
(75) |
Apr
(40) |
May
(72) |
Jun
(105) |
Jul
(93) |
Aug
(73) |
Sep
(146) |
Oct
(213) |
Nov
(101) |
Dec
(136) |
| 2019 |
Jan
(213) |
Feb
(84) |
Mar
(210) |
Apr
(117) |
May
(77) |
Jun
(61) |
Jul
(189) |
Aug
(79) |
Sep
(87) |
Oct
(95) |
Nov
(55) |
Dec
(79) |
| 2020 |
Jan
(80) |
Feb
(79) |
Mar
(40) |
Apr
(51) |
May
(41) |
Jun
(79) |
Jul
(37) |
Aug
(37) |
Sep
(34) |
Oct
(65) |
Nov
(62) |
Dec
(169) |
| 2021 |
Jan
(233) |
Feb
(61) |
Mar
(107) |
Apr
(131) |
May
(305) |
Jun
(210) |
Jul
(199) |
Aug
(248) |
Sep
(201) |
Oct
(120) |
Nov
(54) |
Dec
(45) |
| 2022 |
Jan
(34) |
Feb
(18) |
Mar
(79) |
Apr
(55) |
May
(118) |
Jun
(150) |
Jul
(112) |
Aug
(74) |
Sep
(124) |
Oct
(77) |
Nov
(36) |
Dec
(66) |
| 2023 |
Jan
(15) |
Feb
(8) |
Mar
(22) |
Apr
(39) |
May
(31) |
Jun
(33) |
Jul
(28) |
Aug
(1) |
Sep
(47) |
Oct
(30) |
Nov
(56) |
Dec
(26) |
| 2024 |
Jan
(192) |
Feb
(129) |
Mar
(19) |
Apr
(38) |
May
(42) |
Jun
|
Jul
(3) |
Aug
(17) |
Sep
(5) |
Oct
(19) |
Nov
(7) |
Dec
(1) |
| 2025 |
Jan
(7) |
Feb
(96) |
Mar
(11) |
Apr
(159) |
May
(18) |
Jun
(6) |
Jul
(134) |
Aug
(108) |
Sep
(131) |
Oct
(110) |
Nov
(163) |
Dec
(19) |
| 2026 |
Jan
(42) |
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <ho...@us...> - 2026-02-13 17:56:30
|
Revision: 29986
http://sourceforge.net/p/bibdesk/svn/29986
Author: hofman
Date: 2026-02-13 17:56:28 +0000 (Fri, 13 Feb 2026)
Log Message:
-----------
set temporary destination location for WebDownload in tempFileURL. Set fileURL of download object from generic decideDestination method
Modified Paths:
--------------
trunk/bibdesk/BDSKDownloadManager.m
Modified: trunk/bibdesk/BDSKDownloadManager.m
===================================================================
--- trunk/bibdesk/BDSKDownloadManager.m 2026-02-13 10:12:21 UTC (rev 29985)
+++ trunk/bibdesk/BDSKDownloadManager.m 2026-02-13 17:56:28 UTC (rev 29986)
@@ -263,13 +263,15 @@
void (^handler)(NSModalResponse) = ^(NSModalResponse result){
NSURL *fileURL = nil;
if (result == NSModalResponseOK) {
+ BDSKWebDownload *webDownload = [self webDownloadForDownload:download];
fileURL = [sPanel URL];
// if a file exists, the user should have confirmed to overwrite
if ([fileURL checkResourceIsReachableAndReturnError:NULL]) {
NSURL *tmpURL = [[NSFileManager defaultManager] temporaryFileURLWithBasename:[fileURL lastPathComponent]];
if ([[NSFileManager defaultManager] moveItemAtURL:fileURL toURL:tmpURL error:NULL])
- [[self webDownloadForDownload:download] setTempFileURL:tmpURL];
+ [webDownload setTempFileURL:tmpURL];
}
+ [webDownload setFileURL:fileURL];
}
completionHandler(fileURL);
};
@@ -387,19 +389,21 @@
filename = disposition;
}
+ NSURL *tmpFileURL = [webDownload tempFileURL];
+ [webDownload setTempFileURL:nil];
+
[downloadManager download:download decideDestinationWithSuggestedFilename:filename modalForWindow:nil completionHandler:^(NSURL *destinationURL){
NSError *error = nil;
- if (destinationURL) {
- [[NSFileManager defaultManager] moveItemAtURL:[webDownload fileURL] toURL:destinationURL error:&error];
- [webDownload setFileURL:destinationURL];
- } else {
+ if (destinationURL)
+ [[NSFileManager defaultManager] moveItemAtURL:tmpFileURL toURL:destinationURL error:&error];
+ else
error = [NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorCancelled userInfo:nil];
- }
[downloadManager download:download didCompleteWithError:error];
}];
}
- (void)download:(NSURLDownload *)download didFailWithError:(NSError *)error {
+ [[downloadManager webDownloadForDownload:download] setTempFileURL:nil];
[downloadManager download:download didCompleteWithError:error];
}
@@ -412,7 +416,7 @@
// and when running a modal save panel the destination is ignored
- (void)download:(NSURLDownload *)download didCreateDestination:(NSString *)path {
- [[downloadManager webDownloadForDownload:download] setFileURL:[NSURL fileURLWithPath:path isDirectory:NO]];
+ [[downloadManager webDownloadForDownload:download] setTempFileURL:[NSURL fileURLWithPath:path isDirectory:NO]];
}
- (BOOL)download:(NSURLDownload *)download shouldDecodeSourceDataOfMIMEType:(NSString *)encodingType {
@@ -434,11 +438,7 @@
}
- (void)download:(WKDownload *)download decideDestinationUsingResponse:(NSURLResponse *)response suggestedFilename:(NSString *)filename completionHandler:(void (^)(NSURL * destinationURL))completionHandler API_AVAILABLE(macos(11.3)) {
- [downloadManager download:download decideDestinationWithSuggestedFilename:filename modalForWindow:[[download webView] window] completionHandler:^(NSURL *destinationURL){
- if (destinationURL)
- [[downloadManager webDownloadForDownload:download] setFileURL:destinationURL];
- completionHandler(destinationURL);
- }];
+ [downloadManager download:download decideDestinationWithSuggestedFilename:filename modalForWindow:[[download webView] window] completionHandler:completionHandler];
}
- (void)download:(WKDownload *)download didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition, NSURLCredential *))completionHandler API_AVAILABLE(macos(11.3)) {
@@ -456,11 +456,7 @@
}
- (void)download:(BDSKDownload *)download decideDestinationWithSuggestedFilename:(NSString *)filename completionHandler:(void (^)(NSURL *destinationURL))completionHandler {
- [downloadManager download:download decideDestinationWithSuggestedFilename:filename modalForWindow:nil completionHandler:^(NSURL *destinationURL) {
- if (destinationURL)
- [[downloadManager webDownloadForDownload:download] setFileURL:destinationURL];
- completionHandler(destinationURL);
- }];
+ [downloadManager download:download decideDestinationWithSuggestedFilename:filename modalForWindow:nil completionHandler:completionHandler];
}
@end
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-02-13 10:12:23
|
Revision: 29985
http://sourceforge.net/p/bibdesk/svn/29985
Author: hofman
Date: 2026-02-13 10:12:21 +0000 (Fri, 13 Feb 2026)
Log Message:
-----------
update comment
Modified Paths:
--------------
trunk/bibdesk/BDSKDownloadManager.m
Modified: trunk/bibdesk/BDSKDownloadManager.m
===================================================================
--- trunk/bibdesk/BDSKDownloadManager.m 2026-02-07 23:11:32 UTC (rev 29984)
+++ trunk/bibdesk/BDSKDownloadManager.m 2026-02-13 10:12:21 UTC (rev 29985)
@@ -409,6 +409,7 @@
// -download:decideDestinationWithSuggestedFilename: is not functional anymore
// it returns after the download has already finished, and the download object is not valid anymore
+// and when running a modal save panel the destination is ignored
- (void)download:(NSURLDownload *)download didCreateDestination:(NSString *)path {
[[downloadManager webDownloadForDownload:download] setFileURL:[NSURL fileURLWithPath:path isDirectory:NO]];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-02-07 23:11:34
|
Revision: 29984
http://sourceforge.net/p/bibdesk/svn/29984
Author: hofman
Date: 2026-02-07 23:11:32 +0000 (Sat, 07 Feb 2026)
Log Message:
-----------
No need to get Content-Disposition header field twice
Modified Paths:
--------------
trunk/bibdesk/BDSKDownloadManager.m
Modified: trunk/bibdesk/BDSKDownloadManager.m
===================================================================
--- trunk/bibdesk/BDSKDownloadManager.m 2026-02-03 17:20:04 UTC (rev 29983)
+++ trunk/bibdesk/BDSKDownloadManager.m 2026-02-07 23:11:32 UTC (rev 29984)
@@ -404,20 +404,7 @@
}
- (void)download:(NSURLDownload *)download didReceiveResponse:(NSURLResponse *)response {
- NSString *filename = [response suggestedFilename];
- NSString *disposition = [[download request] valueForHTTPHeaderField:@"Content-Disposition"];
- if ([disposition hasPrefix:@"attachment; filename*=UTF-8''"]) {
- disposition = [disposition substringFromIndex:29];
- if ([disposition length])
- filename = [disposition stringByRemovingPercentEncoding];
- } else if ([disposition hasPrefix:@"attachment; filename="]) {
- disposition = [disposition substringFromIndex:21];
- if ([disposition hasPrefix:@"\""] && [disposition hasSuffix:@"\""])
- disposition = [disposition substringWithRange:NSMakeRange(1, [disposition length] - 2)];
- if ([disposition length])
- filename = disposition;
- }
- [[downloadManager webDownloadForDownload:download] setSuggestedFilename:filename];
+ [[downloadManager webDownloadForDownload:download] setSuggestedFilename:[response suggestedFilename]];
}
// -download:decideDestinationWithSuggestedFilename: is not functional anymore
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-02-03 17:20:07
|
Revision: 29983
http://sourceforge.net/p/bibdesk/svn/29983
Author: hofman
Date: 2026-02-03 17:20:04 +0000 (Tue, 03 Feb 2026)
Log Message:
-----------
tweak icons
Modified Paths:
--------------
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_128x128.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_16x16.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_256x256.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_32x32.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_512x512.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/docFill.iconset/icon_128x128.png
trunk/bibdesk/Assets.xcassets/docFill.iconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/docFill.iconset/icon_16x16.png
trunk/bibdesk/Assets.xcassets/docFill.iconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/docFill.iconset/icon_256x256.png
trunk/bibdesk/Assets.xcassets/docFill.iconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/docFill.iconset/icon_32x32.png
trunk/bibdesk/Assets.xcassets/docFill.iconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/docFill.iconset/icon_512x512.png
trunk/bibdesk/Assets.xcassets/docFill.iconset/ico...@2x...
trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/BibDeskIcon.png
trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/Bib...@2x...
trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/bibdesk16.png
trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/bibdesk32.png
trunk/bibdesk/BibDesk.help/Contents/Resources/shrd/BibDeskIcon.png
trunk/bibdesk/Images/bibdesk16.png
trunk/bibdesk/Images/bibdesk32.png
trunk/bibdesk/Images/cacheDocIcon.icns
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_128x128.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_16x16.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_256x256.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_32x32.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_512x512.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/docFill.iconset/icon_128x128.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/docFill.iconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/docFill.iconset/icon_16x16.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/docFill.iconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/docFill.iconset/icon_256x256.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/docFill.iconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/docFill.iconset/icon_32x32.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/docFill.iconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/docFill.iconset/icon_512x512.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/docFill.iconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/BibDeskIcon.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/Bib...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/bibdesk16.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/bibdesk32.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/shrd/BibDeskIcon.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/bibdesk16.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/bibdesk32.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/cacheDocIcon.icns
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-27 22:57:14
|
Revision: 29982
http://sourceforge.net/p/bibdesk/svn/29982
Author: hofman
Date: 2026-01-27 22:57:01 +0000 (Tue, 27 Jan 2026)
Log Message:
-----------
determine icon to use from size in pixels
Modified Paths:
--------------
trunk/QuickLook-BibDesk/GenerateThumbnailForURL.m
Modified: trunk/QuickLook-BibDesk/GenerateThumbnailForURL.m
===================================================================
--- trunk/QuickLook-BibDesk/GenerateThumbnailForURL.m 2026-01-27 22:49:19 UTC (rev 29981)
+++ trunk/QuickLook-BibDesk/GenerateThumbnailForURL.m 2026-01-27 22:57:01 UTC (rev 29982)
@@ -169,10 +169,6 @@
NSRect pageRect = NSMakeRect(0, 0, size.width, size.height);
NSRectFillUsingOperation(pageRect, NSCompositingOperationSourceOver);
- BOOL isHR = CGContextGetUserSpaceToDeviceSpaceTransform([[NSGraphicsContext currentContext] CGContext]).a > 1.0;
- NSURL *iconURL = (NSURL *)CFBridgingRelease(CFBundleCopyResourceURL(QLThumbnailRequestGetGeneratorBundle(thumbnail), isHR ? CFSTR("BibDesk_2x") : CFSTR("BibDesk"), CFSTR("png"), NULL));
- NSImage *appIcon = [[NSImage alloc] initWithContentsOfURL:iconURL];
-
NSRect iconRect = NSZeroRect;
// draw the icon smaller than the text container
NSSize iconSize = NSMakeSize((size.width - 2 * _horizontalMargin) * 0.9, (size.width - 2 * _verticalMargin) * 0.9);
@@ -180,6 +176,10 @@
iconRect.origin.x = (size.width - iconSize.width) / 2;
iconRect.origin.y = (size.height - iconSize.height) / 2;
+ BOOL isHR = CGContextConvertSizeToDeviceSpace([[NSGraphicsContext currentContext] CGContext], NSSizeToCGSize(iconSize)).width > 512 * 1.1;
+ NSURL *iconURL = (NSURL *)CFBridgingRelease(CFBundleCopyResourceURL(QLThumbnailRequestGetGeneratorBundle(thumbnail), isHR ? CFSTR("BibDesk_2x") : CFSTR("BibDesk"), CFSTR("png"), NULL));
+ NSImage *appIcon = [[NSImage alloc] initWithContentsOfURL:iconURL];
+
[appIcon drawInRect:iconRect fromRect:NSZeroRect operation:NSCompositingOperationSourceOver fraction:0.3];
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-27 22:49:22
|
Revision: 29981
http://sourceforge.net/p/bibdesk/svn/29981
Author: hofman
Date: 2026-01-27 22:49:19 +0000 (Tue, 27 Jan 2026)
Log Message:
-----------
Use high resolution or low resolution app icon image depending on graphics context
Modified Paths:
--------------
trunk/QuickLook-BibDesk/GenerateThumbnailForURL.m
trunk/QuickLook-BibDesk/QuickLook-BibDesk.xcodeproj/project.pbxproj
Added Paths:
-----------
trunk/QuickLook-BibDesk/BibDesk.png
trunk/QuickLook-BibDesk/BibDesk_2x.png
Removed Paths:
-------------
trunk/QuickLook-BibDesk/BibDesk.png
Deleted: trunk/QuickLook-BibDesk/BibDesk.png
===================================================================
(Binary files differ)
Added: trunk/QuickLook-BibDesk/BibDesk.png
===================================================================
(Binary files differ)
Index: trunk/QuickLook-BibDesk/BibDesk.png
===================================================================
--- trunk/QuickLook-BibDesk/BibDesk.png 2026-01-27 16:26:40 UTC (rev 29980)
+++ trunk/QuickLook-BibDesk/BibDesk.png 2026-01-27 22:49:19 UTC (rev 29981)
Property changes on: trunk/QuickLook-BibDesk/BibDesk.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Copied: trunk/QuickLook-BibDesk/BibDesk_2x.png (from rev 29980, trunk/QuickLook-BibDesk/BibDesk.png)
===================================================================
(Binary files differ)
Modified: trunk/QuickLook-BibDesk/GenerateThumbnailForURL.m
===================================================================
--- trunk/QuickLook-BibDesk/GenerateThumbnailForURL.m 2026-01-27 16:26:40 UTC (rev 29980)
+++ trunk/QuickLook-BibDesk/GenerateThumbnailForURL.m 2026-01-27 22:49:19 UTC (rev 29981)
@@ -169,7 +169,8 @@
NSRect pageRect = NSMakeRect(0, 0, size.width, size.height);
NSRectFillUsingOperation(pageRect, NSCompositingOperationSourceOver);
- NSURL *iconURL = (NSURL *)CFBridgingRelease(CFBundleCopyResourceURL(QLThumbnailRequestGetGeneratorBundle(thumbnail), CFSTR("BibDesk"), CFSTR("png"), NULL));
+ BOOL isHR = CGContextGetUserSpaceToDeviceSpaceTransform([[NSGraphicsContext currentContext] CGContext]).a > 1.0;
+ NSURL *iconURL = (NSURL *)CFBridgingRelease(CFBundleCopyResourceURL(QLThumbnailRequestGetGeneratorBundle(thumbnail), isHR ? CFSTR("BibDesk_2x") : 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-27 16:26:40 UTC (rev 29980)
+++ trunk/QuickLook-BibDesk/QuickLook-BibDesk.xcodeproj/project.pbxproj 2026-01-27 22:49:19 UTC (rev 29981)
@@ -13,7 +13,8 @@
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 */; };
- CE1B1ABE2F282D21003B053C /* BibDesk.png in Resources */ = {isa = PBXBuildFile; fileRef = CE1B1ABD2F282D20003B053C /* BibDesk.png */; };
+ CE0D53DF2F29775100ED4023 /* BibDesk.png in Resources */ = {isa = PBXBuildFile; fileRef = CE0D53DE2F29775100ED4023 /* BibDesk.png */; };
+ CE1B1ABE2F282D21003B053C /* BibDesk_2x.png in Resources */ = {isa = PBXBuildFile; fileRef = CE1B1ABD2F282D20003B053C /* BibDesk_2x.png */; };
F28CFBFD0A3EC0AF000ABFF5 /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F28CFBFC0A3EC0AF000ABFF5 /* ApplicationServices.framework */; };
F28CFC030A3EC0C6000ABFF5 /* QuickLook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F28CFC020A3EC0C6000ABFF5 /* QuickLook.framework */; };
F95147490B5B4672002F5D6B /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F95147480B5B4672002F5D6B /* Cocoa.framework */; };
@@ -32,7 +33,8 @@
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>"; };
+ CE0D53DE2F29775100ED4023 /* BibDesk.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = BibDesk.png; sourceTree = "<group>"; };
+ CE1B1ABD2F282D20003B053C /* BibDesk_2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = BibDesk_2x.png; sourceTree = "<group>"; };
CE3D8EF2125E890300AE0232 /* de */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/InfoPlist.strings; 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>"; };
@@ -92,7 +94,8 @@
089C167CFE841241C02AAC07 /* Resources */ = {
isa = PBXGroup;
children = (
- CE1B1ABD2F282D20003B053C /* BibDesk.png */,
+ CE0D53DE2F29775100ED4023 /* BibDesk.png */,
+ CE1B1ABD2F282D20003B053C /* BibDesk_2x.png */,
F953AE330B5C9BC30053F12B /* BibDeskQuickLook.html */,
8D576317048677EA00EA77CD /* Info.plist */,
8D5B49A704867FD3000E48DA /* InfoPlist.strings */,
@@ -198,7 +201,8 @@
files = (
8D5B49A804867FD3000E48DA /* InfoPlist.strings in Resources */,
F953AE340B5C9BC30053F12B /* BibDeskQuickLook.html in Resources */,
- CE1B1ABE2F282D21003B053C /* BibDesk.png in Resources */,
+ CE0D53DF2F29775100ED4023 /* BibDesk.png in Resources */,
+ CE1B1ABE2F282D21003B053C /* BibDesk_2x.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-27 16:26:42
|
Revision: 29980
http://sourceforge.net/p/bibdesk/svn/29980
Author: hofman
Date: 2026-01-27 16:26:40 +0000 (Tue, 27 Jan 2026)
Log Message:
-----------
tweak BibDesk icon and derived images
Modified Paths:
--------------
trunk/QuickLook-BibDesk/BibDesk.png
Modified: trunk/QuickLook-BibDesk/BibDesk.png
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-27 16:26:29
|
Revision: 29979
http://sourceforge.net/p/bibdesk/svn/29979
Author: hofman
Date: 2026-01-27 16:26:25 +0000 (Tue, 27 Jan 2026)
Log Message:
-----------
tweak BibDesk icon and derived images
Modified Paths:
--------------
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_128x128.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_16x16.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_256x256.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_32x32.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_512x512.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/BibDesk.dmg.zip
trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/BibDeskIcon.png
trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/Bib...@2x...
trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/bibdesk16.png
trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/bibdesk32.png
trunk/bibdesk/BibDesk.help/Contents/Resources/shrd/BibDeskIcon.png
trunk/bibdesk/Images/bibDocIcon.icns
trunk/bibdesk/Images/bibdesk16.png
trunk/bibdesk/Images/bibdesk32.png
trunk/bibdesk/Images/risDocIcon.icns
trunk/bibdesk/Images/searchDocIcon.icns
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_128x128.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_16x16.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_256x256.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_32x32.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_512x512.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.dmg.zip
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/BibDeskIcon.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/Bib...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/bibdesk16.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/bibdesk32.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/shrd/BibDeskIcon.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/bibDocIcon.icns
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/bibdesk16.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/bibdesk32.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/risDocIcon.icns
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/searchDocIcon.icns
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-27 09:51:19
|
Revision: 29978
http://sourceforge.net/p/bibdesk/svn/29978
Author: hofman
Date: 2026-01-27 09:51:18 +0000 (Tue, 27 Jan 2026)
Log Message:
-----------
remove largest representations from legacy document icons, should neever be used anyway
Modified Paths:
--------------
trunk/bibdesk/Images/bibDocIcon.icns
trunk/bibdesk/Images/risDocIcon.icns
trunk/bibdesk/Images/searchDocIcon.icns
Modified: trunk/bibdesk/Images/bibDocIcon.icns
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/risDocIcon.icns
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/searchDocIcon.icns
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-26 23:46:30
|
Revision: 29977
http://sourceforge.net/p/bibdesk/svn/29977
Author: hofman
Date: 2026-01-26 23:46:28 +0000 (Mon, 26 Jan 2026)
Log Message:
-----------
merge back cache file icon, this should not use the app icon
Modified Paths:
--------------
trunk/bibdesk/Images/cacheDocIcon.icns
Modified: trunk/bibdesk/Images/cacheDocIcon.icns
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-26 23:19:52
|
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.
|
|
From: <ho...@us...> - 2026-01-26 22:57:20
|
Revision: 29975
http://sourceforge.net/p/bibdesk/svn/29975
Author: hofman
Date: 2026-01-26 22:57:18 +0000 (Mon, 26 Jan 2026)
Log Message:
-----------
update icon for quicklook
Modified Paths:
--------------
trunk/QuickLook-BibDesk/FolderPenIcon.icns
Modified: trunk/QuickLook-BibDesk/FolderPenIcon.icns
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-26 22:49:56
|
Revision: 29974
http://sourceforge.net/p/bibdesk/svn/29974
Author: hofman
Date: 2026-01-26 22:49:55 +0000 (Mon, 26 Jan 2026)
Log Message:
-----------
update FilesPreferences icon
Modified Paths:
--------------
trunk/bibdesk/Images/FilesPreferences.tiff
Modified: trunk/bibdesk/Images/FilesPreferences.tiff
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-26 19:25:58
|
Revision: 29973
http://sourceforge.net/p/bibdesk/svn/29973
Author: hofman
Date: 2026-01-26 19:25:56 +0000 (Mon, 26 Jan 2026)
Log Message:
-----------
update background image and volume icon of disk image
Modified Paths:
--------------
trunk/bibdesk/BibDesk.dmg.zip
Modified: trunk/bibdesk/BibDesk.dmg.zip
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-26 18:47:53
|
Revision: 29972
http://sourceforge.net/p/bibdesk/svn/29972
Author: hofman
Date: 2026-01-26 18:47:50 +0000 (Mon, 26 Jan 2026)
Log Message:
-----------
fix resolutions of legacy icon components
Modified Paths:
--------------
trunk/bibdesk/Images/bibDocIcon.icns
trunk/bibdesk/Images/cacheDocIcon.icns
trunk/bibdesk/Images/risDocIcon.icns
trunk/bibdesk/Images/searchDocIcon.icns
Modified: trunk/bibdesk/Images/bibDocIcon.icns
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/cacheDocIcon.icns
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/risDocIcon.icns
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/searchDocIcon.icns
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-26 18:24:37
|
Revision: 29971
http://sourceforge.net/p/bibdesk/svn/29971
Author: hofman
Date: 2026-01-26 18:24:33 +0000 (Mon, 26 Jan 2026)
Log Message:
-----------
Replace app icon. Draw opaque part in standard squircle, move the tab to the front side of the folder. With the irregular shape Tahoe puts the icon in a gray box.
Modified Paths:
--------------
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_128x128.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_16x16.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_256x256.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_32x32.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_512x512.png
trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/BibDeskIcon.png
trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/Bib...@2x...
trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/bibdesk16.png
trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/bibdesk32.png
trunk/bibdesk/BibDesk.help/Contents/Resources/shrd/BibDeskIcon.png
trunk/bibdesk/Images/bibDocIcon.icns
trunk/bibdesk/Images/bibdesk16.png
trunk/bibdesk/Images/bibdesk32.png
trunk/bibdesk/Images/cacheDocIcon.icns
trunk/bibdesk/Images/risDocIcon.icns
trunk/bibdesk/Images/searchDocIcon.icns
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_128x128.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_16x16.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_256x256.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_32x32.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/icon_512x512.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Assets.xcassets/BibDesk.appiconset/ico...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/BibDeskIcon.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/Bib...@2x...
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/bibdesk16.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/gfx/bibdesk32.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/shrd/BibDeskIcon.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/bibDocIcon.icns
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/bibdesk16.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/bibdesk32.png
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/cacheDocIcon.icns
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/risDocIcon.icns
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/Images/searchDocIcon.icns
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-26 15:39:57
|
Revision: 29970
http://sourceforge.net/p/bibdesk/svn/29970
Author: hofman
Date: 2026-01-26 15:39:55 +0000 (Mon, 26 Jan 2026)
Log Message:
-----------
remove old favicon
Modified Paths:
--------------
trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
Removed Paths:
-------------
trunk/bibdesk/Images/bibdesk.tiff
Modified: trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
===================================================================
--- trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2026-01-24 09:59:02 UTC (rev 29969)
+++ trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2026-01-26 15:39:55 UTC (rev 29970)
@@ -552,7 +552,6 @@
CE82B4740D57EECF00A2E8C5 /* BDSKGroup+Scripting.m in Sources */ = {isa = PBXBuildFile; fileRef = CE82B4720D57EECF00A2E8C5 /* BDSKGroup+Scripting.m */; };
CE82BE8D0D58C12A00A2E8C5 /* BDSKMacroResolver+Scripting.m in Sources */ = {isa = PBXBuildFile; fileRef = CE82BE8B0D58C12A00A2E8C5 /* BDSKMacroResolver+Scripting.m */; };
CE83E3A60D294EE300BB7AD8 /* BDSKSortCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = CE83E3A40D294EE300BB7AD8 /* BDSKSortCommand.m */; };
- CE87E71826DBC8C8002237BF /* bibdesk.tiff in Resources */ = {isa = PBXBuildFile; fileRef = CE87E70226DBC8C8002237BF /* bibdesk.tiff */; };
CE89618A0CBEB59800EA2D98 /* BDSKToken.m in Sources */ = {isa = PBXBuildFile; fileRef = CE8961860CBEB59800EA2D98 /* BDSKToken.m */; };
CE89618C0CBEB59800EA2D98 /* BDSKTypeTemplate.m in Sources */ = {isa = PBXBuildFile; fileRef = CE8961880CBEB59800EA2D98 /* BDSKTypeTemplate.m */; };
CE8961BD0CBEB5AC00EA2D98 /* BDSKTemplateDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = CE8961BB0CBEB5AC00EA2D98 /* BDSKTemplateDocument.m */; };
@@ -1739,7 +1738,6 @@
CE8526D8264C861D00C7755B /* de */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/BDSKSearchGroupView.strings; sourceTree = "<group>"; };
CE8526DC264C89C900C7755B /* fr */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/TextImport.strings; sourceTree = "<group>"; };
CE8526DD264C89CB00C7755B /* de */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/TextImport.strings; sourceTree = "<group>"; };
- CE87E70226DBC8C8002237BF /* bibdesk.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = bibdesk.tiff; sourceTree = "<group>"; };
CE8961850CBEB59800EA2D98 /* BDSKToken.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BDSKToken.h; sourceTree = "<group>"; };
CE8961860CBEB59800EA2D98 /* BDSKToken.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BDSKToken.m; sourceTree = "<group>"; };
CE8961870CBEB59800EA2D98 /* BDSKTypeTemplate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BDSKTypeTemplate.h; sourceTree = "<group>"; };
@@ -3204,7 +3202,6 @@
children = (
CE023F5C0CC50F86003F52E5 /* Add_Small.tiff */,
F9022DA70758088000C3F701 /* AutoFilePreferences.tiff */,
- CE87E70226DBC8C8002237BF /* bibdesk.tiff */,
CE7827A32E55C6FF00CE59F4 /* bibdesk16.png */,
CE7827C32E55C6FF00CE59F4 /* bibdesk32.png */,
F9022DA80758088000C3F701 /* bibDocIcon.icns */,
@@ -4460,7 +4457,6 @@
CE62DE4E0F4B790C00BDF01E /* Preferences.plist in Resources */,
CEB0C6EC26385D8700B63A29 /* AutoFileProgress.strings in Resources */,
CE62DE510F4B797B00BDF01E /* ToolbarNext.tiff in Resources */,
- CE87E71826DBC8C8002237BF /* bibdesk.tiff in Resources */,
CE7827C52E55C6FF00CE59F4 /* bibdesk32.png in Resources */,
CEB0C6F826385D8700B63A29 /* BDSKSaveAccessoryView.strings in Resources */,
CE62DE520F4B797B00BDF01E /* ToolbarPrevious.tiff in Resources */,
Deleted: trunk/bibdesk/Images/bibdesk.tiff
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-24 09:59:04
|
Revision: 29969
http://sourceforge.net/p/bibdesk/svn/29969
Author: hofman
Date: 2026-01-24 09:59:02 +0000 (Sat, 24 Jan 2026)
Log Message:
-----------
fix typo in method name
Modified Paths:
--------------
trunk/bibdesk/BDSKFindController.m
Modified: trunk/bibdesk/BDSKFindController.m
===================================================================
--- trunk/bibdesk/BDSKFindController.m 2026-01-21 10:00:46 UTC (rev 29968)
+++ trunk/bibdesk/BDSKFindController.m 2026-01-24 09:59:02 UTC (rev 29969)
@@ -108,7 +108,7 @@
return self;
}
-- (NSString *)windowwNibName {
+- (NSString *)windowNibName {
return @"BDSKFindPanel";
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-21 10:00:49
|
Revision: 29968
http://sourceforge.net/p/bibdesk/svn/29968
Author: hofman
Date: 2026-01-21 10:00:46 +0000 (Wed, 21 Jan 2026)
Log Message:
-----------
don't use deprecated nsdata reading options
Modified Paths:
--------------
trunk/bibdesk/BDSKMODSParser.m
trunk/bibdesk/BibDocument.m
trunk/bibdesk/NSString_BDSKExtensions.m
Modified: trunk/bibdesk/BDSKMODSParser.m
===================================================================
--- trunk/bibdesk/BDSKMODSParser.m 2026-01-21 09:51:46 UTC (rev 29967)
+++ trunk/bibdesk/BDSKMODSParser.m 2026-01-21 10:00:46 UTC (rev 29968)
@@ -51,7 +51,7 @@
+ (void)initialize{
BDSKINITIALIZE;
- MODSToMARCXSLTData = [[NSData alloc] initWithContentsOfURL:[[NSBundle mainBundle] URLForResource:@"MODS2MARC21slim" withExtension:@"xsl"] options:NSMappedRead error:NULL];
+ MODSToMARCXSLTData = [[NSData alloc] initWithContentsOfURL:[[NSBundle mainBundle] URLForResource:@"MODS2MARC21slim" withExtension:@"xsl"] options:NSDataReadingMappedIfSafe error:NULL];
}
+ (BOOL)canParseString:(NSString *)string{
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2026-01-21 09:51:46 UTC (rev 29967)
+++ trunk/bibdesk/BibDocument.m 2026-01-21 10:00:46 UTC (rev 29968)
@@ -1063,7 +1063,7 @@
return NO;
}
- NSData *data = [NSData dataWithContentsOfURL:absoluteURL options:NSUncachedRead error:&error];
+ NSData *data = [NSData dataWithContentsOfURL:absoluteURL options:NSDataReadingUncached error:&error];
if (data == nil) {
if (outError) *outError = error;
return NO;
Modified: trunk/bibdesk/NSString_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/NSString_BDSKExtensions.m 2026-01-21 09:51:46 UTC (rev 29967)
+++ trunk/bibdesk/NSString_BDSKExtensions.m 2026-01-21 10:00:46 UTC (rev 29968)
@@ -253,7 +253,7 @@
- (NSString *)initWithContentsOfURL:(NSURL *)fileURL guessedEncoding:(NSStringEncoding)encoding;
{
- NSData *data = [[NSData alloc] initWithContentsOfURL:fileURL options:NSMappedRead error:NULL];
+ NSData *data = [[NSData alloc] initWithContentsOfURL:fileURL options:NSDataReadingMappedIfSafe error:NULL];
NSString *string = nil;
Class stringClass = [self isKindOfClass:[NSMutableString class]] ? [NSMutableString class] : [NSString class];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-21 09:51:48
|
Revision: 29967
http://sourceforge.net/p/bibdesk/svn/29967
Author: hofman
Date: 2026-01-21 09:51:46 +0000 (Wed, 21 Jan 2026)
Log Message:
-----------
don't use deprecated nsdata reading options
Modified Paths:
--------------
trunk/bibdesk/BDSKFileSearchIndex.m
Modified: trunk/bibdesk/BDSKFileSearchIndex.m
===================================================================
--- trunk/bibdesk/BDSKFileSearchIndex.m 2026-01-20 17:50:32 UTC (rev 29966)
+++ trunk/bibdesk/BDSKFileSearchIndex.m 2026-01-21 09:51:46 UTC (rev 29967)
@@ -221,7 +221,7 @@
static inline BOOL isIndexCacheForDocumentURL(NSURL *aURL, NSURL *documentURL) {
BOOL isIndexCache = NO;
- NSData *data = [NSData dataWithContentsOfURL:aURL options:NSDataReadingMapped error:NULL];
+ NSData *data = [NSData dataWithContentsOfURL:aURL options:NSDataReadingMappedIfSafe error:NULL];
if (data) {
NSKeyedUnarchiver *unarchiver = [[NSKeyedUnarchiver alloc] initForReadingFromData:data error:NULL];
@try { isIndexCache = [[unarchiver decodeObjectOfClass:[NSURL class] forKey:@"documentURL"] isEqual:documentURL]; }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-20 17:50:33
|
Revision: 29966
http://sourceforge.net/p/bibdesk/svn/29966
Author: hofman
Date: 2026-01-20 17:50:32 +0000 (Tue, 20 Jan 2026)
Log Message:
-----------
avoid indexing the same file multiple times hen resetting the file content search index
Modified Paths:
--------------
trunk/bibdesk/BDSKFileSearchIndex.m
Modified: trunk/bibdesk/BDSKFileSearchIndex.m
===================================================================
--- trunk/bibdesk/BDSKFileSearchIndex.m 2026-01-20 16:49:17 UTC (rev 29965)
+++ trunk/bibdesk/BDSKFileSearchIndex.m 2026-01-20 17:50:32 UTC (rev 29966)
@@ -552,6 +552,7 @@
NSMutableSet *URLsToRemove = [[NSMutableSet alloc] initWithArray:[signatures allKeys]];
NSMutableSet *URLsToAdd = [[NSMutableSet alloc] init];
+ NSMutableSet *handledURLs = [[NSMutableSet alloc] init];
NSMutableArray *itemsToAdd = [[NSMutableArray alloc] init];
double totalObjectCount = [items count];
@@ -565,6 +566,8 @@
id signature;
for (NSURL *url in [anItem objectForKey:BDSKBibItemURLsKey]) {
+ if ([handledURLs containsObject:url]) continue;
+ [handledURLs addObject:url];
signature = [signatures objectForKey:url];
if (signature)
[URLsToRemove removeObject:url];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-20 16:49:19
|
Revision: 29965
http://sourceforge.net/p/bibdesk/svn/29965
Author: hofman
Date: 2026-01-20 16:49:17 +0000 (Tue, 20 Jan 2026)
Log Message:
-----------
enumerate in called method
Modified Paths:
--------------
trunk/bibdesk/BDSKFileSearchIndex.m
Modified: trunk/bibdesk/BDSKFileSearchIndex.m
===================================================================
--- trunk/bibdesk/BDSKFileSearchIndex.m 2026-01-20 10:32:57 UTC (rev 29964)
+++ trunk/bibdesk/BDSKFileSearchIndex.m 2026-01-20 16:49:17 UTC (rev 29965)
@@ -332,40 +332,44 @@
return YES;
}
-- (void)indexFileURL:(NSURL *)aURL{
- id signature = signatureForURL(aURL);
-
- if ([[signatures objectForKey:aURL] isEqual:signature] == NO) {
- // either the file was not indexed, or it has changed
+- (void)indexFileURLs:(id<NSFastEnumeration>)fileURLs{
+ for (NSURL *aURL in fileURLs) {
+ id signature = signatureForURL(aURL);
+ if ([[signatures objectForKey:aURL] isEqual:signature] == NO) {
+ // either the file was not indexed, or it has changed
+
+ SKDocumentRef skDocument = SKDocumentCreateWithURL((__bridge CFURLRef)aURL);
+
+ BDSKPOSTCONDITION(skDocument);
+
+ if (skDocument != NULL) {
+
+ BDSKASSERT(signature);
+ [signatures setObject:signature forKey:aURL];
+
+ SKIndexAddDocument(skIndex, skDocument, NULL, TRUE);
+ CFRelease(skDocument);
+ }
+ }
+ }
+}
+
+- (void)removeFileURLs:(id<NSFastEnumeration>)fileURLs{
+ for (NSURL *aURL in fileURLs) {
SKDocumentRef skDocument = SKDocumentCreateWithURL((__bridge CFURLRef)aURL);
BDSKPOSTCONDITION(skDocument);
if (skDocument != NULL) {
+ [signatures removeObjectForKey:aURL];
- BDSKASSERT(signature);
- [signatures setObject:signature forKey:aURL];
-
- SKIndexAddDocument(skIndex, skDocument, NULL, TRUE);
+ SKIndexRemoveDocument(skIndex, skDocument);
CFRelease(skDocument);
}
}
}
-- (void)removeFileURL:(NSURL *)aURL{
- SKDocumentRef skDocument = SKDocumentCreateWithURL((__bridge CFURLRef)aURL);
-
- BDSKPOSTCONDITION(skDocument);
-
- if (skDocument != NULL) {
- [signatures removeObjectForKey:aURL];
-
- SKIndexRemoveDocument(skIndex, skDocument);
- CFRelease(skDocument);
- }
-}
-
- (void)indexFileURLs:(id<NSFastEnumeration>)urlsToAdd forIdentifierURL:(NSURL *)identifierURL
{
// SKIndexSetProperties is more generally useful, but is really slow when creating the index
@@ -380,8 +384,7 @@
[rwLock unlock];
}
- for (NSURL *url in urlsToAdd)
- [self indexFileURL:url];
+ [self indexFileURLs:urlsToAdd];
// the caller is responsible for updating the delegate, so we can throttle initial indexing
}
@@ -404,8 +407,7 @@
}
[rwLock unlock];
- for (NSURL *url in toRemove)
- [self removeFileURL:url];
+ [self removeFileURLs:toRemove];
// the caller is responsible for updating the delegate, so we can throttle initial indexing
}
@@ -549,6 +551,7 @@
[self didUpdate];
NSMutableSet *URLsToRemove = [[NSMutableSet alloc] initWithArray:[signatures allKeys]];
+ NSMutableSet *URLsToAdd = [[NSMutableSet alloc] init];
NSMutableArray *itemsToAdd = [[NSMutableArray alloc] init];
double totalObjectCount = [items count];
@@ -585,10 +588,8 @@
}
// remove URLs we could not find in the database
- if ([self shouldKeepRunning] && [URLsToRemove count]) {
- for (NSURL *url in URLsToRemove)
- [self removeFileURL:url];
- }
+ if ([self shouldKeepRunning] && [URLsToRemove count])
+ [self removeFileURLs:URLsToRemove];
[self didUpdate];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-20 10:32:59
|
Revision: 29964
http://sourceforge.net/p/bibdesk/svn/29964
Author: hofman
Date: 2026-01-20 10:32:57 +0000 (Tue, 20 Jan 2026)
Log Message:
-----------
declare specific type
Modified Paths:
--------------
trunk/bibdesk/BDSKFileSearchIndex.m
Modified: trunk/bibdesk/BDSKFileSearchIndex.m
===================================================================
--- trunk/bibdesk/BDSKFileSearchIndex.m 2026-01-19 16:40:39 UTC (rev 29963)
+++ trunk/bibdesk/BDSKFileSearchIndex.m 2026-01-20 10:32:57 UTC (rev 29964)
@@ -553,7 +553,7 @@
double totalObjectCount = [items count];
// find URLs in the database that needs to be indexed, and URLs that were indexeed but are not in the database anymore
- for (id anItem in items) {
+ for (NSDictionary *anItem in items) {
if ([self shouldKeepRunning] == NO) break;
@autoreleasepool {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-19 16:40:41
|
Revision: 29963
http://sourceforge.net/p/bibdesk/svn/29963
Author: hofman
Date: 2026-01-19 16:40:39 +0000 (Mon, 19 Jan 2026)
Log Message:
-----------
update copyright dates in help
Modified Paths:
--------------
trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/bibdesk.texi
Modified: trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/bibdesk.texi
===================================================================
--- trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/bibdesk.texi 2026-01-19 16:16:50 UTC (rev 29962)
+++ trunk/bibdesk/BibDesk.help/Contents/Resources/en.lproj/bibdesk.texi 2026-01-19 16:40:39 UTC (rev 29963)
@@ -182,7 +182,7 @@
Portions of BibDesk:
-Copyright @copyright{} 2001 - 2024 Michael O. McCracken@*
+Copyright @copyright{} 2001 - 2026 Michael O. McCracken@*
Copyright @copyright{} many others@*
@c ======================================================================================
@@ -4859,14 +4859,14 @@
@multitable @columnfractions .12 .88
@item Portions of BibDesk
-@item @tab Copyright @copyright{} 2001 - 2021 Michael O. McCracken@*
-@item @tab Copyright @copyright{} 2002 - 2021 Adam Maxwell@*
-@item @tab Copyright @copyright{} 2002 - 2021 Christiaan Hofman@*
+@item @tab Copyright @copyright{} 2001 - 2026 Michael O. McCracken@*
+@item @tab Copyright @copyright{} 2002 - 2026 Adam Maxwell@*
+@item @tab Copyright @copyright{} 2002 - 2026 Christiaan Hofman@*
@item @tab Copyright @copyright{} many others.@*
@item @tab
@item Portions of this manual
-@item @tab Copyright @copyright{} 2001 - 2021 Michael O. McCracken (manual)@*
-@item @tab Copyright @copyright{} 2002 - 2021 Adam Maxwell@*
-@item @tab Copyright @copyright{} 2002 - 2021 Christiaan Hofman@*
+@item @tab Copyright @copyright{} 2001 - 2026 Michael O. McCracken (manual)@*
+@item @tab Copyright @copyright{} 2002 - 2026 Adam Maxwell@*
+@item @tab Copyright @copyright{} 2002 - 2026 Christiaan Hofman@*
@item @tab Copyright @copyright{} many others.@*
@end multitable
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-01-19 16:16:52
|
Revision: 29962
http://sourceforge.net/p/bibdesk/svn/29962
Author: hofman
Date: 2026-01-19 16:16:50 +0000 (Mon, 19 Jan 2026)
Log Message:
-----------
Tag for release
Added Paths:
-----------
tags/REL_1_9_10/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|