Commit graph

3376 commits

Author SHA1 Message Date
Will McGugan
bb00fc96ee svg update 2022-05-02 10:28:01 +01:00
Will McGugan
3aeeb8fa51
Merge pull request #2236 from tbabej/patch-1
console: Update docstring for print_exception
2022-04-29 17:53:07 +01:00
Tomas Babej
9e6f32a676
console: Update docstring for print_exception
The default width is now 100, not 88.
2022-04-29 12:14:27 -04:00
Darren Burns
0e8df8cde5
Merge branch 'master' of github.com:Textualize/rich 2022-04-28 16:42:32 +01:00
Will McGugan
edcb6f9e1a
Merge pull request #2228 from Textualize/v12.3.0
version bump
2022-04-26 16:17:21 +01:00
Will McGugan
14d47c9e8c version bump 2022-04-26 16:13:07 +01:00
Will McGugan
3fa8cb8cbe
Merge pull request #2226 from Textualize/feat-add-traceback-frame-opt-out-machinery
[traceback] Add traceback frame opt-out via a `_rich_traceback_omit = True` machinery
2022-04-26 14:04:02 +01:00
Olivier Philippon
f0ca6ff2bc [traceback] Make _rich_traceback_guard more consistent with _rich_traceback_omit 2022-04-26 13:43:41 +01:00
Olivier Philippon
740b89f49a [traceback] Add traceback frame opt-out via a _rich_traceback_omit = True machinery 2022-04-26 12:41:43 +01:00
Will McGugan
49840e3b82
Merge pull request #2225 from Textualize/bugfix-missing-whitespace-in-traceback
[traceback] Fix "missing whitespace" bug
2022-04-26 11:54:50 +01:00
Olivier Philippon
83af951663 [traceback] Fix "missing whitespace" bug
It turns out that we intentionally don't add such a whitespace at the beginning of the trace rendering, but we were actually doing so for the 2nd item of the stack rather than the 1st one
2022-04-26 11:36:43 +01:00
Will McGugan
a7e8a6b7da
Merge pull request #2219 from Textualize/bugfix-inconsistent-coloring-of-complex-numbers
[highlighter] Add complex numbers pattern to our highlighter's `number` matching
2022-04-26 11:35:42 +01:00
Will McGugan
a02e5d6752
Merge branch 'master' into bugfix-inconsistent-coloring-of-complex-numbers 2022-04-26 11:31:41 +01:00
Will McGugan
ed6ff7e9e4
Merge pull request #2224 from Textualize/idle-fix
Idle fix
2022-04-26 11:30:47 +01:00
Olivier Philippon
9ae04d2a69 [CHANGELOG] Complex numbers are now identified by the highlighter 2022-04-26 11:29:28 +01:00
Will McGugan
1aa9061644 remove attribute error 2022-04-26 10:46:17 +01:00
Will McGugan
ec65da05a3 black 2022-04-26 10:33:49 +01:00
Will McGugan
0985b9ee29 idle is not just Windows 2022-04-26 10:13:30 +01:00
Will McGugan
16aa4990a6 fix for IDLE 2022-04-26 10:03:55 +01:00
Will McGugan
a3b7e0e869 catch terminal size errors 2022-04-26 09:42:34 +01:00
Olivier Philippon
69003a772c [highlighter] Fine-tuning on complex numbers pattern matching 2022-04-26 09:17:36 +01:00
Olivier Philippon
5e67e22ba4 [highlighter] Extract more complex numbers pattern matching on its own one, rather than being part of the number one 2022-04-25 16:57:05 +01:00
Wasi Master
3b89033007
Fix invalid code coverage badge links 2022-04-25 20:38:34 +06:00
Olivier Philippon
f67f426a6b [highlighter] Add complex numbers pattern to our highlighter's number matching 2022-04-25 14:51:47 +01:00
Will McGugan
65227ba120
Merge pull request #2217 from Textualize/divide-fast
optimization for Segment.divid
2022-04-25 10:16:25 +01:00
Will McGugan
43cb927015
Merge pull request #2216 from code-review-doctor/fix-probably-meant-fstring
Missing `f` prefix on f-strings fix
2022-04-25 10:13:40 +01:00
Will McGugan
cf50586523 Rename 2022-04-24 09:08:53 +01:00
Will McGugan
2adcc9ee0c black 2022-04-24 09:08:02 +01:00
Will McGugan
bb8a384d87 optimization for Segment.divid 2022-04-24 08:51:03 +01:00
code-review-doctor
ccb49a279a Fix issue probably-meant-fstring found at https://codereview.doctor 2022-04-24 01:14:59 +01:00
Will McGugan
4dec7980fe
Merge pull request #2212 from Textualize/fix-cwd
fix import cwd if no cwd
2022-04-22 10:26:21 +01:00
Will McGugan
5100a2be52 fix import cwd if no cwd 2022-04-22 09:52:53 +01:00
Will McGugan
0ed9309a0e
Merge pull request #2210 from Textualize/progress-speed
progress speed
2022-04-22 09:44:47 +01:00
Will McGugan
f27a512d20 update defaults 2022-04-22 09:35:09 +01:00
Will McGugan
b013fe33a8 docstring 2022-04-21 16:56:02 +01:00
Will McGugan
75e9a2b776 simplify 2022-04-21 16:52:00 +01:00
Will McGugan
2dd40a41e7 3.6 typing 2022-04-21 16:49:28 +01:00
Will McGugan
c1695e707a changelog 2022-04-21 16:44:03 +01:00
Will McGugan
b2ef89655d added test 2022-04-21 16:42:35 +01:00
Will McGugan
759ed784d7 progress speed 2022-04-21 16:31:28 +01:00
Will McGugan
c979a1b16f changelog 2022-04-21 15:05:15 +01:00
Will McGugan
7e180e03d7
Merge pull request #2131 from henryiii/henryiii/chore/mypy7
fix(types): typing fixes exposed by extra checking
2022-04-21 15:02:17 +01:00
Will McGugan
04687d493a
Merge pull request #2209 from Textualize/jupyter-print
Fix recursion error in Jupyter
2022-04-21 10:23:11 +01:00
Will McGugan
939aac8c51 always delete buffer 2022-04-21 10:18:21 +01:00
Will McGugan
33889ab893 sorted 2022-04-21 10:16:42 +01:00
Will McGugan
b5f0b743a7 update progress docs 2022-04-21 09:39:46 +01:00
Will McGugan
b6a83c2dce docs update 2022-04-21 09:24:15 +01:00
Darren Burns
8a9e9a2022
SVG export - Safari - Prevent box appearing on rounded corners (#2201)
* Use box-shadow instead of outline for Safari support

* Update changelog re Safari SVG export square corner bug
2022-04-20 09:53:26 +01:00
Darren Burns
bf728dbc40
Merge branch 'master' of github.com:Textualize/rich 2022-04-19 17:27:14 +01:00
Darren Burns
cb56ec7ebb
Setting terminal window title (#2200)
* Adding tests for setting console title

* Add Windows note

* Update changelog regarding changing terminal window title

* Add test for window title control code -> legacy windows conversion

* Fix docstring typo
2022-04-19 17:20:17 +01:00