Will McGugan
56ef37637b
superfluous words
2023-01-26 12:31:45 +01:00
Will McGugan
15f116d160
moved link
2023-01-26 12:25:43 +01:00
Will McGugan
dc5041f1e1
update to intro page, fix for API docs
2023-01-26 12:21:49 +01:00
Dave Pearson
ab49dce39b
Merge pull request #1665 from davep/workaround-windows-paste
...
Workaround for a Windows paste issue
2023-01-25 14:52:59 +00:00
Dave Pearson
44d48e244e
Fix typo in replace
...
AKA: don't mix octal and hex Dave!
2023-01-25 14:43:41 +00:00
Dave Pearson
8145c08007
Update the CHANGELOG
2023-01-25 14:30:56 +00:00
Dave Pearson
32bb79362c
Strip NULs from bracketed paste text as a Windows workaround
...
See #1661 for lots of context. Long story short, in Windows Terminal it
looks like any character that would requite the press of a modifier key
causes a NUL to appear in the pasted text for that character. This feels
like it could be a bug in Windows Terminal and we will investigate and
report at some point.
Meanwhile though this provides a workaround that has the paste experience
work the same as I'm seeing on macOS (and I would imagine in most terminals
on GNU/Linux too).
2023-01-25 14:24:37 +00:00
Will McGugan
7bdc8f9c7a
Merge pull request #1664 from Textualize/lonely-p
...
don't request sync on macOS app
2023-01-25 14:28:11 +01:00
Will McGugan
6edfc82513
Merge pull request #1653 from Textualize/self-remove
...
Rhymes with "Bed rock"
2023-01-25 14:18:33 +01:00
Will McGugan
a292086a62
comment and docstring
2023-01-25 13:39:24 +01:00
Will McGugan
15af0cd2c6
wrong env var
2023-01-25 13:28:37 +01:00
Will McGugan
9caf0cf536
don't request sync on macOS app
2023-01-25 13:26:10 +01:00
Will McGugan
aba2633f44
Update tests/test_widget.py
...
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com >
2023-01-25 12:00:51 +01:00
Will McGugan
a61e61f17b
Merge pull request #1637 from davep/widget-importing
...
Support easier widget "support classes" importing
2023-01-25 11:53:32 +01:00
Will McGugan
5e0996d3aa
Merge pull request #1627 from Textualize/fix-1616
...
Changing overflow programmatically updates layout
2023-01-25 11:52:36 +01:00
Will McGugan
b9b53b8677
Merge branch 'main' into fix-1616
2023-01-25 11:52:29 +01:00
Dave Pearson
82e2739196
Merge pull request #1660 from davep/stop-input-double-paste
...
Fix double-paste into `Input`
2023-01-24 20:55:45 +00:00
Dave Pearson
d101e3d4e7
Fix double-paste into Input
...
See #1657 .
2023-01-24 20:16:50 +00:00
Dave Pearson
4bb7326f7d
Merge pull request #1656 from davep/app-mount-all-doc-update
...
Explain the significance of the before/after types (redux)
2023-01-24 17:32:16 +00:00
Dave Pearson
92c03b0e11
Explain the significance of the before/after types (redux)
...
Follows on from https://github.com/Textualize/textual/pull/1641 where I did
the update for mounting via Widget but forgot about App.
2023-01-24 15:15:46 +00:00
Will McGugan
d10f0cbc79
docstrings
2023-01-24 16:04:33 +01:00
Will McGugan
1cba4006b9
docstring
2023-01-24 16:02:48 +01:00
Will McGugan
3673b0ff48
keep reference to remove task
2023-01-24 16:01:37 +01:00
Will McGugan
d9dd1dcbe8
simplify
2023-01-24 15:53:53 +01:00
Will McGugan
f97392ac8b
added test
2023-01-24 15:24:55 +01:00
Will McGugan
b0d46287e1
Fix hang when removing current widget
2023-01-24 14:44:16 +01:00
Dave Pearson
2662e6b292
Merge pull request #1652 from davep/remove-children-updated-doc-reference
...
Remove mention of `ChildrenUpdated` from the `ListView` docs
2023-01-24 09:54:32 +00:00
Dave Pearson
faac89fd8d
Remove mention of ChildrenUpdated from the ListView docs
...
As pointed out in #1649 , a `ChildrenUpdated` message is documented but it
doesn't exist in the code. It looks like it got added during development,
then removed after it was realised it wasn't needed, but presumably it got
left in the docs:
https://github.com/Textualize/textual/pull/1143#discussion_r1030409026
2023-01-24 07:47:18 +00:00
Rodrigo Girão Serrão
dde90a8069
Merge pull request #1646 from Textualize/test-pause
...
Add pause to flaky test.
2023-01-23 18:36:08 +00:00
Rodrigo Girão Serrão
5c73387bca
Pause before rendering input widget.
2023-01-23 18:13:27 +00:00
Rodrigo Girão Serrão
c1bac9cd8f
Update changelog.
2023-01-23 18:03:55 +00:00
Rodrigo Girão Serrão
3d0b607798
Merge branch 'main' into fix-1616
2023-01-23 18:03:27 +00:00
Rodrigo Girão Serrão
f93e14028d
Lift styles.
2023-01-23 18:02:57 +00:00
Rodrigo Girão Serrão
cb73dd4ba9
Remove xfail marker.
2023-01-23 18:00:44 +00:00
Rodrigo Girão Serrão
bb1e8d2eec
Refresh scrollbars when overflow changes.
2023-01-23 18:00:37 +00:00
Dave Pearson
3212fbc3b7
Merge branch 'main' into widget-importing
2023-01-23 17:44:38 +00:00
Dave Pearson
289135a1c9
Update the CHANGELOG
...
This aims to make it clear that a small but significant breaking change has
taken place. See #1637 .
2023-01-23 17:42:08 +00:00
Dave Pearson
0d77209d43
Merge branch 'main' into widget-importing
2023-01-23 17:39:28 +00:00
Dave Pearson
4adfe69ec9
Remove TreeNode as a pseudo-widget
...
This encourages importing it from `textual.widgets.tree` instead, keeping it
in line with the other changes made for #1637 .
Note this is a breaking change.
2023-01-23 17:37:58 +00:00
Rodrigo Girão Serrão
33724e4697
Revert "Potential fix for #1616."
...
This reverts commit c74b81a8a6 .
2023-01-23 17:26:57 +00:00
Will McGugan
9e35f7b4e4
Merge pull request #1636 from Textualize/stuck-screen
...
fix stuck screen
2023-01-23 18:03:07 +01:00
Will McGugan
068345076b
Merge branch 'main' into stuck-screen
2023-01-23 17:28:17 +01:00
Dave Pearson
7df94c2084
Merge pull request #1641 from davep/explain-before-after
...
Explain the significance of the before/after types
2023-01-23 16:26:45 +00:00
Rodrigo Girão Serrão
4baf4f4bce
Merge pull request #1640 from Textualize/fix-1406
...
Correct the dimension relative units in grid-rows/columns were assigned to
2023-01-23 16:24:58 +00:00
Will McGugan
b8e8636832
Merge pull request #1633 from davep/click-warn
...
Catch an attempt to use the `textual` command in a non-dev context
2023-01-23 17:18:03 +01:00
Dave Pearson
c2e406e48a
Explain the significance of the before/after types
...
This was asked about on Discord; reading the docs over again it's not
obvious what an `int` is for, or a `str`. This change seeks to explain
things at the API level at least.
2023-01-23 15:09:22 +00:00
Rodrigo Girão Serrão
e7f76bf85a
Add regression tests.
2023-01-23 15:04:36 +00:00
Dave Pearson
383ab18831
Merge pull request #1639 from davep/param-type-sweepup
...
Remove some parameter types that got missed on `Widget.move_child`
2023-01-23 14:57:16 +00:00
Rodrigo Girão Serrão
86eb12f335
Update changelog.
2023-01-23 14:45:54 +00:00
Rodrigo Girão Serrão
8aeee6a360
Add percent_unit parameter to ScalarListProperty.
...
Without this information, grid-rows and grid-columns will have the same percent_unit for scalars that are relative and thus relative dimensions will be wrong.
2023-01-23 14:42:27 +00:00