pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-prompt_toolkit2 py-prompt_toolkit2: updated t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/476ad488aec3
branches:  trunk
changeset: 446611:476ad488aec3
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Feb 11 12:44:02 2021 +0000

description:
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.

diffstat:

 devel/py-prompt_toolkit2/Makefile |   4 ++--
 devel/py-prompt_toolkit2/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r c6a69fc3ee61 -r 476ad488aec3 devel/py-prompt_toolkit2/Makefile
--- a/devel/py-prompt_toolkit2/Makefile Thu Feb 11 11:54:13 2021 +0000
+++ b/devel/py-prompt_toolkit2/Makefile Thu Feb 11 12:44:02 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2021/01/16 08:45:53 adam Exp $
+# $NetBSD: Makefile,v 1.14 2021/02/11 12:44:02 adam Exp $
 
-DISTNAME=      prompt_toolkit-3.0.10
+DISTNAME=      prompt_toolkit-3.0.15
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/prompt_toolkit/}
diff -r c6a69fc3ee61 -r 476ad488aec3 devel/py-prompt_toolkit2/distinfo
--- a/devel/py-prompt_toolkit2/distinfo Thu Feb 11 11:54:13 2021 +0000
+++ b/devel/py-prompt_toolkit2/distinfo Thu Feb 11 12:44:02 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2021/01/16 08:45:53 adam Exp $
+$NetBSD: distinfo,v 1.14 2021/02/11 12:44:02 adam Exp $
 
-SHA1 (prompt_toolkit-3.0.10.tar.gz) = 8957ad357cb8a35152dfd3b1dbe2e19daca723a9
-RMD160 (prompt_toolkit-3.0.10.tar.gz) = f5af10a25a16d36490f08e9523aac0dd6d0dede3
-SHA512 (prompt_toolkit-3.0.10.tar.gz) = 71cdbe28064f28a2d88f369ee4550cc02b2609841b51d8fa7e8028304e77f34c6feed5d4549d62a3cbce27f95a4ebca1066a6fd869fbffa1799a3dedef2df6f4
-Size (prompt_toolkit-3.0.10.tar.gz) = 3020391 bytes
+SHA1 (prompt_toolkit-3.0.15.tar.gz) = fa3ca29a24ee3ee442a6e710f61313088f7c8a42
+RMD160 (prompt_toolkit-3.0.15.tar.gz) = 4f086b5e49270065dc6860d6fc02e25a2f3c722e
+SHA512 (prompt_toolkit-3.0.15.tar.gz) = a8e2078f01a5e4b5f50fbdd16a4aa98e34322460da64be416a127234736074ae851d2be62a19bc98064376f49afc24aef40e4d568c43e92a16d55e31e7551c71
+Size (prompt_toolkit-3.0.15.tar.gz) = 3027170 bytes



Home | Main Index | Thread Index | Old Index