Commit Graph

3193 Commits

Author SHA1 Message Date
Will McGugan
a6f4a05776 Merge pull request #1168 from Textualize/test-deadlock
fix deadlock on tests
2022-11-15 13:46:03 +00:00
Dave Pearson
2ac0b60fed Merge pull request #1181 from davep/bug/1175/missing-borders
Don't take transparent to imply not visible
2022-11-15 13:32:59 +00:00
Will McGugan
650b654966 remove nesting of try 2022-11-15 13:28:18 +00:00
Dave Pearson
7213834bd4 Update the CHANGELOG 2022-11-15 13:07:50 +00:00
Will McGugan
758b9a735c Merge pull request #1178 from davep/styles-cache-typo
Correct a typo in the StylesCache docstring
2022-11-15 12:07:02 +00:00
Dave Pearson
af1168b4ee Don't take transparent to imply not visible
This seeks to address #1175, where a containing widget with a transparent
background, but with a border, won't show the border. It seems that at the
heart of the Compositor it's taking `is_transparent` (of the widget) as one
of the indicators that mean that it won't be visible. This wouldn't normally
be the case, in that a widget could be transparent (in the background) but
could have visible content.

Note that some snapshot tests failed with this change, but no material
difference was found in those failing snapshot tests.
2022-11-15 11:59:01 +00:00
Dave Pearson
912980d615 Correct a typo in the StylesCache docstring 2022-11-15 09:56:48 +00:00
Will McGugan
3c73914086 fix deadlock on tests 2022-11-13 13:22:56 +00:00
Will McGugan
1f4c156eac Merge pull request #1165 from aaronst/datatable-initial-values
feat: initial datatable reactive values
2022-11-13 12:55:44 +00:00
Aaron Stephens
2675d617ff fix: initialize reactive attributes last 2022-11-12 12:04:34 -08:00
Aaron Stephens
dadb7fe94a Merge branch 'Textualize:main' into datatable-initial-values 2022-11-12 11:14:35 -08:00
Will McGugan
162759ec81 social links 2022-11-12 17:45:02 +00:00
Will McGugan
e7e4da62e6 Merge pull request #1167 from Textualize/anim-fix
Fix animation on styles
2022-11-12 15:50:09 +00:00
Will McGugan
0a45ff374f update to greater than or equals 2022-11-12 12:24:36 +00:00
Will McGugan
e9489f194f tweak to anim test 2022-11-12 12:22:31 +00:00
Will McGugan
46d12fcfe0 win fix 2022-11-12 12:17:01 +00:00
Will McGugan
2605785288 use per_counter 2022-11-12 12:12:23 +00:00
Will McGugan
949745a08a add sleep to test 2022-11-12 12:05:59 +00:00
Will McGugan
b752ab5a04 more tests 2022-11-12 12:00:49 +00:00
Will McGugan
a0ab6c99f1 test for animation 2022-11-12 11:47:14 +00:00
Will McGugan
698e6f56e4 docs 2022-11-12 11:23:20 +00:00
Will McGugan
61379cd435 comments 2022-11-12 11:17:25 +00:00
Will McGugan
4a1d1565f3 Fix animation on styles 2022-11-12 11:12:49 +00:00
Aaron Stephens
1549c81ff1 feat: initial datatable reactive values 2022-11-11 12:06:26 -08:00
Will McGugan
cb96da1a8e Merge pull request #1160 from Textualize/walk-factor
factored out walk
2022-11-11 18:24:38 +00:00
Will McGugan
9ec56e9f78 Merge branch 'main' into walk-factor 2022-11-11 18:23:45 +00:00
Will McGugan
fa89b0f4e2 Merge pull request #1163 from davep/docfix
Add missing close quote to height Python example
2022-11-11 18:08:32 +00:00
Will McGugan
b5b705ee57 Merge pull request #1158 from davep/docstring-tidying
Assorted docstring tweaks
2022-11-11 18:08:03 +00:00
Will McGugan
5b4f05592d Merge pull request #1157 from davep/awaitable-remove
Awaitable remove
2022-11-11 18:06:41 +00:00
Dave Pearson
90c14815a0 Add missing close quote to height Python example 2022-11-11 17:59:33 +00:00
Dave Pearson
bc851d5466 Correct the description of the default screenshot action location 2022-11-11 17:21:32 +00:00
Will McGugan
e83a3a79bd Added walk to docs 2022-11-11 10:05:12 +00:00
Will McGugan
b2d9f4703d keep pylance happy 2022-11-11 09:55:56 +00:00
Will McGugan
41263c32df restore type alias 2022-11-11 09:41:14 +00:00
Will McGugan
44e44da784 docstrings 2022-11-11 09:38:17 +00:00
Will McGugan
d93e300d95 walk.py 2022-11-11 09:33:31 +00:00
Will McGugan
698ecc62c6 factored out walk 2022-11-11 09:29:45 +00:00
Dave Pearson
d83c4aacbe Make a property docstring more property-a-like 2022-11-10 21:43:14 +00:00
Dave Pearson
2a80e1761d Add some missing return types 2022-11-10 21:38:58 +00:00
Dave Pearson
c18852a737 Add missing property type 2022-11-10 21:36:05 +00:00
Dave Pearson
0dae1761ad Tidy up the docstring for the checkbox
Google style docstring guidelines say that __init__ args can go either in
the class docstring, or the __init__ docstring; so this class was correct.
But the guidelines also recommend that once one approach has been picked it
should be the same over the whole body of the code. Textual mostly seems to
do it in the __init__ so I'm moving things to here and also adding some
missing args.
2022-11-10 21:33:24 +00:00
Dave Pearson
bd21e248b1 Fix the default value of a checkbox
The value is bool, but the default is None. This makes the default False.
2022-11-10 21:32:00 +00:00
Dave Pearson
3dae5f2c93 Add missing types to arguments 2022-11-10 21:28:21 +00:00
Dave Pearson
7864aa3f8e Add missing types to arguments 2022-11-10 21:27:52 +00:00
Dave Pearson
5d2a2fd340 Add missing types to arguments 2022-11-10 21:27:12 +00:00
Dave Pearson
60b5456229 Add types to all Button.__init__ args 2022-11-10 21:25:14 +00:00
Dave Pearson
4418cbab78 Merge branch 'main' into awaitable-remove 2022-11-10 20:43:25 +00:00
Dave Pearson
32e6f71856 Be 100% sure all removals take place 2022-11-10 20:41:11 +00:00
Dave Pearson
d3e7f5ad99 Add a unit test for removal ordering via DOMQuery.remove 2022-11-10 20:36:57 +00:00
Dave Pearson
9748850657 Add a unit test for removal ordering via Widget.remove 2022-11-10 20:34:51 +00:00