Merge pull request #1612 from jlucfarias/add-symbols-bibdesk

Add symbols for BibDesk
This commit is contained in:
CuriousTommy 2025-09-29 21:42:48 -07:00 committed by GitHub
commit 4ef31fddd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
35 changed files with 555 additions and 5 deletions

View File

@ -378,6 +378,7 @@ add_framework(AddressBook
src/ABPeoplePickerView.m
src/ABPeriodicTask.m
src/ABPeriodicUITask.m
src/ABPerson.m
src/ABPersonContactConverter.m
src/ABPersonEntriesFetcher.m
src/ABPersonEntriesList.m
@ -424,6 +425,7 @@ add_framework(AddressBook
src/ABRenameGroupCommand.m
src/ABRolloverButton.m
src/ABMapsLaunchRequest.m
src/ABSearchElement.m
src/ABSearchElementOrderManager.m
src/ABSearchElementSetView.m
src/ABSearchElementUIController.m

View File

@ -28,6 +28,7 @@ extern NSString *const kABLastNameProperty;
extern NSString *const kABNicknameProperty;
extern NSString *const kABOrganizationProperty;
extern NSString *const kABPersonFlags;
extern NSString *const kABSuffixProperty;
extern NSString *const kABDeletedRecords;
extern NSString *const kABInsertedRecords;

View File

@ -0,0 +1,23 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <AddressBook/ABRecord.h>
@interface ABPerson : ABRecord
@end

View File

@ -0,0 +1,23 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <Foundation/NSObject.h>
@interface ABSearchElement : NSObject
@end

View File

@ -38,6 +38,7 @@ NSString *const kABOtherDatesProperty=@"ABOtherDatesProperty";
NSString *const kABPhoneProperty=@"ABPhoneProperty";
NSString *const kABTitleProperty=@"ABTitleProperty";
NSString *const kABURLsProperty=@"ABURLsProperty";
NSString *const kABSuffixProperty = @"Suffix";
NSString *const kABPersonFlags=@"ABPersonFlags";

View File

@ -0,0 +1,36 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <AddressBook/ABPerson.h>
#import <Foundation/NSMethodSignature.h>
#import <Foundation/NSInvocation.h>
@implementation ABPerson
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -0,0 +1,36 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <AddressBook/ABSearchElement.h>
#import <Foundation/NSMethodSignature.h>
#import <Foundation/NSInvocation.h>
@implementation ABSearchElement
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -19,6 +19,8 @@
#include <Foundation/Foundation.h>
extern NSString *const kCIInputRadiusKey;
@interface CIFilter : NSObject
@end

View File

@ -29,6 +29,7 @@ NSString * const kCIInputContrastKey = @"inputContrast";
NSString * const kCIInputExtentKey = @"inputExtent";
NSString * const kCIInputImageKey = @"inputImage";
NSString * const kCIInputSaturationKey = @"inputSaturation";
NSString *const kCIInputRadiusKey = @"inputRadius";
NSString * const kCIOutputImageKey = @"outputImage";
NSString * const kCIApplyOptionDefinition = @"definition";

View File

@ -13,6 +13,6 @@
#include <CarbonCore/CarbonCore.h>
#include <FSEvents/FSEvents.h>
#include <LaunchServices/LaunchServices.h>
#include <SearchKit/SearchKit.h>
#endif

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <CoreFoundation/CFString.h>
extern const CFStringRef kSKMinTermLength;
extern const CFStringRef kSKMaximumTerms;
extern const CFStringRef kSKProximityIndexing;

View File

@ -0,0 +1,25 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _CORESERVICES_SEARCHKIT_H_
#define _CORESERVICES_SEARCHKIT_H_
#include <SearchKit/Analysis.h>
#endif

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <SearchKit/Analysis.h>
const CFStringRef kSKMinTermLength = CFSTR("kSKMinTermLength");
const CFStringRef kSKMaximumTerms = CFSTR("kSKMaximumTerms");
const CFStringRef kSKProximityIndexing = CFSTR("kSKProximityIndexing");

View File

@ -13,7 +13,7 @@ add_framework(SearchKit
PARENT "CoreServices"
SOURCES
empty.c
Analysis.m
DEPENDENCIES
CoreFoundation

View File

@ -15,6 +15,8 @@ typedef struct CF_BRIDGED_TYPE(id) O2ImageSource *CGImageSourceRef;
#import <CoreGraphics/CGImage.h>
#import <CoreGraphics/CGDataProvider.h>
IMAGEIO_EXTERN const CFStringRef kCGImageSourceShouldAllowFloat;
IMAGEIO_EXTERN CGImageSourceRef CGImageSourceCreateWithData(CFDataRef data, CFDictionaryRef options);
IMAGEIO_EXTERN CGImageSourceRef CGImageSourceCreateWithURL(CFURLRef url, CFDictionaryRef options);

View File

@ -4,6 +4,7 @@
const CFStringRef kCGImageSourceCreateThumbnailFromImageAlways = CFSTR("kCGImageSourceCreateThumbnailFromImageAlways");
const CFStringRef kCGImageSourceCreateThumbnailFromImageIfAbsent = CFSTR("kCGImageSourceCreateThumbnailFromImageIfAbsent");
const CFStringRef kCGImageSourceCreateThumbnailWithTransform = CFSTR("kCGImageSourceCreateThumbnailWithTransform");
const CFStringRef kCGImageSourceShouldAllowFloat = CFSTR("kCGImageSourceShouldAllowFloat");
const CFStringRef kCGImageSourceShouldCache = CFSTR("kCGImageSourceShouldCache");
const CFStringRef kCGImageSourceThumbnailMaxPixelSize = CFSTR("kCGImageSourceThumbnailMaxPixelSize");

View File

@ -17,7 +17,15 @@
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Foundation/Foundation.h>
#import <PDFKit/PDFKitExport.h>
#import <Foundation/Foundation.h>
typedef NSString *PDFDocumentAttribute;
PDFKIT_EXPORT PDFDocumentAttribute const PDFDocumentAuthorAttribute;
PDFKIT_EXPORT PDFDocumentAttribute const PDFDocumentCreationDateAttribute;
PDFKIT_EXPORT PDFDocumentAttribute const PDFDocumentKeywordsAttribute;
PDFKIT_EXPORT PDFDocumentAttribute const PDFDocumentTitleAttribute;
@interface PDFDocument : NSObject

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#ifdef __cplusplus
#define PDFKIT_EXPORT extern "C"
#else
#define PDFKIT_EXPORT extern
#endif // __cplusplus

View File

@ -19,6 +19,11 @@
#import <PDFKit/PDFDocument.h>
PDFDocumentAttribute const PDFDocumentAuthorAttribute = @"Author";
PDFDocumentAttribute const PDFDocumentCreationDateAttribute = @"CreationDate";
PDFDocumentAttribute const PDFDocumentKeywordsAttribute = @"Keywords";
PDFDocumentAttribute const PDFDocumentTitleAttribute = @"Title";
@implementation PDFDocument
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector

View File

@ -47,7 +47,12 @@ add_framework(WebKit
src/_WKWebsiteDataStore.m
src/_WKWebsiteDataStoreConfiguration.m
src/_WKWebsitePolicies.m
src/DOMNode.m
src/DOMObject.m
src/WebView.m
src/WebDownload.m
src/WebHistory.m
src/WebScriptObject.m
src/WKCustomProtocolLoader.m
src/WKCustomProtocol.m
src/WKNetworkSessionDelegate.m
@ -160,4 +165,5 @@ add_framework(WebKit
system
objc
Foundation
CFNetwork
)

View File

@ -0,0 +1,23 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <WebKit/DOMObject.h>
@interface DOMNode : DOMObject
@end

View File

@ -0,0 +1,23 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <WebKit/WebScriptObject.h>
@interface DOMObject : WebScriptObject
@end

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <Foundation/NSURLDownload.h>
#import <AppKit/NSWindow.h>
@interface WebDownload : NSURLDownload
@end

View File

@ -0,0 +1,23 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <Foundation/NSObject.h>
@interface WebHistory : NSObject
@end

View File

@ -190,6 +190,8 @@
#import <WebKit/WKWindowFeatures.h>
#import <WebKit/WebView.h>
extern NSString *WebKitErrorDomain;
@protocol DOMEventListener
@end

View File

@ -0,0 +1,23 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <Foundation/NSObject.h>
@interface WebScriptObject : NSObject
@end

View File

@ -1,6 +1,9 @@
#import <Cocoa/Cocoa.h>
extern NSString *WebElementImageKey;
extern NSString *WebElementLinkURLKey;
extern NSString *WebElementLinkLabelKey;
extern NSString *WebElementLinkTargetFrameKey;
extern NSString *WebElementLinkTitleKey;
extern NSString *WebElementLinkURLKey;
extern NSString *const WebViewDidChangeSelectionNotification;

View File

@ -0,0 +1,36 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <WebKit/DOMNode.h>
#import <Foundation/NSMethodSignature.h>
#import <Foundation/NSInvocation.h>
@implementation DOMNode
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -0,0 +1,36 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <WebKit/DOMObject.h>
#import <Foundation/NSMethodSignature.h>
#import <Foundation/NSInvocation.h>
@implementation DOMObject
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -0,0 +1,36 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <WebKit/WebDownload.h>
#import <Foundation/NSMethodSignature.h>
#import <Foundation/NSInvocation.h>
@implementation WebDownload
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -0,0 +1,36 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <WebKit/WebHistory.h>
#import <Foundation/NSMethodSignature.h>
#import <Foundation/NSInvocation.h>
@implementation WebHistory
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -52,6 +52,8 @@
@end
NSString *WebKitErrorDomain = @"WebKitErrorDomain";
static int verbose = 0;
__attribute__((constructor))

View File

@ -0,0 +1,36 @@
/*
This file is part of Darling.
Copyright (C) 2025 Darling Developers
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#import <WebKit/WebScriptObject.h>
#import <Foundation/NSMethodSignature.h>
#import <Foundation/NSInvocation.h>
@implementation WebScriptObject
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
{
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
}
- (void)forwardInvocation:(NSInvocation *)anInvocation
{
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
}
@end

View File

@ -1,6 +1,9 @@
#import <WebKit/WebView.h>
NSString *WebElementImageKey = @"WebElementImage";
NSString *WebElementLinkURLKey = @"WebElementLinkURL";
NSString *WebElementLinkLabelKey = @"WebElementLinkLabel";
NSString *WebElementLinkTargetFrameKey = @"WebElementTargetFrame";
NSString *WebElementLinkTitleKey = @"WebElementLinkTitle";
NSString *WebElementLinkURLKey = @"WebElementLinkURL";
NSString *const WebViewDidChangeSelectionNotification = @"WebViewDidChangeSelectionNotification";