Revisions of python-prompt_toolkit
buildservice-autocommit
accepted
request 1179075
from
Dirk Mueller (dirkmueller)
(revision 55)
baserev update by copy to link target
- update to 3.0.46: * Fix pytest capsys fixture compatibility. * Improve performance of `GrammarCompleter` (faster deduplication of completions). * Accept `os.PathLike` in `FileHistory` (typing fix). * Fix memory leak in filters. * Improve performance of progress bar formatters. * Fix compatibility when a SIGINT handler is installed by non- Python (Rust, C). * Limit number of completions in buffer to 10k by default (for performance).
buildservice-autocommit
accepted
request 1135791
from
Dirk Mueller (dirkmueller)
(revision 53)
baserev update by copy to link target
- update to 3.0.43: * Fix regression on Pypy: Don't use `ctypes.pythonapi` to restore SIGINT if not available. * Make `formatted_text.split_lines()` accept an iterable instead of lists only. * Disable the IPython workaround (from 3.0.41) for IPython >= 8.18. * Restore signal.SIGINT handler between prompts. - Update to version 3.0.36 - Update to version 3.0.33: - Update to version 3.0.32:
buildservice-autocommit
accepted
request 1130986
from
Daniel Garcia (dgarcia)
(revision 51)
baserev update by copy to link target
- Update to 3.0.41 (bsc#1217693): - Fix regression regarding IPython input hook (%gui) integration. - 3.0.40 * Fixes: - Improved Python 3.12 support (fixes event loop `DeprecationWarning`). * New features: - Vi key bindings: `control-t` and `control-d` for indent/unindent in insert mode. - Insert partial suggestion when `control+right` is pressed, similar to Fish. - Use sphinx-nefertiti theme for the docs. - 3.0.39 * Fixes: - Fix `RuntimeError` when `__breakpointhook__` is called from another thread. - Fix memory leak in filters usage. - Ensure that key bindings are handled in the right context (when using contextvars). * New features: - Accept `in_thread` keyword in `prompt_toolkit.shortcuts.prompt()`. - Support the `NO_COLOR` environment variable.
buildservice-autocommit
accepted
request 1081824
from
Dirk Mueller (dirkmueller)
(revision 49)
baserev update by copy to link target
SR for python stack proposal
buildservice-autocommit
accepted
request 1077423
from
Matej Cepl (mcepl)
(revision 47)
baserev update by copy to link target
- Update to 3.0.38 * Fix regression in filters. (Use of `WeakValueDictionary` caused filters to not be cached). - Release 3.0.37 Bug fixes: * Fix `currentThread()` deprecation warning. * Fix memory leak in filters. * Make VERSION tuple numeric. * Add `.run()` method in `TelnetServer`. (To be used instead of `.start()/.stop()`. ## Breaking changes: * Subclasses of `Filter` have to call `super()` in their `__init__`. * Drop support for Python 3.6: - This includes code cleanup for Python 3.6 compatibility. - Use `get_running_loop()` instead of `get_event_loop()`. - Use `asyncio.run()` instead of `asyncio.run_until_complete()`.
buildservice-autocommit
accepted
request 1042877
from
Dirk Mueller (dirkmueller)
(revision 45)
baserev update by copy to link target
- Update to version 3.0.36 * Fixes: - Another Python 3.6 fix for a bug that was introduced in 3.0.34. - Update to version 3.0.35 Fixes: - Fix bug introduced in 3.0.34 for Python 3.6. Use asynccontextmanager implementation from prompt_toolkit itself. - Update to version 3.0.34 Fixes: - Improve completion performance in various places. - Improve renderer performance. - Handle `KeyboardInterrupt` when the stacktrace of an unhandled error is displayed. - Use correct event loop in `Application.create_background_task()`. - Fix `show_cursor` attribute in `ScrollablePane`.
buildservice-autocommit
accepted
request 1040748
from
Dirk Mueller (dirkmueller)
(revision 43)
baserev update by copy to link target
- Update to version 3.0.33: Fixes: - Improve termination of `Application`. Don't suppress `CancelledError`. This fixes a race condition when an `Application` gets cancelled while we're waiting for the background tasks to complete. - Fixed typehint for `OneStyleAndTextTuple`. - Small bugfix in `CombinedRegistry`. Fixed missing `@property`.
buildservice-autocommit
accepted
request 1035182
from
Daniel Garcia (dgarcia)
(revision 41)
baserev update by copy to link target
- Update to version 3.0.32: Bug fixes: - Use `DummyInput` by default in `create_input()` if `sys.stdin` does not have a valid file descriptor. This fixes errors when `sys.stdin` is patched in certain situations. - Fix control-c key binding for `ProgressBar` when the progress bar was not created from the main thread. The current code would try to kill the main thread when control-c was pressed. New features: - Accept a `cancel_callback` in `ProgressBar` to specify the cancellation behavior for when `control-c` is pressed. - Small performance improvement in the renderer.
buildservice-autocommit
accepted
request 1008170
from
Daniel Garcia (dgarcia)
(revision 39)
baserev update by copy to link target
- Update to version 3.0.31: 2022-09-02 New features: - Pass through `name` property in `TextArea` widget to `Buffer`. - Added a `enable_cpr` parameter to `Vt100_Output`, `TelnetServer` and `PromptToolkitSSHServer`, to completely disable CPR support instead of automatically detecting it.
buildservice-autocommit
accepted
request 986469
from
Dirk Mueller (dirkmueller)
(revision 37)
baserev update by copy to link target
- Update to version 3.0.30: New features: - Allow zero-width-escape sequences in `print_formatted_text`. - Add default value option for input dialog. - Added `has_suggestion` filter. Fixes: - Fix rendering of control-shift-6 (or control-^). Render as '^^' - Always wrap lines in the Label widget by default. - Fix enter key binding in system toolbar in Vi mode. - Improved handling of stdout objects that don't have a 'buffer' attribute. For instance, when using `renderer_print_formatted_text` in a Jupyter Notebook. - from version 3.0.29: New features: - Accept 'handle_sigint' parameter in PromptSession. Fixes - Fix 'variable referenced before assignment' error in vt100 mouse bindings. - Pass `handle_sigint` from `Application.run` to `Application.run_async`. - Fix detection of telnet client side changes. - Fix `print_container` utility (handle `EOFError`). Breaking changes: - The following are now context managers: `create_pipe_input`, `PosixPipeInput` and `Win32PipeInput`.
Displaying revisions 1 - 20 of 55