diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5065fb8..b2ac998 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,10 +7,25 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
+- Nothing
+
+## [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
diff --git a/Info.plist b/Info.plist
index 6fe01d2..737cc23 100644
--- a/Info.plist
+++ b/Info.plist
@@ -62,6 +62,14 @@
dyn.ah62d4rv4ge81u6k
dyn.ah62d4rv4ge8007dx
dyn.ah62d4rv4ge80e2py
+ dyn.ah62d4rv4ge80q4pxra
+ dyn.ah62d4rv4ge81u65k
+ dyn.ah62d4rv4ge81a8pd
+ dyn.ah62d4rv4ge81e65y
+ public.perl-script
+ dyn.ah62d4rv4ge80e2pysq
+ public.patch-file
+ public.bash-script
@@ -331,6 +339,7 @@
UTTypeConformsTo
public.script
+ public.patch-file
UTTypeDescription
Diff File
@@ -962,6 +971,7 @@
UTTypeConformsTo
public.source-code
+ dyn.ah62d4rv4ge80q4pxra
UTTypeDescription
Fish source files
@@ -975,6 +985,23 @@
+
+ UTTypeConformsTo
+
+ dyn.ah62d4rv4ge81u65k
+
+ UTTypeDescription
+ XSH source files
+ UTTypeIdentifier
+ org.xsh.source
+ UTTypeTagSpecification
+
+ public.filename-extension
+
+ xsh
+
+
+
UTTypeConformsTo
@@ -1031,6 +1058,8 @@
UTTypeConformsTo
public.source-code
+ dyn.ah62d4rv4ge80e2pysq
+ public.bash-script
UTTypeDescription
Shell script
@@ -1041,6 +1070,8 @@
public.filename-extension
bashrc
+ bats
+ bash
diff --git a/QLColorCode.xcodeproj/project.pbxproj b/QLColorCode.xcodeproj/project.pbxproj
index fd7c86a..4e46d86 100644
--- a/QLColorCode.xcodeproj/project.pbxproj
+++ b/QLColorCode.xcodeproj/project.pbxproj
@@ -287,9 +287,9 @@
buildSettings = {
CLANG_ENABLE_OBJC_WEAK = YES;
COMBINE_HIDPI_IMAGES = YES;
- CURRENT_PROJECT_VERSION = 3.0.4.dev1;
+ CURRENT_PROJECT_VERSION = 3.1.0;
MACOSX_DEPLOYMENT_TARGET = 10.15;
- MARKETING_VERSION = 3.0.4.dev1;
+ MARKETING_VERSION = 3.1.0;
OTHER_CFLAGS = "-DDEBUG";
};
name = Debug;
@@ -299,9 +299,9 @@
buildSettings = {
CLANG_ENABLE_OBJC_WEAK = YES;
COMBINE_HIDPI_IMAGES = YES;
- CURRENT_PROJECT_VERSION = 3.0.4.dev1;
+ CURRENT_PROJECT_VERSION = 3.1.0;
MACOSX_DEPLOYMENT_TARGET = 10.15;
- MARKETING_VERSION = 3.0.4.dev1;
+ MARKETING_VERSION = 3.1.0;
};
name = Release;
};
diff --git a/src/colorize.sh b/src/colorize.sh
index b08564e..f4a0b57 100755
--- a/src/colorize.sh
+++ b/src/colorize.sh
@@ -67,6 +67,10 @@ case ${target} in
*.rdf | *.xul | *.ecore )
lang=xml
;;
+ *.pyc )
+ lang=python
+ reader=(/usr/local/bin/uncompyle6 ${target})
+ ;;
*.ascr | *.scpt )
lang=applescript
reader=(/usr/bin/osadecompile ${target})
@@ -99,7 +103,7 @@ case ${target} in
lang=py
plugin=(--plug-in python_ref_python_org)
;;
- *.sh | *.zsh | *.bash | *.csh | *.fish | *.bashrc | *.zshrc )
+ *.sh | *.zsh | *.bash | *.csh | *.bashrc | *.zshrc | *.xsh )
lang=sh
plugin=(--plug-in bash_functions)
;;