Darren Burns
60262d2617
Formatting, tidying up, add extra mouse event parsing test
2022-06-17 15:35:20 +01:00
Darren Burns
129d5a57ea
Add test around non-escape code input mapping to keys
2022-06-17 15:35:20 +01:00
Darren Burns
15284556ae
Add various additional tests around XTermParser
2022-06-17 15:35:20 +01:00
Darren Burns
07608aabeb
Backtracking unknown escape sequences, various tests for XTermParser
2022-06-17 15:35:20 +01:00
darrenburns
9111387e67
Support for bracketed paste mode ( #567 )
...
* Detecting bracketed paste, sending paste events
* Bracketed pasting support in TextInput
* Restore debugging conditional
* Handle pasting of text in text-input, improve scrolling
* Fix ordering of handling in parser for bracketed pastes
* Docstrings
* Add docstrings
2022-06-17 15:33:47 +01:00
Darren Burns
9c7d7b703e
Add tests for negative number hsl handling, normalise degrees to range 0-1
2022-06-17 15:33:12 +01:00
Darren Burns
566b291ae1
Improve color parsing tests
2022-06-17 15:33:12 +01:00
Darren Burns
c9fb0f0423
Testing HSL and testing spaces in rgb(..), hsl(..) css declarations
2022-06-17 15:33:12 +01:00
Darren Burns
c4c7e537f2
Fix regex, fix some broken tests around HSL support
2022-06-17 15:33:12 +01:00
Darren Burns
be771a0fca
Add extra test
2022-06-16 15:47:41 +01:00
Darren Burns
4dd0d9fae4
Add various additional tests around CSS specificity
2022-06-16 15:33:53 +01:00
Darren Burns
dc30ace121
Fix specificity ordering
2022-06-16 15:01:15 +01:00
Darren Burns
2d033d0e0f
Checking empty rules
2022-06-16 14:33:27 +01:00
Darren Burns
a07f97e627
Take final rule in event of specificity clash
2022-06-16 14:32:38 +01:00
Darren Burns
e1c85987a7
Add tests for XTermParser chunking
2022-06-14 13:59:31 +01:00
Darren Burns
1b8781f145
Ensure we read buffer correctly in XTermParser
2022-06-14 11:00:20 +01:00
Darren Burns
1510739227
Translate "escape" to "^" when XTermParser has to backtrack
2022-06-11 13:38:59 +01:00
Darren Burns
30b6a0b50d
Formatting, tidying up, add extra mouse event parsing test
2022-06-10 09:51:59 +01:00
Darren Burns
0125fbdd4f
Add test around non-escape code input mapping to keys
2022-06-09 17:34:43 +01:00
Darren Burns
763c0d0a75
Add various additional tests around XTermParser
2022-06-09 17:29:20 +01:00
Darren Burns
bfb962bacf
Backtracking unknown escape sequences, various tests for XTermParser
2022-06-09 16:27:53 +01:00
darrenburns
fe151a7f25
Support for bracketed paste mode ( #567 )
...
* Detecting bracketed paste, sending paste events
* Bracketed pasting support in TextInput
* Restore debugging conditional
* Handle pasting of text in text-input, improve scrolling
* Fix ordering of handling in parser for bracketed pastes
* Docstrings
* Add docstrings
2022-06-08 16:42:59 +01:00
Will McGugan
53693e6200
move example apps, add render_lines to scrollview
2022-06-08 16:19:17 +01:00
Darren Burns
6f533d762c
Add tests for negative number hsl handling, normalise degrees to range 0-1
2022-06-08 15:50:37 +01:00
Will McGugan
b9e1022f6e
fix test
2022-06-08 12:04:18 +01:00
Darren Burns
01bedd7f04
Improve color parsing tests
2022-06-07 16:21:05 +01:00
Darren Burns
2086062b56
Testing HSL and testing spaces in rgb(..), hsl(..) css declarations
2022-06-07 16:11:19 +01:00
Darren Burns
d7159d905a
Fix regex, fix some broken tests around HSL support
2022-06-07 15:36:45 +01:00
Will McGugan
96c013aa39
Scroll view widget
2022-05-31 10:48:40 +01:00
Will McGugan
5bc439b6da
skip tests
2022-05-30 17:32:57 +01:00
Will McGugan
88ecb319e7
fix tests
2022-05-29 15:19:32 +01:00
Olivier Philippon
b47cd20c59
[AppTest] hotfix for the "css" branch after commit d45b044888
2022-05-29 15:05:04 +01:00
Will McGugan
b806779267
Merge pull request #540 from Textualize/docs-structure
...
Docs Refresh
2022-05-27 12:01:25 +01:00
Will McGugan
303254f9ac
test fixes
2022-05-27 10:24:32 +01:00
Will McGugan
a65b538af0
Merge pull request #533 from Textualize/add-terminal-mode2026-support
...
[terminal buffering] Add support for the "mode 2026" - aka SynchronizedOutput
2022-05-25 17:28:01 +01:00
Olivier Philippon
159d52b0f3
[css] Fix a bug with our now-flexible scrollbars sizes
...
Also add test cases for it in order to prevent potential regressions on this
2022-05-25 16:33:19 +01:00
Will McGugan
6bfc26c1ec
more docs
2022-05-25 15:36:58 +01:00
Olivier Philippon
43ce3e8363
[terminal buffering] Address PR feedback: massive simplification of the code
2022-05-25 12:12:50 +01:00
Olivier Philippon
a55b122967
[css] Address PR feedback for our new "scrollbar-size" CSS properties
2022-05-25 09:30:46 +01:00
Olivier Philippon
9e6140af7c
[css] Add tests and fix stuff for our new "scrollbar-size" CSS properties
2022-05-25 09:30:46 +01:00
Olivier Philippon
7f27e70440
[terminal buffering] Address PR feedback
2022-05-24 13:08:45 +01:00
Olivier Philippon
3486dc08b5
[terminal buffering] Remove the management of the iTerm2-specific buffering protocol
...
Since iTerm2 also supports the "mode 2026", we can just rely on that one ✌
2022-05-24 09:45:19 +01:00
Olivier Philippon
d14659c1a3
[terminal buffering] Add support for the "mode 2026"
...
That task is definitely way more complicated that it seemed to be 😅
2022-05-24 09:20:56 +01:00
Olivier Philippon
631f7a5af8
[clock] Misc bug fixes 🐛
2022-05-20 15:48:36 +01:00
Olivier Philippon
0ee9c57f59
[clock] Address PR feedback after the initial implementation of the centralised Clock, episode II
2022-05-20 14:51:47 +01:00
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