Permalink
Browse files

changes to support new version

  • Loading branch information...
1 parent 466b379 commit de01d2cac779ee1c26bdd61e57a1faaa1ae9aec2 @whomwah committed Aug 21, 2012
View
@@ -1,7 +0,0 @@
-*1.1* (Oct 28th, 2011)
-
-* Now works with ISO encoded files as well [https://github.com/roblourens]
-
-*1.0* (Nov 11th, 2008)
-
-* initial release
Binary file not shown.
@@ -32,9 +32,9 @@
<key>CFBundleName</key>
<string>QLStephen</string>
<key>CFBundleShortVersionString</key>
- <string>1.2</string>
+ <string>1.3</string>
<key>CFBundleVersion</key>
- <string>1.2.1</string>
+ <string>1.3.1</string>
<key>CFPlugInDynamicRegisterFunction</key>
<string></string>
<key>CFPlugInDynamicRegistration</key>
@@ -53,6 +53,8 @@
</dict>
<key>CFPlugInUnloadFunction</key>
<string></string>
+ <key>NSHumanReadableCopyright</key>
+ <string>Copyright © 2012 Duncan Robertson. All rights reserved.</string>
<key>QLNeedsToBeRunInMainThread</key>
<false/>
<key>QLPreviewHeight</key>
@@ -75,15 +75,14 @@
089C166AFE841209C02AAC07 /* QuickLookStephen */ = {
isa = PBXGroup;
children = (
- 08FB77AFFE84173DC02AAC07 /* Source */,
- 089C167CFE841241C02AAC07 /* Resources */,
- 089C1671FE841209C02AAC07 /* External Frameworks and Libraries */,
+ 08FB77AFFE84173DC02AAC07 /* QuickLookStephen */,
+ 089C1671FE841209C02AAC07 /* Frameworks */,
19C28FB6FE9D52B211CA2CBB /* Products */,
);
name = QuickLookStephen;
sourceTree = "<group>";
};
- 089C1671FE841209C02AAC07 /* External Frameworks and Libraries */ = {
+ 089C1671FE841209C02AAC07 /* Frameworks */ = {
isa = PBXGroup;
children = (
AE02F6EA0EDDFA6400CBA17D /* Cocoa.framework */,
@@ -92,19 +91,19 @@
C86B05260671AA6E00DD9006 /* CoreServices.framework */,
0AA1909FFE8422F4C02AAC07 /* CoreFoundation.framework */,
);
- name = "External Frameworks and Libraries";
+ name = Frameworks;
sourceTree = "<group>";
};
- 089C167CFE841241C02AAC07 /* Resources */ = {
+ 089C167CFE841241C02AAC07 /* Supporting Files */ = {
isa = PBXGroup;
children = (
8D576317048677EA00EA77CD /* Info.plist */,
8D5B49A704867FD3000E48DA /* InfoPlist.strings */,
);
- name = Resources;
+ name = "Supporting Files";
sourceTree = "<group>";
};
- 08FB77AFFE84173DC02AAC07 /* Source */ = {
+ 08FB77AFFE84173DC02AAC07 /* QuickLookStephen */ = {
isa = PBXGroup;
children = (
61E3BCFA0870B4F2002186A0 /* GenerateThumbnailForURL.m */,
@@ -115,8 +114,9 @@
4F98DDE4156E0CB500C17A7F /* QLStephenExtensionsBlackList.plist */,
4F98DDE6156E0F0A00C17A7F /* QLStephenDirectoriesBlackList.plist */,
08FB77B6FE84183AC02AAC07 /* main.c */,
+ 089C167CFE841241C02AAC07 /* Supporting Files */,
);
- name = Source;
+ name = QuickLookStephen;
sourceTree = "<group>";
};
19C28FB6FE9D52B211CA2CBB /* Products */ = {
@@ -169,6 +169,7 @@
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0430;
+ ORGANIZATIONNAME = "Duncan Robertson";
};
buildConfigurationList = 2CA326220896AD4900168862 /* Build configuration list for PBXProject "QuickLookStephen" */;
compatibilityVersion = "Xcode 3.2";
@@ -239,55 +240,75 @@
2CA3261F0896AD4900168862 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
- COPY_PHASE_STRIP = NO;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_MODEL_TUNING = G5;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PRECOMPILE_PREFIX_HEADER = NO;
+ COMBINE_HIDPI_IMAGES = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = /Library/QuickLook;
PRODUCT_NAME = QLStephen;
+ SDKROOT = macosx;
WRAPPER_EXTENSION = qlgenerator;
};
name = Debug;
};
2CA326200896AD4900168862 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- GCC_MODEL_TUNING = G5;
- GCC_PRECOMPILE_PREFIX_HEADER = NO;
+ COMBINE_HIDPI_IMAGES = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = /Library/QuickLook;
PRODUCT_NAME = QLStephen;
+ SDKROOT = macosx;
WRAPPER_EXTENSION = qlgenerator;
};
name = Release;
};
2CA326230896AD4900168862 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_32_BIT)";
- GCC_C_LANGUAGE_STANDARD = c99;
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_ENABLE_OBJC_ARC = NO;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ COPY_PHASE_STRIP = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.5;
ONLY_ACTIVE_ARCH = YES;
- SDKROOT = macosx10.6;
+ SDKROOT = macosx;
};
name = Debug;
};
2CA326240896AD4900168862 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_32_BIT)";
- GCC_C_LANGUAGE_STANDARD = c99;
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_ENABLE_OBJC_ARC = NO;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.5;
- SDKROOT = macosx10.6;
+ SDKROOT = macosx;
};
name = Release;
};
@@ -32,7 +32,7 @@
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
View
@@ -1,51 +1,70 @@
# QuicklookStephen
-QLStephen is a QuickLook plugin that lets you view plain text files without
-a file extension. Files like:
+QLStephen is a QuickLook plugin that lets you view plain text files without a file extension. Files like:
README
INSTALL
CapFile
CHANGELOG
etc...
-## Download
-
-You can download the lastest version from the [Downloads section](https://github.com/whomwah/qlstephen/downloads) in the QLStephen github reposistory. Or you can just complile it yourself.
+You can also customise the plugin to determine which files it previews. See Customizing white/black lists below.
## Install
### Pre-compiled
-If you download the plugin via the [Downloads section](https://github.com/whomwah/qlstephen/downloads) in github for this project, you install via the installer pkg included.
+Download the plugin via the [Downloads section](https://github.com/whomwah/qlstephen/downloads) and copy the file into your /Library/QuickLook or ~/Library/QuickLook folder. You may have to create the QuickLook folder if it doesn't exist.
### Manually Compile
-If you're compliling the project yourself, you just copy the QLStephen.qlgenerator file into the relevant QuickLook folder. If the folder is not present, then you will need to create it first:
+If you're compliling the project yourself, you just copy the generated QLStephen.qlgenerator file into the relevant QuickLook folder as mentioned above.
+
+## Customizing white/black lists - Step by Step
+
+This plugin uses plist files to determine which files are previewable:
+
+* QLStephenWhiteList.plist : files with these names will be ALWAYS previewed
+* QLStephenExtensionsBlackList.plist : files with these extensions will NOT be previewed
+* QLStephenDirectoriesBlackList.plist : files contained in directories with these names will NOT be previewed
+
+If you wish to change the current behavour, you will need to follow the instructions below:
+
+#### 1. Show the contents of the bundle.
+
+If you the plugin installed then it should be in `~/Library/QuickLook/` directory.
+
+<a href="http://a.yfrog.com/img740/933/tipb.png"><img src="http://a.yfrog.com/img740/933/tipb.png" width="300"/></a>
+
+#### 2. Edit the appropriate plist file in your favorite text editor.
-1. If just you want to use this plugin
+<a href="http://a.yfrog.com/img878/3563/hd9w.png"><img src="http://a.yfrog.com/img878/3563/hd9w.png" width="400"/></a>
- /Users/yourusername/Library/QuickLook/
+If you don't know which one :
-2. If you want any user on this machine to use plugin
+**QLStephenWhiteList.plist** : files with these names will be ALWAYS previewed
+**QLStephenExtensionsBlackList.plist** : files with these extensions will NOT be previewed
+**QLStephenDirectoriesBlackList.plist** : files contained in directories with these names will NOT be previewed
- /Library/QuickLook/
+## Trouble?
-3. To make OS X load the generator, run in the terminal:
+If you have installed the plugin (by placing it in `~/Library/QuickLook/`) and can't see your changes take effect:
- qlmanage -r
+- Make sure you are editing the correct plist of the correct bundle (It could happen you have two QLStephen plugins and the one read is in another directory like `/Library/QuickLook/`, etc.
+- Run `qlmanage -r` in the Terminal, it will reset QuickLook so plugins will be reloaded.
## Authors
Original author: Duncan Robertson
Special thanks to the following people for submitting patches:
+* [Guillermo Ignacio Enriquez Gutierrez](https://github.com/nacho4d)
* [Rob Lourens](https://github.com/roblourens)
* [Avi Flax](https://github.com/aviflax)
## Contributing
* Fork the project
* Send a pull request
-* Don't touch the CHANGELOG, I'll do that when I release a new version
+* Don't change the build number, I'll do that when I release a new version

0 comments on commit de01d2c

Please sign in to comment.