Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
7.0.3 24 Sep 2024 21:17:44 |
Stefan Eßer (se) |
math/gh-bc: update to version 7.0.3
This version fixes build warnings when using musl libc.
There is no fucntional change. |
7.0.2 18 Sep 2024 06:05:38 |
Stefan Eßer (se) |
vendor/bc: upgrade to version 7.0.2
This update fixes exiting from an interactive bc session with ^D on
FreeBSD and Linux when using editline.
This bug was caused by the macOS fix for editline in version 7.0.0,
which has been reverted in this version. |
7.0.1 28 Aug 2024 17:19:18 |
Stefan Eßer (se) |
math/gh-bc: upgrade to version 7.0.1
This update fixes a potential build issue that did not affect the port. |
7.0.0 23 Aug 2024 05:34:49 |
Stefan Eßer (se) |
math/gh-bc: upgrade to version 7.0.0
This is a production release to fix three bugs, none of which
affects well formed scripts on FreeBSD:
The first bug is that bc/dc will exit on macOS when the terminal
is resized.
The second bug is that an array, which should only be a function
parameter, was accepted as part of larger expressions.
The third bug is that the value stack for dc was cleared on any error.
However, this is not how other dc behave. To bring dc more in line
with other implementations, this behavior was changed. This change is
why this version is a new major version. |
6.7.6 15 Jun 2024 05:59:57 |
Stefan Eßer (se) |
math/gh-bc: upgrade to version 6.7.6
This update fixes a bug with flushing stdout on exit. |
6.7.5_1 21 Jan 2024 20:24:08 |
Muhammad Moinur Rahman (bofh) |
math/gh-bc: Sanitize MANPREFIX
Approved by: portmgr (blanket) |
6.7.5 04 Jan 2024 22:57:48 |
Stefan Eßer (se) |
math/gh-bc: update to version 6.7.5
This update fixes a bug that line breaks in printed numbers may not
match the line length set by the user. The value is printed correctly,
just not split as specified in some situations. |
6.7.4 15 Dec 2023 18:51:08 |
Stefan Eßer (se) |
math/gh-bc: updat eto version 6.7.4
This version contains updated man pages - no functional chanages. |
6.7.2 17 Oct 2023 12:55:08 |
Stefan Eßer (se) |
math/gh-bc: upgrade to version 5.7.2
This update fixes an issue with signal handling in interactive use. |
6.7.0 29 Sep 2023 20:14:30 |
Stefan Eßer (se) |
math/gh-bc: update to version 6.7.0
This version offers 3 new functions in the extended math library:
min(), max(), and i2rand(). |
6.6.1 21 Sep 2023 07:20:31 |
Stefan Eßer (se) |
math/gh-bc: upgrade to version 6.6.1
This version provides an optimized implementation of the library
function p(x,y) for calculating the y-th power of x. |
6.6.0 24 May 2023 07:15:44 |
Stefan Eßer (se) |
math/gh-bc: upgrade to version 6.6.0
This update removes printing of a leading zero in scientific or
engineering output modes (which are an extended feature of this
implementation). |
6.5.0 15 Mar 2023 22:07:39 |
Stefan Eßer (se) |
math/gh-bc: update to version 6.5.0
This is a production release that fixes an infinite loop bug in root()
and cbrt(), fixes a bug with BC_LINE_LENGTH=0, and adds the fib()
function to the extended math library to calculate Fibonacci numbers. |
6.4.0 03 Mar 2023 22:22:56 |
Stefan Eßer (se) |
math/gh-bc: update to version 6.4.0
This version contains a fix for an issue that can affect complex
bc scripts that use multiple read() functions that receive input from
an interactive user. The same value could be returned multiple times. |
6.3.1 24 Feb 2023 21:58:37 |
Stefan Eßer (se) |
math/gh-bc: upgrase to version 6.3.1
This version adds a command to dc to query whether extended registers
are enabled or not. |
6.2.4 05 Feb 2023 22:32:01 |
Stefan Eßer (se) |
math/gh-bc: update to version 6.2.4
This update changes the URL of the upstream repository in the
documentation to:
https://git.gavinhoward.com/gavin/bc |
6.2.2 28 Jan 2023 20:48:22 |
Stefan Eßer (se) |
math/gh-bc: update to version 6.2.2
This update fixes a few issues and adds new features:
- There was a discrepancy from the bc standard with regards to the
behavior of the "quit" command. This bc used to quit whenever it
encountered "quit" during parsing, even if it was parsing a full
file. Now, bc only quits when encountering "quit" after it has
executed all executable statements up to that point.
This behavior is slightly different from GNU bc, but users will
only notice the difference if they put "quit" on the same line
as other statements.
- A memory bug was caused by assigning a string to a non-local
variable in a function, then redefining the function with use of (Only the first 15 lines of the commit message are shown above ) |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
6.0.2 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
6.0.2 30 Aug 2022 18:47:56 |
Stefan Eßer (se) |
math/gh-bc: upgrade to version 6.0.2
Fix combination of -l and -S option: -l could set a scale value set
with -S back to the default scale value. |
6.0.1 07 Aug 2022 15:50:21 |
Stefan Eßer (se) |
math/gh-bc: upgrade to version 6.0.1
This update adds the -c/-C options to control the clamping behavior
(the parsing of digits not allowed by the current value of ibase). |
5.3.3 25 Jun 2022 18:48:59 |
Stefan Eßer (se) |
math/gh-bc: update to version 5.3.3
This update restores suppression of the prompt with option -P, which
had been missing if linked with libedit or libreadline.
Since building the version tagged as 5.3.3 leaves temporary files in
/tmp, this commit includes a post-release update that fixes this build
issue. |
5.3.2 14 Jun 2022 19:44:46 |
Stefan Eßer (se) |
math/gh-bc: update to version 5.3.2
This update Restores support for suppression of the prompt with -P
when using the libedit or libreadline libraries for command line
editing and history. |
5.3.1 11 Jun 2022 10:38:55 |
Stefan Eßer (se) |
math/gh-bc: update to version 5.3.1
This version supports multiple command line editing and history
implementations:
- editline (default)
- readline
- private implementation (as in prior versions)
The private implementation has been modified to treat ^D on an empty
input line as an EOF signal. |
5.2.5 01 May 2022 17:38:38 |
Stefan Eßer (se) |
math/gh-bc: updat eto version 5.2.5
This update adds ^D to delete the character under the cursor. |
5.2.4 16 Apr 2022 18:53:23 |
Stefan Eßer (se) |
math/gh-bc: update to version 5.2.4
This update fixes an issue in input line editing: when going left to
the start of the line, the cursor would jump to the end of the line
instead. |
5.2.3 07 Mar 2022 21:59:18 |
Stefan Eßer (se) |
math/gh-bc: update to version 5.2.3
This update fixes a parse error when passing a file to bc using -f
if that file has a multiline comment or string in it. |
5.2.2 05 Feb 2022 21:16:41 |
Stefan Eßer (se) |
math/gh-bc: update to version 5.2.2
The only change relative to the previous version is that a default
value for the program name is used if the program is invoked with
argv[0] == NULL. |
5.2.1 23 Nov 2021 08:53:43 |
Stefan Eßer (se) |
math/gh-bc: update to version 5.2.1
This version fixes two parse bugs when in POSIX standard mode. One of
these bugs was due to a quirk of the POSIX grammar, and the other was
because bc was too strict. |
5.2.0 11 Nov 2021 09:34:19 |
Stefan Eßer (se) |
math/gh-bc: upgrade to version 5.2.0 |
5.1.1 06 Oct 2021 21:16:42 |
Stefan Eßer (se) |
math/gh-bc: upgrade to version 5.1.1
This update fixes a parser issue: syntactically correct if statements
where not accepted in specific situations. |
5.1.0 04 Oct 2021 18:35:47 |
Stefan Eßer (se) |
math/gh-bc: update to version 5.1.0
This version adds options and functions that allow to print numbers
in the open interval (-1 .. 1) with or without a leading 0 digit.
Additionally, an option has been added to prevent line wrap and
allows to print arbitrarily long results on a single line. |
5.0.2 28 Aug 2021 17:47:15 |
Stefan Eßer (se) |
math/gh-bc: update to version 5.0.2 |
5.0.0 09 Aug 2021 17:44:01 |
Stefan Eßer (se) |
math/gh-bc: update to version 5.0.0
This is a new major release with a number of changes and extensions:
- Limited the number of temporary numbers and made the space for them
static so that allocating more space for them cannot fail.
- Allowed integers with non-zero scale to be used with power, places,
and shift operators.
- Added greatest common divisor and least common multiple to lib2.bc.
- Made bc and dc UTF-8 capable.
- Added the ability for users to have bc and dc quit on SIGINT.
- Added the ability for users to disable prompt and TTY mode by
environment variables.
- Added the ability for users to redefine keywords.
- Added dc's modular exponentiation and divmod to bc.
- Added the ability to assign strings to variables and array elements
and pass them to functions in bc.
- Added dc's asciify command and stream printing to bc.
- Added bitwise and, or, xor, left shift, right shift, reverse,
left rotate, right rotate, and mod functions to lib2.bc.
- Added the functions s2u(x) and s2un(x,n), to lib2.bc. |
4.0.2 12 May 2021 05:05:53 |
Stefan Eßer (se) |
math/bc: Update to version 4.0.2
This update fixes the initialization of "scale" to 20 if started with
-l and the initial statement leads to an error (e.g. contains a syntax
error). Scale was initialized to 0 in that case.
Another change is the support of job control in interactive mode with
line editing enabled. The control characters have been interpreted as
editing commands only, prior to this version. |
4.0.1 21 Apr 2021 14:38:04 |
Stefan Eßer (se) |
math/gh-bc: updat eto version 4.0.1
Always flush output after the excution of print statements. |
4.0.0 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
4.0.0 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
4.0.0 06 Apr 2021 07:47:29 |
Stefan Eßer (se) |
Update to Version 4.0.0
This version fixes an issue in dc: the P command did not pop the value
being printed from the stack.
The major version bump is due to the addition of Windows compatibility
and does not correspond to a change of functionality on POSIX systems. |
3.3.4 19 Mar 2021 08:27:15 |
se |
Update to version 3.3.4
This update adds an implicit flush of the output if read() is called in a
bc script in order to display a prompt without \n in line buffered mode. |
3.3.3 05 Mar 2021 10:21:00 |
se |
Update to version 3.3.3
This version fixes a potential division be 0 in the extended math library
(in the non-standard function "root") and makes length(0) return 1 to
restore the behavior of the traditional bc in FreeBSD and of GNU bc. |
3.3.0 18 Feb 2021 09:37:23 |
se |
Upgrade to version 3.3.0
There is one functional change with regard to -e of -f in BC_ENV_ARGS resp.
DC_ENV_ARGS: these do no longer make the program exit after processing the
commands passed that way (which prevented to use the environment variables
to set parameters for interactive sessions, unless -f- was passed as the
last argument on the command line). |
3.2.6 31 Jan 2021 19:17:09 |
se |
Update to version 3.2.6 |
3.2.4 11 Dec 2020 19:25:47 |
se |
Upgrade to version 3.2.4
Test for support of __has_attribute(fallthrough) to allow compilation with
gcc-6 and lower. No functional change. |
3.2.3 30 Nov 2020 15:44:57 |
se |
Update to version 3.2.3
A port patch has been merged into the upstream sources. |
3.2.0 26 Nov 2020 16:47:29 |
se |
Upgrade to version 3.2.0
This update fixes an issue in the bessel function |
3.1.6 01 Oct 2020 15:36:27 |
se |
Update to version 3.1.6
This update fixes one (benign) warning generated when compiling with
LLVM-12.
Differential Revision: https://reviews.freebsd.org/D26593 |
3.1.5 05 Aug 2020 10:05:16 |
se |
Upgrade to version 3.1.5
This version fixes a bug that occurs when running under a chinese locale.
Approved by: antoine (implicit) |
3.1.4 03 Aug 2020 18:48:14 |
se |
Upgrade to version 3.1.4
This version improves the compatibility with the bc and dc in base under
two aspects:
1) Remove printing of the version and copyright message for interactive
invocations of bc an dc.
2) Make dc exit after execution of commands passed via -e or -f. To get
the behavior of version 3.1.3 back, "-f -" can be appended to the
command line to read from STDIN until EOF.
Approved by: antoine (implicit) |
3.1.3 10 Jul 2020 10:56:57 |
se |
Update to verdsion 3.1.3
This version fixes an incompatibility with GNU bc:
The statement:
if (a > b) 1
was rejected, unless followed by "else 0".
Approved by: antoine (implicit) |
3.1.1 07 Jul 2020 05:38:23 |
se |
Update to version 3.1.1
Add spanisch message catalog in ISO8859-1 encoding.
Approved by: antoine (implicit) |
3.1.0 06 Jul 2020 18:36:35 |
se |
Add es_ES.ISO8859-15 message catalog. |
3.1.0 06 Jul 2020 18:31:05 |
se |
Update to version 3.1.0
This version improves the compatibility of the -e option with the FreeBSD
version of bc. |
3.0.1 20 Jun 2020 10:13:31 |
se |
Upgrade to version 3.0.1
This version fixes a warning when building with a strict warnings level
and significantly speeds up ceil() library function.
Approved by: antoine (implicit) |
3.0.0 19 Jun 2020 05:44:08 |
se |
Update to version 3.0.0
This version contains extensive changes to signal handling and input
processing (history) and many small enhancements.
Approved by: antoine (implicit) |
2.7.2 07 May 2020 06:01:49 |
se |
Upgrade to version 2.7.2
Fix calculation of array length.
Approved by: antoine (implicit) |
2.7.1 04 May 2020 07:11:58 |
se |
Upgrade to version 2.7.1
This version contains small changes to the new NLS files and const qualifiers
to silence the compiler if extra warnings are enabled.
Approved by: antoine (implicit) |
2.7.0 02 May 2020 11:10:32 |
se |
Update to version 2.7.0
This version fixes a problem that only affected getopt_long() on Linux
(or rather, the GLIBC implementation) by replacing its use by optparse().
In addition, this version features a PRNG that can be used to generate
arbitrary length pseudo-random numbers and 5 new translations (for Dutch,
Japanese, Polish, Russian, and Simplified Chinese).
These translations have been generated and verified with online tools
(https://www.deepl.com/translator and https://translate.google.com)
and might therefore not be fully correct - a review by native speakers
would be appreciated.
Approved by: antoine (implicit) |
2.6.1 11 Apr 2020 18:36:21 |
se |
Update to version 2.6.1
This version fixes a bug that only occured when building on FreeBSD
without long options support. It did not affect the port or package,
since it was always built with long options.
Approved by: antoine (implicit) |
2.6.0 11 Mar 2020 17:35:12 |
se |
Update to version 2.6.0
Approved by: antoine (implicit) |
2.5.1_1 23 Jan 2020 08:41:12 |
se |
Final attempt to make the Poruguese locales actually work.
Just roll out the loop to create usable catalogue files instead of
trying to have a loop do the right thing ...
Approved by: antoine (implicit) |
2.5.1 23 Jan 2020 08:08:28 |
se |
Due to the way the Portuguese ISO-8859-* files were named, they were not
installed on FreeBSD. Therefore provide message catalogues according to
out naming scheme to include these files in the build.
Approved by: antoine (implicit) |
2.5.1 23 Jan 2020 07:41:29 |
se |
Update to version 2.5.1
This version introduces Portuguese translations (pt_PT and pt_BR).
Approved by: antoine (implicit) |
2.4.0 03 Dec 2019 10:22:02 |
se |
Upgrade to version 2.4.0
This versiom includes enhancements to the bundled dc command.
Approved by: antoine (implicit) |
2.3.1 24 Nov 2019 18:47:57 |
se |
Update to version 2.3.1
Approved by: antoine (implicit) |
2.3.0 11 Nov 2019 14:33:59 |
se |
Update to version 2.3.0
Approved by: antoine (implicit) |
2.1.0 16 Jul 2019 10:03:39 |
se |
Upgrade to version 2.1.0.
Approved by: antoine (implicit) |
2.0.3 11 Jun 2019 11:04:28 |
se |
Upgrade to version 2.0.3.
Approved by: antoine (implicit) |
2.0.2_2 07 Jun 2019 08:04:18 |
se |
Another attempt to fix build breakage that does only affect the package
builder and does not occur on my system.
Approved by: antoine (implicit) |
2.0.2_1 04 Jun 2019 21:25:41 |
se |
Try to fix a package build error that I cannot reproduce on my system.
Even though "poudriere testport" completed without error, I have received
a failure message from the build cluster. Since I cannot reproduce the
problem, I can only guess that it is caused by a symbolic link in the
share/nls directory that connects nls/C to nls/en_US.US-ASCII.
I had problems with the nls/C directory disappearing due to that link
before (it is deleted as empty when the last catalog file is deleted on
package deinstallation, but then missing when a new file is installed
into en_US.US-ASCII, which is just a symbolic link to C which does not
exist at that time anymore). I think this is a bug in "pkg" and have
opened a PR.
It is possible that the port will still fail to build in the cluster,
but without access to the work directory (or rather the stage directory)
of the build host I can only guess what's exactly going on.
IMHO there should not be any magic conenction between nls/en_US.US-ASCII
and nls/C, since this breaks assumptions made in pkg and in the qa check
performed by poudriere.
Approved by: antoine (implicit) |
2.0.2 02 Jun 2019 07:22:08 |
se |
Update to version 2.0.2.
Approved by: antoine (implicit) |
2.0.0 02 Jun 2019 07:13:08 |
se |
Fix omission of changes in previous commit.
Approved by: antoine (implicit) |
2.0.0 02 Jun 2019 07:01:33 |
se |
Update to version 2.0.0
This version uses an optimized internal representation of the operands which
allows to speed up some operations by a significant factor (multiplication
of large numbers is now about 40 times as fast).
This version has been tested against a number of other bc implementations
and has been found to significantly outperform them all (incl. GNU bc).
There are no functional changes in this version, it is just much faster ...
Approved by: antoine (implicit) |
1.2.8_1 18 May 2019 09:51:18 |
se |
Remove requirement for a c11 compiler |
1.2.8 08 May 2019 08:58:23 |
pkubaj |
math/gh-bc: fix build with GCC-based architectures
Add USES=compiler:c11 to fix build:
./src/num.c:1305: error: expected ';', ',' or ')' before 'n'
Approved by: mentors (implicit approval) |
1.2.8 21 Apr 2019 06:09:01 |
se |
Work around problem with de-installation of this port, which made "pkg"
remove the share/nls/C directory.
Approved by: antoine (implicit) |
1.2.8 20 Apr 2019 09:41:01 |
se |
Upgrade to version 1.2.8.
This package exposes a bug (IMHO) in "pkg" which deletes the directory
pointed to by a symbolic link after removing the files within, but is
not able to recreate that directory when a package is installed.
It may be necessary to manually recreate ${LOCALBASE}/share/nls/C after
removal of this package, e.g. during a port upgrade.
This commit is meant to provide a test case for package maintainers
that hopefully will lead to this issue being fixed in "pkg".
Approved by: antoine (implicit) |
1.2.4 17 Apr 2019 07:44:02 |
se |
Update to version 1.2.4.
This version adds message catalogs for French and German locales.
The messages for fr_CA and fr_CH have not been checked by native
speakers and might need some adjustment.
Approved by: antoine (implicit) |
1.2.3 05 Apr 2019 05:32:55 |
se |
Upgrade to version 1.2.3.
Approved by: antoine (implicit) |
1.1.1 30 Jan 2019 20:19:14 |
se |
Upgrade to version 1.1.1.
Approved by: antoine (implicit) |
1.1.0 29 Jan 2019 21:00:14 |
se |
Update distinfo after changes to the configure script and documentation
have been applied in the repo under the version tag used for the port.
Approved by: antoine (implicit) |
1.1.0 29 Jan 2019 19:31:08 |
se |
Fix CONFLICTS_INSTALL pattern to really match the math/gnubc port.
I had missed the PKGNAMEPREFIX in the GNU bc port ...
Approved by: antoine (implicit) |
1.1.0 28 Jan 2019 21:59:42 |
se |
New port of a BSD licensed and GNU compatible bc and dc program.
These programs have been used in a number of other projects over
many years and they are highly portable and heavily tested.
Obtained from: Gavin Howard <gavin.d.howard@gmail.com>
Approved by: antoine (mentor) |