Commit Graph

51 Commits

Author SHA1 Message Date
Tomasz Sowa f3ee187413 added: button sqrt() on the first tab
(there was not a function to it)



git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@232 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-11-01 20:34:10 +00:00
Tomasz Sowa fbab1df13f changed: the main window has been enlarged
added:   there are some new buttons on the standard tab
         - (...) - the whole expression is surrounded by brackets
         - 1/(...)
         - ;
         - %
         - floor/ceil
         - min/max
         - root
         - gamma
added:   some options on display tab:
         - grouping
         - input decimal point
         - parameters separated by



git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@227 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-11-01 01:52:13 +00:00
Tomasz Sowa e7ec06ea9d fixed: the program didn't use a correct path to the config and help file
this was introduced by the update and open/save dialog on the pad window


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@225 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-10-26 20:55:03 +00:00
Tomasz Sowa 4346383c57 fixed: when 'C' button was pressed, the cursor was not put in the edit window
added: menu to the pad window
       options: open/save as,close,undo,cut,copy,paste,delete,select all
 --This line, and those below, will be ignored--

M    src/winmain.cpp
M    src/pad.cpp
M    src/programresources.h
M    src/resource.rc
M    src/tabs.cpp
M    src/resource.h
M    CHANGELOG


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@221 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-10-19 22:08:23 +00:00
Tomasz Sowa 19abe8ff12 fixed: the algorithm for downloading didn't check whether a file
was correctly received
added: ttcalc_update.ini
       this file is downloaded from a webserver
       it contains information about updating (version, file name, url)


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@220 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-10-18 21:00:54 +00:00
Tomasz Sowa 2fd7432920 changed: some improvements in Update Dialog
changed: in setup config:
         PrivilegesRequired=admin
         it is better to use administrative privileges when doing an update
         (if an unprivileged user has installed TTCalc in a special folder before
         then he would not be able to install it now - and the default 
         directory in the setup would be other than previous one - this would be
         very misleading)


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@219 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-10-18 18:59:21 +00:00
Tomasz Sowa 787557590a added: translations for ttmath::err_percent_from
git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@218 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-10-18 12:40:29 +00:00
Tomasz Sowa fb04d22d14 added: Checking for update dialog box
git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@216 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-10-17 22:13:14 +00:00
Tomasz Sowa 8fa1a24350 changed: precision:
Medium - 512 mantissa,  64  exponent
         Big    - 1024 mantissa, 128 exponent
changed: small changes in the pod window
changed: releases we compile with TTMATH_RELEASE flag



git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@214 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-10-16 18:41:09 +00:00
Tomasz Sowa 59d24bf3ae fixed: when the program starts the main window was not maximized correctly
(when it should be maximized)
added: pad window is saving its position and size to the config file


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@212 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-10-16 02:12:10 +00:00
Tomasz Sowa dbcfa526ec I have forgotten to commit pad.h and pad.cpp files (pad window from the last commit)
git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@209 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-10-13 22:44:05 +00:00
Tomasz Sowa ad3625deab added: Pad window - a multiline edit window
files: pad.h pad.cpp


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@208 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-10-13 22:41:00 +00:00
Tomasz Sowa 85e16db946 changed: version: 0.9.0 prerelease now
changed: some changes in Swedish language (gui messages)
added:   gamma() function to documentation (*.chm)


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@195 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-09-15 18:24:04 +00:00
Tomasz Sowa 8880e87af6 added: new language: Swedish
translation made by: Lars 'Bäfvert' Gäfvert <lars.gafvert at gmail dot com>



git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@188 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-09-08 01:24:56 +00:00
Tomasz Sowa 783bebc269 added: Russian language to the setup
changed: version of the program: 0.8.6 now


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@175 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-06-30 19:18:47 +00:00
Tomasz Sowa 19f4177691 changed: some corrections in russian language
some widgets was a little changed in size 


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@174 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-06-26 18:50:14 +00:00
Tomasz Sowa b668b3765c added: new language: Russian
translation made by: Vladimir Gladilovich <vdgladilovich at gmail dot com>



git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@169 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-06-25 04:54:48 +00:00
Tomasz Sowa b3f25face3 fixed: I've forgotten to add: menu_view_lang_chinese item in the chinese language
changed: version of the program: 0.8.5 now



git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@167 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-06-18 12:02:50 +00:00
Tomasz Sowa 34500e3a5e changed: corrected the chinese translation
(The translation was made by: Juis)
added:   chinese language to the installer


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@162 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-06-15 02:41:56 +00:00
Tomasz Sowa e841dcfa70 * added: new language: Chinese
translation made by: ... <zhushengyi2008 at 126 dot com>



git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@159 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-06-11 16:07:18 +00:00
Tomasz Sowa ebc5359953 added: Danish language to the setup
changed: version of the program: 0.8.4


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@140 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-05-09 01:13:54 +00:00
Tomasz Sowa dd32ebd6cd * added: new language: Danish
translation made by: Rune Bisgaard Vammen <runebisgaard at gmail dot com>
* changed status to: 0.8.4 prerelease



git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@124 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-04-30 22:59:06 +00:00
Tomasz Sowa e89901bbab changed: version of the program: 0.8.3
updated: changelog


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@122 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-04-06 19:22:26 +00:00
Tomasz Sowa 87abe4ce7e changed: after setting compact view and then normal view the program restores
the vertical size of the last used window


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@119 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-04-02 10:42:31 +00:00
Tomasz Sowa e960c2adea updated: help
git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@118 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-04-02 10:26:55 +00:00
Tomasz Sowa 6555140b9a changed: variables and functions are copied to the second thread only
when they have been changed (performance)
         flags: variables_id and functions_id in ProgramResources
changed: you don't have to be an administrator to use the setup (installer)
         PrivilegesRequired=none in innosetup.iss
changed: small changes in Makefile(s) especially pathes
changed: upx 3.03 is used now (for the portable version)


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@116 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-04-02 05:13:27 +00:00
Tomasz Sowa 04fbbaceca added: when the program exits new variables and functions are read from
the configuration file and then the file is saved 
       (if you have inserted some variables or functions in a different
       instance of TTCalc those variables or functions were previously
       skipped)


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@115 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-04-01 02:31:38 +00:00
Tomasz Sowa ff62d833c9 fixed: calculating the size of the main window
now it looks good on MS Vista and when a user changes size of some
         widgets such as a border, font size, etc.
added:   spanish language to the setup (installer)
added:   the setup will remove mingwm10.dll if it exists in the program directory
added:   on display tab: we can select 'deg' 'rad' or 'grad' for calculating
         in such functions: sin,cos,tan,cot,asin,acos,atan,acot
added:   macro TTCALC_CONVERT if not defined there will not be a convert tab
         (the convert tab is not finished)
added:   a new icon with following dimensions: '48x48' '32x32' '16x16'
removed: parameter for gcc: -mthreads
         with -mthreads it is possible (on windows) to release some kind of
         'destructors' belonging to a thread when the specific thread exists
         (it prevents some kind of memory leaks)
         in the TTCalc when the second thread exists then there is the end
         of the program and we can not use '-mthreads'
removed: file TODO (I didn't use the file)


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@114 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-03-28 18:26:20 +00:00
Tomasz Sowa 2ff2aebbee added: bigtypes.h convert.h convert.cpp
changed: types used in the ParserManager are
         defined in bigtypes.h
changed: a new class Convert
         all variables and methods regarding 
         converting are thrown into Convert class
changed: Convert uses two values during converting
         (numerator and denominator)


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@77 e52654a7-88a9-db11-a3e9-0013d4bc506e
2008-10-13 04:17:57 +00:00
Tomasz Sowa ec87cd8054 added: new language: spanish
translation made by Alejandro S. Valdezate
         alesanval at gmail dot com


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@65 e52654a7-88a9-db11-a3e9-0013d4bc506e
2008-05-01 12:29:44 +00:00
Tomasz Sowa b7b52c9ebe added: 'remove trailing zeroes' option on 'display' tab
removed: 'cut off last non valid digits' on 'rounding' option
         on 'display' tab



git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@64 e52654a7-88a9-db11-a3e9-0013d4bc506e
2008-04-12 08:52:21 +00:00
Tomasz Sowa 4e75bda5fc changed: variables and functions are case-sensitive now
added:   variables and functions can have underline characters
         in their names


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@62 e52654a7-88a9-db11-a3e9-0013d4bc506e
2008-01-23 23:51:53 +00:00
Tomasz Sowa ee05abc94d added: 'decimal point' option on the display tab
git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@59 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-12-09 20:05:15 +00:00
Tomasz Sowa 01ad539107 changed: precision:
small - the same as previous
	medium - 288 bits for the mantissa, 64 bits for the exponent
	big - 864 bits for the mantissa, 128 bits for the exponent 	
added:  list on the converting tab can be resized horizontally
added:  info in the info edit about units on the converting tab


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@57 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-11-04 21:56:55 +00:00
Tomasz Sowa ae0a8dc911 changed: lists on the convertion tab can be resized now
added: conversion's list: lenght, area, time


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@55 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-11-03 22:56:43 +00:00
Tomasz Sowa d33a6925b1 partial work on the convertion tab
git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@54 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-10-29 21:42:34 +00:00
Tomasz Sowa f59f1e1580 partial work on the convert tab
git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@53 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-09-18 20:08:47 +00:00
Tomasz Sowa 000d884d36 partial work on the converting tab
git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@52 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-08-22 21:16:19 +00:00
Tomasz Sowa 758d881510 added: a conversion tab (gui only)
git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@51 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-08-20 10:44:37 +00:00
Tomasz Sowa c232565953 added: when a user presses CTRL+C then the result will be
copied into the clipboard (if the current control which 
         has a focus is not an edit control, or if it is an edit
         but has no selection)
added:   when a user presses CTRL+V then a text from the clipboard
         will be copied into the edit control (if a focus is not 
         on another edit control)
changed: Makefile: added rules: help, setup
         and more small changes,
         small changes in Makefileportable
changed: Makefile.dep
added:   Makefile.help.sh
         this script calls for Html Help Workshop
         and when there was an error returns 1
         and if success returns 0
         (HtmlHW returns conversely)


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@50 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-08-05 20:31:46 +00:00
Tomasz Sowa af284466d6 added: on the about box info about what is it the portable version
changed status: 0.8.2 version


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@44 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-07-01 18:23:27 +00:00
Tomasz Sowa 97ec3123d9 added: the portable version of the program TTCalc
(it uses *.ini config file from the same folder where
         is the executable file)
changed: Makefile
added:   Makefileportable, Makefile.dep
         Makefileportable uses TTCALC_PORTABLE macro to indicate
         that we're compiling the portable version of the TTCalc
         in portable mode we're compiling with -Os
changed: small changes in almost all files for using with
         TTCALC_PORTABLE macro
         in the portable version we have only one parser
         (as the parsers are leant on templates that
         the program will be smaller now)
changed: in the portable version the bitmap on the about dialog
         has gone away (it was 142kb)
added:   the portable version *.exe is packed by the UPX packer
         (http://upx.sourceforge.net/)
added:   help/bitwise_functions.html
         (I forgot to add it to the repository)


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@43 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-06-24 20:11:14 +00:00
Tomasz Sowa aa10a71d13 changed: on win9x the configuration file is in
"c:\windows\data application\ttcalc\" now
changed: the program uses the TTMath 0.8.1 now
added:   from TTMath 0.8.1:
         root(x, index), bitand(x,y), bitor(x,y), bitxor(x,y)
         /band(x,y), bor(x,y), bxor(x,y)/
         asinh(x), acosh(x), atanh(x), acoth(x) /atgh(x), actgh(x)/
changed: from TTMath 0.8.1: calculations are much faster now
         especially the factorial() function
changed: from TTMath 0.8.1: the way of parsing operators


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@37 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-04-17 13:41:38 +00:00
Tomasz Sowa 8aae2470c5 added: macro: TTCALC_PRERELEASE_VER
git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@31 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-04-05 19:07:37 +00:00
Tomasz Sowa b3d2fc5d24 added: a user can change the names of variables or functions now
changed: the program uses TTMath 0.8.0 now
added: functions: from TTMath 0.8.0:        
       DegToDeg(deg, min, sec), DegToRad(deg), DegToRad(deg, min, sec),
       RadToDeg(rad), Ceil(x), Floor(x), Sqrt(x), Sinh(x), Cosh(x),
       Tanh(x) /Tgh(x)/, Coth(x) /Ctgh(x)/
added: a help
changed: from TTMath 0.8.0:
       renamed: CTan()  into Cot()  or Ctg()
       renamed: ACTan() into ACot() or ACtg()
       Factorial() has a history log now (it can remember last
       10 calculated values)
added: a directory 'help' with files of the help
added: a directory 'setup' with files needed to make an installer
       (we're using InnoSetup Compiler to make it)
fixed: the vertical size of the main window when a user uses a different size
       of the window caption (especially under the Windows XP Luna)
fixed: on Windows 9x: the program hung when a user clicks on a control 
       on the first tab (the procedure SetNextFocus(...) has been completely
       rewritten and the flag WS_EX_CONTROLPARENT on the tab dialogs has
       gone away)
fixed: when started navigating from the keyboard the program showed a wrong
       variable or a funtion in the edit dialog


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@28 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-04-02 00:17:26 +00:00
Tomasz Sowa fcd7cdbabf added: the del key deletes a variable or function now
(if the focus is on the list)
added: showing the error ErrorCode::err_unknown_operator


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@22 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-03-09 19:04:14 +00:00
Tomasz Sowa 51c8432170 fixed: navigation from the keyboard
changed: the esc key selects the entire input text now (in the input edit)
added: a test when the program is being starded which checks if the coordinates of the
       main window actually pointing at the valid area (for example when someone took
       his configuration file into a new computer and the new computer has a smaller screen)
added: a button 'close' on the about dialog
changed: dialogs 'add a variable' and 'add a funtion'


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@21 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-03-08 19:15:55 +00:00
Tomasz Sowa b51fdddf70 added: the program shows some kind of errors itself
added: checking whether an user inserts a correct value of a variable or a function
added: a last column in the variables' and functions' list is resized into the whole space
fixed: some small artefacts on the bitmap in the about dialog


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@20 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-03-02 20:29:27 +00:00
Tomasz Sowa 211f0dada4 fixed: CalculationsProcedure - the 'main_window' must be set later (in the loop)
fixed: the program didn't save the current language into the configuration file
added: buttons Sgn, Mod
changed: now the 'error' button is active only when there's actually an error


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@18 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-02-28 17:52:09 +00:00
Tomasz Sowa 4cc6d78c7e fixed: when the program was run as a maximalized window, the window was only resized horizontly
changed  input edit: can have 2048 characters now
fixed:   the focus (when using the tab key) didn't go from tabs into their controls
added:   a button 'err' which shows us where is an error (an incorrect character etc.)
changed: diplaying an error message is from the main thread now
added:   when the program calculates (for example the factorial) and an user clicks on the 'err' button
         then a 'calculating...' message will be printed


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@14 e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-02-08 17:54:37 +00:00