diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cd0c7d3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +# Xcode +# +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + +## User settings +xcuserdata/ + +## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) +*.xcscmblueprint +*.xccheckout + +## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) +build/ +DerivedData/ +*.moved-aside +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 diff --git a/QuickLookR.qlgenerator.zip b/QuickLookR.qlgenerator.zip index e951de0..b1a449a 100644 Binary files a/QuickLookR.qlgenerator.zip and b/QuickLookR.qlgenerator.zip differ diff --git a/QuickLookR.qlgenerator/Contents/Info.plist b/QuickLookR.qlgenerator/Contents/Info.plist new file mode 100644 index 0000000..d378a51 --- /dev/null +++ b/QuickLookR.qlgenerator/Contents/Info.plist @@ -0,0 +1,116 @@ + + + + + BuildMachineOSBuild + 18F131a + CFBundleDevelopmentRegion + en + CFBundleDocumentTypes + + + CFBundleTypeRole + QLGenerator + LSItemContentTypes + + public.data + + + UTTypeTagSpecification + + public.filename-extension + + rmd + rdata + rda + rds + + + + CFBundleExecutable + QuickLookR + CFBundleIdentifier + is.rud.QuickLookR + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + QuickLookR + CFBundleShortVersionString + 2.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + CFPlugInDynamicRegisterFunction + + CFPlugInDynamicRegistration + NO + CFPlugInFactories + + 786049CE-3ED2-49F7-8F4E-588A57CA2BDB + QuickLookGeneratorPluginFactory + + CFPlugInTypes + + 5E2D9680-5022-40FA-B806-43349622E5B9 + + 786049CE-3ED2-49F7-8F4E-588A57CA2BDB + + + CFPlugInUnloadFunction + + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 10E1001 + DTPlatformVersion + GM + DTSDKBuild + 18E219 + DTSDKName + macosx10.14 + DTXcode + 1020 + DTXcodeBuild + 10E1001 + NSHumanReadableCopyright + Copyright © 2019 Bob Rudis. All rights reserved. + QLNeedsToBeRunInMainThread + + QLPreviewHeight + 600 + QLPreviewWidth + 800 + QLSupportsConcurrentRequests + + QLThumbnailMinimumSize + 17 + UTImportedTypeDeclarations + + + UTTypeConformsTo + + public.data + + UTTypeDescription + R Data file + UTTypeIdentifier + is.rdata.quicklook + UTTypeTagSpecification + + public.filename-extension + + rmd + rdata + rda + rds + + + + + + diff --git a/QuickLookR.qlgenerator/Contents/MacOS/QuickLookR b/QuickLookR.qlgenerator/Contents/MacOS/QuickLookR new file mode 100755 index 0000000..a507e7c Binary files /dev/null and b/QuickLookR.qlgenerator/Contents/MacOS/QuickLookR differ diff --git a/QuickLookR.qlgenerator/Contents/_CodeSignature/CodeResources b/QuickLookR.qlgenerator/Contents/_CodeSignature/CodeResources new file mode 100644 index 0000000..d5d0fd7 --- /dev/null +++ b/QuickLookR.qlgenerator/Contents/_CodeSignature/CodeResources @@ -0,0 +1,115 @@ + + + + + files + + files2 + + rules + + ^Resources/ + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Resources/Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^Resources/ + + weight + 20 + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Resources/Base\.lproj/ + + weight + 1010 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/QuickLookR.xcodeproj/project.pbxproj b/QuickLookR.xcodeproj/project.pbxproj index 27a7227..65b3f9f 100644 --- a/QuickLookR.xcodeproj/project.pbxproj +++ b/QuickLookR.xcodeproj/project.pbxproj @@ -17,8 +17,8 @@ C4291BFA1D552C60001238D2 /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; - dstPath = "~/Library/QuickLook"; - dstSubfolderSpec = 0; + dstPath = ""; + dstSubfolderSpec = 16; files = ( C4291BFB1D552C7A001238D2 /* QuickLookR.qlgenerator in CopyFiles */, ); @@ -51,7 +51,9 @@ C4291BED1D552859001238D2 /* QuickLookR */, C4291BEC1D552859001238D2 /* Products */, ); + indentWidth = 2; sourceTree = ""; + tabWidth = 2; }; C4291BEC1D552859001238D2 /* Products */ = { isa = PBXGroup; @@ -110,20 +112,23 @@ C4291BE21D552859001238D2 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0730; + LastUpgradeCheck = 1020; ORGANIZATIONNAME = "Bob Rudis"; TargetAttributes = { C4291BEA1D552859001238D2 = { CreatedOnToolsVersion = 7.3.1; + DevelopmentTeam = CBY22P58G8; + ProvisioningStyle = Automatic; }; }; }; buildConfigurationList = C4291BE51D552859001238D2 /* Build configuration list for PBXProject "QuickLookR" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, + Base, ); mainGroup = C4291BE11D552859001238D2; productRefGroup = C4291BEC1D552859001238D2 /* Products */; @@ -163,18 +168,29 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "-"; @@ -196,7 +212,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.12; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -207,18 +223,29 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "-"; @@ -234,7 +261,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.12; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; }; @@ -243,15 +270,19 @@ C4291BF81D552859001238D2 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + CODE_SIGN_IDENTITY = "Mac Developer"; + CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = CBY22P58G8; INFOPLIST_FILE = QuickLookR/Info.plist; - INSTALL_PATH = /Library/QuickLook; + INSTALL_PATH = "~/Library/QuickLook"; LIBRARY_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/QuickLookR", ); PRODUCT_BUNDLE_IDENTIFIER = is.rud.QuickLookR; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; WRAPPER_EXTENSION = qlgenerator; }; name = Debug; @@ -259,15 +290,19 @@ C4291BF91D552859001238D2 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + CODE_SIGN_IDENTITY = "Mac Developer"; + CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = CBY22P58G8; INFOPLIST_FILE = QuickLookR/Info.plist; - INSTALL_PATH = /Library/QuickLook; + INSTALL_PATH = "~/Library/QuickLook"; LIBRARY_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/QuickLookR", ); PRODUCT_BUNDLE_IDENTIFIER = is.rud.QuickLookR; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; WRAPPER_EXTENSION = qlgenerator; }; name = Release; diff --git a/QuickLookR.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/QuickLookR.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/QuickLookR.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/QuickLookR.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/QuickLookR.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..0c67376 --- /dev/null +++ b/QuickLookR.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,5 @@ + + + + + diff --git a/QuickLookR.xcodeproj/xcuserdata/bob.xcuserdatad/xcschemes/QuickLookR.xcscheme b/QuickLookR.xcodeproj/xcuserdata/bob.xcuserdatad/xcschemes/QuickLookR.xcscheme index 4dd6efe..4db564e 100644 --- a/QuickLookR.xcodeproj/xcuserdata/bob.xcuserdatad/xcschemes/QuickLookR.xcscheme +++ b/QuickLookR.xcodeproj/xcuserdata/bob.xcuserdatad/xcschemes/QuickLookR.xcscheme @@ -1,6 +1,6 @@ - UTImportedTypeDeclarations - - - UTTypeIdentifier - is.rdata.quicklook - UTTypeDescription - R Data file - UTTypeConformsTo - - public.data - - UTTypeTagSpecification - - public.filename-extension - - rdata - rda - rds - - - - + CFBundleDevelopmentRegion + en CFBundleDocumentTypes @@ -34,18 +14,17 @@ public.data - UTTypeTagSpecification - - public.filename-extension - - rdata - rda - rds - - + UTTypeTagSpecification + + public.filename-extension + + rmd + rdata + rda + rds + + - CFBundleDevelopmentRegion - en CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -55,7 +34,7 @@ CFBundleName $(PRODUCT_NAME) CFBundleShortVersionString - 1.0 + 2.0 CFBundleSignature ???? CFBundleVersion @@ -79,7 +58,7 @@ CFPlugInUnloadFunction NSHumanReadableCopyright - Copyright © 2016 Bob Rudis. All rights reserved. + Copyright © 2019 Bob Rudis. All rights reserved. QLNeedsToBeRunInMainThread QLPreviewHeight @@ -90,5 +69,28 @@ QLThumbnailMinimumSize 17 + UTImportedTypeDeclarations + + + UTTypeConformsTo + + public.data + + UTTypeDescription + R Data file + UTTypeIdentifier + is.rdata.quicklook + UTTypeTagSpecification + + public.filename-extension + + rmd + rdata + rda + rds + + + +