Revisions of calc

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1115823 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 41)
- Update to 2.15.0.1:
  * The tarball for calc version 2.15.0.0 was missing version.h.
    The version.h is now listed as part of the calc distribution.
    See gh/lcn2/calc#112

- Update to 2.15.0.0:
  * Added the several new trigonometric functions
  * Added log2(x [,eps]) builtin function
  * The sign element in a ZVALUE is now of type SIGN, which is either
    SB32 when MAJOR_VER < 3, or a bool otherwise
  * Added new logn(x, n [,eps]) builtin to compute logarithms to base n.
- Add calc-2.15.0.0-versionh.patch to fix build
  See gh/lcn2/calc#112

- Update to 2.14.3.5:
  * Under macOS, to reduce dependency chains, we remove functions
    and data that are unreachable by the entry point or exported
    symbols.  In particular, the macOS linker is used with both
    "-dead_strip" and "-dead_strip_dylibs".
  * The libcalc shared library is now linked with libcustcalc.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1103979 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 40)
- Update to 2.14.3.4:
  * Fix typo in the make debug Makefile rule.
  * Fix install of statically linked calc under macOS 
  * Update comments in Makefile.local about using -fsanitize
  * Add Makefile.local comments for macOS reduce dependency chains 
  * Fix calc when CUSTOM is undefined, remove PASSDOWN values 
  * Fix use of -dead_strip_dylibs for macOS linker
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1102112 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 39)
- Update to 2.14.3.0:
  * The Darwin specific ${DARWIN_ARCH}, thay by default was unset,
    is now the ${ARCH_CFLAGS} Makefile variable.  Comments about
    various "-arch name" have been moved to the ${ARCH_CFLAGS} area.
  * Improved the output of the calcinfo rule by adding echos
    of various uname values as well as some top Makefile variables.
  * Fixed the BUGS file with respect to using `make debug`.
  * Added a final ls of `debug.out` for `make debug`.
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 1101458 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 38)
- Update to 2.14.2.2:
  * Removed references to obsolete Email addresses.
  * macOS Darwin defaults LCC to "cc".
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1100981 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 37)
- Update to 2.14.2.1:
  * Added cal/fnv_tool.cal, a calc resource file defining:
    find_fnv_prime(bits)
    deprecated_fnv0(bits,fnv_prime,string)
    fnv_offset_basis(bits,fnv_prime)
    fnv1a_style_hash(bits,fnv_prime,prev_hash,string)
  * Fixed sorted order of cal/README.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1090155 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 35)
- Update to 2.14.1.6:
  * Fixed version numbers in two cases in CHANGES that referred
    to the 2.14.2.x instead of 2.14.1.x.
  * Rename MINGW Makefile variable (a holdover from MINGW32_NT-5.0)
    to OSNAME.
  * Fixed FUNCPTR typedef in hist.c to fix deprecated compiler warnings.
  * Fixed when USE_READLINE, READLINE_LIB, READLINE_EXTRAS, and
    READLINE_INCLUDE are set to empty (disable use of the GNU-readline
    facility).
  * Fix cases of spaces before tabs in Makefile and Makefile.simple.
  * Fixed obsolete references to the atoz() in LIBRARY to use the
    correct internal function name of str2z().
  * Fixed obsolete references to the atoq() in LIBRARY to use the
    correct internal function name of str2q().
  * Document in help/unexpected that * operator has has a higher
    precedence than << in calc, which differs from C.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1065983 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 33)
- Update to 2.14.1.3:
  * Fixed missing <string.h include in have_fpos_pos.c.
  * Change calc version from 2.14.1.2 to 2.14.2.3 as part of a test to
    build calc RPMs on a reference RHEL8.7 platform (formerly a RHEL7.9
    platform).
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1039276 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 32)
- Update to 2.14.1.2:
  * Restored use of the #define FPOS_POS_LEN symbol.  This refers to
    the length of the __pos element (if the __pos element exists),
    the fpos_t type (if that type exists).
  * Changed SWAP_HALF_IN_FILEPOS(dest, src) mato to use FILEPOS_LEN Little
    Endian when FILEPOS is a simple scalar type (i.e., HAVE_FILEPOS_SCALAR
    is defined).
  * Changed #define HAVE_FPOS to HAVE_FGETSETPOS.
  * Corrected comment in have_fpos_pos.h.  The HAVE_FPOS_POS symbol was
    NOT related to fgetpos & fsetpos but rather if we we have an __pos
    element in FILEPOS.
  * Changed #define HAVE_NO_FPOS to HAVE_NO_FGETSETPOS.
  * Improved comments in have_fpos_pos.h to show why and how
    HAVE_FPOS_POS, FPOS_POS_BITS, and FPOS_POS_LEN were defined or undefed.
  * Changed showfiles builtin to print sizes cast to (long int) with
    the "%ld" printf format to avoid implementations that do not support
    the "%lld" printf format specifier.
  * Renamed have_fpos.h to have_fgetsetpos.h.  Renamed CALC_HAVE_FPOS_H
    to CALC_HAVE_FGETSETPOS_H.  The make install and the olduninstall
    rules remove the any old have_fpos.h that was previously installed.
  * Added swap_HALFs(dest, src, len) function to byteswap.c.
  * Calc can now handle Big Engian file position sizes that are a
    multiple of BASEB bits in length.  Before handle Big Engian file
    positions could only be 32 and 64 bits in length.  This will allow,
    for example, a Big Engian file position size of 128 (assuming that
    128/BASEB is is an integer).
  * Temporary workaround for musl libc systems such as gentoo Linux that
    allows them to compile calc and successfully run the regression test.
- Update to 2.14.1.1:
  * Added a few remarks on calc version numbers to version.c.
  * Fixed how several headers are built.  On a number of systems, the source
    file failed to compile incorrectly.  This caused problems for systems in
    which header.h.def was not correct.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 969339 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 31)
- Update to 2.14.1.0:
  * Fixed alignment of show item section of help command.
  * Bug fix: While 0^0 == 1, now for y > 0, 0^y == 0.
  * Adjusted cal/test8900.cal to reflect this bug fix.
  * Added tests to cal/regress.cal to help verify bug fix is fixed.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 946083 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 30)
- Update to 2.14.0.14:
  * Fixed typo in Makefile.local comment.
- Remove calc-rpmlintrc: lib doesnt call exit() anymore

- Update to 2.14.0.13:
  * Minor tweak to seed() builtin. Updated help/srand and help/srandom.
  * Moved Makefile.ship into Makefile.
  * Removed custom/Makefile.head and custom/Makefile.tail.
  * The "README.*" files and "HOWTO.INSTALL" file have been updated.
  * By default, compiler warnings have been turned up.
  * The readline, history and ncurses libraries are now default.
  * We have renamed "stable" as "production".
  * We have renamed "unstable" as "tested".
  * Fixed bug impacting how have_ustat.h was formed.

- Update to 2.14.0.12:
  * Drop support for SunOS, IRIX and MINGW32_NT-5.0 targets.
  * Drop support for CLOCK_SGI_CYCLE.  Drop testing for __MSDOS__.
  * Minor improvement of various help files.  Made format of help
    files more consistent.
  * Corrected a few comments in zrandom.c, including a case where
    the comment referred to 1007 when it should have used 2^32.
  * Improved seed() generation.  Improved some comments in seed.c.
    Added have_environ.c to build have_environ.h in order to
    determine if: extern char **environ;  /* user environment */
    is an valid external symbol.
  * Fixed documentation that referred to the old additive 55
    generator.  We have been using the subtractive 100 in place
    of the additive 55 generator for a while now.
  * Fixed depend rule for custom/Makefile.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 928961 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 29)
- Update to 2.14.0.6:
  * Fixed typo in cal/statistics.cal
  * Fixed an old Windoz pun in README.WINDOWS
  * Fixed a really obscure bug in the internal initconstants()
    function of const.c that has been sitting for over 31 years!
  * Fixed issues identied by the default CodeUL GitHub security code scan:
    + Wrong type of arguments to printf in have_fpos_pos.c
    + Multiplication result converted to larger type in zfunc.c
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 917672 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 27)
- Update to 2.14.0.2:
  * The clean and clobber makefile rules no longer list custom/Makefile
    as a dependency.
  * Unfortunately due to the complex dependency issues between
    Makefile, Makefile.ship and custom/Makefile, parallel GNU make
    is NOT recommended.
  * Fixed a few typos in CHANGES.
  * As a side note: We stayed v2.13.x was kept for only a short time.
    The move to 2.14.x was motivated by non-compatible changes due to
    the default order of CALCRC, plus some new builtin functions.
  * More changes are likely, so we might see another v2.14.0.x release
    before things are declared "recommended stable".
  * Not that we wan to discourage people from trying v2.14.0, you should
    try it.  We just want things to become stable and well field tested
    before we reach the "recommended stable" release state.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 917248 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 26)
- Update to 2.14.0.0:
  * The :-separated default CALCRC value has been reversed.
    The default CALCRC was:
    ${CALC_SHAREDIR}/startup:~/.calcrc:./.calcinit
    The default CALCRC is now:
    ./.calcinit:~/.calcrc:${CALC_SHAREDIR}/startup
    See "help environment" for details.
  * Added engineering mode as per a GitHub pull request:
    ; config("mode","eng"),
    ; 10^41
    	100e39
    or for example:
    ; base(1000),
    ; 2^23209-1
  	~402.87411577898877818187e6984
    For more information see: help base
  * Added regression test code for engineering mode.  Improved and
    expanded regression test code related to the base() and base2()
    builtin functions.
  * Fixed a critical bug in the above mentioned pull request where
    a call to base2(1000) would make calc unstable and likely to
    dump core.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 893058 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 25)
- Update to 2.13.0.1:
  * Replaced /usr/local with the use of ${PREFIX} in calc Makefiles.
    The ${PREFIX} is not the same as ${T}.  The ${T} specifies
    a top level directory under which calc installs things.
    While usually ${T} is empty, it can be specific path
    as if calc where "chrooted" during an install.
    The ${PREFIX} value, during install, is a path between
    the top level ${T} install directory and the object
    such as an include file.
  * Corrected a few more typos in Makefile comments.
    - Added Makefile.local, a file with a single comment.  The main
     Makefile includes Makefile.local just before the first all rule.
     One may override any Makefile setting by modifying Makefile.local.
     For example, Makefile.local could force BLD_TYPE:
     HAVE_STRING_H:= YES
     HAVE_TIMES_H:= YES
     SED:= /usr/local/bin/nsed
    - Added ${LOC_MKF} to specify the make of the file that is
      included just before the all file.  So one could place
      the above override lines into a different file and call
      make changing the ${LOC_MKF} value.  For example:
    - make LOC_MKF=Makefile.private clobber all chk
    - Updated HOWTO.INSTALL to mention Makefile.local.
Richard Brown's avatar Richard Brown (RBrownSUSE) accepted request 883534 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 24)
- Update to 2.13.0.0:
  * Fixed typo (missing quotes) in the env rule.
  * Fixed intendation problem in CHANGES.
  * Combined 2.12.9.1 changes into the 2.12.8.2 to 2.12.9.0
    range, and thus renamed the range to 2.12.8.2 to 2.12.9.1.
  * Fixed issues related to building Makefile.simple.
  * Fixed how the Makefile variable MANPATH is set for macOS.
  * Added a bunch of information to the near bottom of HOWTO.INSTALL
    on calc Makefiles.  This information discusses the various
    Makefiles found in the calc source.
  * Added comments in various calc Makefiles about their origin.
    In particular, for Makefiles that are constructed such as
    Makefile.simple, custom/Makefile and custom/Makefile.simple
    there are comments about how they were made.
  * For all calc Makefiles, including those in sub-directories,
    near the top there is now a line of the form:
    # SRC: ... some message about the origin ...
  * Fixed how the calc(1) man page is installed under macOS.
  * Fixed how calc man page in ${CATDIR} is formed.
  * Fixed how Makefile.simple is formed.
  * Fixed the #! calc script argument processing.  The initial #!
    line must end in a -f.  For example, if calc is in /usr/local/bin/calc,
    then the following would be the first line of a calc script:
  * It is common that -q be usde with a calc script, so assuming the
    same /usr/local/bin/calc path
  * Use of -s in the #! first line of a calc script is not needed
    since -f implies -f.
  * The argv() will now return values more typical of C's main().
    Before it returned one less than the number of arguments.  Now,
    for example, when calc is given 2 args, argv() will return 3.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 878494 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 23)
- Update to 2.12.19.0:
  * Added notes to help/unexpected about:
    display() will limit the number of digits printed after decimal point
    %d will format after the decimal point for non-integer numeric values
    %x will format as fractions for non-integer numeric values
    fprintf(fd, "%d\n", huge_value) may need fflush(fd) to finish
  * Fixed Makefile dependencies for the args.h rule.
  * Fixed Makefile cases where echo with -n is used.  On some systems,
    /bin/sh does not use -n, so we must call /bin/echo -n instead
    via the ${ECHON} Makefile variable.
  * Add missing standard tools to sub-Makefiles to make them
    easier to invoke directly.
  * Sort lists of standard tool Makefile variables and remove duplicates.
  * Declare the SHELL at the top of Makefiles.
  * Fixed the depend rule in the custom Makefile.
  * Improved the messages produced by the depend in the Makefiles.
  * Changed the UNUSED define in have_unused.h to be a macro with
    a parameter.  Changed all use of UNUSED in *.c to be UNUSED(x).
  * Removed need for HAVE_UNUSED in building the have_unused.h file.
  * CCBAN is given to ${CC} in order to control if banned.h is in effect.
  * The banned.h attempts to ban the use of certain dangerous functions
    that, if improperly used, could compromise the computational integrity
    if calculations.
  * In the case of calc, we are motivated in part by the desire for calc
    to correctly calculate: even during extremely long calculations.
  * If UNBAN is NOT defined, then calling certain functions
    will result in a call to a non-existent function (link error).
Displaying revisions 1 - 20 of 42
openSUSE Build Service is sponsored by