[Freedos-user] FoxCalc: New version on-line... v0.83

2007-05-22 Thread Mateusz Viste
Hi,

It's me...  Again ;-)
Just to say that I released a new version of FoxCalc. It's basically just a 
bug-fix release (ie. no new features here), but worth to download anyway. :)

What's new in v0.83:
- Fixed a little mouse's cursor display bug when clicking on buttons,
- Fixed thousand sep. insertion (appeared sometimes on the number's front),
- Switching to scientific notation (00E+00) for numbers = 1,
- Added overflow checking for x!,
- Compiled with FreeBASIC v0.17b.

Of course, there is still much to do before the 1.0 version...
- Add compatibility with monochrome screen modes,
- Emulating PCOPY (restoring initial screen before quitting),
- Checking for overflow before any operations,
- Fix large number + fract storing (eg. 999'999'999.99),
- Add a config file for color schemes,
- Backspace key to remove last typed number...

Available at http://mateusz.viste.free.fr/dos/en/foxcalc.htm

Bye!
Mateusz Viste Fox

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FoxCalc: New version on-line... v0.83

2007-05-22 Thread tom ehlert
Hello Mateusz,

a) try to enter 5.55  (shouldn't result in 5)

b) try x^2 a couple of times (application crashes)

tom



Tuesday, May 22, 2007, 11:45:54 AM, you wrote:

 Hi,

 It's me...  Again ;-)
 Just to say that I released a new version of FoxCalc. It's basically just a
 bug-fix release (ie. no new features here), but worth to download anyway. :)

 What's new in v0.83:
 - Fixed a little mouse's cursor display bug when clicking on buttons,
 - Fixed thousand sep. insertion (appeared sometimes on the number's front),
 - Switching to scientific notation (00E+00) for numbers = 1,
 - Added overflow checking for x!,
 - Compiled with FreeBASIC v0.17b.

 Of course, there is still much to do before the 1.0 version...
 - Add compatibility with monochrome screen modes,
 - Emulating PCOPY (restoring initial screen before quitting),
 - Checking for overflow before any operations,
 - Fix large number + fract storing (eg. 999'999'999.99),
 - Add a config file for color schemes,
 - Backspace key to remove last typed number...

 Available at http://mateusz.viste.free.fr/dos/en/foxcalc.htm

 Bye!
 Mateusz Viste Fox

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user

Mit freundlichen Grüßen / Kind regards,
Tom Ehlert
+49-241-79886


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FoxCalc: New version on-line... v0.83

2007-05-22 Thread Mateusz Viste
On Tuesday 22 May 2007 12:16, tom ehlert wrote:
 a) try to enter 5.55  (shouldn't result in 5)
 b) try x^2 a couple of times (application crashes)

I know, that's what I said in

 Tuesday, May 22, 2007, 11:45:54 AM, I wrote:
  Of course, there is still much to do before the 1.0 version...
  - ...
  - Checking for overflow before any operations,
  - ...

Overflow bugs aren't fixed yet (currently, the only overflow-proof function is 
x!), they will be fixed in the next version. Anyway, to get such bug you 
would have to work with _really_ big numbers :-)

Bye!
Mateusz Viste Fox

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FoxCalc: New version on-line.

2007-05-21 Thread Stegozor
On 5/15/07, Mateusz Viste [EMAIL PROTECTED] wrote:

 Do you think FreeDOS needs such a calc application? I know there is already
 FDRC, which is a resident calculator, but haven't a nice TUI like FoxCalc
 ;-P

Well, FDRC uses Reverse Polish notation, it seems to be a rather
developer oriented tool.
As for Foxcalc I can say that in my view, a calculator application (I
mean, for human beings) is always good. I use the calc utility of
Windows fairly often so I see no reason why FreeDOS wouldn't have such
a tool included. If possible, adding a scientific mode would be nice
(sin, cos, tan, displaying say 100 as 1E06, brackets,  basic stats
(ie enter your data and see characteristic values like standard
deviation, mean etc. when finished). I don't use these functions
anymore, but there was a time when I really needed them. A backspace
key to erase the most recently entered character might be useful, too.

Also note that FoxCalc doesn't return any error message when you
divide a number by zero or when you try to get the square root of a
negative number.
Another possible bug: try  9 999 999 999 999 999 * 9 999 999 999 999.
Note the content of the calculator's screen. And then press x^2
until FoxCalc returns an error: it doesn't seem to check overflow.

I got this error message on Windows Millennium's DOS window :

 ++
 ¦¦
 ¦  +--+  ¦
 ¦  ¦Exiting due to signal SIGSEGV000 000 000 000 000 000 00
General Protection Fault at eip=00017e9a0 000 000 000 000 000 000 000 000 000 00
eax=0101 ebx=674ec804 ecx=0101 edx=01793d97 esi=01793e70 edi=30303030
ebp=01793d9c esp=01793b14 program=C:\WINDOWS\BUREAU\FOXCALC\FOXCALC.EXE
cs: sel=00af  base=86452000  limit=03fd9fff   ¦
ds: sel=00b7  base=86452000  limit=03fd9fff  M-  AC   ¦
es: sel=00b7  base=86452000  limit=03fd9fff   ¦
fs: sel=00bf  base=  limit=0010  MR  C¦
gs: sel=00bf  base=  limit=0010   ¦
ss: sel=00b7  base=86452000  limit=03fd9fff  MC  ¦
App stack: [01794000..01714000]  Exceptn stack: [0002583c..000238fc]
 ¦   MOD0 . +/-  ?¦
Call frame traceback EIPs:¦
  0x00017e9a ++
  0x30303030


 Please give your opinions!

Done :) FDCalc sounds nice and has less than 8 letters.

PS: If the author of FDRC reads this message, please note that I
didn't forgot the translation. You'll receive the file soon. Sorry for
the delay.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FoxCalc: New version on-line.

2007-05-21 Thread Mateusz Viste
On Monday 21 May 2007 10:46, Stegozor wrote:
 Well, FDRC uses Reverse Polish notation, it seems to be a rather
 developer oriented tool.

That's what I think too :)

 As for Foxcalc I can say that in my view, a calculator application (I
 mean, for human beings) is always good. I use the calc utility of
 Windows fairly often so I see no reason why FreeDOS wouldn't have such
 a tool included. 

I am using a calc tool too - not the win's calc, but KCalc under Suse. Anyway, 
the point is the same - it's always good to have a simple calc tool, no 
matter under which OS.

 If possible, adding a scientific mode would be nice 
 (sin, cos, tan, displaying say 100 as 1E06, brackets,  basic stats
 (ie enter your data and see characteristic values like standard
 deviation, mean etc. when finished). I don't use these functions
 anymore, 

I tried to keep FoxCalc as simle as I could, without such expert things (I 
added MOD just because it was trivial to do so). Personally, I never use 
functions like sin/cos/tan etc, so I don't feel such need...
the 1E06 notation is automatic when when the display number gets to high. 
Brackets are pretty hard to implement now, as I designed FoxCalc from the 
begin as a replacement for all those cheap hand calculator, so it have the 
memory for only 2 numbers (the result + currentWorkNumber)...
In fact, the only time in my life when I needed such scientific calculations 
was when I was at the university... I think that if someone needs an advanced 
calculator, he should rather look after CALC387 or FDRC...

 A backspace 
 key to erase the most recently entered character might be useful, too.

Right, that could be okay... I should implement that before the 1.0 version.

 Also note that FoxCalc doesn't return any error message when you
 divide a number by zero or when you try to get the square root of a
 negative number.

You're wrong. FoxCalc checks those conditions, and if division by zero or 
square negative, it returns Inf.

 Another possible bug: try  9 999 999 999 999 999 * 9 999 999 999 999.
 Note the content of the calculator's screen. And then press x^2
 until FoxCalc returns an error: it doesn't seem to check overflow.

I didn't checked that before... :(
I will have to fix that soon.

 FDCalc sounds nice and has less than 8 letters.

Right :)
I'm waiting to see if I got some similar answers (so far, I got only two 
answers, including yours...). If no interest from other FreeDOS user's, I 
will just stay with FoxCalc...

Bye,
Mateusz Viste

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FoxCalc: New version on-line.

2007-05-21 Thread Mateusz Viste
On Monday 21 May 2007 19:41, Oleg O. Chukaev wrote:
 Small suggestion to Mateusz Viste: make a configuration file for
 FoxCalc to change default colors.

Good idea.
I added it to the to-do list ;-)

Regards,
Mateusz V.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] FoxCalc: New version on-line.

2007-05-15 Thread Mateusz Viste
Hi guys!

As I got some support questions/suggestions/bug reports, I have updated 
FoxCalc.

What's new in FoxCalc v0.82:
- Fixed the divide by 0 MOD bug,
- Updated the LICENCE.TXT file (FSF address has changed),
- Added an descriptive *.LSM file to the package,
- Added my email address to the ? command,
- Changed % behavior in case of addition or subtraction (x+y% = x+x*y%),
- Codepage detection (buttons are ok on all codepages).. Thanks DrV!,
- Added thousand separator (taken from the operating system's settings).

Still UPX'ed with an old UPX version, as I haven't updated my compressor yet, 
but next version should be packed with UPX 3.0.

Download here: http://mateusz.viste.free.fr/dos/en/foxcalc.htm

Do you think FreeDOS needs such a calc application? I know there is already 
FDRC, which is a resident calculator, but haven't a nice TUI like FoxCalc ;-P
Please give your opinions!

If you think FoxCalc is something worth to stick onto FreeDOS, please tell 
here. That way I would rename the next version to, say, FDCalc, or FreeDOS 
Calc, or anything, to make it an official part of the FreeDOS project.

Best regards,
Mateusz Viste Fox

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user