NOTICE: This package has been removed from pkgsrc

./devel/py-prompt_toolkit2, Library for building powerful interactive command lines

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 3.0.18, Package name: py38-prompt_toolkit-3.0.18, Maintainer: kamelderouiche

Library for building powerful interactive command lines in Python


Required to run:
[devel/py-setuptools] [lang/py-six] [devel/py-wcwidth] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 19c0b8e4f4210d8596deca156c91f4eb41ece4d3
RMD160: 222de988a081e6e3d51ec661b29c170b35ee0956
Filesize: 2963.627 KB

Version history: (Expand)


CVS history: (Expand)


   2021-06-10 09:08:56 by Adam Ciarcinski | Files touched by this commit (7) | Package removed
Log message:
py-prompt_toolkit: moved version 3.0.18 from py-prompt_toolkit2
   2021-05-05 10:41:33 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-prompt_toolkit: updated to 3.0.18

3.0.18: 2021-03-22
------------------
New features:
- Added `in_thread` parameter to `Application.run`.
  This is useful for running an application in a background thread, while the
  main thread blocks. This way, we are sure not to interfere with an event loop
  in the current thread. (This simplifies some code in ptpython and fixes an
  issue regarding leaking file descriptors due to not closing the event loop
  that was created in this background thread.)

3.0.17: 2021-03-11
------------------
New features:
- Accept `style` parameter in `print_container` utility.
- On Windows, handle Control-Delete.

Fixes:
- Avoid leaking file descriptors in SSH server.

3.0.16: 2021-02-11
------------------
New features:
- Added `ScrollablePane`: a scrollable layout container.
  This allows applications to build a layout, larger than the terminal, with a
  vertical scroll bar. The vertical scrolling will be done automatically when
  certain widgets receive the focus.
- Added `DeduplicateCompleter and `ConditionalCompleter`.
- Added `deduplicate` argument to `merge_completers`.
   2021-02-11 13:44:02 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prompt_toolkit2: updated to 3.0.15

3.0.15: 2021-02-10
------------------
Fixes:
- Set stdout blocking when writing in vt100 output. Fixes an issue when uvloop
  is used and big amounts of text are written.
- Guarantee height of at least 1 for both labels and text areas.
- In the `Window` rendering, take `dont_extend_width`/`dont_extend_height` into
  account. This fixes issues where one window is enlarged unexpectedly because
  it's bundled with another window in a `HSplit`/`VSplit`, but with different
  width/height.
- Don't handle `SIGWINCH` in progress bar anymore. (The UI runs in another
  thread, and we have terminal size polling now).
- Fix several thread safety issues and a race condition in the progress bar.
- Fix thread safety issues in `Application.invalidate()`. (Fixes a
  `RuntimeError` in some situations when using progress bars.)
- Fix handling of mouse events on Windows if we have a Windows 10 console with
  ANSI support.
- Disable `QUICK_EDIT_MODE` on Windows 10 when mouse support is requested.

3.0.14: 2021-01-24
------------------
New features:
- Disable bell when `PROMPT_TOOLKIT_BELL=false` environment variable has been
  set.

Fixes:
- Improve cancellation of history loading.

3.0.13: 2021-01-21
------------------
Fixes:
- Again, fixed the race condition in `ThreadedHistory`. Previous fix was not
  correct.

3.0.12: 2021-01-21
------------------
Fixes:
- Fixed a race condition in `ThreadedHistory` that happens when continuously
  pasting input text (which would continously repopulate the history).
- Move cursor key mode resetting (for vt100 terminals) to the renderer. (Mostly
  cleanup).

3.0.11: 2021-01-20
------------------
New features:
- Poll terminal size: better handle resize events when the application runs in
  a thread other than the main thread (where handling SIGWINCH doesn't work) or
  in the Windows console.

Fixes:
- Fix bug in system toolbar. The execution of system commands was broken.
- A refactoring of patch_stdout that includes several fixes.
  * We know look at the `AppSession` in order to see which application is
    running, rather then looking at the event loop which is installed when
    `StdoutProxy` is created. This way, `patch_stdout` will work when
    prompt_toolkit applications with a different event loop run.
  * Fix printing when no application/event loop is running.
  * Fixed the `raw` argument of `PatchStdout`.
- A refactoring of the `ThreadedHistory`, which includes several fixes, in
  particular a race condition (see issue 1158) that happened when editing
  input while a big history was still being loaded in the background.
   2021-01-16 09:45:53 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prompt_toolkit2: updated to 3.0.10

3.0.10:

New features:
- Improved `WordCompleter`: accept `display_dict`. Also accept formatted text
  for both `display_dict` and `meta_dict`.
- Allow customization of button arrows.

Fixes:
- Correctly recognize backtab on Windows.
- Show original display text in fuzzy completer if no filtering was done.

3.0.9:

New features:
- Handle c-tab for TERM=linux.

Fixes:
- Improve rendering speed of `print_formatted_text`. (Don't render styling
  attributes to output between fragments that have identical styling.)
- Gracefully handle `FileHistory` decoding errors.
- Prevent asyncio deprecation warnings.
   2020-10-13 13:09:25 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prompt_toolkit2: updated to 3.0.8

3.0.8:

New features:
- Added `validator` parameter to `input_dialog`.

Fixes:
- Cope with stdout not having a working `fileno`.
- Handle situation when /dev/null is piped into stdin, or when stdin is closed
  somehow.
- Fix for telnet/ssh server: `isatty` method was not implemented.
- Display correct error when a tuple is passed into `to_formatted_text`.
- Pass along WORD parameter in `Document._is_word_before_cursor_complete`.
  Fixes some key bindings.
- Expose `ProgressBarCounter` in shortcuts module.
   2020-09-08 19:36:58 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prompt_toolkit2: updated to 3.0.7

3.0.7:

New features:
- New "placeholder" parameter added to `PromptSession`.

Other changes:
- The "respond to CPR" logic has been moved from the `Input` to `Output`
  classes (this does clean up some code).

Fixes:
- Bugfix in shift-selection key bindings.
- Fix hight calculation of `FormattedTextControl` when line wrapping is turned
  on.
- Fixes for SSH server:
  * Missing encoding property.
  * Fix failure in "set_line_mode" call.
  * Handle `BrokenPipeError`.
   2020-08-11 08:34:54 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-prompt_toolkit2: updated to 3.0.6

3.0.6:

New features:
- The SSH/Telnet adaptors have been refactored and improved in several ways.
  * 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).

Fixes:
- Ignore F21..F24 key bindings by default.
- Fix auto_suggest key bindings when suggestion text is empty.
- Bugfix in SIGWINCH handling.
- Handle bug in HSplit/VSplit when the number of children is zero.
- Bugfix in CPR handling in renderer. Proper cancellation of pending tasks.
- Ensure rprompt aligns with input.
- Use `sys.stdin.encoding` for decoding stdin stream.
   2020-03-30 15:07:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prompt_toolkit2: updated to 3.0.5

3.0.5:
Fixes:
- Bugfix in mouse handling on Windows.