mirror of https://github.com/procxx/kepka.git
fixed unread loading, fixed map rewrite in new version - 0.6.19
This commit is contained in:
parent
21460d59fb
commit
3a73ece59d
|
@ -1,8 +1,8 @@
|
||||||
@echo OFF
|
@echo OFF
|
||||||
|
|
||||||
set "AppVersionStrSmall=0.6.18"
|
set "AppVersionStrSmall=0.6.19"
|
||||||
set "AppVersionStr=0.6.18"
|
set "AppVersionStr=0.6.19"
|
||||||
set "AppVersionStrFull=0.6.18.0"
|
set "AppVersionStrFull=0.6.19.0"
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo Preparing version %AppVersionStr%..
|
echo Preparing version %AppVersionStr%..
|
||||||
|
|
|
@ -679,7 +679,7 @@ void Application::startApp() {
|
||||||
QNetworkProxyFactory::setUseSystemConfiguration(true);
|
QNetworkProxyFactory::setUseSystemConfiguration(true);
|
||||||
if (Local::oldMapVersion() < AppVersion) {
|
if (Local::oldMapVersion() < AppVersion) {
|
||||||
psRegisterCustomScheme();
|
psRegisterCustomScheme();
|
||||||
if (Local::oldMapVersion() && AppVersion == FeaturesNotifyVersion) {
|
if (Local::oldMapVersion() && Local::oldMapVersion() <= FeaturesNotifyVersionFrom && AppVersion == FeaturesNotifyVersion) {
|
||||||
QString versionFeatures(QString::fromUtf8(FeaturesNotify));
|
QString versionFeatures(QString::fromUtf8(FeaturesNotify));
|
||||||
if (!versionFeatures.isEmpty()) {
|
if (!versionFeatures.isEmpty()) {
|
||||||
window->serviceNotification(versionFeatures);
|
window->serviceNotification(versionFeatures);
|
||||||
|
|
|
@ -17,8 +17,8 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
static const int32 AppVersion = 6018;
|
static const int32 AppVersion = 6019;
|
||||||
static const wchar_t *AppVersionStr = L"0.6.18";
|
static const wchar_t *AppVersionStr = L"0.6.19";
|
||||||
|
|
||||||
static const wchar_t *AppNameOld = L"Telegram Win (Unofficial)";
|
static const wchar_t *AppNameOld = L"Telegram Win (Unofficial)";
|
||||||
static const wchar_t *AppName = L"Telegram Desktop";
|
static const wchar_t *AppName = L"Telegram Desktop";
|
||||||
|
@ -26,7 +26,8 @@ static const wchar_t *AppName = L"Telegram Desktop";
|
||||||
static const wchar_t *AppId = L"{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"; // used in updater.cpp and Setup.iss for Windows
|
static const wchar_t *AppId = L"{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"; // used in updater.cpp and Setup.iss for Windows
|
||||||
static const wchar_t *AppFile = L"Telegram";
|
static const wchar_t *AppFile = L"Telegram";
|
||||||
|
|
||||||
static const int32 FeaturesNotifyVersion = 6018;
|
static const int32 FeaturesNotifyVersion = 6019;
|
||||||
|
static const int32 FeaturesNotifyVersionFrom = 6017;
|
||||||
extern const char *FeaturesNotify;
|
extern const char *FeaturesNotify;
|
||||||
|
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|
|
@ -2243,8 +2243,6 @@ void HistoryWidget::loadMessagesAround() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void HistoryWidget::onListScroll() {
|
void HistoryWidget::onListScroll() {
|
||||||
if (_scroll.isHidden()) return;
|
|
||||||
|
|
||||||
App::checkImageCacheSize();
|
App::checkImageCacheSize();
|
||||||
|
|
||||||
if (histPreloading || !hist || ((_list->isHidden() || _scroll.isHidden() || !App::wnd()->windowHandle()->isVisible()) && hist->readyForWork())) {
|
if (histPreloading || !hist || ((_list->isHidden() || _scroll.isHidden() || !App::wnd()->windowHandle()->isVisible()) && hist->readyForWork())) {
|
||||||
|
|
|
@ -637,6 +637,9 @@ namespace {
|
||||||
_locationsKey = locationsKey;
|
_locationsKey = locationsKey;
|
||||||
_mapChanged = false;
|
_mapChanged = false;
|
||||||
_oldMapVersion = mapData.version;
|
_oldMapVersion = mapData.version;
|
||||||
|
if (_oldMapVersion < AppVersion) {
|
||||||
|
_writeMap();
|
||||||
|
}
|
||||||
|
|
||||||
if (_locationsKey) {
|
if (_locationsKey) {
|
||||||
_readLocations();
|
_readLocations();
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>0.6.18</string>
|
<string>0.6.19</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleURLTypes</key>
|
<key>CFBundleURLTypes</key>
|
||||||
|
|
|
@ -1577,7 +1577,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.6.18;
|
CURRENT_PROJECT_VERSION = 0.6.19;
|
||||||
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;
|
||||||
|
@ -1595,7 +1595,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.6.18;
|
CURRENT_PROJECT_VERSION = 0.6.19;
|
||||||
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;
|
||||||
|
@ -1621,10 +1621,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.6.18;
|
CURRENT_PROJECT_VERSION = 0.6.19;
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||||
DYLIB_COMPATIBILITY_VERSION = 0.6;
|
DYLIB_COMPATIBILITY_VERSION = 0.6;
|
||||||
DYLIB_CURRENT_VERSION = 0.6.18;
|
DYLIB_CURRENT_VERSION = 0.6.19;
|
||||||
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;
|
||||||
|
@ -1764,10 +1764,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.6.18;
|
CURRENT_PROJECT_VERSION = 0.6.19;
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||||
DYLIB_COMPATIBILITY_VERSION = 0.6;
|
DYLIB_COMPATIBILITY_VERSION = 0.6;
|
||||||
DYLIB_CURRENT_VERSION = 0.6.18;
|
DYLIB_CURRENT_VERSION = 0.6.19;
|
||||||
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;
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
echo 6018 0.6.18
|
echo 6019 0.6.19
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue