Revision: 28437
http://sourceforge.net/p/bibdesk/svn/28437
Author: hofman
Date: 2023-11-13 10:36:46 +0000 (Mon, 13 Nov 2023)
Log Message:
-----------
remove PDFDocument category files, it has no effect
Modified Paths:
--------------
trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
Removed Paths:
-------------
trunk/bibdesk/PDFDocument_BDSKExtensions.h
trunk/bibdesk/PDFDocument_BDSKExtensions.m
Modified: trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
===================================================================
--- trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2023-11-13 10:25:25 UTC
(rev 28436)
+++ trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2023-11-13 10:36:46 UTC
(rev 28437)
@@ -435,7 +435,6 @@
CE2A0AE822459A5100A8F31C /* NSWindowController_BDSKExtensions.h
in Headers */ = {isa = PBXBuildFile; fileRef = CE7EA95A0AAC55B2000FE8FD /*
NSWindowController_BDSKExtensions.h */; };
CE2A0AE922459A5100A8F31C /* NSWorkspace_BDSKExtensions.h in
Headers */ = {isa = PBXBuildFile; fileRef = F97073AD0911592000526FC8 /*
NSWorkspace_BDSKExtensions.h */; };
CE2A0AEA22459A5100A8F31C /* NSXMLNode_BDSKExtensions.h in
Headers */ = {isa = PBXBuildFile; fileRef = 45DB3E4B0CAADFC3001EACDA /*
NSXMLNode_BDSKExtensions.h */; };
- CE2A0AEB22459A5100A8F31C /* PDFDocument_BDSKExtensions.h in
Headers */ = {isa = PBXBuildFile; fileRef = F947A01A09AA80E4004C27FF /*
PDFDocument_BDSKExtensions.h */; };
CE2A0AEC22459A5100A8F31C /* WebURLsWithTitles.h in Headers */ =
{isa = PBXBuildFile; fileRef = CE05CF5C0D7743940034C2A8 /* WebURLsWithTitles.h
*/; };
CE2A0AED22459A5100A8F31C /* WOKMWSAuthenticateService.h in
Headers */ = {isa = PBXBuildFile; fileRef = 3B91DD45162225850088206D /*
WOKMWSAuthenticateService.h */; };
CE2A0AEE22459A5100A8F31C /* WokSearchLiteService.h in Headers
*/ = {isa = PBXBuildFile; fileRef = CEBF7AE518F2EB6300012ECD /*
WokSearchLiteService.h */; };
@@ -887,7 +886,6 @@
F990C58C0D42D58D00B5425E /* BDSKDocumentSearch.m in Sources */
= {isa = PBXBuildFile; fileRef = F990C58A0D42D58D00B5425E /*
BDSKDocumentSearch.m */; };
F9936CC60BC746C300A32DC4 /* BDSKItemSearchIndexes.m in Sources
*/ = {isa = PBXBuildFile; fileRef = F9936CC40BC746C300A32DC4 /*
BDSKItemSearchIndexes.m */; };
F9937E230AD8268E001D1DFB /* BDSKZoomablePDFView.m in Sources */
= {isa = PBXBuildFile; fileRef = F98F33C90892D4B700C1427D /*
BDSKZoomablePDFView.m */; };
- F9937E250AD82690001D1DFB /* PDFDocument_BDSKExtensions.m in
Sources */ = {isa = PBXBuildFile; fileRef = F947A01B09AA80E4004C27FF /*
PDFDocument_BDSKExtensions.m */; };
F9937E4E0AD826EB001D1DFB /* Quartz.framework in Frameworks */ =
{isa = PBXBuildFile; fileRef = F9B9E17E089479FC00C21B17 /* Quartz.framework */;
};
F9937E6C0AD82700001D1DFB /* QuartzCore.framework in Frameworks
*/ = {isa = PBXBuildFile; fileRef = F9706DB909102DA800526FC8 /*
QuartzCore.framework */; };
F99BC25F095A5C7000E018C3 /* NSArray_BDSKExtensions.m in Sources
*/ = {isa = PBXBuildFile; fileRef = F99BC25D095A5C7000E018C3 /*
NSArray_BDSKExtensions.m */; };
@@ -2184,8 +2182,6 @@
F9463F4409436F7500CC4549 /* NSSet_BDSKExtensions.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= NSSet_BDSKExtensions.m; sourceTree = "<group>"; };
F946DCE609FDC4B600D471DF /* BDSKAsyncObject.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
BDSKAsyncObject.h; sourceTree = "<group>"; };
F946DCE709FDC4B600D471DF /* BDSKAsyncObject.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= BDSKAsyncObject.m; sourceTree = "<group>"; };
- F947A01A09AA80E4004C27FF /* PDFDocument_BDSKExtensions.h */ =
{isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h;
path = PDFDocument_BDSKExtensions.h; sourceTree = "<group>"; };
- F947A01B09AA80E4004C27FF /* PDFDocument_BDSKExtensions.m */ =
{isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =
sourcecode.c.objc; path = PDFDocument_BDSKExtensions.m; sourceTree = "<group>";
};
F94AA36A0BE8FD87007BCE2B /* en */ = {isa = PBXFileReference;
fileEncoding = 10; lastKnownFileType = text.plist.strings; name = en; path =
en.lproj/Preferences.strings; sourceTree = "<group>"; };
F94DB0F60B3E2FA1006F37A2 /* BDSKSearchGroup.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
BDSKSearchGroup.h; sourceTree = "<group>"; };
F94DB0F70B3E2FA1006F37A2 /* BDSKSearchGroup.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= BDSKSearchGroup.m; sourceTree = "<group>"; };
@@ -2704,7 +2700,6 @@
CEDBE0580F4CDAD900190AF5 /*
NSView_BDSKExtensions.m */,
CE7EA95B0AAC55B2000FE8FD /*
NSWindowController_BDSKExtensions.m */,
F97073AE0911592000526FC8 /*
NSWorkspace_BDSKExtensions.m */,
- F947A01B09AA80E4004C27FF /*
PDFDocument_BDSKExtensions.m */,
);
name = "AppKit Extensions";
sourceTree = "<group>";
@@ -3542,7 +3537,6 @@
CE7EA95A0AAC55B2000FE8FD /*
NSWindowController_BDSKExtensions.h */,
F97073AD0911592000526FC8 /*
NSWorkspace_BDSKExtensions.h */,
45DB3E4B0CAADFC3001EACDA /*
NSXMLNode_BDSKExtensions.h */,
- F947A01A09AA80E4004C27FF /*
PDFDocument_BDSKExtensions.h */,
CE05CF5C0D7743940034C2A8 /* WebURLsWithTitles.h
*/,
3B91DD45162225850088206D /*
WOKMWSAuthenticateService.h */,
CEBF7AE518F2EB6300012ECD /*
WokSearchLiteService.h */,
@@ -3760,7 +3754,6 @@
CE2A0AA622459A3B00A8F31C /*
BDSKZoomGroupServer.h in Headers */,
CE2A0A2F224599EF00A8F31C /*
BDSKMathSciNetParser.h in Headers */,
CE2A0AC922459A4B00A8F31C /*
NSCharacterSet_BDSKExtensions.h in Headers */,
- CE2A0AEB22459A5100A8F31C /*
PDFDocument_BDSKExtensions.h in Headers */,
CEA1A0A326F5054800897A84 /*
BDSKFilePathTransformer.h in Headers */,
CE2A0A40224599F600A8F31C /*
BDSKPersonController.h in Headers */,
CE2A0A9822459A3600A8F31C /* BDSKUndoManager.h
in Headers */,
@@ -4772,7 +4765,6 @@
F96F11970AAF4FD100815D06 /*
NSData_BDSKExtensions.m in Sources */,
F9937E230AD8268E001D1DFB /*
BDSKZoomablePDFView.m in Sources */,
CED5203122846D6100F87B8A /*
BDSKTouchBarButtonGroup.m in Sources */,
- F9937E250AD82690001D1DFB /*
PDFDocument_BDSKExtensions.m in Sources */,
CEA99969264EC52900AB2050 /* BDSKWrappingView.m
in Sources */,
CE95AF180ADBE7C000CB20E7 /*
BDSKTemplateObjectProxy.m in Sources */,
F9A2245D0AE02C8E0046CA3D /* BDSKFileSearch.m in
Sources */,
Deleted: trunk/bibdesk/PDFDocument_BDSKExtensions.h
===================================================================
--- trunk/bibdesk/PDFDocument_BDSKExtensions.h 2023-11-13 10:25:25 UTC (rev
28436)
+++ trunk/bibdesk/PDFDocument_BDSKExtensions.h 2023-11-13 10:36:46 UTC (rev
28437)
@@ -1,43 +0,0 @@
-//
-// PDFDocument_BDSKExtensions.h
-// Bibdesk
-//
-// Created by Adam Maxwell on 02/20/06.
-/*
- This software is Copyright (c) 2006-2023
- 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>
-#import <Quartz/Quartz.h>
-
-@interface PDFDocument (BDSKExtensions)
-@end
Deleted: trunk/bibdesk/PDFDocument_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/PDFDocument_BDSKExtensions.m 2023-11-13 10:25:25 UTC (rev
28436)
+++ trunk/bibdesk/PDFDocument_BDSKExtensions.m 2023-11-13 10:36:46 UTC (rev
28437)
@@ -1,63 +0,0 @@
-//
-// PDFDocument_BDSKExtensions.m
-// Bibdesk
-//
-// Created by Adam Maxwell on 02/20/06.
-/*
- This software is Copyright (c) 2006-2023
- 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 "PDFDocument_BDSKExtensions.h"
-#import "BDSKRuntime.h"
-
-
-@interface PDFDocument (BDSKPrivateDeclarations)
-- (NSPrintOperation *)getPrintOperationForPrintInfo:(NSPrintInfo *)printInfo
autoRotate:(BOOL)autoRotate;
-@end
-
-
-@implementation PDFDocument (BDSKExtensions)
-
-static id (*original_getPrintOperationForPrintInfo_autoRotate)(id, SEL, id,
BOOL) = NULL;
-
-- (NSPrintOperation *)replacement_getPrintOperationForPrintInfo:(NSPrintInfo
*)printInfo autoRotate:(BOOL)autoRotate {
- NSPrintOperation *printOperation =
original_getPrintOperationForPrintInfo_autoRotate(self, _cmd, printInfo,
autoRotate);
- NSPrintPanel *printPanel = [printOperation printPanel];
- [printPanel setOptions:NSPrintPanelShowsCopies |
NSPrintPanelShowsPageRange | NSPrintPanelShowsPaperSize |
NSPrintPanelShowsOrientation | NSPrintPanelShowsScaling |
NSPrintPanelShowsPreview];
- return printOperation;
-}
-
-+ (void)load {
- original_getPrintOperationForPrintInfo_autoRotate = (id (*)(id, SEL, id,
BOOL))BDSKReplaceInstanceMethodImplementationFromSelector(self,
@selector(getPrintOperationForPrintInfo:autoRotate:),
@selector(replacement_getPrintOperationForPrintInfo:autoRotate:));
-}
-
-@end
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