Gavin Howard
2bd0bf2862
Enable running the release script on FreeBSD
...
I just have the error test script skip a problematic test. I'll add more
as necessary, but this is the one I know about.
Signed-off-by: Gavin Howard <gavin@yzena.com>
2 days ago
Gavin Howard
f29a0c04a8
Increment the version and update the NEWS
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
4 days ago
Gavin Howard
57adeae6bd
Finish the previous commit
...
Whoops.
Signed-off-by: Gavin Howard <gavin@yzena.com>
4 days ago
Gavin Howard
4bc6dcd5c1
Fix another compiler error
...
I used the wrong type for the builtins when passing them to the argument
processor.
Signed-off-by: Gavin Howard <gavin@yzena.com>
4 days ago
Gavin Howard
f438ed2651
Fix a compiler error
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
4 days ago
Gavin Howard
93d027ece6
Add more tests against GitHub issue #55
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
4 days ago
Gavin Howard
6291208704
Fix #55 on GitHub
...
The --mathlib option was making `bc` ignore the --scale option. This
attempts to fix that.
Signed-off-by: Gavin Howard <gavin@yzena.com>
4 days ago
Gavin Howard
cae90a7165
Add some tests for a bug
...
This bug was found by depler on GitHub. In `bc`, the --mathlib option
was changing the scale to 20, regardless of the user's --scale
arguments.
These tests are to check that.
Signed-off-by: Gavin Howard <gavin@yzena.com>
4 days ago
Gavin Howard
c94936911c
Remove a debug modification in configure.sh
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
4 days ago
Gavin Howard
18d1c140fa
Add more Windows build files to the remove list
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
1 week ago
Gavin Howard
5978f6ff2c
Increment the version and update the NEWS
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
1 week ago
Gavin Howard
317f9dad1f
Fix memory bugs in bcl
...
This happened because I depended on the BcVm struct being memset to all
zeros. This was true before 6.0.0 because it was a global variable,
which is guaranteed to be so.
However, with allocated BcVm structs, I need to make sure to memset them
myself. That's what this commit does.
Signed-off-by: Gavin Howard <gavin@yzena.com>
1 week ago
Gavin Howard
5264ed9b7f
Fix memory leaks in bcl
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
1 week ago
Gavin Howard
30b3a9f626
Hook the bcl test into the Valgrind testing infrastructure
...
This should have been done long ago; it has already found memory leaks
and memory bugs. Whoops.
I found this because I realized that I forgot to free the BcVm on each
thread, and I realized that the release script should have caught that
if it was properly hooked in.
Signed-off-by: Gavin Howard <gavin@yzena.com>
1 week ago
Gavin Howard
8bdbf18189
Remove old targets from the Makefile help
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
1 week ago
Gavin Howard
b2f0ba23f4
Fix my personal build
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
1 week ago
Gavin Howard
14af93ebe1
Add clarifications to the bcl manual
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
1 week ago
Gavin Howard
4fd5c5c216
Fix typos in the development manual
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
1 week ago
Gavin Howard
5f989e5a28
Increment the version and update the NEWS
...
The changes to bcl require a major version bump, so we should do that.
Signed-off-by: Gavin Howard <gavin@yzena.com>
1 week ago
Gavin Howard
4a5bbf4b02
Tweak the bcl manpage
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
2 weeks ago
Gavin Howard
5f07ad1ccd
Make bcl work with threads and not signals
...
Unfortunately, I couldn't have both threads *and* signals, and I feel
like threads would be more widely applicable. Plus, I want them for a
project I want to work on.
The reason they don't mix is because I had to use thread-specific data,
and there is no safe way to get that data in a signal handler. I also
thought that it was too much complexity, so I just removed it.
Signed-off-by: Gavin Howard <gavin@yzena.com>
2 weeks ago
Gavin Howard
d1fea19f4a
Update manuals for a Pandoc update
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
2 weeks ago
pac
71215b0eb1
remove -z
2 weeks ago
pac
9612cdc824
improve reproducibility
...
find has indeterministic output based on the inode on the filesystem,
so sort is needed to ensure the output is deterministic
2 weeks ago
Gavin Howard
175493a5b7
Make a change requested by Stefan Esser
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
2 weeks ago
Gavin Howard
4355599e9a
Fix an oversight in the release script
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
2 weeks ago
Gavin Howard
b0a022c513
Tweak a note about FreeBSD
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
2 weeks ago
Gavin Howard
38095fec1e
Remove the AFL build from scripts/release.sh
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
2 weeks ago
Gavin Howard
1a2a775d6e
Fix whitespace in NEWS
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
2 weeks ago
Gavin Howard
11795efcbd
Quiet -Woverlength-strings on GCC too
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
2 weeks ago
Gavin Howard
13ca9d03c6
Fix another aspect of the build broken by Windows
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
2 weeks ago
Gavin Howard
bf7a538b2b
Quiet -Woverlength-strings in Clang when using strgen.sh
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
2 weeks ago
Gavin Howard
c335b3e6b7
Fix the strgen.c build
...
The Windows changes broke it.
Signed-off-by: Gavin Howard <gavin@yzena.com>
2 weeks ago
Gavin Howard
557ba46590
Fix the build on Windows
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
2 weeks ago
Gavin Howard
147bb6c1a9
Add a crashing non-clamping test from AFL++
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
3 weeks ago
Gavin Howard
31f79c2065
Add a way for error tests to use clamping *and* non-clamping
...
This is so I can add crashing tests from AFL++, even if they come from
the non-clamping instances.
Signed-off-by: Gavin Howard <gavin@yzena.com>
3 weeks ago
Gavin Howard
26daf98c4e
Fix a bug in decimal parsing
...
This bug was caused by two wrong casts to smaller numbers *before* doing
math on them.
Signed-off-by: Gavin Howard <gavin@yzena.com>
3 weeks ago
Gavin Howard
6392b40333
Add non-clamping to the fuzzing
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
3 weeks ago
Gavin Howard
8d8935e44b
Make sure the warning is not printed if NLS is disabled
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
3 weeks ago
Gavin Howard
6035d39a68
Redo the formatting on that warning again
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
3 weeks ago
Gavin Howard
7cdddb8cc5
Fix formatting on a warning
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
3 weeks ago
Gavin Howard
6dccfebe21
Add a warning to configure.sh about braindead POSIX locales
...
This warning is there to warn users that locales will be installed
outside of $PREFIX, so it first detects if the locales are in $PREFIX or
if the default $PREFIX is used. If so, it skips the warning. Otherwise,
it displays it.
This is a change that was sort of requested by a user in GitHub issue
number 53.
Signed-off-by: Gavin Howard <gavin@yzena.com>
3 weeks ago
Gavin Howard
b78e8e4cfb
Add warnings that locales must be installed at a fixed location
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
3 weeks ago
Gavin Howard
05c64c5e02
Fix oversights
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
3 weeks ago
Gavin Howard
4a5fdb0f09
Fix a couple of warnings with Clang
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
4 weeks ago
Gavin Howard
25eb1de14e
Allow FreeBSD to generate tests in the release script
...
It has my bc, so it can.
Signed-off-by: Gavin Howard <gavin@yzena.com>
4 weeks ago
Gavin Howard
7fec494b72
Add an error for readline on OpenBSD
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
4 weeks ago
Gavin Howard
1e50193af9
Add -Wno-clobbered back for GCC
...
It was just giving warnings and errors, even when I suppressed it. It
had to go.
Signed-off-by: Gavin Howard <gavin@yzena.com>
4 weeks ago
Gavin Howard
a4007339e7
Fix the release settings file
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
4 weeks ago
Gavin Howard
4b22f69e72
Fix lint errors
...
The one where I add a label in src/num.c deserves mention: it was
complaining that bzero and azero didn't have values when they were used,
which was true. The fix was to make sure they wouldn't be used before
they were set, which necessitated adding another label.
Signed-off-by: Gavin Howard <gavin@yzena.com>
4 weeks ago