Skip to content

Commit

Permalink
Add TextBundle support
Browse files Browse the repository at this point in the history
  • Loading branch information
ttscoff committed Jun 3, 2015
1 parent e3c0a3f commit 1e4deb6
Show file tree
Hide file tree
Showing 11 changed files with 354 additions and 105 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Build
48 changes: 45 additions & 3 deletions MultiMarkdown QuickLook.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
5A7859FC1443C54800C7C824 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A7859FB1443C54800C7C824 /* Cocoa.framework */; };
5A7859FF1443C96D00C7C824 /* multimarkdown in Resources */ = {isa = PBXBuildFile; fileRef = 5A7859FE1443C96D00C7C824 /* multimarkdown */; };
5A785A0A1443CC1A00C7C824 /* opml2mmd.xslt in Resources */ = {isa = PBXBuildFile; fileRef = 5A785A091443CC1A00C7C824 /* opml2mmd.xslt */; };
9372691E1B1F77B400F1780F /* base64.c in Sources */ = {isa = PBXBuildFile; fileRef = 9372691D1B1F77B400F1780F /* base64.c */; };
937269211B1F77DD00F1780F /* NSString_Base64.h in Headers */ = {isa = PBXBuildFile; fileRef = 9372691F1B1F77DD00F1780F /* NSString_Base64.h */; };
937269221B1F77DD00F1780F /* NSString_Base64.m in Sources */ = {isa = PBXBuildFile; fileRef = 937269201B1F77DD00F1780F /* NSString_Base64.m */; };
937269251B1F781000F1780F /* RegExCategories.h in Headers */ = {isa = PBXBuildFile; fileRef = 937269231B1F781000F1780F /* RegExCategories.h */; };
937269261B1F781000F1780F /* RegExCategories.m in Sources */ = {isa = PBXBuildFile; fileRef = 937269241B1F781000F1780F /* RegExCategories.m */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -35,6 +40,11 @@
5A7859FB1443C54800C7C824 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
5A7859FE1443C96D00C7C824 /* multimarkdown */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = multimarkdown; path = "MultiMarkdown QuickLook/multimarkdown"; sourceTree = "<group>"; };
5A785A091443CC1A00C7C824 /* opml2mmd.xslt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = opml2mmd.xslt; path = "MultiMarkdown QuickLook/opml2mmd.xslt"; sourceTree = "<group>"; };
9372691D1B1F77B400F1780F /* base64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = base64.c; sourceTree = "<group>"; };
9372691F1B1F77DD00F1780F /* NSString_Base64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSString_Base64.h; sourceTree = "<group>"; };
937269201B1F77DD00F1780F /* NSString_Base64.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSString_Base64.m; sourceTree = "<group>"; };
937269231B1F781000F1780F /* RegExCategories.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RegExCategories.h; sourceTree = "<group>"; };
937269241B1F781000F1780F /* RegExCategories.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RegExCategories.m; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -86,6 +96,11 @@
5A7859D91443BDBB00C7C824 /* MultiMarkdown QuickLook */ = {
isa = PBXGroup;
children = (
937269231B1F781000F1780F /* RegExCategories.h */,
937269241B1F781000F1780F /* RegExCategories.m */,
9372691F1B1F77DD00F1780F /* NSString_Base64.h */,
937269201B1F77DD00F1780F /* NSString_Base64.m */,
9372691D1B1F77B400F1780F /* base64.c */,
5A7859F11443C1A000C7C824 /* GeneratePreviewForURL.m */,
5A7859F21443C1A000C7C824 /* GenerateThumbnailForURL.m */,
5A7859E41443BDBB00C7C824 /* main.c */,
Expand Down Expand Up @@ -120,6 +135,8 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
937269251B1F781000F1780F /* RegExCategories.h in Headers */,
937269211B1F77DD00F1780F /* NSString_Base64.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -151,7 +168,7 @@
5A7859C31443BDBB00C7C824 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0420;
LastUpgradeCheck = 0610;
};
buildConfigurationList = 5A7859C61443BDBB00C7C824 /* Build configuration list for PBXProject "MultiMarkdown QuickLook" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -199,7 +216,10 @@
buildActionMask = 2147483647;
files = (
5A7859E51443BDBB00C7C824 /* main.c in Sources */,
937269261B1F781000F1780F /* RegExCategories.m in Sources */,
5A7859F31443C1A000C7C824 /* GeneratePreviewForURL.m in Sources */,
9372691E1B1F77B400F1780F /* base64.c in Sources */,
937269221B1F77DD00F1780F /* NSString_Base64.m in Sources */,
5A7859F41443C1A000C7C824 /* GenerateThumbnailForURL.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -221,14 +241,24 @@
5A7859E61443BDBB00C7C824 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.7;
ONLY_ACTIVE_ARCH = YES;
Expand All @@ -239,11 +269,21 @@
5A7859E71443BDBB00C7C824 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.7;
SDKROOT = macosx;
Expand All @@ -254,6 +294,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
Expand All @@ -270,6 +311,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
<false/>
<key>IDESourceControlProjectIdentifier</key>
<string>87CCC398-E3A7-49A4-80DA-7EEC58CECBD3</string>
<key>IDESourceControlProjectName</key>
<string>MultiMarkdown QuickLook</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>2370DF7F17AA4FE34634879E2E14C426805D0036</key>
<string>https://github.com/ttscoff/MMD-QuickLook</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>MultiMarkdown QuickLook.xcodeproj</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>2370DF7F17AA4FE34634879E2E14C426805D0036</key>
<string>../..</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>https://github.com/ttscoff/MMD-QuickLook</string>
<key>IDESourceControlProjectVersion</key>
<integer>111</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>2370DF7F17AA4FE34634879E2E14C426805D0036</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>2370DF7F17AA4FE34634879E2E14C426805D0036</string>
<key>IDESourceControlWCCName</key>
<string>MMD-QuickLook</string>
</dict>
</array>
</dict>
</plist>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges</key>
<true/>
<key>SnapshotAutomaticallyBeforeSignificantChanges</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
</Bucket>
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5A7859CD1443BDBB00C7C824"
BuildableName = "MultiMarkdown QuickLook.qlgenerator"
BlueprintName = "MultiMarkdown QuickLook"
ReferencedContainer = "container:MultiMarkdown QuickLook.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
</Testables>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5A7859CD1443BDBB00C7C824"
BuildableName = "MultiMarkdown QuickLook.qlgenerator"
BlueprintName = "MultiMarkdown QuickLook"
ReferencedContainer = "container:MultiMarkdown QuickLook.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5A7859CD1443BDBB00C7C824"
BuildableName = "MultiMarkdown QuickLook.qlgenerator"
BlueprintName = "MultiMarkdown QuickLook"
ReferencedContainer = "container:MultiMarkdown QuickLook.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>MultiMarkdown QuickLook.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>5A7859CD1443BDBB00C7C824</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
Loading

0 comments on commit 1e4deb6

Please sign in to comment.