]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
2 years agovendor/bc: import of version 5.2.5
Stefan Eßer [Tue, 10 May 2022 12:47:43 +0000 (14:47 +0200)]
vendor/bc: import of version 5.2.5

This is a production release that fixes this bc's behavior on ^D to
match GNU bc.

2 years agovendor/bc: import version 5.2.4
Stefan Eßer [Sun, 17 Apr 2022 11:20:54 +0000 (13:20 +0200)]
vendor/bc: import 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.

2 years agovendor/bc: import version 5.2.3
Stefan Eßer [Mon, 7 Mar 2022 22:08:20 +0000 (23:08 +0100)]
vendor/bc: import version 5.2.3

This version fixes a parse error when passing a file to bc using -f
if that file has a multiline comment or string in it.

MFC after: 3 days

2 years agovendor/bc: import release 5.2.2
Stefan Eßer [Sat, 5 Feb 2022 21:26:36 +0000 (22:26 +0100)]
vendor/bc: import release 5.2.2

This release assigns a default value to the internal program name
variable in case the program is invoked with argv[0] == NULL.

There was no security issue: the prevuous program version would have
been immediately terminated due to a NULL dereference.

2 years agovendor/bc: import release 5.2.1
Stefan Eßer [Tue, 30 Nov 2021 17:33:40 +0000 (18:33 +0100)]
vendor/bc: import release 5.2.1

This release 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.

2 years agovendor/bc: import release 5.2.0
Stefan Eßer [Tue, 30 Nov 2021 17:26:22 +0000 (18:26 +0100)]
vendor/bc: import release 5.2.0

This version is imported only for documentary purposes since it does
not contain any changes that are relevant for the FreeBSD base system.

2 years agovendor/bc: update to version 5.1.1
Stefan Eßer [Wed, 6 Oct 2021 21:27:16 +0000 (23:27 +0200)]
vendor/bc: update to version 5.1.1

This update fixes a parser issue, which in special situations could
reject syntactically correct if statements.

2 years agovendor/bc: update to version 5.1.0
Stefan Eßer [Mon, 4 Oct 2021 19:22:35 +0000 (21:22 +0200)]
vendor/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.

2 years agovendor/bc: update to upstream version 5.0.2
Stefan Eßer [Sun, 19 Sep 2021 12:41:20 +0000 (14:41 +0200)]
vendor/bc: update to upstream version 5.0.2

2 years agovendor/bc: imoport release 5.0.0
Stefan Eßer [Mon, 9 Aug 2021 20:32:55 +0000 (22:32 +0200)]
vendor/bc: imoport release 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.

2 years agoAdd back Windows only VCXProj files
Stefan Eßer [Wed, 28 Jul 2021 13:35:16 +0000 (15:35 +0200)]
Add back Windows only VCXProj files

2 years agoRemove files that were checked in with wrong .gitattributes
Stefan Eßer [Wed, 28 Jul 2021 13:31:57 +0000 (15:31 +0200)]
Remove files that were checked in with wrong .gitattributes

These files will be added back in updated form, but are only relevant
for the Windows platform, anyway.

3 years agoVendor import of Gavin D. Howard's bc version 4.0.2
Stefan Eßer [Wed, 12 May 2021 05:35:58 +0000 (07:35 +0200)]
Vendor import of Gavin D. Howard's bc version 4.0.2

3 years agoVendor import of Gavin D. Howards bc version 4.0.1
Stefan Eßer [Sun, 25 Apr 2021 06:36:50 +0000 (08:36 +0200)]
Vendor import of Gavin D. Howards bc version 4.0.1

3 years agoVendor import of Gavin D. Howard's bc version 4.0.0
Stefan Eßer [Tue, 6 Apr 2021 08:44:52 +0000 (10:44 +0200)]
Vendor import of Gavin D. Howard's bc version 4.0.0

3 years agoVendor import of bc 3.3.4
Stefan Eßer [Fri, 19 Mar 2021 08:39:56 +0000 (09:39 +0100)]
Vendor import of bc 3.3.4

3 years agobc: Vendor import new version 3.3.3
Stefan Eßer [Fri, 5 Mar 2021 10:30:11 +0000 (11:30 +0100)]
bc: Vendor import new version 3.3.3

3 years agoVendor import of Gavin Howard's bc-3.3.0
Stefan Eßer [Wed, 17 Feb 2021 21:29:31 +0000 (22:29 +0100)]
Vendor import of Gavin Howard's bc-3.3.0

3 years agoVendor import of Gavin Howard's bc version 3.2.6
Stefan Eßer [Sun, 31 Jan 2021 19:56:48 +0000 (20:56 +0100)]
Vendor import of Gavin Howard's bc version 3.2.6

3 years agoImport bc 3.2.4
Stefan Eßer [Sun, 27 Dec 2020 20:53:09 +0000 (21:53 +0100)]
Import bc 3.2.4

3 years agoImport version 3.2.3
Stefan Eßer [Sun, 6 Dec 2020 11:38:46 +0000 (11:38 +0000)]
Import version 3.2.3

3 years agoImport version 3.2.0
Stefan Eßer [Thu, 26 Nov 2020 17:27:07 +0000 (17:27 +0000)]
Import version 3.2.0

3 years agoRevert incomplete import of version 3.2.0
Stefan Eßer [Thu, 26 Nov 2020 17:18:18 +0000 (17:18 +0000)]
Revert incomplete import of version 3.2.0

3 years agoUpdate to version 3.2.0
Stefan Eßer [Thu, 26 Nov 2020 16:52:17 +0000 (16:52 +0000)]
Update to version 3.2.0

3 years agoUpdate to version 3.1.6
Stefan Eßer [Thu, 1 Oct 2020 15:40:24 +0000 (15:40 +0000)]
Update to version 3.1.6

3 years agoUpgrade to version 3.1.5
Stefan Eßer [Wed, 5 Aug 2020 10:07:43 +0000 (10:07 +0000)]
Upgrade to version 3.1.5

This version fixes a bug that only occurs when with chinese locale settings.

3 years agoImport version 3.1.4
Stefan Eßer [Mon, 3 Aug 2020 18:55:39 +0000 (18:55 +0000)]
Import version 3.1.4

This version makes dc exit after processing all commands passed via -e or -f
instead of waiting for more input on STDIN (add "-f -" to the command line
to emulate the behavior of versionm 3.1.3 and earlier, if desired).

The version and copyright message are no longer printed for interactive
sessions as was the case with the prior implementation in the FreeBSD base
system.

Obtained from: https://git.yzena.com/gavin/bc

3 years agoUpgrade to version 3.1.3
Stefan Eßer [Fri, 10 Jul 2020 11:00:40 +0000 (11:00 +0000)]
Upgrade to version 3.1.3

This version fixes an incompatibility with GNU bc.

4 years agoUpdate to release 3.1.1
Stefan Eßer [Tue, 7 Jul 2020 07:02:33 +0000 (07:02 +0000)]
Update to release 3.1.1

This release fixes a regression from traditional bc behavior in FreeBSD
with regard to "-e quit" being passed on the command line and add Spanish
message catalogs.

4 years agoImport new 2-clause BSD licenced implementation of the bc and dc commands
Stefan Eßer [Sat, 27 Jun 2020 15:03:19 +0000 (15:03 +0000)]
Import new 2-clause BSD licenced implementation of the bc and dc commands

These implementations of the bc and dc programs offer a number of advantages
compared to the current implementations in the FreeBSD base system:

- They do not depend on external large number functions (i.e. no dependency
  on OpenSSL or any other large number library)

- They implements all features found in GNU bc/dc (with the exception of
  the forking of sub-processes, which the author of this version considers
  as a security issue).

- They are significantly faster than the current code in base (more than
  2 orders of magnitude in some of my tests, e.g. for 12345^100000).

- They should be fully compatible with all features and the behavior of the
  current implementations in FreeBSD (not formally verified).

- They support POSIX message catalogs and come with localized messages in
  Chinese, Dutch, English, French, German, Japanese, Polish, Portugueze,
  and Russian.

- They offer very detailed man-pages that provide far more information than
  the current ones.

Approved by: imp
Obtained from: https://git.yzena.com/gavin/bc
Differential Revision: https://reviews.freebsd.org/D19982