pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/mathomatic



Module Name:    pkgsrc
Committed By:   asau
Date:           Thu Feb 23 07:57:56 UTC 2012

Modified Files:
        pkgsrc/math/mathomatic: Makefile PLIST distinfo
Added Files:
        pkgsrc/math/mathomatic/patches: patch-makefile

Log Message:
Update to Mathomatic 15.8.0

CHANGES MADE TO MATHOMATIC 15.7.3 TO BRING IT UP TO THE NEXT VERSION:

02/05/12 - The variables command now returns false (with error message) if
           no normal variables are listed with the default or "count"
           command line options.  This is so it can detect numeric-only
           expressions, which may be useful.

02/08/12 - The set command now returns the string "Success." upon success,
           if the debug level is positive or zero.  m4 Mathomatic startup
           m4 scripts required adjustment, so they wouldn't repeatedly say
           "Success.".

02/13/12 - The variables command by default now displays e, i, pi as e#, i#,
           and pi#, so you can tell they are not normal variables.  This
           affected other functionality of the variables command, fix was
           uploaded before the end of the day.

02/14/12 - Change of 12/24/11 was undone.  Many expressions containing the
           imaginary unit, such as the complex exponential expansion of the
           tangent function, were not getting simplified with the simplify
           command.  See the complex number problem in "misc/known_bugs.txt".
           Simplification should work better now for expressions containing
           division by complex numbers.

Mathomatic version 15.8.0 released Saturday 02/18/12.

CHANGES MADE TO MATHOMATIC 15.7.2 TO BRING IT UP TO THE NEXT VERSION:

Some minor user interface improvements were made.

12/14/11 - Further improved parse_complex(), so simplify works better and
           the divide command no longer approximates, giving more accurate
           symbolic answers.

12/18/11 - Combining powers and different denominators that contain absolute
           values like ((x^2)^.5) is now prevented.  This allows correct
           simplification and solving when dealing with absolute values.
           Tested with the Batman equations, which, when plotted
           display the Batman logo ("tests/batman_plot").

12/21/11 - Moved place where 1/i is converted to -i to within the complex
           number division handler, making complex number results more
           consistent and correct.

12/23/11 - Changed the chief author's main email address to
           "gesslein%mathomatic.org@localhost".  The old linux.com email 
address didn't
           seem to work, reliability issues, etc.

12/24/11 - Combining different denominators that contain the imaginary unit
           (i) is now prevented.  This prevents getting different answers
           after simplifying a complicated complex number expression.

01/01/12 - All copyright dates updated to include the new year 2012.
           Happy New Year everybody!

           "set html" in the library now allows pretty HTML output with
           redirected output and with 2D library result string expression
           output ("set display2d" or display command).
           Still no color HTML output for the library.

01/04/12 - Improvement to simplification made, less unnecessary divisions
           and prettier results of the simplify command.  Needs testing.

01/05/12 - Added color HTML output for redirected output when using the
           symbolic math library.

01/24/12 - Increased the size of icons/mathomatic.png to 64x64 and made
           it look nicer.  This is the new, resizeable Mathomatic logo:
           icons/mathomatic.svg.

01/25/12 - Published makenews.sh script to make the NEWS file out of the
           changes.txt file.

01/26/12 - Added tests/demo and tests/demo_sub, to run specific scripts,
           and create complete HTML output files from them.  These are used
           to create the examples on the Mathomatic website.

Mathomatic version 15.7.3 released Wednesday 02/01/12.

CHANGES MADE TO MATHOMATIC 15.7.1 TO BRING IT UP TO THE NEXT VERSION:

A C code cleanup was performed and new debugging/self-checking code was added.

11/19/11 - "make uninstall" now uninstalls the prime number tools and
           symbolic math library too.

11/20/11 - Cleaned up calculate command to allow feedback iteration of more
           than one expression at a time, for a consistent user interface.

11/22/11 - The Mathomatic command "help geometry" now enters the common
           geometry formulas for you, into equation spaces.

           Added "help conversions" which enters some common metric/English
           conversion formulas; with it, you just select the equation that
           does what you want, solving for the desired unit of measurement.
           Then you just type "repeat calculate" to try different values.
           "tests/geometry.in" and "tests/conversions.in" have been
           subsequently removed.

11/25/11 - When compiled for the Symbolic Math Library, Mathomatic defaults
           to single-line output ("set no display2d"), so that output can be
           easily fed back into the input.  Otherwise, output defaults to
           2D mode ("set display2d").  Mathomatic no longer ignores the
           display2d flag when using the Symbolic Math Library.

11/26/11 - The command "factor number" now works in the symbolic math library,
           similarly to the way it works in the Mathomatic application.

11/27/11 - matho-sumsq in the Prime Number Tools now gets its input from
           standard input, if invoked with no arguments.

11/29/11 - Added shell script "misc/testprimes" for a parallel, brute force
           test for the first 50,000,000 primes generated by matho-primes.
           Read the shell script for more information.  Runs in 30 seconds on
           a fast, dual-core computer.

11/30/11 - Added -m option to matho-primes, which allows specifying a
           memory size multiplier.

12/02/11 - Added ability to push a text string into the readline history
           buffer, with the "push string" command.  Whenever the command
           "push equation-number-ranges" fails, the entire argument text
           string is pushed, instead.

12/03/11 - Made it so that entering "#" followed by a variable name at the main 
prompt
           searches backwards through all equation spaces for that variable, 
and then
           selecting and displaying that equation space. "/" followed by a 
variable name
           performs similarly, but searches forward.

12/04/11 - Added "help main" command, which lists all things allowed at the
           main prompt.

           Added "tests/cubic2.in", which is the general cubic polynomial
           formula using 2 equations.

           Improved display order and functionality of "optimize all" command.

12/11/11 - Better detection of complex numbers with fixed parse_complex()
           internal function.

           Rationalizing denominators that contain absolute values ((x^2)^.5)
           is now prevented.  This was a bug.

Mathomatic version 15.7.2 released Tuesday 12/13/11.

CHANGES MADE TO MATHOMATIC 15.7.0 TO BRING IT UP TO THE NEXT VERSION:

11/03/11 - Added "tests/heart.in", which plots a nice looking heart with
           gnuplot while running Mathomatic.

           Displaying thousands separators in MinGW was failing, now it must
           be specified with the THOUSANDS_SEPARATOR compile-time define.
           Thousands separators are not well supported in most standard C
           libraries, causing failure to display numbers, so they are now
           turned off.  So now "set finance" works in the MS-Windows version,
           it was not working at all before (bug reports, anyone?).

11/04/11 - Testing "set finance" mode when doing the standard Mathomatic
           tests now.  "tests/finance.in" now does "set finance" first thing.
           Do we need a round-up option for "set finance" mode?  Currently
           rounds to nearest cent.

11/06/11 - Some minor improvements to the Mathomatic symbolic math library
           error handling output were made.  And no more redundant nor
           inappropriate things are sent to standard output when SILENT=0,
           only helpful messages are output.

           Added the "unfactor count" command option, which also displays the
           resulting number of additive terms in each equation side.

11/10/11 - Improved error and warning messages.

           Rearrangements were made for future reliability and thorough
           testing.

11/11/11 - Allow multiple equation-number-ranges for the simplify command.

11/12/11 - Code cleanup and added more DEBUG error checking.

           Added a little helpful color to the help command.

11/13/11 - "repeat echo -" now draws a line of dashes, "repeat echo" clears
           the screen, etc.

           The derivative command now properly terminates as soon as the
           derivative reaches 0, whenever an order greater than 1 is
           specified.  Previously it just kept differentiating, order times.
           The number of derivatives taken until the result reached 0 is
           displayed.  No primes are added to the LHS variable if the required
           number of primes to add won't fit in the variable name.  Previously
           it gave the wrong number of primes (') if they all didn't fit.

           Cleanup of the Mathomatic Prime Number Tools and their man pages.

11/14/11 - Fixed a missing check for out of memory failure in plot command.

           Plotting expressions with sign variables in them now gives a
           suggestion to try "simplify sign" first, because gnuplot doesn't
           handle +/- or sign variables, but it can plot multiple
           expressions at once.

11/17/11 - Made "make test" and ./t work under Cygwin, by ignoring trailing
           carriage returns when comparing test output.

Mathomatic version 15.7.1 released Friday 11/18/11.

CHANGES MADE TO MATHOMATIC 15.6.5 TO BRING IT UP TO THE NEXT VERSION:

A C code cleanup was done.

10/02/11 - Allow an equation-number-range to be specified on the calculate
           command command-line, so that multiple equation spaces can be
           calculated automatically with a single command.

10/19/11 - Improved nintegrate command results.  nintegrate of cos(sin(x+1))
           wrt x from 0 to 1 now always gives the correct simplified result.
           Rewrote to allow specifying lower and upper bounds on command line.

10/20/11 - Divide command improved: Allow specifying the dividend and divisor
           on the command line.  Other minor fixes.

           The Mathomatic command "plot x^2" works now, Mathomatic
           automatically replaces all ^ with ** on the plot command line.

10/21/11 - Added compilation option -fexceptions to CFLAGS in the Mathomatic
           application and library makefiles and build scripts.  May be why
           exception handling wasn't working well in the past.

10/22/11 - Fixed the display command in the symbolic math library to respond
           to "set columns=number" to cut-off the 2D expression output string
           at the number column, instead of always 80 columns.  And Unix shell
           style redirection for the display command works now, to be
           consistent with the other library commands, simultaneously
           returning a single 2D expression string (width controlled by the
           "set columns" variable) and outputting all specified 2D expressions
           to the file pointed to by gfp (width limit set to infinity).

           Trying to remove -lncurses from ld command line again, getting more
           build failures because of it.  To compile under old Red Hat Linux,
           "LDLIBS=-lncurses make READLINE=1" must be used now.  All other
           distros should easily compile with no changes now.

10/24/11 - Added the "variables count" option, to display the counts of each
           variable in the specified expressions or equations.

11/01/11 - Added "NEWS" file, which is just "changes.txt" reversed. "NEWS" is
           ordered neatly with the latest changes at the top.

Mathomatic version 15.7.0 released Wednesday 11/02/11.

CHANGES MADE TO MATHOMATIC 15.6.4 TO BRING IT UP TO THE NEXT VERSION:

8/25/11 - Now allowing balanced parentheses with anything inside them in
          variable names, so that they can preserve functions temporarily.
          Just type "set special ()" to use this option and stop getting
          errors when entering functions.  They will not be real functions,
          just variables whose name is the complete function string.

8/27/11 - Added sinc(x) function to m4 Mathomatic, which is the normalized
          sinc function, defined as sin(pi*x)/(pi*x).

8/31/11 - Split off the generally useful stuff and general C math defines
          from am.h to standard.h; am.h only contains Mathomatic defines now.
          standard.h and complex_lib.c with complex.h can be included in
          your C math programs if you like, with no changes required.
          Use of gcd.c in other floating point programs that need a gcd() or
          double-to-fraction convert function is recommended.  The code
          has been heavily tested by this CAS.

9/02/11 - Fixed and tested the variables command to handle complex number
          equations better.

9/04/11 - Cleaned up and improved documentation on modular arithmetic and
          its options.  Mathomatic can simplify, calculate, and even solve
          modular arithmetic!

9/06/11 - The 2D display command's internals were
          rewritten to allow outputting to C string buffers.  This allows
          the display command to return a multi-line, formatted expression
          string when using the Symbolic Math Library.  Note that there is
          no color mode when outputting to a C string, but if you send the
          string to a terminal, it displays the specified equation space
          nicely in 2D fraction format.

9/18/11 - Mathomatic "help color" command page created.

9/19/11 - Ported Mathomatic to latest OpenIndiana SunOS operating system.
          Some changes were required and implemented for easier compilation.
          All tests passed!

9/24/11 - Improved set command error reporting.

Mathomatic version 15.6.5 released Sunday 09/25/11.

CHANGES MADE TO MATHOMATIC 15.6.3 TO BRING IT UP TO THE NEXT VERSION:

8/05/11 - Approximating complex number roots only when helpful or approximating,
          improving some results when imaginary numbers are used; for example,
          simplifying sqrt(sin(x)) now returns the best possible result.

8/06/11 - Added "make strip" target to allow easily running the Unix strip
          utility on the resulting binaries.
          Deleted the "make install-strip" and "make bininstall-strip" targets.

          Additionally display C compiler version number in version command.

8/09/11 - Added ability to make a shared library of the Symbolic Math Library,
          using the cmake utility.  "CMakeLists.txt" was the only file changed.
          The shared library is thoroughly UNtested.  :-)

8/13/11 - A colon character (:) placed before any main prompt input will make
          it ignore any error occuring in that particular line, so any current
          read operation won't abort.  Any Mathomatic command preceded with a
          colon will always return with successful status.

          File "misc/identities.in" was added, showing a strength and weakness
          of Mathomatic.

          Removed "doc" target in makefile, due to interference from a
          directory of the same name; use the "html" target instead.

          Added cheat card "doc/quickrefcard.html", created by "make htmlcard"
          and scripts "makehtmlcard.sh" and "makehtmlcard.awk".  The PDF of
          this currently has to be made manually with a web browser, using
          print to PDF file.

          Added ability to automatically create cheat sheet "quickref.pdf",
          created by "make pdfsheet", which invokes script "makepdfsheet.sh".

8/19/11 - General complex number root approximation bug fix: expressions like
          sqrt(sin(9)) now give the correct result, instead of a negative
          number, when using the calculate command.  The calculate command is
          used to immediately evaluate it when you type "sqrt(sin(9))" into
          the m4 Mathomatic main prompt.

8/20/11 - The variables command now defines all "integer" and "sign" variables
          as "int" instead of "double".

8/21/11 - Rewrote the code command code lister to allow output to a C string.
          Code command is now completely available with string output in the
          Symbolic Math Library, meaning Mathomatic can automatically
          generate programming language code within other programs now.

Mathomatic version 15.6.4 released Wednesday 08/24/11.

CHANGES MADE TO MATHOMATIC 15.6.2 TO BRING IT UP TO THE NEXT VERSION:

Source code and user documentation cleanup and corrections.

Creating a PDF book from the Mathomatic man pages with "make bookman" is more
likely to work now.  Package txt2man must be installed to run "make bookman".

6/24/11 - Added file misc/known_bugs.txt, which is the current list of known
          bugs in Mathomatic.

7/04/11 - Added file tests/quadratic.in, just a script that solves the general
          quadratic equation.

7/06/11 - Fixed error messaging to not always give command usage information
          when a command fails or gives a negative result.
          Now only gives command usage info when helpful,
          like when something on the command line is incorrect.

7/07/11 - Fixed the Mathomatic derivative command to not fail with a helpful
          error message when the derivative is zero.
          Now it just gives a warning message along with the successful
          result of the constant zero.

7/23/11 - Mathomatic no longer compiles correctly with the latest Xcode gcc,
          due to a bug in Apple's gcc optimizer.  Either turn the optimizer
          completely off when compiling with Xcode, or use the gcc provided
          by MacPorts.  Xcode version 3.x and other non-Apple C compilers will
          work fine.  All mention of Xcode has been removed from the
          Mathomatic distribution.

7/28/11 - Balanced parentheses and brackets are now allowed in variable names,
          if the "set special_variable_characters" command is run first.
          For example, "set special ()" will allow entry of named functions,
          converting them to variables, which might be useful in some cases.
          However, entry of variables like "f(x)" will not be differentiatable,
          because there is no "x" variable in that, only the "f(x)" variable.
          There can be no spaces encountered in the function; variable names
          end at any non-variable character, including space characters.  I
          can change this, if anyone requests it.

          Entry of array elements is still possible with "set special []".
          This is the default.

7/29/11 - Prompts are now blue when reading files into Mathomatic in color mode.

7/30/11 - Allow an equation number range on the solve command line, for faster,
          more automated solving.  If you want to solve all entered equations
          for x, just type "solve all x" or "solve verify all for x" to be sure.

7/31/11 - Allow "repeat read filename" command, which repeatedly reads a script
          until it fails or is aborted.

8/04/11 - "make install" now shows if installed executables are new or have
          changed since the last install.

Mathomatic version 15.6.3 released Thursday 08/04/11.

CHANGES MADE TO MATHOMATIC 15.6.1 TO BRING IT UP TO THE NEXT VERSION:

6/06/11 - Corrected datadir variable usage in the main Mathomatic makefile.
          Directly importing datadir could have catastrophically deleted the
          entire /usr/share directory with "make uninstall".

6/12/11 - Added proper compilation option (WIN32_CONSOLE_COLORS) for color mode
          in MinGW, in case use with mintty.exe is desired.

Mathomatic version 15.6.2 released Sunday 06/12/11.

CHANGES MADE TO MATHOMATIC 15.6.0 TO BRING IT UP TO THE NEXT VERSION:

The Mathomatic user documentation and help have been shaped up.

A BOLD_COLOR compile-time flag was added, to make Mathomatic default to
using bold color mode.  Used on the Mac and Windows versions of
Mathomatic now.

5/8/11 - The "factor number" command now allows number ranges, in addition
         to integers and integer expressions.

5/9/11 - Install "m4/functions.m4" to proper directory 
(/usr/share/mathomatic/m4).
         The "m4" directory is no longer installed to the system doc directory.
         A big thanks to Terje Røsten of Fedora for showing me the way on this,
         and for his timely Mathomatic package maintenance in Fedora Linux.

5/11/11 - The matho-primes utility can now be run from within Mathomatic by 
typing
          "list primes".  Put any arguments you want to pass to matho-primes on 
the
          "list primes" command line.  Redirection doesn't work yet for this, 
so it
          remains undocumented.

5/15/11 - Added NOGAMMA compile-time define, which makes the factorial function
          integer only, if desired.

          Added color mode to the MinGW Windows version of Mathomatic, thanks to
          Doug Snead for the code.  Tested in cmd.exe, command.com, and CygWin.
          The new color mode does not work in mintty.exe.

5/16/11 - Allow defining SILENT=0 when compiling the symbolic math library,
          so that "set debug level" works and normal Mathomatic debugging works
          within the library code.  Thanks to Doug Snead for suggesting this.

5/21/11 - Changed "make check" to not use the time command, as /usr/bin/time is 
not
          available on all systems.  "make test" performs the same function and
          still uses time.

5/23/11 - Updated the Free Software Foundation's address in the LGPL license 
text
          and in all source files.

Mathomatic version 15.6.1 released Sunday 06/05/11.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 pkgsrc/math/mathomatic/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/math/mathomatic/PLIST
cvs rdiff -u -r1.82 -r1.83 pkgsrc/math/mathomatic/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/mathomatic/patches/patch-makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index