diff --git a/.gitignore b/.gitignore
index 267a840..f6c8351 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,146 @@
-graphics
-build
-highlight
-highlight-*
-release
+# Created by https://www.toptal.com/developers/gitignore/api/macos
+# Edit at https://www.toptal.com/developers/gitignore?templates=macos
+
+### macOS ###
+# General
+.DS_Store
+.AppleDouble
+.LSOverride
+
+# Icon must end with two \r
+Icon
+
+# Thumbnails
+._*
+
+# Files that might appear in the root of a volume
+.DocumentRevisions-V100
+.fseventsd
+.Spotlight-V100
+.TemporaryItems
+.Trashes
+.VolumeIcon.icns
+.com.apple.timemachine.donotpresent
+
+# Directories potentially created on remote AFP share
+.AppleDB
+.AppleDesktop
+Network Trash Folder
+Temporary Items
+.apdisk
+
+# End of https://www.toptal.com/developers/gitignore/api/macos
+
+# Created by https://www.toptal.com/developers/gitignore/api/xcode
+# Edit at https://www.toptal.com/developers/gitignore?templates=xcode
+
+### Xcode ###
+# 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
+
+## Gcc Patch
+/*.gcno
+
+### Xcode Patch ###
+*.xcodeproj/*
+!*.xcodeproj/project.pbxproj
+!*.xcodeproj/xcshareddata/
+!*.xcworkspace/contents.xcworkspacedata
+**/xcshareddata/WorkspaceSettings.xcsettings
+
+# End of https://www.toptal.com/developers/gitignore/api/xcode
+
+# Created by https://www.toptal.com/developers/gitignore/api/objective-c
+# Edit at https://www.toptal.com/developers/gitignore?templates=objective-c
+
+### Objective-C ###
+# 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
+
+## Obj-C/Swift specific
+*.hmap
+
+## App packaging
+*.ipa
+*.dSYM.zip
+*.dSYM
+
+# CocoaPods
+# We recommend against adding the Pods directory to your .gitignore. However
+# you should judge for yourself, the pros and cons are mentioned at:
+# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
+# Pods/
+# Add this line if you want to avoid checking in source code from the Xcode workspace
+# *.xcworkspace
+
+# Carthage
+# Add this line if you want to avoid checking in source code from Carthage dependencies.
+# Carthage/Checkouts
+
+Carthage/Build/
+
+# fastlane
+# It is recommended to not store the screenshots in the git repo.
+# Instead, use fastlane to re-generate the screenshots whenever they are needed.
+# For more information about the recommended setup visit:
+# https://docs.fastlane.tools/best-practices/source-control/#source-control
+
+fastlane/report.xml
+fastlane/Preview.html
+fastlane/screenshots/**/*.png
+fastlane/test_output
+
+# Code Injection
+# After new code Injection tools there's a generated folder /iOSInjectionProject
+# https://github.com/johnno1962/injectionforxcode
+
+iOSInjectionProject/
+
+### Objective-C Patch ###
+
+# End of https://www.toptal.com/developers/gitignore/api/objective-c
+
+release/
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..d9ed053
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,6 @@
+[submodule "hl/highlight"]
+ path = hl/highlight
+ url = https://gitlab.com/saalen/highlight.git
+[submodule "hl/lua"]
+ path = hl/lua
+ url = https://github.com/lua/lua.git
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..b8ab0cf
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,6 @@
+addons:
+ homebrew:
+ packages:
+ - boost
+language: objective-c
+script: set -o pipefail && xcodebuild -project QLColorCode.xcodeproj -scheme Travis build | xcpretty
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..945913f
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,320 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](http://keepachangelog.com/fr/1.0.0/) and this project adheres to
+[Semantic Versioning](http://semver.org/spec/v2.0.0.html).
+
+
+## [Unreleased]
+
+- NOTHING
+
+## [4.1.0] — 2020-12-17
+
+### Changed
+
+- Compilation of `highlight`/`lua` (thanks @Tatsh).
+
+## [4.0.3] — 2020-12-17
+
+### Added
+
+- `xsl` support.
+
+## [4.0.2] — 2020-12-16
+
+### Fixed
+
+- Version number in the final binary.
+
+## [4.0.1] — 2020-12-16
+
+### Added
+
+- `tf` support.
+
+### Fixed
+
+- CI (thanks @jeffbyrnes).
+
+## [4.0.0] — 2020-12-15
+
+**Big Sur support via integrated Lua and Highlight!
+Thanks to @tatsh for his amazing work!**
+
+### Added
+
+- `ruby` support.
+- `lisp` support.
+- `automake` support.
+- `powershell` support (thanks @abulgatz).
+
+### Fixed
+
+- CI (thanks @tatsh).
+
+## [3.1.1] — 2020-09-09
+
+### Fixed
+
+- `java` support.
+- `C++` support.
+- `Objective-C++` support.
+- Others took [here](https://github.com/meissnem/QLColorCode/blob/master/Info.plist).
+
+## [3.1.0] — 2020-09-09
+
+### Added
+
+- `kts` (kotlin) support.
+- `xsh` support.
+- `pyc` support (decompilation with `uncompyle6` [has to be in `/usr/local/bin`]).
+- `rst` support.
+- `perl` support.
+- `bats` (Bash Automated Testing System) support.
+
+### Fixed
+
+- `fish` support.
+- `bat` (Windows Batch) support.
+- `diff` support.
+- `bash` support.
+
+## [3.0.3] — 2020-09-09
+
+### Fixed
+
+- `xquery` support for forgotten extensions (thanks leo@leostuder.ch).
+
+## [3.0.2] — 2020-09-08
+
+### Added
+
+- `xsd`/`xquery`/`xml`/`xsl` support.
+
+### Changed
+
+- Minimum rendering size is now `9`.
+
+## [3.0.1] — 2020-09-04
+
+### Added
+
+- `bazel` support.
+
+### Changed
+
+- `CHANGELOG.md` follows "Keep a Changelog".
+
+### Removed
+
+- `jad` support.
+
+## [3.0.0] — 2020-08-16
+
+### Added
+
+- `JetBrain IML Project file` support (as standard XML files).
+- `YAML` support (thanks @JJGO).
+- `Crystal` Support (thanks @crjaensch).
+- `HS`/`Cabal`/`VueJS`/`Go`/`Rust`/`C`/`C++`/`Objective-C`/`Lua`/`CSH`/`ZSH`/`Python`/`CFG` support.
+- Support Mojave Dark mode (thanks @darkbrow).
+
+### Removed
+
+- Plain-Text files support to allow QLStephen processing.
+
+### Fixed
+
+- Fix `Height`/`Width`/`MinimumSize` (thanks @darkbrow).
+
+## [2.1.0] — 2018-06-19
+
+### Added
+
+- Option to preview file as `RTF` (thanks @silum).
+- `Kotlin/Gradle` (thanks @sonique6784).
+- `C#/Scala` support.
+- `reduce_filesize` plugin by default.
+
+### Removed
+
+- `JSON` support (thanks @erdtsksn).
+
+## [2.0.9] — 2017-10-02
+
+### Added
+
+- `PHP`/`JS` support (thanks @sloanlance).
+- `C#`/`F#` support (thanks @breiter).
+
+## [2.0.8] — 2016-10-05
+
+### Removed
+
+- `bash_ref_linuxmanpages_com` plugin.
+
+## [2.0.7] — 2016-04-16
+
+### Fixed
+
+- autodetect path on 10.11 (thanks @cc941201).
+- `LaTeX` and `Arduino` support.
+
+## [2.0.6] — 2016-03-21
+
+### Added
+
+- `Logos` source file support (as plain text).
+- `ViM Scripts` source file support.
+- Ability to use an optional theme only for thumbnails (thanks @vilhelmen).
+- Autodetect `highlight` path (thanks @saagarjha).
+
+### Changed
+
+- Code is now GPL 3.
+
+## [2.0.5] — 2016-01-19
+
+Lots of minor changes
+
+## [2.0.4] — 2012-09-05
+
+First version of Anthony GELIBERT.
+
+### Added
+
+- New setting to specify the HL path (`/opt/local/bin/highlight` by default).
+- Some other formats to render.
+
+### Changed
+
+- Update the XCode Project to 10.8.
+- Update the script `colorize.sh` to obtain ZSH by the environment rather than an hardcoded path.
+- Update the script `colorize.sh` to call ZSH by `zsh -f` rather than simply `zsh`.
+
+### Fixed
+
+- Correct some code according to `CLang static analyzer`.
+
+## [2.0.2] — 2009-09-18
+
+### Added
+
+- Include a link to Andre Simon's page with previews of color styles.
+
+### Changed
+
+- Modified `ReadMe.txt` to include the latest info on the `Xcode 3.2` conflict
+
+## [2.0.1] — 2009-09-18
+
+### Added
+
+- Added qlcc_debug option. To enable, use: `defaults write org.n8gray.qlcolorcode qlcc_debug 1` To disable, use:
+ `defaults delete org.n8gray.qlcolorcode qlcc_debug`
+
+### Changed
+
+- Stop redirecting `stdout` of `colorize.sh` to `stdin`. Error output will appear in the console instead of the preview.
+
+### Fixed
+
+- Build of `highlight` to run on Leopard.
+
+## [2.0.0] — 2009-09-17
+
+### Added
+
+- A note about conflict with Xcode 3.2's source code QL plugin. If you're having problems with QLCC on Snow Leopard
+ please read it!
+- Support for `Scala`, `Groovy`, `Interactive Data Language`, and `Coldfusion`.
+- Build for `x86_64` in addition to `i386` and `ppc`.
+
+### Changed
+
+- Upgrade `highlight` from `2.6.6` to `2.12` -- This was long overdue. It's nice not to have to patch highlight anymore!
+
+### Removed
+
+- Customized `.css` language definition -- it was fixed upstream.
+
+### Fixed
+
+- Fixed a bug that caused `QLCC` to fail on files whose names contained '`%`'.
+
+## [1.1] — 2009-01-10
+
+### Added
+
+- Enabled "safe" plain-text handling. In other words, files like foo.txt will be supported, but not files without
+ extensions. The only way to handle extensionless files is to handle -everything-. This can be done, but it requires a
+ more defensive style of operation.
+- Support for `textEncoding` option to set encoding for highlight portion of renderer, with default `UTF-8`.
+- Support for `webkitTextEncoding` option to set encoding for webkit portion of renderer, with default `UTF-8`.
+- Support for `.cs`, `.el`, `.jnlp` (xml), `.e` (eiffel), and `.vb`.
+
+### Fixed
+
+- Fixed support for `Verilog` files.
+
+## [1.0] — 2008-01-07
+
+### Added
+
+- `Actionscript`, `Lisp`, `IDL`, `Verilog`, `VHDL`, `XHTML` (any others I forgot?).
+- `.cls` and `.sty` as LaTeX extensions.
+- `maxFileSize` option to keep us from hanging on huge files.
+
+### Fixed
+
+- Hopefully fixed the crasher bug by keeping us single-threaded.
+
+## [0.4] — 2008-01-07
+
+### Added
+
+- Added `Tcl`, `Lua`, and `JSP` support.
+
+### Changed
+
+- Can now configure appearance with `defaults write org.n8gray.QLColorCode ...` commands.
+
+### Fixed
+
+- Improved `OCaml`, `C/C++` and `Obj-C` modes.
+
+## [0.3] — 2007-12-15
+
+### Added
+
+- Added `.command` as an alternate extension for shell scripts.
+- Added `.mll` and `.mly` extensions for `OCaml`.
+- Include customized `.css` and `.c` language definition files.
+- Created a `slateGreen` theme that matches my editor colors.
+
+### Changed
+
+- If highlight fails to colorize a file render it as plain text.
+
+### Fixed
+
+- Ensure highlight is compiled as a Universal Binary.
+
+## [0.2] — 2007-12-14
+
+### Added
+
+- Added thumbnailing support.
+- Added UTIs for `.css`, `.sql`, `.erl`, and `.sml`.
+
+### Changed
+
+- Switched from Pygments to Highlight. This should increase speed-and-language coverage.
+- Changed `.tex` `UTI` to agree with TeXShop's.
+- (Try to) let the system pick a different plugin if ours fails.
+
+## [0.1]
+
+Initial release
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..75c345a
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,674 @@
+GNU GENERAL PUBLIC LICENSE
+Version 3, 29 June 2007
+
+Copyright (C) 2007 Free Software Foundation, Inc.
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+
+Preamble
+
+The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+The precise terms and conditions for copying, distribution and
+modification follow.
+
+TERMS AND CONDITIONS
+
+0. Definitions.
+
+"This License" refers to version 3 of the GNU General Public License.
+
+"Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+"The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+1. Source Code.
+
+The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+The Corresponding Source for a work in source code form is that
+same work.
+
+2. Basic Permissions.
+
+All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+4. Conveying Verbatim Copies.
+
+You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+5. Conveying Modified Source Versions.
+
+You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+a) The work must carry prominent notices stating that you modified
+it, and giving a relevant date.
+
+b) The work must carry prominent notices stating that it is
+released under this License and any conditions added under section
+7. This requirement modifies the requirement in section 4 to
+"keep intact all notices".
+
+c) You must license the entire work, as a whole, under this
+License to anyone who comes into possession of a copy. This
+License will therefore apply, along with any applicable section 7
+additional terms, to the whole of the work, and all its parts,
+regardless of how they are packaged. This License gives no
+permission to license the work in any other way, but it does not
+invalidate such permission if you have separately received it.
+
+d) If the work has interactive user interfaces, each must display
+Appropriate Legal Notices; however, if the Program has interactive
+interfaces that do not display Appropriate Legal Notices, your
+work need not make them do so.
+
+A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+6. Conveying Non-Source Forms.
+
+You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+a) Convey the object code in, or embodied in, a physical product
+(including a physical distribution medium), accompanied by the
+Corresponding Source fixed on a durable physical medium
+customarily used for software interchange.
+
+b) Convey the object code in, or embodied in, a physical product
+(including a physical distribution medium), accompanied by a
+written offer, valid for at least three years and valid for as
+long as you offer spare parts or customer support for that product
+model, to give anyone who possesses the object code either (1) a
+copy of the Corresponding Source for all the software in the
+product that is covered by this License, on a durable physical
+medium customarily used for software interchange, for a price no
+more than your reasonable cost of physically performing this
+conveying of source, or (2) access to copy the
+Corresponding Source from a network server at no charge.
+
+c) Convey individual copies of the object code with a copy of the
+written offer to provide the Corresponding Source. This
+alternative is allowed only occasionally and noncommercially, and
+only if you received the object code with such an offer, in accord
+with subsection 6b.
+
+d) Convey the object code by offering access from a designated
+place (gratis or for a charge), and offer equivalent access to the
+Corresponding Source in the same way through the same place at no
+further charge. You need not require recipients to copy the
+Corresponding Source along with the object code. If the place to
+copy the object code is a network server, the Corresponding Source
+may be on a different server (operated by you or a third party)
+that supports equivalent copying facilities, provided you maintain
+clear directions next to the object code saying where to find the
+Corresponding Source. Regardless of what server hosts the
+Corresponding Source, you remain obligated to ensure that it is
+available for as long as needed to satisfy these requirements.
+
+e) Convey the object code using peer-to-peer transmission, provided
+you inform other peers where the object code and Corresponding
+Source of the work are being offered to the general public at no
+charge under subsection 6d.
+
+A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+"Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+7. Additional Terms.
+
+"Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+a) Disclaiming warranty or limiting liability differently from the
+terms of sections 15 and 16 of this License; or
+
+b) Requiring preservation of specified reasonable legal notices or
+author attributions in that material or in the Appropriate Legal
+Notices displayed by works containing it; or
+
+c) Prohibiting misrepresentation of the origin of that material, or
+requiring that modified versions of such material be marked in
+reasonable ways as different from the original version; or
+
+d) Limiting the use for publicity purposes of names of licensors or
+authors of the material; or
+
+e) Declining to grant rights under trademark law for use of some
+trade names, trademarks, or service marks; or
+
+f) Requiring indemnification of licensors and authors of that
+material by anyone who conveys the material (or modified versions of
+it) with contractual assumptions of liability to the recipient, for
+any liability that these contractual assumptions directly impose on
+those licensors and authors.
+
+All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+8. Termination.
+
+You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+9. Acceptance Not Required for Having Copies.
+
+You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+10. Automatic Licensing of Downstream Recipients.
+
+Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+11. Patents.
+
+A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+12. No Surrender of Others' Freedom.
+
+If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+13. Use with the GNU Affero General Public License.
+
+Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+14. Revised Versions of this License.
+
+The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+15. Disclaimer of Warranty.
+
+THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+16. Limitation of Liability.
+
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+17. Interpretation of Sections 15 and 16.
+
+If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+END OF TERMS AND CONDITIONS
+
+How to Apply These Terms to Your New Programs
+
+If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+Copyright (C)
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ Copyright (C)
+This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+This is free software, and you are welcome to redistribute it
+under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
\ No newline at end of file
diff --git a/ChangeLog.txt b/ChangeLog.txt
deleted file mode 100644
index 26d0800..0000000
--- a/ChangeLog.txt
+++ /dev/null
@@ -1,62 +0,0 @@
-2.0.2:
- * Modified ReadMe.txt to include the latest info on the Xcode 3.2 conflict
- * Include a link to Andre Simon's page with previews of color styles
-
-2.0.1:
- * Corrected build of Highlight to run on Leopard.
- * Stop redirecting stdout of colorize.sh to stdin. Error output will appear
- in the console instead of the preview.
- * Added qlcc_debug option. To enable, use:
- defaults write org.n8gray.qlcolorcode qlcc_debug 1
- To disable, use:
- defaults delete org.n8gray.qlcolorcode qlcc_debug
-
-2.0:
- * Added a note about conflict with Xcode 3.2's source code QL plugin. If
- you're having problems with QLCC on Snow Leopard please read it!
- * Fixed a bug that caused QLCC to fail on files whose names contained '%'.
- * Added support for Scala, Groovy, Interactive Data Language, and Coldfusion
- * Upgrade highlight from 2.6.6 to 2.12 -- This was long overdue. It's nice
- not to have to patch highlight anymore!
- * Removed customized .css language definition -- it was fixed upstream.
- * Build for x86_64 in addition to i386 and ppc
-
-1.1:
- * Enabled "safe" plain-text handling. In other words, files like foo.txt
- will be supported, but not files without extensions. The only way to
- handle extensionless files is to handle *everything*. This can be done,
- but it requires a more defensive style of operation.
- * Added support for "textEncoding" option to set encoding for highlight
- portion of renderer, with default UTF-8.
- * Added support for "webkitTextEncoding" option to set encoding for webkit
- portion of renderer, with default UTF-8.
- * Added support for .cs, .el, .jnlp (xml), .e (eiffel), and .vb
- * Fixed support for verilog files
-
-1.0:
- * Hopefully fixed the crasher bug by keeping us single-threaded
- * Added Actionscript, Lisp, IDL, Verilog, VHDL, XHTML (any others I forgot?)
- * Added .cls and .sty as LaTeX extensions
- * Added maxFileSize option to keep us from hanging on huge files.
-
-0.4:
- * Added Tcl, Lua, and JSP support
- * Can now configure appearance with "defaults write org.n8gray.QLColorCode ..." commands
- * Improved OCaml, C/C++ and Obj-C modes.
-
-0.3:
- * Ensure highlight is compiled as a universal binary
- * If highlight fails to colorize a file render it as plain text
- * Added .command as an alternate extension for shell scripts
- * Added .mll and .mly extensions for OCaml
- * Include customized .css and .c language definition files
- * Created a slateGreen theme that matches my editor colors. :-)
-
-0.2:
- * Switched from Pygments to Highlight. This should increase speed *and* language coverage.
- * Added thumbnailing support
- * Changed .tex UTI to agree with TeXShop's.
- * (Try to) let the system pick a different plugin if ours fails
- * Added UTIs for .css, .sql, .erl, and .sml
-
-0.1: Initial release
\ No newline at end of file
diff --git a/Disable XCode QL Plugin.scpt b/Disable XCode QL Plugin.scpt
deleted file mode 100755
index 2e7c964..0000000
--- a/Disable XCode QL Plugin.scpt
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/osascript
-
-on run
- do shell script "if test \\! -d /Developer/Applications/Xcode.app/Contents/Library/QuickLook/SourceCode.qlgenerator; then echo 'I could not locate the XCode plugin. Have you already disabled it?'; exit 1; fi"
- do shell script "x=/Developer/Applications/Xcode.app/Contents/Library/QuickLook/SourceCode.qlgenerator; sudo rm -rf $x.disabled; sudo mv $x $x.disabled" with administrator privileges
- do shell script "qlmanage -r"
- display dialog "The XCode plugin has been disabled" buttons {"OK"} default button 1
-end run
diff --git a/English.lproj/InfoPlist.strings b/English.lproj/InfoPlist.strings
deleted file mode 100644
index 86243ea..0000000
Binary files a/English.lproj/InfoPlist.strings and /dev/null differ
diff --git a/GeneratePreviewForURL.m b/GeneratePreviewForURL.m
deleted file mode 100644
index 5d8c652..0000000
--- a/GeneratePreviewForURL.m
+++ /dev/null
@@ -1,64 +0,0 @@
-/* This code is copyright Nathaniel Gray, licensed under the GPL v2.
- See LICENSE.txt for details. */
-
-#import
-#import
-#import
-#import
-#import "Common.h"
-
-
-/* -----------------------------------------------------------------------------
- Generate a preview for file
-
- This function's job is to create preview for designated file
- ----------------------------------------------------------------------------- */
-
-OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview,
- CFURLRef url, CFStringRef contentTypeUTI,
- CFDictionaryRef options)
-{
-#ifdef DEBUG
- NSDate *startDate = [NSDate date];
-#endif
- n8log(@"Generating Preview");
- if (QLPreviewRequestIsCancelled(preview))
- return noErr;
-
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
-
- // Invoke colorize.sh
- CFBundleRef bundle = QLPreviewRequestGetGeneratorBundle(preview);
- int status;
- NSData *output = colorizeURL(bundle, url, &status, 0);
- n8log(@"Generated preview html page in %.3f sec",
- -[startDate timeIntervalSinceNow] );
-
- if (status != 0 || QLPreviewRequestIsCancelled(preview)) {
-#ifndef DEBUG
- goto done;
-#endif
- }
- // Now let WebKit do its thing
- NSString *textEncoding = [[NSUserDefaults standardUserDefaults]
- stringForKey:@"webkitTextEncoding"];
- if (!textEncoding || [textEncoding length] == 0)
- textEncoding = @"UTF-8";
- CFDictionaryRef properties =
- (CFDictionaryRef)[NSDictionary dictionaryWithObject:textEncoding
- forKey:(NSString *)kQLPreviewPropertyTextEncodingNameKey];
- QLPreviewRequestSetDataRepresentation(preview, (CFDataRef)output,
- //kUTTypePlainText,
- kUTTypeHTML,
- properties);
-
-done:
- n8log(@"Finished preview in %.3f sec", -[startDate timeIntervalSinceNow] );
- [pool release];
- return noErr;
-}
-
-void CancelPreviewGeneration(void* thisInterface, QLPreviewRequestRef preview)
-{
- // implement only if supported
-}
diff --git a/GenerateThumbnailForURL.m b/GenerateThumbnailForURL.m
deleted file mode 100644
index 9399a99..0000000
--- a/GenerateThumbnailForURL.m
+++ /dev/null
@@ -1,99 +0,0 @@
-/* Copyright Nathaniel Gray */
-
-#include
-#include
-#include
-#include
-#import "Common.h"
-
-#define minSize 32
-
-/* -----------------------------------------------------------------------------
- Generate a thumbnail for file
-
- This function's job is to create thumbnail for designated file as fast as possible
- ----------------------------------------------------------------------------- */
-
-OSStatus
-GenerateThumbnailForURL(void *thisInterface,
- QLThumbnailRequestRef thumbnail,
- CFURLRef url,
- CFStringRef contentTypeUTI,
- CFDictionaryRef options,
- CGSize maxSize)
-{
- n8log(@"Generating Thumbnail");
- // For some reason we seem to get called for small thumbnails even though
- // we put a min size in our .plist file...
- if (maxSize.width < minSize || maxSize.height < minSize)
- return noErr;
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
-#ifdef DEBUG
- NSDate *startDate = [NSDate date];
-#endif
-
- // Render as though there is an 600x800 window, and fill the thumbnail
- // vertically. This code could be more general. I'm assuming maxSize is
- // a square, though nothing horrible should happen if it isn't.
-
- NSRect renderRect = NSMakeRect(0.0, 0.0, 600.0, 800.0);
- float scale = maxSize.height/800.0;
- NSSize scaleSize = NSMakeSize(scale, scale);
- CGSize thumbSize = NSSizeToCGSize(
- NSMakeSize((maxSize.width * (600.0/800.0)),
- maxSize.height));
-
- /* Based on example code from quicklook-dev mailing list */
- // NSSize previewSize = NSSizeFromCGSize(maxSize);
- int status;
- CFBundleRef bundle = QLThumbnailRequestGetGeneratorBundle(thumbnail);
- NSData *data = colorizeURL(bundle, url, &status, 1);
- //NSLog(@"%s", [data bytes]);
- n8log(@"Generated thumbnail html page in %.3f sec", -[startDate timeIntervalSinceNow] );
- if (status != 0) {
-#ifndef DEBUG
- goto done;
-#endif
- }
- //NSRect previewRect;
- //previewRect.size = previewSize;
-
- WebView* webView = [[WebView alloc] initWithFrame:renderRect];
- [webView scaleUnitSquareToSize:scaleSize];
- [[[webView mainFrame] frameView] setAllowsScrolling:NO];
-
- [[webView mainFrame] loadData:data MIMEType:@"text/html"
- textEncodingName:@"UTF-8" baseURL:nil];
-
- while([webView isLoading]) {
- CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, true);
- }
-
- // Get a context to render into
- CGContextRef context =
- QLThumbnailRequestCreateContext(thumbnail, thumbSize, false, NULL);
-
- if(context != NULL) {
- NSGraphicsContext* nsContext =
- [NSGraphicsContext
- graphicsContextWithGraphicsPort:(void *)context
- flipped:[webView isFlipped]];
-
- [webView displayRectIgnoringOpacity:[webView bounds]
- inContext:nsContext];
-
- QLThumbnailRequestFlushContext(thumbnail, context);
-
- CFRelease(context);
- }
-done:
- n8log(@"Finished thumbnail after %.3f sec\n\n", -[startDate timeIntervalSinceNow] );
- [pool release];
- return noErr;
-}
-
-void CancelThumbnailGeneration(void* thisInterface,
- QLThumbnailRequestRef thumbnail)
-{
- // implement only if supported
-}
diff --git a/Info.plist b/Info.plist
index 081f56c..2960ed6 100644
--- a/Info.plist
+++ b/Info.plist
@@ -1,628 +1,151 @@
-
- CFBundleDevelopmentRegion
- English
- CFBundleDocumentTypes
-
-
- CFBundleTypeRole
- QLGenerator
- LSItemContentTypes
-
- public.source-code
- public.xml
- com.apple.property-list
- org.tug.tex
- public.plain-text
-
-
-
- CFBundleExecutable
- ${EXECUTABLE_NAME}
- CFBundleName
- ${PRODUCT_NAME}
- CFBundleIconFile
-
- CFBundleIdentifier
- org.n8gray.qlcolorcode
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleVersion
- ${CURRENT_PROJECT_VERSION}
- CFBundleShortVersionString
- ${CURRENT_PROJECT_VERSION}
- CFPlugInDynamicRegisterFunction
-
- CFPlugInDynamicRegistration
- NO
- CFPlugInFactories
- C044543D-70A1-46D8-A908-4B8AEA1197A4
- QuickLookGeneratorPluginFactory
-
- CFPlugInTypes
-
- 5E2D9680-5022-40FA-B806-43349622E5B9
+ CFBundleDevelopmentRegion
+ English
+ CFBundleDocumentTypes
- C044543D-70A1-46D8-A908-4B8AEA1197A4
-
-
- CFPlugInUnloadFunction
-
- QLSupportsConcurrentRequests
-
- QLNeedsToBeRunInMainThread
-
- QLThumbnailMinimumSize
- 32
- QLPreviewWidth
- 800
- QLPreviewHeight
- 640
- UTImportedTypeDeclarations
-
-
- UTTypeIdentifier
- org.ocaml.ocaml-source
- UTTypeReferenceURL
- http://www.ocaml.org/
- UTTypeDescription
- OCaml Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- ml
- mll
- mly
-
-
-
-
- UTTypeIdentifier
- org.ocaml.ocaml-interface
- UTTypeReferenceURL
- http://www.ocaml.org/
- UTTypeDescription
- OCaml Interface File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- mli
-
-
-
-
- UTTypeIdentifier
- org.haskell.haskell-source
- UTTypeReferenceURL
- http://www.haskell.org/
- UTTypeDescription
- Haskell Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- hs
-
-
-
-
- UTTypeIdentifier
- org.haskell.literate-haskell-source
- UTTypeReferenceURL
- http://www.haskell.org/
- UTTypeDescription
- Literate Haskell Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- lhs
-
-
-
-
- UTTypeIdentifier
- org.n8gray.scheme-source
- UTTypeDescription
- scheme Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- scm
-
-
-
-
- UTTypeIdentifier
- org.n8gray.ini-source
- UTTypeDescription
- .ini Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- ini
-
- public.mime-type
- text/x-ini
-
-
-
- UTTypeConformsTo
-
- public.text
-
- UTTypeDescription
- TeX text file
- UTTypeIdentifier
- org.tug.tex
- UTTypeTagSpecification
-
- com.apple.ostype
- TEXT
- public.filename-extension
-
- tex
- latex
- ltx
- texi
- ctx
- sty
- cls
-
-
-
-
- UTTypeIdentifier
- org.erlang.erlang-source
- UTTypeDescription
- Erlang Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- erl
- hrl
-
-
-
-
- UTTypeIdentifier
- org.n8gray.standard-ml-source
- UTTypeDescription
- Standard ML Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- sml
-
-
-
-
- UTTypeIdentifier
- org.n8gray.structured-query-language-source
- UTTypeDescription
- SQL Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- sql
-
-
-
-
- UTTypeIdentifier
- org.n8gray.diff-script
- UTTypeDescription
- Diff File
- UTTypeConformsTo
-
- public.script
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- diff
- patch
-
-
-
-
- UTTypeIdentifier
- public.css
- UTTypeDescription
- CSS File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- css
-
-
-
-
- UTTypeIdentifier
- org.lua.lua-source
- UTTypeDescription
- Lua Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- lua
-
-
-
-
- UTTypeIdentifier
- tk.tcl.tcl-source
- UTTypeDescription
- Tcl Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- tcl
-
-
-
-
- UTTypeIdentifier
- org.n8gray.jsp-source
- UTTypeDescription
- JSP Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
- public.filename-extension
-
- jsp
+ CFBundleTypeName
+
+ CFBundleTypeRole
+ QLGenerator
+ LSItemContentTypes
+
+ dyn.ah62d4rv4ge81q4pr
+ public.source-code
+ public.ruby-script
+ public.yaml
+ public.php-script
+ com.netscape.javascript-source
+ com.microsoft.c-sharp
+ com.microsoft.f-sharp
+ public.css
+ com.apple.applescript.script
+ public.xml
+ com.apple.property-list
+ org.tug.tex
+ com.sun.java-class
+ com.sun.java-source
+ org.vim.vim-script
+ org.tug.lua
+ public.tex
+ public.text
+ public.shell-script
+ public.c-header
+ public.objective-c-source
+ public.c-source
+ public.c-plus-plus-source
+ public.c-plus-plus-header
+ public.objective-c-plus-plus-source
+ public.assembly-source
+ com.apple.rez-source
+ public.mig-source
+ public.swift-source
+ public.pascal-source
+ com.apple.symbol-export
+ public.csh-script
+ public.zsh-script
+ com.apple.terminal.shell-script
+ com.apple.terminal.session
+ com.apple.terminal.settings
+ public.python-script
+ com.apple.xcode.strings-text
+ dyn.ah62d4rv4ge81g6pq
+ dyn.ah62d4rv4ge8007a
+ dyn.ah62d4rv4ge80s6xbqv0gn
+ dyn.ah62d4rv4ge81g25brvuu
+ dyn.ah62d4rv4ge80g62
+ dyn.ah62d4rv4ge80w5pq
+ dyn.ah62d4rv4ge80s52
+ dyn.ah62d4rv4ge80g2pcqf0a
+ dyn.ah62d4rv4ge81e62
+ dyn.ah62d4rv4ge80u62
+ dyn.ah62d4rv4ge80g6u
+ dyn.ah62d4rv4ge80g3xh
+ dyn.ah62d4rv4ge81q7pf
+ dyn.ah62d4rv4ge81a6xtsbw1e7dmqz3u
+ dyn.ah62d4rv4ge80e2p4qz0a
+ dyn.ah62d4rv4ge80e8xq
+ dyn.ah62d4rv4ge81u65e
+ dyn.ah62d4rv4ge81u6pzqz3hw
+ org.vim.xsl-file
+ dyn.ah62d4rv4ge81u7k
+ dyn.ah62d4rv4ge81u6pr
+ dyn.ah62d4rv4ge81u6k
+ dyn.ah62d4rv4ge8007dx
+ dyn.ah62d4rv4ge80e2py
+ dyn.ah62d4rv4ge80q4pxra
+ dyn.ah62d4rv4ge81u65k
+ dyn.ah62d4rv4ge81a8pd
+ dyn.ah62d4rv4ge81e65y
+ dyn.ah62d4rv4ge80n5a
+ dyn.ah62d4rv4ge80w5u
+ dyn.ah62d4rv4ge81k
+ dyn.ah62d4rv4ge80c5k
+ dyn.ah62d4rv4ge80c3dtqq
+ public.perl-script
+ dyn.ah62d4rv4ge80e2pysq
+ public.patch-file
+ public.bash-script
+ com.apple.xcode.bash-script
+ com.apple.xcode.csh-script
+ com.apple.xcode.ksh-script
+ com.apple.xcode.tcsh-script
+ com.apple.xcode.yacc-source
+ com.apple.xcode.zsh-script
+ dyn.ah62d4rv4ge81a63v
+ dyn.ah62d4rv4ge81k3x0qf3hg
+ dyn.ah62d4rv4ge81k3u
+ dyn.ah62d4rv4ge81u65q
+ dyn.ah62d4rv4ge80w5xm
+ dyn.ah62d4rv4ge8023pxsq
+ dyn.ah62d4rv4ge80g55sq2
-
-
- UTTypeIdentifier
- com.adobe.actionscript
- UTTypeDescription
- Adobe Flash ActionScript Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- as
-
-
-
-
- UTTypeIdentifier
- org.n8gray.lisp
- UTTypeDescription
- Lisp Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- lisp
- lsp
- asd
- el
-
-
-
-
- UTTypeIdentifier
- org.n8gray.idl
- UTTypeDescription
- IDL Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- pro
-
-
-
-
- UTTypeIdentifier
- org.n8gray.verilog
- UTTypeDescription
- Verilog Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- v
-
-
-
-
- UTTypeIdentifier
- org.n8gray.vhdl
- UTTypeDescription
- VHDL Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- vhdl
-
-
-
-
- UTTypeIdentifier
- org.n8gray.xhtml
- UTTypeDescription
- XHTML Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- xhtml
-
-
-
-
- UTTypeIdentifier
- org.n8gray.javaInstaller
- UTTypeDescription
- Java Web Installer (XML)
- UTTypeConformsTo
-
- public.xml
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- jnlp
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Eiffel source code file
- UTTypeIdentifier
- com.eiffel.source-code
- UTTypeTagSpecification
-
- public.filename-extension
-
- e
-
-
-
-
- UTTypeConformsTo
-
- public.xml
-
- UTTypeDescription
- EiffelStudio project configuration file
- UTTypeIdentifier
- com.eiffel.eiffelstudio-project-config
- UTTypeTagSpecification
-
- public.filename-extension
-
- ecf
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- C# Source File
- UTTypeIdentifier
- com.microsoft.csharp-source
- UTTypeReferenceURL
- http://www.microsoft.com/
- UTTypeTagSpecification
-
- public.filename-extension
-
- cs
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Visual Basic Source File
- UTTypeIdentifier
- com.microsoft.vb-source
- UTTypeReferenceURL
- http://www.microsoft.com/
- UTTypeTagSpecification
-
- public.filename-extension
-
- vb
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Ruby on Rails File
- UTTypeIdentifier
- org.n8gray.railstemplate
- UTTypeTagSpecification
-
- public.filename-extension
-
- rhtml
- erb
- rjs
-
-
-
-
- UTTypeIdentifier
- org.n8gray.bogusextension
- UTTypeDescription
- QLColorCode Test File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- bogus_extension
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Groovy Source Code
- UTTypeIdentifier
- org.codehaus.groovy-source
- UTTypeTagSpecification
-
- public.filename-extension
-
- groovy
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Scala Source Code
- UTTypeIdentifier
- org.scala-lang.scala
- UTTypeTagSpecification
-
- public.filename-extension
-
- scala
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Coldfusion Source Code
- UTTypeIdentifier
- com.adobe.coldfusion
- UTTypeTagSpecification
-
- public.filename-extension
-
- cfc
- cfm
- cfml
-
-
-
-
-
+
+ CFBundleExecutable
+ ${EXECUTABLE_NAME}
+ CFBundleIconFile
+
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ ${PRODUCT_NAME}
+ CFBundleShortVersionString
+ $(MARKETING_VERSION)
+ CFBundleVersion
+ $(CURRENT_PROJECT_VERSION)
+ CFPlugInDynamicRegisterFunction
+
+ CFPlugInDynamicRegistration
+ NO
+ CFPlugInFactories
+
+ C044543D-70A1-46D8-A908-4B8AEA1197A4
+ QuickLookGeneratorPluginFactory
+
+ CFPlugInTypes
+
+ 5E2D9680-5022-40FA-B806-43349622E5B9
+
+ C044543D-70A1-46D8-A908-4B8AEA1197A4
+
+
+ CFPlugInUnloadFunction
+
+ QLNeedsToBeRunInMainThread
+
+ QLPreviewHeight
+ 800
+ QLPreviewWidth
+ 800
+ QLSupportsConcurrentRequests
+
+ QLThumbnailMinimumSize
+ 17
+
diff --git a/LICENSE.txt b/LICENSE.txt
deleted file mode 100644
index d511905..0000000
--- a/LICENSE.txt
+++ /dev/null
@@ -1,339 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users. This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it. (Some other Free Software Foundation software is covered by
-the GNU Lesser General Public License instead.) You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have. You must make sure that they, too, receive or can get the
-source code. And you must show them these terms so they know their
-rights.
-
- We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software. If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
- Finally, any free program is threatened constantly by software
-patents. We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary. To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License. The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language. (Hereinafter, translation is included without limitation in
-the term "modification".) Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
- 1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
- 2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
-
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any
- part thereof, to be licensed as a whole at no charge to all third
- parties under the terms of this License.
-
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a
- notice that there is no warranty (or else, saying that you provide
- a warranty) and that users may redistribute the program under
- these conditions, and telling the user how to view a copy of this
- License. (Exception: if the Program itself is interactive but
- does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections
- 1 and 2 above on a medium customarily used for software interchange; or,
-
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your
- cost of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
-
- c) Accompany it with the information you received as to the offer
- to distribute corresponding source code. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form with such
- an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it. For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable. However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License. Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
- 5. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Program or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
- 6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
- 7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all. For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded. In such case, this License incorporates
-the limitation as if written in the body of this License.
-
- 9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation. If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
- 10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission. For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this. Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-
- Copyright (C)
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
- Gnomovision version 69, Copyright (C) year name of author
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
- , 1 April 1989
- Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs. If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License.
diff --git a/Notes.txt b/Notes.txt
deleted file mode 100644
index c2c30b7..0000000
--- a/Notes.txt
+++ /dev/null
@@ -1,246 +0,0 @@
-Based on highlight: http://www.andre-simon.de/index.html
-(Was based on pygments: http://pygments.org)
-
-When installing a new version of highlight, make sure to update the
-"highlight" symlink in the project dir. Also merge in any updates to
-filetypes.conf
-
-The version is handled in the Current Project Version variable in the project.
-
-
-
-TODO:
-* A strategy for generating UTIs for file types we can handle
-* Some kind of style configuration interface. Pref pane? Helper app?
-
-The project is in $PROJECT_DIR
-
-The resources directory of a build is:
- "$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH"
-
-Env. Vars available during builds:
- setenv ACTION build
- setenv ALWAYS_SEARCH_USER_PATHS YES
- setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer
- setenv APPLE_INTERNAL_DIR /AppleInternal
- setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/Documentation
- setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library
- setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools
- setenv ARCHS i386
- setenv BUILD_COMPONENTS "headers build"
- setenv BUILD_DIR /Users/n8gray/src/QLColorCode/build
- setenv BUILD_ROOT /Users/n8gray/src/QLColorCode/build
- setenv BUILD_STYLE Debug
- setenv BUILD_VARIANTS normal
- setenv BUILT_PRODUCTS_DIR /Users/n8gray/src/QLColorCode/build/Debug
- setenv CACHE_ROOT /Library/Caches/com.apple.Xcode.504
- setenv CCHROOT /Library/Caches/com.apple.Xcode.504
- setenv CHMOD /bin/chmod
- setenv CHOWN /usr/sbin/chown
- setenv CLASS_FILE_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build/JavaClasses
- setenv CLEAN_PRECOMPS YES
- setenv COMMAND_MODE legacy
- setenv COMPOSITE_SDK_DIRS /Library/Caches/com.apple.Xcode.504/CompositeSDKs
- setenv CONFIGURATION Debug
- setenv CONFIGURATION_BUILD_DIR /Users/n8gray/src/QLColorCode/build/Debug
- setenv CONFIGURATION_TEMP_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug
- setenv CONTENTS_FOLDER_PATH QLColorCode.qlgenerator/Contents
- setenv COPY_PHASE_STRIP NO
- setenv COPY_RESOURCES_FROM_STATIC_FRAMEWORKS YES
- setenv CP /bin/cp
- setenv CURRENT_ARCH i386
- setenv CURRENT_PROJECT_VERSION 0.2
- setenv CURRENT_VARIANT normal
- setenv DEBUGGING_SYMBOLS YES
- setenv DEBUG_INFORMATION_FORMAT dwarf
- setenv DEPLOYMENT_LOCATION NO
- setenv DERIVED_FILES_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build/DerivedSources
- setenv DERIVED_FILE_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build/DerivedSources
- setenv DERIVED_SOURCES_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build/DerivedSources
- setenv DEVELOPER_APPLICATIONS_DIR /Developer/Applications
- setenv DEVELOPER_BIN_DIR /Developer/usr/bin
- setenv DEVELOPER_DIR /Developer
- setenv DEVELOPER_FRAMEWORKS_DIR /Developer/Library/Frameworks
- setenv DEVELOPER_FRAMEWORKS_DIR_QUOTED "\"/Developer/Library/Frameworks\""
- setenv DEVELOPER_LIBRARY_DIR /Developer/Library
- setenv DEVELOPER_SDK_DIR /Developer/SDKs
- setenv DEVELOPER_TOOLS_DIR /Developer/Tools
- setenv DEVELOPER_USR_DIR /Developer/usr
- setenv DEVELOPMENT_LANGUAGE English
- setenv DOCUMENTATION_FOLDER_PATH /Documentation
- setenv DSTROOT /tmp/QLColorCode.dst
- setenv DWARF_DSYM_FILE_NAME QLColorCode.qlgenerator.dSYM
- setenv DWARF_DSYM_FOLDER_PATH /Users/n8gray/src/QLColorCode/build/Debug
- setenv ENABLE_HEADER_DEPENDENCIES YES
- setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES "*.nib *.lproj *.framework *.gch (*) CVS .svn *.xcodeproj *.xcode *.pbproj *.pbxproj"
- setenv EXECUTABLES_FOLDER_PATH QLColorCode.qlgenerator/Contents/Executables
- setenv EXECUTABLE_FOLDER_PATH QLColorCode.qlgenerator/Contents/MacOS
- setenv EXECUTABLE_NAME QLColorCode
- setenv EXECUTABLE_PATH QLColorCode.qlgenerator/Contents/MacOS/QLColorCode
- setenv FIXED_FILES_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build/FixedFiles
- setenv FRAMEWORKS_FOLDER_PATH QLColorCode.qlgenerator/Contents/Frameworks
- setenv FRAMEWORK_FLAG_PREFIX -framework
- setenv FRAMEWORK_SEARCH_PATHS "/Users/n8gray/src/QLColorCode/build/Debug /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks"
- setenv FRAMEWORK_VERSION A
- setenv FULL_PRODUCT_NAME QLColorCode.qlgenerator
- setenv GCC_DYNAMIC_NO_PIC NO
- setenv GCC_ENABLE_FIX_AND_CONTINUE YES
- setenv GCC_INLINES_ARE_PRIVATE_EXTERN YES
- setenv GCC_MODEL_TUNING G5
- setenv GCC_OPTIMIZATION_LEVEL 0
- setenv GCC_PFE_FILE_C_DIALECTS "c objective-c c++ objective-c++"
- setenv GCC_PRECOMPILE_PREFIX_HEADER NO
- setenv GCC_TREAT_WARNINGS_AS_ERRORS NO
- setenv GCC_VERSION 4.0
- setenv GCC_WARN_ABOUT_RETURN_TYPE YES
- setenv GCC_WARN_UNUSED_VARIABLE YES
- setenv GENERATE_PKGINFO_FILE NO
- setenv GENERATE_PROFILING_CODE NO
- setenv GID 20
- setenv GROUP staff
- setenv HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT YES
- setenv HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES YES
- setenv HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS YES
- setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES
- setenv HEADER_SEARCH_PATHS /Users/n8gray/src/QLColorCode/build/Debug/include
- setenv INFOPLIST_EXPAND_BUILD_SETTINGS YES
- setenv INFOPLIST_FILE Info.plist
- setenv INFOPLIST_PATH QLColorCode.qlgenerator/Contents/Info.plist
- setenv INFOSTRINGS_PATH /InfoPlist.strings
- setenv INSTALL_DIR /tmp/QLColorCode.dst/Library/QuickLook
- setenv INSTALL_GROUP staff
- setenv INSTALL_MODE_FLAG a-w,a+rX
- setenv INSTALL_OWNER n8gray
- setenv INSTALL_PATH /Library/QuickLook
- setenv INSTALL_ROOT /tmp/QLColorCode.dst
- setenv JAVAC_DEFAULT_FLAGS "-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
- setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
- setenv JAVA_ARCHIVE_CLASSES YES
- setenv JAVA_ARCHIVE_TYPE JAR
- setenv JAVA_COMPILER /usr/bin/javac
- setenv JAVA_FOLDER_PATH QLColorCode.qlgenerator/Contents/Resources/Java
- setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources
- setenv JAVA_JAR_FLAGS cv
- setenv JAVA_SOURCE_SUBDIR .
- setenv JAVA_USE_DEPENDENCIES YES
- setenv JAVA_ZIP_FLAGS -urg
- setenv JIKES_DEFAULT_FLAGS "+E +OLDCSO"
- setenv LEX /Developer/usr/bin/lex
- setenv LIBRARY_FLAG_NOSPACE YES
- setenv LIBRARY_FLAG_PREFIX -l
- setenv LIBRARY_SEARCH_PATHS /Users/n8gray/src/QLColorCode/build/Debug
- setenv LINK_FILE_LIST_normal_i386 /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build/Objects-normal/i386/QLColorCode.LinkFileList
- setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities
- setenv LOCAL_APPS_DIR /Applications
- setenv LOCAL_DEVELOPER_DIR /Library/Developer
- setenv LOCAL_LIBRARY_DIR /Library
- setenv MACH_O_TYPE mh_bundle
- setenv MAC_OS_X_VERSION_ACTUAL 1051
- setenv MAC_OS_X_VERSION_MAJOR 1050
- setenv MAC_OS_X_VERSION_MINOR 0501
- setenv NATIVE_ARCH i386
- setenv NATIVE_ARCH_32_BIT i386
- setenv NATIVE_ARCH_64_BIT x86_64
- setenv NATIVE_ARCH_ACTUAL x86_64
- setenv NO_COMMON YES
- setenv OBJECT_FILE_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build/Objects
- setenv OBJECT_FILE_DIR_normal /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build/Objects-normal
- setenv OBJROOT /Users/n8gray/src/QLColorCode/build
- setenv OPTIMIZATION_LEVEL 0
- setenv OS MACOS
- setenv OSAC /usr/bin/osacompile
- setenv OTHER_CFLAGS -DDEBUG
- setenv OTHER_CPLUSPLUSFLAGS -DDEBUG
- setenv PACKAGE_TYPE com.apple.package-type.wrapper
- setenv PASCAL_STRINGS YES
- setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES "/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Developer/Headers"
- setenv PBDEVELOPMENTPLIST_PATH QLColorCode.qlgenerator/Contents/pbdevelopment.plist
- setenv PFE_FILE_C_DIALECTS "c objective-c"
- setenv PKGINFO_FILE_PATH /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build/PkgInfo
- setenv PKGINFO_PATH QLColorCode.qlgenerator/Contents/PkgInfo
- setenv PLUGINS_FOLDER_PATH QLColorCode.qlgenerator/Contents/PlugIns
- setenv PREBINDING NO
- setenv PRECOMP_DESTINATION_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build/PrefixHeaders
- setenv PRIVATE_HEADERS_FOLDER_PATH QLColorCode.qlgenerator/Contents/PrivateHeaders
- setenv PRODUCT_NAME QLColorCode
- setenv PRODUCT_SETTINGS_PATH /Users/n8gray/src/QLColorCode/Info.plist
- setenv PRODUCT_TYPE com.apple.product-type.bundle
- setenv PROJECT QLColorCode
- setenv PROJECT_DERIVED_FILE_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/DerivedSources
- setenv PROJECT_DIR /Users/n8gray/src/QLColorCode
- setenv PROJECT_FILE_PATH /Users/n8gray/src/QLColorCode/QLColorCode.xcodeproj
- setenv PROJECT_NAME QLColorCode
- setenv PROJECT_TEMP_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build
- setenv PUBLIC_HEADERS_FOLDER_PATH QLColorCode.qlgenerator/Contents/Headers
- setenv RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS YES
- setenv REMOVE_CVS_FROM_RESOURCES YES
- setenv REMOVE_SVN_FROM_RESOURCES YES
- setenv REZ_COLLECTOR_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build/ResourceManagerResources
- setenv REZ_OBJECTS_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build/ResourceManagerResources/Objects
- setenv REZ_SEARCH_PATHS /Users/n8gray/src/QLColorCode/build/Debug
- setenv SCRIPTS_FOLDER_PATH QLColorCode.qlgenerator/Contents/Resources/Scripts
- setenv SCRIPT_INPUT_FILE_COUNT 0
- setenv SCRIPT_OUTPUT_FILE_COUNT 0
- setenv SDKROOT /Developer/SDKs/MacOSX10.5.sdk
- setenv SED /usr/bin/sed
- setenv SET_DIR_MODE_OWNER_GROUP YES
- setenv SET_FILE_MODE_OWNER_GROUP NO
- setenv SHARED_DERIVED_FILE_DIR /Users/n8gray/src/QLColorCode/build/Debug/DerivedSources
- setenv SHARED_FRAMEWORKS_FOLDER_PATH QLColorCode.qlgenerator/Contents/SharedFrameworks
- setenv SHARED_PRECOMPS_DIR /Library/Caches/com.apple.Xcode.504/SharedPrecompiledHeaders
- setenv SHARED_SUPPORT_FOLDER_PATH QLColorCode.qlgenerator/Contents/SharedSupport
- setenv SOURCE_ROOT /Users/n8gray/src/QLColorCode
- setenv SRCROOT /Users/n8gray/src/QLColorCode
- setenv STRIP_INSTALLED_PRODUCT YES
- setenv STRIP_STYLE non-global
- setenv SYMBOL_REPOSITORY_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build/SymbolRepositories
- setenv SYMROOT /Users/n8gray/src/QLColorCode/build
- setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities
- setenv SYSTEM_APPS_DIR /Applications
- setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices
- setenv SYSTEM_DEMOS_DIR /Applications/Extras
- setenv SYSTEM_DEVELOPER_APPS_DIR /Developer/Applications
- setenv SYSTEM_DEVELOPER_BIN_DIR /Developer/usr/bin
- setenv SYSTEM_DEVELOPER_DEMOS_DIR "/Developer/Applications/Utilities/Built Examples"
- setenv SYSTEM_DEVELOPER_DIR /Developer
- setenv SYSTEM_DEVELOPER_DOC_DIR "/Developer/ADC Reference Library"
- setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR "/Developer/Applications/Graphics Tools"
- setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR "/Developer/Applications/Java Tools"
- setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR "/Developer/Applications/Performance Tools"
- setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes"
- setenv SYSTEM_DEVELOPER_TOOLS /Developer/Tools
- setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR "/Developer/ADC Reference Library/documentation/DeveloperTools"
- setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes/DeveloperTools"
- setenv SYSTEM_DEVELOPER_USR_DIR /Developer/usr
- setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Developer/Applications/Utilities
- setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation
- setenv SYSTEM_LIBRARY_DIR /System/Library
- setenv TARGETNAME QLColorCode
- setenv TARGET_BUILD_DIR /Users/n8gray/src/QLColorCode/build/Debug
- setenv TARGET_NAME QLColorCode
- setenv TARGET_TEMP_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build
- setenv TEMP_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build
- setenv TEMP_FILES_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build
- setenv TEMP_FILE_DIR /Users/n8gray/src/QLColorCode/build/QLColorCode.build/Debug/QLColorCode.build
- setenv TEMP_ROOT /Users/n8gray/src/QLColorCode/build
- setenv UID 504
- setenv UNLOCALIZED_RESOURCES_FOLDER_PATH QLColorCode.qlgenerator/Contents/Resources
- setenv UNSTRIPPED_PRODUCT NO
- setenv USER n8gray
- setenv USER_APPS_DIR /Users/n8gray/Applications
- setenv USER_LIBRARY_DIR /Users/n8gray/Library
- setenv USE_DYNAMIC_NO_PIC YES
- setenv VALID_ARCHS "i386 ppc"
- setenv VERBOSE_PBXCP NO
- setenv VERSIONPLIST_PATH QLColorCode.qlgenerator/Contents/version.plist
- setenv VERSION_INFO_BUILDER n8gray
- setenv VERSION_INFO_FILE QLColorCode_vers.c
- setenv VERSION_INFO_STRING "\"@(#)PROGRAM:QLColorCode PROJECT:QLColorCode-0.2\""
- setenv WRAPPER_EXTENSION qlgenerator
- setenv WRAPPER_NAME QLColorCode.qlgenerator
- setenv WRAPPER_SUFFIX .qlgenerator
- setenv XCODE_APP_SUPPORT_DIR /Developer/Library/Xcode
- setenv XCODE_VERSION_ACTUAL 0300
- setenv XCODE_VERSION_MAJOR 0300
- setenv YACC /Developer/usr/bin/yacc
- setenv ZERO_LINK NO
diff --git a/QLColorCode.xcodeproj/project.pbxproj b/QLColorCode.xcodeproj/project.pbxproj
index c9ea0a4..91aadb5 100644
--- a/QLColorCode.xcodeproj/project.pbxproj
+++ b/QLColorCode.xcodeproj/project.pbxproj
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 46;
+ objectVersion = 53;
objects = {
/* Begin PBXAggregateTarget section */
@@ -19,26 +19,35 @@
name = Package;
productName = Package;
};
+ 26653B3A258B55350021CDD8 /* Copy lua.hpp */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = 26653B3B258B55350021CDD8 /* Build configuration list for PBXAggregateTarget "Copy lua.hpp" */;
+ buildPhases = (
+ 26653B41258B55390021CDD8 /* ShellScript */,
+ );
+ dependencies = (
+ );
+ name = "Copy lua.hpp";
+ productName = "Copy lua.hpp";
+ };
/* End PBXAggregateTarget section */
/* Begin PBXBuildFile section */
- 0E8776570D08E004005040B4 /* Common.h in Headers */ = {isa = PBXBuildFile; fileRef = 0E8776550D08E004005040B4 /* Common.h */; };
- 0E8776580D08E004005040B4 /* Common.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E8776560D08E004005040B4 /* Common.m */; };
- 0E8776B70D08ED64005040B4 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0E8776B60D08ED64005040B4 /* WebKit.framework */; };
- 0E8776BD0D08EDA4005040B4 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0E8776BC0D08EDA4005040B4 /* AppKit.framework */; };
- 0E8FBB64141DA09D00269094 /* override in Resources */ = {isa = PBXBuildFile; fileRef = 0E8FBB56141DA09D00269094 /* override */; };
- 0EB495D50D0FB13C00E86E0B /* colorize.sh in Resources */ = {isa = PBXBuildFile; fileRef = 0ECBBB5D0CFD447E00416538 /* colorize.sh */; };
- 0EC047970CFBDADF009C986E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0EC047960CFBDADF009C986E /* Foundation.framework */; };
0ECBBA6C0CFCA37500416538 /* QLColorCode.qlgenerator in Copy to Library */ = {isa = PBXBuildFile; fileRef = 8D576316048677EA00EA77CD /* QLColorCode.qlgenerator */; };
- 0EE90E861098CE5800468467 /* Script notes.txt in Resources */ = {isa = PBXBuildFile; fileRef = 0EE90E851098CE5800468467 /* Script notes.txt */; };
- 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 */; };
- F28CFBFD0A3EC0AF000ABFF5 /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F28CFBFC0A3EC0AF000ABFF5 /* ApplicationServices.framework */; };
- F28CFC030A3EC0C6000ABFF5 /* QuickLook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F28CFC020A3EC0C6000ABFF5 /* QuickLook.framework */; };
+ 26BACA53257CF04E00486D28 /* plugins in Resources */ = {isa = PBXBuildFile; fileRef = 26BACA52257CF04A00486D28 /* plugins */; };
+ 26BACA54257CF04E00486D28 /* filetypes.conf in Resources */ = {isa = PBXBuildFile; fileRef = 26BACA51257CF01B00486D28 /* filetypes.conf */; };
+ 26BACA58257CF06200486D28 /* highlight in Resources */ = {isa = PBXBuildFile; fileRef = 26BACA57257CF06200486D28 /* highlight */; };
+ 26BACA5C257CF17400486D28 /* themes in Resources */ = {isa = PBXBuildFile; fileRef = 26BACA5B257CF17400486D28 /* themes */; };
+ 26BACA60257CF60700486D28 /* langDefs in Resources */ = {isa = PBXBuildFile; fileRef = 26BACA5F257CF60600486D28 /* langDefs */; };
+ EA43671C15F6BF9C009DA6C0 /* colorize.sh in Resources */ = {isa = PBXBuildFile; fileRef = EA43671615F6BF9C009DA6C0 /* colorize.sh */; };
+ EA43671D15F6BF9C009DA6C0 /* Common.h in Headers */ = {isa = PBXBuildFile; fileRef = EA43671715F6BF9C009DA6C0 /* Common.h */; };
+ EA43671E15F6BF9C009DA6C0 /* Common.m in Sources */ = {isa = PBXBuildFile; fileRef = EA43671815F6BF9C009DA6C0 /* Common.m */; };
+ EA43671F15F6BF9C009DA6C0 /* GeneratePreviewForURL.m in Sources */ = {isa = PBXBuildFile; fileRef = EA43671915F6BF9C009DA6C0 /* GeneratePreviewForURL.m */; };
+ EA43672015F6BF9C009DA6C0 /* GenerateThumbnailForURL.m in Sources */ = {isa = PBXBuildFile; fileRef = EA43671A15F6BF9C009DA6C0 /* GenerateThumbnailForURL.m */; };
+ EA43672115F6BF9C009DA6C0 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = EA43671B15F6BF9C009DA6C0 /* main.c */; };
+ EA43673015F6C1B8009DA6C0 /* COPYING in Resources */ = {isa = PBXBuildFile; fileRef = EA43672C15F6C1B8009DA6C0 /* COPYING */; };
+ EACE3C6A24E8D93800B58A51 /* CHANGELOG.md in Resources */ = {isa = PBXBuildFile; fileRef = EACE3C6924E8D93800B58A51 /* CHANGELOG.md */; };
+ EAE9D2CC169E2B3500A67B2F /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = EAE9D2CB169E2B3500A67B2F /* README.md */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -49,6 +58,27 @@
remoteGlobalIDString = 8D57630D048677EA00EA77CD;
remoteInfo = QLColorCode;
};
+ 26653B42258B55570021CDD8 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 089C1669FE841209C02AAC07 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 26653B3A258B55350021CDD8;
+ remoteInfo = "Copy lua.hpp";
+ };
+ 26BAC9C4257CE96D00486D28 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 089C1669FE841209C02AAC07 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 26BAC9AB257CE89900486D28;
+ remoteInfo = highlight;
+ };
+ 26BAC9C6257CE97100486D28 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 089C1669FE841209C02AAC07 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 26BAC9BC257CE93200486D28;
+ remoteInfo = lua;
+ };
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
@@ -66,86 +96,47 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
- 089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; };
- 08FB77B6FE84183AC02AAC07 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; };
- 0AA1909FFE8422F4C02AAC07 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = ""; };
- 0E51C65F0D04E492007853CB /* ChangeLog.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ChangeLog.txt; sourceTree = ""; };
- 0E8776550D08E004005040B4 /* Common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Common.h; sourceTree = ""; };
- 0E8776560D08E004005040B4 /* Common.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Common.m; sourceTree = ""; };
- 0E8776B60D08ED64005040B4 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = SDKs/MacOSX10.5.sdk/System/Library/Frameworks/WebKit.framework; sourceTree = DEVELOPER_DIR; };
- 0E8776BC0D08EDA4005040B4 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework; sourceTree = DEVELOPER_DIR; };
- 0E8FBB56141DA09D00269094 /* override */ = {isa = PBXFileReference; lastKnownFileType = folder; path = override; sourceTree = ""; };
- 0EC047960CFBDADF009C986E /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
- 0EC047F20CFC000A009C986E /* Notes.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Notes.txt; sourceTree = ""; };
- 0ECBBB360CFCF98600416538 /* ReadMe.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ReadMe.txt; sourceTree = ""; };
- 0ECBBB5D0CFD447E00416538 /* colorize.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = colorize.sh; sourceTree = ""; };
- 0EE90E6F1098BE1E00468467 /* Disable XCode QL Plugin.scpt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.scpt; path = "Disable XCode QL Plugin.scpt"; sourceTree = ""; };
- 0EE90E841098CDDF00468467 /* Restore XCode QL Plugin.scpt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.scpt; path = "Restore XCode QL Plugin.scpt"; sourceTree = ""; };
- 0EE90E851098CE5800468467 /* Script notes.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "Script notes.txt"; sourceTree = ""; };
- 0EF57E4D0D123DD0006084D5 /* LICENSE.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE.txt; sourceTree = ""; };
- 2C05A19B06CAA52B00D84F6F /* GeneratePreviewForURL.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratePreviewForURL.m; sourceTree = ""; };
- 61E3BCFA0870B4F2002186A0 /* GenerateThumbnailForURL.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = GenerateThumbnailForURL.m; sourceTree = ""; };
+ 26BACA51257CF01B00486D28 /* filetypes.conf */ = {isa = PBXFileReference; lastKnownFileType = text; name = filetypes.conf; path = hl/highlight/filetypes.conf; sourceTree = ""; };
+ 26BACA52257CF04A00486D28 /* plugins */ = {isa = PBXFileReference; lastKnownFileType = folder; name = plugins; path = hl/highlight/plugins; sourceTree = ""; };
+ 26BACA57257CF06200486D28 /* highlight */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = highlight; path = hl/highlight/src/highlight; sourceTree = ""; };
+ 26BACA5B257CF17400486D28 /* themes */ = {isa = PBXFileReference; lastKnownFileType = folder; name = themes; path = hl/highlight/themes; sourceTree = ""; };
+ 26BACA5F257CF60600486D28 /* langDefs */ = {isa = PBXFileReference; lastKnownFileType = folder; name = langDefs; path = hl/highlight/langDefs; sourceTree = ""; };
8D576316048677EA00EA77CD /* QLColorCode.qlgenerator */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = QLColorCode.qlgenerator; sourceTree = BUILT_PRODUCTS_DIR; };
- 8D576317048677EA00EA77CD /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; };
- C86B05260671AA6E00DD9006 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; sourceTree = ""; };
- F28CFBFC0A3EC0AF000ABFF5 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = ""; };
- F28CFC020A3EC0C6000ABFF5 /* QuickLook.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuickLook.framework; path = /System/Library/Frameworks/QuickLook.framework; sourceTree = ""; };
+ EA43671615F6BF9C009DA6C0 /* colorize.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; name = colorize.sh; path = src/colorize.sh; sourceTree = ""; };
+ EA43671715F6BF9C009DA6C0 /* Common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Common.h; path = src/Common.h; sourceTree = ""; };
+ EA43671815F6BF9C009DA6C0 /* Common.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Common.m; path = src/Common.m; sourceTree = ""; };
+ EA43671915F6BF9C009DA6C0 /* GeneratePreviewForURL.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = GeneratePreviewForURL.m; path = src/GeneratePreviewForURL.m; sourceTree = ""; };
+ EA43671A15F6BF9C009DA6C0 /* GenerateThumbnailForURL.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = GenerateThumbnailForURL.m; path = src/GenerateThumbnailForURL.m; sourceTree = ""; };
+ EA43671B15F6BF9C009DA6C0 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = main.c; path = src/main.c; sourceTree = ""; };
+ EA43672C15F6C1B8009DA6C0 /* COPYING */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = COPYING; sourceTree = ""; };
+ EA43673315F6C23F009DA6C0 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ EACE3C6924E8D93800B58A51 /* CHANGELOG.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = ""; };
+ EAE9D2CB169E2B3500A67B2F /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README.md; sourceTree = ""; };
/* 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 */,
- 0EC047970CFBDADF009C986E /* Foundation.framework in Frameworks */,
- 0E8776B70D08ED64005040B4 /* WebKit.framework in Frameworks */,
- 0E8776BD0D08EDA4005040B4 /* AppKit.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
/* Begin PBXGroup section */
089C166AFE841209C02AAC07 /* QLColorCode */ = {
isa = PBXGroup;
children = (
- 0EE90E7F1098C84600468467 /* Scripts */,
- 0EC047F20CFC000A009C986E /* Notes.txt */,
- 0ECBBB360CFCF98600416538 /* ReadMe.txt */,
- 0E51C65F0D04E492007853CB /* ChangeLog.txt */,
- 0EF57E4D0D123DD0006084D5 /* LICENSE.txt */,
+ 26BACA5F257CF60600486D28 /* langDefs */,
+ 26BACA5B257CF17400486D28 /* themes */,
+ 26BACA57257CF06200486D28 /* highlight */,
+ 26BACA52257CF04A00486D28 /* plugins */,
+ 26BACA51257CF01B00486D28 /* filetypes.conf */,
+ EACE3C6924E8D93800B58A51 /* CHANGELOG.md */,
+ EA43672C15F6C1B8009DA6C0 /* COPYING */,
+ EAE9D2CB169E2B3500A67B2F /* README.md */,
08FB77AFFE84173DC02AAC07 /* Source */,
089C167CFE841241C02AAC07 /* Resources */,
- 089C1671FE841209C02AAC07 /* External Frameworks and Libraries */,
19C28FB6FE9D52B211CA2CBB /* Products */,
);
name = QLColorCode;
sourceTree = "";
};
- 089C1671FE841209C02AAC07 /* External Frameworks and Libraries */ = {
- isa = PBXGroup;
- children = (
- 0E8776BC0D08EDA4005040B4 /* AppKit.framework */,
- 0E8776B60D08ED64005040B4 /* WebKit.framework */,
- 0EC047960CFBDADF009C986E /* Foundation.framework */,
- F28CFC020A3EC0C6000ABFF5 /* QuickLook.framework */,
- F28CFBFC0A3EC0AF000ABFF5 /* ApplicationServices.framework */,
- C86B05260671AA6E00DD9006 /* CoreServices.framework */,
- 0AA1909FFE8422F4C02AAC07 /* CoreFoundation.framework */,
- );
- name = "External Frameworks and Libraries";
- sourceTree = "";
- };
089C167CFE841241C02AAC07 /* Resources */ = {
isa = PBXGroup;
children = (
- 0E8FBB56141DA09D00269094 /* override */,
- 8D576317048677EA00EA77CD /* Info.plist */,
- 8D5B49A704867FD3000E48DA /* InfoPlist.strings */,
+ EA43673315F6C23F009DA6C0 /* Info.plist */,
);
name = Resources;
sourceTree = "";
@@ -153,26 +144,16 @@
08FB77AFFE84173DC02AAC07 /* Source */ = {
isa = PBXGroup;
children = (
- 0E8776550D08E004005040B4 /* Common.h */,
- 0E8776560D08E004005040B4 /* Common.m */,
- 61E3BCFA0870B4F2002186A0 /* GenerateThumbnailForURL.m */,
- 2C05A19B06CAA52B00D84F6F /* GeneratePreviewForURL.m */,
- 08FB77B6FE84183AC02AAC07 /* main.c */,
- 0ECBBB5D0CFD447E00416538 /* colorize.sh */,
+ EA43671615F6BF9C009DA6C0 /* colorize.sh */,
+ EA43671715F6BF9C009DA6C0 /* Common.h */,
+ EA43671815F6BF9C009DA6C0 /* Common.m */,
+ EA43671915F6BF9C009DA6C0 /* GeneratePreviewForURL.m */,
+ EA43671A15F6BF9C009DA6C0 /* GenerateThumbnailForURL.m */,
+ EA43671B15F6BF9C009DA6C0 /* main.c */,
);
name = Source;
sourceTree = "";
};
- 0EE90E7F1098C84600468467 /* Scripts */ = {
- isa = PBXGroup;
- children = (
- 0EE90E851098CE5800468467 /* Script notes.txt */,
- 0EE90E6F1098BE1E00468467 /* Disable XCode QL Plugin.scpt */,
- 0EE90E841098CDDF00468467 /* Restore XCode QL Plugin.scpt */,
- );
- name = Scripts;
- sourceTree = "";
- };
19C28FB6FE9D52B211CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
@@ -188,12 +169,45 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
- 0E8776570D08E004005040B4 /* Common.h in Headers */,
+ EA43671D15F6BF9C009DA6C0 /* Common.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
+/* Begin PBXLegacyTarget section */
+ 26BAC9AB257CE89900486D28 /* highlight */ = {
+ isa = PBXLegacyTarget;
+ buildArgumentsString = "-j9 cli LUA_LIBS=../../lua/liblua.a 'CXX_COMPILE=clang++ -Wall -O2 -std=c++11 -D_FILE_OFFSET_BITS=64 -c -I ../../lua -I /opt/local/include -I /usr/local/include -I ./include'";
+ buildConfigurationList = 26BAC9AC257CE89900486D28 /* Build configuration list for PBXLegacyTarget "highlight" */;
+ buildPhases = (
+ );
+ buildToolPath = /usr/bin/make;
+ buildWorkingDirectory = hl/highlight;
+ dependencies = (
+ 26BAC9C7257CE97100486D28 /* PBXTargetDependency */,
+ 26653B43258B55570021CDD8 /* PBXTargetDependency */,
+ );
+ name = highlight;
+ passBuildSettingsInEnvironment = 1;
+ productName = highlight;
+ };
+ 26BAC9BC257CE93200486D28 /* lua */ = {
+ isa = PBXLegacyTarget;
+ buildArgumentsString = "-j9 $(ACTION) MYCFLAGS=-std=c99 MYLDFLAGS= MYLIBS=-ldl";
+ buildConfigurationList = 26BAC9BD257CE93200486D28 /* Build configuration list for PBXLegacyTarget "lua" */;
+ buildPhases = (
+ );
+ buildToolPath = /usr/bin/make;
+ buildWorkingDirectory = hl/lua;
+ dependencies = (
+ );
+ name = lua;
+ passBuildSettingsInEnvironment = 1;
+ productName = lua;
+ };
+/* End PBXLegacyTarget section */
+
/* Begin PBXNativeTarget section */
8D57630D048677EA00EA77CD /* QLColorCode */ = {
isa = PBXNativeTarget;
@@ -202,14 +216,13 @@
8D57630E048677EA00EA77CD /* Headers */,
8D57630F048677EA00EA77CD /* Resources */,
8D576311048677EA00EA77CD /* Sources */,
- 8D576313048677EA00EA77CD /* Frameworks */,
- 0E9139D70D10A8320067BAD6 /* Install highlight */,
0ECBBA6F0CFCA39E00416538 /* Copy to Library */,
0E1280381061C3EA0078EC05 /* Reset quicklookd */,
);
buildRules = (
);
dependencies = (
+ 26BAC9C5257CE96D00486D28 /* PBXTargetDependency */,
);
name = QLColorCode;
productInstallPath = /Library/QuickLook;
@@ -223,17 +236,27 @@
089C1669FE841209C02AAC07 /* Project object */ = {
isa = PBXProject;
attributes = {
- LastUpgradeCheck = 0430;
+ BuildIndependentTargetsInParallel = YES;
+ LastUpgradeCheck = 1200;
+ TargetAttributes = {
+ 26653B3A258B55350021CDD8 = {
+ CreatedOnToolsVersion = 12.3;
+ };
+ 26BAC9AB257CE89900486D28 = {
+ CreatedOnToolsVersion = 12.2;
+ };
+ 26BAC9BC257CE93200486D28 = {
+ CreatedOnToolsVersion = 12.2;
+ };
+ };
};
buildConfigurationList = 2CA326220896AD4900168862 /* Build configuration list for PBXProject "QLColorCode" */;
compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
+ developmentRegion = en;
hasScannedForEncodings = 1;
knownRegions = (
- English,
- Japanese,
- French,
- German,
+ en,
+ Base,
);
mainGroup = 089C166AFE841209C02AAC07 /* QLColorCode */;
projectDirPath = "";
@@ -241,6 +264,9 @@
targets = (
8D57630D048677EA00EA77CD /* QLColorCode */,
0E0E34E90D0097020086C1E6 /* Package */,
+ 26BAC9AB257CE89900486D28 /* highlight */,
+ 26BAC9BC257CE93200486D28 /* lua */,
+ 26653B3A258B55350021CDD8 /* Copy lua.hpp */,
);
};
/* End PBXProject section */
@@ -250,10 +276,15 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- 0EB495D50D0FB13C00E86E0B /* colorize.sh in Resources */,
- 8D5B49A804867FD3000E48DA /* InfoPlist.strings in Resources */,
- 0EE90E861098CE5800468467 /* Script notes.txt in Resources */,
- 0E8FBB64141DA09D00269094 /* override in Resources */,
+ 26BACA60257CF60700486D28 /* langDefs in Resources */,
+ 26BACA5C257CF17400486D28 /* themes in Resources */,
+ 26BACA58257CF06200486D28 /* highlight in Resources */,
+ 26BACA53257CF04E00486D28 /* plugins in Resources */,
+ 26BACA54257CF04E00486D28 /* filetypes.conf in Resources */,
+ EA43671C15F6BF9C009DA6C0 /* colorize.sh in Resources */,
+ EACE3C6A24E8D93800B58A51 /* CHANGELOG.md in Resources */,
+ EA43673015F6C1B8009DA6C0 /* COPYING in Resources */,
+ EAE9D2CC169E2B3500A67B2F /* README.md in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -271,7 +302,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = "/bin/zsh -x";
- shellScript = "# shell script goes here\nif [ $BUILD_STYLE != \"Release\" ]; then\n echo \"Error: Must use Release build style\"\n exit 1\nfi\n\ncd $PROJECT_DIR\nmkdir -vp release\ncd release\npkgDir=QLColorCode-$CURRENT_PROJECT_VERSION\nrm -rf $pkgDir\nmkdir $pkgDir\ncp -rp $TARGET_BUILD_DIR/*.qlgenerator $pkgDir\ncp ../ReadMe.txt $pkgDir\ncp ../LICENSE.txt $pkgDir\ncp ../ChangeLog.txt $pkgDir\n# For some reason Xcode has been producing world-writable output on occasion\nchmod -R o-w $pkgDir\ntar cvzf $pkgDir.tgz $pkgDir\nopen $PROJECT_DIR/release";
+ shellScript = "# shell script goes here\ncd $PROJECT_DIR\nmkdir -vp release\ncd release\npkgDir=QLColorCode-$CURRENT_PROJECT_VERSION\nrm -rf $pkgDir\nmkdir $pkgDir\ncp -rp $TARGET_BUILD_DIR/*.qlgenerator $pkgDir\ncp ../ReadMe.txt $pkgDir\ncp ../LICENSE.txt $pkgDir\ncp ../ChangeLog.txt $pkgDir\n# For some reason Xcode has been producing world-writable output on occasion\nchmod -R o-w $pkgDir\ntar cvzf $pkgDir.tgz $pkgDir\nopen $PROJECT_DIR/release\n";
};
0E1280381061C3EA0078EC05 /* Reset quicklookd */ = {
isa = PBXShellScriptBuildPhase;
@@ -285,23 +316,25 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "qlmanage -r";
+ shellScript = "qlmanage -r\n";
showEnvVarsInLog = 0;
};
- 0E9139D70D10A8320067BAD6 /* Install highlight */ = {
+ 26653B41258B55390021CDD8 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
+ inputFileListPaths = (
+ );
inputPaths = (
);
- name = "Install highlight";
+ outputFileListPaths = (
+ );
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
- shellPath = "/bin/zsh -x";
- shellScript = "set err_exit\ncd $PROJECT_DIR/highlight\nX='-arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.7'\nexport CFLAGS=$X\nexport LDFLAGS=$X\nmake -j 2\n# Make sure it was built universal\n# lipo -info src/highlight | grep -q i386 || exit 1\nlipo -info src/highlight | grep -q x86_64 || exit 1\nmake \\\n\tDESTDIR=$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH \\\n\tPREFIX=/highlight/ \\\n\tinstall\n\n";
- showEnvVarsInLog = 0;
+ shellPath = /bin/sh;
+ shellScript = "cp hl/lua.hpp hl/lua/lua.hpp\n";
};
/* End PBXShellScriptBuildPhase section */
@@ -310,10 +343,10 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- 8D576312048677EA00EA77CD /* main.c in Sources */,
- 2C05A19C06CAA52B00D84F6F /* GeneratePreviewForURL.m in Sources */,
- 61E3BCFB0870B4F2002186A0 /* GenerateThumbnailForURL.m in Sources */,
- 0E8776580D08E004005040B4 /* Common.m in Sources */,
+ EA43671E15F6BF9C009DA6C0 /* Common.m in Sources */,
+ EA43671F15F6BF9C009DA6C0 /* GeneratePreviewForURL.m in Sources */,
+ EA43672015F6BF9C009DA6C0 /* GenerateThumbnailForURL.m in Sources */,
+ EA43672115F6BF9C009DA6C0 /* main.c in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -325,104 +358,367 @@
target = 8D57630D048677EA00EA77CD /* QLColorCode */;
targetProxy = 0E0E34ED0D0097280086C1E6 /* PBXContainerItemProxy */;
};
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
- 8D5B49A704867FD3000E48DA /* InfoPlist.strings */ = {
- isa = PBXVariantGroup;
- children = (
- 089C167EFE841241C02AAC07 /* English */,
- );
- name = InfoPlist.strings;
- sourceTree = "";
+ 26653B43258B55570021CDD8 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 26653B3A258B55350021CDD8 /* Copy lua.hpp */;
+ targetProxy = 26653B42258B55570021CDD8 /* PBXContainerItemProxy */;
};
-/* End PBXVariantGroup section */
+ 26BAC9C5257CE96D00486D28 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 26BAC9AB257CE89900486D28 /* highlight */;
+ targetProxy = 26BAC9C4257CE96D00486D28 /* PBXContainerItemProxy */;
+ };
+ 26BAC9C7257CE97100486D28 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 26BAC9BC257CE93200486D28 /* lua */;
+ targetProxy = 26BAC9C6257CE97100486D28 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
0E0E34EA0D0097020086C1E6 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
COPY_PHASE_STRIP = NO;
- GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
- PRODUCT_NAME = Package;
+ PRODUCT_NAME = QLColorCode;
};
name = Debug;
};
0E0E34EB0D0097020086C1E6 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
- COPY_PHASE_STRIP = YES;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- PRODUCT_NAME = Package;
- ZERO_LINK = NO;
+ PRODUCT_NAME = QLColorCode;
};
name = Release;
};
- 2CA3261F0896AD4900168862 /* Debug */ = {
+ 26653B3C258B55350021CDD8 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Automatic;
+ DEVELOPMENT_TEAM = EU5R2QY9HJ;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 26653B3D258B55350021CDD8 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CODE_SIGN_STYLE = Automatic;
+ DEVELOPMENT_TEAM = EU5R2QY9HJ;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+ 26BAC9AD257CE89900486D28 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_ENABLE_OBJC_WEAK = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CODE_SIGN_STYLE = Automatic;
+ DEBUGGING_SYMBOLS = YES;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ DEVELOPMENT_TEAM = EU5R2QY9HJ;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
+ MTL_FAST_MATH = YES;
+ OTHER_CFLAGS = "";
+ OTHER_LDFLAGS = "";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 26BAC9AE257CE89900486D28 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_ENABLE_OBJC_WEAK = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
- FRAMEWORK_SEARCH_PATHS = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/**";
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ DEVELOPMENT_TEAM = EU5R2QY9HJ;
+ ENABLE_NS_ASSERTIONS = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ MTL_FAST_MATH = YES;
+ OTHER_CFLAGS = "";
+ OTHER_LDFLAGS = "";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+ 26BAC9BE257CE93200486D28 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_ENABLE_OBJC_WEAK = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CODE_SIGN_STYLE = Automatic;
+ DEBUGGING_SYMBOLS = YES;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ DEVELOPMENT_TEAM = EU5R2QY9HJ;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PRECOMPILE_PREFIX_HEADER = NO;
- INFOPLIST_FILE = Info.plist;
- INSTALL_PATH = /Library/QuickLook;
- ONLY_ACTIVE_ARCH = YES;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
+ MTL_FAST_MATH = YES;
+ OTHER_CFLAGS = "";
+ OTHER_LDFLAGS = "";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 26BAC9BF257CE93200486D28 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_ENABLE_OBJC_WEAK = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CODE_SIGN_STYLE = Automatic;
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ DEVELOPMENT_TEAM = EU5R2QY9HJ;
+ ENABLE_NS_ASSERTIONS = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ MTL_FAST_MATH = YES;
+ OTHER_CFLAGS = "";
+ OTHER_LDFLAGS = "";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+ 2CA3261F0896AD4900168862 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CLANG_ENABLE_OBJC_WEAK = YES;
+ COMBINE_HIDPI_IMAGES = YES;
+ CURRENT_PROJECT_VERSION = "4.1.1+dev";
+ MACOSX_DEPLOYMENT_TARGET = 10.15;
+ MARKETING_VERSION = "4.1.1+dev";
OTHER_CFLAGS = "-DDEBUG";
- PRODUCT_NAME = QLColorCode;
- VALID_ARCHS = x86_64;
- WRAPPER_EXTENSION = qlgenerator;
- ZERO_LINK = YES;
};
name = Debug;
};
2CA326200896AD4900168862 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_64_BIT)";
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- FRAMEWORK_SEARCH_PATHS = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/**";
- GCC_PRECOMPILE_PREFIX_HEADER = NO;
- INFOPLIST_FILE = Info.plist;
- INSTALL_PATH = /Library/QuickLook;
- ONLY_ACTIVE_ARCH = YES;
- PRODUCT_NAME = QLColorCode;
- VALID_ARCHS = x86_64;
- WRAPPER_EXTENSION = qlgenerator;
+ CLANG_ENABLE_OBJC_WEAK = YES;
+ COMBINE_HIDPI_IMAGES = YES;
+ CURRENT_PROJECT_VERSION = "4.1.1+dev";
+ MACOSX_DEPLOYMENT_TARGET = 10.15;
+ MARKETING_VERSION = "4.1.1+dev";
};
name = Release;
};
2CA326230896AD4900168862 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_64_BIT)";
- CURRENT_PROJECT_VERSION = 2.0.2;
+ CLANG_ADDRESS_SANITIZER_CONTAINER_OVERFLOW = YES;
+ CLANG_ANALYZER_LOCALIZABILITY_EMPTY_CONTEXT = YES;
+ CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
+ CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES;
+ CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES;
+ CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES;
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_UNDEFINED_BEHAVIOR_SANITIZER_INTEGER = YES;
+ CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES;
+ CLANG_WARN_ASSIGN_ENUM = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CXX0X_EXTENSIONS = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_OBJC_EXPLICIT_OWNERSHIP_TYPE = YES;
+ CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS = YES;
+ CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES_AGGRESSIVE;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ COPY_PHASE_STRIP = NO;
+ CURRENT_PROJECT_VERSION = "4.1.1+dev";
+ DEAD_CODE_STRIPPING = YES;
DSTROOT = "/export/tmp/$(PROJECT_NAME).dst";
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;
+ GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
+ GCC_WARN_PEDANTIC = YES;
+ GCC_WARN_SHADOW = YES;
+ GCC_WARN_SIGN_COMPARE = YES;
+ GCC_WARN_STRICT_SELECTOR_MATCH = YES;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNKNOWN_PRAGMAS = YES;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_LABEL = YES;
+ GCC_WARN_UNUSED_PARAMETER = NO;
GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.7;
+ INFOPLIST_FILE = Info.plist;
+ MACOSX_DEPLOYMENT_TARGET = 10.15;
ONLY_ACTIVE_ARCH = YES;
+ PRODUCT_BUNDLE_IDENTIFIER = org.n8gray.qlcolorcode;
+ PRODUCT_NAME = QLColorCode;
+ RUN_CLANG_STATIC_ANALYZER = YES;
SDKROOT = macosx;
- VALID_ARCHS = x86_64;
+ WRAPPER_EXTENSION = qlgenerator;
};
name = Debug;
};
2CA326240896AD4900168862 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_64_BIT)";
- CURRENT_PROJECT_VERSION = 2.0.2;
+ CLANG_ADDRESS_SANITIZER_CONTAINER_OVERFLOW = YES;
+ CLANG_ANALYZER_LOCALIZABILITY_EMPTY_CONTEXT = YES;
+ CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
+ CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES;
+ CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES;
+ CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES;
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_UNDEFINED_BEHAVIOR_SANITIZER_INTEGER = YES;
+ CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES;
+ CLANG_WARN_ASSIGN_ENUM = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CXX0X_EXTENSIONS = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_OBJC_EXPLICIT_OWNERSHIP_TYPE = YES;
+ CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS = YES;
+ CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES_AGGRESSIVE;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ CURRENT_PROJECT_VERSION = "4.1.1+dev";
+ DEAD_CODE_STRIPPING = YES;
DSTROOT = "/export/tmp/$(PROJECT_NAME).dst";
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;
+ GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
+ GCC_WARN_PEDANTIC = YES;
+ GCC_WARN_SHADOW = YES;
+ GCC_WARN_SIGN_COMPARE = YES;
+ GCC_WARN_STRICT_SELECTOR_MATCH = YES;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNKNOWN_PRAGMAS = YES;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_LABEL = YES;
+ GCC_WARN_UNUSED_PARAMETER = NO;
GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.7;
+ INFOPLIST_FILE = Info.plist;
+ MACOSX_DEPLOYMENT_TARGET = 10.15;
ONLY_ACTIVE_ARCH = YES;
+ PRODUCT_BUNDLE_IDENTIFIER = org.n8gray.qlcolorcode;
+ PRODUCT_NAME = QLColorCode;
+ RUN_CLANG_STATIC_ANALYZER = YES;
SDKROOT = macosx;
- VALID_ARCHS = x86_64;
+ WRAPPER_EXTENSION = qlgenerator;
};
name = Release;
};
@@ -438,6 +734,33 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
+ 26653B3B258B55350021CDD8 /* Build configuration list for PBXAggregateTarget "Copy lua.hpp" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 26653B3C258B55350021CDD8 /* Debug */,
+ 26653B3D258B55350021CDD8 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 26BAC9AC257CE89900486D28 /* Build configuration list for PBXLegacyTarget "highlight" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 26BAC9AD257CE89900486D28 /* Debug */,
+ 26BAC9AE257CE89900486D28 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 26BAC9BD257CE93200486D28 /* Build configuration list for PBXLegacyTarget "lua" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 26BAC9BE257CE93200486D28 /* Debug */,
+ 26BAC9BF257CE93200486D28 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
2CA3261E0896AD4900168862 /* Build configuration list for PBXNativeTarget "QLColorCode" */ = {
isa = XCConfigurationList;
buildConfigurations = (
diff --git a/QLColorCode.xcodeproj/xcshareddata/xcschemes/Package.xcscheme b/QLColorCode.xcodeproj/xcshareddata/xcschemes/Package.xcscheme
new file mode 100644
index 0000000..7d3600e
--- /dev/null
+++ b/QLColorCode.xcodeproj/xcshareddata/xcschemes/Package.xcscheme
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/QLColorCode.xcodeproj/xcshareddata/xcschemes/Travis.xcscheme b/QLColorCode.xcodeproj/xcshareddata/xcschemes/Travis.xcscheme
new file mode 100644
index 0000000..3b938b8
--- /dev/null
+++ b/QLColorCode.xcodeproj/xcshareddata/xcschemes/Travis.xcscheme
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..cf458e5
--- /dev/null
+++ b/README.md
@@ -0,0 +1,165 @@
+# QLColorCode
+
+[](https://travis-ci.org/anthonygelibert/QLColorCode)
+
+**Original project:**
+
+This is a Quick Look plug-in that renders source code with syntax highlighting, using the
+[Highlight library](http://www.andre-simon.de).
+
+To install the plug-in, just drag it to `~/Library/QuickLook`. You may need to create that folder if it doesn't already
+exist.
+
+Alternatively, if you use [Homebrew Cask](https://github.com/caskroom/homebrew-cask), install with
+`brew install --cask qlcolorcode`. Also available on [MacPorts](https://www.macports.org): `port install QLColorCode`.
+
+**To build the project, you must have Boost headers on your system in `/opt/local/include` or `/usr/local/include`.**
+
+## Settings
+
+If you want to configure `QLColorCode`, there are several `defaults` commands that could be useful:
+
+Setting the text encoding (default is `UTF-8`). Two settings are required. The first sets Highlight's encoding, the
+second sets Webkit's:
+
+ defaults write org.n8gray.QLColorCode textEncoding UTF-16
+ defaults write org.n8gray.QLColorCode webkitTextEncoding UTF-16
+
+Setting the font (default is `Menlo`):
+
+ defaults write org.n8gray.QLColorCode font Monaco
+
+Setting the font size (default is `10`):
+
+ defaults write org.n8gray.QLColorCode fontSizePoints 9
+
+Setting the color style for `light` and `dark` mode (see
+[all available themes](http://www.andre-simon.de/doku/highlight/theme-samples.php)):
+
+ defaults write org.n8gray.QLColorCode lightTheme solarized-light
+ defaults write org.n8gray.QLColorCode darkTheme solarized-dark
+
+Setting the thumbnail color style (deactivated by default):
+
+ defaults write org.n8gray.QLColorCode hlThumbTheme ide-xcode
+
+Setting the maximum size (in bytes, deactivated by default) for previewed files:
+
+ defaults write org.n8gray.QLColorCode maxFileSize 1000000
+
+zSetting any extra command-line flags for Highlight (see below):
+
+ defaults write org.n8gray.QLColorCode extraHLFlags '-l -W'
+
+Here are some useful 'highlight' command-line flags (from the main page):
+
+ -F, --reformat=