Commit Graph

435 Commits

Author SHA1 Message Date
Will McGugan
015c4e86c7 relax constraint 2022-08-18 10:48:53 +01:00
Will McGugan
5328d77473 headless driver and tests 2022-08-18 10:37:11 +01:00
Will McGugan
d5b3b752c6 skip on py310 2022-08-17 10:12:37 +01:00
Will McGugan
11191b2109 fix segmentation fault 2022-08-17 10:06:25 +01:00
Will McGugan
4b596352d9 removed cruft 2022-08-17 09:33:46 +01:00
Will McGugan
40374984ed test 2022-08-17 09:20:31 +01:00
Will McGugan
78c6c89544 added tests for screens 2022-08-17 09:17:39 +01:00
Will McGugan
efe0342a6f docstring 2022-08-16 20:39:43 +01:00
Darren Burns
cac4822e88 Add test for delays 2022-08-16 16:02:11 +01:00
Darren Burns
9fe0a5f21c Add animation/transition delay support 2022-08-16 15:37:09 +01:00
Darren Burns
56a3d83a9a Add tests for on_complete Animation callbacks 2022-08-16 14:02:13 +01:00
Will McGugan
4ac4f3cee6 added results method 2022-08-13 12:25:35 +01:00
Will McGugan
f00e2d22d4 header fixes, and lazy queries 2022-08-13 09:12:59 +01:00
Will McGugan
c4f9659c29 imports 2022-08-07 14:14:01 +01:00
Will McGugan
5d7a821e1f test for center layout 2022-08-07 11:27:33 +01:00
darrenburns
a166d84eef Register callbacks at message pump level, invoke them after refresh (#607)
* Register callbacks at message pump level, invoke them after refresh

* Fix a typo

* Code review feedback actions

* call_later callbacks invoked after refresh or on idle

* Fix space key in text input

* Make Widget.on_idle synchronous

* Fix call_later

* Rename PostScreenUpdate to InvokeCallbacks, and only fire if callbacks exist

* Update type hints for InvokeLater callbacks

* Update type signature of call_later callbacks, extract typevar
2022-08-05 13:47:47 +01:00
Will McGugan
fa4b971bff more docs 2022-08-04 15:27:41 +01:00
Will McGugan
7dc8daba85 Merge branch 'layer-dock' into docs 2022-07-31 16:33:40 +01:00
Will McGugan
7040d00c7b more docs 2022-07-30 17:01:51 +01:00
Will McGugan
52199ab134 add tests for arrange 2022-07-29 17:10:43 +01:00
Will McGugan
b514e9544b test fix 2022-07-29 10:28:50 +01:00
Will McGugan
38f4dcf8be tests fixes 2022-07-27 16:24:31 +01:00
Will McGugan
1abe8f933d test fixes, tests for partition 2022-07-27 15:37:33 +01:00
Will McGugan
4f69516d8d fix basic 2022-07-27 15:18:19 +01:00
Will McGugan
a43cb126f5 test fix 2022-07-20 19:08:10 +01:00
Will McGugan
e0a59d0e9a fix test 2022-07-20 16:23:11 +01:00
Will McGugan
49764a3ec7 improved color harmony 2022-07-19 21:41:34 +01:00
Will McGugan
def1f5d6ab divide optimizations 2022-07-11 12:45:54 +01:00
Will McGugan
5e428acb7d test fix 2022-07-10 14:04:47 +01:00
Will McGugan
7d569d62e0 box fix 2022-07-10 13:37:16 +01:00
Will McGugan
d514193ea9 test fixes 2022-07-09 17:21:27 +01:00
Will McGugan
d751048350 Merge pull request #602 from Textualize/render-cache
Render cache
2022-07-05 13:27:22 +01:00
Will McGugan
0ba3ffb171 size properties 2022-07-04 21:15:24 +01:00
Will McGugan
415db09a4b docstrings 2022-07-04 20:53:53 +01:00
Will McGugan
2ac95c5922 render lines and scrollbars 2022-07-04 20:37:59 +01:00
Will McGugan
f3a7c9483f apply style to widget 2022-07-04 14:48:28 +01:00
Will McGugan
81481a0e16 Added tint and opacity 2022-06-30 21:41:37 +01:00
Will McGugan
b2f0dbb8a2 added line_trim 2022-06-29 20:42:55 +01:00
Will McGugan
62f2ffee52 Merge pull request #595 from Textualize/user-css-over-widget-css
User CSS should always take precedence over Widget CSS
2022-06-29 14:03:14 +01:00
Darren Burns
908e2e940a Feedback from code review 2022-06-29 13:30:21 +01:00
Darren Burns
8617cbdc70 Update test over user css over widget css to show important widget css can be overridden by users too 2022-06-28 18:39:39 +01:00
Darren Burns
972aeece64 Add Specificity5 for user defined CSS 2022-06-28 17:26:18 +01:00
Will McGugan
32c34d1e54 Merge pull request #591 from Textualize/table-caret
Add a cursor to table
2022-06-28 13:59:46 +01:00
Darren Burns
aef7270863 Merge branch 'css' of github.com:Textualize/textual into user-css-over-widget-css 2022-06-28 13:53:08 +01:00
Darren Burns
7ebac6b860 Add wip test for user over widget css, use type alias 2022-06-28 13:52:58 +01:00
Will McGugan
86fdc96ab3 geometry tests 2022-06-27 10:11:57 +01:00
Will McGugan
03bfe10e69 inter-widget updates 2022-06-24 16:00:12 +01:00
Olivier Philippon
eb6370b167 [tests] Restore layout integration tests
These were broken-and-disabled in a previous PR because of 2 things:
 - The Widgets' default vertical scrollbar size is now 2: this has to be reflected in these tests, in order to benefit from their "regressions spotting" role
 - As long as textual#581 ("Default versus User CSS") is not solved, the Widget's default CSS overrides the custom Widgets' own CSS.
   The test now temporarily uses a more specific CSS selector in order to bypass this.
2022-06-24 11:58:44 +01:00
Will McGugan
e85438c9e6 renamed Region.origin to offset 2022-06-22 11:47:58 +01:00
Will McGugan
4f6a71bc33 annotations 2022-06-21 14:11:18 +01:00