this repo has no description
1
fork

Configure Feed

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

CoreServices fixes

+31 -7
+2
src/CoreServices/CMakeLists.txt
··· 46 46 LSApplicationProxy.m 47 47 LSApplicationWorkspace.m 48 48 constants.m 49 + 49 50 src/FSEvents.c 51 + src/LaunchServices.c 50 52 ) 51 53 52 54 if (WITH_COREAUDIO)
-6
src/CoreServices/LaunchServices.cpp
··· 112 112 return ret; 113 113 } 114 114 115 - OSStatus LSRegisterURL(CFURLRef inURL, Boolean inUpdate) 116 - { 117 - printf("STUB: LSRegisterURL"); 118 - return 0; 119 - } 120 - 121 115 OSStatus LSOpenApplication(const LSApplicationParameters *appParams, ProcessSerialNumber *outPSN) 122 116 { 123 117 if (!appParams)
+1 -1
src/CoreServices/src/FSEvents.c
··· 39 39 printf("STUB %s\n", __PRETTY_FUNCTION__); 40 40 stream = CFAllocatorAllocate(allocator, sizeof(struct __FSEventStream), 0); 41 41 stream->allocator = allocator; 42 - stream->pathsToWatch = pathsToWatch; 42 + stream->pathsToWatch = CFArrayCreateCopy(allocator, pathsToWatch); 43 43 return stream; 44 44 } 45 45
+28
src/CoreServices/src/LaunchServices.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 + #include <LaunchServices/LaunchServices.h> 21 + #include <stdio.h> 22 + #include <stdlib.h> 23 + 24 + OSStatus LSRegisterURL(CFURLRef inURL, Boolean inUpdate) 25 + { 26 + printf("STUB: LSRegisterURL\n"); 27 + return 0; 28 + }