Commit Graph

27 Commits

Author SHA1 Message Date
Tomasz Sowa e960c2adea updated: help
git-svn-id: svn:// 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:// 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

git-svn-id: svn:// 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:// 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:// 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:// 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:// 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:// 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:// 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:// 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:// 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:// 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:// 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:// 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:// 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
         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:// 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:// 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
added:   help/bitwise_functions.html
         (I forgot to add it to the repository)

git-svn-id: svn:// 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:// 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:// 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:// 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:// 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:// 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:// 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:// 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:// e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-02-08 17:54:37 +00:00
Tomasz Sowa 368711c76c initial import
git-svn-id: svn:// e52654a7-88a9-db11-a3e9-0013d4bc506e
2007-01-22 11:12:01 +00:00