Revisions of python-prompt_toolkit

buildservice-autocommit accepted request 1135791 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 53)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 52)
- 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's avatar Daniel Garcia (dgarcia) (revision 51)
baserev update by copy to link target
Daniel Garcia's avatar Daniel Garcia (dgarcia) committed (revision 50)
-  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's avatar Dirk Mueller (dirkmueller) (revision 49)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) accepted request 1081533 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 48)
SR for python stack proposal
buildservice-autocommit accepted request 1077423 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 47)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 1077371 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 46)
- 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's avatar Dirk Mueller (dirkmueller) (revision 45)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) accepted request 1042736 from Yogalakshmi Arunachalam's avatar Yogalakshmi Arunachalam (yarunachalam) (revision 44)
- 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's avatar Dirk Mueller (dirkmueller) (revision 43)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) accepted request 1040494 from Yogalakshmi Arunachalam's avatar Yogalakshmi Arunachalam (yarunachalam) (revision 42)
- 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's avatar Daniel Garcia (dgarcia) (revision 41)
baserev update by copy to link target
Daniel Garcia's avatar Daniel Garcia (dgarcia) accepted request 1034892 from Yogalakshmi Arunachalam's avatar Yogalakshmi Arunachalam (yarunachalam) (revision 40)
- 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's avatar Daniel Garcia (dgarcia) (revision 39)
baserev update by copy to link target
Daniel Garcia's avatar Daniel Garcia (dgarcia) accepted request 1008044 from Yogalakshmi Arunachalam's avatar Yogalakshmi Arunachalam (yarunachalam) (revision 38)
- 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's avatar Dirk Mueller (dirkmueller) (revision 37)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) accepted request 986220 from John Paul Adrian Glaubitz's avatar John Paul Adrian Glaubitz (glaubitz) (revision 36)
- 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`.
buildservice-autocommit accepted request 965076 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 35)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 34)
- update to 3.0.28:
  - Support format specifiers for HTML and ANSI formatted text.
  - Accept defaults for checkbox and radio list, and their corresponding dialogs.
  - Fix resetting of cursor shape after the application terminates.
  - Support for cursor shapes. The cursor shape for prompts/applications can now
    be configured, either as a fixed cursor shape, or in case of Vi input mode,
    according to the current input mode.
  - Handle "cursor forward" command in ANSI formatted text. This makes it
    possible to render many kinds of generated ANSI art.
  - Accept `align` attribute in `Label` widget.
  - Added `PlainTextOutput`: an output implementation that doesn't render any
    ANSI escape sequences. This will be used by default when redirecting stdout
    to a file.
  - Added `create_app_session_from_tty`: a context manager that enforces
    input/output to go to the current TTY, even if stdin/stdout are attached to
    pipes.
  - Added `to_plain_text` utility for converting formatted text into plain text.
  - Don't automatically use `sys.stderr` for output when `sys.stdout` is not a
    TTY, but `sys.stderr` is. The previous behavior was confusing, especially
    when rendering formatted text to the output, and we expect it to follow
Displaying revisions 1 - 20 of 53
openSUSE Build Service is sponsored by