Commit Graph
56 Commits
Author SHA1 Message Date
Atsushi Eno 17e50850d5 2007-11-03 Atsushi Enomoto <[email protected]>
* DateTimeFormatEntry.cs, Driver.cs : adjust the count of
	  MonthNames and AbbreviatedMonthNames entries to 13.
	  Fixed bug #332553.


svn path=/trunk/mono/; revision=88795
2007-11-03 18:48:31 +00:00
Atsushi Eno b30218afa2 2007-10-30 Atsushi Enomoto <[email protected]>
* 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).

	* es_ES.xml : couple of format string fixes for bug #335298.


svn path=/trunk/mono/; revision=88442
2007-10-30 10:10:56 +00:00
Miguel de Icaza cee2065eaf Distribute all the supp files
svn path=/trunk/mono/; revision=86355
2007-09-25 20:46:24 +00:00
Atsushi Eno 493c64cd07 2007-08-21 Atsushi Enomoto <[email protected]>
* Driver.cs : for Euskara culture (eu_ES) do not trim dd which is
	  laid after 'ren' in the long format.

	* culture-info-table.h : regenerated.


svn path=/trunk/mono/; revision=84537
2007-08-21 11:32:27 +00:00
Rolf Bjarne Kvinge 2b9138e356 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
* en-US.xml: Add a few date/time patterns.


svn path=/trunk/mono/; revision=78304
2007-05-31 09:04:48 +00:00
Atsushi Eno 9bd445ade6 2007-05-15 Atsushi Enomoto <[email protected]>
in metadata:
	* object-internals.h
	  culture-info.h : added territory field in MonoCulture and
	  CultureInfoEntry foreach. Added lcid field in RegionInfoEntry.
	* locales.c : fill territory field above too.
	* culture-info-table.h : regenerated.

	in locale-builder:
	* CultureInfoEntry.cs : output Territory, which is used for RegionInfo.
	* RegionInfoEntry.cs : added dummy int which is a slot for LCID.


svn path=/trunk/mono/; revision=77407
2007-05-15 14:08:25 +00:00
Atsushi Eno f55cc1c236 2007-04-25 Atsushi Enomoto <[email protected]>
* Driver.cs : use invariant culture to sort culture names.
	  Fixed bug #81150, patch by Changwoo Ryu.

	* culture-info-table.h : regenerated.


svn path=/trunk/mono/; revision=76298
2007-04-26 04:34:04 +00:00
Atsushi Eno 37c688e34f 2007-04-17 Atsushi Enomoto <[email protected]>
* 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.


svn path=/trunk/mono/; revision=75844
2007-04-17 17:56:41 +00:00
Raja R Harinath c028cf3838 More fun with find(1) -- kill more svn:executable flags
svn path=/trunk/mono/; revision=66137
2006-10-01 04:25:07 +00:00
Atsushi Eno 8e8d68c965 2006-06-08 Atsushi Enomoto <[email protected]>
* en.xml, en-US.xml : move US-only date patterns from en.xml to
	  en-US.xml. Fixed bug #78569.


svn path=/trunk/mono/; revision=61548
2006-06-08 01:53:28 +00:00
Atsushi Eno df9e6f99e8 2006-04-10 Atsushi Enomoto <[email protected]>
* langs/nn.xml, locales/nn_NO.xml, Driver.cs :
	  Did the same for nn-NO.


svn path=/trunk/mono/; revision=59292
2006-04-10 11:03:26 +00:00
Atsushi Eno e14d21e0a6 2006-03-29 Atsushi Enomoto <[email protected]>
* 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.


svn path=/trunk/mono/; revision=58759
2006-03-29 20:44:57 +00:00
Atsushi Eno 1cba82da79 2005-08-17 Atsushi Enomoto <[email protected]>
* 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.)

	* fr.xml : fixed long date pattern and dateTimeFormats.
	* ja.xml : fixed long time pattern and dateTimeFormats.


svn path=/trunk/mono/; revision=48451
2005-08-17 01:52:54 +00:00
Atsushi Eno 9de1c27f8f 2005-08-17 Atsushi Enomoto <[email protected]>
* CultureInfoEntry.cs : added RegionId.
	* Driver.cs : modified to not write RegionLCIDMap and use
	  CultureInfoEntry for that lookup purpose instead.


svn path=/trunk/mono/; revision=48450
2005-08-17 01:49:14 +00:00
Atsushi Eno 821f9f675a 2005-08-15 Atsushi Enomoto <[email protected]>
* RegionInfoEntry.cs,
	  Driver.cs,
	  Makefile.am : added RegionInfo table output support.

	* object-internals.h,
	  locales.h,
	  locales.c,
	  culture-info.h,
	  icall.c : added RegionInfo table support.
	* culture-info-table.h : regenerated for region support.


svn path=/trunk/mono/; revision=48391
2005-08-15 16:33:43 +00:00
Atsushi Eno aa8fd4bdaf 2005-08-11 Atsushi Enomoto <[email protected]>
* regions.xml : ugh, it does not match something .net returns, so
	  remove it.


svn path=/trunk/mono/; revision=48293
2005-08-11 16:05:48 +00:00
Atsushi Eno c73c943d92 2005-08-11 Atsushi Enomoto <[email protected]>
* regions.xml : new file. All region IDs from existing RegionInfo.cs.


svn path=/trunk/mono/; revision=48292
2005-08-11 15:57:04 +00:00
Atsushi Eno 10bcc15b6c 2005-07-07 Atsushi Enomoto <[email protected]>
* Driver.cs : Fixed bug #75499. There were hy_AM.xml and
	  hy_AM_REVISED.xml files in the locale builder archive.

	* culture-info-table.h : regenerated.


svn path=/trunk/mono/; revision=47032
2005-07-07 10:13:38 +00:00
Atsushi Eno 6572855256 2005-06-27 Atsushi Enomoto <[email protected]>
* Driver.cs : basic pattern string should be added to extra pattern
	  array. This fixes bug #75353.


svn path=/trunk/mono/; revision=46560
2005-06-27 15:36:30 +00:00
Atsushi Eno 03f359ce79 2005-05-25 Atsushi Enomoto <[email protected]>
* fr.xml : more date pattern.

	* culture-info-table.h : update (more French date format; #72788).


svn path=/trunk/mono/; revision=44999
2005-05-25 13:38:29 +00:00
Atsushi Eno d881bd49c2 2005-05-25 Atsushi Enomoto <[email protected]>
* fr.xml : new file.


svn path=/trunk/mono/; revision=44979
2005-05-25 08:19:58 +00:00
Atsushi Eno f154f191fc 2005-05-19 Atsushi Enomoto <[email protected]>
* Driver.cs, CultureInfoEntry.cs : Use hacky shallow copy to clone
	  zh-CHS into zh-CHT.

	* culture-info-table.h : updated (real hacky solution for zh-CHT).


svn path=/trunk/mono/; revision=44727
2005-05-19 03:16:47 +00:00
Atsushi Eno e8dc245013 2005-05-18 Atsushi Enomoto <[email protected]>
* Driver.cs : quick workaround for zh-CHT related breakage.


svn path=/trunk/mono/; revision=44703
2005-05-18 18:17:42 +00:00
Atsushi Eno 0a6fc66b53 2005-05-12 Atsushi Enomoto <[email protected]>
* 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).


svn path=/trunk/mono/; revision=44432
2005-05-12 12:20:09 +00:00
Atsushi Eno 71ba3fe4f1 2005-04-23 Atsushi Enomoto <[email protected]>
* ko_KR.xml : fixed time format.
	  Fixed bug #74701. Patch by Hye-Shik Chang.

	* culture-info-table.h : reflected the latest locale-builder output.


svn path=/trunk/mono/; revision=43473
2005-04-23 09:51:09 +00:00
Atsushi Eno 9ddfd24e95 2005-02-17 Atsushi Enomoto <[email protected]>
* en.xml : fixed currency format.

	* culture-info-table.h : fixed currency format for en-GB (and so on).

	* Driver.cs : set \n for writer's NewLine explicitly (otherwise it
	  results in mixed line ending in culture-info-table.h).


svn path=/trunk/mono/; revision=40779
2005-02-16 22:22:33 +00:00
Ben Maurer 261af5bf28 remove .cvsignore, as this is not used anymore
svn path=/trunk/mono/; revision=40731
2005-02-16 04:43:00 +00:00
Paolo Molaro 6b46798268 Add a target to build a selection of locales and a bit of docs.
svn path=/trunk/mono/; revision=37749
2004-12-14 14:56:35 +00:00
Ben Maurer 0a38833870 In tools/locale-builder:
2004-12-13  Ben Maurer  <[email protected]>
	* 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

In mono/metadata:
2004-12-13  Ben Maurer  <[email protected]>
	* culture-info.h (TextInfoEntry): New struct
	* object-internals.h: sync with managed
	* locales.c: fill the `text_info_data' field
	* culture-info-tables.h: update


svn path=/trunk/mono/; revision=37711
2004-12-14 03:13:41 +00:00
Jackson Harper 10fe51d67b * pt.xml: We need a space after R$. Is there a better way to do
this? I should know...
	* pt_BR.xml: Fix currency format.

svn path=/trunk/mono/; revision=34771
2004-10-07 03:51:07 +00:00
Paolo Molaro a90972a127 Mon Aug 9 13:24:09 CEST 2004 Paolo Molaro <[email protected]>
* Driver.cs, Entry.cs, CultureInfoEntry.cs, DateTimeFormatEntry.cs,
	NumberFormatEntry.cs: create a more compact representation of the
	data.

svn path=/trunk/mono/; revision=32061
2004-08-09 10:23:38 +00:00
Gonzalo Paniagua Javier fa3fece5a4 2004-06-09 Gonzalo Paniagua Javier <[email protected]>
* 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".

svn path=/trunk/mono/; revision=29098
2004-06-09 09:40:22 +00:00
Atsushi Eno d1a28d06f5 2004-06-08 Atsushi Enomoto <[email protected]>
* ja.xml : added extra datetime patterns.
	* renamed ca.xml to added ca_ES.xml.
	* ca_ES.xml, ko_KR.xml, pt_BR.xml : fixed percent patterns.

svn path=/trunk/mono/; revision=29049
2004-06-08 17:57:13 +00:00
Atsushi Eno 93ca27d6be 2004-06-08 Atsushi Enomoto <[email protected]>
* Driver.cs : To make "extra pattern only" xxxFormatLength possible,
	  fill values only when the exact element was available.

svn path=/trunk/mono/; revision=29048
2004-06-08 17:44:37 +00:00
Atsushi Eno 5041fb195a 2004-06-08 Atsushi Enomoto <[email protected]>
* DateTimeFormatEntry.cs : Use "{0}" for empty array.

svn path=/trunk/mono/; revision=28984
2004-06-07 19:42:23 +00:00
Atsushi Eno 4d06f9db21 2004-06-08 Atsushi Enomoto <[email protected]>
* en.xml : added "all datetime" pattern strings.
	* ca.xml, da.xml, el.xml, fi.xml, fr_FR.xml, he.xml, hu.xml,
	  nl_NL.xml : fixed percent patterns.

svn path=/trunk/mono/; revision=28970
2004-06-07 15:25:36 +00:00
Atsushi Eno b80bb48164 2004-06-08 Atsushi Enomoto <[email protected]>
* 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.

svn path=/trunk/mono/; revision=28969
2004-06-07 15:21:58 +00:00
Atsushi Eno 9ce031fc08 2004-06-05 Atsushi Enomoto <[email protected]>
* en_US.xml : fixed percent pattern.
	* en_ZA.xml : fixed NumberDecimalDigits.
	* id_ID.xml : fixed CurrencyDecimalDigits.
	* ja_JP.xml : added currencySymbol (MS assigns 0x5c).

svn path=/trunk/mono/; revision=28880
2004-06-05 17:37:08 +00:00
Atsushi Eno 8d1b281523 2004-06-05 Atsushi Enomoto <[email protected]>
* 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).

svn path=/trunk/mono/; revision=28879
2004-06-05 17:36:35 +00:00
Atsushi Eno 3ced5a2d49 2004-06-05 Atsushi Enomoto <[email protected]>
* fr_CH.xml : missing updates.
	* Renamed cs.xml as cs_CZ.xml and added number format.
	  Also renamed lt.xml as lt_LT.xml. They are files' precedence matter.
	* es_NI.xml : added.
	* en.xml, en_CA.xml, en_IE.xml, en_PH.xml, en_US.xml, en_ZW.xml :
	  Change with related to the change of NumberDecimalDigits handling.
	* es_PR.xml, ja.xml, ko_KR.xml :
	  Added number format.

svn path=/trunk/mono/; revision=28871
2004-06-05 15:41:40 +00:00
Atsushi Eno 6f7c7183a5 2004-06-05 Atsushi Enomoto <[email protected]>
* 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.

svn path=/trunk/mono/; revision=28870
2004-06-05 15:39:24 +00:00
Atsushi Eno 58eb97f902 2004-06-03 Atsushi Enomoto <[email protected]>
* Driver.cs : Let's ignore DTD that takes most of the running time.

svn path=/trunk/mono/; revision=28867
2004-06-05 15:19:23 +00:00
Atsushi Eno 47444acbd5 2004-06-03 Atsushi Enomoto <[email protected]>
* fr_CH.xml : missing updates.

svn path=/trunk/mono/; revision=28794
2004-06-03 21:28:23 +00:00
Atsushi Eno 9217f85350 2004-06-03 Atsushi Enomoto <[email protected]>
* Driver.cs : {3} is the almost default number for group digits.

svn path=/trunk/mono/; revision=28793
2004-06-03 21:27:21 +00:00
Atsushi Eno c6346fd7f5 2004-05-27 Atsushi Enomoto <[email protected]>
* en_PH.xml, en_ZW.xml, fr_CA.xml, fr_CH.xml, fr_FR.xml, fr_LU.xml :
	  fixed incorrect markup.

svn path=/trunk/mono/; revision=28279
2004-05-27 15:55:59 +00:00
Atsushi Eno 2bbfe589c8 2004-05-26 Atsushi Enomoto <[email protected]>
* 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/)

svn path=/trunk/mono/; revision=28149
2004-05-26 11:53:06 +00:00
Atsushi Eno c24e59e5cd 2004-05-26 Atsushi Enomoto <[email protected]>
* Added ChangeLog also here (and moved the last msg from ..).

	* af_ZA.xml, ar_SA.xml, be_BY.xml, de_AT.xml, en_AU.xml, en_GB.xml,
	  en_NZ.xml, es_AR.xml, es_BO.xml, es_CL.xml, es_CO.xml, es_CR.xml,
	  es_DO.xml, es_EC.xml, es_ES.xml, es_GT.xml, es_HN.xml, es_MX.xml,
	  es_PA.xml, es_PE.xml, es_PR.xml, es_PY.xml, es_SV.xml, es_UY.xml,
	  es_VE.xml, eu_ES.xml,
	  fo_FO.xml, fr_BE.xml, fr_CA.xml, fr_FR.xml, fr_CH.xml, fr_FR.xml,
	  fr_LU.xml, hi_IN.xml, id_ID.xml, it_CH.xml, it_IT.xml, ko_KR.xml,
	  nl_BE.xml, nl_NL.xml, pt_BR.xml, pt_PT.xml, sv_FI.xml, sv_SE.xml,
	  sw_KE.xml, bg.xml, ca.xml, cs.xml, da.xml, de.xml, el.xml, es.xml,
	  et.xml, fa.xml, fi.xml, he.xml, hr.xml, hu.xml, hy.xml, is.xml,
	  lt.xml, lv.xml, mk.xml, ro.xml, ru.xml, sk.xml, sl.xml, sq.xml,
	  tr.xml, uk.xml, vi.xml :
	  Added shortdate/longtime/am/pm etc. for DateTime.ToString().
	* ar_AE.xml, ar_BH.xml, ar_DZ.xml, ar_EG.xml, ar_JO.xml, ar_KW.xml,
	  ar_LB.xml, ar_LY.xml, ar_MA.xml, ar_OM.xml, ar_QA.xml, ar_SY.xml,
	  ar_TN.xml, ar_YE.xml, en_CA.xml, en_IE.xml, en_PH.xml, en_ZA.xml,
	  en_ZW.xml :
	  Added shortdate/longtime.
	* th.xml : ditto.
	* ja.xml : I incorrectly modified long time format. Reverting.

svn path=/trunk/mono/; revision=28147
2004-05-26 11:49:35 +00:00
Atsushi Eno 0a3f85c02b 2004-05-26 Atsushi Enomoto <[email protected]>
* supp/pl.xml,
	  supp/ja.xml : Added overriding formats. pl.xml fixes bug #58186.

svn path=/trunk/mono/; revision=28053
2004-05-25 15:44:12 +00:00
Jackson Harper 0b904ce407 * Makefile.am: Extract xml files.
svn path=/trunk/mono/; revision=28052
2004-05-25 15:41:50 +00:00
Jackson Harper 852c973b78 * Driver.cs: Filter on GetFiles so we only get the xml locale
files.

svn path=/trunk/mono/; revision=27963
2004-05-24 12:52:23 +00:00