this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: add symbols for VSCode

+471 -15
+4
src/frameworks/AVFoundation/constants.m
··· 60 60 NSString *const AVVideoMaxKeyFrameIntervalKey = @"MaxKeyFrameInterval"; 61 61 NSString *const AVVideoWidthKey = @"AVVideoWidthKey"; 62 62 63 + NSString *const AVVideoScalingModeKey = @"AVVideoScalingModeKey"; 64 + NSString *const AVVideoScalingModeResizeAspectFill = @"AVVideoScalingModeResizeAspectFill"; 65 + 63 66 const AVCaptureSessionPreset AVCaptureSessionPreset3840x2160 = @"AVCaptureSessionPreset3840x2160"; 64 67 const AVCaptureSessionPreset AVCaptureSessionPreset1920x1080 = @"AVCaptureSessionPreset1920x1080"; 65 68 const AVCaptureSessionPreset AVCaptureSessionPreset1280x720 = @"AVCaptureSessionPreset1280x720"; ··· 83 86 const AVLayerVideoGravity AVLayerVideoGravityResizeAspectFill = @"AVLayerVideoGravityResizeAspectFill"; 84 87 85 88 const AVMediaType AVMediaTypeAudio = @"soun"; 89 + const AVMediaType AVMediaTypeMuxed = @"muxx"; 86 90 const AVMediaType AVMediaTypeVideo = @"vide"; 87 91 88 92 const AVMetadataKey AVMetadataCommonKeyAlbumName = @"albumName";
+1
src/frameworks/AVFoundation/include/AVFoundation/AVMediaFormat.h
··· 14 14 typedef NSString *AVFileType; 15 15 16 16 extern const AVMediaType AVMediaTypeAudio; 17 + extern const AVMediaType AVMediaTypeMuxed; 17 18 extern const AVMediaType AVMediaTypeVideo; 18 19 19 20 extern const AVFileType AVFileTypeMPEG4;
+3
src/frameworks/AVFoundation/include/AVFoundation/AVVideoSettings.h
··· 10 10 extern NSString *const AVVideoCompressionPropertiesKey; 11 11 extern NSString *const AVVideoHeightKey; 12 12 extern NSString *const AVVideoWidthKey; 13 + 14 + extern NSString *const AVVideoScalingModeKey; 15 + extern NSString *const AVVideoScalingModeResizeAspectFill;
+1
src/frameworks/CoreBluetooth/CMakeLists.txt
··· 43 43 src/CBManager.m 44 44 src/CBATTRequest.m 45 45 src/CBPairingAgent.m 46 + src/CBError.m 46 47 47 48 DEPENDENCIES 48 49 system
+27
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBAdvertisementData.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2025 Darling Developers 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Foundation/Foundation.h> 21 + 22 + extern NSString *const CBAdvertisementDataLocalNameKey; 23 + extern NSString *const CBAdvertisementDataManufacturerDataKey; 24 + extern NSString *const CBAdvertisementDataServiceDataKey; 25 + extern NSString *const CBAdvertisementDataServiceUUIDsKey; 26 + extern NSString *const CBAdvertisementDataOverflowServiceUUIDsKey; 27 + extern NSString *const CBAdvertisementDataTxPowerLevelKey;
+1
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBCentralManager.h
··· 18 18 */ 19 19 20 20 #include <Foundation/Foundation.h> 21 + #import <CoreBluetooth/CBCentralManagerConstants.h> 21 22 22 23 @interface CBCentralManager : NSObject 23 24
+22
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBCentralManagerConstants.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2025 Darling Developers 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <Foundation/Foundation.h> 21 + 22 + extern NSString *const CBCentralManagerScanOptionAllowDuplicatesKey;
+23
src/frameworks/CoreBluetooth/include/CoreBluetooth/CBError.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2025 Darling Developers 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Foundation/Foundation.h> 21 + 22 + extern NSString *const CBErrorDomain; 23 + extern NSString *const CBATTErrorDomain;
+2
src/frameworks/CoreBluetooth/include/CoreBluetooth/CoreBluetooth.h
··· 39 39 #import <CoreBluetooth/CBPeripheral.h> 40 40 #import <CoreBluetooth/CBService.h> 41 41 #import <CoreBluetooth/CBMutableService.h> 42 + #import <CoreBluetooth/CBError.h> 42 43 #import <CoreBluetooth/CBUUID.h> 44 + #import <CoreBluetooth/CBAdvertisementData.h> 43 45 #import <CoreBluetooth/CBL2CAPChannel.h> 44 46 #import <CoreBluetooth/CBPeer.h> 45 47 #import <CoreBluetooth/CBClassicManager.h>
+2
src/frameworks/CoreBluetooth/src/CBCentralManager.m
··· 19 19 20 20 #import <CoreBluetooth/CBCentralManager.h> 21 21 22 + NSString *const CBCentralManagerScanOptionAllowDuplicatesKey = @"kCBScanOptionAllowDuplicates"; 23 + 22 24 @implementation CBCentralManager 23 25 24 26 - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
+23
src/frameworks/CoreBluetooth/src/CBError.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2025 Darling Developers 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <CoreBluetooth/CBError.h> 21 + 22 + NSString *const CBErrorDomain = @"CBErrorDomain"; 23 + NSString *const CBATTErrorDomain = @"CBATTErrorDomain";
+7
src/frameworks/CoreBluetooth/src/CoreBluetooth.m
··· 22 22 #include <stdlib.h> 23 23 #include <stdio.h> 24 24 25 + NSString *const CBAdvertisementDataLocalNameKey = @"kCBAdvDataLocalName"; 26 + NSString *const CBAdvertisementDataManufacturerDataKey = @"kCBAdvDataManufacturerData"; 27 + NSString *const CBAdvertisementDataServiceDataKey = @"kCBAdvDataServiceData"; 28 + NSString *const CBAdvertisementDataServiceUUIDsKey = @"kCBAdvDataServiceUUIDs"; 29 + NSString *const CBAdvertisementDataOverflowServiceUUIDsKey = @"kCBAdvDataHashedServiceUUIDs"; 30 + NSString *const CBAdvertisementDataTxPowerLevelKey = @"kCBAdvDataTxPowerLevel"; 31 + 25 32 static int verbose = 0; 26 33 27 34 __attribute__((constructor))
+3 -3
src/frameworks/CoreMIDI/include/CoreMIDI/MIDIServices.h
··· 6 6 /* Identification */ 7 7 extern const CFStringRef kMIDIPropertyName API_AVAILABLE(macos(10.0)); 8 8 // extern const CFStringRef kMIDIPropertyModel API_AVAILABLE(macos(10.0)); 9 - // extern const CFStringRef kMIDIPropertyManufacturer API_AVAILABLE(macos(10.0)); 9 + extern const CFStringRef kMIDIPropertyManufacturer API_AVAILABLE(macos(10.0)); 10 10 extern const CFStringRef kMIDIPropertyUniqueID API_AVAILABLE(macos(10.0)); 11 11 // extern const CFStringRef kMIDIPropertyDeviceID API_AVAILABLE(macos(10.0)); 12 12 ··· 23 23 24 24 /* Presentation */ 25 25 // extern const CFStringRef kMIDIPropertyImage API_AVAILABLE(macos(10.2)); 26 - // extern const CFStringRef kMIDIPropertyDisplayName API_AVAILABLE(macos(10.4)); 26 + extern const CFStringRef kMIDIPropertyDisplayName API_AVAILABLE(macos(10.4)); 27 27 28 28 /* Audio */ 29 29 // extern const CFStringRef kMIDIPropertyPanDisruptsStereo API_AVAILABLE(macos(10.2)); ··· 50 50 51 51 /* Drivers */ 52 52 // extern const CFStringRef kMIDIPropertyDriverOwner API_AVAILABLE(macos(10.1)); 53 - // extern const CFStringRef kMIDIPropertyDriverVersion API_AVAILABLE(macos(10.2)); 53 + extern const CFStringRef kMIDIPropertyDriverVersion API_AVAILABLE(macos(10.2)); 54 54 55 55 /* Connections */ 56 56 // extern const CFStringRef kMIDIPropertyCanRoute API_AVAILABLE(macos(10.0));
+7
src/frameworks/CoreMIDI/src/MIDIServices.m
··· 6 6 7 7 /* Identification */ 8 8 const CFStringRef kMIDIPropertyName = nil; 9 + const CFStringRef kMIDIPropertyManufacturer = nil; 9 10 const CFStringRef kMIDIPropertyUniqueID = nil; 11 + 12 + /* Presentation */ 13 + const CFStringRef kMIDIPropertyDisplayName = nil; 10 14 11 15 /* Timing */ 12 16 const CFStringRef kMIDIPropertyAdvanceScheduleTimeMuSec = nil; 17 + 18 + /* Drivers */ 19 + const CFStringRef kMIDIPropertyDriverVersion = nil; 13 20 14 21 /* Connections */ 15 22 const CFStringRef kMIDIPropertyConnectionUniqueID = nil;
+2 -1
src/frameworks/CoreMedia/CMakeLists.txt
··· 19 19 20 20 SOURCES 21 21 src/CoreMedia.c 22 - src/CMTime.c 22 + src/CMTime.c 23 + src/CMSampleBuffer.c 23 24 24 25 DEPENDENCIES 25 26 system
+27
src/frameworks/CoreMedia/include/CoreMedia/CMSampleBuffer.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2025 Darling Developers 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #ifndef _CMSAMPLEBUFFER_H_ 21 + #define _CMSAMPLEBUFFER_H_ 22 + 23 + #include <CoreFoundation/CoreFoundation.h> 24 + 25 + extern const CFStringRef kCMSampleAttachmentKey_DisplayImmediately; 26 + 27 + #endif
+9 -1
src/frameworks/CoreMedia/include/CoreMedia/CMTime.h
··· 20 20 #ifndef _CMTIME_H_ 21 21 #define _CMTIME_H_ 22 22 23 + #include <CoreFoundation/CFBase.h> 23 24 #include <stdint.h> 24 25 25 26 typedef int64_t CMTimeValue; 26 27 typedef int32_t CMTimeScale; 27 28 typedef int64_t CMTimeEpoch; 28 - typedef uint32_t CMTimeFlags; 29 + typedef CF_OPTIONS(uint32_t, CMTimeFlags) { 30 + kCMTimeFlags_Valid = (1UL << 0), 31 + kCMTimeFlags_HasBeenRounded = (1UL << 1), 32 + kCMTimeFlags_PositiveInfinity = (1UL << 2), 33 + kCMTimeFlags_NegativeInfinity = (1UL << 3), 34 + kCMTimeFlags_Indefinite = (1UL << 4), 35 + kCMTimeFlags_ImpliedValueFlagsMask = kCMTimeFlags_PositiveInfinity | kCMTimeFlags_NegativeInfinity | kCMTimeFlags_Indefinite 36 + }; 29 37 30 38 typedef struct 31 39 {
+1 -1
src/frameworks/CoreMedia/include/CoreMedia/CoreMedia.h
··· 21 21 #ifndef _CoreMedia_H_ 22 22 #define _CoreMedia_H_ 23 23 24 - 25 24 #include <CoreMedia/CMTime.h> 25 + #include <CoreMedia/CMSampleBuffer.h> 26 26 27 27 void* AudioToolbox_AudioConverterDispose(void); 28 28 void* AudioToolbox_AudioConverterGetProperty(void);
+22
src/frameworks/CoreMedia/src/CMSampleBuffer.c
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2025 Darling Developers 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <CoreMedia/CMSampleBuffer.h> 21 + 22 + const CFStringRef kCMSampleAttachmentKey_DisplayImmediately = CFSTR("DisplayImmediately");
+34 -5
src/frameworks/CoreMedia/src/CMTime.c
··· 19 19 20 20 #include <CoreMedia/CMTime.h> 21 21 22 - const CMTime kCMTimeInvalid; 23 - const CMTime kCMTimeIndefinite; 24 - const CMTime kCMTimePositiveInfinity; 25 - const CMTime kCMTimeNegativeInfinity; 26 - const CMTime kCMTimeZero; 22 + const CMTime kCMTimeInvalid = { 23 + .value = 0, 24 + .timescale = 0, 25 + .flags = 0, 26 + .epoch = 0 27 + }; 28 + 29 + const CMTime kCMTimeIndefinite = { 30 + .value = 0, 31 + .timescale = 0, 32 + .flags = kCMTimeFlags_Valid | kCMTimeFlags_Indefinite, 33 + .epoch = 0 34 + }; 35 + 36 + const CMTime kCMTimePositiveInfinity = { 37 + .value = 0, 38 + .timescale = 0, 39 + .flags = kCMTimeFlags_Valid | kCMTimeFlags_PositiveInfinity, 40 + .epoch = 0 41 + }; 42 + 43 + const CMTime kCMTimeNegativeInfinity = { 44 + .value = 0, 45 + .timescale = 0, 46 + .flags = kCMTimeFlags_Valid | kCMTimeFlags_NegativeInfinity, 47 + .epoch = 0 48 + }; 49 + 50 + const CMTime kCMTimeZero = { 51 + .value = 0, 52 + .timescale = 1, 53 + .flags = kCMTimeFlags_Valid, 54 + .epoch = 0 55 + };
+34
src/frameworks/CoreServices/include/LaunchServices/LSQuarantine.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2025 Darling Developers 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #ifndef __LSQUARANTINE__ 21 + #define __LSQUARANTINE__ 22 + 23 + #include <CoreFoundation/CoreFoundation.h> 24 + 25 + extern CFStringRef const kLSQuarantineAgentBundleIdentifierKey; 26 + extern CFStringRef const kLSQuarantineAgentNameKey; 27 + extern CFStringRef const kLSQuarantineDataURLKey; 28 + extern CFStringRef const kLSQuarantineOriginURLKey; 29 + extern CFStringRef const kLSQuarantineTimeStampKey; 30 + extern CFStringRef const kLSQuarantineTypeKey; 31 + extern CFStringRef const kLSQuarantineTypeOtherDownload; 32 + extern CFStringRef const kLSQuarantineTypeWebDownload; 33 + 34 + #endif // __LSQUARANTINE__
-1
src/frameworks/CoreServices/include/LaunchServices/LSSharedFile.h
··· 7 7 extern const CFStringRef kLSSharedFileListGlobalLoginItems; 8 8 // extern const LSSharedFileListRef kLSSharedFileListItemBeforeFirst; 9 9 extern const CFStringRef kLSSharedFileListItemHidden; 10 - // extern const LSSharedFileListItemRef kLSSharedFileListItemLast; 11 10 extern const CFStringRef kLSSharedFileListLoginItemHidden; 12 11 extern const CFStringRef kLSSharedFileListRecentApplicationItems; 13 12 extern const CFStringRef kLSSharedFileListRecentDocumentItems;
+1 -1
src/frameworks/CoreServices/include/LaunchServices/LaunchServices.h
··· 3 3 4 4 #include <LaunchServices/LSInfo.h> 5 5 #include <LaunchServices/LSOpen.h> 6 + #include <LaunchServices/LSQuarantine.h> 6 7 #include <LaunchServices/LSSharedFile.h> 7 8 #include <LaunchServices/UTCoreTypes.h> 8 9 #include <LaunchServices/UTType.h> 9 10 10 11 #endif 11 -
+29
src/frameworks/CoreServices/include/SharedFileList/LSSharedFileList.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2025 Darling Developers 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #ifndef _CORESERVICES_LSSHAREDFILELIST_H_ 21 + #define _CORESERVICES_LSSHAREDFILELIST_H_ 22 + 23 + #include <CoreFoundation/CoreFoundation.h> 24 + 25 + typedef struct OpaqueLSSharedFileListItemRef *LSSharedFileListItemRef; 26 + 27 + extern LSSharedFileListItemRef kLSSharedFileListItemLast; 28 + 29 + #endif
+20
src/frameworks/CoreServices/include/SharedFileList/SharedFileList.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2025 Darling Developers 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <SharedFileList/LSSharedFileList.h>
+1 -1
src/frameworks/CoreServices/src/LaunchServices/constants.c
··· 35 35 const CFStringRef kLSSharedFileListGlobalLoginItems = CFSTR("com.apple.LSSharedFileList.GlobalLoginItems"); 36 36 // const LSSharedFileListRef kLSSharedFileListItemBeforeFirst; 37 37 const CFStringRef kLSSharedFileListItemHidden = CFSTR("com.apple.LSSharedFileList.ItemIsHidden"); 38 - // const LSSharedFileListItemRef kLSSharedFileListItemLast; 39 38 const CFStringRef kLSSharedFileListLoginItemHidden = CFSTR("com.apple.loginitem.HideOnLaunch"); 40 39 const CFStringRef kLSSharedFileListRecentApplicationItems = CFSTR("com.apple.LSSharedFileList.RecentApplications"); 41 40 const CFStringRef kLSSharedFileListRecentDocumentItems = CFSTR("com.apple.LSSharedFileList.RecentDocuments"); ··· 53 52 const CFStringRef kLSQuarantineTimeStampKey = CFSTR("LSQuarantineTimeStamp"); 54 53 const CFStringRef kLSQuarantineTypeKey = CFSTR("LSQuarantineType"); 55 54 const CFStringRef kLSQuarantineTypeOtherDownload = CFSTR("LSQuarantineTypeOtherDownload"); 55 + const CFStringRef kLSQuarantineTypeWebDownload = CFSTR("LSQuarantineTypeWebDownload"); 56 56 57 57 const CFStringRef kUTExportedTypeDeclarationsKey = CFSTR("UTExportedTypeDeclarations"); 58 58 const CFStringRef kUTImportedTypeDeclarationsKey = CFSTR("UTImportedTypeDeclarations");
+1 -1
src/frameworks/CoreServices/src/SharedFileList/CMakeLists.txt
··· 13 13 PARENT "CoreServices" 14 14 15 15 SOURCES 16 - empty.c 16 + constants.c 17 17 18 18 DEPENDENCIES 19 19 CoreFoundation
+25
src/frameworks/CoreServices/src/SharedFileList/constants.c
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2025 Darling Developers 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <SharedFileList/SharedFileList.h> 21 + 22 + struct OpaqueLSSharedFileListItemRef {}; 23 + static struct OpaqueLSSharedFileListItemRef _insertItemLast = { }; 24 + 25 + LSSharedFileListItemRef kLSSharedFileListItemLast = &_insertItemLast;
src/frameworks/CoreServices/src/SharedFileList/empty.c

This is a binary file and will not be displayed.

+19
src/frameworks/CoreVideo/include/CoreVideo/CVImageBuffer.h
··· 6 6 7 7 typedef CVBufferRef CVImageBufferRef; 8 8 9 + extern const CFStringRef kCVImageBufferPixelAspectRatioKey; 10 + extern const CFStringRef kCVImageBufferGammaLevelKey; 11 + extern const CFStringRef kCVImageBufferYCbCrMatrixKey; 12 + extern const CFStringRef kCVImageBufferColorPrimariesKey; 13 + extern const CFStringRef kCVImageBufferTransferFunctionKey; 14 + 15 + extern CFStringRef const kCVImageBufferPixelAspectRatioHorizontalSpacingKey; 16 + extern CFStringRef const kCVImageBufferPixelAspectRatioVerticalSpacingKey; 17 + 18 + extern CFStringRef const kCVImageBufferYCbCrMatrix_ITU_R_709_2; 19 + extern CFStringRef const kCVImageBufferYCbCrMatrix_ITU_R_601_4; 20 + extern CFStringRef const kCVImageBufferYCbCrMatrix_SMPTE_240M_1995; 21 + extern CFStringRef const kCVImageBufferColorPrimaries_ITU_R_709_2; 22 + extern CFStringRef const kCVImageBufferColorPrimaries_EBU_3213; 23 + extern CFStringRef const kCVImageBufferColorPrimaries_SMPTE_C; 24 + extern CFStringRef const kCVImageBufferTransferFunction_ITU_R_709_2; 25 + extern CFStringRef const kCVImageBufferTransferFunction_SMPTE_240M_1995; 26 + extern CFStringRef const kCVImageBufferTransferFunction_UseGamma; 27 + 9 28 #endif // _COREVIDEO_CVIMAGEBUFFER_H_
+22
src/frameworks/CoreVideo/src/constants.c
··· 1 1 #include <CoreFoundation/CoreFoundation.h> 2 2 3 + const CFStringRef kCVImageBufferPixelAspectRatioKey = CFSTR("CVPixelAspectRatio"); 4 + const CFStringRef kCVImageBufferGammaLevelKey = CFSTR("CVImageBufferGammaLevel"); 5 + const CFStringRef kCVImageBufferYCbCrMatrixKey = CFSTR("CVImageBufferYCbCrMatrix"); 6 + const CFStringRef kCVImageBufferColorPrimariesKey = CFSTR("CVImageBufferColorPrimaries"); 7 + const CFStringRef kCVImageBufferTransferFunctionKey = CFSTR("CVImageBufferTransferFunction"); 3 8 const CFStringRef kCVImageBufferChromaLocationBottomFieldKey = CFSTR("CVImageBufferChromaLocationBottomField"); 4 9 const CFStringRef kCVImageBufferChromaLocationTopFieldKey = CFSTR("CVImageBufferChromaLocationTopField"); 10 + 11 + const CFStringRef kCVImageBufferPixelAspectRatioHorizontalSpacingKey = CFSTR("CVImageBufferPixelAspectRatioHorizontalSpacing"); 12 + const CFStringRef kCVImageBufferPixelAspectRatioVerticalSpacingKey = CFSTR("CVImageBufferPixelAspectRatioVerticalSpacing"); 13 + 14 + const CFStringRef kCVImageBufferYCbCrMatrix_ITU_R_709_2 = CFSTR("ITU_R_709_2"); 15 + const CFStringRef kCVImageBufferYCbCrMatrix_ITU_R_601_4 = CFSTR("ITU_R_601_4"); 16 + const CFStringRef kCVImageBufferYCbCrMatrix_SMPTE_240M_1995 = CFSTR("SMPTE_240M_1995"); 17 + 18 + const CFStringRef kCVImageBufferColorPrimaries_ITU_R_709_2 = CFSTR("ITU_R_709_2"); 19 + const CFStringRef kCVImageBufferColorPrimaries_EBU_3213 = CFSTR("EBU_3213"); 20 + const CFStringRef kCVImageBufferColorPrimaries_SMPTE_C = CFSTR("SMPTE_C"); 21 + 22 + const CFStringRef kCVImageBufferTransferFunction_ITU_R_709_2 = CFSTR("ITU_R_709_2"); 23 + const CFStringRef kCVImageBufferTransferFunction_SMPTE_240M_1995 = CFSTR("SMPTE_240M_1995"); 24 + const CFStringRef kCVImageBufferTransferFunction_UseGamma = CFSTR("UseGamma"); 25 + 5 26 const CFStringRef kCVImageBufferChromaLocation_Left = CFSTR("Left"); 27 + 6 28 const CFStringRef kCVPixelBufferIOSurfacePropertiesKey = CFSTR("IOSurfaceProperties"); 7 29 const CFStringRef kCVPixelBufferOpenGLCompatibilityKey = CFSTR("OpenGLCompatibility"); 8 30 const CFStringRef kCVPixelBufferPixelFormatTypeKey = CFSTR("PixelFormatType");
+1
src/frameworks/CoreWLAN/include/CoreWLAN/CoreWLAN.h
··· 23 23 24 24 #import <Foundation/Foundation.h> 25 25 26 + #import <CoreWLAN/CoreWLANConstants.h> 26 27 #import <CoreWLAN/CWEventDelegate.h> 27 28 #import <CoreWLAN/CWInternalEventDelegate.h> 28 29 #import <CoreWLAN/CWKeychainProxy.h>
+22
src/frameworks/CoreWLAN/include/CoreWLAN/CoreWLANConstants.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2025 Darling Developers 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #import <Foundation/Foundation.h> 21 + 22 + extern NSString *const kCWScanKeyMerge;
+2
src/frameworks/CoreWLAN/src/CoreWLAN.m
··· 22 22 #include <stdlib.h> 23 23 #include <stdio.h> 24 24 25 + NSString *const kCWScanKeyMerge = @"SCAN_MERGE"; 26 + 25 27 static int verbose = 0; 26 28 27 29 __attribute__((constructor))
+2
src/frameworks/SystemConfiguration/SCSchemaDefinitions.c
··· 1 1 #include <SystemConfiguration/SCSchemaDefinitions.h> 2 2 #include <CoreFoundation/CFString.h> 3 3 4 + const CFStringRef kSCEntNetInterface = CFSTR("Interface"); 5 + 4 6 const CFStringRef kSCPropNetIPv4Addresses = CFSTR("Addresses"); 5 7 const CFStringRef kSCPropNetIPv4SubnetMasks = CFSTR("SubnetMasks"); 6 8 const CFStringRef kSCPropNetProxiesExceptionsList = CFSTR("ExceptionsList");
+1
src/frameworks/VideoToolbox/CMakeLists.txt
··· 19 19 20 20 SOURCES 21 21 src/VideoToolbox.m 22 + src/VTCompressionProperties.c 22 23 src/FigMetalTransferHelper.m 23 24 24 25 DEPENDENCIES
+37
src/frameworks/VideoToolbox/include/VideoToolbox/VTCompressionProperties.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2025 Darling Developers 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #ifndef _VTCOMPRESSIONPROPERTIES_H_ 21 + #define _VTCOMPRESSIONPROPERTIES_H_ 22 + 23 + #include <CoreFoundation/CoreFoundation.h> 24 + 25 + extern CFStringRef const kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration; 26 + 27 + extern CFStringRef const kVTCompressionPropertyKey_DataRateLimits; 28 + 29 + extern CFStringRef const kVTProfileLevel_H264_High_AutoLevel; 30 + 31 + extern CFStringRef const kVTCompressionPropertyKey_MaxFrameDelayCount; 32 + 33 + extern CFStringRef const kVTCompressionPropertyKey_ExpectedFrameRate; 34 + 35 + extern CFStringRef const kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder; 36 + 37 + #endif
+1
src/frameworks/VideoToolbox/include/VideoToolbox/VideoToolbox.h
··· 24 24 #import <Foundation/Foundation.h> 25 25 26 26 #import <VideoToolbox/FigMetalTransferHelper.h> 27 + #import <VideoToolbox/VTCompressionProperties.h> 27 28 28 29 void* COLOR_Y2R24(void); 29 30 void* COLOR_Y2R32(void);
+32
src/frameworks/VideoToolbox/src/VTCompressionProperties.c
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2025 Darling Developers 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <VideoToolbox/VTCompressionProperties.h> 21 + 22 + const CFStringRef kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration = CFSTR("MaxKeyFrameIntervalDuration"); 23 + 24 + const CFStringRef kVTCompressionPropertyKey_DataRateLimits = CFSTR("DataRateLimits"); 25 + 26 + const CFStringRef kVTProfileLevel_H264_High_AutoLevel = CFSTR("H264_High_AutoLevel"); 27 + 28 + const CFStringRef kVTCompressionPropertyKey_MaxFrameDelayCount = CFSTR("MaxFrameDelayCount"); 29 + 30 + const CFStringRef kVTCompressionPropertyKey_ExpectedFrameRate = CFSTR("ExpectedFrameRate"); 31 + 32 + const CFStringRef kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder = CFSTR("RequireHardwareAcceleratedVideoEncoder");