Revisions of python-prompt_toolkit

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1208844 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 28)
- update to 3.0.48:
  * Typing improvements:
  * Add `@overload` to
    `contrib.regular_languages.compiler.Variables.get`.
  * Use `Sequence` instead of `list` for `words` argument in
    completers.
  * Improve `ModalCursorShapeConfig`:
  * Display an "underscore" cursor in Vi's "replace single" mode,
    like "replace" mode.
  * Display an "beam" cursor in Emacs (insert) mode.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1194587 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 27)
- update to 3.0.47:
  * Allow passing exception classes for `KeyboardInterrupt` and
    `EOFError` in  `PromptSession`.
  * Compute padding parameters for `Box` widget lazily.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1179075 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 26)
- 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).
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1135791 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 25)
- 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:
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1130986 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 24)
-  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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 965076 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 16)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 857115 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 14)
- update to 3.0.8:
  - Added `validator` parameter to `input_dialog`.
  - New "placeholder" parameter added to `PromptSession`.
  - Fixes
  - The SSH/Telnet adaptors have been refactored and improved in several ways.
    See issues #876 and PR #1150 and #1184 on GitHub.
    * Handle terminal types for both telnet and SSH sessions.
    * Added pipe input abstraction. (base class for `PosixPipeInput` and
      `Win32PipeInput`).
    * The color depth logic has been refactored and moved to the `Output`
      implementations. Added `get_default_color_depth` method to `Output`
      objects.
    * All line feets are now preceded by a carriage return in the telnet
      connection stdout.
  - Introduce `REPLACE_SINGLE` input mode for Vi key bindings.
  - Improvements to the checkbox implementation:
      * Hide the scrollbar for a single checkbox.
      * Added a "checked" setter to the checkbox.
  - Expose `KeyPressEvent` in key_binding/__init__.py (often used in type
    annotations).
  - The renderer has been optimized so that no trailing spaces are generated
    (this improves copying in some terminals).
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 736809 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 11)
- Update to 2.0.10:
  * minor bugfixes around
Displaying revisions 1 - 20 of 28
openSUSE Build Service is sponsored by