Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/frameworks/AddressBook/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/frameworks/AddressBook/include/AddressBook/ABGlobals.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
23 changes: 23 additions & 0 deletions src/frameworks/AddressBook/include/AddressBook/ABPerson.h
Original file line number Diff line number Diff line change
@@ -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
23 changes: 23 additions & 0 deletions src/frameworks/AddressBook/include/AddressBook/ABSearchElement.h
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions src/frameworks/AddressBook/src/ABGlobals.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
NSString *const kABPhoneProperty=@"ABPhoneProperty";
NSString *const kABTitleProperty=@"ABTitleProperty";
NSString *const kABURLsProperty=@"ABURLsProperty";
NSString *const kABSuffixProperty = @"Suffix";

NSString *const kABPersonFlags=@"ABPersonFlags";

Expand Down
36 changes: 36 additions & 0 deletions src/frameworks/AddressBook/src/ABPerson.m
Original file line number Diff line number Diff line change
@@ -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
36 changes: 36 additions & 0 deletions src/frameworks/AddressBook/src/ABSearchElement.m
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions src/frameworks/CoreImage/include/CoreImage/CIFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

#include <Foundation/Foundation.h>

extern NSString *const kCIInputRadiusKey;

@interface CIFilter : NSObject

@end
1 change: 1 addition & 0 deletions src/frameworks/CoreImage/src/CIFilter.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
NSString * const kCIInputExtentKey = @"inputExtent";
NSString * const kCIInputImageKey = @"inputImage";
NSString * const kCIInputSaturationKey = @"inputSaturation";
NSString *const kCIInputRadiusKey = @"inputRadius";
NSString * const kCIOutputImageKey = @"outputImage";
NSString * const kCIApplyOptionDefinition = @"definition";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
#include <CarbonCore/CarbonCore.h>
#include <FSEvents/FSEvents.h>
#include <LaunchServices/LaunchServices.h>
#include <SearchKit/SearchKit.h>

#endif

24 changes: 24 additions & 0 deletions src/frameworks/CoreServices/include/SearchKit/Analysis.h
Original file line number Diff line number Diff line change
@@ -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;
25 changes: 25 additions & 0 deletions src/frameworks/CoreServices/include/SearchKit/SearchKit.h
Original file line number Diff line number Diff line change
@@ -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
24 changes: 24 additions & 0 deletions src/frameworks/CoreServices/src/SearchKit/Analysis.m
Original file line number Diff line number Diff line change
@@ -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");
2 changes: 1 addition & 1 deletion src/frameworks/CoreServices/src/SearchKit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ add_framework(SearchKit
PARENT "CoreServices"

SOURCES
empty.c
Analysis.m

DEPENDENCIES
CoreFoundation
Expand Down
Empty file.
2 changes: 2 additions & 0 deletions src/frameworks/ImageIO/include/ImageIO/CGImageSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
1 change: 1 addition & 0 deletions src/frameworks/ImageIO/src/CGImageSource.m
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down
10 changes: 9 additions & 1 deletion src/frameworks/PDFKit/include/PDFKit/PDFDocument.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
24 changes: 24 additions & 0 deletions src/frameworks/PDFKit/include/PDFKit/PDFKitExport.h
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions src/frameworks/PDFKit/src/PDFDocument.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions src/frameworks/WebKit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -160,4 +165,5 @@ add_framework(WebKit
system
objc
Foundation
CFNetwork
)
23 changes: 23 additions & 0 deletions src/frameworks/WebKit/include/WebKit/DOMNode.h
Original file line number Diff line number Diff line change
@@ -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
Loading