Commit graph

3376 commits

Author SHA1 Message Date
Darren Burns
53cda57490
Merge branch 'master' of github.com:Textualize/rich 2022-06-21 15:25:27 +01:00
Olivier Philippon
8e58adcab0 [syntax] address PR feedback for stylized ranges 2022-06-21 11:46:43 +01:00
Will McGugan
8c4032c102
Merge pull request #2331 from Textualize/dependabot/pip/mypy-0.961
Bump mypy from 0.950 to 0.961
2022-06-21 10:55:51 +01:00
Anthony Shaw
88c021a5b2
Update change notes 2022-06-21 15:14:41 +10:00
Anthony Shaw
91175f1097
Add GFM markdown box 2022-06-21 14:57:49 +10:00
Jean-Francois Thuong
4beb3b38da
Added missing args in docstring of Progress.reset
* Added missing `visible` and `description` missing in docstring of `Progress.reset`
* Corrected typo in docstring of `add_task`
2022-06-21 11:14:39 +08:00
Will McGugan
274f554129
Merge pull request #2352 from Textualize/cache-tweak
changelog
2022-06-20 12:04:06 +01:00
Will McGugan
fc4af2752a
Merge pull request #2332 from AntonyMilneQB/master
Allow Jupyter to vary width/height using COLUMNS/LINES
2022-06-20 11:50:02 +01:00
Will McGugan
f40de7b70c changelog 2022-06-20 11:24:00 +01:00
Will McGugan
d4e55f7629 imports 2022-06-20 11:19:45 +01:00
Olivier Philippon
0b3379f528 [syntax] better API and performance for stylized ranges 2022-06-17 16:31:26 +01:00
Will McGugan
9aeb79f831
Merge pull request #2349 from Textualize/dependabot/pip/sphinx-5.0.2
Bump sphinx from 4.5.0 to 5.0.2
2022-06-17 11:42:37 +01:00
Will McGugan
dcc5fa3cd0
Merge pull request #2343 from Textualize/capture-bugfix
Fix interaction between `Console(record=True)` and `Capture` context manager
2022-06-17 11:40:51 +01:00
Will McGugan
19e518fc92
Merge branch 'master' into capture-bugfix 2022-06-17 11:40:42 +01:00
Will McGugan
7dea1e7fa6
Merge pull request #2342 from Textualize/rule-rich-measure
Rule rich measure
2022-06-17 11:12:08 +01:00
dependabot[bot]
b4a441d3e3
Bump sphinx from 4.5.0 to 5.0.2
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.5.0 to 5.0.2.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/5.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.5.0...v5.0.2)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 10:08:28 +00:00
Will McGugan
4c554c5be9
Merge pull request #2346 from Textualize/style-hash
Fixed Style hash
2022-06-17 11:06:37 +01:00
Will McGugan
3bc9b287e7 type fixes 2022-06-17 10:57:31 +01:00
Will McGugan
017c9e39b4 fix order 2022-06-17 10:52:21 +01:00
Will McGugan
c8a3739539 whitespace 2022-06-17 10:48:28 +01:00
Will McGugan
7cc021d47c new lru cache implementation 2022-06-17 10:46:23 +01:00
Olivier Philippon
4d80b3a558 [syntax] improved performance for stylize_ranges(), volume II 2022-06-17 09:36:48 +01:00
Olivier Philippon
75315fabc5 [syntax] improve performance for stylize_ranges() 2022-06-16 16:38:36 +01:00
Darren Burns
d110847eb8
Update Changelog 2022-06-16 10:31:40 +01:00
Darren Burns
3c1159d2e8
Ensure the correct stuff is written to stdout when recording and capturing 2022-06-16 10:27:05 +01:00
Will McGugan
516a00e29b whitespace 2022-06-15 21:02:56 +01:00
Will McGugan
da790be8ef Changelog 2022-06-15 21:01:42 +01:00
Will McGugan
a177fb525e fix hash 2022-06-15 20:56:47 +01:00
Antony Milne
f0b23ac3f0 Change according to review 2022-06-15 17:49:48 +01:00
Darren Burns
051dd0452c
Fix interaction between Console capture and record 2022-06-15 17:07:04 +01:00
Olivier Philippon
ebc5d2797e [syntax] add a highlight_ranges optional arg to the Syntax ctor
With this new API we can apply a style from (LINE A, COLUMN A) to (LINE B, COLUMN B) - which is something we will need to be able to add arbitrary ranges to Syntax
2022-06-15 15:30:41 +01:00
Darren Burns
30498f598e
Merge branch 'master' of github.com:Textualize/rich 2022-06-15 15:29:16 +01:00
Will McGugan
761cc8d26e
Merge pull request #2339 from Textualize/windows-dont-override-cursor-info
[win32] Use initial cursor size when hiding or showing it
2022-06-15 15:21:58 +01:00
Darren Burns
9332476dbd
Update contributors 2022-06-15 15:04:31 +01:00
Darren Burns
b5c1d650e6
Merge branch 'master' of github.com:Textualize/rich into rule-rich-measure 2022-06-15 14:59:22 +01:00
Darren Burns
dbb27d30a7
Fix hang when Rule title greater than required space 2022-06-15 14:49:15 +01:00
Olivier Philippon
08ea255fe9 [win32] Read the cursor size every time we want to hide or show it 2022-06-15 14:42:22 +01:00
Darren Burns
26fe466794
Merge branch 'master' of github.com:Textualize/rich 2022-06-15 10:41:26 +01:00
Olivier Philippon
a7124ea10c [win32] Use initial cursor size when hiding or showing it
By doing this the users get their original cursor style back when Rich gives control back to the terminal, rather than a "full size" one
2022-06-15 08:37:38 +01:00
Tomer Shalev
8443505e21
Merge branch 'master' into iso8601-highlighter 2022-06-14 15:03:00 +03:00
Tomer Shalev
2707a73435 Add Iso8601Highlighter
Add ability to highlight date and time strings according to ISO8601 [1]

[1] https://en.wikipedia.org/wiki/ISO_8601
2022-06-14 15:02:35 +03:00
Will McGugan
695256ce53
Merge pull request #2221 from wasi-master/fix-codecov-links
Fix invalid code coverage badge links
2022-06-14 10:14:42 +01:00
darrenburns
d28e636a9a
Update README.md (#2328) 2022-06-14 09:21:38 +01:00
Will McGugan
603bfb0205
Merge pull request #2325 from basnijholt/patch-1
Fix typo in examples/downloader.py
2022-06-14 09:20:25 +01:00
Will McGugan
fabbf40002
Merge pull request #2322 from za/add-id-hyperlink-readme
Add Indonesian hyperlink in the README.md
2022-06-14 09:19:51 +01:00
Will McGugan
ebea93c0df
Merge branch 'master' into add-id-hyperlink-readme 2022-06-14 09:19:35 +01:00
Will McGugan
7870603929
Merge pull request #2254 from althonos/master
Forward the internal handle name wrapped in `rich.progress._Reader`
2022-06-14 09:18:32 +01:00
Will McGugan
19601d3710
Merge pull request #2264 from motahharm/master
add README.fa.md (Farsi Readme)
2022-06-14 09:17:37 +01:00
Antony Milne
29294b82d6 Add to docs 2022-06-09 23:13:31 +01:00
Antony Milne
d4f9f6dc50 Update column width, CHANGELOG, CONTRIBUTORS 2022-06-09 23:07:28 +01:00