head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q1:1.3.0.4 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.2 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.2.0.48 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.46 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.44 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.42 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.40 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.38 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.36 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.34 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.32 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.30 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.28 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.26 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.24 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.22 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.20 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.18 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2012.04.25.18.53.44; author adam; state dead; branches; next 1.3; 1.3 date 2011.12.09.16.11.54; author drochner; state Exp; branches; next 1.2; 1.2 date 2000.12.21.18.14.19; author skrll; state dead; branches; next 1.1; 1.1 date 2000.12.20.18.28.05; author skrll; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.12.20.18.28.05; author skrll; state Exp; branches; next ; desc @@ 1.4 log @Changes 49.1.1: * Unicode 6.1: New scripts & blocks; changes to grapheme break & line break property values; some characters change from symbol to Po or No; etc. * CLDR 21.0.1: Changes in segmentation data to match Unicode 6.1; new structures for support of Chinese calendar, for context-dependent capitalization, for gender of lists of people, for ordinal categories, and for multiple number systems per locale; deprecation of "commonlyUsed" element in timezone names; removal of "whole-locale" aliases; major cleanups of timezone names, delimiter data, abbreviated number data. * Normalizer2 API additions * Easier-to-use getInstance() variants; e.g., getNFDInstance() * Getter for the combining-class value for a code point * Getter for the raw Decomposition_Mapping * Pairwise composition * TimeZone class: (C++) Getter for unknown time zone, (Java) fields for GMT & unknown zone * Support for deprecation of the "commonlyUsed" element for CLDR metazones * DateTimePatternGenerator can now use separate patterns for skeletons that differ only in MMM vs MMMM or EEE vs EEEE, etc. * Support for custom DecimalFormatSymbols in RuleBasedNumberFormat * Format and parse Chinese calendar dates including support for intercalary months * Context Transforms for context-dependent capitalization behavior * APIs for TimeZoneNames and TimeZoneFormat * Support for new date format pattern "ZZZZZ" for ISO 8601 zone format * Options for ambiguous local time resolution in Calendar * Support for ISO 4217 numeric currency code @ text @$NetBSD: patch-ag,v 1.3 2011/12/09 16:11:54 drochner Exp $ Ticket #8984 --- common/uloc.c.orig 2011-07-19 21:16:28.000000000 +0000 +++ common/uloc.c @@@@ -1797,7 +1797,7 @@@@ _canonicalize(const char* localeID, int32_t variantLen = _deleteVariant(variant, uprv_min(variantSize, (nameCapacity-len)), variantToCompare, n); len -= variantLen; if (variantLen > 0) { - if (name[len-1] == '_') { /* delete trailing '_' */ + if (len > 0 && name[len-1] == '_') { /* delete trailing '_' */ --len; } addKeyword = VARIANT_MAP[j].keyword; @@@@ -1805,7 +1805,7 @@@@ _canonicalize(const char* localeID, break; } } - if (name[len-1] == '_') { /* delete trailing '_' */ + if (len > 0 && len <= nameCapacity && name[len-1] == '_') { /* delete trailing '_' */ --len; } } @ 1.3 log @add patch from upstream Ticket #8984 to fix possible out-of-bounds array access, bump PKGREV @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to version 1.7. Changes are (from the web page) Collation performance is improved. The collation implementation will continue to change for ICU 1.8 according to the collation design document. Improved performance of parsing and formatting of dates and numbers Improvements in the ISO-2022 implementation Bug fixes, more stable, and support for standard country variants: ISO-2022-JP (incl. -1, -2) ISO-2022-CN (incl. -EXT) ISO-2022-KR Support for GB 18030 Basic support for UTF-32 (no ucnv_getNextUChar(), incomplete offset handling) Support for the HZ encoding Converter fallback semantics modified and .ucm mapping files updated with precise roundtrip/fallback indicators ICU library names include the version number for better coexistence of different installed ICU versions on a single machine The code libraries contain the two major/minor version digits On Windows, they also contain a 'd' for the debug versions The icu data file contains the ICU version and a letter for the data configuration (ASCII/EBCDIC, big-endian/little-endian) ICU client code links with .lib files/object symlinks without the version number for easier future updates Debian packaging The API documentation is improved. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.1 2000/12/20 18:28:05 skrll Exp $ d3 22 a24 20 --- test/intltest/Makefile.in.orig Wed Aug 16 23:30:12 2000 +++ test/intltest/Makefile.in @@@@ -55,6 +55,8 @@@@ $(LD_RPATH)$(LD_RPATH_PRE)$(top_builddir)/common@@ld_rpath_suf@@$(LD_RPATH_PRE)$(top_builddir)/i18n LIBS = $(LIBICU-UC) $(LIBICU-I18N) @@LIBS@@ @@LIB_M@@ +BUILD_LPATH=$(top_builddir)/common + OBJECTS = allcoll.o apicoll.o callimts.o calregts.o caltest.o \ caltztst.o citrtest.o cppcnvt.o cputilst.o currcoll.o dacoll.o \ dcfmapts.o decoll.o dtfmapts.o dtfmrgts.o dtfmtrtts.o dtfmttst.o \ @@@@ -99,7 +101,7 @@@@ $(RMV) Makefile $(DEPS) check-local: all-local - ICU_DATA=@@DATABUILDDIR@@/ TZ=PST8PDT ./$(TARGET) + $(TOOL) ICU_DATA=@@DATABUILDDIR@@/ TZ=PST8PDT ./$(TARGET) Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Import of new ICU package: Robust and full-featured unicode support @ text @@