Commit graph

3376 commits

Author SHA1 Message Date
Martin Larralde
2e77302738 Remove unused update_period argument from rich.progress 2022-03-21 13:29:30 +01:00
Darren Burns
a8d2bb2004
Merge branch 'master' of github.com:Textualize/rich 2022-03-21 09:51:09 +00:00
Will McGugan
a278b6e34e
Merge pull request #2081 from Textualize/win32-refinements
streamline legacy windows logic
2022-03-21 09:34:08 +00:00
Will McGugan
1f758c4acb
Merge pull request #2082 from Textualize/fix-uuid-highlight
fix uuid highlighter
2022-03-18 17:17:58 +00:00
Will McGugan
0daccb0768 fix uuid highlighter 2022-03-18 17:17:10 +00:00
Will McGugan
3415272059 streamline legacy windows logic 2022-03-18 17:09:03 +00:00
Will McGugan
0c24e4f735
Merge pull request #2066 from Textualize/windows-capture-fix
Handle recording on legacy mode Windows consoles
2022-03-18 16:45:10 +00:00
Will McGugan
7a0310f7d5
Merge pull request #2080 from Textualize/segment-tune
revert segment optimization
2022-03-18 16:43:10 +00:00
Will McGugan
cd14f454dd forgotten import 2022-03-18 16:36:58 +00:00
Will McGugan
8d2dbca161 typing issue 2022-03-18 16:34:48 +00:00
Will McGugan
7291abf69e sort order 2022-03-18 09:04:38 +00:00
Will McGugan
1e972e384a
Merge pull request #2074 from Textualize/benchmark-copy-action
GitHub Action to publish ASV HTML and copy to `rich-benchmarks`
2022-03-18 08:54:49 +00:00
Will McGugan
b24aa54d47
Merge pull request #2077 from Textualize/chop-cells
Use `reversed` instead of `[::-1]` to reverse in chop_cells
2022-03-18 08:54:19 +00:00
Will McGugan
008bf87cc0 poetry lock 2022-03-18 08:52:23 +00:00
Darren Burns
23b266cda9
Update CHANGELOG.md 2022-03-17 16:04:36 +00:00
Darren Burns
1586c3e628
Use reversed instead of [::-1] to reverse in chop_cells 2022-03-17 15:56:12 +00:00
Will McGugan
b102e9068c revert segment optimization 2022-03-17 14:11:26 +00:00
Darren Burns
177958c52a
Merge branch 'master' of github.com:Textualize/rich 2022-03-17 13:27:44 +00:00
Darren Burns
9b8a3f5044
Merge branch 'master' of github.com:Textualize/rich into benchmark-copy-action 2022-03-16 11:38:27 +00:00
Darren Burns
6f5c6d5b7d
Merge pull request #2075 from Textualize/fix-import-win32
Fix missing import of typing.IO in _win32_console
2022-03-16 11:30:47 +00:00
Darren Burns
98969ab03c
Get filenos of original stdout and stderr in console 2022-03-16 11:28:26 +00:00
Darren Burns
39a5fe69ca
Merge branch 'fix-import-win32' of github.com:Textualize/rich into benchmark-copy-action 2022-03-16 11:21:06 +00:00
Darren Burns
2bd2d7f652
Add missing import of typing.IO in _win32_console 2022-03-16 11:18:50 +00:00
Darren Burns
bb1967656f
GitHub Action to asv publish and copy to rich-benchmarks repo 2022-03-16 10:55:41 +00:00
Darren Burns
1d61867e78
Undo renaming method, improve docstring 2022-03-16 09:46:26 +00:00
Darren Burns
416033ffd4
Merge branch 'master' of github.com:Textualize/rich 2022-03-15 13:04:42 +00:00
Darren Burns
9cf9279982
Update PR number in changelog 2022-03-15 13:02:33 +00:00
Darren Burns
dff2f5cef5
Use Any instead of object 2022-03-15 11:56:17 +00:00
Darren Burns
63eb66f853
Merge branch 'windows-capture-fix' of github.com:Textualize/rich into windows-capture-fix 2022-03-15 11:54:21 +00:00
Darren Burns
acfffc9c1e Merge branch 'windows-capture-fix' of https://github.com/Textualize/rich into windows-capture-fix 2022-03-15 11:51:27 +00:00
Darren Burns
665bb3360a Type windll as object instead of Any 2022-03-15 11:49:56 +00:00
Darren Burns
a657e00388
Merge branch 'master' into windows-capture-fix 2022-03-15 11:43:21 +00:00
Will McGugan
65cb9bfb77
Merge pull request #2056 from Textualize/benchmark
Benchmark
2022-03-15 11:41:58 +00:00
Darren Burns
fa52c0dee9 Move typing imports below if block 2022-03-15 11:41:25 +00:00
Darren Burns
5abdc870bd Add quotes around type IO[str] 2022-03-15 11:19:03 +00:00
Will McGugan
b736f8af66
Merge branch 'master' into progress-reader 2022-03-15 11:12:01 +00:00
Will McGugan
e0c9d0d36a
Merge pull request #2001 from hadialqattan/pycln
Pycln QA tool as a pre-commit hook
2022-03-15 11:02:23 +00:00
Darren Burns
8c3eee0397 Handle record=True on legacy mode Windows consoles 2022-03-15 11:02:10 +00:00
Will McGugan
1b69bfe437
Merge pull request #2061 from Textualize/perf-cell-len-regex
Improve performance of cell_length
2022-03-15 11:01:37 +00:00
Will McGugan
cb92947610
Merge pull request #2060 from Textualize/perf-segment-cell-length
Calculate cell length of Segments once, make it a plain class
2022-03-15 11:01:21 +00:00
Martin Larralde
2e6186270b
Merge branch 'master' into progress-reader 2022-03-14 19:02:35 +01:00
Darren Burns
c4cf06d205
Limit cache key in cell_len to 512 2022-03-14 16:29:32 +00:00
Darren Burns
13a9540ce1
Merge branch 'benchmark' of github.com:Textualize/rich into perf-segment-cell-length 2022-03-14 14:36:17 +00:00
Darren Burns
1a7fdcfbec
Exclude benchmarks/snippets.py 2022-03-14 14:30:26 +00:00
Darren Burns
eed6cbff58
Remove restriction on lenght of cell_len cache keys, dont use regex 2022-03-14 14:22:56 +00:00
Darren Burns
0d2aeb75bc
Merge branch 'master' of github.com:Textualize/rich 2022-03-14 14:05:59 +00:00
Darren Burns
d000141fdd
Try glob syntax to skip benchmarks folder for codespell 2022-03-14 14:05:05 +00:00
Darren Burns
c0cd74e6a6
Merge branch 'benchmark' into perf-segment-cell-length 2022-03-14 14:03:39 +00:00
Darren Burns
cbb8d3dca4
Skip benchmarks folder in codespell - it contains lots of test data etc. 2022-03-14 14:03:29 +00:00
Darren Burns
7d09020caa
Calculate cell_length in Segment __init__. Segment now plain class. 2022-03-14 13:56:18 +00:00