summaryrefslogtreecommitdiff
path: root/math/mathomatic
diff options
context:
space:
mode:
authorasau <asau>2012-07-01 08:02:04 +0000
committerasau <asau>2012-07-01 08:02:04 +0000
commit727a180462043dd0780564cbaa52bea54bd49427 (patch)
treebfc6c5ca80119a957621f9dee89f3a59e26c9b25 /math/mathomatic
parentd41206302ed0e464fbe1ddc35539e4af8d29b8f5 (diff)
downloadpkgsrc-727a180462043dd0780564cbaa52bea54bd49427.tar.gz
Update to Mathomatic 16.0.0
CHANGES MADE TO MATHOMATIC 15.8.5 TO BRING IT UP TO THE NEXT VERSION: Code, documentation, and user interface improvements, corrections, and cleanup. Fixed many possible bugs, some where the wrong level global expression buffers were being used. 05/26/12 - Push command improved with better responses. Same functionality. In the source code, tune-up variable integer_coefficients was renamed to "factor_out_all_numeric_gcds", because Mathomatic always tries to have integer coefficients this year, but it doesn't always factor out all numeric GCDs unless factor_out_all_numeric_gcds is true, or the factor command is used. The default is false, for more orderly and revealing coefficients. Of course, much of what Mathomatic does is try to improve readability and simplicity. There is no need to set this variable, just use the factor command. 05/27/12 - Removed C declarations for memmove(3), the defaults in /usr/include/string.h are probably better and what's wanted in every case. It would be very odd if this didn't work 100%. 05/28/12 - readline history file renamed to "~/.matho_history" from "~/.mathomatic_history". File name was too long for CygWin. Tested thoroughly compiling, installing, and running under the latest CygWin. Works fine, except for rlwrap. "rlwrap -v" returns with error, a successful return is how I test for its existence. Made output redirection work with the "list primes" command. 06/02/12 - Cleanup of Linux, Mac OS X, and Windows binary distributions. The Windows binary distribution now includes m4 scripts, in case CygWin is installed, allowing use of m4 Mathomatic in Windows. Fixed MinGW version to not output two carriage returns at the end of every line of list command output. 06/03/12 - If compiled with -DSHOW_RESOURCES, will give total CPU usage and RSS size in the "version status" command. Requires OS support. Some OSes will show even more information. Uses getrusage(2). 06/04/12 - Allow breaking out of user line-input requests with Control-C. Still have to hit the Enter key, but the command will be aborted. 06/05/12 - Added "lib/example.c", the simplest example yet of Symbolic Math Library usage. Compile with "compile.testmain" or practice compiling it by hand. The simplify command now returns the number of expressions simplified, so you can tell if "simplify sign" worked. The solve command can now require verification, by using the "verifiable" option, instead of the "verify" option. This causes unverifiable solves to return with failure, aborting any reads. Fixed missing code in internal C function free_mem(). I don't think it was used by anyone. A call to free_mem() is now made on exit, if Mathomatic is compiled with -DVALGRIND, to check for memory leaks. 06/08/12 - Added polynomial factoring to GCD result of divide command. It is always handy to know what the factors are of the GCD. Allow comma (,) at the end of most input lines. A comma now terminates an expression instead of giving an error. Allow commas all over the place, where-ever logical, in any Mathomatic command-line. They are used as separators, more so than spaces. 06/09/12 - Cleaned up variables command to always allow the count parameter, and to line up everything with 8 character wide tabs. Added ability to place the definite integration bounds on the integrate command-line, just like the nintegrate command. Added titles to most help command pages. 06/10/12 - The "factor number" command works much nicer now, and allows comma separators and zero. Developers should note that to remain the same as past versions, HTML mode needs to be "set html all" to output HTML at all times in both the application and the symbolic math library, even when redirecting output. Now setting all HTML mode with "make pdfsheet". "set html" only outputs HTML code to standard output. 06/13/12 - Added warning in "misc/known_bugs.txt" about LLVM/Clang optimizer failure when compiling Mathomatic with LLVM/Clang instead of gcc. If you enable any optimization at all, entering (32^.5) and the like will hang Mathomatic, putting it in an endless loop. So when compiling Mathomatic with LLVM/Clang, always disable optimization with "-O0", so that it will then run and pass all of the tests in 1 second and not be infinitely slower. Mathomatic will hang during "make test" if compiled with optimization enabled using LLVM. Mathomatic is not noticeably slower when compiled without any optimization, because everything is memmove(3)s and floating point arithmetic. 06/15/12 - Added repeat option to replace command. A handy feature that lets you try plugging different values into an equation. It checks if the result is an identity, too. 06/18/12 - The version command now has a "status" option, which behaves as before, displaying all version and status information. The version command by itself now only displays the Mathomatic version number. Running "mathomatic -v" is now a good way of testing for the existence of Mathomatic on your system, only outputting the version number to standard output and exiting successfully. 06/19/12 - Removed the parenthesizing of variable names in all messages. If the current expression is a non-equation, then prefixing or suffixing an expression with "=" will add that expression as the other equation side now, conveniently making it an equation you can solve. 06/22/12 - Added equation number ranges option to tally command. Type "tally -" to resume if the current equation hasn't changed. Type "tally all" to add together all stored expressions as the starting value. Specifying equation numbers or ranges will silently add them, then prompt for the next things to add. The average option now displays the number of entries (count) each time the average is displayed. When you exit by typing an empty line, the current total is saved in the next available equation space and made current, so it can easily resume with "tally -". "-" by itself always means the current equation. gnuplot now works with MS-Windows better. Tried running a Windows gnuplot test from scratch, without Cygwin, and it didn't work. It should be mostly fixed now. So go ahead and try plotting in Windows, after downloading and installing gnuplot. Please complain if any problems. Fixed a long-running problem with the plot command, by asking the user questions, only if needed, so that gnuplot will not give an error if you are multi-expression plotting. 06/23/12 - Moved load_rc() out of main.c so that the Mathomatic startup set options file can be loaded by the library, if the developer wishes. Changed a few things so that "set save" and "set no save" will work if load_rc() is called beforehand. 06/25/12 - The simplify command has been fixed for optimal integer coefficient factoring results and so "180*(sides-2)" simplification works nicely, by keeping the result the same as the start by factoring out rational constants greater than 1 (this is new), along with less than 1, if the coefficients remain or become integers. Many things cleaned up and finished, like the official documentation, the "code integer" command, and "examples/fact.c". 06/27/12 - Allow an ASCII string after the "set save" command, to save only that string in ~/.mathomaticrc, so that string, which should be set options, is for every Mathomatic session to start with. For example, "set save bold color" will start out Mathomatic in bold color mode every time. Enter "set no save" to remove. "set save" by itself saves all of the current set options for every future session. Mathomatic version 16.0.0 released Friday 06/29/12.
Diffstat (limited to 'math/mathomatic')
-rw-r--r--math/mathomatic/Makefile4
-rw-r--r--math/mathomatic/distinfo8
2 files changed, 6 insertions, 6 deletions
diff --git a/math/mathomatic/Makefile b/math/mathomatic/Makefile
index e5b5109c938..c4ac0767a07 100644
--- a/math/mathomatic/Makefile
+++ b/math/mathomatic/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.96 2012/05/29 13:23:49 asau Exp $
+# $NetBSD: Makefile,v 1.97 2012/07/01 08:02:04 asau Exp $
#
-DISTNAME= mathomatic-15.8.5
+DISTNAME= mathomatic-16.0.0
CATEGORIES= math
MASTER_SITES= http://mathomatic.org/
EXTRACT_SUFX= .tar.bz2
diff --git a/math/mathomatic/distinfo b/math/mathomatic/distinfo
index 97b32b932c4..04550688b6c 100644
--- a/math/mathomatic/distinfo
+++ b/math/mathomatic/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.85 2012/05/29 13:23:49 asau Exp $
+$NetBSD: distinfo,v 1.86 2012/07/01 08:02:04 asau Exp $
-SHA1 (mathomatic-15.8.5.tar.bz2) = 6329e0f84381ccf3c93e0bd4ba3cd49e26b784d1
-RMD160 (mathomatic-15.8.5.tar.bz2) = 003c6748e39636ceb4be1a6523f3d8f506feae02
-Size (mathomatic-15.8.5.tar.bz2) = 270607 bytes
+SHA1 (mathomatic-16.0.0.tar.bz2) = fec564fd1273013f944bccb0e2d856cd2e28b063
+RMD160 (mathomatic-16.0.0.tar.bz2) = 0a255d7e85ce0989d4d4da3f122266707e14c949
+Size (mathomatic-16.0.0.tar.bz2) = 282672 bytes