Crash reporting fixed, radial progress fixed. 0.9.38 dev version.

This commit is contained in:
John Preston 2016-04-01 00:36:46 +04:00
parent 9cb1511b63
commit f96b7da7ce
7 changed files with 22 additions and 23 deletions

View File

@ -20,8 +20,8 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
*/ */
#pragma once #pragma once
static const int32 AppVersion = 9037; static const int32 AppVersion = 9038;
static const wchar_t *AppVersionStr = L"0.9.37"; static const wchar_t *AppVersionStr = L"0.9.38";
static const bool DevVersion = true; static const bool DevVersion = true;
//#define BETA_VERSION (9034004ULL) // just comment this line to build public version //#define BETA_VERSION (9034004ULL) // just comment this line to build public version

View File

@ -3046,8 +3046,7 @@ void RadialAnimation::update(float64 prg, bool finished, uint64 ms) {
_opacity *= 1 - r; _opacity *= 1 - r;
} }
float64 fromstart = fulldt / st::radialPeriod; float64 fromstart = fulldt / st::radialPeriod;
float64 fromstartpart = fromstart - std::floor(fromstart); a_arcStart.update(fromstart - std::floor(fromstart), anim::linear);
a_arcStart.update(static_cast<int>(fromstartpart), anim::linear);
} }
void RadialAnimation::stop() { void RadialAnimation::stop() {

View File

@ -1080,18 +1080,18 @@ namespace internal {
} }
void setCrashAnnotation(const std::string &key, const QString &value) { void setCrashAnnotation(const std::string &key, const QString &value) {
if (value.trimmed().isEmpty()) { if (!value.trimmed().isEmpty()) {
internal::ProcessAnnotations.erase(key);
} else {
internal::ProcessAnnotations[key] = value.toUtf8().constData(); internal::ProcessAnnotations[key] = value.toUtf8().constData();
} else {
internal::ProcessAnnotations.erase(key);
} }
} }
void setCrashAnnotationRef(const std::string &key, const QString *valuePtr) { void setCrashAnnotationRef(const std::string &key, const QString *valuePtr) {
if (valuePtr) { if (valuePtr) {
internal::ProcessAnnotationRefs.erase(key);
} else {
internal::ProcessAnnotationRefs[key] = valuePtr; internal::ProcessAnnotationRefs[key] = valuePtr;
} else {
internal::ProcessAnnotationRefs.erase(key);
} }
} }

View File

@ -11,7 +11,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>0.9.37</string> <string>0.9.38</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>

View File

@ -34,8 +34,8 @@ IDI_ICON1 ICON "SourceFiles\\art\\icon256.ico"
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,9,37,0 FILEVERSION 0,9,38,0
PRODUCTVERSION 0,9,37,0 PRODUCTVERSION 0,9,38,0
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -51,10 +51,10 @@ BEGIN
BLOCK "040904b0" BLOCK "040904b0"
BEGIN BEGIN
VALUE "CompanyName", "Telegram Messenger LLP" VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileVersion", "0.9.37.0" VALUE "FileVersion", "0.9.38.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2016" VALUE "LegalCopyright", "Copyright (C) 2014-2016"
VALUE "ProductName", "Telegram Desktop" VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "0.9.37.0" VALUE "ProductVersion", "0.9.38.0"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

View File

@ -1772,7 +1772,7 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 0.9.37; CURRENT_PROJECT_VERSION = 0.9.38;
DEBUG_INFORMATION_FORMAT = dwarf; DEBUG_INFORMATION_FORMAT = dwarf;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
@ -1791,7 +1791,7 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COPY_PHASE_STRIP = YES; COPY_PHASE_STRIP = YES;
CURRENT_PROJECT_VERSION = 0.9.37; CURRENT_PROJECT_VERSION = 0.9.38;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_OPTIMIZATION_LEVEL = fast; GCC_OPTIMIZATION_LEVEL = fast;
GCC_PREFIX_HEADER = ./SourceFiles/stdafx.h; GCC_PREFIX_HEADER = ./SourceFiles/stdafx.h;
@ -1820,10 +1820,10 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = ""; CODE_SIGN_IDENTITY = "";
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 0.9.37; CURRENT_PROJECT_VERSION = 0.9.38;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DYLIB_COMPATIBILITY_VERSION = 0.9; DYLIB_COMPATIBILITY_VERSION = 0.9;
DYLIB_CURRENT_VERSION = 0.9.37; DYLIB_CURRENT_VERSION = 0.9.38;
ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = ""; FRAMEWORK_SEARCH_PATHS = "";
GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
@ -1961,10 +1961,10 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = ""; CODE_SIGN_IDENTITY = "";
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 0.9.37; CURRENT_PROJECT_VERSION = 0.9.38;
DEBUG_INFORMATION_FORMAT = dwarf; DEBUG_INFORMATION_FORMAT = dwarf;
DYLIB_COMPATIBILITY_VERSION = 0.9; DYLIB_COMPATIBILITY_VERSION = 0.9;
DYLIB_CURRENT_VERSION = 0.9.37; DYLIB_CURRENT_VERSION = 0.9.38;
ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES; ENABLE_TESTABILITY = YES;
FRAMEWORK_SEARCH_PATHS = ""; FRAMEWORK_SEARCH_PATHS = "";

View File

@ -1,6 +1,6 @@
AppVersion 9037 AppVersion 9038
AppVersionStrMajor 0.9 AppVersionStrMajor 0.9
AppVersionStrSmall 0.9.37 AppVersionStrSmall 0.9.38
AppVersionStr 0.9.37 AppVersionStr 0.9.38
DevChannel 1 DevChannel 1
BetaVersion 0 9034004 BetaVersion 0 9034004