added: blocks try{} catch(...) to first and second thread
changed: version of the program: 0.9.2 now git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@322 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
parent
eb7cec8ecc
commit
e87308c721
|
@ -1,4 +1,4 @@
|
|||
Version 0.9.2 prerelease (2010.09.14):
|
||||
Version 0.9.2 (2010.09.24):
|
||||
* added: Italian translation made by
|
||||
Damiano Monaco <dmonax at gmail.com>
|
||||
* added: menu: edit->swap (ctrl+W)
|
||||
|
@ -6,6 +6,10 @@ Version 0.9.2 prerelease (2010.09.14):
|
|||
|
||||
Changes from TTMath 0.9.2 relating to TTCalc:
|
||||
* fixed: Big::Add() sometimes incorrectly rounded the last bit from its mantissa
|
||||
* fixed: Big::ToString method
|
||||
in some cases when in the output string the exponent should be equal zero
|
||||
the method changes the exponent to one so the last digit from the mantissa
|
||||
was lost
|
||||
|
||||
|
||||
Version 0.9.1 (2010.02.07):
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
[Setup]
|
||||
AppName=TTCalc
|
||||
AppVerName=TTCalc 0.9.1
|
||||
AppVersion=0.9.1
|
||||
AppVerName=TTCalc 0.9.2
|
||||
AppVersion=0.9.2
|
||||
AppPublisher=Tomasz Sowa
|
||||
AppPublisherURL=http://ttcalc.sourceforge.net
|
||||
AppSupportURL=http://ttcalc.sourceforge.net
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# add "resource.o" to "o" as well
|
||||
o = resource.o calculation.o convert.o download.o functions.o iniparser.o languages.o mainwindow.o misc.o pad.o parsermanager.o programresources.o tabs.o threadcontroller.o update.o variables.o winmain.o
|
||||
|
||||
|
||||
calculation.o: calculation.cpp compileconfig.h parsermanager.h resource.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h tabs.h messages.h
|
||||
convert.o: convert.cpp convert.h compileconfig.h bigtypes.h
|
||||
download.o: download.cpp compileconfig.h download.h
|
||||
|
@ -19,6 +20,7 @@ variables.o: variables.cpp compileconfig.h tabs.h resource.h messages.h progra
|
|||
winmain.o: winmain.cpp compileconfig.h winmain.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h resource.h messages.h tabs.h pad.h update.h download.h
|
||||
|
||||
|
||||
|
||||
.SUFFIXES: .cpp .o
|
||||
|
||||
.cpp.o:
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
#define TTCALC_MAJOR_VER 0
|
||||
#define TTCALC_MINOR_VER 9
|
||||
#define TTCALC_REVISION_VER 2
|
||||
#define TTCALC_PRERELEASE_VER 1
|
||||
#define TTCALC_PRERELEASE_VER 0
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
# this file is downloaded from a webserver during checking for an update
|
||||
|
||||
[normal]
|
||||
url = http://downloads.sourceforge.net/project/ttcalc/ttcalc/ttcalc-0.9.1/ttcalc-0.9.1-setup.exe
|
||||
filename = ttcalc-0.9.1-setup.exe
|
||||
url = http://downloads.sourceforge.net/project/ttcalc/ttcalc/ttcalc-0.9.2/ttcalc-0.9.2-setup.exe
|
||||
filename = ttcalc-0.9.2-setup.exe
|
||||
version.major = 0
|
||||
version.minor = 9
|
||||
version.revision = 1
|
||||
version.revision = 2
|
||||
version.prerelease = 0
|
||||
|
||||
[portable]
|
||||
url = http://downloads.sourceforge.net/project/ttcalc/ttcalc/ttcalc-0.9.1/ttcalc-portable-0.9.1-bin.tar.gz
|
||||
filename = ttcalc-portable-0.9.1-bin.tar.gz
|
||||
url = http://downloads.sourceforge.net/project/ttcalc/ttcalc/ttcalc-0.9.2/ttcalc-portable-0.9.2-bin.tar.gz
|
||||
filename = ttcalc-portable-0.9.2-bin.tar.gz
|
||||
version.major = 0
|
||||
version.minor = 9
|
||||
version.revision = 1
|
||||
version.revision = 2
|
||||
version.prerelease = 0
|
||||
|
||||
|
||||
|
|
|
@ -594,11 +594,17 @@ unsigned __stdcall UpdateBackgroundProc(void *)
|
|||
{
|
||||
using namespace Background;
|
||||
|
||||
try
|
||||
{
|
||||
if( CheckUpdateFromIni(0, url_, remote_file_name_, major_, minor_, revision_, prerelease_, 0) )
|
||||
{
|
||||
HWND main = GetPrgRes()->GetMainWindow();
|
||||
SendMessage(main, WM_UPDATE_EXISTS, 0, 0);
|
||||
}
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
}
|
||||
|
||||
_endthreadex(0);
|
||||
return 0;
|
||||
|
|
|
@ -52,6 +52,8 @@
|
|||
the application starts here
|
||||
*/
|
||||
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int)
|
||||
{
|
||||
try
|
||||
{
|
||||
GetPrgRes()->SetInstance(hInstance);
|
||||
|
||||
|
@ -112,6 +114,12 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int)
|
|||
DestroyPadWindow();
|
||||
CloseHandle( (HANDLE)thread_handle );
|
||||
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
ShowError( Languages::unknown_error );
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue