Commit graph

22 commits

Author SHA1 Message Date
asau
c0ecf1a087 Update to calc 2.12.4.0.
User visible changes:

    Fixed a documentation bug for the sgn() builtin.

    Added the 1<<8/2 evaluation example to "help unexpected".  That
    expression evalutes to 128, not 16 as some C programmers might expect.

    Fixed a bug in solve.cal where high was not returned in some situations.

    Fixed a bug reported by Paul & Karen Tomlinson (paulnkaz at pktomlinson
    dot fsnet dot co dot uk) where calling log multiple times with different
    values of epsilon resulted in an incorrect value.

    Fixed a bug where an certains typos (e.g., calling an unknown
    function) would previously cause calc to exit.
2009-09-03 09:59:09 +00:00
drochner
3ab6eb1564 update to 2.12.3.3
changes: minor fixes (Darwin and build system)
2008-05-29 17:56:35 +00:00
drochner
584fd2cca4 update to 2.12.3.0 (most recent stable release)
changes:
-build system improvements
-Fixed bug where a FILEPOS was copied FPOS_POS_BITS octets instead of
 FPOS_POS_LEN octets.
-documentation improvements
2008-05-05 18:54:05 +00:00
drochner
6f38a01a1e update to 2.12.2
This is a major release. Significant changes include:
* calc may be built with static or dynamic shared libraries
* overhauled Makefiles to use system targets
  - replaced compiler sets with host targets
  - targets include: linux, OS X, FreeBSD, simple, default
  - many changes to Makefile variables
* calc source static and extern variables declared with CPP symbols
  - to make it easier to compile under certain Windoz environments
  - to assist those who are developing a multi-threaded calc lib
* calc library makes it easier to control parse and scan messages
* added Makefile.simple for hosts without GNU Make
* added custom registers
  - when calc is run with the -C flag
* dropped support of md5 and sha-0 hashes
* calc supports real and complex exponentiation bases and exponents
  - i.e., 2.5 ^ 3.5, 0.5i ^ 0.25, 2.5 ^ 2.718i, 3.13145i ^ 0.30103i

added TEST_TARGET
2007-09-18 19:40:19 +00:00
joerg
43f6a6ba80 Just use stdlib.h instead of malloc.h or defining them by hand. 2007-08-01 20:51:45 +00:00
drochner
221c084716 update to 2.12.1.8
changes:
Documentation of # operator, comments, and cscripts.
Documented multi-line statement issues.
Added builtins related to user, system and clock time.
Changed runtime() builtin output.
2007-02-22 20:30:15 +00:00
drochner
afddf28347 update to 2.12.1.5
The changelog is not very clear, afaics there are some build system and
documentation fixes.
2006-10-13 16:52:47 +00:00
drochner
95d5d5ed2f update to 2.12.0.6
too many changes and additions to list here, see the CHANGELOG file
2006-07-04 16:19:28 +00:00
agc
1e46c076aa Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
wiz
42c628194b Update to 2.11.10.1. Changes since 2.11.10:
Fixed a bug reported by the sourceforge user: cedars where:

  ln(exp(6)) == 3         /* WRONG!!! */

incorrectly returned 1.  This bug was fixed by Ernest Bowen
The regression test was expanded to cover this issue.

Added minor improvements to hash regression testing of pi().

Fixed "help script" and the calc man page regarding the requirement
of -f to be the last -flag in shell script mode.  Further clarified
the meaning and placement of the -f flag.

Moved issues with chi.cal intfile.cal into a "mis-features" section
of the BUGS file.  See "help bugs" or the BUGS source file for details.

Added the bug about:

  calc 'read ellip; efactor(13*17*19)'

to the BUGS file.  See "help bugs" or the BUGS source file for details.
Anyone want to track down and fix this bug?
2004-12-26 01:33:40 +00:00
wiz
f0774ebc31 Update to 2.11.10, and drop maintainership.
This release adds changes to better support compiling under cygwin,
improved custom function support, including the addition of the
pmodm127 example and config("compile_custom") and config("allow_custom")
calls, and a missing display help file. It fixes configuration
state hashing, document typos, calc -d (to disable printing of the
leading ~), and some compilation warnings reported under OS X.
2004-09-21 00:10:01 +00:00
wiz
59a0f9e221 Update to 2.11.9.3:
This release fixes a bug related to post incrementing, some regression failures related to compiling under cygwin, and a number of gcc compiler warnings.
2004-06-29 23:57:06 +00:00
jschauma
78f1dc8bf9 This package already depends on ncurses, so let's just use the ncurses
library instead of termcap, which allows compilation under Linux (or other
OS that don't have libtermcap in the base system).
2004-06-02 21:08:33 +00:00
wiz
526430a3ad Update to 2.11.9.2:
Fixed calc man page examples to move -f to the end of the line.
    Thanks goes to Michael Somos <somos at grail dot cba dot csuohio
    dot edu> for pointing this out.

    Linux and gcc now compiled with -Wall -W -Wno-comment.

    Fixed a post increment that was reported by R. Trinler <trinler at
    web dot de> and fixed by Ernest Bowen <ernie at turing dot une dot
    edu dot au>.

    Fixed pi.cal to not depend on the buggy pre-2.11.9 post increment
    behavior.

    Added config("cygwin") to determine if calc was compiled under Cygwin.
    The config("cygwin") is a read-only configuration value that is 1
    when calc was compiled under Cygwin and 0 otherwise.  Regression
    tests 949 and 950 are skipped when config("cygwin") is true.

    The Makefile variable HAVE_NO_IMPLICIT is empty by default so that
    the Makefile will test if the compiler has a -Wno-implicit flag.

    Added HAVE_UNUSED Makefile variable.  If HAVE_UNUSED is empty,
    then the Makefile will run the have_unused program to determine
    if the unused attribute is supported.  If HAVE_UNUSED is set to
    -DHAVE_NO_UNUSED, then the unused attribute will not be used.

    The Makefile builds have_unused.h which defines, if the unused
    attribute is supported:

	#define HAVE_UNUSED /* yes */
	#define UNUSED __attribute__((unused)) /* yes */

    or defines, if the unused is not supported (or if the Makefile
    variable is HAVE_UNUSED= -DHAVE_NO_UNUSED):

	#undef HAVE_UNUSED /* no */
	#define UNUSED /* no */

    Fixed numerous warnings about comparison between signed and unsigned
    value warnings and unused parameter warnings in version.c, zrand.c,
    string.c, shs1.c, shs.c, qtrans.c, qmath.c, qfunc.c, md5.c, matfunc.c,
    hist.c, file.c, const.c, blkcpy.c, seed.c, opcodes.c, func.c, qio.c,
    zrandom.c, custom/c_argv.c, custom/c_devnull.c, custom/c_help.c,
    custom/c_sysinfo.c, addop.c and calc.c.

    Fixed some typos in this file.

    By default, compile with -O3 -g3.  The Makefile comments on how some
    distributions might need to use -O2 -g or -O -g.
2004-03-10 18:17:11 +00:00
wiz
c28f040074 Update to 2.11.8:
Clarify that the internal hash as well as the hash builtin
    function used by calc, while based on the Fowler/Noll/Vo
    hash is NOT an FNV hash.

    Made slight performance improvements to calc by an optimization of how
    calc's internal hash is computed.  The "make chk" regression test
    runs about 1.5% faster (when compiled with -O3 on an AMD Athlon)
    NO_HASH_CPU_OPTIMIZATION is not defined.  Calc's internal hash values
    have not changed.  By default, NO_HASH_CPU_OPTIMIZATION is NOT defined
    and the slightly faster expression is used.

    A slight modification of what was known as the "calc new stardard"
    configuration (calc -n or config("all", "newstd")) is now the default
    calc configuration.  The flag:

        calc -O

    was added to get the old classic calc configuration.  The flag command
    line flag, -n, now does nothing.  Use of -n is deprecated and may go
    away / be used for something else in the future.

    The following table gives the summary of these changes:

             pre v2.11.8                     v2.11.8
             default         pre v2.11.8     -O & oldstd      v2.11.8
             and oldstd      -n & newstd     classic cfg      default
             --------------------------------------------------------
    epsilon     1e-20           1e-10           1e-20           1e-20
    quo         2               2               2               2
    outround    2               24              2               24
    leadzero    0               1               0               1
    fullzero    0               1               0               0
    prompt      >               ;               >               ;
    more        >>              ;;              >>              ;;

    With the exception of epsilon being 1e-20, and fullzero being unset,
    the new default calc config is like it was (pre-2.11.8) with calc -n /
    config("all", "newstd").

    The new default config is the old classic config with outround being
    24, leadzero being set, and the prompts being ;'s.
2003-08-30 23:27:30 +00:00
wiz
2f01340be7 Update checksum: Some changes for RPM support, version not bumped.
Closes PR 20521.
2003-02-28 19:26:34 +00:00
wiz
a9f8445e9f Update to 2.11.7: Makefile changes, bugfixes. 2003-02-26 09:44:36 +00:00
wiz
ee6c5ba041 Update to 2.11.6.2
Changes: New repeat.cal, bug and portability fixes.
2003-01-16 15:40:12 +00:00
wiz
2d56312387 Update to 2.11.6.
News:
base2(), powerterm, lavarand -> LavaRnd, fproduct, and lots of bug fixes.
2003-01-03 20:35:29 +00:00
jlam
345f7a105a Use devel/readline/Makefile.readline to handle using libedit readline
emulation or depending on the readline package.
2001-05-16 20:28:40 +00:00
agc
fa5c767d84 Move to sha1 digests, and add distfile sizes. 2001-04-19 08:45:37 +00:00
agc
9e8d6c8b8d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:33:31 +00:00