14
0
forked from pool/python-rich
Commit Graph

29 Commits

Author SHA256 Message Date
Richard Brown
37a59ebd62 Accepting request 883225 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/883225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=14
2021-04-06 15:31:12 +00:00
fc26c50310 Accepting request 883220 from home:mnhauke
- Update to version 10.1.0
  * Fixed support for jupyter qtconsole and similar Jupyter
    environments.

OBS-URL: https://build.opensuse.org/request/show/883220
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=28
2021-04-06 09:39:26 +00:00
Richard Brown
6837539694 Accepting request 882371 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/882371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=13
2021-04-01 12:17:51 +00:00
9fe7f1f6ed Accepting request 882220 from home:mnhauke
- Update to version 10.0.1
  * Fixed race condition that duplicated lines in progress.
- Update to version 10.0.0
  Changed
  * Made pydoc import lazy as at least one use found it slow to
    import.
  * Modified string highlighting to not match in the middle of a
    word, so that apostrophes are not considered strings.
  * New way of encoding control codes in Segment.
  * New signature for Control class.
  * Changed Layout.split to use new Splitter class.
  * Improved layout.tree.
  * Changed default theme color for repr.number to cyan.
  * __rich_measure__ signature changed to accept ConsoleOptions
    rather than max_width.
  Added
  * Added __rich_repr__ protocol method to Pretty.
  * Added rich.region.Region.
  * Added ConsoleOptions.update_dimensions.
  * Added rich.console.ScreenUpdate.
  * Added Console.is_alt_screen.
  * Added Control.segment, Control.bell, Control.home,
    Control.move_to, Control.clear, Control.show_cursor,
    Control.alt_screen.
  * Added Console.update_screen and Console.update_screen_lines.
  * Added Layout.add_split, Layout.split_column, Layout.split_row,
    layout.refresh.
  * Added new Rich repr protocol __rich_repr__.
  Fixed
  * Fixed table style taking precedence over row style.

OBS-URL: https://build.opensuse.org/request/show/882220
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=26
2021-03-31 14:01:49 +00:00
fa352ea59e Accepting request 877412 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/877412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=12
2021-03-11 19:10:15 +00:00
eca0b902b4 Accepting request 877404 from home:mnhauke
- Update to version 9.13.0
  Added
  * Pretty printer now supports dataclasses
  Fixed
  * Fixed Syntax background #1088
  * Fix for double tracebacks when no formatter #1079
  Changed
  * Added ws and wss to url highlighter

- Update to version 9.12.4
  Fixed
  * Fixed custom formatters with rich tracebacks in RichHandler.
  Changed
  * Allow highly compressed table cells to go to 0 width
  * Optimization to remove empty styles in various places
- Update to version 9.12.3
  Changed
  * Optimized Padding
- Update to version 9.12.2
  Added
  * Added ConsoleOptions.copy
  Changed
  * Optimized ConsoleOptions.update
- Update to version 9.12.1
  Fixed
  * Fixed deadlock in Progress
  Added
  * Added Task.finished_speed
  Changed
  * Froze TransferSpeedColumn speed when task is finished

OBS-URL: https://build.opensuse.org/request/show/877404
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=24
2021-03-06 17:34:19 +00:00
6ea2bf4cae Accepting request 866562 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/866562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=11
2021-01-25 17:24:57 +00:00
Martin Hauke
7b644682e2 Accepting request 866539 from home:bnavigator:branches:devel:languages:python
- Update to version 9.9.0
  Changed
  * Extended Windows palette to 16 colors
  * Modified windows palette to Windows 10 colors
  * Change regex for attrib_name to be more performant
  * Optimized traceback generation
  Fixed
  * Fix double line tree guides on Windows
  * Fixed Tracebacks ignoring initial blank lines
  * Partial fix for tracebacks not finding source after chdir
  Added
  * Added post_style argument to Segment.apply_style 
- Changelog for 9.8.2
  * Fixed deadlock in live #927
- Changelog for 9.8.1
  * Fixed rich.inspect failing with attributes that claim to be
    callable but aren't #916
- Changelog for 9.8.0
  Added
  * Added rich_measure for tree
  * Added rich.align.VerticalCenter
  Changed
  * The style argument on Align now applies to background only
  * Changed display of progress bars in no_color mode for 
     clarity
  * Console property size will fall back to getting the 
    terminal size of stdout it stdin fails, this allows size 
    to be correctly determined when piping
  Fixed
  * Fixed panel cropping when shrunk too bar
  * Allow passing markdown over STDIN when using python -m 
    rich.markdown
  * Fix printing MagicMock.mock_calls #903
- Changelog for 9.7.0
  * Added rich.tree
  * Added no_color argument to Console
- Changelog for 9.6.2
  * Fixed markup escaping edge case #878
  * Double tag escape, i.e. "\\[foo]" results in a 
    backslash plus [foo] tag
  * Fixed header_style not applying to headers in 
    positional args #953
- Changelog for 9.6.1
  * Fixed encoding error on Windows when loading code for 
    Tracebacks
- Changelog for 9.6.0
  Changed
  * MarkupError exception raise from None to omit internal 
    exception
  * Factored out RichHandler.render and 
    RichHandler.render_message for easier extending
  * Display pretty printed value in rich.inspect
  Added
  * Added Progress.TimeElapsedColumn
  * Added IPython support to pretty.install
  Fixed
  * Fixed display of locals in Traceback for stdin
- Add dataclasses BuildRequires for python 3.6 builds

OBS-URL: https://build.opensuse.org/request/show/866539
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=22
2021-01-25 11:32:56 +00:00
29c6e7d6b1 Accepting request 857159 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/857159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=10
2020-12-21 09:24:19 +00:00
79da4b669f Accepting request 856924 from home:mnhauke
- Update to version 9.5.1
  * Fixed hex number highlighting
- Update to version 9.5.0
  Changed
  * If file is not specified on Console then the Console.file will
    return the current sys.stdout. Prior to 9.5.0 sys.stdout was
    cached on the Console, which could break code that wrapped
    sys.stdout after the Console was constructed.
  * Changed Color.__str__ to not include ansi codes
  * Changed Console.size to get the terminal dimensions via
    sys.stdin. This means that if you set file to be an
    io.StringIO file (for example) then the width will be set to
    the current terminal dimensions and not a default of 80.
  Added
  * Added stderr parameter to Console
  * Added rich.reconfigure
  * Added Color.__rich__
  * Added Console.style parameter
  * Added Table.highlight parameter to enable highlighting ofcells
  * Added Panel.highlight parameter to enable highlighting of panel
    title
  * Added highlight to ConsoleOptions
  Fixed
  * Fixed double output in rich.live #485
  * Fixed Console.out highlighting not reflecting defaults #827
  * FileProxy now raises TypeError for empty non-str arguments #828
- Update to version 9.5.0
  Added
  * Added rich.live #382
  * Added algin parameter to Rule and Console.rule

OBS-URL: https://build.opensuse.org/request/show/856924
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=20
2020-12-20 13:52:52 +00:00
2b47eeb3b5 Accepting request 844275 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/844275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=9
2020-10-29 13:51:51 +00:00
203065183d Accepting request 844179 from home:bnavigator:branches:devel:languages:python
- Kill dephell dependency

OBS-URL: https://build.opensuse.org/request/show/844179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=18
2020-10-27 11:27:03 +00:00
9901e2f87c Accepting request 843924 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/843924
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=8
2020-10-26 15:20:55 +00:00
4dfd81aee0 Accepting request 843916 from home:mnhauke
- Update to version 9.1.0
  * New option to render 'indent guides' in Syntax and pretty
    printing.
  * Added a max_length argument to pretty printing which will
    truncate containers longer than a certain length.
- Update to version 9.0.0
  * Added a new pager method which will pipe any console output
    in to the system 'pager'.
  * There's also a new Bar renderable you could use to display a
    chart in a table. See bars.py for an example of how to use it.

OBS-URL: https://build.opensuse.org/request/show/843916
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=16
2020-10-25 17:16:34 +00:00
16e40f2e68 Accepting request 838335 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/838335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=7
2020-09-29 17:02:42 +00:00
ffc68759cd Accepting request 837924 from home:mnhauke
- Update to version 7.1.0
  Added
  * Added Console.begin_capture, Console.end_capture and
    Console.capture
  * Added Table.title_justify and Table.caption_justify
  Changed
  * Improved formatting of exceptions
  * Enabled Rich exceptions in logging https://github.com/taliraj
  * UTF-8 encoding is now mentioned in HTML head section
  Removed
  * Removed line_numbers argument from traceback.install, which
    was undocumented and did nothing

- Update to version 7.0.0
  Added
  * New ansi_dark and ansi_light themes
  * Added Text.append_tokens for fast appending of string + Style
    pairs
  * Added Text.remove_suffix
  * Added Text.append_tokens
  Changed
  * Text.tabs_to_spaces was renamed to Text.expand_tabs, which
    works in place rather than returning a new instance
  * Renamed Column.index to Column._index
  * Optimized Style.combine and Style.chain
  * Optimized text rendering by fixing internal cache mechanism
  * Optimized hash generation for Styles

- Update to version 6.1.1
  Added

OBS-URL: https://build.opensuse.org/request/show/837924
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=14
2020-09-28 16:19:17 +00:00
e76b3c9552 Accepting request 828941 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/828941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=6
2020-08-25 07:34:13 +00:00
Tomáš Chvátal
e747e639e4 Accepting request 828878 from home:mnhauke
- Update to version 5.2.1
  * Fixed underscore with display hook
- Update to version 5.2.0
  * Added crop argument to Console.print
  * Added "ignore" overflow method
  * Added multiple characters per rule
- Update to version 5.1.2
  * Further optimized pretty printing ~5X.
- Update to version 5.1.1
  * Optimized pretty printing ~3X faster
- Update to version 5.1.0
  Added
  * Added Text.cell_len
  * Added helpful message regarding unicode decoding errors
  * Added display hook with pretty.install()
  Fixed
  * Fixed deprecation warnings re backslash
  * Fixed repr highlighting of scientific notation, e.g. 1e100
  Changed
  * Implemented pretty printing, and removed pprintpp from
    dependencies
  * Optimized Text.join

OBS-URL: https://build.opensuse.org/request/show/828878
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=12
2020-08-24 12:55:42 +00:00
412e191bec Accepting request 824958 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/824958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=5
2020-08-13 08:16:02 +00:00
Tomáš Chvátal
d932ec9b89 Accepting request 824925 from home:jayvdb:py-new
- Update to v5.0.0
  * Change to console markup syntax to not parse Python structures
    as markup, i.e. `[1,2,3]` is treated as a literal, not a tag.
  * Standard color numbers syntax has changed to `"color(<number>)"`
    so that `[5]` (for example) is considered a literal.
  * Markup escape method has changed from double brackets to
    preceding with a backslash, so `foo[[]]` would be `foo\[bar]`
- From v4.2.2
  * Added thread to automatically call update() in progress.track().
    Replacing previous adaptive algorithm.
  * Second attempt at working around https://bugs.python.org/issue37871

OBS-URL: https://build.opensuse.org/request/show/824925
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=10
2020-08-08 06:06:05 +00:00
e8c0041bfc Accepting request 823699 from home:mcalabkova:branches:devel:languages:python
- Update to version 4.2.1
  - Added show_time and show_level parameters to RichHandler https://github.com/willmcgugan/rich/pull/182
  - Fixed progress.track iterator exiting early https://github.com/willmcgugan/rich/issues/189
  - Added workaround for Python bug https://bugs.python.org/issue37871, fixing https://github.com/willmcgugan/rich/issues/186
  - Set overflow=fold for log messages https://github.com/willmcgugan/rich/issues/190
  - Fixed missing new lines https://github.com/willmcgugan/rich/issues/178
  - Fixed Progress.track https://github.com/willmcgugan/rich/issues/184
  - Remove control codes from exported text https://github.com/willmcgugan/rich/issues/181
  - Implemented auto-detection and color rendition of 16-color mode
  - Optimized progress.track for very quick iterations
  - Force default size of 80x25 if get_terminal_size reports size of 0,0
  - Added markup switch to RichHandler https://github.com/willmcgugan/rich/issues/171
  - Change signature of Text.stylize to accept style first
  - Remove Text.stylize_all which is no longer necessary
  - Fixed rendering of Confirm prompt https://github.com/willmcgugan/rich/issues/170

OBS-URL: https://build.opensuse.org/request/show/823699
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=9
2020-07-31 10:17:15 +00:00
7d831bd8e5 Accepting request 822299 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/822299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=4
2020-07-24 08:03:17 +00:00
Tomáš Chvátal
11b88666c7 Accepting request 822298 from home:mnhauke
- Update to version 3.4.1
  * Fixed incorrect default of expand in Table.grid
- Update to version 3.4.0
  Added
  * Added stream parameter to Console.input
  * Added password parameter to Console.input
  * Added description parameter to Progress.update
  * Added rich.prompt
  * Added detecting 'dumb' terminals
  * Added Text.styled alternative constructor
  Fixes
  * Fixed progress bars so that they are readable when color is
    disabled
- Update to version 3.3.2
  Changed
  * Optimized Text.pad
  Added
  * Added rich.scope
  * Change log_locals to use scope.render_scope
  * Added title parameter to Columns

OBS-URL: https://build.opensuse.org/request/show/822298
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=7
2020-07-22 21:00:59 +00:00
c05b6700f9 Accepting request 820783 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/820783
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=3
2020-07-16 11:59:53 +00:00
Tomáš Chvátal
0d6375bcb7 Accepting request 820749 from home:mnhauke
- Update to version 3.3.1
  Added
  * box.ASCII_DOUBLE_HEAD
  Changed
  * Removed replace of -- --- ... from Markdown, as it made it
    impossible to include CLI info
- Update to version 3.3.0
  Added
  * Added title and title_align options to Panel
  * Added pad and width parameters to Align
  * Added end parameter to Rule
  * Added Text.pad and Text.align methods
  * Added leading parameter to Table
- Update to version 3.2.0
  Added
  * Added Align.left Align.center Align.right shortcuts
  * Added Panel.fit shortcut
  * Added align parameter to Columns
  Fixed
  * Align class now pads to the right, like Text
  * ipywidgets added as an optional dependency
  * Issue with Panel and background color
  * Fixed missing __bool__ on Segment
  Changed
  * Added border_style argument to Panel (note, style now applies
    to interior of the panel)
- Update to version 3.1.0
  Changed
  * Progress bars now work in Jupyter
  Added

OBS-URL: https://build.opensuse.org/request/show/820749
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=5
2020-07-14 05:56:38 +00:00
f15ebde208 Accepting request 818402 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/818402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=2
2020-07-04 23:15:28 +00:00
bde8d09da0 Accepting request 818398 from home:mnhauke
- Update to version 3.0.2
  Added
  * Added rich.styled.Styled class to apply styles to renderable
  * Table.add_row now has an optional style parameter
  * Added table_movie.py to examples
  Changed
  * Modified box options to use half line characters at edges
  * Non no_wrap columns will now shrink below minimum width if
    table is compressed

OBS-URL: https://build.opensuse.org/request/show/818398
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=3
2020-07-02 19:33:09 +00:00
5c26855490 Accepting request 818068 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/818068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rich?expand=0&rev=1
2020-07-01 12:27:15 +00:00
Tomáš Chvátal
bb4cc97c27 Accepting request 818066 from home:mnhauke
Initial package for python-rich

OBS-URL: https://build.opensuse.org/request/show/818066
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=1
2020-07-01 09:58:09 +00:00