Permalink
Browse files

Renamed project to QuicklookDot

Updated readme
  • Loading branch information...
besi committed Oct 19, 2011
1 parent b53965a commit b9156d4d24b9ffbf704837606676da0d6f78ef19
Showing with 9 additions and 313 deletions.
  1. +0 −6 HelloWorld.dot
  2. +0 −298 quicklook-dot.xcodeproj/project.pbxproj
  3. +5 −9 readme.md
  4. +4 −0 sample.dot
View
@@ -1,6 +0,0 @@
-
-
-digraph g {
- a -> b -> c
- b -> d
-}
@@ -1,298 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 45;
- objects = {
-
-/* Begin PBXBuildFile section */
- 2C05A19C06CAA52B00D84F6F /* GeneratePreviewForURL.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C05A19B06CAA52B00D84F6F /* GeneratePreviewForURL.m */; };
- 61E3BCFB0870B4F2002186A0 /* GenerateThumbnailForURL.m in Sources */ = {isa = PBXBuildFile; fileRef = 61E3BCFA0870B4F2002186A0 /* GenerateThumbnailForURL.m */; };
- 8D576312048677EA00EA77CD /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 08FB77B6FE84183AC02AAC07 /* main.c */; settings = {ATTRIBUTES = (); }; };
- 8D576314048677EA00EA77CD /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0AA1909FFE8422F4C02AAC07 /* CoreFoundation.framework */; };
- 8D5B49A804867FD3000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 8D5B49A704867FD3000E48DA /* InfoPlist.strings */; };
- C86B05270671AA6E00DD9006 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C86B05260671AA6E00DD9006 /* CoreServices.framework */; };
- CD3F0DD51327E3110088B552 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD3F0DD41327E3110088B552 /* Foundation.framework */; };
- CD3F0DEC1327E36F0088B552 /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD3F0DEB1327E36F0088B552 /* CoreData.framework */; };
- CD55E28B1328203E0051B5D2 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD55E28A1328203E0051B5D2 /* AppKit.framework */; };
- CD55E2E8132828F20051B5D2 /* Dot.h in Headers */ = {isa = PBXBuildFile; fileRef = CD55E2E6132828F20051B5D2 /* Dot.h */; };
- CD55E2E9132828F20051B5D2 /* Dot.m in Sources */ = {isa = PBXBuildFile; fileRef = CD55E2E7132828F20051B5D2 /* Dot.m */; };
- F28CFBFD0A3EC0AF000ABFF5 /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F28CFBFC0A3EC0AF000ABFF5 /* ApplicationServices.framework */; };
- F28CFC030A3EC0C6000ABFF5 /* QuickLook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F28CFC020A3EC0C6000ABFF5 /* QuickLook.framework */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXFileReference section */
- 089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
- 08FB77B6FE84183AC02AAC07 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
- 0AA1909FFE8422F4C02AAC07 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; };
- 2C05A19B06CAA52B00D84F6F /* GeneratePreviewForURL.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratePreviewForURL.m; sourceTree = "<group>"; };
- 61E3BCFA0870B4F2002186A0 /* GenerateThumbnailForURL.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = GenerateThumbnailForURL.m; sourceTree = "<group>"; };
- 8D576316048677EA00EA77CD /* quicklook-dot.qlgenerator */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "quicklook-dot.qlgenerator"; sourceTree = BUILT_PRODUCTS_DIR; };
- 8D576317048677EA00EA77CD /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
- C86B05260671AA6E00DD9006 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; sourceTree = "<absolute>"; };
- CD3F0DD41327E3110088B552 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
- CD3F0DEB1327E36F0088B552 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
- CD55E28A1328203E0051B5D2 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
- CD55E2E6132828F20051B5D2 /* Dot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Dot.h; sourceTree = "<group>"; };
- CD55E2E7132828F20051B5D2 /* Dot.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Dot.m; sourceTree = "<group>"; };
- F28CFBFC0A3EC0AF000ABFF5 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = "<absolute>"; };
- F28CFC020A3EC0C6000ABFF5 /* QuickLook.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuickLook.framework; path = /System/Library/Frameworks/QuickLook.framework; sourceTree = "<absolute>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 8D576313048677EA00EA77CD /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 8D576314048677EA00EA77CD /* CoreFoundation.framework in Frameworks */,
- C86B05270671AA6E00DD9006 /* CoreServices.framework in Frameworks */,
- F28CFBFD0A3EC0AF000ABFF5 /* ApplicationServices.framework in Frameworks */,
- F28CFC030A3EC0C6000ABFF5 /* QuickLook.framework in Frameworks */,
- CD3F0DD51327E3110088B552 /* Foundation.framework in Frameworks */,
- CD3F0DEC1327E36F0088B552 /* CoreData.framework in Frameworks */,
- CD55E28B1328203E0051B5D2 /* AppKit.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 089C166AFE841209C02AAC07 /* quicklook-dot */ = {
- isa = PBXGroup;
- children = (
- 08FB77AFFE84173DC02AAC07 /* Source */,
- 089C167CFE841241C02AAC07 /* Resources */,
- 089C1671FE841209C02AAC07 /* External Frameworks and Libraries */,
- 19C28FB6FE9D52B211CA2CBB /* Products */,
- );
- name = "quicklook-dot";
- sourceTree = "<group>";
- };
- 089C1671FE841209C02AAC07 /* External Frameworks and Libraries */ = {
- isa = PBXGroup;
- children = (
- F28CFC020A3EC0C6000ABFF5 /* QuickLook.framework */,
- F28CFBFC0A3EC0AF000ABFF5 /* ApplicationServices.framework */,
- C86B05260671AA6E00DD9006 /* CoreServices.framework */,
- 0AA1909FFE8422F4C02AAC07 /* CoreFoundation.framework */,
- CD3F0DD41327E3110088B552 /* Foundation.framework */,
- CD3F0DEB1327E36F0088B552 /* CoreData.framework */,
- CD55E28A1328203E0051B5D2 /* AppKit.framework */,
- );
- name = "External Frameworks and Libraries";
- sourceTree = "<group>";
- };
- 089C167CFE841241C02AAC07 /* Resources */ = {
- isa = PBXGroup;
- children = (
- 8D576317048677EA00EA77CD /* Info.plist */,
- 8D5B49A704867FD3000E48DA /* InfoPlist.strings */,
- );
- name = Resources;
- sourceTree = "<group>";
- };
- 08FB77AFFE84173DC02AAC07 /* Source */ = {
- isa = PBXGroup;
- children = (
- 61E3BCFA0870B4F2002186A0 /* GenerateThumbnailForURL.m */,
- 2C05A19B06CAA52B00D84F6F /* GeneratePreviewForURL.m */,
- 08FB77B6FE84183AC02AAC07 /* main.c */,
- CD55E2E6132828F20051B5D2 /* Dot.h */,
- CD55E2E7132828F20051B5D2 /* Dot.m */,
- );
- name = Source;
- sourceTree = "<group>";
- };
- 19C28FB6FE9D52B211CA2CBB /* Products */ = {
- isa = PBXGroup;
- children = (
- 8D576316048677EA00EA77CD /* quicklook-dot.qlgenerator */,
- );
- name = Products;
- sourceTree = "<group>";
- };
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
- 8D57630E048677EA00EA77CD /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- CD55E2E8132828F20051B5D2 /* Dot.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
- 8D57630D048677EA00EA77CD /* quicklook-dot */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 2CA3261E0896AD4900168862 /* Build configuration list for PBXNativeTarget "quicklook-dot" */;
- buildPhases = (
- 8D57630E048677EA00EA77CD /* Headers */,
- 8D57630F048677EA00EA77CD /* Resources */,
- 8D576311048677EA00EA77CD /* Sources */,
- 8D576313048677EA00EA77CD /* Frameworks */,
- 8D576315048677EA00EA77CD /* Rez */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "quicklook-dot";
- productInstallPath = /Library/QuickLook;
- productName = "quicklook-dot";
- productReference = 8D576316048677EA00EA77CD /* quicklook-dot.qlgenerator */;
- productType = "com.apple.product-type.bundle";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 089C1669FE841209C02AAC07 /* Project object */ = {
- isa = PBXProject;
- buildConfigurationList = 2CA326220896AD4900168862 /* Build configuration list for PBXProject "quicklook-dot" */;
- compatibilityVersion = "Xcode 3.1";
- developmentRegion = English;
- hasScannedForEncodings = 1;
- knownRegions = (
- English,
- Japanese,
- French,
- German,
- );
- mainGroup = 089C166AFE841209C02AAC07 /* quicklook-dot */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 8D57630D048677EA00EA77CD /* quicklook-dot */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 8D57630F048677EA00EA77CD /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 8D5B49A804867FD3000E48DA /* InfoPlist.strings in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXRezBuildPhase section */
- 8D576315048677EA00EA77CD /* Rez */ = {
- isa = PBXRezBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXRezBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 8D576311048677EA00EA77CD /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 8D576312048677EA00EA77CD /* main.c in Sources */,
- 2C05A19C06CAA52B00D84F6F /* GeneratePreviewForURL.m in Sources */,
- 61E3BCFB0870B4F2002186A0 /* GenerateThumbnailForURL.m in Sources */,
- CD55E2E9132828F20051B5D2 /* Dot.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXVariantGroup section */
- 8D5B49A704867FD3000E48DA /* InfoPlist.strings */ = {
- isa = PBXVariantGroup;
- children = (
- 089C167EFE841241C02AAC07 /* English */,
- );
- name = InfoPlist.strings;
- sourceTree = "<group>";
- };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
- 2CA3261F0896AD4900168862 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- COPY_PHASE_STRIP = NO;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_FIX_AND_CONTINUE = YES;
- GCC_MODEL_TUNING = G5;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PRECOMPILE_PREFIX_HEADER = NO;
- INFOPLIST_FILE = Info.plist;
- INSTALL_PATH = /Library/QuickLook;
- PRODUCT_NAME = "quicklook-dot";
- WRAPPER_EXTENSION = qlgenerator;
- };
- name = Debug;
- };
- 2CA326200896AD4900168862 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- GCC_MODEL_TUNING = G5;
- GCC_PRECOMPILE_PREFIX_HEADER = NO;
- INFOPLIST_FILE = Info.plist;
- INSTALL_PATH = /Library/QuickLook;
- PRODUCT_NAME = "quicklook-dot";
- WRAPPER_EXTENSION = qlgenerator;
- };
- name = Release;
- };
- 2CA326230896AD4900168862 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- ONLY_ACTIVE_ARCH = YES;
- PREBINDING = NO;
- SDKROOT = macosx10.6;
- };
- name = Debug;
- };
- 2CA326240896AD4900168862 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- PREBINDING = NO;
- SDKROOT = macosx10.6;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 2CA3261E0896AD4900168862 /* Build configuration list for PBXNativeTarget "quicklook-dot" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 2CA3261F0896AD4900168862 /* Debug */,
- 2CA326200896AD4900168862 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 2CA326220896AD4900168862 /* Build configuration list for PBXProject "quicklook-dot" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 2CA326230896AD4900168862 /* Debug */,
- 2CA326240896AD4900168862 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 089C1669FE841209C02AAC07 /* Project object */;
-}
View
@@ -1,16 +1,12 @@
-quicklook-dot
-=============
+QuicklookDot
+============
This bundle allows you to conveniently preview [dot][dot] files in a OSX [QuickLook][QuickLook] preview.
Installation
------------
- The dot binary is a pre-requisite. Install it from <http://www.graphviz.org>
-- Make sure that the dot binary is available in the shell environment. You can create a symbolic link like so:
-
- ln -s `which dot` /usr/bin/dot
-
- Copy the QuickLook plugin bundle (.qlgenerator ending) to the folder ~/Library/QuickLook
@@ -23,6 +19,7 @@ Using the plugin
digraph G{
Hello -> World
+ this -> is -> a -> test
}
@@ -36,7 +33,7 @@ Debugging
defaults write -g QLEnableLogging YES
# Create preview from the command line
- qlmanage -p ~/Dropbox/projects/quicklook-dot/test.gurgelidot
+ qlmanage -p ~/Dropbox/projects/OSX/quicklook-dot/sample.dot
Links
@@ -47,5 +44,4 @@ Links
- quicklook-dot was inpired by [qlmarkdown](https://github.com/toland/qlmarkdown)
[dot]: http://en.wikipedia.org/wiki/DOT_language
-[QuickLook]: http://www.apple.com/macosx/what-is-macosx/quick-look.html
-
+[QuickLook]: http://www.apple.com/macosx/what-is-macosx/quick-look.html
View
@@ -0,0 +1,4 @@
+digraph G{
+ Hello -> World
+ Hello -> there -> "," -> "that's" -> a -> test
+}

0 comments on commit b9156d4

Please sign in to comment.