this repo has no description
1
fork

Configure Feed

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

Clean up build output

No warnings in src/frameworks and src/private-frameworks now.
-Werror has been turned on there to keep it that way.

+25 -544
-5
src/frameworks/AVFoundation/include/AVFoundation/AVFoundation.h
··· 71 71 #import <AVFoundation/AVVideoCompositing.h> 72 72 #import <AVFoundation/AVVideoCompositionInstruction.h> 73 73 #import <AVFoundation/AVWeakObservable.h> 74 - #import <AVFoundation/NSMutableCopying.h> 75 - #import <AVFoundation/NSURLAuthenticationChallengeSender.h> 76 - #import <AVFoundation/NSURLSessionDataDelegate.h> 77 - #import <AVFoundation/NSURLSessionDelegate.h> 78 - #import <AVFoundation/NSURLSessionTaskDelegate.h> 79 74 #import <AVFoundation/AVPlayerLayerIntermediateLayer.h> 80 75 #import <AVFoundation/AVPlayerLayerInternal.h> 81 76 #import <AVFoundation/AVPlayerLayer.h>
-24
src/frameworks/AVFoundation/include/AVFoundation/NSMutableCopying.h
··· 1 - /* 2 - This file is part of Darling. 3 - 4 - Copyright (C) 2017 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 NSMutableCopying 23 - 24 - @end
-24
src/frameworks/AVFoundation/include/AVFoundation/NSURLAuthenticationChallengeSender.h
··· 1 - /* 2 - This file is part of Darling. 3 - 4 - Copyright (C) 2017 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 NSURLAuthenticationChallengeSender 23 - 24 - @end
-24
src/frameworks/AVFoundation/include/AVFoundation/NSURLSessionDataDelegate.h
··· 1 - /* 2 - This file is part of Darling. 3 - 4 - Copyright (C) 2017 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 NSURLSessionDataDelegate 23 - 24 - @end
-24
src/frameworks/AVFoundation/include/AVFoundation/NSURLSessionDelegate.h
··· 1 - /* 2 - This file is part of Darling. 3 - 4 - Copyright (C) 2017 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 NSURLSessionDelegate 23 - 24 - @end
-24
src/frameworks/AVFoundation/include/AVFoundation/NSURLSessionTaskDelegate.h
··· 1 - /* 2 - This file is part of Darling. 3 - 4 - Copyright (C) 2017 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 NSURLSessionTaskDelegate 23 - 24 - @end
-1
src/frameworks/AVKit/include/AVKit/AVKit.h
··· 66 66 #import <AVKit/CAStateControllerDelegate.h> 67 67 #import <AVKit/NSAccessibilityElement.h> 68 68 #import <AVKit/NSAccessibilitySlider.h> 69 - #import <AVKit/NSCacheDelegate.h> 70 69 #import <AVKit/NSDescriptionBasedTouchBarItem.h> 71 70 #import <AVKit/NSDescriptionBasedTouchBarItemProvider.h> 72 71 #import <AVKit/NSMenuDelegate.h>
-24
src/frameworks/AVKit/include/AVKit/NSCacheDelegate.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 NSCacheDelegate 23 - 24 - @end
+2
src/frameworks/CMakeLists.txt
··· 1 1 project(frameworks) 2 2 3 + add_compile_options(-Werror) 4 + 3 5 add_subdirectory(AGL) 4 6 add_subdirectory(AVFoundation) 5 7 add_subdirectory(Accelerate)
+1 -1
src/frameworks/Carbon/include/HIToolbox/Keyboards.h
··· 12 12 kKeyboardJIS = 'JIS ', 13 13 kKeyboardANSI = 'ANSI', 14 14 kKeyboardISO = 'ISO ', 15 - kKeyboardUnknown = '????' 15 + kKeyboardUnknown = kUnknownType /* ???? */ 16 16 }; 17 17 18 18 typedef OSType PhysicalKeyboardLayoutType;
-1
src/frameworks/Contacts/include/Contacts/Contacts.h
··· 59 59 #import <Contacts/CNXPCDataMapperService.h> 60 60 #import <Contacts/NSItemProviderReading.h> 61 61 #import <Contacts/NSItemProviderWriting.h> 62 - #import <Contacts/NSMutableCopying.h> 63 62 #import <Contacts/NSPredicateVisitor.h> 64 63 #import <Contacts/ProgressiveResultsCancellationProtocol.h> 65 64 #import <Contacts/ProgressiveResultsHandlerProtocol.h>
-24
src/frameworks/Contacts/include/Contacts/NSMutableCopying.h
··· 1 - /* 2 - This file is part of Darling. 3 - 4 - Copyright (C) 2017 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 NSMutableCopying 23 - 24 - @end
+1 -1
src/frameworks/CoreServices/LSApplicationProxy.m
··· 1 - #import <Foundation/NSObject.h> 1 + #import <Foundation/Foundation.h> 2 2 3 3 // DUMMY 4 4
+1 -1
src/frameworks/CoreServices/LSApplicationWorkspace.m
··· 1 - #import <Foundation/NSObject.h> 1 + #import <Foundation/Foundation.h> 2 2 3 3 // DUMMY 4 4
+2 -2
src/frameworks/CoreServices/Processes.cpp
··· 26 26 char path[100]; 27 27 int fd, len; 28 28 29 - sprintf(path, "/proc/%u/comm", psn->lowLongOfPSN); 29 + sprintf(path, "/proc/%u/comm", (unsigned int)psn->lowLongOfPSN); 30 30 31 31 fd = ::open(path, O_RDONLY); 32 32 if (fd == -1) ··· 160 160 if (status != noErr) 161 161 return nullptr; 162 162 163 - sprintf(lpath, "/proc/%u/exe", PSN->lowLongOfPSN); 163 + sprintf(lpath, "/proc/%u/exe", (unsigned int)PSN->lowLongOfPSN); 164 164 len = ::readlink(lpath, procpath, sizeof(procpath)-1); 165 165 if (len < 0) 166 166 return nullptr;
+1
src/frameworks/CoreServices/src/FSEvents/FSEventsImpl.h
··· 61 61 -(void)start; 62 62 -(void)stop; 63 63 -(FSEventStreamEventId)lastEventID; 64 + -(void)_doCallback; 64 65 65 66 @end 66 67
-3
src/frameworks/MapKit/include/MapKit/MapKit.h
··· 112 112 #import <MapKit/NSSharingServicePickerDelegate.h> 113 113 #import <MapKit/NSTableViewDataSource.h> 114 114 #import <MapKit/NSTableViewDelegate.h> 115 - #import <MapKit/NSURLSessionDataDelegate.h> 116 - #import <MapKit/NSURLSessionDelegate.h> 117 - #import <MapKit/NSURLSessionTaskDelegate.h> 118 115 #import <MapKit/VKAnnotation.h> 119 116 #import <MapKit/VKCustomFeatureAnnotation.h> 120 117 #import <MapKit/VKCustomFeatureDataSource.h>
-24
src/frameworks/MapKit/include/MapKit/NSURLSessionDataDelegate.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 NSURLSessionDataDelegate 23 - 24 - @end
-24
src/frameworks/MapKit/include/MapKit/NSURLSessionDelegate.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 NSURLSessionDelegate 23 - 24 - @end
-24
src/frameworks/MapKit/include/MapKit/NSURLSessionTaskDelegate.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 NSURLSessionTaskDelegate 23 - 24 - @end
-6
src/frameworks/MultipeerConnectivity/include/MultipeerConnectivity/MultipeerConnectivity.h
··· 26 26 #import <MultipeerConnectivity/MCNearbyServiceAdvertiserDelegate.h> 27 27 #import <MultipeerConnectivity/MCNearbyServiceBrowserDelegate.h> 28 28 #import <MultipeerConnectivity/MCSessionPrivateDelegate.h> 29 - #import <MultipeerConnectivity/NSNetServiceBrowserDelegate.h> 30 - #import <MultipeerConnectivity/NSNetServiceDelegate.h> 31 - #import <MultipeerConnectivity/NSStreamDelegate.h> 32 - #import <MultipeerConnectivity/NSURLSessionDataDelegate.h> 33 - #import <MultipeerConnectivity/NSURLSessionDelegate.h> 34 - #import <MultipeerConnectivity/NSURLSessionTaskDelegate.h> 35 29 #import <MultipeerConnectivity/MCBrowserViewController.h> 36 30 #import <MultipeerConnectivity/MCAdvertiserAssistant.h> 37 31 #import <MultipeerConnectivity/MCSessionPeerState.h>
-24
src/frameworks/MultipeerConnectivity/include/MultipeerConnectivity/NSNetServiceBrowserDelegate.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 NSNetServiceBrowserDelegate 23 - 24 - @end
-24
src/frameworks/MultipeerConnectivity/include/MultipeerConnectivity/NSNetServiceDelegate.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 NSNetServiceDelegate 23 - 24 - @end
-24
src/frameworks/MultipeerConnectivity/include/MultipeerConnectivity/NSStreamDelegate.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 NSStreamDelegate 23 - 24 - @end
-24
src/frameworks/MultipeerConnectivity/include/MultipeerConnectivity/NSURLSessionDataDelegate.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 NSURLSessionDataDelegate 23 - 24 - @end
-24
src/frameworks/MultipeerConnectivity/include/MultipeerConnectivity/NSURLSessionDelegate.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 NSURLSessionDelegate 23 - 24 - @end
-24
src/frameworks/MultipeerConnectivity/include/MultipeerConnectivity/NSURLSessionTaskDelegate.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 NSURLSessionTaskDelegate 23 - 24 - @end
+1 -1
src/ncurses/CMakeLists.txt
··· 2 2 3 3 cmake_minimum_required(VERSION 2.4.0) 4 4 5 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -nostdinc") 5 + add_definitions(-nostdinc) 6 6 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -nostdlib") 7 7 8 8 include_directories(${DARLING_TOP_DIRECTORY}/platform-include)
+1 -1
src/private-frameworks/AuthKit/src/functions.c
··· 17 17 along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 - 20 + #include <stdio.h> 21 21 #include <stdlib.h> 22 22 static int verbose = 0; 23 23 __attribute__((constructor)) static void initme(void) {
+2
src/private-frameworks/CMakeLists.txt
··· 1 1 project(private-frameworks) 2 2 3 + add_compile_options(-Werror) 4 + 3 5 add_subdirectory(AppleSystemInfo) 4 6 add_subdirectory(AuthKit) 5 7 add_subdirectory(CrashReporterSupport)
+1 -1
src/private-frameworks/CoreSymbolication/src/functions.c
··· 17 17 along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 - 20 + #include <stdio.h> 21 21 #include <stdlib.h> 22 22 static int verbose = 0; 23 23 __attribute__((constructor)) static void initme(void) {
+1 -1
src/private-frameworks/CrashReporterSupport/src/functions.c
··· 17 17 along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 - 20 + #include <stdio.h> 21 21 #include <stdlib.h> 22 22 static int verbose = 0; 23 23 __attribute__((constructor)) static void initme(void) {
+1 -1
src/private-frameworks/DiskManagement/src/functions.c
··· 17 17 along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 - 20 + #include <stdio.h> 21 21 #include <stdlib.h> 22 22 static int verbose = 0; 23 23 __attribute__((constructor)) static void initme(void) {
+1 -1
src/private-frameworks/IOPlatformPluginFamily/src/functions.c
··· 17 17 along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 - 20 + #include <stdio.h> 21 21 #include <stdlib.h> 22 22 static int verbose = 0; 23 23 __attribute__((constructor)) static void initme(void) {
-5
src/private-frameworks/MobileDevice/include/MobileDevice/MobileDevice.h
··· 24 24 #import <Foundation/Foundation.h> 25 25 26 26 #import <MobileDevice/MDRemoteServiceSupportProtocol.h> 27 - #import <MobileDevice/NSURLConnectionDataDelegate.h> 28 - #import <MobileDevice/NSURLConnectionDelegate.h> 29 - #import <MobileDevice/NSURLSessionDelegate.h> 30 - #import <MobileDevice/NSURLSessionStreamDelegate.h> 31 - #import <MobileDevice/NSURLSessionTaskDelegate.h> 32 27 #import <MobileDevice/AMSupportURLConnectionDelegate.h> 33 28 #import <MobileDevice/AMSupportURLSession.h> 34 29 #import <MobileDevice/RPStream.h>
-24
src/private-frameworks/MobileDevice/include/MobileDevice/NSURLConnectionDataDelegate.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 NSURLConnectionDataDelegate 23 - 24 - @end
-24
src/private-frameworks/MobileDevice/include/MobileDevice/NSURLConnectionDelegate.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 NSURLConnectionDelegate 23 - 24 - @end
-24
src/private-frameworks/MobileDevice/include/MobileDevice/NSURLSessionDelegate.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 NSURLSessionDelegate 23 - 24 - @end
-24
src/private-frameworks/MobileDevice/include/MobileDevice/NSURLSessionStreamDelegate.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 NSURLSessionStreamDelegate 23 - 24 - @end
-24
src/private-frameworks/MobileDevice/include/MobileDevice/NSURLSessionTaskDelegate.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 NSURLSessionTaskDelegate 23 - 24 - @end
+1 -1
src/private-frameworks/NetworkStatistics/src/functions.c
··· 17 17 along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 - 20 + #include <stdio.h> 21 21 #include <stdlib.h> 22 22 static int verbose = 0; 23 23 __attribute__((constructor)) static void initme(void) {
+1
src/private-frameworks/PackageKit/src/PKSignedContainer.m
··· 55 55 { 56 56 // TODO 57 57 } 58 + return 0; 58 59 } 59 60 60 61 static NSError* makeError(NSURL* url, NSString* errorString)
+1 -1
src/private-frameworks/PerformanceAnalysis/src/functions.c
··· 17 17 along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 - 20 + #include <stdio.h> 21 21 #include <stdlib.h> 22 22 static int verbose = 0; 23 23 __attribute__((constructor)) static void initme(void) {
+1 -1
src/private-frameworks/PlugInKit/src/functions.c
··· 17 17 along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 - 20 + #include <stdio.h> 21 21 #include <stdlib.h> 22 22 static int verbose = 0; 23 23 __attribute__((constructor)) static void initme(void) {
+1 -1
src/private-frameworks/StreamingZip/src/functions.c
··· 17 17 along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 - 20 + #include <stdio.h> 21 21 #include <stdlib.h> 22 22 static int verbose = 0; 23 23 __attribute__((constructor)) static void initme(void) {
+1 -3
src/shellspawn/CMakeLists.txt
··· 1 1 project(shellspawn) 2 2 3 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -nostdinc") 4 - 5 - include(darling_exe) 3 + add_definitions(-nostdinc) 6 4 7 5 add_darling_executable(shellspawn shellspawn.c duct_signals.c) 8 6
+3 -1
tools/darling-stub-gen
··· 210 210 protocols_regex = re.compile("(@protocol (.+?)[\n ].+?@end)", re.DOTALL | re.MULTILINE) 211 211 classes_regex = re.compile("(@interface (.+?) :.+?@end)", re.DOTALL | re.MULTILINE) 212 212 213 - blacklisted_protocols = ["NSObject", "NSSecureCoding", "NSCoding", "NSCopying", "NSFastEnumeration", "NSMutableCopying"] 213 + blacklisted_protocols = ["NSObject", "NSSecureCoding", "NSCoding", "NSCopying", "NSFastEnumeration", "NSMutableCopying", 214 + "NSURLConnectionDataDelegate", "NSURLSessionTaskDelegate", "NSURLConnectionDelegate" 215 + ] 214 216 for protocol_def in protocols_regex.finditer(class_dump_output): 215 217 protocol_contents, protocol_name = protocol_def.groups() 216 218 if protocol_name in blacklisted_protocols: