Skip to content

Commit 06d57fb

Browse files
committed
Update Changes with commits since 0.1.5
1 parent 0676cbb commit 06d57fb

File tree

1 file changed

+51
-3
lines changed

1 file changed

+51
-3
lines changed

Changes

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,58 @@
11
Revision history for Terminal-Widgets
22

33
{{$NEXT}}
4+
[Bug Fixes]
5+
- Fix duospaced text printing bug due to reused variable (Patrick Böker)++
6+
- Fix draw-line-spans bugs found by (Patrick Böker)++
7+
8+
[Cleanups]
9+
- Reduce overuse of double quotes to make security sweeps less noisy
10+
+ Single quote things that don't require any double-quotishness
11+
+ Convert interpolations to concatenations
12+
+ Replace "\n" with $?NL
13+
14+
[Docs]
15+
- Greatly expand and clarify comments in Widget.draw-line-spans, one of the
16+
most complex algorithms in T-W
17+
18+
[Examples]
19+
- Add a debugger-mockup example inspired by issue #11
20+
21+
[Functionality]
22+
- Add ToggleButton widget: looks like Button, acts like Checkbox
23+
- Create new TextContent/ContentRenderer model based on RenderSpans
24+
- Realign I18N::Locale and Translation around new content model
25+
- Ask locale for (possibly translated) plain-text when Str desired
26+
- Add Widget.content-rect to get XYWH rect of content area
27+
- Support capabilities autodetection on controlling terminal
28+
429
[Packaging]
5-
- Bump dependencies for Terminal::Capabilities to 0.0.11+ and
6-
Terminal::LineEditor to 0.0.23+ to pick up numerous bug fixes
7-
and functional improvements
30+
- Bump deps to pick up numerous bug fixes and functional improvements:
31+
+ Terminal::Capabilities to 0.0.12+
32+
+ Terminal::LineEditor to 0.0.23+
33+
+ Terminal::Print to 0.977+
34+
35+
[Portability]
36+
- Unlock Windows support! (Patrick Böker)++
37+
- Work around change in object hash semantics in Rakudo 2025.03-27
38+
with a fix that works both before and after
39+
40+
[Refactoring]
41+
- Refactor refresh handling for Checkbox/RadioButton/Boolean
42+
+ Move identical full-refresh methods up to base class
43+
+ Drop unneeded refresh-value methods
44+
+ Refactor draw-frame method in Boolean
45+
- Factor group management out of RadioButton into GroupedBoolean
46+
- Refactor lots of basic input pieces into SimpleClickable
47+
- Factor draw-line-spans out of SpanBuffer.draw-frame into the Widget core
48+
- Refactor SpanBuffer.draw-frame in terms of Widget.content-rect
49+
- Rebase PlainText on top of SpanBuffer
50+
51+
[Security]
52+
- Sanitize text in a few insecure places found during double-quote sweep
53+
54+
[Testing]
55+
- Fix order of use tests to match dependency order of modules
856

957

1058
0.1.5 2024-04-01T00:35:56-07:00

0 commit comments

Comments
 (0)