Subject: CVS commit: pkgsrc/textproc/ruby-unicode-display_width
From: Takahiro Kambe
Date: 2024-12-11 15:04:58
Message id: 20241211140458.F28D2FC1C@cvs.NetBSD.org

Log Message:
textproc/ruby-unicode-display_width: update to 3.1.2

3.0.0 (2024-11-13)

Rework Emoji support:

* Emoji widths are now enabled by default
* Only reduce Emoji width to 2 when RGI Emoji detected (configurable)
* VS16 turns Emoji characters of width 1 into full-width
* Please note that Emoji parsing has a notable impact on performance. You
  can use the emoji: false option to disable Emoji adjustments
* Tries to detect terminal's Emoji support level automatically (from ENV
  vars)

Index fixes and updates:

* Private-use characters are considered ambiguous (were given width 1
  before)
* Fix that a few zero-width ignorable codepoints from recent Unicode were
  missing
* Consider the following separators to be zero-width:
   o U+2028 - LINE SEPARATOR - Zl
   o U+2029 - PARAGRAPH SEPARATOR - Zp

Other:

* Add keyword arguments to Unicode::DisplayWidth.of. If you are using a hash
  with overwrite values as third parameter, be sure to put it in curly
  braces.
* Using third parameter or explicit hash as fourth parameter is deprecated,
  please migrate to the keyword arguments API
* Gem raises ArgumentError for ambiguous values other than 1 or 2
* Performance optimizations
* Require Ruby 2.5

3.0.1 (2024-11-13)

* Add WezTerm and foot as good Emoji terminals

3.1.0 (2024-11-18)

Improve Emoji support:

* Emoji modes: Differentiate between well-formed Emoji (:possible) and any
  ZWJ/modifier sequence (:all). The latter is more common and more efficient
  to implement.
* Unify :rgi_{fqe,mqe,uqe} options to just :rgi to keep things simpler
  (corresponds to the former :rgi_uqe option). Most terminals that want to
  support the RGI set will probably want to catch Emoji sequences with
  missing VS16s.
* Add new :all_no_vs16 and :rgi_at modes to be able to support some
  terminals that needs these quirks
* Add alias emoji: :auto for emoji: true and emoji: :none for emoji: false
* :auto mode: Only consider terminal cells when recommending Emoji support
  level (Emoji themselves might display differently)
* :auto mode: Set default Emoji mode for unknown/unsupported terminals to
  :none
* Rename :basic mode to :vs16

3.1.1 (2024-11-19)

* Performance improvements

3.1.2 (2024-11-20)

* Performance improvements

Files:
RevisionActionfile
1.10modifypkgsrc/textproc/ruby-unicode-display_width/Makefile
1.2modifypkgsrc/textproc/ruby-unicode-display_width/PLIST
1.12modifypkgsrc/textproc/ruby-unicode-display_width/distinfo