aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-06Upgrade bc to 4.0.1 am: ca5f5192b1 am: f816233a5e am: 6a36a5f340 am: c6b8df35d2android-mainline-12.0.0_r99android-mainline-12.0.0_r98android-mainline-12.0.0_r77android-mainline-12.0.0_r70android-mainline-12.0.0_r69android-mainline-12.0.0_r63android-mainline-12.0.0_r59android-mainline-12.0.0_r56android-mainline-12.0.0_r5android-mainline-12.0.0_r49android-mainline-12.0.0_r42android-mainline-12.0.0_r39android-mainline-12.0.0_r22android-mainline-12.0.0_r19android-mainline-12.0.0_r122android-mainline-12.0.0_r115android-mainline-12.0.0_r113android-mainline-12.0.0_r100aml_tz3_311312010android12-mainline-networkstack-releaseandroid12-mainline-art-releaseElliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/bc/+/1697793 Change-Id: I02709b143520a2c4e3f25e85eccd2ded41ce9ed1
2021-05-06Upgrade bc to 4.0.1 am: ca5f5192b1 am: f816233a5e am: 6a36a5f340android-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r11android-12.1.0_r10android-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12L-devandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-releaseandroid12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devElliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/bc/+/1697793 Change-Id: I023a5ed1c196641b5177dece3cafe8828adb2e95
2021-05-06Upgrade bc to 4.0.1 am: ca5f5192b1 am: f816233a5eElliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/bc/+/1697793 Change-Id: If888014e18eaeaef0dbd8c24decc9db3a77c2e7c
2021-05-06Upgrade bc to 4.0.1 am: ca5f5192b1android-s-beta-4android-s-beta-3android-s-beta-4Elliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/bc/+/1697793 Change-Id: I9e2d23040491141807d05c69fb4cd115c9ea19a5
2021-05-05Upgrade bc to 4.0.1android-s-beta-2android-s-beta-1Elliott Hughes
Test: make Change-Id: Ia0430db1d42f07553ccf48b5a4876d80f0d302f5
2021-04-20Increment the version and update the NEWSGavin Howard
2021-04-20Ensure output is flushed in scriptsGavin Howard
I want to change this because I was using a print statement to track progress in a script, and it wasn't flushing. It only flushed when I sent a SIGINT. That is not good behavior, and it's behavior I have only because I had to implement my own flushing for bc. Fix this by flushing when stuff is printed.
2021-04-17Mention the library at the top of the READMEGavin Howard
2021-04-10Upgrade bc to 4.0.0 am: 9a35705b45 am: 0e7d1eb3f5 am: 4901c10088 am: 77fab8a8deElliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/bc/+/1672525 Change-Id: I604c07428fc759ea795a16fadebeac4cecea6d6a
2021-04-10Upgrade bc to 4.0.0 am: 9a35705b45 am: 0e7d1eb3f5 am: 4901c10088Elliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/bc/+/1672525 Change-Id: Ic53417bed9d8a87537874f88e85eef77d1349ad7
2021-04-09Upgrade bc to 4.0.0 am: 9a35705b45 am: 0e7d1eb3f5Elliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/bc/+/1672525 Change-Id: Ib6c64683493e54acee644e90b53c0d8433d67bc8
2021-04-09Upgrade bc to 4.0.0 am: 9a35705b45Elliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/bc/+/1672525 Change-Id: I03cad6366bd879af85cb2ff490354ce11d173890
2021-04-09Upgrade bc to 4.0.0Elliott Hughes
Test: make Change-Id: Ib2ae3105f6428c3f39999772629e2e439006ebc7
2021-04-04Increment the version and update the NEWSGavin Howard
2021-04-04Tweak the excluded files in release.shGavin Howard
2021-04-04Make sure to clean Windows build stuffGavin Howard
2021-04-04Fix a typo in a manualGavin Howard
2021-04-04Add Windows to the README and build manualGavin Howard
2021-04-04Add two new parameters to release.shGavin Howard
These are designed to cut the amount of time it takes to run in some cases.
2021-04-04Fix compiler warningsGavin Howard
2021-04-04Fix the Windows buildGavin Howard
2021-04-04Remove the signal handler for SIGINT on WindowsGavin Howard
It doesn't work.
2021-04-04Add the BUILD_TYPE to the buildGavin Howard
2021-04-04Start the process of making bc/dc work on WindowsGavin Howard
This requires some code to make things match POSIX and especially making inline an empty string because Microsoft's compiler is picky about functions marked inline.
2021-04-04Fix problems in the manualsGavin Howard
2021-04-04Use CommonMark for PandocGavin Howard
This is to enable the underline style italics.
2021-04-04Move the version locationGavin Howard
This is in preparation for upcoming commits.
2021-04-02Upgrade bc to 3.3.4 am: fe7b01cae3 am: c8fa215f7c am: c98652dd0b am: d65bb11362Elliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/bc/+/1662859 Change-Id: I71a9f5ecc33cbec9798c9ea5df98313aaa0edfd2
2021-04-02Upgrade bc to 3.3.4 am: fe7b01cae3 am: c8fa215f7c am: c98652dd0bElliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/bc/+/1662859 Change-Id: Ib660ec39e6cce2e0377ca12fbe3160165b76ced0
2021-04-02Fix a bug reported by a FreeBSD userGavin Howard
This bug was hard to find the cause of (because the reproducer was a massive dc script), but the problem was simple: the `P` was supposed to pop the top of the stack, and it did not. This commit fixes the problem.
2021-04-02Fix a bug in the new testGavin Howard
2021-04-02Upgrade bc to 3.3.4 am: fe7b01cae3 am: c8fa215f7cElliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/bc/+/1662859 Change-Id: If1bf4d0088d32973e2915163e505e951aed3b082
2021-04-02Upgrade bc to 3.3.4 am: fe7b01cae3Elliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/bc/+/1662859 Change-Id: I88f4e7eaa0c01c7e354859d93e6a61daf8f1dd56
2021-04-01Upgrade bc to 3.3.4Elliott Hughes
Test: make Change-Id: Id67b60d09e234405b96bafb1f4a7d9154a7cfc7a
2021-04-01Add the dc easter script to the test suiteGavin Howard
2021-03-31Adjust number of cores for Karatsuba scriptGavin Howard
2021-03-31Ensure that the new stuff is only active when history isGavin Howard
2021-03-31Fix a lot of compile errors from the changes in last commitGavin Howard
2021-03-31Fix problems with printing stuff without newlinesGavin Howard
The problem was not that stuff was printed without newlines, it was that history did not recognize it as such. This commit fixes that. To do that, I had a way for bc_file_* functions to know what kind of flush they needed to do. I added an enum for it and updated all of the places. This ensures that there isn't an infinite loop or other such problem when flushing during history. This commit does not complete the change. I have to ensure it builds with history turned off still.
2021-03-31Change the bc and dc help textsGavin Howard
2021-03-31Remove the known bug from manualsGavin Howard
This bug will be removed in the next release (and next commits).
2021-03-31Add something I forgot to the manualsGavin Howard
2021-03-31Update the manualsGavin Howard
2021-03-31Add the new command-line option to the manualsGavin Howard
2021-03-31Fix a typo in the manualsGavin Howard
2021-03-31Add a command-line option to turn off the read promptGavin Howard
2021-03-31Make sure compiler tmp files are cleanedGavin Howard
2021-03-22Add a known bug to the manualsGavin Howard
2021-03-18Increment the version and update the NEWSGavin Howard
2021-03-18Make sure output is flushed before a readGavin Howard
I found this bug by a script I wrote to do aviation related stuff, a script that would prompt for input without using newlines (because it used `-P` in its hash-bang line).