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
static const int32 AppVersion = 9037;
static const wchar_t *AppVersionStr = L"0.9.37";
static const int32 AppVersion = 9038;
static const wchar_t *AppVersionStr = L"0.9.38";
static const bool DevVersion = true;
//#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;
}
float64 fromstart = fulldt / st::radialPeriod;
float64 fromstartpart = fromstart - std::floor(fromstart);
a_arcStart.update(static_cast<int>(fromstartpart), anim::linear);
a_arcStart.update(fromstart - std::floor(fromstart), anim::linear);
}
void RadialAnimation::stop() {

View file

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

View file

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

View file

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

View file

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

View file

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