From 1a3bc2e4064ef77c35ec904bfc3381fcf343c293 2014-10-30 16:44:01 From: Thomas Kluyver Date: 2014-10-30 16:44:01 Subject: [PATCH] Merge pull request #6816 from takluyver/pr-whatsnew-8 Update whatsnew file from pull requests --- diff --git a/docs/source/whatsnew/development.rst b/docs/source/whatsnew/development.rst index 58a7e31..179c983 100644 --- a/docs/source/whatsnew/development.rst +++ b/docs/source/whatsnew/development.rst @@ -53,7 +53,7 @@ Other new features ``placeholder`` attribute, for displaying placeholder text before the user has typed anything. -* The %load magic can now find the source for objects in the user namespace. +* The :magic:`load` magic can now find the source for objects in the user namespace. To enable searching the namespace, use the ``-n`` option. .. sourcecode:: ipython @@ -84,6 +84,39 @@ Other new features Now, the same merge is applied to the stored output as the displayed output, improving document load time for notebooks with many small outputs. +* ``NotebookApp.webapp_settings`` is deprecated and replaced with + the more informatively named ``NotebookApp.tornado_settings``. + +* Using :magic:`timeit` prints warnings if there is atleast a 4x difference in timings + between the slowest and fastest runs, since this might meant that the multiple + runs are not independent of one another. + +* It's now possible to provide mechanisms to integrate IPython with other event + loops, in addition to the ones we already support. This lets you run GUI code + in IPython with an interactive prompt, and to embed the IPython + kernel in GUI applications. See :doc:`/config/eventloops` for details. As part + of this, the direct ``enable_*`` and ``disable_*`` functions for various GUIs + in :mod:`IPython.lib.inputhook` have been deprecated in favour of + :meth:`~.InputHookManager.enable_gui` and :meth:`~.InputHookManager.disable_gui`. + +* A ``ScrollManager`` was added to the notebook. The ``ScrollManager`` controls how the notebook document is scrolled using keyboard. Users can inherit from the ``ScrollManager`` or ``TargetScrollManager`` to customize how their notebook scrolls. The default ``ScrollManager`` is the ``SlideScrollManager``, which tries to scroll to the nearest slide or sub-slide cell. + +* The function :func:`~IPython.html.widgets.interaction.interact_manual` has been + added which behaves similarly to :func:`~IPython.html.widgets.interaction.interact`, + but adds a button to explicitly run the interacted-with function, rather than + doing it automatically for every change of the parameter widgets. This should + be useful for long-running functions. + +* The ``%cython`` magic is now part of the Cython module. Use `%load_ext Cython` with a version of Cython >= 0.21 to have access to the magic now. + +* The Notebook application now offers integrated terminals on Unix platforms, + intended for when it is used on a remote server. To enable these, install + the ``terminado`` Python package. + +* Setting the default highlighting language for nbconvert with the config option + ``NbConvertBase.default_language`` is deprecated. Nbconvert now respects + metadata stored in the :ref:`kernel spec `. + .. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT. diff --git a/docs/source/whatsnew/pr/inputhook_extensible.rst b/docs/source/whatsnew/pr/inputhook_extensible.rst deleted file mode 100644 index 80cd40f..0000000 --- a/docs/source/whatsnew/pr/inputhook_extensible.rst +++ /dev/null @@ -1,7 +0,0 @@ -* It's now possible to provide mechanisms to integrate IPython with other event - loops, in addition to the ones we already support. This lets you run GUI code - in IPython with an interactive prompt, and to embed the IPython - kernel in GUI applications. See :doc:`/config/eventloops` for details. As part - of this, the direct ``enable_*`` and ``disable_*`` functions for various GUIs - in :mod:`IPython.lib.inputhook` have been deprecated in favour of - :meth:`~.InputHookManager.enable_gui` and :meth:`~.InputHookManager.disable_gui`. diff --git a/docs/source/whatsnew/pr/interact-manual.rst b/docs/source/whatsnew/pr/interact-manual.rst deleted file mode 100644 index 931005c..0000000 --- a/docs/source/whatsnew/pr/interact-manual.rst +++ /dev/null @@ -1,4 +0,0 @@ -- The function ``interact_manual`` has been added which behaves similarly to - ``interact``, but adds a button to explicitly run the interacted-with - function, rather than doing it automatically for every change of the - parameter widgets. This should be useful for long-running functions. diff --git a/docs/source/whatsnew/pr/nb-terminals.rst b/docs/source/whatsnew/pr/nb-terminals.rst deleted file mode 100644 index 8b116b0..0000000 --- a/docs/source/whatsnew/pr/nb-terminals.rst +++ /dev/null @@ -1,3 +0,0 @@ -- The Notebook application now offers integrated terminals on Unix platforms, - intended for when it is used on a remote server. To enable these, install - the ``terminado`` Python package. diff --git a/docs/source/whatsnew/pr/nbconvert-highlight-config-deprecated.rst b/docs/source/whatsnew/pr/nbconvert-highlight-config-deprecated.rst deleted file mode 100644 index 517e3ef..0000000 --- a/docs/source/whatsnew/pr/nbconvert-highlight-config-deprecated.rst +++ /dev/null @@ -1,3 +0,0 @@ -- Setting the default highlighting language for nbconvert with the config option - ``NbConvertBase.default_language`` is deprecated. Nbconvert now respects - metadata stored in the :ref:`kernel spec `_. diff --git a/docs/source/whatsnew/pr/paul-scroll.rst b/docs/source/whatsnew/pr/paul-scroll.rst deleted file mode 100644 index 34cb1d3..0000000 --- a/docs/source/whatsnew/pr/paul-scroll.rst +++ /dev/null @@ -1 +0,0 @@ -* A ``ScrollManager`` was added to the notebook. The ``ScrollManager`` controls how the notebook document is scrolled using keyboard. Users can inherit from the ``ScrollManager`` or ``TargetScrollManager`` to customize how their notebook scrolls. The default ``ScrollManager`` is the ``SlideScrollManager``, which tries to scroll to the nearest slide or sub-slide cell. diff --git a/docs/source/whatsnew/pr/remove_cythonmagic.rst b/docs/source/whatsnew/pr/remove_cythonmagic.rst deleted file mode 100644 index 5f750fd..0000000 --- a/docs/source/whatsnew/pr/remove_cythonmagic.rst +++ /dev/null @@ -1 +0,0 @@ -* The ``%cython`` magic, is now part of the Cython module. Use `%load_ext Cython` with a version of Cython >= 0.21 to have access to the magic now. diff --git a/docs/source/whatsnew/pr/tornado_settings.rst b/docs/source/whatsnew/pr/tornado_settings.rst deleted file mode 100644 index 769437e..0000000 --- a/docs/source/whatsnew/pr/tornado_settings.rst +++ /dev/null @@ -1,2 +0,0 @@ -- ``NotebookApp.webapp_settings`` is deprecated and replaced with - the more informatively named ``NotebookApp.tornado_settings``. \ No newline at end of file diff --git a/docs/source/whatsnew/pr/warning_timeit_cache.rst b/docs/source/whatsnew/pr/warning_timeit_cache.rst deleted file mode 100644 index 3f287e8..0000000 --- a/docs/source/whatsnew/pr/warning_timeit_cache.rst +++ /dev/null @@ -1,3 +0,0 @@ -Using %timeit prints warnings if there is atleast a 4x difference in timings -between the slowest and fastest runs, since this might meant that the multiple -runs are not independent of one another. \ No newline at end of file