From c4b3504ca9207c50c79779387998214dfe9dc2ac Mon Sep 17 00:00:00 2001 From: Jonathan Slenders Date: Wed, 3 Aug 2016 20:19:25 +0200 Subject: Release 1.0.4 --- CHANGELOG | 54 ++++++++++++++++++++++++++++++++++++++++++++++ docs/conf.py | 4 ++-- prompt_toolkit/__init__.py | 2 +- 3 files changed, 57 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 09f85426..bda2a39d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,60 @@ CHANGELOG ========= +1.0.4: 2016-08-03 +----------------- + +Fixes: +- Key binding fixes: + * Improved handling of repeat arguments in Emacs mode. Pressing sequences + like 'esc---123' do now work (like GNU Readline): + - repetition of the minus sign is ignored. + - No esc prefix is required for each digit. + * Fix in ControlX-ControlX binding. + * Fix in bracketed paste. + * Pressing Control-U at the start of the line now deletes the newline. + * Pressing Control-K at the end of the line, deletes the newline after + the cursor. + * Support negative argument for Control-K + * Fixed cash when left/right were pressed with a negative argument. (In + Emacs mode.) + * Fix in ControlUp/ControlDown key bindings. + * Distinguish backspace from Control-H. They are not the same. + * Delete in front of the cursor when a negative argument has been given + to backspace. +- Performance optimizations: + * Handle arrow keys correctly in emacs-term. + * Performance optimization in Registry. + * Several performance optimization in filters. + * Import asyncio inline (only if required). +- Use the best possible selector in the event loop. This fixes bugs in + situations where we have too many open file descriptors. +- Fix UI freeze when gevent monkey patch has been applied. +- Fix segmentation fault in Alpine Linux. (Regarding the use of ioctl.) +- Use the correct colors on Windows. (When the foreground/background colors + have been modified.) +- Display a better error message when running in Idle. +- Additional flags for vt100 inputs: disable flow control. +- Also patch stderr in CommandLineInterface.patch_stdout_context. + +New features: +- Allow users to enter Vi digraphs in reverse order. +- Improved autocompletion behaviour. See IPython issue #9658. +- Added a 'clear' function in the shortcuts module. + +For future compatibility: +- `Keys.Enter` has been added. This is the key that should be bound for + handling the enter key. + + Right now, prompt_toolkit translates \r into \n during the handling of the + input; this is not correct and makes it impossible to distinguish between + ControlJ and ControlM. Some applications bind ControlJ for custom handling of + the enter key, because this equals \n. However, in a future version we will + stop replacing \r by \n and at that point, the enter key will be ControlM. + So better is to use `Keys.Enter`, which becomes an alias for whatever the + enter key translates into. + + 1.0.3: 2016-06-20 ----------------- diff --git a/docs/conf.py b/docs/conf.py index e840877f..eaedaff8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -51,9 +51,9 @@ copyright = u'2014, Jonathan Slenders' # built documents. # # The short X.Y version. -version = '1.0.3' +version = '1.0.4' # The full version, including alpha/beta/rc tags. -release = '1.0.3' +release = '1.0.4' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/prompt_toolkit/__init__.py b/prompt_toolkit/__init__.py index 381aad8e..46e96790 100644 --- a/prompt_toolkit/__init__.py +++ b/prompt_toolkit/__init__.py @@ -19,4 +19,4 @@ from .shortcuts import prompt # Don't forget to update in `docs/conf.py`! -__version__ = '1.0.3' +__version__ = '1.0.4' -- cgit v1.2.3