Releases: frossm/rpncalc
Release - v5.3.2
Release Notes
This release is a rollup of small changes. The only useability change is that I simplified the conversions to always use the singular version. For example, lbs2kg
is now lb2kg
.
- Simplified conversion (lb/kg) to only use the singular
- Updates to plugins/dependencies
- Also added a requirement for java 11 or newer
- Updated jline3 as it's jAnsi interface is deprecated
- Updated Euler's number to 50 decimal places
- Added Euler's constant which is different apparently
Release - v5.2.10
Release Notes
This is a rollup release of the last several program enhancements.
Release 5.2.10
- Corrected decimal alignment display bug. Adding numbers without decimal (i.e.,
50
) would not align correctly - Added a test for the new queryDecimalIndex() method
- Updated pom.xml to ignore windows error on
chmod
for exec-maven-plugin. On Linux, Maven makes the rpncalc.jar executable making it easier if your system is setup to associate.jar
files with java. - Updated maven exec plugin from 3.3.0 -> 3.4.0
- Updated JUnit from 5.11.0-M2 -> 5.11.0-RC1
Version 5.2.9
- Correct Comma method reducing display decimal digits
- Added to Comma method to return original decimal scale
- Created a new
Display
class and moved Comma and DisplayStatusLine to it - For Trig, moved undo so an error wouldn't create a useless undo level
- Updated tests for PI and added tests for Comma
- Updated the UDF tests
- Updated plugin and dependencies to the latest versions
- Updated the RPNCalc User Guide to add the new PI constant and correct a text issue
Version 5.2.8
- Updated help for linear regression
Version 5.2.7
- Rolled back jLine library update as I'm getting a JANSI deprecation warning
Release - v5.2.7
commit be93ffb (HEAD -> master, origin/master, origin/HEAD)
Author: Michael Fross michael@fross.org
Date: Thu Apr 25 14:48:15 2024 -0500
Rolled back jLine library update
Getting a JANSI deprecation warning
Release - v5.2.6
commit 67f0561 (HEAD -> master, origin/master, origin/HEAD)
Author: Michael Fross michael@fross.org
Date: Thu Apr 25 14:34:09 2024 -0500
Added `in2ft` and `ft2in` commands
Added tests for the new conversions
Updated user guide
Updated shade plugin from 3.5.2 -> 3.5.3
Updated jUnit from 5.10.2 -> 5.11.0-M1
Updated jLine from 3.25.1 -> 3.26.1
commit 43b0b69
Author: Michael Fross michael@fross.org
Date: Sun Apr 21 16:42:53 2024 -0500
Corrected fraction display error. Updated mvn plugins
If you just entered `frac` with a base, the title would display a blank
base (`1/`)
There were quite a few plugin versions that were updated in the pom file
commit 68d103a
Author: Michael Fross michael@fross.org
Date: Sun Feb 18 08:30:43 2024 -0600
Added note that `ug` and `hp` won't work with SNAP install
This is due to the SNAP installed RPNCals not being able to look outside
of it's sandbox and being able to find a system web browser. When a user
attempted to enter in the location, an invalid error occurs (since
RPNCalc can's "see" that file)
commit a77f26c
Author: Michael Fross michael@fross.org
Date: Sat Feb 17 11:09:39 2024 -0600
Added `userguide` and `homepage` commands
Includes the ability to set and configure a web browser
Updates to user Guide to support the new commands
Still need to add some tests
Full Changelog: v5.2.3...v5.2.6
Release - v5.2.3
Release Notes
This is a rollup of many smaller updates.
commit 9ed1218
- Code Optimization
- Improved command parsing
- Updates to User Guide export command. No backslashes!
- LR calc optimization
- Additional exception processing
- Grammar & spelling updates
commit 4854c9a
- Tweaks to
set
config display to align better - Also added quotes around env vars in wrapper
commit 851f922
- More README screenshot alignment tweaks
commit 175b40e
- Update to screenshot alignment
commit ddc0905
- Fixed table error in User Guide in
WhatIsRPN
page
commit 58f9992
- Enhanced
phi
command - If something is on the stack, display the long and short results
- Regardless of stack, add the golden ratio to the top of the stack
- Updated the User Guide page to reflect this change
- Bumped the version of JUnit5 form 5.10.1 to 5.10.2
commit f551762
- Optimized with IntelliJ suggestions
- Switched to IntelliJ from Eclipse
- Implemented many of the suggestion the IDE suggested
- Tweaked a few User Guide pages (Snap, Cover, Acknowledgements)
- I reformed the code with IntelliJ which resulted in a lot of small changes
- Added new screenshots
Release - v5.1.8
Release Notes
Linear Regression has gotten some attention. Previously, the default action was to display the LR equation and add the next forecasted value to the stack. This has been updated. Now, nothing has been added to the stack unless the add
parameter is given to lr
. Secondly, you can specify a numeric value and the y
value at the provided x
is displayed, or also added to the top of the stack line1
if add
is specified.
There is also a collection of smaller updated included in this release.
- Linear Regression reworked to include an optional
add
(a
also works) as well as anx
value. Bothadd
andx
are optional - Updated the unit tests to test this new capability
- Updated the User Guide with more details on the
lr
usage - Updated Maven plugins
- maven-compiler-plugin
- maven-surefire-plugin
- maven-shade-plugin
- exec-maven-plugin
- Updated the following dependencies:
- Fross library
- jLine-reader
- jLine-terminal-jansi
- Updated source code and LICENSE file with an updated copyright date of 2024
- Updated screenshots
Release - v5.1.5
Release Notes
This release is a collection of smaller updates from recent commits.
- Replaced
%
command withto%
andfrom%
. Should make more intuitive sense and add the conversion in both directions - Added the following command aliases to other commands:
delete
has been added along with existingdel
andd
commandsaddall
has been added along with existingaa
commandmodulus
has been added to existingmod
command
- Updated the
frac
command to eliminate 0 as an output. Some of the numbers are huge, but it's an improvement. For example,22.22
frac 7
results in22.22000 is approximately ' 22 28571428571428571428571428571429/100000000000000000000000000000000'
- Reverting jline library back to v3.23.0 as it gives an ugly warning when starting in Linux. "WARNING: Illegal reflective access by org.jline.terminal.impl.exec.ExecTerminalProvider$ReflectionRedirectPipeCreator"
- Updated UserGuide with new commands and corrected the license information on the coverpage
- Tweaks to code comments to make them more clear
Release - v5.1.0
Release Notes
While not a large release, this release fixes a few large bugs I came across. I would recommend everyone moving to this version given there are bugs that could impact you.
-
Fixes
- Entering a negative fraction would incorrectly calculate the decimal equivalent
- Fractional rounding worked most of the time, but there were obvious bugs. For example, entering
4.9 frac 2
would NOT show the result as5
. The entire fractional display code was re-worked and I think it's good now. - When rounding, allow for providing a
0
for precision. This is the default, but previously you couldn't actually add the zero
-
Enhancements
- Built a spreadsheet to show correct results of fractional rounding and my automated tests match it now
- Many more frational tests were added to the unit testing
- Removed the
0/1
display for fractions that resulted in no fractional components (such as4.9 frac 2
. It's just5
and not5 0/1
Release - v5.0.13
Release Notes
This release is a series of small enhancements. No new functionality has been added
- Updated the SNAP distribution to run on Ubuntu Core 22 instead of Core 18 as 18 will be going end of life
- Corrections needed due to a library update to the commdn DebugPrint
- I frequently type
mem list
, which is incorrect. The correct command islist mem
. However, I've added a simple catch that looks for this and calls the correct command - Other snapcraft configuration enhancements
Release - v5.0.10
Release Notes
Bugs
- Corrected crash if user entered
-+
. This was not caught and would case a crash. It will now display an error - With very large scientific notation numbers, the
r
ight andd
ecimal alignments could be off. This has been corrected
Enhancements
- Commas can now be entered in inputed numbers. For example, the number
-123,456,7899.2
can not be input. Commas can be anywhere, they are simply removed before they number is added to the stack. - Additional automated tests
- The
factorial
command now uses BigDecimal instead of Long so you can have truely huge numbers in a Factorial. Give400
fact
command a try. To put this into perspective, our galaxy contains approximately 2.4 × 10^67 atoms - Added a unit test to check for a number entry with commas
- Added test for a number to the power of zero (should be 1)
- Added tests for import and export with scientific numbers on the stack