this repo has no description
1
fork

Configure Feed

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

Add _scproxy Python module (resolves #166)

+50 -34
+2
etc/dylib.conf
··· 106 106 [AppKit.framework] 107 107 C=libAppKit.so 108 108 109 + [SystemConfiguration.framework] 110 + A=libSystemConfiguration.so
+1
src/CMakeLists.txt
··· 81 81 add_subdirectory(external/pcre) 82 82 add_subdirectory(external/sqlite) 83 83 add_subdirectory(CFF) 84 + add_subdirectory(SystemConfiguration) 84 85 add_subdirectory(CoreServices) 85 86 add_subdirectory(ApplicationServices) 86 87 add_subdirectory(VideoDecodeAcceleration)
+5 -5
src/SystemConfiguration/CMakeLists.txt
··· 5 5 cmake_policy(SET CMP0003 NEW) 6 6 endif(COMMAND cmake_policy) 7 7 8 - #if (NOT "${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1}" MATCHES ".*clang") 9 - # message(FATAL_ERROR "Clang is the only supported compiler.") 10 - #endif (NOT "${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1}" MATCHES ".*clang") 11 8 12 9 #configure_file(config.h.in config.h) 13 10 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") ··· 15 12 16 13 include_directories(${CMAKE_CURRENT_SOURCE_DIR}) 17 14 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..) 18 - include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../util) 15 + include_directories(${DARLING_TOP_DIRECTORY}/src/external/corefoundation/Headers) 16 + include_directories(${CMAKE_BINARY_DIR}/src/external/corefoundation/Headers) 17 + include_directories(${DARLING_TOP_DIRECTORY}/src/external/foundation/Headers) 18 + include_directories(${DARLING_TOP_DIRECTORY}/basic-headers) 19 19 20 20 set(SystemConfiguration_SRCS 21 21 SCDynamicStoreCopySpecific.cpp ··· 23 23 ) 24 24 25 25 add_library(SystemConfiguration SHARED ${SystemConfiguration_SRCS}) 26 - target_link_libraries(SystemConfiguration -lgnustep-corebase) 26 + target_link_libraries(SystemConfiguration CFF) 27 27 28 28 install(TARGETS SystemConfiguration DESTINATION "${CMAKE_INSTALL_LIBDIR}/darling") 29 29
+4 -4
src/SystemConfiguration/SCDynamicStoreCopySpecific.cpp
··· 3 3 #include <stdlib.h> 4 4 #include <pwd.h> 5 5 #include <sys/utsname.h> 6 - #include "log.h" 6 + //#include "log.h" 7 7 8 8 #include <CoreFoundation/CFString.h> 9 9 #include <SystemConfiguration/SCDynamicStoreCopySpecific.h> ··· 11 11 #define MAX_PASSENTRY_LENGTH 4096 12 12 13 13 CFStringRef SCDynamicStoreCopyComputerName (SCDynamicStoreRef store, CFStringEncoding *nameEncoding){ 14 - LOG << "fixme: SCDynamicStoreCopyComputerName() - stub" << std::endl; 14 + //LOG << "fixme: SCDynamicStoreCopyComputerName() - stub" << std::endl; 15 15 return NULL; 16 16 } 17 17 ··· 43 43 } 44 44 45 45 CFStringRef SCDynamicStoreCopyLocation (SCDynamicStoreRef store){ 46 - LOG << "fixme: SCDynamicStoreCopyLocation() - stub" << std::endl; 46 + //LOG << "fixme: SCDynamicStoreCopyLocation() - stub" << std::endl; 47 47 return NULL; 48 48 } 49 49 50 50 CFDictionaryRef SCDynamicStoreCopyProxies (SCDynamicStoreRef store){ 51 - LOG << "fixme: SCDynamicStoreCopyComputerName() - stub" << std::endl; 51 + //LOG << "fixme: SCDynamicStoreCopyComputerName() - stub" << std::endl; 52 52 /* No Proxy support yet */ 53 53 return NULL; 54 54 }
+29 -25
src/SystemConfiguration/SCSchemaDefinitions.cpp
··· 1 1 #include "SCSchemaDefinitions.h" 2 + #include "../CFF/CFStringConst.h" 2 3 3 - const CFStringRef kSCPropNetProxiesExceptionsList = CFSTR("ExceptionsList"); 4 - const CFStringRef kSCPropNetProxiesExcludeSimpleHostnames = CFSTR("ExcludeSimpleHostnames"); 5 - const CFStringRef kSCPropNetProxiesFTPEnable = CFSTR("FTPEnable"); 6 - const CFStringRef kSCPropNetProxiesFTPPassive = CFSTR("FTPPassive"); 7 - const CFStringRef kSCPropNetProxiesFTPPort = CFSTR("FTPPort"); 8 - const CFStringRef kSCPropNetProxiesFTPProxy = CFSTR("FTPProxy"); 9 - const CFStringRef kSCPropNetProxiesGopherEnable = CFSTR("GopherEnable"); 10 - const CFStringRef kSCPropNetProxiesGopherPort = CFSTR("GopherPort"); 11 - const CFStringRef kSCPropNetProxiesGopherProxy = CFSTR("GopherProxy"); 12 - const CFStringRef kSCPropNetProxiesHTTPEnable = CFSTR("HTTPEnable"); 13 - const CFStringRef kSCPropNetProxiesHTTPPort = CFSTR("HTTPPort"); 14 - const CFStringRef kSCPropNetProxiesHTTPProxy = CFSTR("HTTPProxy"); 15 - const CFStringRef kSCPropNetProxiesHTTPSEnable = CFSTR("HTTPSEnable"); 16 - const CFStringRef kSCPropNetProxiesHTTPSPort = CFSTR("HTTPSPort"); 17 - const CFStringRef kSCPropNetProxiesHTTPSProxy = CFSTR("HTTPSProxy"); 18 - const CFStringRef kSCPropNetProxiesRTSPEnable = CFSTR("RTSPEnable"); 19 - const CFStringRef kSCPropNetProxiesRTSPPort = CFSTR("RTSPPort"); 20 - const CFStringRef kSCPropNetProxiesRTSPProxy = CFSTR("RTSPProxy"); 21 - const CFStringRef kSCPropNetProxiesSOCKSEnable = CFSTR("SOCKSEnable"); 22 - const CFStringRef kSCPropNetProxiesSOCKSPort = CFSTR("SOCKSPort"); 23 - const CFStringRef kSCPropNetProxiesSOCKSProxy = CFSTR("SOCKSProxy"); 24 - const CFStringRef kSCPropNetProxiesProxyAutoConfigEnable = CFSTR("ProxyAutoConfigEnable"); 25 - const CFStringRef kSCPropNetProxiesProxyAutoConfigJavaScript = CFSTR("ProxyAutoConfigJavaScript"); 26 - const CFStringRef kSCPropNetProxiesProxyAutoConfigURLString = CFSTR("ProxyAutoConfigURLString"); 27 - const CFStringRef kSCPropNetProxiesProxyAutoDiscoveryEnable = CFSTR("ProxyAutoDiscoveryEnable"); 4 + extern "C" { 28 5 6 + CONST_STRING_DECL(kSCPropNetProxiesExceptionsList, "ExceptionsList"); 7 + CONST_STRING_DECL(kSCPropNetProxiesExcludeSimpleHostnames, "ExcludeSimpleHostnames"); 8 + CONST_STRING_DECL(kSCPropNetProxiesFTPEnable, "FTPEnable"); 9 + CONST_STRING_DECL(kSCPropNetProxiesFTPPassive, "FTPPassive"); 10 + CONST_STRING_DECL(kSCPropNetProxiesFTPPort, "FTPPort"); 11 + CONST_STRING_DECL(kSCPropNetProxiesFTPProxy, "FTPProxy"); 12 + CONST_STRING_DECL(kSCPropNetProxiesGopherEnable, "GopherEnable"); 13 + CONST_STRING_DECL(kSCPropNetProxiesGopherPort, "GopherPort"); 14 + CONST_STRING_DECL(kSCPropNetProxiesGopherProxy, "GopherProxy"); 15 + CONST_STRING_DECL(kSCPropNetProxiesHTTPEnable, "HTTPEnable"); 16 + CONST_STRING_DECL(kSCPropNetProxiesHTTPPort, "HTTPPort"); 17 + CONST_STRING_DECL(kSCPropNetProxiesHTTPProxy, "HTTPProxy"); 18 + CONST_STRING_DECL(kSCPropNetProxiesHTTPSEnable, "HTTPSEnable"); 19 + CONST_STRING_DECL(kSCPropNetProxiesHTTPSPort, "HTTPSPort"); 20 + CONST_STRING_DECL(kSCPropNetProxiesHTTPSProxy, "HTTPSProxy"); 21 + CONST_STRING_DECL(kSCPropNetProxiesRTSPEnable, "RTSPEnable"); 22 + CONST_STRING_DECL(kSCPropNetProxiesRTSPPort, "RTSPPort"); 23 + CONST_STRING_DECL(kSCPropNetProxiesRTSPProxy, "RTSPProxy"); 24 + CONST_STRING_DECL(kSCPropNetProxiesSOCKSEnable, "SOCKSEnable"); 25 + CONST_STRING_DECL(kSCPropNetProxiesSOCKSPort, "SOCKSPort"); 26 + CONST_STRING_DECL(kSCPropNetProxiesSOCKSProxy, "SOCKSProxy"); 27 + CONST_STRING_DECL(kSCPropNetProxiesProxyAutoConfigEnable, "ProxyAutoConfigEnable"); 28 + CONST_STRING_DECL(kSCPropNetProxiesProxyAutoConfigJavaScript, "ProxyAutoConfigJavaScript"); 29 + CONST_STRING_DECL(kSCPropNetProxiesProxyAutoConfigURLString, "ProxyAutoConfigURLString"); 30 + CONST_STRING_DECL(kSCPropNetProxiesProxyAutoDiscoveryEnable, "ProxyAutoDiscoveryEnable"); 31 + 32 + }
+9
src/SystemConfiguration/SystemConfiguration.h
··· 1 + #ifndef _SYSTEMCONFIGURATION_H 2 + #define _SYSTEMCONFIGURATION_H 3 + 4 + #include <SystemConfiguration/SCDynamicStoreCopySpecific.h> 5 + #include <SystemConfiguration/SCDynamicStore.h> 6 + #include <SystemConfiguration/SCSchemaDefinitions.h> 7 + 8 + #endif 9 +