Skip to content

Releases: gavinhoward/bc

Version 1.1.3

01 Feb 19:52
Compare
Choose a tag to compare

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

01 Feb 00:06
Compare
Choose a tag to compare

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

30 Jan 16:14
Compare
Choose a tag to compare

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

29 Jan 20:22
Compare
Choose a tag to compare

This is a production release. However, many new features were added since 1.0.

  1. 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 that bc and dc now build out of the box on any POSIX-compatible system.
  2. 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.
  3. Strings and constants are now garbage collected when possible.
  4. Signal handling and checking has been made more simple and more thorough.
  5. BcGlobals was refactored into BcVm and BcVm was made global. Some procedure names were changed to reflect its difference to everything else.
  6. Addition got a speed improvement.
  7. Some common code for addition and multiplication was refactored into its own procedure.
  8. A bug was removed where dc could have been selected, but the internal #define that returned true for a query about dc would not have returned true.
  9. Useless calls to bc_num_zero() were removed.
  10. History support was added. The history support is based off of a UTF-8 aware fork of linenoise, which has been customized with bc's own data structures and signal handling.
  11. Generating C source from the math library now removes tabs from the library, shrinking the size of the executable.
  12. The math library was shrunk.
  13. Error handling and reporting was improved.
  14. Reallocations were reduced by giving access to the request size for each operation.
  15. abs() (b command for dc) was added as a builtin.
  16. Both calculators were tested on FreeBSD.
  17. Many obscure parse bugs were fixed.
  18. Markdown and man page manuals were added, and the man pages are installed by make install.
  19. Executable size was reduced, though the added features probably made the executable end up bigger.
  20. GNU-style array references were added as a supported feature.
  21. Allocations were reduced.
  22. New operators were added: $ ($ for dc), @ (@ for dc), @=, << (H for dc), <<=, >> (h for dc), and >>=.
  23. 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.
  24. Support for all capital letters as numbers was added.
  25. Support for GNU-style void functions was added.
  26. A bug fix for improper handling of function parameters was added.
  27. Precedence for the or (||) operator was changed to match GNU bc.
  28. dc was given an explicit negation command.
  29. 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

08 Jan 01:53
Compare
Choose a tag to compare
Pre-release
$ 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

08 Jan 01:27
Compare
Choose a tag to compare
Pre-release
$ 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

08 Jan 20:51
Compare
Choose a tag to compare
Pre-release
$ 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

08 Jan 20:40
Compare
Choose a tag to compare
Pre-release
$ 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

08 Jan 20:34
Compare
Choose a tag to compare
Pre-release
$ 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

08 Jan 20:14
Compare
Choose a tag to compare
Pre-release
$ sha512sum bc-1.1b2.tar.xz
7e723e63059a87d700dfd553709f09f0d905e9b487d164d25ba72959199e9c18651d0099c1256ab4bb5d13974199412a95655e207843a6733d5d3dff37a4a1e8 bc-1.1b2.tar.xz

$ sha256sum bc-1.1b2.tar.xz
3f2ad7c03fe12e2d8c3dc9ff9154e1aedcb8032b5939325894c61937805c1099 bc-1.1b2.tar.xz