diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2010-09-21 00:24:48 +0100 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2010-09-21 00:24:48 +0100 |
commit | dd8fe4901bbe694156696151189a25b7452fd2fe (patch) | |
tree | 530c61eb932b6adf74ecd89ef830b86d04b80a88 /cpan/Unicode-Normalize | |
parent | 92c404cdb33b2c3bee04da4b4fe626140f9ca4f9 (diff) | |
download | perl-dd8fe4901bbe694156696151189a25b7452fd2fe.tar.gz |
Update Unicode-Normalize to CPAN version 1.07
[DELTA]
1.07 Mon Sep 20 20:20:02 2010
- doc: about perl 5.12.x and Unicode 5.2.0
- test: prototype of normalize_partial() and cousins in proto.t.
Diffstat (limited to 'cpan/Unicode-Normalize')
-rw-r--r-- | cpan/Unicode-Normalize/.gitignore | 1 | ||||
-rw-r--r-- | cpan/Unicode-Normalize/Changes | 8 | ||||
-rw-r--r-- | cpan/Unicode-Normalize/Normalize.pm | 5 | ||||
-rw-r--r-- | cpan/Unicode-Normalize/README | 2 | ||||
-rw-r--r-- | cpan/Unicode-Normalize/t/proto.t | 9 |
5 files changed, 18 insertions, 7 deletions
diff --git a/cpan/Unicode-Normalize/.gitignore b/cpan/Unicode-Normalize/.gitignore deleted file mode 100644 index 424c745c12..0000000000 --- a/cpan/Unicode-Normalize/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.h diff --git a/cpan/Unicode-Normalize/Changes b/cpan/Unicode-Normalize/Changes index 433edb4db7..893a604214 100644 --- a/cpan/Unicode-Normalize/Changes +++ b/cpan/Unicode-Normalize/Changes @@ -1,7 +1,11 @@ Revision history for Perl extension Unicode::Normalize. +1.07 Mon Sep 20 20:20:02 2010 + - doc: about perl 5.12.x and Unicode 5.2.0 + - test: prototype of normalize_partial() and cousins in proto.t. + 1.06 Thu Feb 11 16:19:54 2010 - - Pure Perl/mkheader: fixed the internal _getHexArray() for perl 5.11.3 + - mkheader/Pure Perl: fixed the internal _getHexArray() for perl 5.11.3 changes (Bug #53197). 1.05 Mon Sep 28 21:43:17 2009 @@ -19,7 +23,7 @@ Revision history for Perl extension Unicode::Normalize. 1.02 Tue Jun 5 22:46:45 2007 - XSUB: mkheader, _U_stringify() - avoid unpack('C*') on unicode. - - test: short.t removed - pure perl is not inapprotiate for test of + - test: short.t removed - pure perl is not appropriate for test of unicode edge cases. 1.01 Tue Jun 13 22:01:53 2006 diff --git a/cpan/Unicode-Normalize/Normalize.pm b/cpan/Unicode-Normalize/Normalize.pm index 00be139070..5bdeedf44e 100644 --- a/cpan/Unicode-Normalize/Normalize.pm +++ b/cpan/Unicode-Normalize/Normalize.pm @@ -13,7 +13,7 @@ use Carp; no warnings 'utf8'; -our $VERSION = '1.06'; +our $VERSION = '1.07'; our $PACKAGE = __PACKAGE__; our @EXPORT = qw( NFC NFD NFKC NFKD ); @@ -547,7 +547,8 @@ normalization implemented by this module depends on your perl's version. 5.8.4-5.8.6 4.0.1 (normalization is same as 4.0.0) 5.8.7-5.8.8 4.1.0 5.10.0 5.0.0 - 5.8.9, 5.10.1 5.1.0 + 5.8.9, 5.10.1 5.1.0 + 5.12.0-5.12.2 5.2.0 =item Correction of decomposition mapping diff --git a/cpan/Unicode-Normalize/README b/cpan/Unicode-Normalize/README index 06c9d0c83f..a18f7cd198 100644 --- a/cpan/Unicode-Normalize/README +++ b/cpan/Unicode-Normalize/README @@ -1,4 +1,4 @@ -Unicode/Normalize version 1.06 +Unicode/Normalize version 1.07 =================================== Unicode::Normalize - Unicode Normalization Forms diff --git a/cpan/Unicode-Normalize/t/proto.t b/cpan/Unicode-Normalize/t/proto.t index 3c4298d849..531f97514c 100644 --- a/cpan/Unicode-Normalize/t/proto.t +++ b/cpan/Unicode-Normalize/t/proto.t @@ -19,7 +19,7 @@ BEGIN { use Test; use strict; use warnings; -BEGIN { plan tests => 42 }; +BEGIN { plan tests => 48 }; use Unicode::Normalize qw(:all); ok(1); # If we made it this far, we're ok. @@ -73,3 +73,10 @@ ok(prototype \&isNFKD_NO, '$'); ok(prototype \&isNFKC_NO, '$'); ok(prototype \&isNFKC_MAYBE, '$'); +ok(prototype \&splitOnLastStarter, undef); +ok(prototype \&normalize_partial, '$$'); +ok(prototype \&NFD_partial, '$'); +ok(prototype \&NFC_partial, '$'); +ok(prototype \&NFKD_partial, '$'); +ok(prototype \&NFKC_partial, '$'); + |