this repo has no description
1
fork

Configure Feed

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

Reexport ApplicationServices dependencies

+891 -168
+9 -8
cmake/use_ld64.cmake
··· 67 67 ENDFUNCTION(use_ld64) 68 68 69 69 function(reexport reexporter reexportee) 70 - get_property(reexportee_binary_dir TARGET ${reexportee} PROPERTY BINARY_DIR) 71 - get_property(reexportee_output_name TARGET ${reexportee} PROPERTY OUTPUT_NAME) 70 + add_dependencies(${reexporter} ${reexportee}) 71 + set(reexportee_binary_dir "$<TARGET_PROPERTY:${reexportee},BINARY_DIR>") 72 + set(reexportee_output_name "$<TARGET_PROPERTY:${reexportee},OUTPUT_NAME>") 73 + message("binary dir: ${reexportee_binary_dir}, output name: ${reexportee_output_name}") 72 74 if(NOT DEFINED reexportee_output_name) 73 - get_property(reexportee_output_name TARGET ${reexportee} PROPERTY DYLIB_BUILD_NAME) 75 + set(reexportee_output_name "$<TARGET_PROPERTY:${reexportee},DYLIB_BUILD_NAME>") 74 76 if(NOT DEFINED reexportee_output_name) 75 77 message(FATAL_ERROR "failed to get reexportee path") 76 78 endif(NOT DEFINED reexportee_output_name) 77 79 endif(NOT DEFINED reexportee_output_name) 78 80 set(reexportee_output "${reexportee_binary_dir}/${reexportee_output_name}") 79 - get_property(reexportee_install_name TARGET ${reexportee} PROPERTY DYLIB_INSTALL_NAME) 80 - set_property(TARGET ${reexporter} APPEND_STRING PROPERTY 81 - LINK_FLAGS " -Wl,-reexport_library,${reexportee_output} ") 82 - set_property(GLOBAL APPEND_STRING PROPERTY ld_dylib_paths " -Wl,-dylib_file,${reexportee_install_name}:${reexportee_output} ") 83 - add_dependencies(${reexporter} ${reexportee}) 81 + set(reexportee_install_name "$<TARGET_PROPERTY:${reexportee},DYLIB_INSTALL_NAME>") 82 + set_property(TARGET ${reexporter} APPEND PROPERTY 83 + LINK_OPTIONS " -Wl,-reexport_library,${reexportee_output} ") 84 + #set_property(GLOBAL APPEND_STRING PROPERTY ld_dylib_paths " -Wl,-dylib_file,${reexportee_install_name}:${reexportee_output} ") 84 85 endfunction(reexport)
+20 -153
src/ApplicationServices/ApplicationServices.c
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 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 + 1 20 #include <CoreFoundation/CoreFoundation.h> 21 + #include <CoreGraphics/CGDirectDisplay.h> 2 22 3 23 const char* ApplicationServicesVersionString = "Darling ApplicationServices-48"; 4 24 const unsigned long long ApplicationServicesVersionNumber = 0x4048000000000000; ··· 11 31 /* Not const for some reason */ 12 32 CFStringRef kAXTrustedCheckOptionPrompt = CFSTR("AXTrustedCheckOptionPrompt"); 13 33 14 - #include <CoreFoundation/CoreFoundation.h> 15 - #include <CoreGraphics/CGDirectDisplay.h> 16 - #include <CoreGraphics/CGGeometry.h> 17 34 #include "MacTypes.h" 18 35 19 36 static int verbose = 0; ··· 33 50 typedef Fixed ATSUTextMeasurement; 34 51 typedef void* ATSUAttributeValuePtr; 35 52 36 - typedef float CGGammaValue; 37 - typedef int32_t CGWindowLevel; 38 - 39 53 typedef uint32_t UniCharArrayOffset; 40 54 typedef char* ConstUniCharArrayPtr; 41 55 ··· 44 58 45 59 typedef uint32_t FMFont; 46 60 47 - 48 - // CGDirect Stubs - should probably be in cocoatron 49 - 50 - CGError CGDisplayShowCursor(CGDirectDisplayID display) 51 - { 52 - if (verbose) puts("STUB: CGDisplayShowCursor called"); 53 - return (CGError)0; 54 - } 55 - 56 - boolean_t CGCursorIsVisible(void) 57 - { 58 - if (verbose) puts("STUB: CGCursorIsVisible called"); 59 - return false; 60 - } 61 - 62 - CFArrayRef CGDisplayAvailableModes(CGDirectDisplayID a) 63 - { 64 - // Usual keys: Width, Height, Mode, BitsPerPixel, SamplesPerPixel, RefreshRate, UsableForDesktopGUI, IOFlags, kCGDisplayBytesPerRow, IODisplayModeID 65 - 66 - if (verbose) puts("STUB: CGDisplayAvailableModes called"); 67 - 68 - CFTypeRef arrayValues[ 1 ]; 69 - 70 - CFTypeRef dummyDisplayKeys[ 3 ]; 71 - CFTypeRef dummyDisplayValues[ 3 ]; 72 - 73 - dummyDisplayKeys[0] = CFSTR("Width"); 74 - dummyDisplayKeys[1] = CFSTR("Height"); 75 - dummyDisplayKeys[2] = CFSTR("BitsPerPixel"); 76 - 77 - // TODO: put some real values here 78 - int val = 640; 79 - dummyDisplayValues[0] = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &val); 80 - val = 480; 81 - dummyDisplayValues[1] = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &val); 82 - val = 32; 83 - dummyDisplayValues[2] = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &val); 84 - 85 - CFDictionaryRef dictionary = CFDictionaryCreate( 86 - kCFAllocatorDefault, 87 - (const void **)&dummyDisplayKeys, 88 - (const void **)&dummyDisplayValues, 89 - 3, 90 - &kCFTypeDictionaryKeyCallBacks, 91 - &kCFTypeDictionaryValueCallBacks 92 - ); 93 - 94 - arrayValues[0] = dictionary; 95 - 96 - CFArrayRef ret = CFArrayCreate(kCFAllocatorDefault, 97 - &arrayValues, 98 - 1, 99 - &kCFTypeArrayCallBacks); 100 - 101 - CFRelease(dummyDisplayValues[0]); 102 - CFRelease(dummyDisplayValues[1]); 103 - CFRelease(dummyDisplayValues[2]); 104 - 105 - // TODO: autorelease ret? 106 - return ret; 107 - } 108 - 109 - CGRect CGDisplayBounds(CGDirectDisplayID a) 110 - { 111 - if (verbose) puts("STUB: CGDisplayBounds called"); 112 - return CGRectMake(0,0,640,480); 113 - } 114 - 115 - CGError CGDisplayHideCursor(CGDirectDisplayID a) 116 - { 117 - if (verbose) puts("STUB: CGDisplayHideCursor called"); 118 - return (CGError)0; 119 - } 120 - 121 - CGOpenGLDisplayMask CGDisplayIDToOpenGLDisplayMask(CGDirectDisplayID a) 122 - { 123 - if (verbose) puts("STUB: CGDisplayIDToOpenGLDisplayMask called"); 124 - return 0; 125 - } 126 - 127 - CGError CGDisplayMoveCursorToPoint(CGDirectDisplayID a, CGPoint b) 128 - { 129 - if (verbose) puts("STUB: CGDisplayMoveCursorToPoint called"); 130 - return (CGError)0; 131 - } 132 - 133 - void CGDisplayRestoreColorSyncSettings(void) 134 - { 135 - if (verbose) puts("STUB: CGDisplayRestoreColorSyncSettings called"); 136 - 137 - } 138 - 139 - CGError CGGetActiveDisplayList(uint32_t a, CGDirectDisplayID *b, uint32_t *c) 140 - { 141 - if (verbose) puts("STUB: CGGetActiveDisplayList called"); 142 - return (CGError)0; 143 - } 144 - 145 - CGError CGGetDisplayTransferByFormula(CGDirectDisplayID a, CGGammaValue *b, CGGammaValue *c, CGGammaValue *d, CGGammaValue *e, CGGammaValue *f, CGGammaValue *g, CGGammaValue *h, CGGammaValue *i, CGGammaValue *j) 146 - { 147 - if (verbose) puts("STUB: CGGetDisplayTransferByFormula called"); 148 - return (CGError)0; 149 - } 150 - 151 - CGError CGGetDisplayTransferByTable(CGDirectDisplayID a, uint32_t b, CGGammaValue *c, CGGammaValue *d, CGGammaValue *e, uint32_t *f) 152 - { 153 - if (verbose) puts("STUB: CGGetDisplayTransferByTable called"); 154 - return (CGError)0; 155 - } 156 - 157 - void CGGetLastMouseDelta(int32_t *a, int32_t *b) 158 - { 159 - if (verbose) puts("STUB: CGGetLastMouseDelta called"); 160 - 161 - } 162 - 163 - CGDirectDisplayID CGMainDisplayID(void) 164 - { 165 - if (verbose) puts("STUB: CGMainDisplayID called"); 166 - return (CGDirectDisplayID)0; 167 - } 168 - 169 - CGError CGSetDisplayTransferByFormula(CGDirectDisplayID a, CGGammaValue b, CGGammaValue c, CGGammaValue d, CGGammaValue e, CGGammaValue f, CGGammaValue g, CGGammaValue h, CGGammaValue i, CGGammaValue j) 170 - { 171 - if (verbose) puts("STUB: CGSetDisplayTransferByFormula called"); 172 - return (CGError)0; 173 - } 174 - 175 - CGError CGSetDisplayTransferByTable(CGDirectDisplayID a, uint32_t b, const CGGammaValue *c, const CGGammaValue *d, const CGGammaValue *e) 176 - { 177 - if (verbose) puts("STUB: CGSetDisplayTransferByTable called"); 178 - return (CGError)0; 179 - } 180 - 181 - CGError CGSetLocalEventsSuppressionInterval(CFTimeInterval a) 182 - { 183 - if (verbose) puts("STUB: CGSetLocalEventsSuppressionInterval called"); 184 - return (CGError)0; 185 - } 186 - 187 - CGWindowLevel CGShieldingWindowLevel(void) 188 - { 189 - if (verbose) puts("STUB: CGShieldingWindowLevel called"); 190 - return 0; 191 - } 192 - 193 - // End CGDirect Stubs 194 61 195 62 196 63 // ATS Stubs
+14 -5
src/ApplicationServices/CMakeLists.txt
··· 1 1 project(ApplicationServices) 2 2 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 3 4 set(DYLIB_CURRENT_VERSION "48.0.0") 4 5 5 6 add_framework(ApplicationServices ··· 8 9 SOURCES 9 10 ApplicationServices.c 10 11 DEPENDENCIES 11 - system CoreServices CoreFoundation 12 - LINK_FLAGS 13 - " -Wl,-reexport_library,${CMAKE_BINARY_DIR}/src/CoreServices/CoreServices \ 14 - -Wl,-reexport_library,${CMAKE_BINARY_DIR}/src/external/cocotron/CoreGraphics/CoreGraphics" 12 + system CoreServices CoreFoundation 15 13 ) 16 14 17 - add_dependencies(ApplicationServices CoreServices CoreGraphics) 15 + reexport(ApplicationServices CoreGraphics) 16 + reexport(ApplicationServices CoreText) 17 + reexport(ApplicationServices ImageIO) 18 + reexport(ApplicationServices ColorSync) 19 + # reexport ATS 20 + # reexport ColorSyncLegacy 21 + reexport(ApplicationServices CoreServices) 22 + # reexport HIServices 23 + # reexport LangAnalysis 24 + # reexport PrintCore 25 + # reexport QD 26 + # reexport SpeechSynthesis
+19
src/ApplicationServices/include/ApplicationServices/ApplicationServices.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 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 + 1 20 #ifndef _ApplicationServices_H_ 2 21 #define _ApplicationServices_H_ 3 22
+4 -2
src/CMakeLists.txt
··· 284 284 add_subdirectory(external/python_modules) 285 285 add_subdirectory(SystemConfiguration) 286 286 add_subdirectory(CoreServices) 287 - add_subdirectory(ApplicationServices) 288 287 #add_subdirectory(VideoDecodeAcceleration) 289 288 add_subdirectory(DiskArbitration) 290 289 add_subdirectory(LocalAuthentication) ··· 415 414 add_subdirectory(AddressBook) 416 415 add_subdirectory(EventKit) 417 416 417 + add_subdirectory(ApplicationServices) 418 + add_subdirectory(external/cocotron/CoreGraphics) 419 + add_subdirectory(ColorSync) 420 + 418 421 # /Applications 419 422 #add_subdirectory(external/TextEdit) 420 423 ··· 449 452 450 453 add_subdirectory(lkm) 451 454 452 - add_subdirectory(external/cocotron/CoreGraphics) 453 455 add_subdirectory(external/cocotron/Onyx2D) 454 456 add_subdirectory(external/cocotron/AppKit) 455 457 add_subdirectory(external/cocotron/CoreText)
+18
src/ColorSync/CMakeLists.txt
··· 1 + project(ColorSync) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "4.7.0") 5 + 6 + include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) 7 + 8 + add_framework(ColorSync 9 + FAT 10 + CURRENT_VERSION 11 + VERSION "A" 12 + 13 + SOURCES 14 + src/ColorSync.c 15 + 16 + DEPENDENCIES 17 + system 18 + )
+132
src/ColorSync/include/ColorSync/ColorSync.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 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 + 21 + #ifndef _ColorSync_H_ 22 + #define _ColorSync_H_ 23 + 24 + void* CGDisplayCreateUUIDFromDisplayID(void); 25 + void* CGDisplayGetDisplayIDFromUUID(void); 26 + void* CMProfileFromColorSyncProfile(void); 27 + void* ColorSyncCMMCopyCMMIdentifier(void); 28 + void* ColorSyncCMMCopyLocalizedName(void); 29 + void* ColorSyncCMMCreate(void); 30 + void* ColorSyncCMMGetBundle(void); 31 + void* ColorSyncCMMGetTypeID(void); 32 + void* ColorSyncCodeFragmentGetMD5(void); 33 + void* ColorSyncConvertDoubleXYZToD50(void); 34 + void* ColorSyncConvertXYZToXYZWithChromaticAdaptationMatrix(void); 35 + void* ColorSyncCreateCodeFragment(void); 36 + void* ColorSyncCreateCodeFragmentPriv(void); 37 + void* ColorSyncCreateGammaTablesFromVCGT(void); 38 + void* ColorSyncCreateInputPoppyProfile(void); 39 + void* ColorSyncCreateOutputPoppyProfile(void); 40 + void* ColorSyncCreateOutputPoppyProfileForRGBData(void); 41 + void* ColorSyncCreateSignatureFromFourCharCode(void); 42 + void* ColorSyncCreateUUIDFromUInt32(void); 43 + void* ColorSyncDataCanBeIgnoredOnSRGBDevice(void); 44 + void* ColorSyncDeviceCopyDeviceInfo(void); 45 + void* ColorSyncDeviceCopyDeviceRegistrationInfo(void); 46 + void* ColorSyncDeviceSetCustomProfiles(void); 47 + void* ColorSyncDisplayServicesUpdateProfiles(void); 48 + void* ColorSyncGetAdaptationMtx(void); 49 + void* ColorSyncGetDisplayTransferFormulaFromVCGT(void); 50 + void* ColorSyncGetFourCharCodeFromSignature(void); 51 + void* ColorSyncGetMainDisplayID(void); 52 + void* ColorSyncGetUInt32FromUUID(void); 53 + void* ColorSyncIterateDeviceProfiles(void); 54 + void* ColorSyncIterateInstalledCMMs(void); 55 + void* ColorSyncIterateInstalledProfiles(void); 56 + void* ColorSyncIterateInstalledProfilesWithOptions(void); 57 + void* ColorSyncMakeProfile(void); 58 + void* ColorSyncMatrixGetFunction(void); 59 + void* ColorSyncMatrixGetOptions(void); 60 + void* ColorSyncMatrixGetProperties(void); 61 + void* ColorSyncMatrixGetRange(void); 62 + void* ColorSyncMatrixGetTypeID(void); 63 + void* ColorSyncNxMLUTGetFunction(void); 64 + void* ColorSyncNxMLUTGetOptions(void); 65 + void* ColorSyncNxMLUTGetProperties(void); 66 + void* ColorSyncNxMLUTGetRange(void); 67 + void* ColorSyncNxMLUTGetTypeID(void); 68 + void* ColorSyncProfileContainsTag(void); 69 + void* ColorSyncProfileCopyASCIIDescriptionString(void); 70 + void* ColorSyncProfileCopyData(void); 71 + void* ColorSyncProfileCopyDescriptionString(void); 72 + void* ColorSyncProfileCopyHeader(void); 73 + void* ColorSyncProfileCopyLocalizedDescriptionString(void); 74 + void* ColorSyncProfileCopyLocalizedStringDictionary(void); 75 + void* ColorSyncProfileCopyTag(void); 76 + void* ColorSyncProfileCopyTagSignatures(void); 77 + void* ColorSyncProfileCreate(void); 78 + void* ColorSyncProfileCreateDeviceProfile(void); 79 + void* ColorSyncProfileCreateDisplayTransferTablesFromVCGT(void); 80 + void* ColorSyncProfileCreateLink(void); 81 + void* ColorSyncProfileCreateMutable(void); 82 + void* ColorSyncProfileCreateMutableCopy(void); 83 + void* ColorSyncProfileCreateSanitizedCopy(void); 84 + void* ColorSyncProfileCreateWithDisplayID(void); 85 + void* ColorSyncProfileCreateWithName(void); 86 + void* ColorSyncProfileCreateWithURL(void); 87 + void* ColorSyncProfileEstimateGamma(void); 88 + void* ColorSyncProfileEstimateGammaWithDisplayID(void); 89 + void* ColorSyncProfileFromCMProfile(void); 90 + void* ColorSyncProfileGetData(void); 91 + void* ColorSyncProfileGetDisplayTransferFormulaFromVCGT(void); 92 + void* ColorSyncProfileGetMD5(void); 93 + void* ColorSyncProfileGetTypeID(void); 94 + void* ColorSyncProfileGetURL(void); 95 + void* ColorSyncProfileInstall(void); 96 + void* ColorSyncProfileIsWideGamut(void); 97 + void* ColorSyncProfileProducesMatrixTransform(void); 98 + void* ColorSyncProfileRemoveTag(void); 99 + void* ColorSyncProfileSetDescriptionTag(void); 100 + void* ColorSyncProfileSetHeader(void); 101 + void* ColorSyncProfileSetLocalizedStringDictionary(void); 102 + void* ColorSyncProfileSetParametricTRCTag(void); 103 + void* ColorSyncProfileSetTag(void); 104 + void* ColorSyncProfileStreamPS2Definition(void); 105 + void* ColorSyncProfileUninstall(void); 106 + void* ColorSyncProfileVerify(void); 107 + void* ColorSyncProfileWriteToFile(void); 108 + void* ColorSyncPureGammaOriginalTRC(void); 109 + void* ColorSyncRegisterDevice(void); 110 + void* ColorSyncSwapProfileHeader(void); 111 + void* ColorSyncTRCGetFunction(void); 112 + void* ColorSyncTRCGetGammaID(void); 113 + void* ColorSyncTRCGetLuminanceScale(void); 114 + void* ColorSyncTRCGetOptions(void); 115 + void* ColorSyncTRCGetProperties(void); 116 + void* ColorSyncTRCGetRange(void); 117 + void* ColorSyncTRCGetTypeID(void); 118 + void* ColorSyncTransformConvert(void); 119 + void* ColorSyncTransformCopyProperty(void); 120 + void* ColorSyncTransformCreate(void); 121 + void* ColorSyncTransformCreateWithName(void); 122 + void* ColorSyncTransformGetTypeID(void); 123 + void* ColorSyncTransformIterate(void); 124 + void* ColorSyncTransformSetProperty(void); 125 + void* ColorSyncUnregisterDevice(void); 126 + void* ColorSyncVerifyAdobeRGBData(void); 127 + void* ColorSyncVerifyDisplayP3Data(void); 128 + void* ColorSyncVerifyGenericGrayGamma2_2Data(void); 129 + void* ColorSyncVerifyGenericLabData(void); 130 + void* ColorSyncVerifySRGBData(void); 131 + 132 + #endif
+672
src/ColorSync/src/ColorSync.c
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2019 Lubos Dolezel 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 + 21 + #include <ColorSync/ColorSync.h> 22 + #include <stdlib.h> 23 + #include <stdio.h> 24 + 25 + static int verbose = 0; 26 + 27 + __attribute__((constructor)) 28 + static void initme(void) { 29 + verbose = getenv("STUB_VERBOSE") != NULL; 30 + } 31 + 32 + void* CGDisplayCreateUUIDFromDisplayID(void) 33 + { 34 + if (verbose) puts("STUB: CGDisplayCreateUUIDFromDisplayID called"); 35 + return NULL; 36 + } 37 + 38 + void* CGDisplayGetDisplayIDFromUUID(void) 39 + { 40 + if (verbose) puts("STUB: CGDisplayGetDisplayIDFromUUID called"); 41 + return NULL; 42 + } 43 + 44 + void* CMProfileFromColorSyncProfile(void) 45 + { 46 + if (verbose) puts("STUB: CMProfileFromColorSyncProfile called"); 47 + return NULL; 48 + } 49 + 50 + void* ColorSyncCMMCopyCMMIdentifier(void) 51 + { 52 + if (verbose) puts("STUB: ColorSyncCMMCopyCMMIdentifier called"); 53 + return NULL; 54 + } 55 + 56 + void* ColorSyncCMMCopyLocalizedName(void) 57 + { 58 + if (verbose) puts("STUB: ColorSyncCMMCopyLocalizedName called"); 59 + return NULL; 60 + } 61 + 62 + void* ColorSyncCMMCreate(void) 63 + { 64 + if (verbose) puts("STUB: ColorSyncCMMCreate called"); 65 + return NULL; 66 + } 67 + 68 + void* ColorSyncCMMGetBundle(void) 69 + { 70 + if (verbose) puts("STUB: ColorSyncCMMGetBundle called"); 71 + return NULL; 72 + } 73 + 74 + void* ColorSyncCMMGetTypeID(void) 75 + { 76 + if (verbose) puts("STUB: ColorSyncCMMGetTypeID called"); 77 + return NULL; 78 + } 79 + 80 + void* ColorSyncCodeFragmentGetMD5(void) 81 + { 82 + if (verbose) puts("STUB: ColorSyncCodeFragmentGetMD5 called"); 83 + return NULL; 84 + } 85 + 86 + void* ColorSyncConvertDoubleXYZToD50(void) 87 + { 88 + if (verbose) puts("STUB: ColorSyncConvertDoubleXYZToD50 called"); 89 + return NULL; 90 + } 91 + 92 + void* ColorSyncConvertXYZToXYZWithChromaticAdaptationMatrix(void) 93 + { 94 + if (verbose) puts("STUB: ColorSyncConvertXYZToXYZWithChromaticAdaptationMatrix called"); 95 + return NULL; 96 + } 97 + 98 + void* ColorSyncCreateCodeFragment(void) 99 + { 100 + if (verbose) puts("STUB: ColorSyncCreateCodeFragment called"); 101 + return NULL; 102 + } 103 + 104 + void* ColorSyncCreateCodeFragmentPriv(void) 105 + { 106 + if (verbose) puts("STUB: ColorSyncCreateCodeFragmentPriv called"); 107 + return NULL; 108 + } 109 + 110 + void* ColorSyncCreateGammaTablesFromVCGT(void) 111 + { 112 + if (verbose) puts("STUB: ColorSyncCreateGammaTablesFromVCGT called"); 113 + return NULL; 114 + } 115 + 116 + void* ColorSyncCreateInputPoppyProfile(void) 117 + { 118 + if (verbose) puts("STUB: ColorSyncCreateInputPoppyProfile called"); 119 + return NULL; 120 + } 121 + 122 + void* ColorSyncCreateOutputPoppyProfile(void) 123 + { 124 + if (verbose) puts("STUB: ColorSyncCreateOutputPoppyProfile called"); 125 + return NULL; 126 + } 127 + 128 + void* ColorSyncCreateOutputPoppyProfileForRGBData(void) 129 + { 130 + if (verbose) puts("STUB: ColorSyncCreateOutputPoppyProfileForRGBData called"); 131 + return NULL; 132 + } 133 + 134 + void* ColorSyncCreateSignatureFromFourCharCode(void) 135 + { 136 + if (verbose) puts("STUB: ColorSyncCreateSignatureFromFourCharCode called"); 137 + return NULL; 138 + } 139 + 140 + void* ColorSyncCreateUUIDFromUInt32(void) 141 + { 142 + if (verbose) puts("STUB: ColorSyncCreateUUIDFromUInt32 called"); 143 + return NULL; 144 + } 145 + 146 + void* ColorSyncDataCanBeIgnoredOnSRGBDevice(void) 147 + { 148 + if (verbose) puts("STUB: ColorSyncDataCanBeIgnoredOnSRGBDevice called"); 149 + return NULL; 150 + } 151 + 152 + void* ColorSyncDeviceCopyDeviceInfo(void) 153 + { 154 + if (verbose) puts("STUB: ColorSyncDeviceCopyDeviceInfo called"); 155 + return NULL; 156 + } 157 + 158 + void* ColorSyncDeviceCopyDeviceRegistrationInfo(void) 159 + { 160 + if (verbose) puts("STUB: ColorSyncDeviceCopyDeviceRegistrationInfo called"); 161 + return NULL; 162 + } 163 + 164 + void* ColorSyncDeviceSetCustomProfiles(void) 165 + { 166 + if (verbose) puts("STUB: ColorSyncDeviceSetCustomProfiles called"); 167 + return NULL; 168 + } 169 + 170 + void* ColorSyncDisplayServicesUpdateProfiles(void) 171 + { 172 + if (verbose) puts("STUB: ColorSyncDisplayServicesUpdateProfiles called"); 173 + return NULL; 174 + } 175 + 176 + void* ColorSyncGetAdaptationMtx(void) 177 + { 178 + if (verbose) puts("STUB: ColorSyncGetAdaptationMtx called"); 179 + return NULL; 180 + } 181 + 182 + void* ColorSyncGetDisplayTransferFormulaFromVCGT(void) 183 + { 184 + if (verbose) puts("STUB: ColorSyncGetDisplayTransferFormulaFromVCGT called"); 185 + return NULL; 186 + } 187 + 188 + void* ColorSyncGetFourCharCodeFromSignature(void) 189 + { 190 + if (verbose) puts("STUB: ColorSyncGetFourCharCodeFromSignature called"); 191 + return NULL; 192 + } 193 + 194 + void* ColorSyncGetMainDisplayID(void) 195 + { 196 + if (verbose) puts("STUB: ColorSyncGetMainDisplayID called"); 197 + return NULL; 198 + } 199 + 200 + void* ColorSyncGetUInt32FromUUID(void) 201 + { 202 + if (verbose) puts("STUB: ColorSyncGetUInt32FromUUID called"); 203 + return NULL; 204 + } 205 + 206 + void* ColorSyncIterateDeviceProfiles(void) 207 + { 208 + if (verbose) puts("STUB: ColorSyncIterateDeviceProfiles called"); 209 + return NULL; 210 + } 211 + 212 + void* ColorSyncIterateInstalledCMMs(void) 213 + { 214 + if (verbose) puts("STUB: ColorSyncIterateInstalledCMMs called"); 215 + return NULL; 216 + } 217 + 218 + void* ColorSyncIterateInstalledProfiles(void) 219 + { 220 + if (verbose) puts("STUB: ColorSyncIterateInstalledProfiles called"); 221 + return NULL; 222 + } 223 + 224 + void* ColorSyncIterateInstalledProfilesWithOptions(void) 225 + { 226 + if (verbose) puts("STUB: ColorSyncIterateInstalledProfilesWithOptions called"); 227 + return NULL; 228 + } 229 + 230 + void* ColorSyncMakeProfile(void) 231 + { 232 + if (verbose) puts("STUB: ColorSyncMakeProfile called"); 233 + return NULL; 234 + } 235 + 236 + void* ColorSyncMatrixGetFunction(void) 237 + { 238 + if (verbose) puts("STUB: ColorSyncMatrixGetFunction called"); 239 + return NULL; 240 + } 241 + 242 + void* ColorSyncMatrixGetOptions(void) 243 + { 244 + if (verbose) puts("STUB: ColorSyncMatrixGetOptions called"); 245 + return NULL; 246 + } 247 + 248 + void* ColorSyncMatrixGetProperties(void) 249 + { 250 + if (verbose) puts("STUB: ColorSyncMatrixGetProperties called"); 251 + return NULL; 252 + } 253 + 254 + void* ColorSyncMatrixGetRange(void) 255 + { 256 + if (verbose) puts("STUB: ColorSyncMatrixGetRange called"); 257 + return NULL; 258 + } 259 + 260 + void* ColorSyncMatrixGetTypeID(void) 261 + { 262 + if (verbose) puts("STUB: ColorSyncMatrixGetTypeID called"); 263 + return NULL; 264 + } 265 + 266 + void* ColorSyncNxMLUTGetFunction(void) 267 + { 268 + if (verbose) puts("STUB: ColorSyncNxMLUTGetFunction called"); 269 + return NULL; 270 + } 271 + 272 + void* ColorSyncNxMLUTGetOptions(void) 273 + { 274 + if (verbose) puts("STUB: ColorSyncNxMLUTGetOptions called"); 275 + return NULL; 276 + } 277 + 278 + void* ColorSyncNxMLUTGetProperties(void) 279 + { 280 + if (verbose) puts("STUB: ColorSyncNxMLUTGetProperties called"); 281 + return NULL; 282 + } 283 + 284 + void* ColorSyncNxMLUTGetRange(void) 285 + { 286 + if (verbose) puts("STUB: ColorSyncNxMLUTGetRange called"); 287 + return NULL; 288 + } 289 + 290 + void* ColorSyncNxMLUTGetTypeID(void) 291 + { 292 + if (verbose) puts("STUB: ColorSyncNxMLUTGetTypeID called"); 293 + return NULL; 294 + } 295 + 296 + void* ColorSyncProfileContainsTag(void) 297 + { 298 + if (verbose) puts("STUB: ColorSyncProfileContainsTag called"); 299 + return NULL; 300 + } 301 + 302 + void* ColorSyncProfileCopyASCIIDescriptionString(void) 303 + { 304 + if (verbose) puts("STUB: ColorSyncProfileCopyASCIIDescriptionString called"); 305 + return NULL; 306 + } 307 + 308 + void* ColorSyncProfileCopyData(void) 309 + { 310 + if (verbose) puts("STUB: ColorSyncProfileCopyData called"); 311 + return NULL; 312 + } 313 + 314 + void* ColorSyncProfileCopyDescriptionString(void) 315 + { 316 + if (verbose) puts("STUB: ColorSyncProfileCopyDescriptionString called"); 317 + return NULL; 318 + } 319 + 320 + void* ColorSyncProfileCopyHeader(void) 321 + { 322 + if (verbose) puts("STUB: ColorSyncProfileCopyHeader called"); 323 + return NULL; 324 + } 325 + 326 + void* ColorSyncProfileCopyLocalizedDescriptionString(void) 327 + { 328 + if (verbose) puts("STUB: ColorSyncProfileCopyLocalizedDescriptionString called"); 329 + return NULL; 330 + } 331 + 332 + void* ColorSyncProfileCopyLocalizedStringDictionary(void) 333 + { 334 + if (verbose) puts("STUB: ColorSyncProfileCopyLocalizedStringDictionary called"); 335 + return NULL; 336 + } 337 + 338 + void* ColorSyncProfileCopyTag(void) 339 + { 340 + if (verbose) puts("STUB: ColorSyncProfileCopyTag called"); 341 + return NULL; 342 + } 343 + 344 + void* ColorSyncProfileCopyTagSignatures(void) 345 + { 346 + if (verbose) puts("STUB: ColorSyncProfileCopyTagSignatures called"); 347 + return NULL; 348 + } 349 + 350 + void* ColorSyncProfileCreate(void) 351 + { 352 + if (verbose) puts("STUB: ColorSyncProfileCreate called"); 353 + return NULL; 354 + } 355 + 356 + void* ColorSyncProfileCreateDeviceProfile(void) 357 + { 358 + if (verbose) puts("STUB: ColorSyncProfileCreateDeviceProfile called"); 359 + return NULL; 360 + } 361 + 362 + void* ColorSyncProfileCreateDisplayTransferTablesFromVCGT(void) 363 + { 364 + if (verbose) puts("STUB: ColorSyncProfileCreateDisplayTransferTablesFromVCGT called"); 365 + return NULL; 366 + } 367 + 368 + void* ColorSyncProfileCreateLink(void) 369 + { 370 + if (verbose) puts("STUB: ColorSyncProfileCreateLink called"); 371 + return NULL; 372 + } 373 + 374 + void* ColorSyncProfileCreateMutable(void) 375 + { 376 + if (verbose) puts("STUB: ColorSyncProfileCreateMutable called"); 377 + return NULL; 378 + } 379 + 380 + void* ColorSyncProfileCreateMutableCopy(void) 381 + { 382 + if (verbose) puts("STUB: ColorSyncProfileCreateMutableCopy called"); 383 + return NULL; 384 + } 385 + 386 + void* ColorSyncProfileCreateSanitizedCopy(void) 387 + { 388 + if (verbose) puts("STUB: ColorSyncProfileCreateSanitizedCopy called"); 389 + return NULL; 390 + } 391 + 392 + void* ColorSyncProfileCreateWithDisplayID(void) 393 + { 394 + if (verbose) puts("STUB: ColorSyncProfileCreateWithDisplayID called"); 395 + return NULL; 396 + } 397 + 398 + void* ColorSyncProfileCreateWithName(void) 399 + { 400 + if (verbose) puts("STUB: ColorSyncProfileCreateWithName called"); 401 + return NULL; 402 + } 403 + 404 + void* ColorSyncProfileCreateWithURL(void) 405 + { 406 + if (verbose) puts("STUB: ColorSyncProfileCreateWithURL called"); 407 + return NULL; 408 + } 409 + 410 + void* ColorSyncProfileEstimateGamma(void) 411 + { 412 + if (verbose) puts("STUB: ColorSyncProfileEstimateGamma called"); 413 + return NULL; 414 + } 415 + 416 + void* ColorSyncProfileEstimateGammaWithDisplayID(void) 417 + { 418 + if (verbose) puts("STUB: ColorSyncProfileEstimateGammaWithDisplayID called"); 419 + return NULL; 420 + } 421 + 422 + void* ColorSyncProfileFromCMProfile(void) 423 + { 424 + if (verbose) puts("STUB: ColorSyncProfileFromCMProfile called"); 425 + return NULL; 426 + } 427 + 428 + void* ColorSyncProfileGetData(void) 429 + { 430 + if (verbose) puts("STUB: ColorSyncProfileGetData called"); 431 + return NULL; 432 + } 433 + 434 + void* ColorSyncProfileGetDisplayTransferFormulaFromVCGT(void) 435 + { 436 + if (verbose) puts("STUB: ColorSyncProfileGetDisplayTransferFormulaFromVCGT called"); 437 + return NULL; 438 + } 439 + 440 + void* ColorSyncProfileGetMD5(void) 441 + { 442 + if (verbose) puts("STUB: ColorSyncProfileGetMD5 called"); 443 + return NULL; 444 + } 445 + 446 + void* ColorSyncProfileGetTypeID(void) 447 + { 448 + if (verbose) puts("STUB: ColorSyncProfileGetTypeID called"); 449 + return NULL; 450 + } 451 + 452 + void* ColorSyncProfileGetURL(void) 453 + { 454 + if (verbose) puts("STUB: ColorSyncProfileGetURL called"); 455 + return NULL; 456 + } 457 + 458 + void* ColorSyncProfileInstall(void) 459 + { 460 + if (verbose) puts("STUB: ColorSyncProfileInstall called"); 461 + return NULL; 462 + } 463 + 464 + void* ColorSyncProfileIsWideGamut(void) 465 + { 466 + if (verbose) puts("STUB: ColorSyncProfileIsWideGamut called"); 467 + return NULL; 468 + } 469 + 470 + void* ColorSyncProfileProducesMatrixTransform(void) 471 + { 472 + if (verbose) puts("STUB: ColorSyncProfileProducesMatrixTransform called"); 473 + return NULL; 474 + } 475 + 476 + void* ColorSyncProfileRemoveTag(void) 477 + { 478 + if (verbose) puts("STUB: ColorSyncProfileRemoveTag called"); 479 + return NULL; 480 + } 481 + 482 + void* ColorSyncProfileSetDescriptionTag(void) 483 + { 484 + if (verbose) puts("STUB: ColorSyncProfileSetDescriptionTag called"); 485 + return NULL; 486 + } 487 + 488 + void* ColorSyncProfileSetHeader(void) 489 + { 490 + if (verbose) puts("STUB: ColorSyncProfileSetHeader called"); 491 + return NULL; 492 + } 493 + 494 + void* ColorSyncProfileSetLocalizedStringDictionary(void) 495 + { 496 + if (verbose) puts("STUB: ColorSyncProfileSetLocalizedStringDictionary called"); 497 + return NULL; 498 + } 499 + 500 + void* ColorSyncProfileSetParametricTRCTag(void) 501 + { 502 + if (verbose) puts("STUB: ColorSyncProfileSetParametricTRCTag called"); 503 + return NULL; 504 + } 505 + 506 + void* ColorSyncProfileSetTag(void) 507 + { 508 + if (verbose) puts("STUB: ColorSyncProfileSetTag called"); 509 + return NULL; 510 + } 511 + 512 + void* ColorSyncProfileStreamPS2Definition(void) 513 + { 514 + if (verbose) puts("STUB: ColorSyncProfileStreamPS2Definition called"); 515 + return NULL; 516 + } 517 + 518 + void* ColorSyncProfileUninstall(void) 519 + { 520 + if (verbose) puts("STUB: ColorSyncProfileUninstall called"); 521 + return NULL; 522 + } 523 + 524 + void* ColorSyncProfileVerify(void) 525 + { 526 + if (verbose) puts("STUB: ColorSyncProfileVerify called"); 527 + return NULL; 528 + } 529 + 530 + void* ColorSyncProfileWriteToFile(void) 531 + { 532 + if (verbose) puts("STUB: ColorSyncProfileWriteToFile called"); 533 + return NULL; 534 + } 535 + 536 + void* ColorSyncPureGammaOriginalTRC(void) 537 + { 538 + if (verbose) puts("STUB: ColorSyncPureGammaOriginalTRC called"); 539 + return NULL; 540 + } 541 + 542 + void* ColorSyncRegisterDevice(void) 543 + { 544 + if (verbose) puts("STUB: ColorSyncRegisterDevice called"); 545 + return NULL; 546 + } 547 + 548 + void* ColorSyncSwapProfileHeader(void) 549 + { 550 + if (verbose) puts("STUB: ColorSyncSwapProfileHeader called"); 551 + return NULL; 552 + } 553 + 554 + void* ColorSyncTRCGetFunction(void) 555 + { 556 + if (verbose) puts("STUB: ColorSyncTRCGetFunction called"); 557 + return NULL; 558 + } 559 + 560 + void* ColorSyncTRCGetGammaID(void) 561 + { 562 + if (verbose) puts("STUB: ColorSyncTRCGetGammaID called"); 563 + return NULL; 564 + } 565 + 566 + void* ColorSyncTRCGetLuminanceScale(void) 567 + { 568 + if (verbose) puts("STUB: ColorSyncTRCGetLuminanceScale called"); 569 + return NULL; 570 + } 571 + 572 + void* ColorSyncTRCGetOptions(void) 573 + { 574 + if (verbose) puts("STUB: ColorSyncTRCGetOptions called"); 575 + return NULL; 576 + } 577 + 578 + void* ColorSyncTRCGetProperties(void) 579 + { 580 + if (verbose) puts("STUB: ColorSyncTRCGetProperties called"); 581 + return NULL; 582 + } 583 + 584 + void* ColorSyncTRCGetRange(void) 585 + { 586 + if (verbose) puts("STUB: ColorSyncTRCGetRange called"); 587 + return NULL; 588 + } 589 + 590 + void* ColorSyncTRCGetTypeID(void) 591 + { 592 + if (verbose) puts("STUB: ColorSyncTRCGetTypeID called"); 593 + return NULL; 594 + } 595 + 596 + void* ColorSyncTransformConvert(void) 597 + { 598 + if (verbose) puts("STUB: ColorSyncTransformConvert called"); 599 + return NULL; 600 + } 601 + 602 + void* ColorSyncTransformCopyProperty(void) 603 + { 604 + if (verbose) puts("STUB: ColorSyncTransformCopyProperty called"); 605 + return NULL; 606 + } 607 + 608 + void* ColorSyncTransformCreate(void) 609 + { 610 + if (verbose) puts("STUB: ColorSyncTransformCreate called"); 611 + return NULL; 612 + } 613 + 614 + void* ColorSyncTransformCreateWithName(void) 615 + { 616 + if (verbose) puts("STUB: ColorSyncTransformCreateWithName called"); 617 + return NULL; 618 + } 619 + 620 + void* ColorSyncTransformGetTypeID(void) 621 + { 622 + if (verbose) puts("STUB: ColorSyncTransformGetTypeID called"); 623 + return NULL; 624 + } 625 + 626 + void* ColorSyncTransformIterate(void) 627 + { 628 + if (verbose) puts("STUB: ColorSyncTransformIterate called"); 629 + return NULL; 630 + } 631 + 632 + void* ColorSyncTransformSetProperty(void) 633 + { 634 + if (verbose) puts("STUB: ColorSyncTransformSetProperty called"); 635 + return NULL; 636 + } 637 + 638 + void* ColorSyncUnregisterDevice(void) 639 + { 640 + if (verbose) puts("STUB: ColorSyncUnregisterDevice called"); 641 + return NULL; 642 + } 643 + 644 + void* ColorSyncVerifyAdobeRGBData(void) 645 + { 646 + if (verbose) puts("STUB: ColorSyncVerifyAdobeRGBData called"); 647 + return NULL; 648 + } 649 + 650 + void* ColorSyncVerifyDisplayP3Data(void) 651 + { 652 + if (verbose) puts("STUB: ColorSyncVerifyDisplayP3Data called"); 653 + return NULL; 654 + } 655 + 656 + void* ColorSyncVerifyGenericGrayGamma2_2Data(void) 657 + { 658 + if (verbose) puts("STUB: ColorSyncVerifyGenericGrayGamma2_2Data called"); 659 + return NULL; 660 + } 661 + 662 + void* ColorSyncVerifyGenericLabData(void) 663 + { 664 + if (verbose) puts("STUB: ColorSyncVerifyGenericLabData called"); 665 + return NULL; 666 + } 667 + 668 + void* ColorSyncVerifySRGBData(void) 669 + { 670 + if (verbose) puts("STUB: ColorSyncVerifySRGBData called"); 671 + return NULL; 672 + }
+3
src/TODO.md
··· 1 + # TODO 2 + 3 + Move includes from Accelerate and ColorSync