Revisions of calc
Michael Vetter (jubalh)
committed
(revision 97)
- Update to 2.15.0.6: * A long standing memory leak in zrandom.c has been fixed.
Michael Vetter (jubalh)
committed
(revision 96)
- Update to 2.15.0.5: * make clobber now removes the legacy files: have_fpos.h, help/man, and help/usage. The latter 2 are now managed as help aliases in help.c. * make install now removes the legacy files: ${HELPDIR}/man and ${HELPDIR}/usage. * Fixed a problem where, when calc was linked with and uses GNU readline then for any multi-line copy-and-paste, only the first line is executed. Thanks to GitHub user @malfisya for reporting this problem, and thanks to GitHub user @gromit1811 for doing the research needed to overcome deficiencies in the GNU readline documentation, and for supplying the work-a-round to allow multi-line copy-and-paste to work as expected!
Michael Vetter (jubalh)
committed
(revision 95)
- Update to 2.15.0.4: * Fixed bug that caused calc to fail to compile filepos2z() in file.c on little endian machines for the Debian apcalc package. * Removed unused macros from zmath.h: + SWAP_B32_IN_HASH(dest, src) + SWAP_B16_IN_HASH(dest, src) + SWAP_B8_IN_HASH(dest, src) + SWAP_B32_IN_FLAG(dest, src) + SWAP_B16_IN_FLAG(dest, src) + SWAP_B8_IN_FLAG(dest, src) * When SWAP_HALF_IN_B32(dest, src), SWAP_B32_IN_FULL(dest, src), SWAP_B16_IN_HALF(dest, src), SWAP_B32_IN_bool(dest, src), or SWAP_B32_IN_LEN(dest, src), SWAP_HALF_IN_FILEPOS(dest, src) is an assignment such as: (*(dest) = *(src)) We now case the dest and src pointers to the proper type before referencing and performing the assignment. * Documented unexpected behavior when calc is running in "shell script mode" and the prompt builtin function is used without the -p flag. Updated help/prompt, help/unexpected and the calc man page accordingly. * Unless calc is given the -p command line option, calc will reopen stdin as /dev/null instead of just closing stdin. This prevents subsequent opens grabbing the 1st file descriptor. * Disable regress tests 4709, 4710, and 7763 because they print multi-byte sequences, which are just fine for calc, the awk used to evaluate the regression suite output in some legacy systems report a "multibyte conversion failure". * Added a number of missing Makefile variables to the "make env" rule. * The man command is used to format the calc.1 man page into calc.usage.
Michael Vetter (jubalh)
committed
(revision 94)
- Update to 2.15.0.2: * Added ${FSANITIZE} make variable to Makefile.config to hold common Address Sanitizer (ASAN) optins to modern Linux and macOS. The Address Sanitizer is NOT enabled not compiled in by default. Improved comments in Makefile.local for RHEL9.2 (Linux) and for macOS 14.0 that, when uncommented and calc is recompiled (i.e., make clobber all) will enable the Address Sanitizer (ASAN) for calc. * Fixed memory leaks in the logn, aversin, acoversin, avercos, acovercos, ahaversin, ahavercos, ahacovercos, aexsec, aexcsc, and acrd. * Fixed a compile error in zmath.h that impacted legacy 32-bit Big Endian machines. * Fixed the check for <sys/mount.h> when forming have_sys_mount.h. * Added "STATIC bool blum_initialized = false" to zrandom.c to improve how the code detects if the Blum-Blum-Shub pseudo-random number generator is seeded or not, and how to free the state correctly.
buildservice-autocommit
accepted
request 1115823
from
Michael Vetter (jubalh)
(revision 93)
baserev update by copy to link target
Michael Vetter (jubalh)
committed
(revision 92)
- 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
Michael Vetter (jubalh)
committed
(revision 91)
Michael Vetter (jubalh)
committed
(revision 90)
- Add calc-2.15.0.0-versionh.patch to fix build See gh/lcn2/calc#112
Michael Vetter (jubalh)
committed
(revision 89)
- 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.
Michael Vetter (jubalh)
committed
(revision 88)
- 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.
buildservice-autocommit
accepted
request 1103979
from
Michael Vetter (jubalh)
(revision 87)
baserev update by copy to link target
Michael Vetter (jubalh)
committed
(revision 86)
- 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
buildservice-autocommit
accepted
request 1102112
from
Michael Vetter (jubalh)
(revision 85)
baserev update by copy to link target
Michael Vetter (jubalh)
committed
(revision 84)
- 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`.
buildservice-autocommit
accepted
request 1101458
from
Michael Vetter (jubalh)
(revision 83)
baserev update by copy to link target
Michael Vetter (jubalh)
committed
(revision 82)
- Update to 2.14.2.2: * Removed references to obsolete Email addresses. * macOS Darwin defaults LCC to "cc".
buildservice-autocommit
accepted
request 1100981
from
Michael Vetter (jubalh)
(revision 81)
baserev update by copy to link target
Michael Vetter (jubalh)
committed
(revision 80)
- 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.
buildservice-autocommit
accepted
request 1100578
from
Michael Vetter (jubalh)
(revision 79)
baserev update by copy to link target
Michael Vetter (jubalh)
accepted
request 1100038
from
Sarah Kriesch (AdaLovelace)
(revision 78)
- Update to 2.14.2.0: * Ported calc to the s390x IBM Mainframe
Displaying revisions 1 - 20 of 97