فهرست منبع

prepare 1.34.10 (#1788)

* update changelog for 1.34.10

* add device message for 1.34.10

* bump version to 1.34.10
bjoern 2 سال پیش
والد
کامیت
7e004446ec
4فایلهای تغییر یافته به همراه40 افزوده شده و 8 حذف شده
  1. 20 0
      CHANGELOG.md
  2. 4 0
      DcCore/DcCore/DC/Wrapper.swift
  3. 8 8
      deltachat-ios.xcodeproj/project.pbxproj
  4. 8 0
      deltachat-ios/Controller/ChatListController.swift

+ 20 - 0
CHANGELOG.md

@@ -1,5 +1,25 @@
 # Delta Chat iOS Changelog
 # Delta Chat iOS Changelog
 
 
+## v1.34.10
+2023-01
+
+* fix: make archived chats visible that don't get unarchived automatically (muted chats):
+  add an unread counter and move the archive to the top
+* fix: send AVIF, HEIC, TXT, PPT, XLS, XML files as such
+* fix: trigger reconnection when failing to fetch existing messages
+* fix: do not retry fetching existing messages after failure, prevents infinite reconnection loop
+* fix: do not add an error if the message is encrypted but not signed
+* fix: do not strip leading spaces from message lines
+* fix corner cases on sending quoted texts
+* fix STARTTLS connection
+* fix: do not treat invalid email addresses as an exception
+* fix: flush relative database paths introduced in 1.34.8 in time
+* prefer document name over webxdc name for home screen icons
+* faster updates of chat lists and contact list
+* update translations
+* update to core106
+
+
 ## v1.34.8
 ## v1.34.8
 2022-12
 2022-12
 
 

+ 4 - 0
DcCore/DcCore/DC/Wrapper.swift

@@ -545,6 +545,10 @@ public class DcContext {
         dc_set_chat_profile_image(contextPointer, UInt32(chatId), path)
         dc_set_chat_profile_image(contextPointer, UInt32(chatId), path)
     }
     }
 
 
+    public func wasDeviceMsgEverAdded(label: String) -> Bool {
+        return dc_was_device_msg_ever_added(contextPointer, label) != 0
+    }
+
     @discardableResult
     @discardableResult
     public func addDeviceMessage(label: String?, msg: DcMsg) -> Int {
     public func addDeviceMessage(label: String?, msg: DcMsg) -> Int {
         return Int(dc_add_device_msg(contextPointer, label, msg.cptr))
         return Int(dc_add_device_msg(contextPointer, label, msg.cptr))

+ 8 - 8
deltachat-ios.xcodeproj/project.pbxproj

@@ -1789,13 +1789,13 @@
 				CODE_SIGN_ENTITLEMENTS = DcShare/DcShare.entitlements;
 				CODE_SIGN_ENTITLEMENTS = DcShare/DcShare.entitlements;
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				CODE_SIGN_STYLE = Automatic;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 81;
+				CURRENT_PROJECT_VERSION = 82;
 				DEVELOPMENT_TEAM = 8Y86453UA8;
 				DEVELOPMENT_TEAM = 8Y86453UA8;
 				ENABLE_BITCODE = NO;
 				ENABLE_BITCODE = NO;
 				INFOPLIST_FILE = DcShare/Info.plist;
 				INFOPLIST_FILE = DcShare/Info.plist;
 				IPHONEOS_DEPLOYMENT_TARGET = 11.0;
 				IPHONEOS_DEPLOYMENT_TARGET = 11.0;
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
-				MARKETING_VERSION = 1.34.8;
+				MARKETING_VERSION = 1.34.10;
 				MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
 				MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
 				MTL_FAST_MATH = YES;
 				MTL_FAST_MATH = YES;
 				PRODUCT_BUNDLE_IDENTIFIER = chat.delta.DcShare;
 				PRODUCT_BUNDLE_IDENTIFIER = chat.delta.DcShare;
@@ -1814,13 +1814,13 @@
 				CODE_SIGN_ENTITLEMENTS = DcShare/DcShare.entitlements;
 				CODE_SIGN_ENTITLEMENTS = DcShare/DcShare.entitlements;
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				CODE_SIGN_STYLE = Automatic;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 81;
+				CURRENT_PROJECT_VERSION = 82;
 				DEVELOPMENT_TEAM = 8Y86453UA8;
 				DEVELOPMENT_TEAM = 8Y86453UA8;
 				ENABLE_BITCODE = NO;
 				ENABLE_BITCODE = NO;
 				INFOPLIST_FILE = DcShare/Info.plist;
 				INFOPLIST_FILE = DcShare/Info.plist;
 				IPHONEOS_DEPLOYMENT_TARGET = 11.0;
 				IPHONEOS_DEPLOYMENT_TARGET = 11.0;
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
-				MARKETING_VERSION = 1.34.8;
+				MARKETING_VERSION = 1.34.10;
 				MTL_FAST_MATH = YES;
 				MTL_FAST_MATH = YES;
 				PRODUCT_BUNDLE_IDENTIFIER = chat.delta.DcShare;
 				PRODUCT_BUNDLE_IDENTIFIER = chat.delta.DcShare;
 				PRODUCT_NAME = "Delta Chat";
 				PRODUCT_NAME = "Delta Chat";
@@ -1956,7 +1956,7 @@
 				CODE_SIGN_ENTITLEMENTS = "deltachat-ios/deltachat-ios.entitlements";
 				CODE_SIGN_ENTITLEMENTS = "deltachat-ios/deltachat-ios.entitlements";
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				CODE_SIGN_STYLE = Automatic;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 81;
+				CURRENT_PROJECT_VERSION = 82;
 				DEVELOPMENT_TEAM = 8Y86453UA8;
 				DEVELOPMENT_TEAM = 8Y86453UA8;
 				ENABLE_BITCODE = NO;
 				ENABLE_BITCODE = NO;
 				HEADER_SEARCH_PATHS = (
 				HEADER_SEARCH_PATHS = (
@@ -1973,7 +1973,7 @@
 					"$(PROJECT_DIR)/deltachat-ios/libraries/deltachat-core-rust/target/universal/release",
 					"$(PROJECT_DIR)/deltachat-ios/libraries/deltachat-core-rust/target/universal/release",
 					"$(PROJECT_DIR)/deltachat-ios/libraries/deltachat-core-rust/target/universal/debug",
 					"$(PROJECT_DIR)/deltachat-ios/libraries/deltachat-core-rust/target/universal/debug",
 				);
 				);
-				MARKETING_VERSION = 1.34.8;
+				MARKETING_VERSION = 1.34.10;
 				OTHER_CFLAGS = (
 				OTHER_CFLAGS = (
 					"$(inherited)",
 					"$(inherited)",
 					"-isystem",
 					"-isystem",
@@ -2026,7 +2026,7 @@
 				CODE_SIGN_ENTITLEMENTS = "deltachat-ios/deltachat-ios.entitlements";
 				CODE_SIGN_ENTITLEMENTS = "deltachat-ios/deltachat-ios.entitlements";
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				CODE_SIGN_STYLE = Automatic;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 81;
+				CURRENT_PROJECT_VERSION = 82;
 				DEVELOPMENT_TEAM = 8Y86453UA8;
 				DEVELOPMENT_TEAM = 8Y86453UA8;
 				ENABLE_BITCODE = NO;
 				ENABLE_BITCODE = NO;
 				HEADER_SEARCH_PATHS = (
 				HEADER_SEARCH_PATHS = (
@@ -2043,7 +2043,7 @@
 					"$(PROJECT_DIR)/deltachat-ios/libraries/deltachat-core-rust/target/universal/release",
 					"$(PROJECT_DIR)/deltachat-ios/libraries/deltachat-core-rust/target/universal/release",
 					"$(PROJECT_DIR)/deltachat-ios/libraries/deltachat-core-rust/target/universal/debug",
 					"$(PROJECT_DIR)/deltachat-ios/libraries/deltachat-core-rust/target/universal/debug",
 				);
 				);
-				MARKETING_VERSION = 1.34.8;
+				MARKETING_VERSION = 1.34.10;
 				OTHER_CFLAGS = (
 				OTHER_CFLAGS = (
 					"$(inherited)",
 					"$(inherited)",
 					"-isystem",
 					"-isystem",

+ 8 - 0
deltachat-ios/Controller/ChatListController.swift

@@ -134,6 +134,14 @@ class ChatListController: UITableViewController {
 
 
         // update messages - for new messages, do not reuse or modify strings but create new ones.
         // update messages - for new messages, do not reuse or modify strings but create new ones.
         // it is not needed to keep all past update messages, however, when deleted, also the strings should be deleted.
         // it is not needed to keep all past update messages, however, when deleted, also the strings should be deleted.
+        if dcContext.wasDeviceMsgEverAdded(label: "update_1_34d_ios") {
+            let msg2 = dcContext.newMessage(viewType: DC_MSG_TEXT)
+            msg2.text = "Some 1.34 Highlights:\n\n"
+                + "🗄️ More handy and common \"Archive\" in 1.34.10: "
+                + "\"Unread counters\" and moving things into view fixes issues with chats that stay in archive.\n\n"
+                + "For other recent bugfixes, see https://get.delta.chat/#changelogs"
+            dcContext.addDeviceMessage(label: "update_1_34_10a_ios", msg: msg2)
+        }
         let msg = dcContext.newMessage(viewType: DC_MSG_TEXT)
         let msg = dcContext.newMessage(viewType: DC_MSG_TEXT)
         msg.text = "Some 1.34 Highlights:\n\n"
         msg.text = "Some 1.34 Highlights:\n\n"
             + "🤗 Friendlier contact lists: Ordered by last seen and contacts seen within 10 minutes are marked by a dot 🟢\n\n"
             + "🤗 Friendlier contact lists: Ordered by last seen and contacts seen within 10 minutes are marked by a dot 🟢\n\n"