Commit Graph

934 Commits

Author SHA1 Message Date
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
3ed17cb406 [css][bugfix] CSS tokens can now have digits in their names
...excepted for their first char of course
2022-04-28 12:18:23 +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
efafbdfcc1 Merge pull request #428 from Textualize/bugfix-setting-inline-styles-width-or-height-to-an-integer-causes-a-crash
[widget] Add a test for types of values we handle in style's size
2022-04-27 12:06:16 +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
a11d0b4ab5 Merge pull request #420 from Textualize/esc-fix
fix for escape key processing
2022-04-26 15:28:56 +01:00
Will McGugan
e0b80dd3d6 remove superfluouse instance 2022-04-26 15:26:37 +01:00
Will McGugan
8a7d52156c win fix 2022-04-26 15:12:02 +01:00
Will McGugan
3e3454552f parser tests 2022-04-26 14:22:12 +01:00
Will McGugan
a1cbd0c700 fix for escape key processing 2022-04-26 13:54:09 +01:00
Will McGugan
1d6e3fbe10 Merge pull request #415 from lllama/patch-3
[css branch] Update _style_properties.py
2022-04-25 14:26:42 +01:00
Will McGugan
8e1babdb17 Merge pull request #416 from Textualize/scrollbar-show-fix
fix for showing scrollbars
2022-04-25 13:11:05 +01:00
Will McGugan
99a9516cef remove blank line 2022-04-25 12:25:21 +01:00
Will McGugan
716dc22384 fix for showing scrollbars 2022-04-25 12:16:31 +01:00
Will McGugan
04a1ba3f65 Merge pull request #414 from Textualize/crop-optimize
optimize crop
2022-04-25 11:43:15 +01:00
Felix Ingram
5315df45f0 Update _style_properties.py
Uses the string version of the argument to `cast` to work with python 3.8 and lower.
2022-04-25 11:21:56 +01:00
Will McGugan
05cd21fc92 Restore order 2022-04-25 11:12:44 +01:00
Will McGugan
ae01567fa3 optimize crop 2022-04-25 11:11:35 +01:00
Will McGugan
6db5c6edfb Merge pull request #398 from Textualize/align
CSS align and box model
2022-04-22 14:01:26 +01:00
Will McGugan
74c354da29 docstring 2022-04-22 13:53:23 +01:00
Will McGugan
cacadf544a renames and docstrings 2022-04-22 13:51:08 +01:00
Will McGugan
e847f50ac2 Update src/textual/box_model.py
Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
2022-04-22 11:48:09 +01:00
Will McGugan
2dd9f804e4 fix shutdown 2022-04-21 13:10:41 +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
4980488973 width 100% 2022-04-21 11:53:55 +01:00
Will McGugan
b25dbf8771 box model tests 2022-04-21 11:51:38 +01:00
Will McGugan
bc63723363 box model fixes and tests 2022-04-21 11:43:45 +01:00
Will McGugan
2823718011 check for non-existant rules 2022-04-20 17:14:57 +01:00
Will McGugan
2c85bd97bd box model calculations 2022-04-20 17:00:52 +01:00
Will McGugan
3869eb7463 vertical layout, fix scroll issue for screen 2022-04-20 15:47:06 +01:00
Will McGugan
7f85fc6795 box model py 2022-04-20 14:21:04 +01:00
Will McGugan
66ec130726 box model 2022-04-20 14:20:44 +01:00
Darren Burns
20fb43a8a0 Merge pull request #397 from Textualize/cli
Textual CLI
2022-04-19 17:24:13 +01:00
Darren Burns
619baed2a8 Update failing test 2022-04-19 17:19:06 +01:00
Darren Burns
624ad1a939 Switch devtools to using only ANSI colours 2022-04-19 17:17:58 +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
27999857d9 Upgrade black pre-commit hook version 2022-04-19 12:21:50 +01:00
Darren Burns
839547919f Resolve dependency clash between click & black 2022-04-19 12:19:21 +01:00
Darren Burns
2ff1c9d64a Textual console CLI command 2022-04-19 11:55:50 +01:00
Will McGugan
cecbf655ab align 2022-04-14 16:55:58 +01:00
Will McGugan
8e76e524a8 css align 2022-04-14 13:10:49 +01:00
Darren Burns
1d01029cd7 Add click 8.0.4 (later versions clash with black) 2022-04-14 12:25:07 +01:00
Darren Burns
945c69c479 Devtools port configuration not supported on client, so remove from server 2022-04-14 12:07:24 +01:00
Will McGugan
69694c4591 Merge pull request #385 from Textualize/print
Redirect standard output to devtools server and logfile
2022-04-14 11:59:24 +01:00
Darren Burns
e3f1b0d5cb Reinstate some missing changes from app.py merge 2022-04-14 11:34:00 +01:00