Commit Graph

35 Commits

Author SHA1 Message Date
Will McGugan 099893e8b1
Merge branch 'master' into fix-repr-highlighter 2022-02-10 11:54:19 +00:00
Wasi Master 821c0ce2eb Modify CHANGELOG.md and CONTRIBUTORS.md 2022-02-10 17:17:16 +06:00
Will McGugan 5fafb92f3d
Merge pull request #1904 from mgorny/lexer-name-fix
PyPy3 test fixes
2022-02-09 09:31:15 +00:00
ptmcg e4f48cc612 Update CONTRIBUTORS.md and CHANGELOG.md with changes related to adding Progress.get_default_columns 2022-02-06 14:03:39 -06:00
Dennis Brakhane eec7110b45 Update changelog and contributers 2022-02-05 19:45:26 +01:00
Michał Górny 8e3a0be6fb Fix test_syntax not to use identity comparison on string
Fix test_syntax to compare strings via "==" rather than "is", in order
to fix test failure on PyPy3.
2022-02-01 12:28:58 +01:00
Darren Burns 35795dc9e9 Add darrenburns to CONTRIBUTORS.md 2022-01-06 10:08:40 +00:00
Patrick Arminio 6e930a30c3
Add myself to contributors 2021-12-11 22:15:47 +00:00
Will McGugan a6d1d78487
Merge pull request #1706 from 0xDEC0DE/issue/1670
Add a Text.from_ansi helper method
2021-11-28 16:04:03 +00:00
Will McGugan 666d0cf2b2
Merge pull request #1504 from boegel/dynamic_progress_example
add example with dynamic group of progress bars
2021-11-20 10:51:53 +00:00
Nicolas Simonds 62ead7eded Add a Text.from_ansi helper method
Add a simple little helper to run `AnsiDecoder.decode_line` over
"pre-cooked" inputs.

Fixes issue: #1670
2021-11-17 13:25:39 -08:00
Will McGugan e53fb31288
Merge pull request #1620 from timsavage/bugfix/handle-errors-writing-log-entry
Bugfix/handle errors writing log entry
2021-11-07 10:26:26 +00:00
James Estevez 07c6733027
Update changelog 2021-11-06 12:47:07 -07:00
Tim Savage 35fdd59128 Updated CHANGELOG.md and CONTRIBUTORS.md 2021-10-22 12:31:03 +11:00
Kenneth Hoste 58b71127aa
add @boegel to contributors 2021-10-16 13:51:05 +02:00
Will McGugan a29c1ae0bc
Merge pull request #1586 from akettmann-e24/patch-1
fix return type for `Table.expand()` getter
2021-10-16 10:34:28 +01:00
Will McGugan 7029cae10a
Merge pull request #1580 from Psycojoker/is-atty-broken-in-pytest
fix a edge case bug when running under pytest
2021-10-16 10:32:05 +01:00
akettmann-e24 14e20ecea6
Update CONTRIBUTORS.md 2021-10-14 10:56:38 -05:00
Laurent Peuch 8a33ce27db fix a edge case bug when running under pytest 2021-10-13 17:39:30 +02:00
GBeauregard 67ef9a86c0
update CONTRIBUTORS.md 2021-10-12 16:16:33 -07:00
Avrohom Perl 4dc5e0b714 Fix misspelled month in readme table example 2021-10-03 03:38:26 -04:00
Tushar Sadhwani add8feda53 Add to contributors 2021-08-30 15:58:08 +05:30
kyle pollina 56b4b4bc6a update contributors 2021-08-22 20:39:53 -05:00
p0lux a6f5d8a8c1
Update CONTRIBUTORS.md 2021-07-27 14:26:49 +02:00
Pete Davison 9564ac5462 Updated changelog and contributors 2021-07-09 10:15:37 +00:00
Gabriele N. Tornetta efa324a594 perf(console): avoid call to inspect.stack
This change improves the performance of the `Console.log` method by avoiding an expensive call to `stack()` and using `currentframe` instead. The same information is then available by navigating backward as many levels as required and peeking at the `code` object.
2021-06-05 17:50:02 +01:00
Will McGugan 3e079ff52b
Merge branch 'master' into really-disable-pbar 2021-03-25 21:29:56 +00:00
Clément Robert 4eac117be0 update changelog and contributors 2021-03-24 16:58:25 +01:00
JoshKarpel d278c0c149 add proto CHANGELOG.md entry, update CONTRIBUTORS.md 2021-03-21 10:36:12 -05:00
Finn Hughes d52c2a8fc7 Allow timestamps to include milliseconds
Allow log_time_format to be string or callable e.g:

def time_formatter(timestamp: datetime) -> str:
    milliseconds = int(timestamp.microsecond / 1000.0 + 0.5)
    return f'{timestamp.strftime("%H:%M:%S")}.{milliseconds:03}'
2021-02-15 15:47:27 +00:00
Alexander Mancevice d28cbf8878 allow stdin on rich.markdown.__main__
If user provides no PATH or uses "-" as PATH, markdown is read from sys.stdin.

Example:
python -m rich.markdown < README.md
cat README.md | python -m rich.markdown
2021-01-09 16:03:38 -05:00
Nathan Page a154bcd0ea add nathan to contributors 2020-10-25 22:21:41 -04:00
oleksis 9df0f3aabd Add README.es.md in Spanish/Español 2020-09-17 15:55:22 -04:00
Hedy Li c6f566851e
Docs: Add myself To contributors 2020-08-16 19:20:35 +08:00
Will McGugan 88b5f8b13c set default for markdown styles, added contributors.md 2020-05-26 16:02:03 +01:00