| Show coloured progress in a responsive homepage terminal | 2 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Fix how-to recordings and demonstrate distinct widget behaviour | 3 天前 |
| Fix how-to recordings and demonstrate distinct widget behaviour | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Fix how-to recordings and demonstrate distinct widget behaviour | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Fix how-to recordings and demonstrate distinct widget behaviour | 3 天前 |
| Fix how-to recordings and demonstrate distinct widget behaviour | 3 天前 |
| Fix how-to recordings and demonstrate distinct widget behaviour | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| docs(readme): benchmark-race hero, animated demos, Markdown conversion Rewrite the README as Markdown with a measured-data wow layout and wire up the assets and gates that keep it honest: - README.md replaces README.rst: centered badge row, animated benchmark race hero, feature sections with animated SVG demos (colors, logs, multibar, parallel execution, pv-style CLI), verified stability numbers, retained reference content - benchmarks: measure plain progressbar2 and progressbar2[fast] separately in scenarios A and C, add speedups to requirements, refresh results/report/chart against current develop - scripts/render_race.py: deterministic race SVG generated from results.json, byte-drift gated in tox docs-demos next to render_demos --check - new registry demos readme/colors, readme/parallel and readme/cli with capture tests, README code blocks test-synced to the example sources - render_demos: drop rows that MultiBar clears so removed bars no longer linger as stale duplicate frames - fix(bar): NullBar.finish() now flips _finished, so a NullBar inside a MultiBar context cannot hang the exit wait (regression test included) - tox: new readme env builds the sdist and runs twine check --strict (with readme_renderer[md]) in CI | 1 个月前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| fix(widgets): restore the Bar fill's default gradient Bar declared fg=colors.gradient and bg=None as plain class attributes that nothing reads: the color machinery only consults _gradient_colors, which stayed all-None, so the default bar fill rendered colorless on every terminal while Percentage and SimpleProgress (via ColoredMixin) colored correctly. The fill now sweeps the red to green gradient with progress, as the dead attributes always intended. Fallout handled with it: - render_demos: classify progress lines against SGR-stripped text. PERCENT_RE finds no word boundary in '...39m100%' and BAR_RE cannot match a fill with color codes woven through it, so the colored 100% finish line misclassified as log output and the log-window demos never showed their bars completing. - tests: same stripping for the BAR_RE-based assertions, a regression test for the gradient default, and a colors-opted-out test keeping the no-colors branch covered. - 35 demo SVGs re-rendered with the gradient fill, and the benchmark race's plain progressbar2 lane now colors its fill the same way the real default does. | 1 个月前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| fix(widgets): restore the Bar fill's default gradient Bar declared fg=colors.gradient and bg=None as plain class attributes that nothing reads: the color machinery only consults _gradient_colors, which stayed all-None, so the default bar fill rendered colorless on every terminal while Percentage and SimpleProgress (via ColoredMixin) colored correctly. The fill now sweeps the red to green gradient with progress, as the dead attributes always intended. Fallout handled with it: - render_demos: classify progress lines against SGR-stripped text. PERCENT_RE finds no word boundary in '...39m100%' and BAR_RE cannot match a fill with color codes woven through it, so the colored 100% finish line misclassified as log output and the log-window demos never showed their bars completing. - tests: same stripping for the BAR_RE-based assertions, a regression test for the gradient default, and a colors-opted-out test keeping the no-colors branch covered. - 35 demo SVGs re-rendered with the gradient fill, and the benchmark race's plain progressbar2 lane now colors its fill the same way the real default does. | 1 个月前 |
| docs: fix and slow down the README demo animations The captures were broken two ways. The demos slept 0.005s per step under the frozen capture clock, below the bar's 0.05s update gate, so readme-hero landed as 3 frames and readme-unknown-length as 2, looping in a quarter second. And MultiBar demos rendered from a background thread that got almost no real scheduling time under the no-op patched sleep, so both multibar SVGs showed a pile of identical early frames and a jump to 100%. The demos now sleep 0.1s per step so every update draws, and the capture bootstrap skips MultiBar's render thread and drives render() synchronously per tick, which also makes the multibar captures deterministic: their drift_check=False opt-outs are gone. The README demos additionally pace at 0.25s per frame with a two-second hold on the finished frame (new Demo.frame_seconds/end_hold_seconds, rendered as explicit SMIL keyTimes) instead of the frantic 80ms default. | 1 个月前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |
| Capture intermediate progress frames for smoother documentation animations | 3 天前 |