Skip to content

Commit

Permalink
Experimental support for Racket files (.rkt) rendered as _Lisp_.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbarex committed Jun 6, 2021
1 parent 9d6ff34 commit 68c9425
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 16 deletions.
21 changes: 21 additions & 0 deletions Application/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,27 @@
</array>
</dict>
</dict>
<dict>
<key>UTTypeDescription</key>
<string>Racket source file</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.text</string>
<string>public.data</string>
<string>public.item</string>
<string>public.content</string>
<string>public.plain-text</string>
</array>
<key>UTTypeIdentifier</key>
<string>org.racket-lang.source</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>rkt</string>
</array>
</dict>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
Expand Down
8 changes: 8 additions & 0 deletions Application/resources/defaults/org.racket-lang.source.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>syntax</key>
<string>lisp</string>
</dict>
</plist>
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=======

### 2.0.8
New features:
- Experimental support for Racket files (`.rkt`) rendered as _`Lisp`_.

### 2.0.7
Bugfix:
- Fixed `.iml` not rendered as `XML`.
Expand Down
1 change: 1 addition & 0 deletions QLExtension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
<string>org.ocaml.ocaml-source</string>
<string>org.omg.ecore</string>
<string>org.python.compiled-script</string>
<string>org.racket-lang.source</string>
<string>org.rdf.source</string>
<string>org.rust-lang.source</string>
<string>org.sbarex.conf</string>
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ On _**MacOS 11 Big Sur**, the system allows you to manage these previously unaut
- Properties files (`.properties`) _as `INI`_
- Property List files (`.plist`) _dinamically decompiled with `plutil`_ **On Catalina `.plist` is reserved by the System and cannot be handled.**
- Python source files (`.py`)
- Racket (`.rkt`) _as `Lisp`_
- RDF files (`.rdf`)
- Rez files (`.r`)
- Ruby on Rails files (`.rhtml`, `.erb`, `.rjs`)
Expand Down
32 changes: 16 additions & 16 deletions SourceCodeSyntaxHighlight.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 39;
CURRENT_PROJECT_VERSION = 40;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -1711,7 +1711,7 @@
"$(inherited)",
"\"$(BUILT_PRODUCTS_DIR)/highlight\"",
);
MARKETING_VERSION = 2.0.7;
MARKETING_VERSION = 2.0.8;
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1729,7 +1729,7 @@
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 39;
CURRENT_PROJECT_VERSION = 40;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -1747,7 +1747,7 @@
"$(inherited)",
"\"$(BUILT_PRODUCTS_DIR)/highlight\"",
);
MARKETING_VERSION = 2.0.7;
MARKETING_VERSION = 2.0.8;
OTHER_CODE_SIGN_FLAGS = "--timestamp";
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -1763,7 +1763,7 @@
CODE_SIGN_ENTITLEMENTS = QLExtension/QLExtension.entitlements;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 39;
CURRENT_PROJECT_VERSION = 40;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -1776,7 +1776,7 @@
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
MARKETING_VERSION = 2.0.7;
MARKETING_VERSION = 2.0.8;
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight.QuicklookExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1792,7 +1792,7 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 39;
CURRENT_PROJECT_VERSION = 40;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -1805,7 +1805,7 @@
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
MARKETING_VERSION = 2.0.7;
MARKETING_VERSION = 2.0.8;
OTHER_CODE_SIGN_FLAGS = "--timestamp";
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight.QuicklookExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -1822,12 +1822,12 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 39;
CURRENT_PROJECT_VERSION = 40;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = XPCService/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../../../../Frameworks";
MARKETING_VERSION = 2.0.7;
MARKETING_VERSION = 2.0.8;
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight.XPCService;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1846,12 +1846,12 @@
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 39;
CURRENT_PROJECT_VERSION = 40;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = XPCService/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../../../../Frameworks";
MARKETING_VERSION = 2.0.7;
MARKETING_VERSION = 2.0.8;
OTHER_CODE_SIGN_FLAGS = "--timestamp";
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight.XPCService;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -1870,15 +1870,15 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 39;
CURRENT_PROJECT_VERSION = 40;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = SyntaxHighlightRenderXPC/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"@loader_path/../../../../Frameworks",
"$(LD_RUNPATH_SEARCH_PATHS_$(IS_MACCATALYST)_$(_BOOL_$(SKIP_INSTALL)))",
);
MARKETING_VERSION = 2.0.7;
MARKETING_VERSION = 2.0.8;
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight.XPCRender;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1894,15 +1894,15 @@
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 39;
CURRENT_PROJECT_VERSION = 40;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = SyntaxHighlightRenderXPC/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"@loader_path/../../../../Frameworks",
"$(LD_RUNPATH_SEARCH_PATHS_$(IS_MACCATALYST)_$(_BOOL_$(SKIP_INSTALL)))",
);
MARKETING_VERSION = 2.0.7;
MARKETING_VERSION = 2.0.8;
OTHER_CODE_SIGN_FLAGS = "--timestamp";
PRODUCT_BUNDLE_IDENTIFIER = org.sbarex.SourceCodeSyntaxHighlight.XPCRender;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down

0 comments on commit 68c9425

Please sign in to comment.