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

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.0.5, Package name: py37-prompt_toolkit-3.0.5, 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: f53084baf7348bfb8d41515404957e5e44bf9857
RMD160: ceffaf523fbd46ac2f23bf756c64efe19d4328bd
Filesize: 2929.456 KB

Version history: (Expand)


CVS history: (Expand)


   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.
   2020-03-07 13:14:37 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prompt_toolkit2: updated to 3.0.4

3.0.4:

New features:
- Added many more vt100 ANSI sequences and keys.
- Improved control/shift key support in Windows.
- No Mypy errors in prompt_toolkit anymore.
- Added `set_exception_handler` optional argument to `PromptSession.prompt()`.

Fixes:
- Bugfix in invalidate code. `PromptSession` was invalidating the UI
  continuously.
- Add uvloop support (was broken due to an issue in our `call_soon_threadsafe`).
- Forwarded `set_exception_handler` in `Application.run` to the `run_async` call.
- Bugfix in `NestedCompleter` when there is a leading space.

Breaking changes:
- `ShiftControl` has been replaced with `ControlShift` and `s-c` with `c-s` in
  key bindings. Aliases for backwards-compatibility have been added.
   2020-01-28 09:01:51 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prompt_toolkit2: updated to 3.0.3

3.0.3:
New features:
- Improved support for "dumb" terminals.
- Added support for new keys (vt100 ANSI sequences): Alt +
  home/end/page-up/page-down/insert.
- Better performance for the "regular languages compiler". Generate \ 
fewer and
  better regular expressions. This should improve the start-up time for
  applications using this feature.
- Better detection of default color depth.
- Improved the progress bar:
  * Set "time left" to 0 when done or stopped.
  * Added `ProgressBarCounter.stopped`.
- Accept callables for `scroll_offset`, `min_brightness` and `max_brightness`.
- Added `always_prefer_tty` parameters to `create_input()` and `create_output()`.
- Create a new event loop in `Application.run()` if `get_event_loop()` raises
  `Runtimeerror`.

Fixes:
- Correct cancellation of flush timers for input. (Fixes resource leak where
  too many useless coroutines were created.)
- Improved the Win32 input event loop. This fixes a bug where the
  prompt_toolkit application is stopped by something other than user input. (In
  that case, the application would hang, waiting for input.) This also fixes a
  `RuntimeError` in the progress bar code.
- Fixed `line-number.current` style. (was `current-line-number`.)
- Handle situation where stdout is no longer a tty (fix bug in `get_size`).
- Fix parsing of true color in ANSI strings.
- Ignore `invalidate()` if the application is not running.
   2019-12-01 12:46:18 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prompt_toolkit2: updated to 3.0.2

3.0.2:

Fixes:
- Bugfix in the UI invalidation. Fixes an issue when the application runs again
  on another event loop.

3.0.1:

New features:
- Added `new_eventloop_with_inputhook` function.
- Set exception handler from within `Application.run_async`.
- Applied Black code style.

Fixes:
- No longer expect a working event loop in the `History` classes.
  (Fix for special situations when a `ThreadedHistory` is created before the
  event loop has been set up.)
- Accept an empty prompt continuation.
- A few fixes to the `Buffer` tempfile code.
   2019-11-28 07:25:06 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-prompt_toolkit2: updated to 3.0.0

3.0.0:
New features:
- (almost) 100% type annotated.
- Native asyncio instead of custom event loops.
- Added shift-based text selection (use shift+arrows to start selecting text).

Breaking changes:
- Python 2 support has been dropped. Minimal Python version is now 3.6,
  although 3.7 is preferred (because of ContextVars).
- Native asyncio, so some async code becomes slightly different.
- The active `Application` became a contextvar. Which means that it should be
  propagated correctly to the code that requires it. However, random other
  threads or coroutines won't be able to know what the current application is.
- The dialog shortcuts API changed. All dialog functions now return an
  `Application`. You still have to call either `run()` or `run_async` on the
  `Application` object.
- The way inputhooks work is changed.
- `patch_stdout` now requires an `Application` as input.
   2019-10-07 22:10:26 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prompt_toolkit2: updated to 2.0.10

2.0.10:
Bug fixes:
- Handle HANDLE sizes correctly on windows. This made things break randomly.on
  64 bit systems.
- Handle terminal size correctly when reported as (0, 0).
- Fix width computation in progress bar formatter.
- Fix option-up and -down on Mac with iTerm2.
- Removed ctrl-c in confirmation prompt.

New features:
- Added PROMPT_TOOLKIT_NO_CPR=1 environment variable to disable CPR requests.
- Accept a pattern in `WordCompleter`.
   2019-02-20 08:53:05 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prompt_toolkit2: updated to 2.0.9

2.0.9:
Bug fixes:
- Fixed Application.run_system_command on Windows.
- Fixed bug in ANSI text formatting: correctly handle 256/true color sequences.
- Fixed bug in WordCompleter. Provide completions when there's a space before
  the cursor.
   2019-01-28 10:12:28 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-prompt_toolkit2: updated to 2.0.8

2.0.8:

Bug fixes:
- Fixes the issue where changes made to the buffer in the accept handler were
  not reflected in the history.
- Fix in the application invalidate handler. This prevents a significat slow
  down in some applications after some time (especially if there is a refresh
  interval).
- Make print_container utility work if the input is not a pty.

New features:
- Underline non breaking spaces instead of rendering as '&'.
- Added mouse support for radio list.
- Support completion styles for READLINE_LIKE display method.
- Accept formatted text in the display text of completions.
- Added a FuzzyCompleter and FuzzyWordCompleter.
- Improved error handling in Application (avoid displaying a meaningless
  AssertionError in many cases).