Skip to content

Commit 4bec694

Browse files
committed
Release calc version 2.12.7.0
The following are the changes from calc version 2.12.7.0 to date: Added a patch to replaces the manual search for include files in $(INCDIR) in the have_*.h targets with compiler invocations. Thanks goes to Helmut Grohne (helmut at subdivi dot de) who implemented the patch and posted it to the Debian bug tracker and Martin Buck (m at rtin-buck dor de) for forwarding it to us. The check_include make rule was fixed to not assume /usr/include. The qprintnum() function now takes outdigits as a 3rd argument. Most of the time, this 3rd argument is just conf->outdigits. But when it comes to the experimental '%g', this value can change. This avoids having to modify conf->outdigits. Fixed a problem where gcc complains about E_FUNC not being defined for Linux systems as reported by Martin Buck (m at rtin-buck dor de). Updated the help files help/config, help/display, help/epsilon, help/fprint, help/printf, and help/strprintf to give more examples of how display digits and epsilon precision interact with displaying values. Added more information about %g in the help file help/printf. The '\a' is now recognized in a printf format string as the single byte audible bell character (byte 0x07 in ASCII encoding). The following is a partial list of escape sequences recognized in strings and in printf formats: \a audible bell byte 0x07 in ASCII encoding \b backspace byte 0x08 in ASCII encoding \f form feed byte 0x0c in ASCII encoding \n newline byte 0x0b in ASCII encoding \r return byte 0x0a in ASCII encoding \t tab byte 0x0d in ASCII encoding \v vertical tab byte 0x09 in ASCII encoding
1 parent 4870a7a commit 4bec694

File tree

5 files changed

+34
-9
lines changed

5 files changed

+34
-9
lines changed

CHANGES

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
The following are the changes from calc version 2.12.6.10 to date:
1+
The following are the changes from calc version 2.12.7.0 to date:
22

33
Added a patch to replaces the manual search for include files
44
in $(INCDIR) in the have_*.h targets with compiler invocations.
5-
Thanks goes to Helmut Grohne <helmut at subdivi dot de> who
5+
Thanks goes to Helmut Grohne (helmut at subdivi dot de) who
66
implemented the patch and posted it to the Debian bug tracker
77
and Martin Buck (m at rtin-buck dor de) for forwarding it to us.
88

@@ -13,6 +13,30 @@ The following are the changes from calc version 2.12.6.10 to date:
1313
But when it comes to the experimental '%g', this value can
1414
change. This avoids having to modify conf->outdigits.
1515

16+
Fixed a problem where gcc complains about E_FUNC not being defined
17+
for Linux systems as reported by Martin Buck (m at rtin-buck dor de).
18+
19+
Updated the help files help/config, help/display, help/epsilon,
20+
help/fprint, help/printf, and help/strprintf to give more
21+
examples of how display digits and epsilon precision interact
22+
with displaying values.
23+
24+
Added more information about %g in the help file help/printf.
25+
26+
The '\a' is now recognized in a printf format string as the
27+
single byte audible bell character (byte 0x07 in ASCII encoding).
28+
29+
The following is a partial list of escape sequences recognized
30+
in strings and in printf formats:
31+
32+
\a audible bell byte 0x07 in ASCII encoding
33+
\b backspace byte 0x08 in ASCII encoding
34+
\f form feed byte 0x0c in ASCII encoding
35+
\n newline byte 0x0b in ASCII encoding
36+
\r return byte 0x0a in ASCII encoding
37+
\t tab byte 0x0d in ASCII encoding
38+
\v vertical tab byte 0x09 in ASCII encoding
39+
1640

1741
The following are the changes from calc version 2.12.6.9 to 2.12.6.9:
1842

@@ -42,8 +66,9 @@ The following are the changes from calc version 2.12.6.9 to 2.12.6.9:
4266
INCDIR= $(shell xcrun --show-sdk-path --sdk macosx)/usr/include
4367

4468
to determine the upper path of the /usr/include directory for macOS.
45-
The Darwin target seems to not automatically detected. For now,
46-
under macOS, declare the target as darwin:
69+
In some rare cases, the Darwin target seems to not automatically detected.
70+
If you are running under macOS, and that happens, you can force
71+
the target to be Darwin:
4772

4873
# for macOS users only, force the target to be darwin
4974
#

Makefile.ship

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ EXT=
10541054

10551055
# The default calc versions
10561056
#
1057-
VERSION= 2.12.6.10
1057+
VERSION= 2.12.7.0
10581058

10591059
# Names of shared libraries with versions
10601060
#

custom/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ EXT=
348348

349349
# The default calc versions
350350
#
351-
VERSION= 2.12.6.10
351+
VERSION= 2.12.7.0
352352

353353
# Names of shared libraries with versions
354354
#

custom/Makefile.head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ EXT=
348348

349349
# The default calc versions
350350
#
351-
VERSION= 2.12.6.10
351+
VERSION= 2.12.7.0
352352

353353
# Names of shared libraries with versions
354354
#

version.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ static char *program;
4444

4545
#define MAJOR_VER 2 /* major library version */
4646
#define MINOR_VER 12 /* minor library version */
47-
#define MAJOR_PATCH 6 /* major software level under library version */
48-
#define MINOR_PATCH 10 /* minor software level or 0 if not patched */
47+
#define MAJOR_PATCH 7 /* major software level under library version */
48+
#define MINOR_PATCH 0 /* minor software level or 0 if not patched */
4949

5050

5151
/*

0 commit comments

Comments
 (0)