Skip to content

Commit

Permalink
version 0.8.54.dev prepared, two crash fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Aug 31, 2015
1 parent a0f7a46 commit 25b6740
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 20 deletions.
8 changes: 4 additions & 4 deletions Telegram/PrepareWin.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@echo OFF

set "AppVersionStrMajor=0.8"
set "AppVersion=8053"
set "AppVersionStrSmall=0.8.53"
set "AppVersionStr=0.8.53"
set "AppVersionStrFull=0.8.53.0"
set "AppVersion=8054"
set "AppVersionStrSmall=0.8.54"
set "AppVersionStr=0.8.54"
set "AppVersionStrFull=0.8.54.0"
set "DevChannel=1"

if %DevChannel% neq 0 goto preparedev
Expand Down
4 changes: 2 additions & 2 deletions Telegram/SourceFiles/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,8 @@ void Application::checkMapVersion() {
if (Local::oldMapVersion() < AppVersion) {
if (Local::oldMapVersion()) {
QString versionFeatures;
if (cDevVersion() && Local::oldMapVersion() < 8053) {
versionFeatures = QString::fromUtf8("\xe2\x80\x94 Include muted chats in unread count in Settings\n\xe2\x80\x94 Shared links overview and search in shared media");// .replace('@', qsl("@") + QChar(0x200D));
if (cDevVersion() && Local::oldMapVersion() < 8054) {
versionFeatures = QString::fromUtf8("\xe2\x80\x94 Preview when sending links to GIF animations and PDF files\n\xe2\x80\x94 Full date and time shown when mouse over message timestamp");// .replace('@', qsl("@") + QChar(0x200D));
} else if (!cDevVersion() && Local::oldMapVersion() < 8052) {
versionFeatures = lang(lng_new_version_minor).trimmed();
}
Expand Down
4 changes: 2 additions & 2 deletions Telegram/SourceFiles/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org
*/
#pragma once

static const int32 AppVersion = 8053;
static const wchar_t *AppVersionStr = L"0.8.53";
static const int32 AppVersion = 8054;
static const wchar_t *AppVersionStr = L"0.8.54";
static const bool DevVersion = true;

static const wchar_t *AppNameOld = L"Telegram Win (Unofficial)";
Expand Down
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/history.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ bool History::updateTyping(uint64 ms, uint32 dots, bool force) {
++i;
}
}
for (SendActionUsers::iterator i = sendActions.begin(), e = sendActions.end(); i != e;) {
for (SendActionUsers::iterator i = sendActions.begin(); i != sendActions.cend();) {
if (ms >= i.value().until) {
i = sendActions.erase(i);
changed = true;
Expand Down
3 changes: 0 additions & 3 deletions Telegram/SourceFiles/pspecific_wnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2809,9 +2809,6 @@ bool CreateToast(PeerData *peer, int32 msgId, bool showpix, const QString &title
if (j != i->cend()) {
toastNotifier->Hide(j->p.Get());
i->erase(j);
if (i->isEmpty()) {
toastNotifications.erase(i);
}
}
}
hr = toastNotifier->Show(toast.Get());
Expand Down
2 changes: 1 addition & 1 deletion Telegram/Telegram.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.8.53</string>
<string>0.8.54</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>CFBundleSignature</key>
Expand Down
Binary file modified Telegram/Telegram.rc
Binary file not shown.
12 changes: 6 additions & 6 deletions Telegram/Telegram.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1707,7 +1707,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 0.8.53;
CURRENT_PROJECT_VERSION = 0.8.54;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
Expand All @@ -1725,7 +1725,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COPY_PHASE_STRIP = YES;
CURRENT_PROJECT_VERSION = 0.8.53;
CURRENT_PROJECT_VERSION = 0.8.54;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_OPTIMIZATION_LEVEL = fast;
GCC_PREFIX_HEADER = ./SourceFiles/stdafx.h;
Expand All @@ -1751,10 +1751,10 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 0.8.53;
CURRENT_PROJECT_VERSION = 0.8.54;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DYLIB_COMPATIBILITY_VERSION = 0.8;
DYLIB_CURRENT_VERSION = 0.8.53;
DYLIB_CURRENT_VERSION = 0.8.54;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = "";
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
Expand Down Expand Up @@ -1885,10 +1885,10 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 0.8.53;
CURRENT_PROJECT_VERSION = 0.8.54;
DEBUG_INFORMATION_FORMAT = dwarf;
DYLIB_COMPATIBILITY_VERSION = 0.8;
DYLIB_CURRENT_VERSION = 0.8.53;
DYLIB_CURRENT_VERSION = 0.8.54;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = "";
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
Expand Down
2 changes: 1 addition & 1 deletion Telegram/Version.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
echo 0.8 8053 0.8.53 1
echo 0.8 8054 0.8.54 1
# AppVersionStrMajor AppVersion AppVersionStr DevChannel

0 comments on commit 25b6740

Please sign in to comment.