Commit graph

3376 commits

Author SHA1 Message Date
Darren Burns
06aa127155
Merge branch 'master' of github.com:Textualize/rich 2022-04-19 12:56:56 +01:00
Will McGugan
3b36864ad0
Merge pull request #2166 from Textualize/implement-progress-bars-without-known-total
[progress] The `total` we pass to a Progress renderable can now be `None`
2022-04-14 16:38:25 +01:00
Olivier Philippon
d2830c89b7 [progress] Adapt the rendering of some our columns when the total we pass to a Progress renderable is None 2022-04-14 16:26:28 +01:00
Will McGugan
50a7ec897e
Merge pull request #2177 from cclauss/patch-1
Do not codespell any foreign language README.*.md
2022-04-13 15:01:37 +01:00
Olivier Philippon
0b244cf521 [progress] The total we pass to a Progress renderable can now be None: PR feedback 2022-04-13 11:02:28 +01:00
Olivier Philippon
5daf99f612 [progress] Add a test for a "None" total passed to a Progress renderable 2022-04-13 11:02:28 +01:00
Olivier Philippon
052b157858 [progress] The total we pass to a Progress renderable can now be None 2022-04-13 11:02:28 +01:00
Will McGugan
c800748810
Merge pull request #2188 from Textualize/nil-escape
fix escaping issue
2022-04-12 14:29:19 +01:00
Will McGugan
8c33778438 changelog 2022-04-12 14:17:59 +01:00
Will McGugan
193903dff5 fix escaping issue 2022-04-12 14:16:54 +01:00
Christian Clauss
d3f0321af8
Do not codespell any foreign language README.*.md 2022-04-08 07:18:01 +02:00
Will McGugan
e3fdf33043
Merge pull request #2170 from Textualize/console-svg-isolate-css-selectors-and-font-name
[console] namespace SVG elements to avoid conflicts with surrounding HTML page
2022-04-06 13:45:53 +01:00
Olivier Philippon
e89ec1063e [console] PR feedback on SVG elements namespacing, episode II 2022-04-06 12:00:11 +01:00
Will McGugan
79234f8909
Merge pull request #2160 from Textualize/adjust-terminal-size-when-piping
Fall back to `sys.__stderr__` on non-Windows OS to get size
2022-04-06 11:58:09 +01:00
Olivier Philippon
3eac1e47a8 Fall back to sys.__stderr__ on non-Windows OS to get size: PR feedback 2022-04-06 11:37:56 +01:00
Olivier Philippon
9ba01ae52b [console] We now have _STD_STREAMS and _STD_STREAMS_OUTPUT module-scoped consts 2022-04-06 11:37:56 +01:00
Olivier Philippon
d98d671c49 Fall back to sys.__stderr__ on non-Windows OS to get size
This fixes the "pipe" bug, where we could not determine the available size correctly when the output of Rich is piped to another process
2022-04-06 11:37:56 +01:00
Olivier Philippon
b4ec058305 [console] SVG elements namespacing is now done with a hash of the content 2022-04-06 09:46:19 +01:00
Olivier Philippon
55c80fbeb1 [console] PR feedback on SVG elements namespacing 2022-04-05 16:29:32 +01:00
Olivier Philippon
ec3e849737 [console] namespace SVG elements to avoid conflicts with surrounding HTML page 2022-04-05 15:08:30 +01:00
Will McGugan
41bf6372c5
Merge pull request #2168 from mdmintz/patch-1
Fix date in CHANGELOG
2022-04-05 14:45:13 +01:00
Michael Mintz
561fe76ccf
Fix date in CHANGELOG
Fix date in CHANGELOG
2022-04-05 09:14:11 -04:00
Will McGugan
0a3fcb9c43
Merge pull request #2165 from Textualize/v12.2.0
version bump
2022-04-05 12:56:37 +01:00
Will McGugan
7e7d542dbb version bump 2022-04-05 11:57:08 +01:00
Will McGugan
e4ba54989c
Merge pull request #2161 from Textualize/bump-minimum-version-to-3.6.3
Bump minimum Python version to `3.6.3` (from `3.6.1`)
2022-04-05 10:22:04 +01:00
Olivier Philippon
303e9b5563 Bump minimum Python version to 3.6.3 (from 3.6.1)
The `OrderedDict[CacheKey, CacheValue]` code we use in the LRUCache class doesn't work with Python versions `3.6.1` and `3.6.2`, unfortunately
2022-04-04 16:24:29 +01:00
Will McGugan
ae1ee4efa1
Merge pull request #2113 from theDreamer911/patch-1
adding indonesian translation for readme
2022-04-04 11:47:54 +01:00
Will McGugan
9ab0758a3e
Merge pull request #2157 from Textualize/bump-typing-extensions
bump typing extension
2022-04-04 11:45:54 +01:00
Will McGugan
02c5bf1e5a bump typing extension 2022-04-04 11:20:53 +01:00
Will McGugan
489fafc63e
Merge pull request #2141 from Textualize/progress-docs
Progress docs
2022-04-03 14:48:15 +01:00
Will McGugan
d852cd144c version bump 2022-04-03 14:30:44 +01:00
Will McGugan
8dd1837554 changelog 2022-04-03 14:27:54 +01:00
Will McGugan
6b9adfa9c2 docs 2022-04-02 14:22:22 +01:00
Henry Schreiner
46b1c95e67
fix: address review feedback
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
2022-04-01 13:11:55 -04:00
Will McGugan
8745ee5a11 progress docs 2022-04-01 14:49:02 +01:00
Will McGugan
56227ab383 docs for new progress feature 2022-04-01 14:17:21 +01:00
Will McGugan
dc3998a821
Merge pull request #2133 from Textualize/lexer-not-found-fix
Fallback to text lexer when lexer not found
2022-04-01 10:23:44 +01:00
Will McGugan
15b4dd6446
Merge pull request #2138 from akettmann-e24/typo-fix
typo fix
2022-04-01 09:42:16 +01:00
akettmann-e24
440c660d1f
typo fix 2022-03-31 12:58:23 -05:00
Will McGugan
3f619757ed
Merge pull request #1759 from althonos/progress-reader
Add API to support tracking progress while reading from a file
2022-03-30 15:19:28 +01:00
Martin Larralde
5717d8d13c Add ignore codes for mypy in rich.progress 2022-03-30 15:13:14 +02:00
Darren Burns
7a870e4a4b
Merge branch 'master' into progress-reader 2022-03-30 13:42:58 +01:00
Martin Larralde
76953e2a59 Remove _Reader.readall method since wrapped object may not all have one 2022-03-30 14:39:16 +02:00
Martin Larralde
bb9790eb8f Force keyword arguments for Progress.wrap_file arguments after total 2022-03-30 14:22:28 +02:00
Darren Burns
b7777936f5
Update CHANGELOG 2022-03-30 12:32:18 +01:00
Martin Larralde
54d660def1 Update example for wrap_file in rich.progress API documentation 2022-03-30 13:26:37 +02:00
Darren Burns
c77dbb4888
Fallback to text lexer when no suitable lexer found 2022-03-30 12:25:57 +01:00
Martin Larralde
5ea30326fe Force keyword arguments for Progress.open options not in builtin open 2022-03-30 13:22:29 +02:00
Darren Burns
189a2a3fdb
Merge branch 'master' of github.com:Textualize/rich 2022-03-30 09:20:08 +01:00
Handhika Yanuar Pratama
09ae41a64a
Update CHANGELOG.md 2022-03-30 04:14:59 +07:00