Skip to content

Commit

Permalink
v0.11.1 (564)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaigner committed Oct 31, 2022
1 parent 9448fb4 commit 7abef0b
Show file tree
Hide file tree
Showing 583 changed files with 37,618 additions and 4,458 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.en.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## [0.11.1 (564)] - 2022-09-22

- It is now possible to define a personalized passcode (either PIN or password) to unlock Olvid!
- Complete redesign of the screen listing all your groups.
- When forwarding a message to exactly one discussion, this discussion is displayed.
- Fixes a few graphical issues occurring under iOS 16.
- Updates WebRTC to version 5195.
- Adds an (advanced) panel allowing to evaluate the disk storage of Olvid.
- Fixes a bug preventing to launch the share extension under iOS 13 and 14.
- Fixes a potential crash of the app.
- Other bug fixes.
- Fixes a few localization issues in French.

## [0.11.0 (542)] - 2022-07-20

- Starting Olvid is way faster than before!
Expand Down
19 changes: 16 additions & 3 deletions CHANGELOG.fr.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## [0.11.1 (564)] - 2022-09-22

- Il est maintenant possible de choisir un PIN ou un mot de passe personnalisé pour déverrouiller Olvid !
- Le design de l'écran de liste des groupes a été complètement revu.
- Après avoir partagé un message vers une autre discussion, cette discussion est maintenant affichée.
- Corrige des problèmes graphiques sous iOS 16.
- Mise à jour de WebRTC vers la version 5195.
- Nouvel écran permettant d'évaluer le stockage occupé par Olvid. Attention, c'est pour les experts ;-)
- Corrige un bug empêchant le partage vers Olvid sous iOS 13 et 14.
- Corrige une potentielle source de crash de l'app.
- Autres corrections
- Quelques corrections des messages affichés en français.

## [0.11.0 (542)] - 2022-07-20

- Le démarrage d'Olvid devrait être beaucoup plus rapide qu'avant !
Expand All @@ -12,12 +25,12 @@

## [0.10.3 (533)] - 2022-06-29

- Vous pouvez maintenant choisir la sonnerie associée aux alertes des messages d'une discussion ! N'hésitez pas à essayer nos sons polyphoniques exclusifs, jamais entendus auparavant, absolument uniques :-)
- Vous pouvez maintenant transférer n'importe quel message vers une ou plusieurs discussion facilement !
- Vous pouvez maintenant choisir la sonnerie associée aux alertes des messages d'une discussion ! N'hésitez pas à essayer nos sons polyphoniques exclusifs, jamais entendus auparavant, absolument uniques :-)
- Vous pouvez maintenant transférer n'importe quel message vers une ou plusieurs discussion facilement !
- Améliore la fiabilité des barres de progression pour les pièces jointes, en envoi et en réception.
- Améliore la réactivité des boutons de téléchargement manuel des pièces jointes en réception.
- Pendant la lecture d'un message audio, vous pouvez choisir entre l'écouteur interne et le haut-parleur.
- En plus de la gallerie de médias, vous pouvez maintenant accéder à une gallerie de tous les documents échangés dans une discussion !
- En plus de la gallerie de médias, vous pouvez maintenant accéder à une gallerie de tous les documents échangés dans une discussion !
- Quitter un groupe et le rejoindre à nouveau ne crée plus de « nouvelle » discussion si l'ancienne est encore disponible. Dans ce cas, elle est « réactivée », de manière à pouvoir reprendre la discussion là où vous l'aviez laissée.
- Ceci est aussi vrai lorsque l'on supprime un contact et qu'on l'ajoute à nouveau par la suite.
- Corrige un bug qui empêchait parfois l'affichage d'une jolie vignette lorsque l'on partageait une capture d'écran.
Expand Down
3 changes: 2 additions & 1 deletion CoreDataStack/CoreDataStack.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -149,6 +149,7 @@
/* Begin PBXShellScriptBuildPhase section */
C0ED3644276E6459005D74CE /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand Down
40 changes: 31 additions & 9 deletions Engine/BigInt/BigInt/BigInt.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 48;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -233,6 +233,7 @@
/* Begin PBXShellScriptBuildPhase section */
C0A7695B276FEF9E00D22EE4 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand Down Expand Up @@ -391,9 +392,10 @@
GCC_WARN_UNUSED_VARIABLE = YES;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_INCLUDE_PATHS = "";
"SWIFT_INCLUDE_PATHS[arch=*]" = "${SRCROOT}/Dependencies/gmp";
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_OPTIMIZATION_LEVEL = "-O";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
Expand All @@ -412,14 +414,21 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/Dependencies/gmp";
INFOPLIST_FILE = BigInt/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = (
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = "$(inherited)";
"LIBRARY_SEARCH_PATHS[sdk=*]" = (
"$(inherited)",
"$(PROJECT_DIR)/Dependencies/gmp",
"$(PROJECT_DIR)/Dependencies/gmp/device",
);
"LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*]" = "$(PROJECT_DIR)/Dependencies/gmp/simulator";
PRODUCT_BUNDLE_IDENTIFIER = io.cryptosystems.BigInt;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
Expand All @@ -442,13 +451,18 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/Dependencies/gmp";
INFOPLIST_FILE = BigInt/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Dependencies/gmp",
"$(PROJECT_DIR)/Dependencies/gmp/device",
);
PRODUCT_BUNDLE_IDENTIFIER = io.cryptosystems.BigInt;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand All @@ -466,7 +480,11 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 4879F8N45X;
INFOPLIST_FILE = BigIntTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = io.cryptosystems.BigIntTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand All @@ -481,7 +499,11 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 4879F8N45X;
INFOPLIST_FILE = BigIntTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = io.cryptosystems.BigIntTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion Engine/BigInt/BigInt/Dependencies/gmp/gmp.h
Original file line number Diff line number Diff line change
Expand Up @@ -2324,7 +2324,7 @@ enum

/* Define CC and CFLAGS which were used to build this version of GMP */
#define __GMP_CC "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
#define __GMP_CFLAGS "-arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk -miphoneos-version-min=13.0 -flto"
#define __GMP_CFLAGS "-arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk -miphoneos-version-min=13.0 -flto"

/* Major version number is the value of __GNU_MP__ too, above. */
#define __GNU_MP_VERSION 6
Expand Down
Binary file not shown.
37 changes: 24 additions & 13 deletions Engine/BigInt/make_static_gmp_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GMP_VERSION="6.2.1"
PLATFORMPATH="/Applications/Xcode.app/Contents/Developer/Platforms"
TOOLSPATH="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin"
export IPHONEOS_DEPLOYMENT_TARGET="13.0" # can be set to 10.3 with Xcode 8.3.3
export IPHONEOS_DEPLOYMENT_TARGET="13.0"
pwd=`pwd`

findLatestSDKVersion()
Expand Down Expand Up @@ -36,19 +36,25 @@ buildit()
hostarget="i386"
elif [[ $hosttarget == "arm64" ]]; then
hosttarget="arm"
if [[ $platform == "iPhoneSimulator" ]]; then
target_simulator="-target arm64-apple-ios13.0-simulator"
else
target_simulator=""
fi
fi


export CC="$(xcrun -sdk iphoneos -find clang)"
export CPP="$CC -E"
export CFLAGS="-arch ${target} -isysroot $PLATFORMPATH/$platform.platform/Developer/SDKs/$platform$SDKVERSION.sdk --sysroot $PLATFORMPATH/$platform.platform/Developer/SDKs/$platform$SDKVERSION.sdk -miphoneos-version-min=$IPHONEOS_DEPLOYMENT_TARGET -flto"
export CFLAGS="-arch ${target} ${target_simulator} -isysroot $PLATFORMPATH/$platform.platform/Developer/SDKs/$platform$SDKVERSION.sdk --sysroot $PLATFORMPATH/$platform.platform/Developer/SDKs/$platform$SDKVERSION.sdk -miphoneos-version-min=$IPHONEOS_DEPLOYMENT_TARGET -flto"
export AR=$(xcrun -sdk iphoneos -find ar)
export RANLIB=$(xcrun -sdk iphoneos -find ranlib)
export CPPFLAGS="-arch ${target} -isysroot $PLATFORMPATH/$platform.platform/Developer/SDKs/$platform$SDKVERSION.sdk --sysroot $PLATFORMPATH/$platform.platform/Developer/SDKs/$platform$SDKVERSION.sdk -miphoneos-version-min=$IPHONEOS_DEPLOYMENT_TARGET"
export CPPFLAGS="-arch ${target} ${target_simulator} -isysroot $PLATFORMPATH/$platform.platform/Developer/SDKs/$platform$SDKVERSION.sdk --sysroot $PLATFORMPATH/$platform.platform/Developer/SDKs/$platform$SDKVERSION.sdk -miphoneos-version-min=$IPHONEOS_DEPLOYMENT_TARGET"
export LDFLAGS="-arch ${target} -isysroot $PLATFORMPATH/$platform.platform/Developer/SDKs/$platform$SDKVERSION.sdk --sysroot $PLATFORMPATH/$platform.platform/Developer/SDKs/$platform$SDKVERSION.sdk"
export CC_FOR_BUILD="IPHONEOS_DEPLOYMENT_TARGET='' clang"

if [ -d $pwd/builds/gmp-$GMP_VERSION/$target ]; then
echo "A build already exists for GMP v$GMP_VERSION for target $target."
if [ -d $pwd/builds/gmp-$GMP_VERSION/$platform/$target ]; then
echo "A build already exists for GMP v$GMP_VERSION for platform $platform and target $target."
else
echo "Starting the build for GMP v$GMP_VERSION for target $target."
echo -e "\thosttarget = $hosttarget"
Expand All @@ -61,9 +67,9 @@ buildit()
echo -e "\tLDFLAGS = $LDFLAGS"
echo -e "\tCC = $CC"

mkdir -p $pwd/builds/gmp-$GMP_VERSION/$target
mkdir -p $pwd/builds/gmp-$GMP_VERSION/$platform/$target

./configure --prefix="$pwd/builds/gmp-$GMP_VERSION/$target" --disable-shared --enable-static --host=$hosttarget-apple-darwin --disable-assembly
./configure --prefix="$pwd/builds/gmp-$GMP_VERSION/$platform/$target" --disable-shared --enable-static --host=$hosttarget-apple-darwin --disable-assembly

make clean
make
Expand Down Expand Up @@ -100,15 +106,20 @@ distclean

# Step 3: Build

buildit arm64 iPhoneOS
buildit arm64 iPhoneSimulator
distclean
buildit x86_64 iPhoneSimulator
distclean
buildit arm64 iPhoneOS
distclean

# Step 4: Lipo the libraries for the various architectures into one static library.
# Step 4: Lipo the libraries for the various architectures for the simulator into one static library.

echo "Building universal static library..."
echo "Building universal static library for the simulator..."
platform="iPhoneSimulator"
LIPO=$(xcrun -sdk iphoneos -find lipo)
mkdir -p $pwd/builds/gmp-$GMP_VERSION/universal
$LIPO -create $pwd/builds/gmp-$GMP_VERSION/arm64/lib/libgmp.a $pwd/builds/gmp-$GMP_VERSION/x86_64/lib/libgmp.a -output $pwd/builds/gmp-$GMP_VERSION/universal/libgmp.a
cp $pwd/builds/gmp-$GMP_VERSION/arm64/include/gmp.h $pwd/builds/gmp-$GMP_VERSION/universal/
mkdir -p $pwd/builds/gmp-$GMP_VERSION/$platform/universal
$LIPO -create $pwd/builds/gmp-$GMP_VERSION/$platform/arm64/lib/libgmp.a $pwd/builds/gmp-$GMP_VERSION/$platform/x86_64/lib/libgmp.a -output $pwd/builds/gmp-$GMP_VERSION/$platform/universal/libgmp.a
cp $pwd/builds/gmp-$GMP_VERSION/$platform/arm64/include/gmp.h $pwd/builds/gmp-$GMP_VERSION/$platform/universal/

# No need to create a universal lib for the iPhone since there is only one architecture
3 changes: 2 additions & 1 deletion Engine/JWS/JWS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -132,6 +132,7 @@
/* Begin PBXShellScriptBuildPhase section */
C0B4A53F276FE52B00816D8D /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -191,6 +191,7 @@
/* Begin PBXShellScriptBuildPhase section */
C0ED3647276E819F005D74CE /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ extension ObvBackupManagerImplementation: ObvBackupDelegate {
}

let fullBackup = try FullBackup(allInternalJsonAndIdentifier: allInternalDataForBackup)

// Create and compress the full backup

let compressedFullBackupData = try fullBackup.computeCompressedData(flowId: backupRequestIdentifier, log: log)
Expand Down Expand Up @@ -647,6 +647,7 @@ extension ObvBackupManagerImplementation {
guard !group.isCancelled else {
throw Self.makeError(message: "Failed to restore a backup")
}
try await group.waitForAll()
}
}

Expand Down Expand Up @@ -812,6 +813,18 @@ fileprivate struct FullBackup: Codable {
case jsonVersion = "backup_json_version"
}

func debugPrintEngineManagerBackups() {
for (key, value) in engineManagerBackups {
debugPrint("📀 \(key) back data:")
if let jsonObject = try? JSONSerialization.jsonObject(with: value.data(using: .utf8)!),
let prettyPrintedData = try? JSONSerialization.data(withJSONObject: jsonObject, options: [.prettyPrinted, .withoutEscapingSlashes, .sortedKeys]),
let prettyPrintedString = NSString(data: prettyPrintedData, encoding: String.Encoding.utf8.rawValue) {
print(prettyPrintedString)
} else {
debugPrint("📀 Could not log data")
}
}
}

init(allInternalJsonAndIdentifier: [ObvBackupableObjectSource: [String: String]]) throws {
self.backupTimestamp = Int(Date().timeIntervalSince1970 * 1000)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import os.log
import ObvTypes
import ObvMetaManager
import OlvidUtils
import ObvCrypto


final public class ObvBackupManagerImplementationDummy: ObvBackupDelegate {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 48;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -377,6 +377,7 @@
/* Begin PBXShellScriptBuildPhase section */
C0B4A4C1276E84CF00816D8D /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand Down Expand Up @@ -537,7 +538,8 @@
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
Expand All @@ -558,7 +560,11 @@
INFOPLIST_FILE = ObvChannelManager/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = io.olvid.ObvChannelManager;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
Expand All @@ -582,7 +588,11 @@
INFOPLIST_FILE = ObvChannelManager/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = io.olvid.ObvChannelManager;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
Expand Down
Loading

0 comments on commit 7abef0b

Please sign in to comment.