Skip to content

Commit ca2dcfe

Browse files
committed
Release 2.1.20 (69).
1 parent 67322f1 commit ca2dcfe

24 files changed

+346
-146
lines changed

Application/AppDelegate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuItemValidation {
117117
return true
118118
}
119119

120-
/// Get the url of the quicklook extension.
120+
/// Get the url of the Quick Look extension.
121121
func getQLAppexUrl() -> URL? {
122122
guard let base_url = Bundle.main.builtInPlugInsURL else {
123123
return nil
@@ -136,7 +136,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuItemValidation {
136136
}
137137

138138
lazy var handledUTIs: [UTI] = {
139-
// Get the list of all uti supported by the quicklook extension.
139+
// Get the list of all uti supported by the Quick Look extension.
140140
guard let url = getQLAppexUrl(), let bundle = Bundle(url: url), let extensionInfo = bundle.object(forInfoDictionaryKey: "NSExtension") as? [String: Any], let attributes = extensionInfo["NSExtensionAttributes"] as? [String: Any], let supportedTypes = attributes["QLSupportedContentTypes"] as? [String] else {
141141
return []
142142
}

Application/Info.plist

Lines changed: 61 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,22 @@
210210
</array>
211211
</dict>
212212
</dict>
213+
<dict>
214+
<key>UTTypeConformsTo</key>
215+
<array>
216+
<string>public.json</string>
217+
<string>dyn.ah62d4rv4ge80g55eqy01s55wrr31a2pdqy</string>
218+
</array>
219+
<key>UTTypeIdentifier</key>
220+
<string>com.microsoft.code-workspace</string>
221+
<key>UTTypeTagSpecification</key>
222+
<dict>
223+
<key>public.filename-extension</key>
224+
<array>
225+
<string>code-workspace</string>
226+
</array>
227+
</dict>
228+
</dict>
213229
<dict>
214230
<key>UTTypeConformsTo</key>
215231
<array>
@@ -684,6 +700,17 @@
684700
</array>
685701
</dict>
686702
</dict>
703+
<dict>
704+
<key>UTTypeConformsTo</key>
705+
<array>
706+
<string>public.item</string>
707+
<string>dyn.ah62d4rv4ge80e2p4qz0a</string>
708+
</array>
709+
<key>UTTypeIdentifier</key>
710+
<string>org.bazel.source</string>
711+
<key>UTTypeTagSpecification</key>
712+
<dict/>
713+
</dict>
687714
<dict>
688715
<key>UTTypeConformsTo</key>
689716
<array>
@@ -960,19 +987,6 @@
960987
</array>
961988
</dict>
962989
</dict>
963-
<dict>
964-
<key>UTTypeDescription</key>
965-
<string>Haml document</string>
966-
<key>UTTypeIdentifier</key>
967-
<string>info.haml.haml</string>
968-
<key>UTTypeTagSpecification</key>
969-
<dict>
970-
<key>public.filename-extension</key>
971-
<array>
972-
<string>haml</string>
973-
</array>
974-
</dict>
975-
</dict>
976990
<dict>
977991
<key>UTTypeConformsTo</key>
978992
<array>
@@ -1149,6 +1163,24 @@
11491163
</array>
11501164
</dict>
11511165
</dict>
1166+
<dict>
1167+
<key>UTTypeConformsTo</key>
1168+
<array>
1169+
<string>public.xml</string>
1170+
<string>dyn.ah62d4rv4ge8046de</string>
1171+
</array>
1172+
<key>UTTypeIdentifier</key>
1173+
<string>org.mpeg.mpd</string>
1174+
<key>UTTypeDescription</key>
1175+
<string>MPEG Media Presentation Description</string>
1176+
<key>UTTypeTagSpecification</key>
1177+
<dict>
1178+
<key>public.filename-extension</key>
1179+
<array>
1180+
<string>mpd</string>
1181+
</array>
1182+
</dict>
1183+
</dict>
11521184
<dict>
11531185
<key>UTTypeConformsTo</key>
11541186
<array>
@@ -1842,6 +1874,22 @@
18421874
</array>
18431875
</dict>
18441876
</dict>
1877+
<dict>
1878+
<key>UTTypeConformsTo</key>
1879+
<array>
1880+
<string>public.item</string>
1881+
<string>dyn.ah62d4rv4ge81g5pbrvyu</string>
1882+
</array>
1883+
<key>UTTypeIdentifier</key>
1884+
<string>org.smali.source</string>
1885+
<key>UTTypeTagSpecification</key>
1886+
<dict>
1887+
<key>public.filename-extension</key>
1888+
<array>
1889+
<string>smali</string>
1890+
</array>
1891+
</dict>
1892+
</dict>
18451893
<dict>
18461894
<key>UTTypeConformsTo</key>
18471895
<array>

Application/Storyboard.storyboard

Lines changed: 39 additions & 39 deletions
Large diffs are not rendered by default.

Application/UTISummary.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// UTISummary.swift
33
// Syntax Highlight
44
//
5-
// Created by Simone Baldissini on 03/03/22.
5+
// Created by Sbarex on 03/03/22.
66
// Copyright © 2022 sbarex. All rights reserved.
77
//
88

Application/resources/settings.yaml

Lines changed: 50 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ UTIs:
159159
syntax: rust
160160

161161
org.xml-tools.source: *xml
162-
dyn.ah62d4rv4ge81u6pzqz3hw: *xml
163162
dyn.ah62d4rv4ge81u6k: *xml
164163
dyn.ah62d4rv4ge81u7k: *xml
165164

@@ -244,25 +243,15 @@ UTIs:
244243
syntax: sql
245244
dyn.ah62d4rv4ge81g6pq:
246245
syntax: sql
247-
248-
dyn.ah62d4rv4ge81g22:
249-
syntax: scala
250-
dyn.ah62d4rv4ge81g25brvuu:
251-
syntax: scala
252246

253247
dyn.ah62d4rv4ge81u6pzqz3hw: *xml
254-
dyn.ah62d4rv4ge81u6k: *xml
255-
dyn.ah62d4rv4ge81u7k: *xml
256248

257249
dyn.ah62d4rv4ge81g25xsq:
258250
syntax: scss
259251

260252
dyn.ah62d4rv4ge80s3a:
261253
syntax: gd
262254

263-
dyn.ah62d4rv4ge81u6pzqz3hw:
264-
syntax: ocaml
265-
266255
dyn.ah62d4rv4ge80k55drrw1e3xmrvwu:
267256
syntax: dockerfile
268257

@@ -290,11 +279,31 @@ UTIs:
290279
dyn.ah62d4rv4ge81a8p:
291280
syntax: py
292281
preprocessor: uncompyle6 $targetHL
293-
282+
283+
# .bazel
284+
dyn.ah62d4rv4ge80e2p4qz0a:
285+
syntax: txt
286+
287+
# .code-workspace
288+
dyn.ah62d4rv4ge80g55eqy01s55wrr31a2pdqy:
289+
syntax: json
290+
294291
# .cr
295292
dyn.ah62d4rv4ge80g6u:
296293
syntax: crystal
297294

295+
#.jsm
296+
dyn.ah62d4rv4ge80y65r:
297+
syntax: javascript
298+
299+
# .makefile
300+
dyn.ah62d4rv4ge8042ppqzxgw5df:
301+
syntax: makefile
302+
303+
# .mpd
304+
dyn.ah62d4rv4ge8046de:
305+
syntax: xml
306+
298307
# .nf
299308
dyn.ah62d4rv4ge8063u:
300309
syntax: groovy
@@ -306,6 +315,10 @@ UTIs:
306315
# .sas
307316
dyn.ah62d4rv4ge81g2px:
308317
syntax: sas
318+
319+
# smali
320+
dyn.ah62d4rv4ge81g5pbrvyu:
321+
syntax: txt
309322

310323
# .t
311324
dyn.ah62d4rv4ge81k:
@@ -365,10 +378,13 @@ extensions:
365378
syntax: autoit
366379
a3x:
367380
syntax: autoit
368-
369-
do:
381+
382+
bazel:
370383
syntax: txt
371384

385+
code-workspace:
386+
syntax: json
387+
372388
cls:
373389
syntax: latex
374390

@@ -379,11 +395,19 @@ extensions:
379395
cr:
380396
syntax: crystal
381397

398+
do:
399+
syntax: txt
400+
382401
f95:
383402
syntax: fortran90
384403

385404
fnc:
386405
syntax: sql
406+
407+
#dyn.ah62d4rv4ge80y65r
408+
jsm:
409+
syntax: javascript
410+
387411
prc:
388412
syntax: sql
389413
trg:
@@ -412,8 +436,6 @@ extensions:
412436
syntax: sql
413437
mvw:
414438
syntax: sql
415-
trg:
416-
syntax: sql
417439

418440
# org.sbarex.compiled-python-script
419441
pyc:
@@ -440,10 +462,16 @@ extensions:
440462
# dyn.ah62d4rv4ge81g22
441463
sc:
442464
syntax: scala
465+
443466
# dyn.ah62d4rv4ge81g22
467+
# dyn.ah62d4rv4ge81g25brvuu
444468
sbt:
445469
syntax: scala
446-
470+
471+
# dyn.ah62d4rv4ge81g5pbrvyu
472+
smali:
473+
syntax: txt
474+
447475
# dyn.ah62d4rv4ge80w5pq
448476
iml: *xml
449477

@@ -470,26 +498,15 @@ extensions:
470498
kt:
471499
syntax: kotlin
472500

473-
474-
# dyn.ah62d4rv4ge81g22
475-
sc:
476-
syntax: scala
477-
# dyn.ah62d4rv4ge81g25brvuu
478-
sbt:
479-
syntax: scala
480-
481-
482501
# dyn.ah62d4rv4ge81u6pzqz3hw
483502
# dyn.ah62d4rv4ge81u6k
484503
# dyn.ah62d4rv4ge81u7k
504+
# dyn.ah62d4rv4ge81u65e
485505
xsd: *xml
486506
xquery: *xml
487507
xq: *xml
488508
xu: *xml
489509

490-
# dyn.ah62d4rv4ge81u65e
491-
xsd: *xml
492-
493510
# dyn.ah62d4rv4ge81g3pvsy
494511
sequ: *xml
495512

@@ -513,6 +530,10 @@ extensions:
513530
# dyn.ah62d4rv4ge80y65tr3vu
514531
jsonc:
515532
syntax: json
533+
534+
#dyn.ah62d4rv4ge8046de
535+
mpd:
536+
syntax: xml
516537

517538
# dyn.ah62d4rv4ge81a7pc
518539
pub:

CHANGELOG.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,22 @@ Changelog
22
=======
33

44

5+
### 2.1.20 (69)
6+
New features:
7+
- Update Highlight to release 4.8.
8+
- Update Lua to release 5.4.6.
9+
- Update Boost to release 1.8.3.
10+
- Update Dos2Unix to release 7.5.1.
11+
- Support for `.code-workspace` files _as JSON_.
12+
- Support for bazel (`.bazel`) and smali (`.smali`) files _as plain text_.
13+
- Support for Media Presentation Description (`.mpd`) _as XML_.
14+
15+
Bugfix:
16+
- Fixed unrecognized `.jsm` files.
17+
18+
519
### 2.1.19 (68)
20+
New features:
621
- Better support for Stata files (`.do`, `.ado`) _as plain text_.
722
- Better support for fortran (`.f95`) and LaTex (`.cls`) files.
823

@@ -312,7 +327,7 @@ Bugfix:
312327

313328
### 1.0.b30
314329
New features:
315-
- Auto update with Sparkle framework. Auto updated works only when run the main application and not from the quicklook extension. You must have launched the application at least twice for the update checks to begin, or you can use the appropriate item in the application menu.
330+
- Auto update with Sparkle framework. Auto updated works only when run the main application and not from the Quick Look extension. You must have launched the application at least twice for the update checks to begin, or you can use the appropriate item in the application menu.
316331
- In the Preferences window, new button to show UTI instead of the extensions.
317332

318333
Bugfix:
@@ -413,21 +428,21 @@ New features:
413428

414429
### 1.0.b16
415430
New features:
416-
- XPC service splitted into two services. One is used by the quicklook extension with only the code to read the current settings and format the preview. The second one has also the code to change the settings, inquiry the themes and all the requested features for the main application interface. I hope this change makes the quicklook extension more reactive and consume less resources.
431+
- XPC service splitted into two services. One is used by the Quick Look extension with only the code to read the current settings and format the preview. The second one has also the code to change the settings, inquiry the themes and all the requested features for the main application interface. I hope this change makes the Quick Look extension more reactive and consume less resources.
417432
- Rewrite the settings engine.
418433

419434

420435
### 1.0.b15
421436
New features:
422437
- Support for `.h` header files.
423438
- Target to 10.15 (now the standard swift library is not embedded).
424-
- New interactive preview setting to allow the execution of js code inside the quicklook preview.
439+
- New interactive preview setting to allow the execution of js code inside the Quick Look preview.
425440

426441
Bugfix:
427-
- Removed markdown support in the quicklook extension.
442+
- Removed markdown support in the Quick Look extension.
428443
- Fix little space for theme name on popover theme selector.
429444
- Images of help files have been compressed.
430-
- Added a margin around the preview on the quicklook window.
445+
- Added a margin around the preview on the Quick Look window.
431446
- Fast generation of theme icons.
432447

433448

@@ -450,6 +465,6 @@ New features:
450465
- Inside the application support folder are saved the custom css styles and customized themes.
451466

452467
Bugfix:
453-
- Now double click on the quicklook preview open the file.
468+
- Now double click on the Quick Look preview open the file.
454469
- Bugfix on font preferences.
455470
- System for purging and migrating old settings to new system.

0 commit comments

Comments
 (0)