Skip to content

Releases: frossm/rpncalc

Release - v3.2.8

31 May 18:00
Compare
Choose a tag to compare

Release Notes

Quick bug fix: If an illegal fraction was entered RPNCalc would crash. This is now caught and correctly handled.

Release - v3.2.7

19 May 20:08
08e38e0
Compare
Choose a tag to compare

Release Notes

  • Added a speed of light constant. Command is sol
  • Changes in maven configuration to reduce the size of the snap files
  • Updates to help and readme file
  • Graphics updates - these do not impact the actual program, just those used in github and snapcraft

Release - v3.2.1

15 Nov 01:55
Compare
Choose a tag to compare

Release Notes

This release adds a func delall command. Executing this will delete all user defined functions. It is not recoverable with the u undo command.

Note

To user RPNCalc, simply download the jar file (and verify against one of the hashes below if you wish) and execute it with

java -jar rpncalc.jar

No installation is needed, and to remove it just delete the file. All dependencies are contained in the JAR file. Of course Java must be installed.

Release - v3.2.0

01 Nov 18:21
Compare
Choose a tag to compare

Release Notes

This releases includes one new command and an update to an existing command.

mem addall

With the mem addall command, all of the items in the current stack will be saved to a memory slot. The order will be preserved, so the top of the stack item in line1 will be stored in memory slot0. Creating another named stack with l (Load) can also be used, this can be convenient in some circumstances.

Please keep in mind that you have to have enough memory slots to accommodate the stack. By default, there are only 10 memory slots, but this can be adjusted with the command line switch -m. Any existing values in a memory slot that will be overwritten if needed.

undo [Undo Point]

By default, if you type u to perform an undo, the last action it undone. You can view the list of undo points via list undo you can see an undo point number and the contents of that stack. By providing an undo point number with the undo command, you'll go back in time to the undo point requested. Any saved undo points you "jump over" going back to that point will be lost.

Release - v3.0.0

31 Oct 15:27
Compare
Choose a tag to compare

Release Notes

The main change in this version is I've added the ability to create User Defined Functions (UDF). You can turn on recording, execute number entries and commands, and then save this so it can be executed in the future. Only what you enter on the command line, including numbers, will be saved to the UDF.

Undo u will also allow you to undo each command in the UDF. These functions are stored in the java preferences system. Please be very careful if you edit them directly. The parser expects the FunctionSteps to have the total number of commands and the Step syntax to be as generated.

Command Description
list func Show a list of the saved user defined functions
record on Turn on recording. Most commands and numbers entered after record is enabled will be saved
record off Turn off recording. The user will be prompted to enter in a name of this function and that name will be used to run it in the future. If you do not enter in a name the recording is canceled and nothing will be saved
func del NAME Delete a saved function. The name must match the one given when saved. A list of functions can be viewed with list func
func run Execute the saved user defined function with the current stack as the starting point

This required quite a bit of code reorganization and I've tested to ensure there are no bugs, but there very well may be some. Please let me know in the issue tab if you find any.

Secondly, I did fix a bug with mod if there was only one argument. The program would crash, but now you'll just see an error message.

Release - v2.8.1

24 Oct 23:15
Compare
Choose a tag to compare

Release Notes

Small bug fix on clearing the screen if colorization was disabled with -z.

New features:

  • min: Add the minimum number in the list to the top of the stack
  • max: Add the maximum number in the list to the top of the stack

Release - v2.7.0

22 Oct 19:37
Compare
Choose a tag to compare

Release Notes

Extended the copy command to allow a line number to be selected. So now, copy will always copy line 1. But copy # will copy that line number.

Also, at the request of Benjamin Bellamy:

  • dup is now an alias for copy
  • drop is not an alias for del

Thanks Ben for your thoughts and comments!

Lastly, I've updated the help and README.md file to hopefully be a bit more clear on the options.

Note:

As always, only the jar file is needed and can be executed via: java -jar RPNCalc.jar No installation needed.

Release - v2.6.0

23 Jun 19:50
Compare
Choose a tag to compare

Release Notes:

Two new command were added to RPNCalc.

Command Description
avg [keep] Average: Added the command to create an average, or mean, of the items in the stack. Normally the result will replace the stack items with the average, but if keep is added to the command they will be retained. The command average or mean can also be used
sd Standard Deviation: Calculate the standard deviation of the numbers in the stack. If keep is used, the standard deviation will be appending onto the stack instead of replacing the contents

Secondly, jansi was updated to v2.3.3.

If you discover any issues, please create a issue in GitHub and I'll look into it.

Release - v2.5.0

07 Jun 21:07
Compare
Choose a tag to compare

Release Notes

This release added the ability save memory slots between sessions. This is a global list and not tied to specific stacks. mem clearall will clear all memory slots.

Release - v2.4.0

09 Apr 22:16
Compare
Choose a tag to compare

Release Notes

Added simple and probably rarely used commands

  • abs Absolute Value. Returns the positive value of the top stack item (line 1).
  • int Integer. Returns the integer portion of the top stack item (line 1). This effectively just removed the decimal portion of the number.