diff --git a/.gitignore b/.gitignore
index 0204c43..f6c8351 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,146 @@
+
+# Created by https://www.toptal.com/developers/gitignore/api/macos
+# Edit at https://www.toptal.com/developers/gitignore?templates=macos
+
+### macOS ###
+# General
.DS_Store
-graphics
-build
-highlight
-highlight-*
-release
-QLColorCode.xcodeproj/project.xcworkspace
-QLColorCode.xcodeproj/xcuserdata
+.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
index e384eea..b8ab0cf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,6 @@
+addons:
+ homebrew:
+ packages:
+ - boost
language: objective-c
-xcode_project: QLColorCode.xcodeproj
-xcode_scheme: Travis
+script: set -o pipefail && xcodebuild -project QLColorCode.xcodeproj -scheme Travis build | xcpretty
diff --git a/CHANGELOG b/CHANGELOG
deleted file mode 100644
index 7c37ece..0000000
--- a/CHANGELOG
+++ /dev/null
@@ -1,84 +0,0 @@
-2.0.7:
- * Correct autodetect path on 10.11 (thanks @cc941201).
- * Correct LaTeX and Arduino support.
-
-2.0.6:
- * Add Logos source file support (as plain text).
- * Add ViM Scripts source file support.
- * Code is now GPL 3.
- * Add the ability to use an optional theme only for thumbnails (thanks @vilhelmen).
- * Autodetect "highlight" path (thanks @saagarjha).
-
-2.0.5:
- * Lots of minor changes
-
-2.0.4:
- * Update the XCode Project to 10.8
- * Add a new setting to specify the HL path (/opt/local/bin/highlight by default).
- * 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".
- * Correct some code according to CLang static analyzer.
- * Add some other formats to render.
-
-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
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/Info.plist b/Info.plist
index 6fa78d0..2960ed6 100644
--- a/Info.plist
+++ b/Info.plist
@@ -1,1040 +1,151 @@
-
- CFBundleDevelopmentRegion
- English
- CFBundleDocumentTypes
-
-
- CFBundleTypeRole
- QLGenerator
- LSItemContentTypes
-
- public.source-code
- public.css
- com.apple.applescript.script
- public.xml
- com.apple.property-list
- org.tug.tex
- public.plain-text
- com.sun.java-class
- org.vim.vim-script
- public.tex
-
-
-
- CFBundleExecutable
- ${EXECUTABLE_NAME}
- CFBundleIconFile
-
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- ${PRODUCT_NAME}
- CFBundleShortVersionString
- ${CURRENT_PROJECT_VERSION}
- CFBundleVersion
- ${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
-
- QLNeedsToBeRunInMainThread
-
- QLPreviewHeight
- 640
- QLPreviewWidth
- 800
- QLSupportsConcurrentRequests
-
- QLThumbnailMinimumSize
- 32
- UTImportedTypeDeclarations
-
-
- UTTypeIdentifier
- com.dhowett.logos
- UTTypeDescription
- Logos Source File
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeTagSpecification
-
- public.filename-extension
-
- xm
-
-
-
-
- UTTypeIdentifier
- org.ocaml.ocaml-source
- UTTypeReferenceURL
- http://www.ocaml.org/
- UTTypeTagSpecification
-
- public.filename-extension
-
- ml
- mll
- mly
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- OCaml Interface File
- UTTypeIdentifier
- org.ocaml.ocaml-interface
- UTTypeReferenceURL
- http://www.ocaml.org/
- UTTypeTagSpecification
-
- public.filename-extension
-
- mli
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Haskell Source File
- UTTypeIdentifier
- org.haskell.haskell-source
- UTTypeReferenceURL
- http://www.haskell.org/
- UTTypeTagSpecification
-
- public.filename-extension
-
- hs
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Literate Haskell Source File
- UTTypeIdentifier
- org.haskell.literate-haskell-source
- UTTypeReferenceURL
- http://www.haskell.org/
- UTTypeTagSpecification
-
- public.filename-extension
-
- lhs
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- scheme Source File
- UTTypeIdentifier
- org.n8gray.scheme-source
- UTTypeTagSpecification
-
- public.filename-extension
-
- scm
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- .ini Source File
- UTTypeIdentifier
- org.n8gray.ini-source
- UTTypeTagSpecification
-
- public.filename-extension
-
- ini
-
- public.mime-type
- text/x-ini
-
-
-
- UTTypeConformsTo
-
- public.tex
-
- UTTypeDescription
- TeX text file
- UTTypeIdentifier
- public.tex
- UTTypeTagSpecification
-
- public.filename-extension
-
- tex
- latex
- ltx
- texi
- ctx
- sty
- cls
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Erlang Source File
- UTTypeIdentifier
- org.erlang.erlang-source
- UTTypeTagSpecification
-
- public.filename-extension
-
- erl
- hrl
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Standard ML Source File
- UTTypeIdentifier
- org.n8gray.standard-ml-source
- UTTypeTagSpecification
-
- public.filename-extension
-
- sml
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- SQL Source File
- UTTypeIdentifier
- org.n8gray.structured-query-language-source
- UTTypeTagSpecification
-
- public.filename-extension
-
- sql
-
-
-
-
- UTTypeConformsTo
-
- public.script
-
- UTTypeDescription
- Diff File
- UTTypeIdentifier
- org.n8gray.diff-script
- UTTypeTagSpecification
-
- public.filename-extension
-
- diff
- patch
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- CSS File
- UTTypeIdentifier
- public.css
- UTTypeTagSpecification
- public.filename-extension
-
- css
+ 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
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Lua Source File
- UTTypeIdentifier
- org.lua.lua-source
- UTTypeTagSpecification
-
- public.filename-extension
-
- lua
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Tcl Source File
- UTTypeIdentifier
- tk.tcl.tcl-source
- UTTypeTagSpecification
-
- public.filename-extension
-
- tcl
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- JSP Source File
- UTTypeIdentifier
- org.n8gray.jsp-source
- UTTypeTagSpecification
-
- public.filename-extension
-
- jsp
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- DOS Batch Source File
- UTTypeIdentifier
- org.n8gray.bat
- UTTypeTagSpecification
-
- public.filename-extension
-
- bat
- cmd
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Adobe Flash ActionScript Source File
- UTTypeIdentifier
- com.adobe.actionscript
- UTTypeTagSpecification
-
- public.filename-extension
-
- as
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Lisp Source File
- UTTypeIdentifier
- org.n8gray.lisp
- UTTypeTagSpecification
-
- public.filename-extension
-
- sb
- lisp
- lsp
- asd
- el
- clj
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Go Source File
- UTTypeIdentifier
- org.go.source
- UTTypeTagSpecification
-
- public.filename-extension
-
- go
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- IDL Source File
- UTTypeIdentifier
- org.n8gray.idl
- UTTypeTagSpecification
-
- public.filename-extension
-
- pro
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Makefile Source File
- UTTypeIdentifier
- org.n8gray.makefile
- UTTypeTagSpecification
-
- public.filename-extension
-
- mk
- mak
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Verilog Source File
- UTTypeIdentifier
- org.n8gray.verilog
- UTTypeTagSpecification
-
- public.filename-extension
-
- v
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- VHDL Source File
- UTTypeIdentifier
- org.n8gray.vhdl
- UTTypeTagSpecification
-
- public.filename-extension
-
- vhdl
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- XHTML Source File
- UTTypeIdentifier
- org.n8gray.xhtml
- UTTypeTagSpecification
-
- public.filename-extension
-
- xhtml
-
-
-
-
- UTTypeConformsTo
-
- public.xml
-
- UTTypeDescription
- Java Web Installer (XML)
- UTTypeIdentifier
- org.n8gray.javaInstaller
- 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
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- QLColorCode Test File
- UTTypeIdentifier
- org.n8gray.bogusextension
- 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.source
- UTTypeTagSpecification
-
- public.filename-extension
-
- scala
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Coldfusion Source Code
- UTTypeIdentifier
- com.adobe.coldfusion
- UTTypeTagSpecification
-
- public.filename-extension
-
- cfc
- cfm
- cfml
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- PDE files
- UTTypeIdentifier
- org.arduino.source
- UTTypeTagSpecification
-
- public.filename-extension
-
- pde
- ino
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- ASCR files
- UTTypeIdentifier
- org.applescript.source
- UTTypeTagSpecification
-
- public.filename-extension
-
- ascr
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- RDF files
- UTTypeIdentifier
- org.rdf.source
- UTTypeTagSpecification
-
- public.filename-extension
-
- rdf
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- XUL files
- UTTypeIdentifier
- org.xul.source
- UTTypeTagSpecification
-
- public.filename-extension
-
- xul
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- INO files
- UTTypeIdentifier
- org.arduino.ino-source
- UTTypeTagSpecification
-
- public.filename-extension
-
- ino
-
-
-
-
- UTTypeConformsTo
-
- public.plain-text
-
- UTTypeDescription
- INF files
- UTTypeIdentifier
- org.microsoft.inf
- UTTypeTagSpecification
-
- public.filename-extension
-
- inf
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- MF files
- UTTypeIdentifier
- com.sun.manifest
- UTTypeTagSpecification
-
- public.filename-extension
-
- mf
-
-
-
-
- UTTypeConformsTo
-
- com.sun.java-class
-
- UTTypeDescription
- Java Class
- UTTypeIdentifier
- com.sun.java-class
- UTTypeTagSpecification
-
- public.filename-extension
-
- class
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- JavaFX ML
- UTTypeIdentifier
- com.sun.javafx
- UTTypeTagSpecification
-
- public.filename-extension
-
- fxml
-
-
-
-
- UTTypeConformsTo
-
- public.plain-text
-
- UTTypeDescription
- NFO files
- UTTypeIdentifier
- org.nfo
- UTTypeTagSpecification
-
- public.filename-extension
-
- nfo
-
-
-
-
- UTTypeConformsTo
-
- public.xml
-
- UTTypeDescription
- ECore files
- UTTypeIdentifier
- org.omg.ecore
- UTTypeTagSpecification
-
- public.filename-extension
-
- ecore
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- ATL files
- UTTypeIdentifier
- org.km3
- UTTypeTagSpecification
-
- public.filename-extension
-
- atl
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Fish source files
- UTTypeIdentifier
- org.fish.source
- UTTypeTagSpecification
-
- public.filename-extension
-
- fish
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Coffee source files
- UTTypeIdentifier
- org.coffee.source
- UTTypeTagSpecification
-
- public.filename-extension
-
- coffee
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- CSON source files
- UTTypeIdentifier
- org.cson.source
- UTTypeTagSpecification
-
- public.filename-extension
-
- cson
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- Shell script
- UTTypeIdentifier
- org.bash.source
- UTTypeTagSpecification
-
- public.filename-extension
-
- bashrc
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- INNO source files
- UTTypeIdentifier
- org.inno.source
- UTTypeTagSpecification
-
- public.filename-extension
-
- iss
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- ASM source files
- UTTypeIdentifier
- org.asm.source
- UTTypeTagSpecification
-
- public.filename-extension
-
- s79
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- KERMETA source files
- UTTypeIdentifier
- org.kmt.source
- UTTypeTagSpecification
-
- public.filename-extension
-
- kmt
-
-
-
-
- UTTypeConformsTo
-
- public.source-code
-
- UTTypeDescription
- GCC-linked files
- UTTypeIdentifier
- org.gcc.files
- UTTypeTagSpecification
-
- public.filename-extension
-
- ld
- map
- d
-
-
-
-
-
+
+ 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/QLColorCode.xcodeproj/project.pbxproj b/QLColorCode.xcodeproj/project.pbxproj
index 389a4b1..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,28 +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 */
0ECBBA6C0CFCA37500416538 /* QLColorCode.qlgenerator in Copy to Library */ = {isa = PBXBuildFile; fileRef = 8D576316048677EA00EA77CD /* QLColorCode.qlgenerator */; };
- 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 */; };
+ 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 */; };
- EA43672515F6C00B009DA6C0 /* English.lproj in Resources */ = {isa = PBXBuildFile; fileRef = EA43672315F6C00B009DA6C0 /* English.lproj */; };
- EA43672F15F6C1B8009DA6C0 /* CHANGELOG in Resources */ = {isa = PBXBuildFile; fileRef = EA43672B15F6C1B8009DA6C0 /* CHANGELOG */; };
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 */; };
- EAEB7B5815A4FBF7005914E0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EAEB7B5715A4FBF7005914E0 /* Foundation.framework */; };
- EAEB7B5A15A4FC00005914E0 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EAEB7B5915A4FC00005914E0 /* WebKit.framework */; };
- EAEB7B5C15A4FC08005914E0 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EAEB7B5B15A4FC08005914E0 /* AppKit.framework */; };
- F28CFBFD0A3EC0AF000ABFF5 /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F28CFBFC0A3EC0AF000ABFF5 /* ApplicationServices.framework */; };
- F28CFC030A3EC0C6000ABFF5 /* QuickLook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F28CFC020A3EC0C6000ABFF5 /* QuickLook.framework */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -51,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 */
@@ -68,78 +96,47 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
- 0AA1909FFE8422F4C02AAC07 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; 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; };
- C86B05260671AA6E00DD9006 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.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 = ""; };
- EA43672315F6C00B009DA6C0 /* English.lproj */ = {isa = PBXFileReference; lastKnownFileType = folder; name = English.lproj; path = rsrc/English.lproj; sourceTree = ""; };
- EA43672B15F6C1B8009DA6C0 /* CHANGELOG */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CHANGELOG; 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 = ""; };
- EAEB7B5715A4FBF7005914E0 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
- EAEB7B5915A4FC00005914E0 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
- EAEB7B5B15A4FC08005914E0 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
- 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 = ""; };
/* End PBXFileReference section */
-/* Begin PBXFrameworksBuildPhase section */
- 8D576313048677EA00EA77CD /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- EAEB7B5C15A4FC08005914E0 /* AppKit.framework in Frameworks */,
- EAEB7B5A15A4FC00005914E0 /* WebKit.framework in Frameworks */,
- EAEB7B5815A4FBF7005914E0 /* Foundation.framework in Frameworks */,
- 8D576314048677EA00EA77CD /* CoreFoundation.framework in Frameworks */,
- C86B05270671AA6E00DD9006 /* CoreServices.framework in Frameworks */,
- F28CFBFD0A3EC0AF000ABFF5 /* ApplicationServices.framework in Frameworks */,
- F28CFC030A3EC0C6000ABFF5 /* QuickLook.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
/* Begin PBXGroup section */
089C166AFE841209C02AAC07 /* QLColorCode */ = {
isa = PBXGroup;
children = (
- EA43672B15F6C1B8009DA6C0 /* CHANGELOG */,
+ 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 = (
- EAEB7B5B15A4FC08005914E0 /* AppKit.framework */,
- EAEB7B5915A4FC00005914E0 /* WebKit.framework */,
- EAEB7B5715A4FBF7005914E0 /* 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 = (
EA43673315F6C23F009DA6C0 /* Info.plist */,
- EA43672315F6C00B009DA6C0 /* English.lproj */,
);
name = Resources;
sourceTree = "";
@@ -178,6 +175,39 @@
};
/* 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;
@@ -186,13 +216,13 @@
8D57630E048677EA00EA77CD /* Headers */,
8D57630F048677EA00EA77CD /* Resources */,
8D576311048677EA00EA77CD /* Sources */,
- 8D576313048677EA00EA77CD /* Frameworks */,
0ECBBA6F0CFCA39E00416538 /* Copy to Library */,
0E1280381061C3EA0078EC05 /* Reset quicklookd */,
);
buildRules = (
);
dependencies = (
+ 26BAC9C5257CE96D00486D28 /* PBXTargetDependency */,
);
name = QLColorCode;
productInstallPath = /Library/QuickLook;
@@ -206,17 +236,27 @@
089C1669FE841209C02AAC07 /* Project object */ = {
isa = PBXProject;
attributes = {
- LastUpgradeCheck = 0800;
+ 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 = "";
@@ -224,6 +264,9 @@
targets = (
8D57630D048677EA00EA77CD /* QLColorCode */,
0E0E34E90D0097020086C1E6 /* Package */,
+ 26BAC9AB257CE89900486D28 /* highlight */,
+ 26BAC9BC257CE93200486D28 /* lua */,
+ 26653B3A258B55350021CDD8 /* Copy lua.hpp */,
);
};
/* End PBXProject section */
@@ -233,10 +276,13 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- 8D5B49A804867FD3000E48DA /* InfoPlist.strings 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 */,
- EA43672515F6C00B009DA6C0 /* English.lproj in Resources */,
- EA43672F15F6C1B8009DA6C0 /* CHANGELOG in Resources */,
+ EACE3C6A24E8D93800B58A51 /* CHANGELOG.md in Resources */,
EA43673015F6C1B8009DA6C0 /* COPYING in Resources */,
EAE9D2CC169E2B3500A67B2F /* README.md in Resources */,
);
@@ -256,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;
@@ -270,9 +316,26 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "qlmanage -r";
+ shellScript = "qlmanage -r\n";
showEnvVarsInLog = 0;
};
+ 26653B41258B55390021CDD8 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ );
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "cp hl/lua.hpp hl/lua/lua.hpp\n";
+ };
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
@@ -295,50 +358,222 @@
target = 8D57630D048677EA00EA77CD /* QLColorCode */;
targetProxy = 0E0E34ED0D0097280086C1E6 /* PBXContainerItemProxy */;
};
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
- 8D5B49A704867FD3000E48DA /* InfoPlist.strings */ = {
- isa = PBXVariantGroup;
- children = (
- );
- name = InfoPlist.strings;
- path = /Users/tony/Documents/Projects/qlcolorcode;
- sourceTree = "";
+ 26653B43258B55570021CDD8 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 26653B3A258B55350021CDD8 /* Copy lua.hpp */;
+ targetProxy = 26653B42258B55570021CDD8 /* PBXContainerItemProxy */;
+ };
+ 26BAC9C5257CE96D00486D28 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 26BAC9AB257CE89900486D28 /* highlight */;
+ targetProxy = 26BAC9C4257CE96D00486D28 /* PBXContainerItemProxy */;
};
-/* End PBXVariantGroup section */
+ 26BAC9C7257CE97100486D28 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 26BAC9BC257CE93200486D28 /* lua */;
+ targetProxy = 26BAC9C6257CE97100486D28 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
0E0E34EA0D0097020086C1E6 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
- COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
- GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- PRODUCT_NAME = Package;
- RUN_CLANG_STATIC_ANALYZER = YES;
+ PRODUCT_NAME = QLColorCode;
};
name = Debug;
};
0E0E34EB0D0097020086C1E6 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
- COMBINE_HIDPI_IMAGES = YES;
- COPY_PHASE_STRIP = YES;
+ PRODUCT_NAME = QLColorCode;
+ };
+ name = Release;
+ };
+ 26653B3C258B55350021CDD8 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Automatic;
+ DEVELOPMENT_TEAM = EU5R2QY9HJ;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 26653B3D258B55350021CDD8 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ 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;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- PRODUCT_NAME = Package;
- RUN_CLANG_STATIC_ANALYZER = YES;
- ZERO_LINK = NO;
+ 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_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";
};
name = Debug;
@@ -346,19 +581,30 @@
2CA326200896AD4900168862 /* Release */ = {
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";
};
name = Release;
};
2CA326230896AD4900168862 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ 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;
@@ -368,12 +614,15 @@
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 = 2.0.8;
+ CURRENT_PROJECT_VERSION = "4.1.1+dev";
DEAD_CODE_STRIPPING = YES;
DSTROOT = "/export/tmp/$(PROJECT_NAME).dst";
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -381,12 +630,12 @@
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
- GCC_VERSION = "";
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;
@@ -398,14 +647,12 @@
GCC_WARN_UNUSED_PARAMETER = NO;
GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = Info.plist;
- INSTALL_PATH = /Library/QuickLook;
- MACOSX_DEPLOYMENT_TARGET = 10.12;
+ 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;
@@ -413,12 +660,19 @@
2CA326240896AD4900168862 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ 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;
@@ -428,22 +682,25 @@
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 = 2.0.8;
+ 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_VERSION = "";
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;
@@ -455,15 +712,12 @@
GCC_WARN_UNUSED_PARAMETER = NO;
GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = Info.plist;
- INSTALL_PATH = /Library/QuickLook;
- LLVM_LTO = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.12;
+ 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;
@@ -480,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
index 1833a2f..3b938b8 100644
--- a/QLColorCode.xcodeproj/xcshareddata/xcschemes/Travis.xcscheme
+++ b/QLColorCode.xcodeproj/xcshareddata/xcschemes/Travis.xcscheme
@@ -1,6 +1,6 @@
-
-
-
-
-This is a Quick Look plugin that renders source code with syntax highlighting,
-using the [Highlight library](http://www.andre-simon.de).
+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 plugin, just drag it to `~/Library/QuickLook`.
-You may need to create that folder if it doesn't already exist.
+To install the plug-in, just drag it to `~/Library/QuickLook`. You may need to create that folder if it doesn't already
+exist.
-Alternative, if you use [Homebrew-Cask](https://github.com/caskroom/homebrew-cask),
-install with `brew cask install qlcolorcode`.
+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:
+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
@@ -29,9 +33,11 @@ Setting the font size (default is `10`):
defaults write org.n8gray.QLColorCode fontSizePoints 9
-Setting the color style (default is `edit-xcode`, see [all available themes](http://www.andre-simon.de/dokuwiki/doku.php?id=theme_examples)):
+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 hlTheme ide-xcode
+ defaults write org.n8gray.QLColorCode lightTheme solarized-light
+ defaults write org.n8gray.QLColorCode darkTheme solarized-dark
Setting the thumbnail color style (deactivated by default):
@@ -41,11 +47,11 @@ Setting the maximum size (in bytes, deactivated by default) for previewed files:
defaults write org.n8gray.QLColorCode maxFileSize 1000000
-Setting any extra command-line flags for Highlight (see below):
+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 man page):
+Here are some useful 'highlight' command-line flags (from the main page):
-F, --reformat=