Releases: gavinhoward/bc
Releases · gavinhoward/bc
Version 1.1.3
This release contains a fix for a bug in the test suite where bc
tests and dc
tests could not be run in parallel.
$ sha512sum bc-1.1.3.tar.xz
52c0574f4c47937f59525f37868f47f270e988225fcb729caaf36757aeda0335d1e76904dcaaf362a9781b1277f19d69cd70cfc3d3e1ae78fca120cdad57b587 bc-1.1.3.tar.xz
$ sha256sum bc-1.1.3.tar.xz
a70b498062316a67dfe8a12ac7e2697e7342004c84b1b5543332638ed261f5a4 bc-1.1.3.tar.xz
$ stat -c '%s %n' bc-1.1.3.tar.xz
108436 bc-1.1.3.tar.xz
Version 1.1.2
This release has a fix for a history bug; the down arrow did not work.
$ sha512sum bc-1.1.2.tar.xz
0e48f518a43d5a86aaca489a72fb9c1c5423e21c0e167306424f13fdc5da32f91cca20d1a07e97638366ae8f2798c867b63cada6554955e6b8402a3bbcacdd4d bc-1.1.2.tar.xz
$ sha256sum bc-1.1.2.tar.xz
6ac9b359d894824eb62b9365260f3ebfc9405bd8d51a7b312547875ec6f5b991 bc-1.1.2.tar.xz
$ stat -c '%s %n' bc-1.1.2.tar.xz
108776 bc-1.1.2.tar.xz
Version 1.1.1
This release fixes a bug in the 1.1.0 build system. The source is exactly the same.
The bug that was fixed was a failure to install if no EXECSUFFIX
was used.
$ sha512sum bc-1.1.1.tar.xz
b1e683f7dc3c73cb5d7a0561489806a2d80e9b4c2d84b5cb5fe03a2ebfd7422641cce8318c5bc47bf9397c3127632636dd4e1ff801331a3b7e55f57075679973 bc-1.1.1.tar.xz
$ sha256sum bc-1.1.1.tar.xz
7e8d427c37223aa7da2dd83ef8503236834ed6c0bd0b94fcba041699e4bc125d bc-1.1.1.tar.xz
$ stat -c '%s %n' bc-1.1.1.tar.xz
108416 bc-1.1.1.tar.xz
Version 1.1.0
This is a production release. However, many new features were added since 1.0.
- The build system has been changed to use a custom, POSIX shell-compatible configure script (
configure.sh
) to generate a POSIX make-compatible Makefile, which means thatbc
anddc
now build out of the box on any POSIX-compatible system. - Out-of-memory and output errors now cause the
bc
to report the error, clean up, and die, rather than just reporting and trying to continue. - Strings and constants are now garbage collected when possible.
- Signal handling and checking has been made more simple and more thorough.
BcGlobals
was refactored intoBcVm
andBcVm
was made global. Some procedure names were changed to reflect its difference to everything else.- Addition got a speed improvement.
- Some common code for addition and multiplication was refactored into its own procedure.
- A bug was removed where
dc
could have been selected, but the internal#define
that returnedtrue
for a query aboutdc
would not have returnedtrue
. - Useless calls to
bc_num_zero()
were removed. - History support was added. The history support is based off of a UTF-8 aware fork of
linenoise
, which has been customized withbc
's own data structures and signal handling. - Generating C source from the math library now removes tabs from the library, shrinking the size of the executable.
- The math library was shrunk.
- Error handling and reporting was improved.
- Reallocations were reduced by giving access to the request size for each operation.
abs()
(b
command fordc
) was added as a builtin.- Both calculators were tested on FreeBSD.
- Many obscure parse bugs were fixed.
- Markdown and man page manuals were added, and the man pages are installed by
make install
. - Executable size was reduced, though the added features probably made the executable end up bigger.
- GNU-style array references were added as a supported feature.
- Allocations were reduced.
- New operators were added:
$
($
fordc
),@
(@
fordc
),@=
,<<
(H
fordc
),<<=
,>>
(h
fordc
), and>>=
. - An extended math library was added. This library contains code that makes it so I can replace my desktop calculator with this
bc
. See the manual for more details. - Support for all capital letters as numbers was added.
- Support for GNU-style void functions was added.
- A bug fix for improper handling of function parameters was added.
- Precedence for the or (
||
) operator was changed to match GNUbc
. dc
was given an explicit negation command.dc
was changed to be able to handle strings in arrays.
$ sha512sum bc-1.1.0.tar.xz
65bf4486139e7e06a6063e1ec6b09cd035996743742cf9a604660ccb5af9a419be6ddee1b23c4194d6078a324b0f77655fa0fa627f0e2bec6d47235efe320b89 bc-1.1.0.tar.xz
$ sha256sum bc-1.1.0.tar.xz
97064182c73d0796b077ffdeea599380eb6a8d784e87936afd06e876f272e010 bc-1.1.0.tar.xz
$ stat -c '%s %n' bc-1.1.0.tar.xz
111280 bc-1.1.0.tar.xz
Version 1.1 Release Candidate 3
$ sha512sum bc-1.1rc3.tar.xz
68e771a1c9125c37567574f09c16f24284bd9efb8d9fdbf7eadb7a5428b65001adccaacf40cafc609c5363daf83d0f431056764d6e7bd08c095ffa0715b5d70e bc-1.1rc3.tar.xz
$ sha256sum bc-1.1rc3.tar.xz
69eb8e7be950ab2acce5680acec0e1876fc8debf6760403be58711a87a4ba8cd bc-1.1rc3.tar.xz
Version 1.1 Release Candidate 2
$ sha512sum bc-1.1rc2.tar.xz
804700f64e701dd6e327023a571762b3a8dd334f207eed3fee117d943039b464b01a54eb0843436a7d912a00dd75dce659449cc334ae03ae5fbc301427ecf529 bc-1.1rc2.tar.xz
$ sha256sum bc-1.1rc2.tar.xz
be77ae2503746378955bfb670037edb72bb0f6de94e24933e2ae36294f834264 bc-1.1rc2.tar.xz
Version 1.1 FreeBSD Beta 5
$ sha512sum bc-1.1b5.tar.xz
0787947d5ba5ea873933c6615250887f19ce5cf4ea2ee009f4563769ca0f9e9fc3a700a9bbf68790803e563bd57810495560207cd039d8456d6ba463d0aa256f bc-1.1b5.tar.xz
$ sha256sum bc-1.1b5.tar.xz
5c946065c45b4218f95d90030edb6fff1f641637754b3addb2ea25598f2343ff bc-1.1b5.tar.xz
Version 1.1 FreeBSD Beta 4
$ sha512sum bc-1.1b4.tar.xz
54157f33d829d713dfce87c259d7bc40a29d59528087c49899301dd056d95a52493b570f79993711125096fdfa50af6e842966691564a8899dd319c78af2b3c6 bc-1.1b4.tar.xz
$ sha256sum bc-1.1b4.tar.xz
fd48d86c2d2876fe1e4597b19153d79738a0c551f214aaa096dd1782c8cf29a4 bc-1.1b4.tar.xz
Version 1.1 FreeBSD Beta 3
$ sha512sum bc-1.1b3.tar.xz
5f46e836a43b9238ed06fe433fcdbaa8204a49b075d35aa991556c9ddb951c3fc0039b3bc94e0f34902001f630163efbd846959277122c2a51bc2ddad5e7f48f bc-1.1b3.tar.xz
$ sha256sum bc-1.1b3.tar.xz
a5cd82d9dd16b9bf530ce8c133e9da6f3f1abdb5a1e9c4d83b5228ab054c55ee bc-1.1b3.tar.xz
Version 1.1 FreeBSD Beta 2
$ sha512sum bc-1.1b2.tar.xz
7e723e63059a87d700dfd553709f09f0d905e9b487d164d25ba72959199e9c18651d0099c1256ab4bb5d13974199412a95655e207843a6733d5d3dff37a4a1e8 bc-1.1b2.tar.xz
$ sha256sum bc-1.1b2.tar.xz
3f2ad7c03fe12e2d8c3dc9ff9154e1aedcb8032b5939325894c61937805c1099 bc-1.1b2.tar.xz