mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix a critical bug on CotEditor 3.1.0 + macOS 10.12.1 (#640)
This commit is contained in:
parent
8d11ee169b
commit
df5465fca1
@ -2,6 +2,15 @@
|
||||
Change Log
|
||||
==========================
|
||||
|
||||
develop
|
||||
--------------------------
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix a critical issue on CotEditor 3.1.0 where documents can't be opened under some specific environments.
|
||||
|
||||
|
||||
|
||||
3.1.0 (172)
|
||||
--------------------------
|
||||
|
||||
|
@ -945,11 +945,11 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>3.1.0</string>
|
||||
<string>3.1.1-alpha</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>cEd1</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>172</string>
|
||||
<string>173</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.productivity</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
|
@ -945,11 +945,11 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>3.1.0</string>
|
||||
<string>3.1.1-alpha</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>cEd1</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>172</string>
|
||||
<string>173</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.productivity</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
|
Binary file not shown.
@ -24,11 +24,28 @@
|
||||
|
||||
<article>
|
||||
<header>
|
||||
<h1>CotEditor 3.1.0</h1>
|
||||
<h1>CotEditor 3.1.1</h1>
|
||||
<p>release: <time>2016-11</time></p>
|
||||
</header>
|
||||
|
||||
|
||||
<section>
|
||||
<h3>Fixes</h3>
|
||||
|
||||
<ul>
|
||||
<li>Fix a critical issue on CotEditor 3.1.0 where documents can't be opened under some specific environments.</li>
|
||||
</ul>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
|
||||
<article>
|
||||
<header>
|
||||
<h1>CotEditor 3.1.0</h1>
|
||||
<p>release: <time>2016-11-17</time></p>
|
||||
</header>
|
||||
|
||||
|
||||
<section>
|
||||
<h3>New Features</h3>
|
||||
|
||||
|
Binary file not shown.
@ -24,11 +24,28 @@
|
||||
|
||||
<article>
|
||||
<header>
|
||||
<h1>CotEditor 3.1.0</h1>
|
||||
<h1>CotEditor 3.1.1</h1>
|
||||
<p>リリース: <time>2016-11</time></p>
|
||||
</header>
|
||||
|
||||
|
||||
<section>
|
||||
<h2>修正</h2>
|
||||
|
||||
<ul>
|
||||
<li>特定の環境下で、CotEditor 3.1.0 で書類が開けないクリティカルな不具合を修正</li>
|
||||
</ul>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
|
||||
<article>
|
||||
<header>
|
||||
<h1>CotEditor 3.1.0</h1>
|
||||
<p>リリース: <time>2016-11-17</time></p>
|
||||
</header>
|
||||
|
||||
|
||||
<section>
|
||||
<h2>新機能</h2>
|
||||
|
||||
|
@ -145,7 +145,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
NSApp.servicesProvider = ServicesProvider()
|
||||
|
||||
// setup touchbar
|
||||
if #available(macOS 10.12.1, *) {
|
||||
if #available(macOS 10.12.1, *), NSClassFromString("NSTouchBar") != nil {
|
||||
NSApp.isAutomaticCustomizeTouchBarMenuItemEnabled = true
|
||||
}
|
||||
|
||||
|
@ -438,7 +438,7 @@ final class DocumentViewController: NSSplitViewController, SyntaxStyleDelegate,
|
||||
viewController.textView?.wrapsLines = wrapsLines
|
||||
}
|
||||
|
||||
if #available(OSX 10.12.1, *) {
|
||||
if #available(macOS 10.12.1, *), NSClassFromString("NSTouchBar") != nil {
|
||||
self.validateTouchBarItem(identifier: .wrapLines)
|
||||
}
|
||||
}
|
||||
@ -464,7 +464,7 @@ final class DocumentViewController: NSSplitViewController, SyntaxStyleDelegate,
|
||||
viewController.textView?.showsInvisibles = showsInvisibles
|
||||
}
|
||||
|
||||
if #available(OSX 10.12.1, *) {
|
||||
if #available(macOS 10.12.1, *), NSClassFromString("NSTouchBar") != nil {
|
||||
self.validateTouchBarItem(identifier: .invisibles)
|
||||
}
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ final class EditorTextViewController: NSViewController, NSTextViewDelegate {
|
||||
textView.blockCommentDelimiters = syntaxStyle?.blockCommentDelimiters
|
||||
textView.firstSyntaxCompletionCharacterSet = syntaxStyle?.firstCompletionCharacterSet
|
||||
|
||||
if #available(OSX 10.12.1, *) {
|
||||
if #available(macOS 10.12.1, *), NSClassFromString("NSTouchBar") != nil {
|
||||
textView.validateTouchBarItem(identifier: .comment)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user