Skip to content

Commit

Permalink
CyberKit v0.0.8 ref609
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Benedict authored and Matthew Benedict committed Jul 24, 2023
1 parent 9ce63b3 commit c1bd7ad
Show file tree
Hide file tree
Showing 9 changed files with 104 additions and 13 deletions.
21 changes: 20 additions & 1 deletion Source/CyberCore/CyberCore.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -34448,11 +34448,14 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = SJ87WGCZM7;
ENABLE_BITCODE = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberCore;
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
name = Debug;
};
Expand All @@ -34462,11 +34465,14 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = SJ87WGCZM7;
ENABLE_BITCODE = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberCore;
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
name = Release;
};
Expand All @@ -34477,40 +34483,53 @@
BUILD_VARIANTS = normal;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = SJ87WGCZM7;
ENABLE_BITCODE = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberCore;
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
name = Production;
};
149C284408902B11008A9EFC /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 1CDD45E40BA9C84600F90147 /* DebugRelease.xcconfig */;
buildSettings = {
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = "$(DEAD_CODE_STRIPPING_debug)";
DEBUG_DEFINES = "$(DEBUG_DEFINES_debug)";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_OPTIMIZATION_LEVEL = "$(GCC_OPTIMIZATION_LEVEL_debug)";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
STRIP_INSTALLED_PRODUCT = "$(STRIP_INSTALLED_PRODUCT_debug)";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_STYLE = debugging;
};
name = Debug;
};
149C284508902B11008A9EFC /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 1CDD45E40BA9C84600F90147 /* DebugRelease.xcconfig */;
buildSettings = {
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
STRIP_INSTALLED_PRODUCT = NO;
STRIP_STYLE = debugging;
};
name = Release;
};
149C284708902B11008A9EFC /* Production */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 1CDD45E60BA9C84600F90147 /* Base.xcconfig */;
buildSettings = {
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
STRIP_INSTALLED_PRODUCT = NO;
STRIP_STYLE = debugging;
};
name = Production;
};
Expand Down
8 changes: 4 additions & 4 deletions Source/CyberCore/platform/network/cocoa/CookieCocoa.mm
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ static double cookieCreated(NSHTTPCookie *cookie)
if (!policy)
return Cookie::SameSitePolicy::None;
ALLOW_NEW_API_WITHOUT_GUARDS_BEGIN
if ([policy isEqualToString:NSHTTPCookieSameSiteLax])
if ([policy isEqualToString:@"lax"])
return Cookie::SameSitePolicy::Lax;
if ([policy isEqualToString:NSHTTPCookieSameSiteStrict])
if ([policy isEqualToString:@"strict"])
return Cookie::SameSitePolicy::Strict;
ALLOW_NEW_API_WITHOUT_GUARDS_END
ASSERT_NOT_REACHED();
Expand All @@ -106,9 +106,9 @@ static NSHTTPCookieStringPolicy _Nullable nsSameSitePolicy(Cookie::SameSitePolic
return nil;
ALLOW_NEW_API_WITHOUT_GUARDS_BEGIN
case Cookie::SameSitePolicy::Lax:
return NSHTTPCookieSameSiteLax;
return @"lax";
case Cookie::SameSitePolicy::Strict:
return NSHTTPCookieSameSiteStrict;
return @"strict";
ALLOW_NEW_API_WITHOUT_GUARDS_END
}
}
Expand Down
15 changes: 15 additions & 0 deletions Source/CyberKit/CyberKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12425,6 +12425,8 @@
OTHER_LDFLAGS = "$(OTHER_LDFLAGS)";
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberKit;
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
name = Debug;
};
Expand All @@ -12440,6 +12442,8 @@
OTHER_LDFLAGS = "$(OTHER_LDFLAGS)";
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberKit;
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
name = Release;
};
Expand All @@ -12448,16 +12452,22 @@
baseConfigurationReference = 1A4F976B100E7B6600637A18 /* DebugRelease.xcconfig */;
buildSettings = {
DEBUG_DEFINES = "$(DEBUG_DEFINES_debug)";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = "$(GCC_OPTIMIZATION_LEVEL_debug)";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
STRIP_STYLE = debugging;
};
name = Debug;
};
1DEB91B308733DA50010E9CD /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 1A4F976B100E7B6600637A18 /* DebugRelease.xcconfig */;
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
STRIP_STYLE = debugging;
};
name = Release;
};
Expand Down Expand Up @@ -12627,7 +12637,10 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 1A4F976A100E7B6600637A18 /* Base.xcconfig */;
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
STRIP_STYLE = debugging;
};
name = Production;
};
Expand All @@ -12651,6 +12664,8 @@
OTHER_LDFLAGS = "$(OTHER_LDFLAGS)";
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberKit;
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
name = Production;
};
Expand Down
21 changes: 20 additions & 1 deletion Source/CyberKitLegacy/CyberKitLegacy.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3621,13 +3621,16 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_DEFINES = "$(DEBUG_DEFINES_debug) ENABLE_WEBKIT_UNSET_DYLD_FRAMEWORK_PATH";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = SJ87WGCZM7;
ENABLE_BITCODE = NO;
OTHER_LDFLAGS = "$(OTHER_LDFLAGS)";
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberKitLegacy;
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
name = Debug;
};
Expand All @@ -3637,13 +3640,16 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_DEFINES = "$(DEBUG_DEFINES_$(CURRENT_VARIANT)) ENABLE_WEBKIT_UNSET_DYLD_FRAMEWORK_PATH";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = SJ87WGCZM7;
ENABLE_BITCODE = NO;
OTHER_LDFLAGS = "$(OTHER_LDFLAGS)";
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberKitLegacy;
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
name = Release;
};
Expand All @@ -3654,12 +3660,15 @@
BUILD_VARIANTS = normal;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = SJ87WGCZM7;
ENABLE_BITCODE = NO;
OTHER_LDFLAGS = "$(OTHER_LDFLAGS)";
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberKitLegacy;
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
name = Production;
};
Expand All @@ -3668,10 +3677,13 @@
baseConfigurationReference = 1C904FD40BA9DD0F0081E9D0 /* DebugRelease.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development: [email protected] (9ACBG9YARX)";
COPY_PHASE_STRIP = NO;
DEBUG_DEFINES = "$(DEBUG_DEFINES_debug)";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_OPTIMIZATION_LEVEL = "$(GCC_OPTIMIZATION_LEVEL_debug)";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
STRIP_INSTALLED_PRODUCT = "$(STRIP_INSTALLED_PRODUCT_debug)";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_STYLE = debugging;
};
name = Debug;
};
Expand All @@ -3680,8 +3692,11 @@
baseConfigurationReference = 1C904FD40BA9DD0F0081E9D0 /* DebugRelease.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development: [email protected] (9ACBG9YARX)";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
STRIP_INSTALLED_PRODUCT = NO;
STRIP_STYLE = debugging;
};
name = Release;
};
Expand All @@ -3690,7 +3705,11 @@
baseConfigurationReference = 1C904FD50BA9DD0F0081E9D0 /* Base.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development: [email protected] (9ACBG9YARX)";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
STRIP_INSTALLED_PRODUCT = NO;
STRIP_STYLE = debugging;
};
name = Production;
};
Expand Down
27 changes: 26 additions & 1 deletion Source/CyberScriptCore/CyberScriptCore.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11658,10 +11658,13 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = SJ87WGCZM7;
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberScriptCore;
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
name = Debug;
};
Expand All @@ -11671,10 +11674,13 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = SJ87WGCZM7;
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberScriptCore;
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
name = Release;
};
Expand All @@ -11685,10 +11691,13 @@
BUILD_VARIANTS = normal;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = SJ87WGCZM7;
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberScriptCore;
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
name = Production;
};
Expand Down Expand Up @@ -11741,28 +11750,38 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 1C9051440BA9E8A70081E9D0 /* DebugRelease.xcconfig */;
buildSettings = {
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = "$(DEAD_CODE_STRIPPING_debug)";
DEBUG_DEFINES = "$(DEBUG_DEFINES_debug)";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_OPTIMIZATION_LEVEL = "$(GCC_OPTIMIZATION_LEVEL_debug)";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
STRIP_INSTALLED_PRODUCT = "$(STRIP_INSTALLED_PRODUCT_debug)";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_STYLE = debugging;
};
name = Debug;
};
149C277308902AFE008A9EFC /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 1C9051440BA9E8A70081E9D0 /* DebugRelease.xcconfig */;
buildSettings = {
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
STRIP_INSTALLED_PRODUCT = NO;
STRIP_STYLE = debugging;
};
name = Release;
};
149C277508902AFE008A9EFC /* Production */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 1C9051450BA9E8A70081E9D0 /* Base.xcconfig */;
buildSettings = {
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
STRIP_INSTALLED_PRODUCT = NO;
STRIP_STYLE = debugging;
};
name = Production;
};
Expand Down Expand Up @@ -12128,8 +12147,11 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 1C9051440BA9E8A70081E9D0 /* DebugRelease.xcconfig */;
buildSettings = {
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
STRIP_INSTALLED_PRODUCT = NO;
STRIP_STYLE = debugging;
};
name = Profiling;
};
Expand All @@ -12146,10 +12168,13 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = SJ87WGCZM7;
PRODUCT_BUNDLE_IDENTIFIER = com.matthewbenedict.CyberScriptCore;
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
STRIP_SWIFT_SYMBOLS = NO;
};
name = Profiling;
};
Expand Down
6 changes: 5 additions & 1 deletion Source/WTF/wtf/FeatureDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,16 @@ the public iOS SDK. See <https://webkit.org/b/179167>. */
#endif

#if !defined(HAVE_VISIBILITY_PROPAGATION_VIEW)
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000
#define HAVE_VISIBILITY_PROPAGATION_VIEW 1
#endif
#endif

#if !defined(HAVE_UISCENE)
#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 130000) || (PLATFORM(APPLETV) && __TV_OS_VERSION_MIN_REQUIRED >= 130000) || (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MIN_REQUIRED >= 60000)
#define HAVE_UISCENE 1
#endif
#endif

#if !defined(HAVE_AVSTREAMSESSION)
#define HAVE_AVSTREAMSESSION 0
Expand All @@ -216,7 +220,7 @@ the public iOS SDK. See <https://webkit.org/b/179167>. */
#endif

#if !defined(HAVE_PASSKIT_BOUND_INTERFACE_IDENTIFIER)
#if PLATFORM(IOS)
#if PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000
#define HAVE_PASSKIT_BOUND_INTERFACE_IDENTIFIER 1
#endif
#endif
Expand Down
Loading

0 comments on commit c1bd7ad

Please sign in to comment.