Gavin Howard
85dbc9578e
Increment the version and update the NEWS
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
6 months ago
Gavin Howard
81905ee8e2
Fix the argv[0] == NULL bug
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
6 months ago
Gavin Howard
52f7667c88
Fix style
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
7 months ago
Gavin Howard
3962313c8b
Fix a wrong doc comment
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
7 months ago
Gavin Howard
329a29def7
Add a static_assert for instructions
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
7 months ago
Gavin Howard
d5b5a5c400
Fix typos
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
7 months ago
Gavin Howard
84ed5cc276
Tweak something in the development manual
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
7 months ago
Gavin Howard
eca74533b6
Fix style
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
7 months ago
Firas Khalil Khana
232a12f687
Add missing newline character
8 months ago
Gavin Howard
c3b2d28b2d
Fix still another typo
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
8 months ago
Gavin Howard
db200ed396
Fix yet another typo
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
8 months ago
Gavin Howard
cec89461df
Fix another typo
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
8 months ago
Gavin Howard
8f0e794f49
Fix a typo
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
8 months ago
Gavin Howard
daf643af7e
Make sure to guard locale-specific stuff
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
23799b7747
Increment the version and update the NEWS
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
9ffdd5ec69
Fix the second parse bug found by oguz-ismail
...
This one was that bc allowed function definitions after semicolons when
the POSIX grammar technically does not allow it.
Also, this adds missing a missing error message. I found it because I
needed to add yet anothe error message for this bug.
Also, this commit adds the test too.
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
81f838f657
Add a test for the fix in the previous commit
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
5b2fe303c8
Fix one of two parse bugs found by oguz-ismail
...
This is the one where bc errored if a function definition directly
followed another, which is supposed to be allowed. This fixes that.
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
b20fe46e1c
Update the configure help
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
ddd6bb9daf
Revert "Attempt to make dc.exe a link on Windows"
...
This reverts commit 29055cfd83
.
This did not work, unfortunately, and I don't want to spend time on it.
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
a2cbd36b53
Try again to make release.sh use out-of-source builds
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
a945358c87
Make release script do parallel history test
...
I can do that now that the too-flaky test is removed.
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
0c84e0bf15
Remove a part of a history test that is too flaky
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
8e1928493c
Make the release script not test history in parallel
...
It keeps failing at that point, and not for single-core, so just do
single-core for now.
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
e12eafcf7a
Tweak a doc comment
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
e38c88a415
Make the release script able to do out-of-source builds
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
8b7e59f29e
Update README files
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
29055cfd83
Attempt to make dc.exe a link on Windows
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
9 months ago
Gavin Howard
9e688779a0
Add documentation for out-of-source builds to README and manuals
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
c8d0d016fb
Change something back
...
I cannot support spaces in path names for out-of-source builds. I will
have to put that into the documentation.
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
6bd6c61f52
Fix some problems with out-of-source builds
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
56a8da67d1
Implement out-of-source builds
...
This took a lot of work, but it would have taken far more if I hadn't
followed good practices from the start.
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
fb2428ca63
Add a gitignore for testing out-of-source builds
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
2427756509
Fix a problem with make clean
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
dc3a588cf9
Update the NEWS
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
c891c10097
Implement a pkg-config file for bcl
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
d92530bad8
Fix the install and uninstall targets for bcl
...
Turns out, they were never hooked up. It seems no one uses bcl because
no one complained. But they will be fixed in the next release.
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
f463085c46
Update the README for the Windows build
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
5d9b40c2f6
Add a blurb about global data and signals to the dev manual
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
4277d5ad1a
Fix a bug in the unlock for the library
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
7ad047d503
Fix interaction between signals and globals
...
I was thinking about setjmp() and longjmp(), and I realized that they
are still dangerous in the presence of global variables. bc has a big
one: BcVm vm.
This commit basically locks signals wherever something directly inside
of BcVm is changed. (Things pointed to do not need to be locked or
already are.) This makes mutating BcVm safe even in the presence of
signals.
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
de699c3c22
Fight against flakiness of history tests
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
c4e3e23057
Add BC_EXPR_EXIT back with setting default
...
Since it is possible to set defaults now, why *not* add it back? *I*
want it!
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
80f165451f
Increment the version and update the NEWS
...
I'm not going to release yet; I just want this feature in the next
release whenever it happens.
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
9305c6b1af
Update the build manual for the Windows build
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
cf8d717f1b
Update the dev manual for changes to Windows files
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
d0bb26417b
Improve the package.sh script
...
This removes more stuff.
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
941147ca1e
Increment the version and update the NEWS
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
b240e01963
Add another option to the release script
...
This is to enable/disable karatsuba testing.
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago
Gavin Howard
7d5ea1a704
Update the dev manual
...
Signed-off-by: Gavin Howard <gavin@yzena.com>
10 months ago