Up to [cvs.NetBSD.org] / pkgsrc / textproc / ruby-unicode-display_width
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
textproc/ruby-unicode-display_width: update to 3.3.0 3.3.0 (2026-09-20) * Unicode 18.0 * Fix bug that emoji handling could not be deactivated when using config object * Fix edge case to not modify string when failing parsing binary input as UTF-8
textproc/ruby-unicode-display_width: update to 3.2.0 3.2.0 (2025-09-10) * Unicode 17.0
textproc/ruby-unicode-display_width: update to 3.1.5 3.1.5 (2025-08-15) * Cache Emoji support level for performance reasons #30, patch by @Earlopain:
textproc/ruby-unicode-display_width: update to 3.1.4 3.1.4 (2025-01-13) * Fix that skin tone modifiers were ignored when used in a non-ZWJ sequence context (= single emoji char + modifier) #29 * Add more docs and specs about modifier handling
textproc/ruby-unicode-display_width: update to 3.1.3 3.1.3 (2024-12-26) Better handling of non-UTF-8 strings, patch by @Earlopain: * Data with BINARY encoding is interpreted as UTF-8, if possible * Use invalid: :replace and undef: :replace options when converting to UTF-8
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
textproc/ruby-unicode-display_width: update to 2.6.0 2.6.0 (2024-09-13) * Unicode 16
textproc/ruby-unicode-display_width: update to 2.5.0 2.5.0 (2023-10-01) * Unicode 15.1
textproc/ruby-unicode-display_width: update to 2.4.2 2.4.0 (2023-01-03) * Improve performance for ASCII-only strings, by @fatkodima * Require Ruby 2.4 2.4.1 (2023-01-03) * Improve general performance! * Further improve performance for ASCII strings You should really upgrade - it's much faster now! 2.4.2 (2023-01-04) More performance improvements: * Optimize lookup of first 4096 codepoints * Avoid overwrite lookup if no overwrites are set
textproc/ruby-unicode-display_width: update to 2.3.0 2.3.0 (2022-09-13) * Unicode 15.0
textproc/ruby-unicode-display_width: update to 2.2.0 2.2.0 (2022-06-24) * Add Hangul Jamo Extended-B block to zero-width chars, thanks @ninjalj #22
textproc/ruby-unicode-display_width: update to 2.1.0 2.1.0 (2021-09-15) * Unicode 14.0
textproc: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Unfetchable distfiles (fetched conditionally?): ./textproc/convertlit/distinfo clit18src.zip
textproc: Remove SHA1 hashes for distfiles
textproc/ruby-unicode-display_width: update to 2.0.0
2.0.0 (2020-12-30)
* Release 2.0.0
* Supports Ruby 3.0
2.0.0.pre2 (2020-03-11)
* Update 2.0 branch to Unicode 13
2.0.0.pre1 (2020-01-16)
Will be published as non-pre version on rubygems.org when Ruby 3.0 is
released (December 2020)
* Introduce new class-based API, which remembers your string-width
configuration. See README for details.
* Remove auto-loading of string extension
o You can: require "unicode/display_width/string_ext" to continue to use
the string extension
o The manual opt-out require "unicode/display_width/no_string_ext" is not
needed anymore and will issue a warning in the future
* Remove (already deprecated) String#display_size and String#display_width
aliases
Refactorings / Internal Changes:
* Freeze string literals
* The Unicode::DisplayWidth now is class, instead of a module, this enables
the new config-object API
textproc/ruby-unicode-display_width: update to 1.7.0 Update ruby-unicode-display_width to 1.7.0. ## 1.7.0 - Unicode 13 ## 1.6.1 - Fix that ambiguous and overwrite options where ignored for emoji-measuring
textproc/ruby-unicode-display_width: import ruby26-unicode-display_width-1.6.0 Determines the monospace display width of a string in Ruby. Implementation based on EastAsianWidth.txt and other data, 100% in Ruby. Other than wcwidth(), which fulfills a similar purpose, it does not rely on the OS vendor to provide an up-to-date method for measuring string width.