Imported Upstream version 4.6.0.125

Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-08-03 10:59:49 +00:00
parent a569aebcfd
commit e79aa3c0ed
17047 changed files with 3137615 additions and 392334 deletions

View File

@@ -1,242 +0,0 @@
2010-05-07 Marek Habersack <mhabersack@novell.com>
* Makefile.am (lang-data, locale-data): updated URLs for the icu
tarballs - they now live on go-mono.com
2010-02-24 Atsushi Enomoto <atsushi@ximian.com>
* supp/ns_BE.xml : add number format. Fixed bug #324019.
2010-01-06 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : support FirstDayOfWeek. Fixed bug #567944.
Patch by Jose Antonio Sanchez Lazaro.
2009-12-18 Dimitar Dobrev <dpldobrev@yahoo.com>
* langs/ka.xml: added a file with the settings of the neutral
Georgian culture
* locales/ka-GE.xml: added a file with the settings of the
specific Georgian culture
* supp/ka-GE.xml: added a file with the date and time formats
of the Georgian culture
* lcids.xml: added entries for the neutral and specific
Georgian culture
* Makefile.am: included supp/ka-GE.xml in the build and dist the new
we're not downloading from primates.ximian.com.
[Fixes bug 564910].
2009-11-05 Rolf Bjarne Kvinge <RKvinge@novell.com>
* Driver.cs: Generate locale data for neutral cultures too. Moonlight
requires it.
2009-05-20 Atsushi Enomoto <atsushi@ximian.com>
* README: added (I needed it!)
2009-03-05 Marek Habersack <mhabersack@novell.com>
* locales/en_TT.xml: added here since openi18n.org times out and
also I can't update icu_locales.tar.gz. File based on en_ZA.xml
from that tarball, with appropriate modifications.
* Makefile.am (supp_data_files): added supp/en_TT.xml
2007-11-03 Atsushi Enomoto <atsushi@ximian.com>
* DateTimeFormatEntry.cs, Driver.cs : adjust the count of
MonthNames and AbbreviatedMonthNames entries to 13.
Fixed bug #332553.
2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs, DateTimeFormatEntry.cs : since FullDateTimePattern
should be computed on the overriden Long[Date/Time]Pattern, compute
it later than reading all format resources (langs/locales/supp).
2007-08-21 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : for Euskara culture (eu_ES) do not trim dd which is
laid after 'ren' in the long format.
2007-05-15 Atsushi Enomoto <atsushi@ximian.com>
* CultureInfoEntry.cs : output Territory, which is used for RegionInfo.
* RegionInfoEntry.cs : added dummy int which is a slot for LCID.
2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : use invariant culture to sort culture names.
Fixed bug #81150, patch by Changwoo Ryu.
2007-04-17 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : in some cultures month/year and day/month could be in
reverse order, so don't assume month before year and day before
month. Made the "hack" code more practical.
2006-04-10 Atsushi Enomoto <atsushi@ximian.com>
* langs/nn.xml, locales/nn_NO.xml, Driver.cs :
Did the same for nn-NO.
2006-03-29 Atsushi Enomoto <atsushi@ximian.com>
* langs/nb.xml
locales/nb_NO.xml : imported from CLDR 1.3 data. (I know I'm
directly adding them here, since there seems no simple way to
add them as data in "supp" dir).
* Driver.cs :
Reuse XPathDocument for lcids.xml.
For "nb-NO" we need tricky code since its parent culture is "no"
(not "nb"), while some properties seems based on "nb".
Maybe we need some fundamental fixes to consider lcids.xml for
parent-child relationship, but right now, it's mostly fruitless.
2005-08-17 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : add primary date/time pattern strings as the first
entry of for each "whole specific patterns".
(e.g. LongDatePatterns[0] should be LongDatePattern.)
2005-08-17 Atsushi Enomoto <atsushi@ximian.com>
* CultureInfoEntry.cs : added RegionId.
* Driver.cs : modified to not write RegionLCIDMap and use
CultureInfoEntry for that lookup purpose instead.
2005-08-15 Atsushi Enomoto <atsushi@ximian.com>
* RegionInfoEntry.cs,
Driver.cs,
Makefile.am : added RegionInfo table output support.
2005-08-11 Atsushi Enomoto <atsushi@ximian.com>
* regions.xml : ugh, it does not match something .net returns, so
remove it.
2005-08-11 Atsushi Enomoto <atsushi@ximian.com>
* regions.xml : new file. All region IDs from existing RegionInfo.cs.
2005-07-07 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : Fixed bug #75499. There were hy_AM.xml and
hy_AM_REVISED.xml files in the locale builder archive.
2005-06-27 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : basic pattern string should be added to extra pattern
array. This fixes bug #75353.
2005-05-19 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs, CultureInfoEntry.cs : Use hacky shallow copy to clone
zh-CHS into zh-CHT.
2005-05-18 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : quick workaround for zh-CHT related breakage.
2005-05-12 Atsushi Enomoto <atsushi@ximian.com>
* Entry.cs :
build fix. Incorrectly allowed access to protected member.
* CultureInfoEntry.cs,
Driver.cs :
Handle language "zh-CHS" as special case, since there is no "zh".
* Makefile :
use -debug+ instead of -g (convenient when verifying with csc).
2005-02-17 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : set \n for writer's NewLine explicitly (otherwise it
results in mixed line ending in culture-info-table.h).
2004-12-13 Ben Maurer <bmaurer@ximian.com>
* CultureInfoEntry.cs (AppendTableRow): Stringify the
textinfoentry
* TextInfoEntry.cs: New file for textinfo data
* textinfo.xml: textinfo data
* Driver.cs: Harness all the stuff above
* Makefile.am: add new files
Mon Aug 9 13:24:09 CEST 2004 Paolo Molaro <lupus@ximian.com>
* Driver.cs, Entry.cs, CultureInfoEntry.cs, DateTimeFormatEntry.cs,
NumberFormatEntry.cs: create a more compact representation of the
data.
2004-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Driver.cs: handle single quotes in the pattern. We used to fail for,
at least, es and pt cultures with full patterns like
"EEEE d' de 'MMMM' de 'yyyy".
2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : To make "extra pattern only" xxxFormatLength possible,
fill values only when the exact element was available.
2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
* DateTimeFormatEntry.cs : Use "{0}" for empty array.
2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
* DateTimeFormatEntry.cs : Added "all datetime patterns" support.
* Driver.cs : Added "all datetime patterns" support and fixed some
XPathNavigator use to strictly navigate to "pattern" element.
2004-06-05 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : Percent patterns are not properly parsed since they are
in fact not separated by '.'
* Entry.cs : Escape '\' to "\\" (for Japanese yen-sign fix).
2004-06-05 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs :
- NumberDecimalDigits are almost differently specified by locale
xml files. Almost all of them have ".###", but we need ".##" in
almost all the locale. So let's *assume* that the number of
digit is always +1 extraneous by this Driver itself.
This change accompanies with some existing supp/*.xml changes.
- For decimal patterns and currency patterns, when numeric patterns
does not have ';'-separated patterns, it ignored the whole pattern
string. Fixed it by just copying the same patterns.
- When parsing percent patterns, '%' characters were in the way.
- When the decimal part of the percent pattern ends with ".##0",
the value of PercentDecimalDigits is 2.
- Assume PercentDecimalDigits as 2 by default.
2004-06-05 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : Let's ignore DTD that takes most of the running time.
2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : {3} is the almost default number for group digits.
2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : for af_ZA locale, am/pm part got required to support
"empty" string. So check am/pm elements and overwrite AMDesigner/
PMDesigner value even if they consist of empty string.
* (moved logs for supp/ content to supp/)
2004-05-25 Jackson Harper <jackson@ximian.com>
* Makefile.am: Extract xml files.
2004-05-24 Jackson Harper <jackson@ximian.com>
* Driver.cs: Filter on GetFiles so we only get the xml locale files.

View File

@@ -379,9 +379,13 @@ namespace Mono.Tools.LocaleBuilder
throw new NotImplementedException ();
}
var territories = entry.Attributes["territories"].Value.Split ();
var territories = entry.Attributes["territories"].Value.Split (new [] { ' ', '\t' }, StringSplitOptions.RemoveEmptyEntries);
foreach (var t in territories) {
territory2dayofweek.Add (t, dow);
var tr = t.Trim ();
if (tr.Length == 0)
continue;
territory2dayofweek.Add (tr, dow);
}
}
@@ -619,27 +623,6 @@ namespace Mono.Tools.LocaleBuilder
break;
}
}
if (nfe.CurrencyDecimalDigits == null) {
var all_digits = new List<string> ();
GetAllChildrenValues (ci, all_digits, l => l.NumberFormatEntry.CurrencyDecimalDigits);
var children = all_digits.Where (l => l != null).Distinct ().ToList ();
if (children.Count == 1) {
nfe.CurrencyDecimalDigits = children[0];
} else if (children.Count == 0) {
if (!ci.HasMissingLocale)
Console.WriteLine ("No currency decimal digits data for `{0}'", ci.Name);
nfe.CurrencyDecimalDigits = "2";
} else if (ci.IsNeutral) {
nfe.CurrencyDecimalDigits = "2";
} else {
// .NET has weird concept of territory data available for neutral cultures (e.g. en, es, pt)
// We have to manually disambiguate the correct entry (which is artofficial anyway)
throw new ApplicationException (string.Format ("Ambiguous currency decimal digits data for `{0}'", ci.Name));
}
}
}
if (OutputCompare)
@@ -1164,30 +1147,6 @@ namespace Mono.Tools.LocaleBuilder
ni.PercentSymbol = el.InnerText;
}
string value = null;
// .net has incorrect separators for some countries and we want to be compatible
switch (ci.Name) {
case "es-ES":
case "es":
// es-ES does not have group separator but .net has '.'
value = ".";
break;
default:
if (node != null) {
el = node.SelectSingleNode ("group");
if (el != null) {
value = el.InnerText;
}
}
break;
}
if (value != null) {
ni.NumberGroupSeparator = ni.CurrencyGroupSeparator = value;
}
}
static void ToLower (string[] values)

View File

@@ -80,7 +80,7 @@ host_triplet = @host@
target_triplet = @target@
subdir = tools/locale-builder
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
$(top_srcdir)/mkinstalldirs ChangeLog README
$(top_srcdir)/mkinstalldirs README
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/iconv.m4 \
$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
@@ -211,8 +211,6 @@ NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
OPROFILE_CFLAGS = @OPROFILE_CFLAGS@
OPROFILE_LIBS = @OPROFILE_LIBS@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@

View File

@@ -1 +1 @@
7127286033736426a6427b3c01db2e6f7bc69a2b
793c5f7579df20f29b2f83cbb8d3ab76a9069588