Skip to content

Commit 59406b3

Browse files
committed
Release 2.1.26
1 parent a4b38ee commit 59406b3

31 files changed

+1054
-311
lines changed

Application/Info.plist

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,24 @@
278278
</array>
279279
</dict>
280280
</dict>
281+
<dict>
282+
<key>UTTypeDescription</key>
283+
<string>Visual Studio C# Project</string>
284+
<key>UTTypeConformsTo</key>
285+
<array>
286+
<string>dyn.ah62d4rv4ge80g65usm10y</string>
287+
<string>public.xml</string>
288+
</array>
289+
<key>UTTypeIdentifier</key>
290+
<string>com.microsoft.csproj</string>
291+
<key>UTTypeTagSpecification</key>
292+
<dict>
293+
<key>public.filename-extension</key>
294+
<array>
295+
<string>csproj</string>
296+
</array>
297+
</dict>
298+
</dict>
281299
<dict>
282300
<key>UTTypeConformsTo</key>
283301
<array>
@@ -541,6 +559,24 @@
541559
</array>
542560
</dict>
543561
</dict>
562+
<dict>
563+
<key>UTTypeDescription</key>
564+
<string>Unity document</string>
565+
<key>UTTypeConformsTo</key>
566+
<array>
567+
<string>public.plain-text</string>
568+
<string>dyn.ah62d4rv4ge81n5xmsv6u</string>
569+
</array>
570+
<key>UTTypeIdentifier</key>
571+
<string>com.unity.document</string>
572+
<key>UTTypeTagSpecification</key>
573+
<dict>
574+
<key>public.filename-extension</key>
575+
<array>
576+
<string>unity</string>
577+
</array>
578+
</dict>
579+
</dict>
544580
<dict>
545581
<key>UTTypeDescription</key>
546582
<string>Astro source files</string>
@@ -996,6 +1032,24 @@
9961032
</array>
9971033
</dict>
9981034
</dict>
1035+
<dict>
1036+
<key>UTTypeDescription</key>
1037+
<string>XML Font Tool file</string>
1038+
<key>UTTypeConformsTo</key>
1039+
<array>
1040+
<string>dyn.ah62d4rv4ge81k7d2</string>
1041+
<string>public.xml</string>
1042+
</array>
1043+
<key>UTTypeIdentifier</key>
1044+
<string>org.fonttools.ttx</string>
1045+
<key>UTTypeTagSpecification</key>
1046+
<dict>
1047+
<key>public.filename-extension</key>
1048+
<array>
1049+
<string>ttx</string>
1050+
</array>
1051+
</dict>
1052+
</dict>
9991053
<dict>
10001054
<key>UTTypeConformsTo</key>
10011055
<array>

Application/SettingsView.xib

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

Application/Storyboard.storyboard

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="23504" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="jPU-kU-bHn">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="23727" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="jPU-kU-bHn">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="23504"/>
6-
<plugIn identifier="com.apple.WebKit2IBPlugin" version="23504"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="23727"/>
6+
<plugIn identifier="com.apple.WebKit2IBPlugin" version="23727"/>
77
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
88
</dependencies>
99
<scenes>
@@ -322,7 +322,7 @@
322322
</textFieldCell>
323323
</textField>
324324
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8ow-kY-H9M">
325-
<rect key="frame" x="524" y="13" width="66" height="32"/>
325+
<rect key="frame" x="526" y="13" width="66" height="32"/>
326326
<buttonCell key="cell" type="push" title="Done" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="bpx-kH-9ug">
327327
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
328328
<font key="font" metaFont="system"/>
@@ -343,13 +343,13 @@ DQ
343343
</textFieldCell>
344344
</textField>
345345
<scrollView horizontalHuggingPriority="249" horizontalCompressionResistancePriority="749" borderType="line" autohidesScrollers="YES" horizontalLineScroll="48" horizontalPageScroll="10" verticalLineScroll="48" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bkq-EH-gTv">
346-
<rect key="frame" x="143" y="60" width="440" height="145"/>
346+
<rect key="frame" x="143" y="60" width="442" height="145"/>
347347
<clipView key="contentView" id="DPE-5h-nkk">
348-
<rect key="frame" x="1" y="1" width="438" height="143"/>
348+
<rect key="frame" x="1" y="1" width="440" height="143"/>
349349
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
350350
<subviews>
351351
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnResizing="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="48" viewBased="YES" id="dCJ-eK-5XO">
352-
<rect key="frame" x="0.0" y="0.0" width="438" height="143"/>
352+
<rect key="frame" x="0.0" y="0.0" width="440" height="143"/>
353353
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
354354
<size key="intercellSpacing" width="17" height="0.0"/>
355355
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -432,7 +432,7 @@ DQ
432432
</tableCellView>
433433
</prototypeCellViews>
434434
</tableColumn>
435-
<tableColumn identifier="FormatColumn" width="341" minWidth="40" maxWidth="1000" id="LfT-ex-fcw">
435+
<tableColumn identifier="FormatColumn" width="343" minWidth="40" maxWidth="1000" id="LfT-ex-fcw">
436436
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border">
437437
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
438438
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
@@ -445,11 +445,11 @@ DQ
445445
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
446446
<prototypeCellViews>
447447
<tableCellView identifier="UTICell" id="H3j-oV-Xju" customClass="UTICellView" customModule="Syntax_Highlight" customModuleProvider="target">
448-
<rect key="frame" x="91" y="0.0" width="338" height="48"/>
448+
<rect key="frame" x="91" y="0.0" width="340" height="48"/>
449449
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
450450
<subviews>
451451
<stackView distribution="fill" orientation="vertical" alignment="leading" spacing="4" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Cof-Gl-tC7">
452-
<rect key="frame" x="2" y="7" width="334" height="34"/>
452+
<rect key="frame" x="2" y="7" width="336" height="34"/>
453453
<subviews>
454454
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="9DK-8e-CNa">
455455
<rect key="frame" x="-2" y="18" width="96" height="16"/>
@@ -503,7 +503,7 @@ DQ
503503
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="240" id="ufo-UT-LHS"/>
504504
</constraints>
505505
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="KtA-nA-DN4">
506-
<rect key="frame" x="1" y="128" width="436" height="16"/>
506+
<rect key="frame" x="1" y="128" width="438" height="16"/>
507507
<autoresizingMask key="autoresizingMask"/>
508508
</scroller>
509509
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="j0k-XT-dSG">
@@ -512,7 +512,7 @@ DQ
512512
</scroller>
513513
</scrollView>
514514
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tKa-D3-pz1">
515-
<rect key="frame" x="140" y="209" width="447" height="25"/>
515+
<rect key="frame" x="140" y="209" width="449" height="25"/>
516516
<popUpButtonCell key="cell" type="push" title="Item 1" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="ahy-WG-Z72" id="2PV-4O-PBy">
517517
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
518518
<font key="font" metaFont="message"/>
@@ -526,7 +526,7 @@ DQ
526526
</popUpButtonCell>
527527
</popUpButton>
528528
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="uzl-Mj-Zf8">
529-
<rect key="frame" x="450" y="13" width="76" height="32"/>
529+
<rect key="frame" x="452" y="13" width="76" height="32"/>
530530
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="jp0-di-SgA">
531531
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
532532
<font key="font" metaFont="system"/>
@@ -547,7 +547,7 @@ Gw
547547
</textFieldCell>
548548
</textField>
549549
<textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="0vo-Zm-9B6">
550-
<rect key="frame" x="143" y="318" width="440" height="21"/>
550+
<rect key="frame" x="143" y="318" width="442" height="21"/>
551551
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" id="6gS-Cf-XfH">
552552
<font key="font" metaFont="system"/>
553553
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -572,7 +572,7 @@ Gw
572572
</buttonCell>
573573
</button>
574574
<textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="wR7-p4-0hc">
575-
<rect key="frame" x="143" y="287" width="440" height="21"/>
575+
<rect key="frame" x="143" y="287" width="442" height="21"/>
576576
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" id="4QP-h7-tMR">
577577
<font key="font" metaFont="system"/>
578578
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>

Application/UTI.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ class UTI: Equatable {
3636
let type = self.UTI as CFString
3737

3838
if #available(macOS 11.0, *) {
39-
if let desc = UTType(self.UTI)?.description, !desc.isEmpty {
39+
if let desc = UTType(self.UTI)?.localizedDescription, !desc.isEmpty {
4040
return desc.prefix(1).uppercased() + desc.dropFirst()
41+
} else if let desc = UTType(self.UTI)?.description, !desc.isEmpty {
42+
return desc
4143
} else {
4244
return self.UTI
4345
}

0 commit comments

Comments
 (0)