Commit Graph

178 Commits

Author SHA1 Message Date
Darren Burns
07c14c6e64 Fix broken overflow, add regression test 2022-05-04 12:11:12 +01:00
Will McGugan
eaf5d11fed Merge pull request #461 from Textualize/devtools-macos-ci-skip
Skip CI-based MacOS devtools tests
2022-05-04 11:31:00 +01:00
Darren Burns
b973234433 Fix skipif expression 2022-05-04 10:48:27 +01:00
Darren Burns
5e220b9468 Remove unused imports 2022-05-04 10:31:11 +01:00
Darren Burns
4a6b5a31f4 Merge pull request #459 from Textualize/expanded-css-hex-support
Support 3 and 4 character hex strings for colours
2022-05-04 10:23:54 +01:00
Darren Burns
74540d0f6c Skip CI-based MacOS devtools tests 2022-05-04 10:21:31 +01:00
Darren Burns
bee66d4955 Use fstrings instead, test 3 and 4 character css hex colours 2022-05-04 09:55:41 +01:00
Darren Burns
568f183862 Fix test asserting that we dont support hex3 values 2022-05-03 17:32:25 +01:00
Olivier Philippon
26f138e69b [css] Address "did you mean" PR feedback 2022-05-03 15:40:06 +01:00
Olivier Philippon
f5aac5d028 [css] Use a HelpText for unknown CSS property name errors 2022-05-03 14:52:32 +01:00
Olivier Philippon
2c03f8cfe1 [css] Add a "did you mean" suggestion when an unknown CSS property is spotted
So using "bckgroundu: red" in a CSS file will report _"unknown declaration 'bckgroundu'; did you mean 'background'?"_
2022-05-03 14:52:32 +01:00
Will McGugan
23fdfa39c3 typing fix 2022-04-29 14:57:18 +01:00
Will McGugan
547e515017 debug feature 2022-04-29 14:32:14 +01:00
Will McGugan
cbbcf72823 features tests 2022-04-29 14:20:43 +01:00
Will McGugan
1a3f65bb76 Merge branch 'css' into style-error-improvements 2022-04-29 10:56:27 +01:00
Will McGugan
dd8b11be87 Merge branch 'css' into add-web-colors-management-and-prefix-ansi-ones 2022-04-29 10:47:40 +01:00
Will McGugan
8e821d4113 lazy parse_rules 2022-04-29 10:34:35 +01:00
Will McGugan
233c2c4075 fix css reload 2022-04-29 10:20:32 +01:00
Olivier Philippon
005943e79b Merge pull request #436 from Textualize/bugfix-display-none-is-being-ignored-in-vertical-and-horizontal-layouts
[layout][bugfix] Horizontal & Vertical layouts shouldn't display children that have `display: none`
2022-04-28 15:01:20 +01:00
Olivier Philippon
eedec6c863 [colors] Merge the first 16 ANSI colors with the named Web ones, add "transparent" 2022-04-28 15:00:26 +01:00
Olivier Philippon
a304334628 [colors] Add management of named Web colors to our CSS processing, prefix ANSI ones with ansi_ 2022-04-28 14:21:02 +01:00
Olivier Philippon
72555f4a77 [dom] Simplify the implementation of the displayed_children property 2022-04-28 12:26:30 +01:00
Olivier Philippon
d0b8cacc35 [css][bugfix] CSS colors can now have digits at the end of their names 2022-04-28 10:44:05 +01:00
Olivier Philippon
f2bb9003c7 [layout][bugfix] Horizontal & Vertical layouts shouldn't display children that have display: none 2022-04-27 15:22:34 +01:00
Darren Burns
91783b7c1e Testing for help text 2022-04-27 13:55:29 +01:00
Darren Burns
ef691019c4 Merge branch 'css' of github.com:Textualize/textual into style-error-improvements 2022-04-27 12:13:14 +01:00
Darren Burns
6b2533fb65 Spacing tests 2022-04-27 11:59:09 +01:00
Darren Burns
7329d6c200 Add help text for style-flags properties 2022-04-27 11:37:14 +01:00
Olivier Philippon
f7e72ed945 [widget] Better tests for types of values we handle or not in style's size 2022-04-27 11:26:33 +01:00
Olivier Philippon
9d1f9da641 [widget] Add a test for types of values we handle in style's size 2022-04-27 10:18:46 +01:00
Will McGugan
e0b80dd3d6 remove superfluouse instance 2022-04-26 15:26:37 +01:00
Will McGugan
3e3454552f parser tests 2022-04-26 14:22:12 +01:00
Darren Burns
eab5f8fae1 Fixing failing opacity test 2022-04-26 13:28:39 +01:00
Darren Burns
b4da94b151 Add tests for Scalar copy_with 2022-04-26 11:16:51 +01:00
Will McGugan
c79572a240 Merge branch 'css' into align 2022-04-21 12:54:50 +01:00
Will McGugan
1ede68c169 comment 2022-04-21 12:54:39 +01:00
Will McGugan
c68d6e8d0e tests for box model 2022-04-21 12:16:05 +01:00
Will McGugan
2823718011 check for non-existant rules 2022-04-20 17:14:57 +01:00
Darren Burns
619baed2a8 Update failing test 2022-04-19 17:19:06 +01:00
Darren Burns
0dfa225281 Use importlib-metadata backport for getting version 2022-04-19 13:56:19 +01:00
Darren Burns
70559a8be5 Add version option 2022-04-19 12:36:55 +01:00
Darren Burns
2ff1c9d64a Textual console CLI command 2022-04-19 11:55:50 +01:00
Darren Burns
79fbabee0d Test redirecting to logfile 2022-04-14 11:16:53 +01:00
Darren Burns
3b40eb828b Redirecting stdout to both devtools and logfile 2022-04-14 11:10:47 +01:00
Darren Burns
5768a9c516 Merge branch 'css' of github.com:Textualize/textual into print 2022-04-13 15:32:37 +01:00
Will McGugan
ba92ef0c3c test fix 2022-04-12 17:10:15 +01:00
Will McGugan
cbd258d93a fix tests 2022-04-12 16:49:36 +01:00
Will McGugan
e238bee274 ws 2022-04-12 16:37:32 +01:00
Darren Burns
b75d384d42 Testing devtools print forwarding 2022-04-12 16:18:13 +01:00
Darren Burns
ec0ce30b49 Update tests, ensure caller is passed through in another delegated app.log call 2022-04-12 14:29:59 +01:00