Commit Graph

1234 Commits

Author SHA1 Message Date
Olivier Philippon
aed252874b [clock] Address PR feedback after the initial implementation of the centralised Clock 2022-05-20 14:51:47 +01:00
Olivier Philippon
4549f2d478 [clock] Add a centralised Clock, responsible for anything related to time
This makes time quite easier to mock during integration tests :-)
2022-05-20 14:51:47 +01:00
Olivier Philippon
5789816333 [App] Integration tests now work on Windows too 2022-05-20 14:51:16 +01:00
Olivier Philippon
15df759197 [App] Finally, time mocking in tests seems to be working! 😅
I had to add a flag in the `_timer` module that allows us to completely disable the  "skip" feature of Timers, though - but it shouldn't cause too much trouble 🤞
2022-05-20 14:50:43 +01:00
Olivier Philippon
74ad6f73fa [e2e] Add a way to accelerate time in our integration tests 2022-05-20 14:49:58 +01:00
Will McGugan
edc1e54aed Merge pull request #532 from Textualize/box-fix
Box fix
2022-05-20 14:14:42 +01:00
Will McGugan
2c017cf4cb superfluous space 2022-05-20 14:01:27 +01:00
Will McGugan
5db995e6ed restore horizontal.css 2022-05-20 14:00:15 +01:00
Will McGugan
ba48050721 Fix for missing edges on some boxes 2022-05-20 13:59:36 +01:00
Will McGugan
fe99c72c9e Merge pull request #527 from Textualize/auto-dimensions
Auto dimensions
2022-05-20 12:04:48 +01:00
Will McGugan
ce8bb775de Merge branch 'css' into auto-dimensions 2022-05-20 12:00:50 +01:00
Will McGugan
ab0e524888 Merge pull request #522 from Textualize/css-add-blank-border-type
[css] add "blank" border type
2022-05-20 11:48:11 +01:00
Will McGugan
0b334e6e07 comments 2022-05-20 10:49:24 +01:00
Will McGugan
af214d03db comment 2022-05-20 10:45:57 +01:00
Will McGugan
2afeed520d auto layout 2022-05-20 10:40:00 +01:00
Will McGugan
875d67a91d fixes for layout 2022-05-19 17:48:39 +01:00
Will McGugan
b42d33c48d isorted 2022-05-19 11:52:35 +01:00
Will McGugan
3be7cf74f3 fix for auto width 2022-05-19 11:35:34 +01:00
Will McGugan
537df85461 fix auto 2022-05-19 11:30:44 +01:00
Will McGugan
1020b41717 fix for closing 2022-05-19 11:21:43 +01:00
Will McGugan
1426d5994c add docstring 2022-05-19 09:54:20 +01:00
Will McGugan
14b524da81 not an optimization 2022-05-19 09:52:55 +01:00
Will McGugan
f522063d77 Merge branch 'css' into auto-dimensions 2022-05-19 09:49:36 +01:00
Will McGugan
3a2b16b033 vertical testbed 2022-05-19 09:47:42 +01:00
Will McGugan
053d0b08f5 fix exit errors 2022-05-19 09:44:58 +01:00
Olivier Philippon
509ceb21b2 [css] Address feedback on PR that adds the management of a "blank" value for our borders 2022-05-18 17:09:33 +01:00
Will McGugan
07719665c3 docstring 2022-05-18 16:54:50 +01:00
Will McGugan
27b990bb32 remove comment 2022-05-18 16:52:01 +01:00
Will McGugan
c7f1473aaf rename display 2022-05-18 16:45:44 +01:00
darrenburns
89fd39578b Merge pull request #495 from Textualize/text-input
Basic text input
2022-05-18 16:35:51 +01:00
Will McGugan
3b0bb8657e docstrings 2022-05-18 15:57:11 +01:00
Will McGugan
d27d22000b auto height api 2022-05-18 15:30:14 +01:00
Will McGugan
61fae791cc typing fix 2022-05-18 13:17:15 +01:00
Olivier Philippon
af2f1580ce [css] Add a test for the impact of our border edge types on the layout 2022-05-18 11:41:05 +01:00
Darren Burns
f4be6af7b9 Fix resizing scrolling interaction, placeholder shouldnt wrap 2022-05-18 10:35:56 +01:00
Darren Burns
161bf3e650 Add events.Key.is_printable property 2022-05-17 15:43:28 +01:00
Darren Burns
6a5543b5c2 Type annotation and docstring for STOP_PROPAGATE 2022-05-17 15:27:44 +01:00
Darren Burns
5af3cfefdd Fix the format of a docstring 2022-05-17 15:24:06 +01:00
Darren Burns
9617cda982 Add simple docstring to TextWidgetBase 2022-05-17 15:18:47 +01:00
Olivier Philippon
b135fa784b [css] Add the management of a "blank" value for our borders 2022-05-17 15:18:27 +01:00
Darren Burns
526af6a5fb Only calculate set of valid keys once 2022-05-17 14:43:12 +01:00
Darren Burns
2045e5e6e5 Remove -show-focus reference, index into Text.plain instead of Text 2022-05-17 14:38:10 +01:00
Darren Burns
c3d9ebd942 Ensure Text with cursor applied doesnt wrap or overflow 2022-05-17 14:36:23 +01:00
Darren Burns
60d2ac13b4 Explicitly supply arguments to TextInput superclass 2022-05-17 14:33:10 +01:00
Will McGugan
9f006bb770 docstringd and comments 2022-05-17 14:32:15 +01:00
Darren Burns
ab757392d7 Merge branch 'text-input' of github.com:Textualize/textual into text-input 2022-05-17 11:31:12 +01:00
Darren Burns
adfbc6ec8d Simplify by removing unrequired indexing into already unpacked tuple 2022-05-17 11:30:36 +01:00
Will McGugan
c2c2e79b2b Merge pull request #501 from Textualize/css-add-scrollbar-gutter-property
[css][scrollbar gutter] Manage the `scrollbar-gutter: stable` CSS property
2022-05-17 11:29:40 +01:00
Darren Burns
b81a341b54 Simplify 2022-05-17 11:29:34 +01:00
Darren Burns
f6002e7d43 Remove comment 2022-05-17 11:09:45 +01:00