The NetBSD Project

CVS log for pkgsrc/comms/py-textual/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / comms / py-textual

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Mar 29 18:58:37 2026 UTC (7 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, HEAD
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -0 lines
py-textual: update to 8.2.1.

8.2.1

Fixes a crash when a selected widget is removed while selecting

8.2.0

This release enhances text selection, with auto-scrolling, and the ability to select across container widgets.

This work was sponsored by Mistral AI.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Sep 22 20:21:24 2025 UTC (13 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
py-textual: fix PLIST for latest poetry-core and depend on it

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Sep 2 08:45:41 2025 UTC (14 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +14 -2 lines
py-textual: updated to 6.0.0

6.0.0

This is a fairly large update, with some new features and optimizations.

There are a few breaking changes, which are unlikely to impact many apps. Unless you have build custom line-API widgets. See below for the details.

You may have to regenerate your snapshot tests, mostly as a result of the optimizations. I wouldn't expect the changes result in any material changes.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Aug 3 10:32:33 2025 UTC (15 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -3 lines
py-textual: update to 5.2.0.

5.2.0

This release adds a new "stream" layout. It's a little experimental
at the moment, and undocumented. For the brave only!

5.1.1

For some reason I still don't understand, poetry included pycache
files in the last PyPi release. After updating Poetry, the build
is a more sensible size. There are no code changes in this release.

5.1.0

This release adds an :empty pseudo-class which matches widgets with
no children. You could use this to hide a container that doesn't
have any children, for example:

.container:empty {
    display: none; }

Also in this release, support for scrolling left and right via the
trackpad or a mouse that supports it. This was a contribution from
@fancidev

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jul 27 09:51:55 2025 UTC (15 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -0 lines
py-textual: update to 5.0.1.

5.0.1

Fixed appending to Markdown widgets that were constructed with an existing document #5990

5.0.0

Markdown rendering has been improved, with full text selection, prettier code blocks and tables. Plus streaming support.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jul 13 10:52:55 2025 UTC (16 months ago) by wiz
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -0 lines
py-textual: update to 4.0.0.

The highlight of this release is the new Markdown.append method
which can be used to efficiently stream markdown content (like you
might get from an LLM).

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jun 10 06:07:28 2025 UTC (17 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +7 -0 lines
py-textual: update to 3.3.0.

[3.3.0] - 2025-06-01
Fixed

    Fixed VERTICAL_BREAKPOINTS doesn't work #5785
    Fixed Button allowing text selection #5770
    Fixed running App.run after asyncio.run #5799
    Fixed triggering a deprecation warning in py >= 3.10 #5799
    Fixed Input invalid cursor position after updating the value #5811
    Fixed DEFAULT_CLASSES when applied to App #5827
    Fixed order of implicit content tag closing #5823

Added

    Exposed CollapsibleTitle #5810
    Added Color.hsv property and Color.from_hsv class method #5803
    Added cursor_at_start and cursor_at_end properties to the Input widget #5830

Changed

    Added a few features to python -m textual.markup playground #5823

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Apr 20 21:52:04 2025 UTC (18 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -0 lines
py-textual: update to 3.1.0.

3.1.0

Mostly fixes, some API enhancements.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Feb 23 17:23:06 2025 UTC (20 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +12 -0 lines
py-textual: update to 2.1.1.

2.1.1

The interrupted release

Mostly fixes here. There is a small change to behavior around scroll_end.

2.1.0


The pointed release

Mostly fixes in this release, and a small feature.

The mouse event adds pointer_* attributes which contain the pointer
coordinates in pixel resolution (if supported by your terminal).

[2.0.4] - 2025-02-17

Fixed

    Fixed smooth scrolling breaking mouse support in VSCode (and probably others) #5549

[2.0.3] - 2025-02-16

Fixed

    Fixed traceback from OptionList in Command Palette #5544

[2.0.2] - 2025-02-16

Fixed

    Fixed OptionList.add_options exhausting iterator #5540
    Fixed screen not refreshing after pop #5543

2.0.1

Fixed

    Fixed escape tags in Content markup #5536

2.0.0

The Smooooth release

This is a big release!

Arbitrary text selection. You can now select text, and hit ctrl+c
to copy it to the clipboard. This works just about everywhere,
although there a re a few widgets were it isn't yet implemented.


- Smoother scrolling, for Kitty, Ghostty, and some other terminals.
- New content system
- Many fixes, see the full changelog below...

Breaking change: Strings returned from render() and other places
will now be interpreted with Content.from_markup, rather than
Rich.from_markup. This may result in slightly different colors,
and emoji codes (like ":smiley:") will no longer be processed
automatically. If you want to restore the old behavior you can
return Rich.from_markup("Your output here") rather than string
literal.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Dec 6 22:06:50 2024 UTC (23 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
py-textual: update to 0.89.1.

Three weeks of heavy development.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Nov 17 10:02:25 2024 UTC (23 months, 4 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +9 -0 lines
py-textual: update to 0.86.1.

0.86.1

Tweaks to demo


0.86.0

Adds an entirely new theming system and an updated demo

The new theming system standardizes the look-and-feel of widgets.
This should mean they will look pretty when used in combination,
and you will need less tweaking of your UI. If your app already
has a customized look and feel, you may need to make a few style
changes.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Oct 30 14:52:27 2024 UTC (2 years ago) by wiz
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +27 -7 lines
py-textual: update to 0.85.1.

0.85.1 - 2024-10-26
Fixed

    Fixed encoding issue when saving files such as screenshots on Windows #5182

0.85.0 - 2024-10-25
Changed

    Grid will now size children to the maximum height of a row #5113
    Markdown links will be opened with App.open_url automatically #5113
    The universal selector (*) will now not match widgets with the class -textual-system (scrollbars, notifications etc) #5113
    Renamed Screen.can_view and Widget.can_view to Screen.can_view_entire and Widget.can_view_entire #5174

Added

    Added Link widget #5113
    Added open_links to Markdown and MarkdownViewer widgets #5113
    Added App.DEFAULT_MODE #5113
    Added Containers.HorizontalGroup and Containers.VerticalGroup #5113
    Added $, £, €, (, ) symbols to Digits #5113
    Added Button.action parameter to invoke action when clicked #5113
    Added immediate parameter to scroll methods #5164
    Added textual._loop.loop_from_index #5164
    Added min_color and max_color to Sparklines constructor, which take precedence over CSS #5174
    Added new demo python -m textual, not quite finished but better than the old one #5174
    Added Screen.can_view_partial and Widget.can_view_partial #5174
    Added App.is_web property to indicate if the app is running via a web browser #5128
    Enter and Leave events can now be used with the on decorator #5159

Fixed

    Fixed glitchy ListView #5163

0.84.0 - 2024-10-22
Fixed

    Fixed RadioSet not being scrollable #5100
    Fixed infinite loop in TextArea #5154

Added

    Added background-tint CSS rule #5117
    Added :first-of-type, :last-of-type, :odd, and :even pseudo classes #5139

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Oct 19 11:34:15 2024 UTC (2 years ago) by wiz
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -0 lines
py-textual: update to 0.83.0.

[0.83.0] - 2024-10-10
Added

    Added support for A-F to Digits widget #5094
    Added Region.constrain #5097

Changed

    Screen.ALLOW_IN_MAXIMIZED_VIEW will now default to App.ALLOW_IN_MAXIMIZED_VIEW #5088
    Widgets matching .-textual-system will now be included in the maximize view by default #5088
    Digits are now thin by default, style with text-style: bold to get bold digits #5094
    Made Widget.absolute_offset public #5097
    Tooltips are now displayed directly below the mouse cursor #5097
    Region.inflect will now assume that margins overlap #5097
    Pilot.click and friends will now accept a widget, in addition to a selector #5095

[0.82.0] - 2024-10-03
Fixed

    Fixed issue with screen not updating when auto_refresh was enabled #5063
    Fixed issues regarding loading indicator #5079
    Fixed issues with inspecting the lazy loaded widgets module #5080

Added

    Added DOMNode.is_on_screen property #5063
    Added support for keymaps (user configurable key bindings) #5038
    Added descriptions to bindings for all internal widgets, and updated casing to be consistent #5062

Changed

    Breaking change: Widget.set_loading no longer return an awaitable #5079


[0.81.0] - 2024-09-25
Added

    Added x_axis and y_axis parameters to Widget.scroll_to_region #5047
    Added Tree.move_cursor_to_line #5052

Changed

    Tree will no longer scroll the X axis when moving the cursor #5047
    DirectoryTree will no longer select the first node #5052

Fixed

    Fixed widgets occasionally not getting Resize events #5048
    Fixed tree regression #5052
    Fixed glitch with single line inline widget #5054

[0.80.1] - 2024-09-24
Fixed

    Fixed crash when exiting the app prematurely #5039
    Fixed exception constructing TextArea outside of App #5045

[0.80.0] - 2024-09-23
Added

    Added MaskedInput widget #4783
    Input validation for floats and integers accept embedded underscores, e.g., "1_234_567" is valid. #4784
    Support for "none" value added to dock, hatch and split styles #4982
    Support for "none" added to box and border style properties (e.g widget.style.border = "none") #4982
    Docstrings added to most style properties #4982
    Added ansi_color switch to App to permit ANSI (themed) colors #5000
    Added :ansi pseudo class #5000
    Added -ansi-scrollbar style to widgets #5000
    Added App.INLINE_PADDING to define the number of spaces above inline apps #5000
    Added nocolor psuedoclass when NO_COLOR env var is set
    BINDING_GROUP_TITLE now defaults to None #5023
    Added TreeNode.siblings, TreeNode.next_sibling, TreeNode.previous_sibling, TreeNode.is_collapsed #5023
    Added additional bindings to Tree widget #5023
    Added Tree.center_scroll #5023
    Added Tree.unselect #5023

Changed

    Input validation for integers no longer accepts scientific notation like '1.5e2'; must be castable to int. #4784
    Default scrollbar-size-vertical changed to 2 in inline styles to match Widget default CSS (unlikely to affect users) #4982
    Removed border-right from Toast #4984
    Some fixes in RichLog result in slightly different semantics, see docstrings for details #4978
    Changed how scrollbars are rendered (will have no visual effect, but will break snapshot tests) #5000
    Added enabled switch to filters (mostly used internally) #5000
    BINDING_GROUP_TITLE now defaults to None #5023
    Breaking change: Changed how scrollbars are rendered so they work in ansi mode (will break snapshots) #5023

Fixed

    Input validation of floats no longer accepts NaN (not a number). #4784
    Fixed issues with screenshots by simplifying segments only for snapshot tests #4929
    Fixed RichLog.write not respecting width parameter #4978
    Fixed RichLog writing at wrong width when write occurs before width is known (e.g. in compose or on_mount) #4978
    Fixed RichLog.write incorrectly shrinking width to RichLog.min_width when shrink=True (now shrinks to fit content area instead) #4978
    Fixed flicker when setting dark reactive on startup #4989
    Fixed command palette not sorting search results by their match score #4994
    Fixed DataTable cached height issue on re-populating the table when using auto-height rows #4992
    Fixed inline app output being cleared when inline_no_clear=True #5019

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Sep 13 09:46:07 2024 UTC (2 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -0 lines
py-textual: update to 0.79.1.

0.79.1

    Fixed broken updates when non active screen changes #4957

0.79.0

This release optimizes query_one and changes the semantics a little.
query_one will no longer raise a TooManyMatches if there is more
than a single widget matching the selector. For the old behavior,
you can use the new query_exactly_one method.

0.78.0

This release optimizes query_one and changes the semantics a little.
query_one will no longer raise a TooManyMatches if there is more
than a single widget matching the selector. For the old behavior,
you can use the new query_exactly_one method.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 25 10:45:47 2024 UTC (2 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -3 lines
py-textual: update to 0.77.0.

[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

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jul 29 07:29:03 2024 UTC (2 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +18 -6 lines
py-textual: update to 0.74.0.

[0.74.0] - 2024-07-25
Fixed

    Fixed issues in Kitty terminal after exiting app #4779
    Fixed exception when removing Selects #4786
    Fixed issue with non-clickable Footer keys #4798
    Fixed issue with recompose not working from Mount handler #4802

Changed

    Calling Screen.dismiss with no arguments will invoke the screen callback with None (previously the callback wasn't invoke at all). #4795

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jul 14 12:33:43 2024 UTC (2 years, 4 months ago) by wiz
Branches: MAIN
comms/py-textual: import py-textual-0.72.0

Textual is a Rapid Application Development framework for Python.

Build sophisticated user interfaces with a simple Python API. Run
your apps in the terminal and a web browser.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>