this repo has no description
1
fork

Configure Feed

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

Some stubs for popular mac apps

+2221
+4
src/CMakeLists.txt
··· 243 243 ${CMAKE_CURRENT_SOURCE_DIR}/IOBluetooth/include 244 244 ${CMAKE_CURRENT_SOURCE_DIR}/CoreMIDI/include 245 245 ${CMAKE_CURRENT_SOURCE_DIR}/libsandbox/include 246 + ${CMAKE_CURRENT_SOURCE_DIR}/OpenCL/include 247 + ${CMAKE_CURRENT_SOURCE_DIR}/OpenDirectory/include 246 248 ) 247 249 248 250 add_subdirectory(external/libkqueue) ··· 435 437 add_subdirectory(IOBluetooth) 436 438 add_subdirectory(CoreMIDI) 437 439 add_subdirectory(libsandbox) 440 + add_subdirectory(OpenCL) 441 + add_subdirectory(OpenDirectory) 438 442 439 443 # Just a stub 440 444 add_subdirectory(WebKit)
+1
src/CoreImage/src/CIFilter.m
··· 30 30 NSString * const kCIInputImageKey = @"inputImage"; 31 31 NSString * const kCIInputSaturationKey = @"inputSaturation"; 32 32 NSString * const kCIOutputImageKey = @"outputImage"; 33 + NSString * const kCIApplyOptionDefinition = @"definition"; 33 34 34 35 @implementation CIFilter 35 36
+3
src/CoreServices/constants.m
··· 29 29 const CFStringRef kUTTypeText = CFSTR("public.text"); 30 30 const CFStringRef kUTTypeFramework = CFSTR("com.apple.framework"); 31 31 const CFStringRef kUTTypeImage = CFSTR("public.image"); 32 + const CFStringRef kUTTypeUTF8PlainText = CFSTR("public.utf8-plain-text"); 33 + const CFStringRef kUTTypeApplication = CFSTR("com.apple.application"); 34 + const CFStringRef kUTTypeBundle = CFSTR("com.apple.bundle"); 32 35 33 36 const CFStringRef _kLSASNKey = CFSTR("LSASN"); 34 37 const CFStringRef _kLSApplicationTypeKey = CFSTR("ApplicationType");
+4
src/ImageIO/src/CGImageProperties.m
··· 23 23 const CFStringRef kCGImagePropertyPixelWidth = CFSTR("PixelWidth"); 24 24 const CFStringRef kCGImagePropertyPNGDictionary = CFSTR("{PNG}"); 25 25 const CFStringRef kCGImagePropertyPNGGamma = CFSTR("Gamma"); 26 + const CFStringRef kCGImagePropertyGIFDelayTime = CFSTR("DelayTime"); 27 + const CFStringRef kCGImagePropertyGIFDictionary = CFSTR("{GIF}"); 28 + const CFStringRef kCGImagePropertyGIFLoopCount = CFSTR("LoopCount"); 29 + const CFStringRef kCGImagePropertyGIFUnclampedDelayTime = CFSTR("UnclampedDelayTime");
+18
src/OpenCL/CMakeLists.txt
··· 1 + project(OpenCL) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + 6 + add_framework(OpenCL 7 + FAT 8 + CURRENT_VERSION 9 + VERSION "A" 10 + 11 + SOURCES 12 + src/OpenCL.m 13 + 14 + DEPENDENCIES 15 + system 16 + objc 17 + Foundation 18 + )
+188
src/OpenCL/include/OpenCL/OpenCL.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 _OpenCL_H_ 22 + #define _OpenCL_H_ 23 + 24 + #import <Foundation/Foundation.h> 25 + 26 + 27 + void* clBuildProgram(void); 28 + void* clCompileProgram(void); 29 + void* clCreateBuffer(void); 30 + void* clCreateCommandQueue(void); 31 + void* clCreateCommandQueueWithPropertiesAPPLE(void); 32 + void* clCreateContext(void); 33 + void* clCreateContextAndCommandQueueAPPLE(void); 34 + void* clCreateContextFromType(void); 35 + void* clCreateDAGAPPLE(void); 36 + void* clCreateEventFromGLsyncKHR(void); 37 + void* clCreateFromGLBuffer(void); 38 + void* clCreateFromGLRenderbuffer(void); 39 + void* clCreateFromGLTexture(void); 40 + void* clCreateFromGLTexture2D(void); 41 + void* clCreateFromGLTexture3D(void); 42 + void* clCreateImage(void); 43 + void* clCreateImage2D(void); 44 + void* clCreateImage3D(void); 45 + void* clCreateImageFromIOSurface2DAPPLE(void); 46 + void* clCreateImageFromIOSurfaceWithPropertiesAPPLE(void); 47 + void* clCreateKernel(void); 48 + void* clCreateKernelFromDAGAPPLE(void); 49 + void* clCreateKernelsInProgram(void); 50 + void* clCreateProgramAndKernelsWithSourceAPPLE(void); 51 + void* clCreateProgramPortableBinaryAPPLE(void); 52 + void* clCreateProgramWithBinary(void); 53 + void* clCreateProgramWithBuiltInKernels(void); 54 + void* clCreateProgramWithSource(void); 55 + void* clCreateSampler(void); 56 + void* clCreateSubBuffer(void); 57 + void* clCreateSubDevices(void); 58 + void* clCreateUserEvent(void); 59 + void* clEnqueueAcquireGLObjects(void); 60 + void* clEnqueueBarrier(void); 61 + void* clEnqueueBarrierWithWaitList(void); 62 + void* clEnqueueCopyBuffer(void); 63 + void* clEnqueueCopyBufferRect(void); 64 + void* clEnqueueCopyBufferToImage(void); 65 + void* clEnqueueCopyImage(void); 66 + void* clEnqueueCopyImageToBuffer(void); 67 + void* clEnqueueFillBuffer(void); 68 + void* clEnqueueFillImage(void); 69 + void* clEnqueueMapBuffer(void); 70 + void* clEnqueueMapImage(void); 71 + void* clEnqueueMarker(void); 72 + void* clEnqueueMarkerWithWaitList(void); 73 + void* clEnqueueMigrateMemObjects(void); 74 + void* clEnqueueNDRangeKernel(void); 75 + void* clEnqueueNativeKernel(void); 76 + void* clEnqueueReadBuffer(void); 77 + void* clEnqueueReadBufferRect(void); 78 + void* clEnqueueReadImage(void); 79 + void* clEnqueueReleaseGLObjects(void); 80 + void* clEnqueueTask(void); 81 + void* clEnqueueUnmapMemObject(void); 82 + void* clEnqueueWaitForEvents(void); 83 + void* clEnqueueWriteBuffer(void); 84 + void* clEnqueueWriteBufferRect(void); 85 + void* clEnqueueWriteImage(void); 86 + void* clFinish(void); 87 + void* clFlush(void); 88 + void* clGetCommandQueueInfo(void); 89 + void* clGetContextInfo(void); 90 + void* clGetDAGNodeAPPLE(void); 91 + void* clGetDeviceIDs(void); 92 + void* clGetDeviceInfo(void); 93 + void* clGetEventInfo(void); 94 + void* clGetEventProfilingInfo(void); 95 + void* clGetExtensionFunctionAddress(void); 96 + void* clGetExtensionFunctionAddressForPlatform(void); 97 + void* clGetGLContextInfoAPPLE(void); 98 + void* clGetGLObjectInfo(void); 99 + void* clGetGLTextureInfo(void); 100 + void* clGetImageInfo(void); 101 + void* clGetKernelArgInfo(void); 102 + void* clGetKernelInfo(void); 103 + void* clGetKernelWorkGroupInfo(void); 104 + void* clGetMemObjectInfo(void); 105 + void* clGetMemoryAnnotationListAPPLE(void); 106 + void* clGetPlatformIDs(void); 107 + void* clGetPlatformInfo(void); 108 + void* clGetProgramBuildInfo(void); 109 + void* clGetProgramInfo(void); 110 + void* clGetSamplerInfo(void); 111 + void* clGetSupportedImageFormats(void); 112 + void* clLinkProgram(void); 113 + void* clLogMessagesToStderrAPPLE(void); 114 + void* clLogMessagesToStdoutAPPLE(void); 115 + void* clLogMessagesToSystemLogAPPLE(void); 116 + void* clReleaseCommandQueue(void); 117 + void* clReleaseContext(void); 118 + void* clReleaseDAGAPPLE(void); 119 + void* clReleaseDevice(void); 120 + void* clReleaseEvent(void); 121 + void* clReleaseKernel(void); 122 + void* clReleaseMemObject(void); 123 + void* clReleaseProgram(void); 124 + void* clReleaseSampler(void); 125 + void* clRetainCommandQueue(void); 126 + void* clRetainContext(void); 127 + void* clRetainDevice(void); 128 + void* clRetainEvent(void); 129 + void* clRetainKernel(void); 130 + void* clRetainMemObject(void); 131 + void* clRetainProgram(void); 132 + void* clRetainSampler(void); 133 + void* clSetCommandQueueProperty(void); 134 + void* clSetEventCallback(void); 135 + void* clSetKernelArg(void); 136 + void* clSetKernelArgByNameAPPLE(void); 137 + void* clSetKernelArgsListAPPLE(void); 138 + void* clSetKernelArgsVaListAPPLE(void); 139 + void* clSetMemObjectDestructorAPPLE(void); 140 + void* clSetMemObjectDestructorCallback(void); 141 + void* clSetUserEventStatus(void); 142 + void* clUnloadCompiler(void); 143 + void* clUnloadPlatformCompiler(void); 144 + void* clWaitForEvents(void); 145 + void* gclBuildProgramAPPLE(void); 146 + void* gclBuildProgramBinaryAPPLE(void); 147 + void* gclCreateArgsAPPLE(void); 148 + void* gclDeleteArgsAPPLE(void); 149 + void* gclExecKernelAPPLE(void); 150 + void* gclRegisterBlockKernelMap(void); 151 + void* gclReleaseSampler(void); 152 + void* gclSetKernelArgAPPLE(void); 153 + void* gclSetKernelArgMemAPPLE(void); 154 + void* gclSetKernelArgSamplerAPPLE(void); 155 + void* gcl_copy_image(void); 156 + void* gcl_copy_image_to_ptr(void); 157 + void* gcl_copy_ptr_to_image(void); 158 + void* gcl_create_buffer_from_ptr(void); 159 + void* gcl_create_dispatch_queue(void); 160 + void* gcl_create_image(void); 161 + void* gcl_create_kernel_from_block(void); 162 + void* gcl_free(void); 163 + void* gcl_get_context(void); 164 + void* gcl_get_device_id_with_dispatch_queue(void); 165 + void* gcl_get_kernel_block_workgroup_info(void); 166 + void* gcl_get_supported_image_formats(void); 167 + void* gcl_gl_create_image_from_renderbuffer(void); 168 + void* gcl_gl_create_image_from_texture(void); 169 + void* gcl_gl_create_ptr_from_buffer(void); 170 + void* gcl_gl_set_sharegroup(void); 171 + void* gcl_log_cl_error(void); 172 + void* gcl_log_cl_fatal(void); 173 + void* gcl_log_error(void); 174 + void* gcl_log_fatal(void); 175 + void* gcl_log_warning(void); 176 + void* gcl_malloc(void); 177 + void* gcl_map_image(void); 178 + void* gcl_map_ptr(void); 179 + void* gcl_memcpy(void); 180 + void* gcl_memcpy_rect(void); 181 + void* gcl_release_image(void); 182 + void* gcl_retain_image(void); 183 + void* gcl_set_finalizer(void); 184 + void* gcl_start_timer(void); 185 + void* gcl_stop_timer(void); 186 + void* gcl_unmap(void); 187 + 188 + #endif
+990
src/OpenCL/src/OpenCL.m
··· 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 <OpenCL/OpenCL.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* clBuildProgram(void) 33 + { 34 + if (verbose) puts("STUB: clBuildProgram called"); 35 + return NULL; 36 + } 37 + 38 + void* clCompileProgram(void) 39 + { 40 + if (verbose) puts("STUB: clCompileProgram called"); 41 + return NULL; 42 + } 43 + 44 + void* clCreateBuffer(void) 45 + { 46 + if (verbose) puts("STUB: clCreateBuffer called"); 47 + return NULL; 48 + } 49 + 50 + void* clCreateCommandQueue(void) 51 + { 52 + if (verbose) puts("STUB: clCreateCommandQueue called"); 53 + return NULL; 54 + } 55 + 56 + void* clCreateCommandQueueWithPropertiesAPPLE(void) 57 + { 58 + if (verbose) puts("STUB: clCreateCommandQueueWithPropertiesAPPLE called"); 59 + return NULL; 60 + } 61 + 62 + void* clCreateContext(void) 63 + { 64 + if (verbose) puts("STUB: clCreateContext called"); 65 + return NULL; 66 + } 67 + 68 + void* clCreateContextAndCommandQueueAPPLE(void) 69 + { 70 + if (verbose) puts("STUB: clCreateContextAndCommandQueueAPPLE called"); 71 + return NULL; 72 + } 73 + 74 + void* clCreateContextFromType(void) 75 + { 76 + if (verbose) puts("STUB: clCreateContextFromType called"); 77 + return NULL; 78 + } 79 + 80 + void* clCreateDAGAPPLE(void) 81 + { 82 + if (verbose) puts("STUB: clCreateDAGAPPLE called"); 83 + return NULL; 84 + } 85 + 86 + void* clCreateEventFromGLsyncKHR(void) 87 + { 88 + if (verbose) puts("STUB: clCreateEventFromGLsyncKHR called"); 89 + return NULL; 90 + } 91 + 92 + void* clCreateFromGLBuffer(void) 93 + { 94 + if (verbose) puts("STUB: clCreateFromGLBuffer called"); 95 + return NULL; 96 + } 97 + 98 + void* clCreateFromGLRenderbuffer(void) 99 + { 100 + if (verbose) puts("STUB: clCreateFromGLRenderbuffer called"); 101 + return NULL; 102 + } 103 + 104 + void* clCreateFromGLTexture(void) 105 + { 106 + if (verbose) puts("STUB: clCreateFromGLTexture called"); 107 + return NULL; 108 + } 109 + 110 + void* clCreateFromGLTexture2D(void) 111 + { 112 + if (verbose) puts("STUB: clCreateFromGLTexture2D called"); 113 + return NULL; 114 + } 115 + 116 + void* clCreateFromGLTexture3D(void) 117 + { 118 + if (verbose) puts("STUB: clCreateFromGLTexture3D called"); 119 + return NULL; 120 + } 121 + 122 + void* clCreateImage(void) 123 + { 124 + if (verbose) puts("STUB: clCreateImage called"); 125 + return NULL; 126 + } 127 + 128 + void* clCreateImage2D(void) 129 + { 130 + if (verbose) puts("STUB: clCreateImage2D called"); 131 + return NULL; 132 + } 133 + 134 + void* clCreateImage3D(void) 135 + { 136 + if (verbose) puts("STUB: clCreateImage3D called"); 137 + return NULL; 138 + } 139 + 140 + void* clCreateImageFromIOSurface2DAPPLE(void) 141 + { 142 + if (verbose) puts("STUB: clCreateImageFromIOSurface2DAPPLE called"); 143 + return NULL; 144 + } 145 + 146 + void* clCreateImageFromIOSurfaceWithPropertiesAPPLE(void) 147 + { 148 + if (verbose) puts("STUB: clCreateImageFromIOSurfaceWithPropertiesAPPLE called"); 149 + return NULL; 150 + } 151 + 152 + void* clCreateKernel(void) 153 + { 154 + if (verbose) puts("STUB: clCreateKernel called"); 155 + return NULL; 156 + } 157 + 158 + void* clCreateKernelFromDAGAPPLE(void) 159 + { 160 + if (verbose) puts("STUB: clCreateKernelFromDAGAPPLE called"); 161 + return NULL; 162 + } 163 + 164 + void* clCreateKernelsInProgram(void) 165 + { 166 + if (verbose) puts("STUB: clCreateKernelsInProgram called"); 167 + return NULL; 168 + } 169 + 170 + void* clCreateProgramAndKernelsWithSourceAPPLE(void) 171 + { 172 + if (verbose) puts("STUB: clCreateProgramAndKernelsWithSourceAPPLE called"); 173 + return NULL; 174 + } 175 + 176 + void* clCreateProgramPortableBinaryAPPLE(void) 177 + { 178 + if (verbose) puts("STUB: clCreateProgramPortableBinaryAPPLE called"); 179 + return NULL; 180 + } 181 + 182 + void* clCreateProgramWithBinary(void) 183 + { 184 + if (verbose) puts("STUB: clCreateProgramWithBinary called"); 185 + return NULL; 186 + } 187 + 188 + void* clCreateProgramWithBuiltInKernels(void) 189 + { 190 + if (verbose) puts("STUB: clCreateProgramWithBuiltInKernels called"); 191 + return NULL; 192 + } 193 + 194 + void* clCreateProgramWithSource(void) 195 + { 196 + if (verbose) puts("STUB: clCreateProgramWithSource called"); 197 + return NULL; 198 + } 199 + 200 + void* clCreateSampler(void) 201 + { 202 + if (verbose) puts("STUB: clCreateSampler called"); 203 + return NULL; 204 + } 205 + 206 + void* clCreateSubBuffer(void) 207 + { 208 + if (verbose) puts("STUB: clCreateSubBuffer called"); 209 + return NULL; 210 + } 211 + 212 + void* clCreateSubDevices(void) 213 + { 214 + if (verbose) puts("STUB: clCreateSubDevices called"); 215 + return NULL; 216 + } 217 + 218 + void* clCreateUserEvent(void) 219 + { 220 + if (verbose) puts("STUB: clCreateUserEvent called"); 221 + return NULL; 222 + } 223 + 224 + void* clEnqueueAcquireGLObjects(void) 225 + { 226 + if (verbose) puts("STUB: clEnqueueAcquireGLObjects called"); 227 + return NULL; 228 + } 229 + 230 + void* clEnqueueBarrier(void) 231 + { 232 + if (verbose) puts("STUB: clEnqueueBarrier called"); 233 + return NULL; 234 + } 235 + 236 + void* clEnqueueBarrierWithWaitList(void) 237 + { 238 + if (verbose) puts("STUB: clEnqueueBarrierWithWaitList called"); 239 + return NULL; 240 + } 241 + 242 + void* clEnqueueCopyBuffer(void) 243 + { 244 + if (verbose) puts("STUB: clEnqueueCopyBuffer called"); 245 + return NULL; 246 + } 247 + 248 + void* clEnqueueCopyBufferRect(void) 249 + { 250 + if (verbose) puts("STUB: clEnqueueCopyBufferRect called"); 251 + return NULL; 252 + } 253 + 254 + void* clEnqueueCopyBufferToImage(void) 255 + { 256 + if (verbose) puts("STUB: clEnqueueCopyBufferToImage called"); 257 + return NULL; 258 + } 259 + 260 + void* clEnqueueCopyImage(void) 261 + { 262 + if (verbose) puts("STUB: clEnqueueCopyImage called"); 263 + return NULL; 264 + } 265 + 266 + void* clEnqueueCopyImageToBuffer(void) 267 + { 268 + if (verbose) puts("STUB: clEnqueueCopyImageToBuffer called"); 269 + return NULL; 270 + } 271 + 272 + void* clEnqueueFillBuffer(void) 273 + { 274 + if (verbose) puts("STUB: clEnqueueFillBuffer called"); 275 + return NULL; 276 + } 277 + 278 + void* clEnqueueFillImage(void) 279 + { 280 + if (verbose) puts("STUB: clEnqueueFillImage called"); 281 + return NULL; 282 + } 283 + 284 + void* clEnqueueMapBuffer(void) 285 + { 286 + if (verbose) puts("STUB: clEnqueueMapBuffer called"); 287 + return NULL; 288 + } 289 + 290 + void* clEnqueueMapImage(void) 291 + { 292 + if (verbose) puts("STUB: clEnqueueMapImage called"); 293 + return NULL; 294 + } 295 + 296 + void* clEnqueueMarker(void) 297 + { 298 + if (verbose) puts("STUB: clEnqueueMarker called"); 299 + return NULL; 300 + } 301 + 302 + void* clEnqueueMarkerWithWaitList(void) 303 + { 304 + if (verbose) puts("STUB: clEnqueueMarkerWithWaitList called"); 305 + return NULL; 306 + } 307 + 308 + void* clEnqueueMigrateMemObjects(void) 309 + { 310 + if (verbose) puts("STUB: clEnqueueMigrateMemObjects called"); 311 + return NULL; 312 + } 313 + 314 + void* clEnqueueNDRangeKernel(void) 315 + { 316 + if (verbose) puts("STUB: clEnqueueNDRangeKernel called"); 317 + return NULL; 318 + } 319 + 320 + void* clEnqueueNativeKernel(void) 321 + { 322 + if (verbose) puts("STUB: clEnqueueNativeKernel called"); 323 + return NULL; 324 + } 325 + 326 + void* clEnqueueReadBuffer(void) 327 + { 328 + if (verbose) puts("STUB: clEnqueueReadBuffer called"); 329 + return NULL; 330 + } 331 + 332 + void* clEnqueueReadBufferRect(void) 333 + { 334 + if (verbose) puts("STUB: clEnqueueReadBufferRect called"); 335 + return NULL; 336 + } 337 + 338 + void* clEnqueueReadImage(void) 339 + { 340 + if (verbose) puts("STUB: clEnqueueReadImage called"); 341 + return NULL; 342 + } 343 + 344 + void* clEnqueueReleaseGLObjects(void) 345 + { 346 + if (verbose) puts("STUB: clEnqueueReleaseGLObjects called"); 347 + return NULL; 348 + } 349 + 350 + void* clEnqueueTask(void) 351 + { 352 + if (verbose) puts("STUB: clEnqueueTask called"); 353 + return NULL; 354 + } 355 + 356 + void* clEnqueueUnmapMemObject(void) 357 + { 358 + if (verbose) puts("STUB: clEnqueueUnmapMemObject called"); 359 + return NULL; 360 + } 361 + 362 + void* clEnqueueWaitForEvents(void) 363 + { 364 + if (verbose) puts("STUB: clEnqueueWaitForEvents called"); 365 + return NULL; 366 + } 367 + 368 + void* clEnqueueWriteBuffer(void) 369 + { 370 + if (verbose) puts("STUB: clEnqueueWriteBuffer called"); 371 + return NULL; 372 + } 373 + 374 + void* clEnqueueWriteBufferRect(void) 375 + { 376 + if (verbose) puts("STUB: clEnqueueWriteBufferRect called"); 377 + return NULL; 378 + } 379 + 380 + void* clEnqueueWriteImage(void) 381 + { 382 + if (verbose) puts("STUB: clEnqueueWriteImage called"); 383 + return NULL; 384 + } 385 + 386 + void* clFinish(void) 387 + { 388 + if (verbose) puts("STUB: clFinish called"); 389 + return NULL; 390 + } 391 + 392 + void* clFlush(void) 393 + { 394 + if (verbose) puts("STUB: clFlush called"); 395 + return NULL; 396 + } 397 + 398 + void* clGetCommandQueueInfo(void) 399 + { 400 + if (verbose) puts("STUB: clGetCommandQueueInfo called"); 401 + return NULL; 402 + } 403 + 404 + void* clGetContextInfo(void) 405 + { 406 + if (verbose) puts("STUB: clGetContextInfo called"); 407 + return NULL; 408 + } 409 + 410 + void* clGetDAGNodeAPPLE(void) 411 + { 412 + if (verbose) puts("STUB: clGetDAGNodeAPPLE called"); 413 + return NULL; 414 + } 415 + 416 + void* clGetDeviceIDs(void) 417 + { 418 + if (verbose) puts("STUB: clGetDeviceIDs called"); 419 + return NULL; 420 + } 421 + 422 + void* clGetDeviceInfo(void) 423 + { 424 + if (verbose) puts("STUB: clGetDeviceInfo called"); 425 + return NULL; 426 + } 427 + 428 + void* clGetEventInfo(void) 429 + { 430 + if (verbose) puts("STUB: clGetEventInfo called"); 431 + return NULL; 432 + } 433 + 434 + void* clGetEventProfilingInfo(void) 435 + { 436 + if (verbose) puts("STUB: clGetEventProfilingInfo called"); 437 + return NULL; 438 + } 439 + 440 + void* clGetExtensionFunctionAddress(void) 441 + { 442 + if (verbose) puts("STUB: clGetExtensionFunctionAddress called"); 443 + return NULL; 444 + } 445 + 446 + void* clGetExtensionFunctionAddressForPlatform(void) 447 + { 448 + if (verbose) puts("STUB: clGetExtensionFunctionAddressForPlatform called"); 449 + return NULL; 450 + } 451 + 452 + void* clGetGLContextInfoAPPLE(void) 453 + { 454 + if (verbose) puts("STUB: clGetGLContextInfoAPPLE called"); 455 + return NULL; 456 + } 457 + 458 + void* clGetGLObjectInfo(void) 459 + { 460 + if (verbose) puts("STUB: clGetGLObjectInfo called"); 461 + return NULL; 462 + } 463 + 464 + void* clGetGLTextureInfo(void) 465 + { 466 + if (verbose) puts("STUB: clGetGLTextureInfo called"); 467 + return NULL; 468 + } 469 + 470 + void* clGetImageInfo(void) 471 + { 472 + if (verbose) puts("STUB: clGetImageInfo called"); 473 + return NULL; 474 + } 475 + 476 + void* clGetKernelArgInfo(void) 477 + { 478 + if (verbose) puts("STUB: clGetKernelArgInfo called"); 479 + return NULL; 480 + } 481 + 482 + void* clGetKernelInfo(void) 483 + { 484 + if (verbose) puts("STUB: clGetKernelInfo called"); 485 + return NULL; 486 + } 487 + 488 + void* clGetKernelWorkGroupInfo(void) 489 + { 490 + if (verbose) puts("STUB: clGetKernelWorkGroupInfo called"); 491 + return NULL; 492 + } 493 + 494 + void* clGetMemObjectInfo(void) 495 + { 496 + if (verbose) puts("STUB: clGetMemObjectInfo called"); 497 + return NULL; 498 + } 499 + 500 + void* clGetMemoryAnnotationListAPPLE(void) 501 + { 502 + if (verbose) puts("STUB: clGetMemoryAnnotationListAPPLE called"); 503 + return NULL; 504 + } 505 + 506 + void* clGetPlatformIDs(void) 507 + { 508 + if (verbose) puts("STUB: clGetPlatformIDs called"); 509 + return NULL; 510 + } 511 + 512 + void* clGetPlatformInfo(void) 513 + { 514 + if (verbose) puts("STUB: clGetPlatformInfo called"); 515 + return NULL; 516 + } 517 + 518 + void* clGetProgramBuildInfo(void) 519 + { 520 + if (verbose) puts("STUB: clGetProgramBuildInfo called"); 521 + return NULL; 522 + } 523 + 524 + void* clGetProgramInfo(void) 525 + { 526 + if (verbose) puts("STUB: clGetProgramInfo called"); 527 + return NULL; 528 + } 529 + 530 + void* clGetSamplerInfo(void) 531 + { 532 + if (verbose) puts("STUB: clGetSamplerInfo called"); 533 + return NULL; 534 + } 535 + 536 + void* clGetSupportedImageFormats(void) 537 + { 538 + if (verbose) puts("STUB: clGetSupportedImageFormats called"); 539 + return NULL; 540 + } 541 + 542 + void* clLinkProgram(void) 543 + { 544 + if (verbose) puts("STUB: clLinkProgram called"); 545 + return NULL; 546 + } 547 + 548 + void* clLogMessagesToStderrAPPLE(void) 549 + { 550 + if (verbose) puts("STUB: clLogMessagesToStderrAPPLE called"); 551 + return NULL; 552 + } 553 + 554 + void* clLogMessagesToStdoutAPPLE(void) 555 + { 556 + if (verbose) puts("STUB: clLogMessagesToStdoutAPPLE called"); 557 + return NULL; 558 + } 559 + 560 + void* clLogMessagesToSystemLogAPPLE(void) 561 + { 562 + if (verbose) puts("STUB: clLogMessagesToSystemLogAPPLE called"); 563 + return NULL; 564 + } 565 + 566 + void* clReleaseCommandQueue(void) 567 + { 568 + if (verbose) puts("STUB: clReleaseCommandQueue called"); 569 + return NULL; 570 + } 571 + 572 + void* clReleaseContext(void) 573 + { 574 + if (verbose) puts("STUB: clReleaseContext called"); 575 + return NULL; 576 + } 577 + 578 + void* clReleaseDAGAPPLE(void) 579 + { 580 + if (verbose) puts("STUB: clReleaseDAGAPPLE called"); 581 + return NULL; 582 + } 583 + 584 + void* clReleaseDevice(void) 585 + { 586 + if (verbose) puts("STUB: clReleaseDevice called"); 587 + return NULL; 588 + } 589 + 590 + void* clReleaseEvent(void) 591 + { 592 + if (verbose) puts("STUB: clReleaseEvent called"); 593 + return NULL; 594 + } 595 + 596 + void* clReleaseKernel(void) 597 + { 598 + if (verbose) puts("STUB: clReleaseKernel called"); 599 + return NULL; 600 + } 601 + 602 + void* clReleaseMemObject(void) 603 + { 604 + if (verbose) puts("STUB: clReleaseMemObject called"); 605 + return NULL; 606 + } 607 + 608 + void* clReleaseProgram(void) 609 + { 610 + if (verbose) puts("STUB: clReleaseProgram called"); 611 + return NULL; 612 + } 613 + 614 + void* clReleaseSampler(void) 615 + { 616 + if (verbose) puts("STUB: clReleaseSampler called"); 617 + return NULL; 618 + } 619 + 620 + void* clRetainCommandQueue(void) 621 + { 622 + if (verbose) puts("STUB: clRetainCommandQueue called"); 623 + return NULL; 624 + } 625 + 626 + void* clRetainContext(void) 627 + { 628 + if (verbose) puts("STUB: clRetainContext called"); 629 + return NULL; 630 + } 631 + 632 + void* clRetainDevice(void) 633 + { 634 + if (verbose) puts("STUB: clRetainDevice called"); 635 + return NULL; 636 + } 637 + 638 + void* clRetainEvent(void) 639 + { 640 + if (verbose) puts("STUB: clRetainEvent called"); 641 + return NULL; 642 + } 643 + 644 + void* clRetainKernel(void) 645 + { 646 + if (verbose) puts("STUB: clRetainKernel called"); 647 + return NULL; 648 + } 649 + 650 + void* clRetainMemObject(void) 651 + { 652 + if (verbose) puts("STUB: clRetainMemObject called"); 653 + return NULL; 654 + } 655 + 656 + void* clRetainProgram(void) 657 + { 658 + if (verbose) puts("STUB: clRetainProgram called"); 659 + return NULL; 660 + } 661 + 662 + void* clRetainSampler(void) 663 + { 664 + if (verbose) puts("STUB: clRetainSampler called"); 665 + return NULL; 666 + } 667 + 668 + void* clSetCommandQueueProperty(void) 669 + { 670 + if (verbose) puts("STUB: clSetCommandQueueProperty called"); 671 + return NULL; 672 + } 673 + 674 + void* clSetEventCallback(void) 675 + { 676 + if (verbose) puts("STUB: clSetEventCallback called"); 677 + return NULL; 678 + } 679 + 680 + void* clSetKernelArg(void) 681 + { 682 + if (verbose) puts("STUB: clSetKernelArg called"); 683 + return NULL; 684 + } 685 + 686 + void* clSetKernelArgByNameAPPLE(void) 687 + { 688 + if (verbose) puts("STUB: clSetKernelArgByNameAPPLE called"); 689 + return NULL; 690 + } 691 + 692 + void* clSetKernelArgsListAPPLE(void) 693 + { 694 + if (verbose) puts("STUB: clSetKernelArgsListAPPLE called"); 695 + return NULL; 696 + } 697 + 698 + void* clSetKernelArgsVaListAPPLE(void) 699 + { 700 + if (verbose) puts("STUB: clSetKernelArgsVaListAPPLE called"); 701 + return NULL; 702 + } 703 + 704 + void* clSetMemObjectDestructorAPPLE(void) 705 + { 706 + if (verbose) puts("STUB: clSetMemObjectDestructorAPPLE called"); 707 + return NULL; 708 + } 709 + 710 + void* clSetMemObjectDestructorCallback(void) 711 + { 712 + if (verbose) puts("STUB: clSetMemObjectDestructorCallback called"); 713 + return NULL; 714 + } 715 + 716 + void* clSetUserEventStatus(void) 717 + { 718 + if (verbose) puts("STUB: clSetUserEventStatus called"); 719 + return NULL; 720 + } 721 + 722 + void* clUnloadCompiler(void) 723 + { 724 + if (verbose) puts("STUB: clUnloadCompiler called"); 725 + return NULL; 726 + } 727 + 728 + void* clUnloadPlatformCompiler(void) 729 + { 730 + if (verbose) puts("STUB: clUnloadPlatformCompiler called"); 731 + return NULL; 732 + } 733 + 734 + void* clWaitForEvents(void) 735 + { 736 + if (verbose) puts("STUB: clWaitForEvents called"); 737 + return NULL; 738 + } 739 + 740 + void* gclBuildProgramAPPLE(void) 741 + { 742 + if (verbose) puts("STUB: gclBuildProgramAPPLE called"); 743 + return NULL; 744 + } 745 + 746 + void* gclBuildProgramBinaryAPPLE(void) 747 + { 748 + if (verbose) puts("STUB: gclBuildProgramBinaryAPPLE called"); 749 + return NULL; 750 + } 751 + 752 + void* gclCreateArgsAPPLE(void) 753 + { 754 + if (verbose) puts("STUB: gclCreateArgsAPPLE called"); 755 + return NULL; 756 + } 757 + 758 + void* gclDeleteArgsAPPLE(void) 759 + { 760 + if (verbose) puts("STUB: gclDeleteArgsAPPLE called"); 761 + return NULL; 762 + } 763 + 764 + void* gclExecKernelAPPLE(void) 765 + { 766 + if (verbose) puts("STUB: gclExecKernelAPPLE called"); 767 + return NULL; 768 + } 769 + 770 + void* gclRegisterBlockKernelMap(void) 771 + { 772 + if (verbose) puts("STUB: gclRegisterBlockKernelMap called"); 773 + return NULL; 774 + } 775 + 776 + void* gclReleaseSampler(void) 777 + { 778 + if (verbose) puts("STUB: gclReleaseSampler called"); 779 + return NULL; 780 + } 781 + 782 + void* gclSetKernelArgAPPLE(void) 783 + { 784 + if (verbose) puts("STUB: gclSetKernelArgAPPLE called"); 785 + return NULL; 786 + } 787 + 788 + void* gclSetKernelArgMemAPPLE(void) 789 + { 790 + if (verbose) puts("STUB: gclSetKernelArgMemAPPLE called"); 791 + return NULL; 792 + } 793 + 794 + void* gclSetKernelArgSamplerAPPLE(void) 795 + { 796 + if (verbose) puts("STUB: gclSetKernelArgSamplerAPPLE called"); 797 + return NULL; 798 + } 799 + 800 + void* gcl_copy_image(void) 801 + { 802 + if (verbose) puts("STUB: gcl_copy_image called"); 803 + return NULL; 804 + } 805 + 806 + void* gcl_copy_image_to_ptr(void) 807 + { 808 + if (verbose) puts("STUB: gcl_copy_image_to_ptr called"); 809 + return NULL; 810 + } 811 + 812 + void* gcl_copy_ptr_to_image(void) 813 + { 814 + if (verbose) puts("STUB: gcl_copy_ptr_to_image called"); 815 + return NULL; 816 + } 817 + 818 + void* gcl_create_buffer_from_ptr(void) 819 + { 820 + if (verbose) puts("STUB: gcl_create_buffer_from_ptr called"); 821 + return NULL; 822 + } 823 + 824 + void* gcl_create_dispatch_queue(void) 825 + { 826 + if (verbose) puts("STUB: gcl_create_dispatch_queue called"); 827 + return NULL; 828 + } 829 + 830 + void* gcl_create_image(void) 831 + { 832 + if (verbose) puts("STUB: gcl_create_image called"); 833 + return NULL; 834 + } 835 + 836 + void* gcl_create_kernel_from_block(void) 837 + { 838 + if (verbose) puts("STUB: gcl_create_kernel_from_block called"); 839 + return NULL; 840 + } 841 + 842 + void* gcl_free(void) 843 + { 844 + if (verbose) puts("STUB: gcl_free called"); 845 + return NULL; 846 + } 847 + 848 + void* gcl_get_context(void) 849 + { 850 + if (verbose) puts("STUB: gcl_get_context called"); 851 + return NULL; 852 + } 853 + 854 + void* gcl_get_device_id_with_dispatch_queue(void) 855 + { 856 + if (verbose) puts("STUB: gcl_get_device_id_with_dispatch_queue called"); 857 + return NULL; 858 + } 859 + 860 + void* gcl_get_kernel_block_workgroup_info(void) 861 + { 862 + if (verbose) puts("STUB: gcl_get_kernel_block_workgroup_info called"); 863 + return NULL; 864 + } 865 + 866 + void* gcl_get_supported_image_formats(void) 867 + { 868 + if (verbose) puts("STUB: gcl_get_supported_image_formats called"); 869 + return NULL; 870 + } 871 + 872 + void* gcl_gl_create_image_from_renderbuffer(void) 873 + { 874 + if (verbose) puts("STUB: gcl_gl_create_image_from_renderbuffer called"); 875 + return NULL; 876 + } 877 + 878 + void* gcl_gl_create_image_from_texture(void) 879 + { 880 + if (verbose) puts("STUB: gcl_gl_create_image_from_texture called"); 881 + return NULL; 882 + } 883 + 884 + void* gcl_gl_create_ptr_from_buffer(void) 885 + { 886 + if (verbose) puts("STUB: gcl_gl_create_ptr_from_buffer called"); 887 + return NULL; 888 + } 889 + 890 + void* gcl_gl_set_sharegroup(void) 891 + { 892 + if (verbose) puts("STUB: gcl_gl_set_sharegroup called"); 893 + return NULL; 894 + } 895 + 896 + void* gcl_log_cl_error(void) 897 + { 898 + if (verbose) puts("STUB: gcl_log_cl_error called"); 899 + return NULL; 900 + } 901 + 902 + void* gcl_log_cl_fatal(void) 903 + { 904 + if (verbose) puts("STUB: gcl_log_cl_fatal called"); 905 + return NULL; 906 + } 907 + 908 + void* gcl_log_error(void) 909 + { 910 + if (verbose) puts("STUB: gcl_log_error called"); 911 + return NULL; 912 + } 913 + 914 + void* gcl_log_fatal(void) 915 + { 916 + if (verbose) puts("STUB: gcl_log_fatal called"); 917 + return NULL; 918 + } 919 + 920 + void* gcl_log_warning(void) 921 + { 922 + if (verbose) puts("STUB: gcl_log_warning called"); 923 + return NULL; 924 + } 925 + 926 + void* gcl_malloc(void) 927 + { 928 + if (verbose) puts("STUB: gcl_malloc called"); 929 + return NULL; 930 + } 931 + 932 + void* gcl_map_image(void) 933 + { 934 + if (verbose) puts("STUB: gcl_map_image called"); 935 + return NULL; 936 + } 937 + 938 + void* gcl_map_ptr(void) 939 + { 940 + if (verbose) puts("STUB: gcl_map_ptr called"); 941 + return NULL; 942 + } 943 + 944 + void* gcl_memcpy(void) 945 + { 946 + if (verbose) puts("STUB: gcl_memcpy called"); 947 + return NULL; 948 + } 949 + 950 + void* gcl_memcpy_rect(void) 951 + { 952 + if (verbose) puts("STUB: gcl_memcpy_rect called"); 953 + return NULL; 954 + } 955 + 956 + void* gcl_release_image(void) 957 + { 958 + if (verbose) puts("STUB: gcl_release_image called"); 959 + return NULL; 960 + } 961 + 962 + void* gcl_retain_image(void) 963 + { 964 + if (verbose) puts("STUB: gcl_retain_image called"); 965 + return NULL; 966 + } 967 + 968 + void* gcl_set_finalizer(void) 969 + { 970 + if (verbose) puts("STUB: gcl_set_finalizer called"); 971 + return NULL; 972 + } 973 + 974 + void* gcl_start_timer(void) 975 + { 976 + if (verbose) puts("STUB: gcl_start_timer called"); 977 + return NULL; 978 + } 979 + 980 + void* gcl_stop_timer(void) 981 + { 982 + if (verbose) puts("STUB: gcl_stop_timer called"); 983 + return NULL; 984 + } 985 + 986 + void* gcl_unmap(void) 987 + { 988 + if (verbose) puts("STUB: gcl_unmap called"); 989 + return NULL; 990 + }
src/OpenDirectory/CFOpenDirectory/CFOpenDirectory src/OpenDirectoryOld/CFOpenDirectory/CFOpenDirectory
src/OpenDirectory/CFOpenDirectory/Headers/CFODContext.h src/OpenDirectoryOld/CFOpenDirectory/Headers/CFODContext.h
src/OpenDirectory/CFOpenDirectory/Headers/CFODNode.h src/OpenDirectoryOld/CFOpenDirectory/Headers/CFODNode.h
src/OpenDirectory/CFOpenDirectory/Headers/CFODQuery.h src/OpenDirectoryOld/CFOpenDirectory/Headers/CFODQuery.h
src/OpenDirectory/CFOpenDirectory/Headers/CFODRecord.h src/OpenDirectoryOld/CFOpenDirectory/Headers/CFODRecord.h
src/OpenDirectory/CFOpenDirectory/Headers/CFODSession.h src/OpenDirectoryOld/CFOpenDirectory/Headers/CFODSession.h
src/OpenDirectory/CFOpenDirectory/Headers/CFOpenDirectory.h src/OpenDirectoryOld/CFOpenDirectory/Headers/CFOpenDirectory.h
src/OpenDirectory/CFOpenDirectory/Headers/CFOpenDirectoryConstants.h src/OpenDirectoryOld/CFOpenDirectory/Headers/CFOpenDirectoryConstants.h
+33
src/OpenDirectory/CMakeLists.txt
··· 1 + project(OpenDirectory) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + 6 + add_framework(OpenDirectory 7 + FAT 8 + CURRENT_VERSION 9 + VERSION "A" 10 + 11 + SOURCES 12 + src/OpenDirectory.m 13 + src/NSODSession.m 14 + src/ODSession.m 15 + src/NSODNode.m 16 + src/ODNode.m 17 + src/NSODRecord.m 18 + src/ODRecord.m 19 + src/NSODQuery.m 20 + src/ODQuery.m 21 + src/NSODContext.m 22 + src/ODContext.m 23 + src/ODConfiguration.m 24 + src/ODModuleEntry.m 25 + src/ODMappings.m 26 + src/ODAttributeMap.m 27 + src/ODRecordMap.m 28 + 29 + DEPENDENCIES 30 + system 31 + objc 32 + Foundation 33 + )
src/OpenDirectory/Headers/NSOpenDirectory.h src/OpenDirectoryOld/Headers/NSOpenDirectory.h
src/OpenDirectory/Headers/ODAttributeMap.h src/OpenDirectoryOld/Headers/ODAttributeMap.h
src/OpenDirectory/Headers/ODConfiguration.h src/OpenDirectoryOld/Headers/ODConfiguration.h
src/OpenDirectory/Headers/ODMappings.h src/OpenDirectoryOld/Headers/ODMappings.h
src/OpenDirectory/Headers/ODModuleEntry.h src/OpenDirectoryOld/Headers/ODModuleEntry.h
src/OpenDirectory/Headers/ODNode.h src/OpenDirectoryOld/Headers/ODNode.h
src/OpenDirectory/Headers/ODQuery.h src/OpenDirectoryOld/Headers/ODQuery.h
src/OpenDirectory/Headers/ODRecord.h src/OpenDirectoryOld/Headers/ODRecord.h
src/OpenDirectory/Headers/ODRecordMap.h src/OpenDirectoryOld/Headers/ODRecordMap.h
src/OpenDirectory/Headers/ODSession.h src/OpenDirectoryOld/Headers/ODSession.h
src/OpenDirectory/Headers/OpenDirectory.h src/OpenDirectoryOld/Headers/OpenDirectory.h
src/OpenDirectory/OpenDirectory src/OpenDirectoryOld/OpenDirectory
+24
src/OpenDirectory/include/OpenDirectory/NSODContext.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface NSODContext : NSObject 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/NSODNode.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface NSODNode : NSObject 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/NSODQuery.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface NSODQuery : NSObject 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/NSODRecord.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface NSODRecord : NSObject 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/NSODSession.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface NSODSession : NSObject 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/ODAttributeMap.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface ODAttributeMap : NSObject 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/ODConfiguration.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface ODConfiguration : NSObject 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/ODContext.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface ODContext : NSObject 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/ODMappings.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface ODMappings : NSObject 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/ODModuleEntry.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface ODModuleEntry : NSObject 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/ODNode.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface ODNode : NSObject 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/ODQuery.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface ODQuery : NSObject 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/ODQueryDelegate.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 + #include <Foundation/Foundation.h> 21 + 22 + @protocol ODQueryDelegate 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/ODRecord.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface ODRecord : NSObject 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/ODRecordMap.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface ODRecordMap : NSObject 23 + 24 + @end
+24
src/OpenDirectory/include/OpenDirectory/ODSession.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 + #include <Foundation/Foundation.h> 21 + 22 + @interface ODSession : NSObject 23 + 24 + @end
+45
src/OpenDirectory/include/OpenDirectory/OpenDirectory.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 _OpenDirectory_H_ 22 + #define _OpenDirectory_H_ 23 + 24 + #import <Foundation/Foundation.h> 25 + 26 + #import <OpenDirectory/ODQueryDelegate.h> 27 + #import <OpenDirectory/NSODSession.h> 28 + #import <OpenDirectory/ODSession.h> 29 + #import <OpenDirectory/NSODNode.h> 30 + #import <OpenDirectory/ODNode.h> 31 + #import <OpenDirectory/NSODRecord.h> 32 + #import <OpenDirectory/ODRecord.h> 33 + #import <OpenDirectory/NSODQuery.h> 34 + #import <OpenDirectory/ODQuery.h> 35 + #import <OpenDirectory/NSODContext.h> 36 + #import <OpenDirectory/ODContext.h> 37 + #import <OpenDirectory/ODConfiguration.h> 38 + #import <OpenDirectory/ODModuleEntry.h> 39 + #import <OpenDirectory/ODMappings.h> 40 + #import <OpenDirectory/ODAttributeMap.h> 41 + #import <OpenDirectory/ODRecordMap.h> 42 + 43 + void* ODTrustInfoCopy(void); 44 + 45 + #endif
+34
src/OpenDirectory/src/NSODContext.m
··· 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 + #import <OpenDirectory/NSODContext.h> 21 + 22 + @implementation NSODContext 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/OpenDirectory/src/NSODNode.m
··· 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 + #import <OpenDirectory/NSODNode.h> 21 + 22 + @implementation NSODNode 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/OpenDirectory/src/NSODQuery.m
··· 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 + #import <OpenDirectory/NSODQuery.h> 21 + 22 + @implementation NSODQuery 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/OpenDirectory/src/NSODRecord.m
··· 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 + #import <OpenDirectory/NSODRecord.h> 21 + 22 + @implementation NSODRecord 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/OpenDirectory/src/NSODSession.m
··· 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 + #import <OpenDirectory/NSODSession.h> 21 + 22 + @implementation NSODSession 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/OpenDirectory/src/ODAttributeMap.m
··· 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 + #import <OpenDirectory/ODAttributeMap.h> 21 + 22 + @implementation ODAttributeMap 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/OpenDirectory/src/ODConfiguration.m
··· 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 + #import <OpenDirectory/ODConfiguration.h> 21 + 22 + @implementation ODConfiguration 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/OpenDirectory/src/ODContext.m
··· 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 + #import <OpenDirectory/ODContext.h> 21 + 22 + @implementation ODContext 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/OpenDirectory/src/ODMappings.m
··· 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 + #import <OpenDirectory/ODMappings.h> 21 + 22 + @implementation ODMappings 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/OpenDirectory/src/ODModuleEntry.m
··· 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 + #import <OpenDirectory/ODModuleEntry.h> 21 + 22 + @implementation ODModuleEntry 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/OpenDirectory/src/ODNode.m
··· 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 + #import <OpenDirectory/ODNode.h> 21 + 22 + @implementation ODNode 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/OpenDirectory/src/ODQuery.m
··· 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 + #import <OpenDirectory/ODQuery.h> 21 + 22 + @implementation ODQuery 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/OpenDirectory/src/ODRecord.m
··· 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 + #import <OpenDirectory/ODRecord.h> 21 + 22 + @implementation ODRecord 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/OpenDirectory/src/ODRecordMap.m
··· 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 + #import <OpenDirectory/ODRecordMap.h> 21 + 22 + @implementation ODRecordMap 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+34
src/OpenDirectory/src/ODSession.m
··· 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 + #import <OpenDirectory/ODSession.h> 21 + 22 + @implementation ODSession 23 + 24 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 + { 26 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 27 + } 28 + 29 + - (void)forwardInvocation:(NSInvocation *)anInvocation 30 + { 31 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 32 + } 33 + 34 + @end
+36
src/OpenDirectory/src/OpenDirectory.m
··· 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 <OpenDirectory/OpenDirectory.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* ODTrustInfoCopy(void) 33 + { 34 + if (verbose) puts("STUB: ODTrustInfoCopy called"); 35 + return NULL; 36 + }
+5
src/WebKit/src/WebKit.m
··· 22 22 #include <stdlib.h> 23 23 #include <stdio.h> 24 24 25 + @interface WebView : NSObject 26 + @end 27 + @implementation WebView 28 + @end 29 + 25 30 static int verbose = 0; 26 31 27 32 __attribute__((constructor))