pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/ruby-unicode-display_width
Module Name: pkgsrc
Committed By: taca
Date: Wed Dec 11 14:04:58 UTC 2024
Modified Files:
pkgsrc/textproc/ruby-unicode-display_width: Makefile PLIST distinfo
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
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/ruby-unicode-display_width/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/ruby-unicode-display_width/PLIST
cvs rdiff -u -r1.11 -r1.12 \
pkgsrc/textproc/ruby-unicode-display_width/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/ruby-unicode-display_width/Makefile
diff -u pkgsrc/textproc/ruby-unicode-display_width/Makefile:1.9 pkgsrc/textproc/ruby-unicode-display_width/Makefile:1.10
--- pkgsrc/textproc/ruby-unicode-display_width/Makefile:1.9 Sun Sep 22 07:37:32 2024
+++ pkgsrc/textproc/ruby-unicode-display_width/Makefile Wed Dec 11 14:04:58 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2024/09/22 07:37:32 taca Exp $
+# $NetBSD: Makefile,v 1.10 2024/12/11 14:04:58 taca Exp $
-DISTNAME= unicode-display_width-2.6.0
+DISTNAME= unicode-display_width-3.1.2
CATEGORIES= textproc
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -8,6 +8,8 @@ HOMEPAGE= https://github.com/janlelis/un
COMMENT= Monospace Unicode character width in Ruby
LICENSE= mit
+DEPENDS+= ${RUBY_PKGPREFIX}-unicode-emoji>=4.0.4<5:../../textproc/ruby-unicode-emoji
+
USE_LANGUAGES= # none
.include "../../lang/ruby/gem.mk"
Index: pkgsrc/textproc/ruby-unicode-display_width/PLIST
diff -u pkgsrc/textproc/ruby-unicode-display_width/PLIST:1.1 pkgsrc/textproc/ruby-unicode-display_width/PLIST:1.2
--- pkgsrc/textproc/ruby-unicode-display_width/PLIST:1.1 Fri Oct 4 23:41:47 2019
+++ pkgsrc/textproc/ruby-unicode-display_width/PLIST Wed Dec 11 14:04:58 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2019/10/04 23:41:47 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.2 2024/12/11 14:04:58 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGELOG.md
${GEM_LIBDIR}/MIT-LICENSE.txt
@@ -6,7 +6,9 @@ ${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/data/display_width.marshal.gz
${GEM_LIBDIR}/lib/unicode/display_width.rb
${GEM_LIBDIR}/lib/unicode/display_width/constants.rb
+${GEM_LIBDIR}/lib/unicode/display_width/emoji_support.rb
${GEM_LIBDIR}/lib/unicode/display_width/index.rb
${GEM_LIBDIR}/lib/unicode/display_width/no_string_ext.rb
+${GEM_LIBDIR}/lib/unicode/display_width/reline_ext.rb
${GEM_LIBDIR}/lib/unicode/display_width/string_ext.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/textproc/ruby-unicode-display_width/distinfo
diff -u pkgsrc/textproc/ruby-unicode-display_width/distinfo:1.11 pkgsrc/textproc/ruby-unicode-display_width/distinfo:1.12
--- pkgsrc/textproc/ruby-unicode-display_width/distinfo:1.11 Sun Sep 22 07:37:32 2024
+++ pkgsrc/textproc/ruby-unicode-display_width/distinfo Wed Dec 11 14:04:58 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2024/09/22 07:37:32 taca Exp $
+$NetBSD: distinfo,v 1.12 2024/12/11 14:04:58 taca Exp $
-BLAKE2s (unicode-display_width-2.6.0.gem) = e905f4c318d2786fd92303cbf76673709424d3b5d1d76dd052c8c92b78f65e39
-SHA512 (unicode-display_width-2.6.0.gem) = 340ec7fc8409746cde5d35a3db3d99677ec02c329960c9d201ba4bae6c0b1821fbe56cca3ded99be79a159aa9e3ed8dd6b730ef2636c385862f23c1ec20ca83b
-Size (unicode-display_width-2.6.0.gem) = 13312 bytes
+BLAKE2s (unicode-display_width-3.1.2.gem) = a9d5343acbd1b93041afbd9a8814a5c500dc982f506ba29428ea452525e86374
+SHA512 (unicode-display_width-3.1.2.gem) = 7696f2eb4699684b918e11d5d05258d48e137a0ff73b7cfa09f1e6ff5703919a66b888cb081a6f9b2209bf09957173c41d04432a994e52e1293925e349817447
+Size (unicode-display_width-3.1.2.gem) = 17920 bytes
Home |
Main Index |
Thread Index |
Old Index