Skip to content

Commit

Permalink
py-textual: update to 0.77.0.
Browse files Browse the repository at this point in the history
[0.77.0] - 2024-08-22

Added

    Added tooltip to Binding #4859
    Added a link to the command palette to the Footer (set show_command_palette=False to disable) #4867
    Added TOOLTIP_DELAY to App to customize time until a tooltip is displayed
    Added "Show keys" option to system commands to show a summary of key bindings. #4876
    Added "split" CSS style, currently undocumented, and may change. #4876
    Added Region.get_spacing_between #4876
    Added App.COMMAND_PALETTE_KEY to change default command palette key binding #4867
    Added App.get_key_display #4890
    Added DOMNode.BINDING_GROUP #4906
    Added DOMNode.HELP classvar which contains Markdown help to be shown in the help panel #4915
    Added App.get_system_commands #4920
    Added "Save Screenshot" system command #4922

Changed

    Removed caps_lock and num_lock modifiers #4861
    Keys such as escape and space are now displayed in lower case in footer #4876
    Changed default command palette binding to ctrl+p #4867
    Removed ctrl_to_caret and upper_case_keys from Footer. These can be implemented in App.get_key_display.
    Renamed SystemCommands to SystemCommandsProvider #4920
    Breaking change: Removed ClassicFooter widget (please use new Footer widget) #4921
    Disallowed Screen instances in App.SCREENS and App.MODES

Fixed

    Fix crash when validate_on value isn't a set #4868
    Fix Input.cursor_blink having no effect on the blink cycle after mounting #4869
    Fixed scrolling by page not taking scrollbar in to account #4916
    Fixed App.MODES being the same for all instances -- per-instance modes now exist internally
  • Loading branch information
0-wiz-0 committed Aug 25, 2024
1 parent a7a8c57 commit ffcc9f3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
10 changes: 5 additions & 5 deletions comms/py-textual/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.8 2024/08/12 12:27:32 wiz Exp $
# $NetBSD: Makefile,v 1.9 2024/08/25 10:45:47 wiz Exp $

DISTNAME= textual-0.76.0
DISTNAME= textual-0.77.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= comms devel
MASTER_SITES= ${MASTER_SITE_PYPI:=t/textual/}
Expand All @@ -20,12 +20,12 @@ DEPENDS+= ${PYPKGPREFIX}-markdown-it-py-[0-9]*:../../textproc/py-markdown-it-py
TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
TEST_DEPENDS+= ${PYPKGPREFIX}-test-textual-snapshot>=1.0.0:../../devel/py-test-textual-snapshot
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
TEST_DEPENDS+= ${PYPKGPREFIX}-textual-dev-[0-9]*:../../comms/py-textual-dev
TEST_DEPENDS+= ${PYPKGPREFIX}-textual-dev>=1.2:../../comms/py-textual-dev

USE_LANGUAGES= # none

# as of 0.76.0
# 32 failed, 2853 passed, 1 skipped, 3 xfailed, 2 warnings
# as of 0.77.0
# 32 failed, 2911 passed, 1 skipped, 3 xfailed, 2 warnings

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
14 changes: 10 additions & 4 deletions comms/py-textual/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.2 2024/07/29 07:29:03 wiz Exp $
@comment $NetBSD: PLIST,v 1.3 2024/08/25 10:45:47 wiz Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
Expand All @@ -21,6 +21,9 @@ ${PYSITELIB}/textual/_ansi_theme.pyo
${PYSITELIB}/textual/_arrange.py
${PYSITELIB}/textual/_arrange.pyc
${PYSITELIB}/textual/_arrange.pyo
${PYSITELIB}/textual/_binary_encode.py
${PYSITELIB}/textual/_binary_encode.pyc
${PYSITELIB}/textual/_binary_encode.pyo
${PYSITELIB}/textual/_border.py
${PYSITELIB}/textual/_border.pyc
${PYSITELIB}/textual/_border.pyo
Expand Down Expand Up @@ -516,9 +519,6 @@ ${PYSITELIB}/textual/widgets/_button.pyo
${PYSITELIB}/textual/widgets/_checkbox.py
${PYSITELIB}/textual/widgets/_checkbox.pyc
${PYSITELIB}/textual/widgets/_checkbox.pyo
${PYSITELIB}/textual/widgets/_classic_footer.py
${PYSITELIB}/textual/widgets/_classic_footer.pyc
${PYSITELIB}/textual/widgets/_classic_footer.pyo
${PYSITELIB}/textual/widgets/_collapsible.py
${PYSITELIB}/textual/widgets/_collapsible.pyc
${PYSITELIB}/textual/widgets/_collapsible.pyo
Expand All @@ -540,9 +540,15 @@ ${PYSITELIB}/textual/widgets/_footer.pyo
${PYSITELIB}/textual/widgets/_header.py
${PYSITELIB}/textual/widgets/_header.pyc
${PYSITELIB}/textual/widgets/_header.pyo
${PYSITELIB}/textual/widgets/_help_panel.py
${PYSITELIB}/textual/widgets/_help_panel.pyc
${PYSITELIB}/textual/widgets/_help_panel.pyo
${PYSITELIB}/textual/widgets/_input.py
${PYSITELIB}/textual/widgets/_input.pyc
${PYSITELIB}/textual/widgets/_input.pyo
${PYSITELIB}/textual/widgets/_key_panel.py
${PYSITELIB}/textual/widgets/_key_panel.pyc
${PYSITELIB}/textual/widgets/_key_panel.pyo
${PYSITELIB}/textual/widgets/_label.py
${PYSITELIB}/textual/widgets/_label.pyc
${PYSITELIB}/textual/widgets/_label.pyo
Expand Down
8 changes: 4 additions & 4 deletions comms/py-textual/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.4 2024/08/12 09:01:01 wiz Exp $
$NetBSD: distinfo,v 1.5 2024/08/25 10:45:47 wiz Exp $

BLAKE2s (textual-0.76.0.tar.gz) = 9d4a92285682b40285cb6653735f92f7594e8d18da78b6d8a31453d0a6d93044
SHA512 (textual-0.76.0.tar.gz) = a0eef4655a5ca4464d3edd5f8c66e0a4dbb8562af9af8750f59b0957e32ce6950c83fdc5ebe5e3b6ada2a32c9251f386f6b2c0cd759861e02815a52827bbe5ed
Size (textual-0.76.0.tar.gz) = 1325760 bytes
BLAKE2s (textual-0.77.0.tar.gz) = b98d2ff97df275ffc40251a886da0a2d21971bbf0a274effda787134c589c32a
SHA512 (textual-0.77.0.tar.gz) = f6f2617026ec68e9a391bcdf8c095d8c25e3713840f876765d62273c199937f9cbdb28f6ccfaf0aa76a4b3000bb094c6a479da1187bc018aef4764fa1b01d5dc
Size (textual-0.77.0.tar.gz) = 1347925 bytes

0 comments on commit ffcc9f3

Please sign in to comment.