Skip to content

Commit

Permalink
Get ready for release 1.1.1
Browse files Browse the repository at this point in the history
* Revise CHANGES.rst
* reword a comment in class Needs
  • Loading branch information
rocky committed Dec 24, 2020
1 parent 82cb590 commit 612e045
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
33 changes: 19 additions & 14 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,41 @@ CHANGES
1.1.1
-----

This is the last update before some major refactoring and interface changing occurs.
This may be the last update before some major refactoring and interface changing occurs.

After this relase, Django will no longer be bundled here. See `mathics-django <https://github.com/Mathics3/mathics-django>` for the unbundled replacement.
In a future 2.0.0 release, Django will no longer be bundled here. See `mathics-django <https://github.com/Mathics3/mathics-django>` for the unbundled replacement.

Some changes were made to support `Pymathics Graph <https://github.com/Mathics3/pymathics-graph>`_, a new graph package bundled separately,
and to support the ability for front-ends to handle rendering on their own.
and to support the ability for front-ends to handle rendering on their own. Note that currently this doesn't integrate well into the Django interface, although it works
well in ``mathicsscript``.


Package Updates
++++++++++++++++
+++++++++++++++

- sympy 1.7.1

Mathics Packages added:

- ``DiscreteMath`CombinatoricaV0.9`` and
``DiscreteMath`CombinatoricaV0.6``. V0.9 covers Steven Skiena's older "Implementing Discrete Mathematics: Combinatorics and Graph Theory" book.
- ``DiscreteMath`CombinatoricaV0.9`` (preferred) aand
``DiscreteMath`CombinatoricaV0.6``.

Both of these correspond to Steven Skiena's *older* book: "Implementing Discrete Mathematics: Combinatorics and Graph Theory" book.

If you have a package that you would like included in the distribution, and it works with Mathics, please contact us

If you have a package that you would like included in the distribution, and it works with Mathics, please contact us. Rubi may appear in a future release.
Rubi may appear in a future release, possibly in a year or so. However this might be speeded up if we can get people to help out with this.


New builtins:
++++++++++++++++++++++++++++

- ``StirlingS1``, ``StirlingS2`` (not all WL variations handled)
- ``MapAt`` (not all WL variations handled)
- ``PythonForm``, ``SympyForm`` these is not in WL. It simply will show a crude translation to ``sympy`` or ``python``. Expect more and better translation later
- ``PythonForm``, ``SympyForm``: these is not in WL. It simply will show a crude translation to ``sympy`` or ``python``. Expect more and better translation later
- ``Throw`` and ``Catch``
- ``With``
- Start ``FileNameTake``
- ``FileNameTake``

Enhancements and Bug fixes:
+++++++++++++++++++++++++++
Expand All @@ -42,13 +47,13 @@ New builtins:
- Add ``Trace`` option to ``Get``. ``Get["fn", Trace->True]`` will show lines as they are read.
- Convert to/from Boolean types properly in ``from_python``, ``to_python``. Previously they were 0, and 1.
- Extend ``DeleteCases`` to accept a levelspec parameter.
- Set Evaluation#exc_result to capture ``Aborted``, ``Timeout``, ``Overflow1``, etc.
- ``ImageData`` changed to get bits {0,1} not bools.
- add tokenizer symbols for <-> and -> and the unicode versions of those.
- fix ``Needs``
- Set ``Evaluation#exc_result`` to capture ``Aborted``, ``Timeout``, ``Overflow1``, etc.
- ``ImageData`` changed to get bits {0,1}, not booleans as previously.
- Add tokenizer symbols for <-> and -> and the unicode versions of those.
- Small corrections to ``Needs``, e.g check if already loaded, correct a typo, etc.
- ``System`$InputFileName`` is now set inside ``Needs`` and ``Get``
- Install shell scripts ``dmathicserver``, ``dmathicsscript``, and ``dmathics`` to simplify running docker
- adjust $InputFileName inside ``Get`` and ``Needs``.
- Adjust $InputFileName inside ``Get`` and ``Needs``.

1.1.0
-----
Expand Down
2 changes: 1 addition & 1 deletion mathics/builtin/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -4930,7 +4930,7 @@ def apply(self, context, evaluation):
# Already loaded
return SymbolNull

# TODO: Look why this rises the message
# TODO: Figure out why this raises the message:
# "Select::normal: Nonatomic expression expected."
already_loaded = Expression('MemberQ',
Symbol('System`$Packages'), context)
Expand Down
2 changes: 1 addition & 1 deletion mathics/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# This file is suitable for sourcing inside POSIX shell as
# well as importing into Python. That's why there is no
# space around "=" below.
__version__="1.1.1dev" # noqa
__version__="1.1.1" # noqa

0 comments on commit 612e045

Please sign in to comment.