diff --git a/Assets.xcassets/AppIcon.appiconset/icon_64x64.png b/Assets.xcassets/AppIcon.appiconset/icon_64x64.png deleted file mode 100644 index 166c71c..0000000 Binary files a/Assets.xcassets/AppIcon.appiconset/icon_64x64.png and /dev/null differ diff --git a/Assets.xcassets/AppIcon.appiconset/icon_base.png b/Assets.xcassets/AppIcon.appiconset/icon_base.png deleted file mode 100644 index 35bdabc..0000000 Binary files a/Assets.xcassets/AppIcon.appiconset/icon_base.png and /dev/null differ diff --git a/Assets.xcassets/CommentColor.colorset/Contents.json b/Assets.xcassets/CommentColor.colorset/Contents.json new file mode 100644 index 0000000..d7b8e62 --- /dev/null +++ b/Assets.xcassets/CommentColor.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.380", + "green" : "0.500", + "red" : "0.500" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.460", + "green" : "0.560", + "red" : "0.560" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/ConsoleBackground.colorset/Contents.json b/Assets.xcassets/ConsoleBackground.colorset/Contents.json new file mode 100644 index 0000000..e680ef2 --- /dev/null +++ b/Assets.xcassets/ConsoleBackground.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.937", + "green" : "0.941", + "red" : "0.941" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.220", + "green" : "0.200", + "red" : "0.188" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/CurrentLineHighlight.colorset/Contents.json b/Assets.xcassets/CurrentLineHighlight.colorset/Contents.json new file mode 100644 index 0000000..e2e1608 --- /dev/null +++ b/Assets.xcassets/CurrentLineHighlight.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "0.100", + "blue" : "1.000", + "green" : "0.800", + "red" : "0.400" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "0.120", + "blue" : "0.900", + "green" : "0.700", + "red" : "0.300" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/EditorBackground.colorset/Contents.json b/Assets.xcassets/EditorBackground.colorset/Contents.json new file mode 100644 index 0000000..e9dd421 --- /dev/null +++ b/Assets.xcassets/EditorBackground.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.976", + "green" : "0.969", + "red" : "0.969" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.141", + "green" : "0.118", + "red" : "0.110" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/ErrorHighlight.colorset/Contents.json b/Assets.xcassets/ErrorHighlight.colorset/Contents.json new file mode 100644 index 0000000..ce48193 --- /dev/null +++ b/Assets.xcassets/ErrorHighlight.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "0.080", + "blue" : "0.400", + "green" : "0.400", + "red" : "0.910" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "0.150", + "blue" : "0.300", + "green" : "0.300", + "red" : "0.900" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/GitAddedColor.colorset/Contents.json b/Assets.xcassets/GitAddedColor.colorset/Contents.json new file mode 100644 index 0000000..1436ee2 --- /dev/null +++ b/Assets.xcassets/GitAddedColor.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.196", + "green" : "0.784", + "red" : "0.298" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.298", + "green" : "0.863", + "red" : "0.400" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/GitDeletedColor.colorset/Contents.json b/Assets.xcassets/GitDeletedColor.colorset/Contents.json new file mode 100644 index 0000000..5c704ee --- /dev/null +++ b/Assets.xcassets/GitDeletedColor.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.200", + "green" : "0.200", + "red" : "0.898" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.310", + "green" : "0.310", + "red" : "0.950" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/GitModifiedColor.colorset/Contents.json b/Assets.xcassets/GitModifiedColor.colorset/Contents.json new file mode 100644 index 0000000..71f3757 --- /dev/null +++ b/Assets.xcassets/GitModifiedColor.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.180", + "green" : "0.620", + "red" : "0.900" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.280", + "green" : "0.700", + "red" : "0.950" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/KeywordColor.colorset/Contents.json b/Assets.xcassets/KeywordColor.colorset/Contents.json new file mode 100644 index 0000000..72615f9 --- /dev/null +++ b/Assets.xcassets/KeywordColor.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.957", + "green" : "0.502", + "red" : "0.204" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.980", + "green" : "0.580", + "red" : "0.350" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/LineNumberColor.colorset/Contents.json b/Assets.xcassets/LineNumberColor.colorset/Contents.json new file mode 100644 index 0000000..29636da --- /dev/null +++ b/Assets.xcassets/LineNumberColor.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.600", + "green" : "0.500", + "red" : "0.500" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.500", + "green" : "0.420", + "red" : "0.420" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/NumberColor.colorset/Contents.json b/Assets.xcassets/NumberColor.colorset/Contents.json new file mode 100644 index 0000000..d40a09e --- /dev/null +++ b/Assets.xcassets/NumberColor.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.110", + "green" : "0.500", + "red" : "0.750" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.260", + "green" : "0.620", + "red" : "0.850" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/SidebarBackground.colorset/Contents.json b/Assets.xcassets/SidebarBackground.colorset/Contents.json new file mode 100644 index 0000000..ecd2cbd --- /dev/null +++ b/Assets.xcassets/SidebarBackground.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.953", + "green" : "0.937", + "red" : "0.933" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.176", + "green" : "0.153", + "red" : "0.145" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/StringColor.colorset/Contents.json b/Assets.xcassets/StringColor.colorset/Contents.json new file mode 100644 index 0000000..14f5f28 --- /dev/null +++ b/Assets.xcassets/StringColor.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.200", + "green" : "0.600", + "red" : "0.200" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.380", + "green" : "0.780", + "red" : "0.380" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/ToolbarTint.colorset/Contents.json b/Assets.xcassets/ToolbarTint.colorset/Contents.json new file mode 100644 index 0000000..1652096 --- /dev/null +++ b/Assets.xcassets/ToolbarTint.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.922", + "green" : "0.580", + "red" : "0.200" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.950", + "green" : "0.650", + "red" : "0.350" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/TypeColor.colorset/Contents.json b/Assets.xcassets/TypeColor.colorset/Contents.json new file mode 100644 index 0000000..d480982 --- /dev/null +++ b/Assets.xcassets/TypeColor.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.588", + "green" : "0.220", + "red" : "0.675" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.710", + "green" : "0.380", + "red" : "0.780" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Assets.xcassets/WarningHighlight.colorset/Contents.json b/Assets.xcassets/WarningHighlight.colorset/Contents.json new file mode 100644 index 0000000..ac3b846 --- /dev/null +++ b/Assets.xcassets/WarningHighlight.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "0.080", + "blue" : "0.300", + "green" : "0.700", + "red" : "0.900" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "0.150", + "blue" : "0.200", + "green" : "0.600", + "red" : "0.800" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/CxIDE.entitlements b/CxIDE.entitlements index e89b7f3..3b458d7 100644 --- a/CxIDE.entitlements +++ b/CxIDE.entitlements @@ -4,5 +4,15 @@ com.apple.security.app-sandbox + com.apple.security.network.client + + com.apple.security.network.server + + com.apple.security.files.user-selected.read-write + + com.apple.security.files.downloads.read-write + + com.apple.security.process.exec + diff --git a/CxIDE.xcodeproj/project.pbxproj b/CxIDE.xcodeproj/project.pbxproj index d6c6456..467a3a3 100644 --- a/CxIDE.xcodeproj/project.pbxproj +++ b/CxIDE.xcodeproj/project.pbxproj @@ -399,6 +399,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; @@ -437,6 +438,7 @@ ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; @@ -468,6 +470,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; @@ -506,6 +509,7 @@ ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = s; @@ -515,6 +519,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + LLVM_LTO = YES; MACOSX_DEPLOYMENT_TARGET = 14.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; @@ -532,6 +537,7 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = CxIDE.entitlements; CODE_SIGN_STYLE = Automatic; @@ -541,7 +547,9 @@ ENABLE_APP_SANDBOX = NO; ENABLE_FILE_ACCESS_DOWNLOADS_FOLDER = readwrite; ENABLE_HARDENED_RUNTIME = YES; + ENABLE_INCOMING_NETWORK_CONNECTIONS = YES; ENABLE_OUTGOING_NETWORK_CONNECTIONS = YES; + ENABLE_PREVIEWS = YES; ENABLE_USER_SELECTED_FILES = readwrite; GENERATE_INFOPLIST_FILE = NO; INFOPLIST_FILE = Info.plist; @@ -564,6 +572,7 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = CxIDE.entitlements; CODE_SIGN_STYLE = Automatic; @@ -573,7 +582,9 @@ ENABLE_APP_SANDBOX = NO; ENABLE_FILE_ACCESS_DOWNLOADS_FOLDER = readwrite; ENABLE_HARDENED_RUNTIME = YES; + ENABLE_INCOMING_NETWORK_CONNECTIONS = YES; ENABLE_OUTGOING_NETWORK_CONNECTIONS = YES; + ENABLE_PREVIEWS = YES; ENABLE_USER_SELECTED_FILES = readwrite; GENERATE_INFOPLIST_FILE = NO; INFOPLIST_FILE = Info.plist; diff --git a/CxIDE.xcodeproj/xcshareddata/xcschemes/CxIDE.xcscheme b/CxIDE.xcodeproj/xcshareddata/xcschemes/CxIDE.xcscheme index 412314d..410f7df 100644 --- a/CxIDE.xcodeproj/xcshareddata/xcschemes/CxIDE.xcscheme +++ b/CxIDE.xcodeproj/xcshareddata/xcschemes/CxIDE.xcscheme @@ -41,7 +41,17 @@ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES" - codeCoverageEnabled = "YES"> + codeCoverageEnabled = "YES" + onlyGenerateCoverageForSpecifiedTargets = "YES"> + + + + @@ -83,7 +96,28 @@ value = "1" isEnabled = "YES"> + + + + + + + + + + public.swift-source + + CFBundleTypeName + C Source + CFBundleTypeRole + Editor + LSItemContentTypes + + public.c-source + + CFBundleTypeName C++ Source @@ -60,6 +70,16 @@ public.c-header + + CFBundleTypeName + Objective-C Source + CFBundleTypeRole + Editor + LSItemContentTypes + + public.objective-c-source + + CFBundleTypeName Objective-C++ Source @@ -70,6 +90,66 @@ public.objective-c-plus-plus-source + + CFBundleTypeName + Python Source + CFBundleTypeRole + Editor + LSItemContentTypes + + public.python-script + + + + CFBundleTypeName + Shell Script + CFBundleTypeRole + Editor + LSItemContentTypes + + public.shell-script + + + + CFBundleTypeName + JavaScript Source + CFBundleTypeRole + Editor + LSItemContentTypes + + com.netscape.javascript-source + + + + CFBundleTypeName + TypeScript Source + CFBundleTypeRole + Editor + LSItemContentTypes + + com.microsoft.typescript + + + + CFBundleTypeName + HTML + CFBundleTypeRole + Editor + LSItemContentTypes + + public.html + + + + CFBundleTypeName + CSS + CFBundleTypeRole + Editor + LSItemContentTypes + + public.css + + CFBundleTypeName JSON @@ -80,6 +160,26 @@ public.json + + CFBundleTypeName + YAML + CFBundleTypeRole + Editor + LSItemContentTypes + + public.yaml + + + + CFBundleTypeName + XML + CFBundleTypeRole + Editor + LSItemContentTypes + + public.xml + + CFBundleTypeName Markdown @@ -90,6 +190,26 @@ net.daringfireball.markdown + + CFBundleTypeName + Plain Text + CFBundleTypeRole + Editor + LSItemContentTypes + + public.plain-text + + + + CFBundleTypeName + Property List + CFBundleTypeRole + Editor + LSItemContentTypes + + com.apple.property-list + + CFBundleTypeName Folder