The NetBSD Project

CVS log for pkgsrc/devel/py-wcwidth/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-wcwidth

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Oct 25 17:49:53 2026 UTC (3 weeks ago) by wiz
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
py-wcwidth: fix PLIST for setuptools 84.2

and depend on it

Bump PKGREVISION.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Sep 24 10:39:31 2026 UTC (7 weeks, 4 days ago) by adam
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -1 lines
py-wcwidth: updated to 0.9.1

0.9.1 *2026-09-23*
* **Bugfix** a regression in 0.9.0 Python and libwcwidth_ `width()`_ mis-measured CSI sequences
  over 64 bytes
* **Performance** improvement of ~15% for 11 many Python API functions when using
  default ``ambiguous_width`` and ``term_program`` arguments.

0.9.0 *2026-09-23*
* **New** Optional CPython extension using libwcwidth_, improving performance 10-58x
* **Drop Support** for Python 3.8

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Sep 22 09:56:35 2026 UTC (7 weeks, 6 days ago) by adam
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +61 -59 lines
py-wcwidth: updated to 0.8.4

0.8.4 *2026-09-17*
* **Bugfix** `clip()`_ hangs with OSC 8 hyperlinks in some conditions
* **Bugfix** width of ITU T.416 colon-format SGR color parameters
* **Bugfix** width of OSC 66 text sizing sequences without a text field
* **Bugfix** `width()`_, `ljust()`_, `rjust()`_, `center()`_, `clip()`_ and `strip_sequences()`_
  treated ``ESC ( LF`` as text instead of a character set designation (rare)
* **Bugfix** `clip()`_ painter's algorithm and "tab expansion" should be spaces
* **Changed** `iter_graphemes()`_ clustering rule GB9c for Unicode 18.0
* **Changed** ``ambiguous_width`` arguments are now clamped to allowed range (1, 2)
* **Changed** `wrap()`_ now raises ``ValueError`` for a width of zero or less, matching stdlib
  ``textwrap``.  Previously ``wrap('女', 0)`` returned ``['女']``
* **Changed** `clip()`_ arguments ``start=0`` and ``end=-1`` become optional
* **Updated** tables for Unicode version 18.0
* **Updated** ``ucs-detect`` data files used in some automatic tests are no longer
  distributed,

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Aug 30 15:42:59 2026 UTC (2 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
py-wcwidth: update to 0.8.3.

0.8.3 2026-08-28

        Bugfix Do not hang on wrap() calls of width 1 with text containing OSC8 hyperlinks and wide characters, PR #231.
        Bugfix clip() with propagate_sgr=True, should match behavior of propagate_sgr(), PR #235.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Jun 10 04:03:37 2026 UTC (5 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 lines
py-wcwidth: updated to 0.8.1

0.8.1
Improved corrections tables

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jun 7 06:29:02 2026 UTC (5 months, 1 week ago) by adam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +73 -1 lines
py-wcwidth: updated to 0.8.0

0.8.0
New support for Variation Selector 15 Emojis as narrow,
New argument, term_program for wcstwidth(), width(), clip(), wrap(), ljust(), rjust(), and center().  False disables corrections; True auto-detects by TERM_PROGRAM or TERM; string values accept canonical names matching list_term_programs().  wcstwidth()_ defaults to True; all other functions default to False.
Improved performance on Python 3.15 using standard library iter_graphemes()
Improved memory usage and import time for Python 3.15 using lazy imports
Bugfix Invisible_Stacker viramas now form conjuncts (Burmese, Khmer, etc.) and change some Virama width calculations to match jacobsandlund/uucode_ (ghostty)
Updated graphemes width maximum now 2, matching Ghostty, foot, and Windows Terminal

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun May 3 14:58:57 2026 UTC (6 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +24 -0 lines
py-wcwidth: update to 0.7.0.

    New support for kitty text sizing protocol (OSC 66) in width() and clip().
    New clip() parameter control_codes='parse', 'ignore', and 'strict'. clip()
    is now able to clip OSC 8 hyperlinks and OSC 66 text sizing sequences.
    Improved clip() and width() to support horizontal cursor sequences (cub, cuf,
    hpa). Cursor-left (cub) or backspace (\b) now overwrites text. column_address
    (hpa) and carriage return (\r) are now parsed, and more values conditionally raise
    ValueError when control_codes='strict'.

PR's

    Remove docs, add utils by @jquast in #209
    Bump requests from 2.32.5 to 2.33.0 in /docs by @dependabot[bot] in #210
    Bump pygments from 2.19.2 to 2.20.0 in /docs by @dependabot[bot] in #212
    dependabot nonsense by @jquast in #215
    Expand terminal escape sequence for three more ECMA-48 "families" by @jquast in #214
    Improve clip() and width() with hyperlinks and overtyping by @jquast in #216
    Improve width() and clip() with kitty Text Sizing Protocol by @jquast in #213

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Feb 1 18:26:01 2026 UTC (9 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -0 lines
py-wcwidth: update to 0.5.3.

0.5.3

    Add Virama conjunct for the Brahmic scripts by @jquast in #204

0.5.2

    Do not distribute any data files by @jquast in #199
    Update specs and zero-width tables regarding Mc by @jquast in #200
    Standalone emoji support by @jquast in #202

0.5.1

    Updated generated zero and wide code tables to length of 1 to complete the previously announced removal of historical wide and zero tables. #196

0.5.0

    Drop Support of many historical versions of wide and zero unicode tables. Only the latest Unicode version (17.0.0) is now shipped. The related unicode_version='auto' keyword of the wcwidth()-family of functions are ignored. list_versions() always returns a tuple of only a single element of the only unicode version supported. #195
    Performance improvement of most common call without version or ambiguous_width specified by 20%. #195
    New Function propagate_sgr() for applying SGR state propagation to a list of lines. #194
    Improved wrap() and clip() with propagate_sgr=True. #194
    Bugfix clip() zero-width characters at clipping boundaries. #194
    Bugfix OSC Hyperlinks when broken mid-text by wrap(). #193

0.4.0

    Bugfix: OSC Hyperlinks should not be broken by wrap() by @jquast in #191
    New functions: iter_graphemes_reverse(), grapheme_boundary_before() by @jquast in #192

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jan 25 23:34:38 2026 UTC (9 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +23 -3 lines
py-wcwidth: update to 0.3.5.

0.3.5

    Re-stamp package version correctly, 0.3.4 packaged a failing test

0.3.4

    bugfix our center() padding algorithm by @jquast in #188
    docfix: accidental double-escapes \t -> \t by @jquast in #187

0.3.3

    Add fast path for ASCII printables to width() by @hugovk in #185
    Add py.typed file and Typing :: Typed classifier by @hugovk in #184

0.3.2

    type hinting for full mympy --strict compliance, by @penguinolog #183

0.3.1

    Add benchmarking using codspeed.io by @jquast in #180
    improve width() performance by @jquast in #181

0.3.0

Major changes since 0.2.14, in order

    Migrate from setup.py + setuptools to pyproject.toml + hatchling by @hugovk in #156
    Small improvements to update-tables.py and wcwidth-browser.py by @jquast in #160
    New: iter_graphemes() by @jquast in #165
    New: width() terminal-aware string measurement by @jquast in #166
    New: ljust(), rjust(), center() justify text by @jquast in #168
    New: wrap() by @jquast in #169
    improve wcswidth() performance ~30% by @jquast in #171
    New ambigous_width=1 argument by @jquast in #172
    New strip_sequences() and cut() functions by @jquast in #173
    Width 0 for Default_Ignorable_Code_Point characters by @jquast in #174
    Bugfix for Prepended_Concatenation_Mark characters by @jquast in #176

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Apr 12 21:37:05 2025 UTC (19 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Fix PLIST after py-setuptools update; bump depends and revision

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri May 10 09:59:56 2024 UTC (2 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -7 lines
py-wcwidth: switch to wheel.mk

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Nov 15 17:54:03 2023 UTC (3 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -1 lines
py-wcwidth: updated to 0.2.10

0.2.10 2023-11-13

Bugfix accounting of some kinds of emoji sequences using U+FE0F
Variation Selector 16.
Updated Specification.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jul 1 14:20:46 2020 UTC (6 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -2 lines
py-wcwidth: updated to 0.2.5

0.2.5:
Do not depend on pkg_resources module for list_versions() function.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jun 1 20:30:15 2020 UTC (6 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -7 lines
py-wcwidth: updated to 0.2.2

0.2.2:
Support *ALL* Unicode Versions (0.4.1 through 13.0.0)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Aug 21 00:50:02 2016 UTC (10 years, 2 months ago) by kamil
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Import wcwidth-0.1.7 as py-wcwidth

This Library is mainly for those implementing a Terminal Emulator, or programs
that carefully produce output to be interpreted by one

Originally packaged in pkgsrc-wip by:
 - K.I.A.Derouiche

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>