From 9af99618db84297dfa440b28631686a19e8daad6 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Thu, 29 Dec 2022 10:08:26 -0500 Subject: [PATCH] Set the post editor font in the updateUIView method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit f9f94b48d3465f9bcfc47ea5e478cc1d66da9a4d Author: Angelo Stavrow Date: Thu Dec 29 10:05:03 2022 -0500 Fix missed changes in change log commit 593cc8f1fa83feec923905a5004b885fa68e3003 Author: Angelo Stavrow Date: Thu Dec 29 09:46:36 2022 -0500 Bump patch version and build number commit e0f752e6a4828c3d09649da8f9fe5a1902a2f137 Author: Angelo Stavrow Date: Mon Dec 12 07:47:37 2022 -0500 Bump build number and update change log commit 2f7163dff4ca9d3279c553190b78d2d47277a03e Author: Angelo Stavrow Date: Thu Dec 29 09:43:00 2022 -0500 Update change log commit e42436676d2ce2e70e96a18364cb8127a5921cb5 Author: Angelo Stavrow Date: Thu Dec 29 09:40:27 2022 -0500 Squashed commit of the following: commit 804255b1da2820d9c5a8850d31ae80e556afccd5 Merge: a799fd6 d46eb63 Author: Angelo Stavrow Date: Sun Dec 18 15:28:10 2022 -0500 Merge branch 'main' into fix-crash-on-launch-tmp-no-nav commit a799fd62102f327d928b138c90a6fd5b7862d5b6 Author: Angelo Stavrow Date: Sun Dec 18 08:16:34 2022 -0500 Bump build number and update change log commit b81276d6293560f7a6d02e5f80197c04949106df Author: Angelo Stavrow Date: Sun Dec 18 08:16:16 2022 -0500 Only navigate to new/last draft on launch on macOS This is causing the app to crash on launch when there are no existing posts, so we’re going to remove it for now while we investigate. commit d7c03b9d2d1165a9b34d96a4e5350214211c1643 Author: Angelo Stavrow Date: Thu Dec 29 09:26:18 2022 -0500 Revert "Set the post editor font in the updateUIView method (#237)" (#240) This reverts commit d46eb639addb4aa9fb4bcbe267a633ef988d2862. commit 43b53c6e456d7b59e7363d1591363c58a246b4be Author: Angelo Stavrow Date: Thu Dec 29 09:25:36 2022 -0500 Revert "Don't navigate to new/last draft on launch (#238)" (#239) This reverts commit f4ba5f9a901e37b7f47d620f88fc43ca49a90abe. commit 34546f994efaa77d21ff51aad84201f2dbbffd3e Author: Angelo Stavrow Date: Thu Dec 29 09:06:31 2022 -0500 Don't navigate to new/last draft on launch (#238) * Only navigate to new/last draft on launch on macOS This is causing the app to crash on launch when there are no existing posts, so we’re going to remove it for now while we investigate. * Bump build number and update change log commit bc3bc23308ec3deeb78530715e2b6ef745ec93f2 Author: Angelo Stavrow Date: Mon Dec 12 07:47:37 2022 -0500 Bump build number and update change log commit 7703e925b77bd8eac38d1bdcbe45ff6f1a5e0f23 Author: Angelo Stavrow Date: Mon Dec 12 07:40:41 2022 -0500 Set the font in the updateUIView method commit 6e60e0ded5d9f1ffe48a3dd0201f41371ddff5ff Author: Angelo Stavrow Date: Mon Dec 12 07:40:11 2022 -0500 Wrap becomeFirstResponder in async dispatch This fixes issues when we’re updating the responder chain every time SwiftUI refreshes the view, which can have unpredictable side effects. --- CHANGELOG.md | 15 +++++++++++---- .../project.pbxproj | 16 ++++++++-------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3296104..ef145d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,9 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [Mac] Holding the Shift key when launching clears the app's "last draft" state and instead loads a new blank draft. - [Mac] Added a menu item for toggling the toolbar. - [Mac] In a post with unpublished changes (i.e., with "local" or "edited" status), the post is autosaved after a one-second pause in typing. -- [iOS/Mac] Added a context-menu item to delete local posts from the post list. -- [iOS/Mac] Added methods to fetch device logs. -- [iOS] Added a settings option to generate a log file as a new local draft (iOS 15+). +- [Mac] Added a context-menu item to delete local posts from the post list. +- [Mac] Added methods to fetch device logs. ### Changed @@ -46,6 +45,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [Mac] Fixed a bug where alerts weren't presented for login errors. - [Mac] Fixed some build warnings in the project. - [Mac] Bumped WriteFreely package to v0.3.6 to handle decoding of fractional seconds in dates. +- [iOS] Fixed a bug where posts were always shown in serif, even if the post was published with another font. + +## [1.0.14-ios] - 2022-12-18 + +- [iOS] Temporarily removed the new-draft-on-launch feature while investigating a crashing bug. +- [iOS] Added methods to fetch device logs. +- [iOS] Added a settings option to generate a log file as a new local draft (iOS 15+). ## [1.0.14-ios] - 2022-12-18 @@ -54,7 +60,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.0.13-ios] - 2022-11-13 - [iOS] Fixed an issue that made it tricky to scroll in the post editor. -- [iOS] Fixed a bug that didn't navigate to the post editor after tapping the new-post button. +- [iOS] Fixed a bug that didn't navigate to the post editor after tapping the new-post button. +- [iOS] Added a context-menu item to delete local posts from the post list. ## [1.0.12-ios] - 2022-10-06 diff --git a/WriteFreely-MultiPlatform.xcodeproj/project.pbxproj b/WriteFreely-MultiPlatform.xcodeproj/project.pbxproj index 3057927..37b3129 100644 --- a/WriteFreely-MultiPlatform.xcodeproj/project.pbxproj +++ b/WriteFreely-MultiPlatform.xcodeproj/project.pbxproj @@ -1050,7 +1050,7 @@ CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; CODE_SIGN_ENTITLEMENTS = "ActionExtension-iOS/ActionExtension-iOS.entitlements"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 694; + CURRENT_PROJECT_VERSION = 695; DEVELOPMENT_TEAM = TPPAB4YBA6; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = "ActionExtension-iOS/Info.plist"; @@ -1062,7 +1062,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 1.0.14; + MARKETING_VERSION = 1.0.15; PRODUCT_BUNDLE_IDENTIFIER = "com.abunchtell.WriteFreely-MultiPlatform.ActionExtension-iOS"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -1081,7 +1081,7 @@ CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; CODE_SIGN_ENTITLEMENTS = "ActionExtension-iOS/ActionExtension-iOS.entitlements"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 694; + CURRENT_PROJECT_VERSION = 695; DEVELOPMENT_TEAM = TPPAB4YBA6; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = "ActionExtension-iOS/Info.plist"; @@ -1093,7 +1093,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 1.0.14; + MARKETING_VERSION = 1.0.15; PRODUCT_BUNDLE_IDENTIFIER = "com.abunchtell.WriteFreely-MultiPlatform.ActionExtension-iOS"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -1224,7 +1224,7 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = "WriteFreely-MultiPlatform (iOS).entitlements"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 694; + CURRENT_PROJECT_VERSION = 695; DEVELOPMENT_TEAM = TPPAB4YBA6; ENABLE_PREVIEWS = YES; INFOPLIST_FILE = iOS/Info.plist; @@ -1233,7 +1233,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.14; + MARKETING_VERSION = 1.0.15; PRODUCT_BUNDLE_IDENTIFIER = "com.abunchtell.WriteFreely-MultiPlatform"; PRODUCT_NAME = "WriteFreely-MultiPlatform"; SDKROOT = iphoneos; @@ -1250,7 +1250,7 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = "WriteFreely-MultiPlatform (iOS).entitlements"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 694; + CURRENT_PROJECT_VERSION = 695; DEVELOPMENT_TEAM = TPPAB4YBA6; ENABLE_PREVIEWS = YES; INFOPLIST_FILE = iOS/Info.plist; @@ -1259,7 +1259,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.14; + MARKETING_VERSION = 1.0.15; PRODUCT_BUNDLE_IDENTIFIER = "com.abunchtell.WriteFreely-MultiPlatform"; PRODUCT_NAME = "WriteFreely-MultiPlatform"; SDKROOT = iphoneos;