Commit Graph
31 Commits
Author SHA1 Message Date
Marek Safar 0c35602a17 [corlib] Implement CultureInfo.ClearCachedData. Fixes #18162 2014-03-05 19:45:28 +01:00
Marek Safar 0a9cbdd968 [corlib] Update CurrentRegion to work with DefaultThreadCurrentCulture 2013-12-04 10:46:51 +01:00
Marek Safar 9d5de96540 Update culture infos and implement missing or not implemented members 2012-05-15 09:44:22 +01:00
Sebastien Pouliot 9359f799eb For MonoTouch we fallback to NSLocale if we can't determine the current RegionInfo using CultureInfo 2012-02-17 13:24:27 -05:00
Sebastien Pouliot 04addcabdb Add warning and unit tests about RegionInfo fields ordering. Fix for #3476 2012-02-16 20:44:31 -05:00
Sebastien Pouliot 670fa9a727 Ensure match between native/managed fields representation so we retrieve the right values 2012-02-15 16:55:12 -05:00
Rodrigo Kumpera 83dccf8fe7 Add all missing sequential layout directives to corlib and system. 2011-12-13 11:57:23 -02:00
Miguel de Icaza 3c39ac4586 Jumbo patch for NET_2_0, mscorlib is now clean
svn path=/trunk/mcs/; revision=145621
2009-11-06 22:23:59 +00:00
Miguel de Icaza 0204abe803 Drop more obsolete defines
svn path=/trunk/mcs/; revision=144304
2009-10-17 01:35:27 +00:00
Marek Safar 159314e044 Warnings cleanup
svn path=/trunk/mcs/; revision=111730
2008-08-27 18:28:16 +00:00
Marek Safar cc9c53a109 Warnings cleanup
svn path=/trunk/mcs/; revision=111713
2008-08-27 15:40:13 +00:00
Andreas N db48a3744a 2008-07-03 Andreas Nahr <[email protected]>
* TextInfo.cs: Fix exceptions
	* StringInfo.cs
	* SortKey.cs:
	* RegionInfo.cs:
	* NumberFormatInfo.cs:
	* CultureInfo.cs:
	* CompareInfo.cs:
	* CharUnicodeInfo.cs: Fix parameter names

svn path=/trunk/mcs/; revision=107189
2008-07-03 20:50:47 +00:00
Atsushi Eno b37c03e3ca 2007-07-09 Atsushi Enomoto <[email protected]>
* CompareInfo.cs : Name.
	* PersianCalendar.cs : missing members.
	* NumberFormatInfo.cs HijriCalendar.cs CultureInfo.cs TextInfo.cs
	  HebrewCalendar.cs ThaiBuddhistCalendar.cs GregorianCalendar.cs
	  KoreanCalendar.cs JulianCalendar.cs TaiwanCalendar.cs
	  JapaneseCalendar.cs DaylightTime.cs EastAsianLunisolarCalendar.cs
	  RegionInfo.cs TextElementEnumerator.cs : ComVisible cleanup.


svn path=/trunk/mcs/; revision=81625
2007-07-09 10:10:35 +00:00
Atsushi Eno b184bcaab7 2007-05-15 Atsushi Enomoto <[email protected]>
* RegionInfo.cs, CultureInfo.cs : in 2.0 RegionInfo could be created
	  from locale name. To support that, retrieve CultureInfo from name
	  and use its Territory name if exists.
	  RegionInfo.Equals() still uses lcid, but hash code is based on
	  region ID. Added GeoId, which represents unique region ID (which
	  is returned in 1.x GetHashCode()).

	* RegionInfoTest.cs : new tests.

	* corlib_test.dll.sources : added RegionInfoTest.cs.


svn path=/trunk/mcs/; revision=77408
2007-05-15 14:09:27 +00:00
Miguel de Icaza 61baf96128 Rationalize MonoTODO
svn path=/trunk/mcs/; revision=68716
2006-11-30 00:31:29 +00:00
Miguel de Icaza 8a1af5fd38 2006-11-16 Miguel de Icaza <[email protected]>
* DirectoryInfo.cs (GetFiles): Implement option with SearchOptions
	== AllDirectories

And a lot of MonoTODOs updated as well


svn path=/trunk/mcs/; revision=67998
2006-11-16 14:14:01 +00:00
Miguel de Icaza 68d61746c8 Reduce the pending stuff from corlib 2.x
2005-10-31  Miguel de Icaza  <[email protected]>

	* HijriCalendar.cs, HebrewCalendar.cs, JulianCalendar.cs,
	GregorianCalendar.cs, JapaneseCalendar.cs, Calendar.cs,
	TaiwanCalendar.cs, HijriCalendar.cs: Add
	CalendarAlgorithmType, MinSupportedDateTime, MaxSupportedDateTime
	properties. 

	* Added ComVisibleAttribute in a bunch of places, using the fully
	qualified name to speed up cut and paste.
	


svn path=/trunk/mcs/; revision=52426
2005-10-31 22:44:02 +00:00
Atsushi Eno 390c6d6f22 2005-08-17 Atsushi Enomoto <[email protected]>
* RegionInfo.cs : unlocked CurrentRegion creation.


svn path=/trunk/mcs/; revision=48453
2005-08-17 02:01:24 +00:00
Atsushi Eno 87f460a6e7 2005-08-16 Atsushi Enomoto <[email protected]>
* RegionInfo.cs : removed extraneous icall wrappers.


svn path=/trunk/mcs/; revision=48420
2005-08-16 10:51:39 +00:00
Atsushi Eno 6d0c27783d 2005-08-15 Atsushi Enomoto <[email protected]>
* RegionInfo.cs : reimplemented to use unicode CLDR.


svn path=/trunk/mcs/; revision=48392
2005-08-15 16:36:28 +00:00
Atsushi Eno ae4afc11e4 2005-08-11 Atsushi Enomoto <[email protected]>
* CultureInfo.cs : added BootstrapCultureID for RegionInfo.
	* RegionInfo.cs : implemented CurrentRegion. Added MonoTODOs.


svn path=/trunk/mcs/; revision=48291
2005-08-11 15:41:53 +00:00
Duncan Mak 13d1764537 Add license and copyright to all source files in corlib
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +00:00
Andreas N 6197a70345 2004-04-25 Andreas Nahr <[email protected]>
* CultureInfo.cs: Call invariant String.ToLower
	* RegionInfo.cs: Call invariant String.ToUpper

svn path=/trunk/mcs/; revision=25953
2004-04-25 11:42:27 +00:00
Jackson Harper e5ac52c12a * CultureInfo.cs: Use new ICUless implementation in the runtime.
* CompareInfo.cs: Get ICU name from a cultureinfo object instead
	of looking it up in the culture map.
	* RegionInfo.cs: Dont check if the LCID is neutral unless its not
	found in the switch. Avoids an icall.

svn path=/trunk/mcs/; revision=25160
2004-04-07 16:20:39 +00:00
Dick Porter 93aff8c4da 2002-09-12 Dick Porter <[email protected]>
* unix.args: Add System.Globalization.SortKey,
	System.Globalization.StringInfo and
	System.Globalizaton.TextElementEnumerator

2002-09-12  Dick Porter  <[email protected]>

	* ThaiBuddhistCalendar.cs:
	* TextInfo.cs:
	* TaiwanCalendar.cs:
	* RegionInfo.cs:
	* KoreanCalendar.cs:
	* JulianCalendar.cs:
	* JapaneseCalendar.cs:
	* HijriCalendar.cs:
	* HebrewCalendar.cs:
	* GregorianCalendar.cs:
	* CultureInfo.cs:
	* CompareInfo.cs: Stub out missing methods

svn path=/trunk/mcs/; revision=7407
2002-09-12 18:34:38 +00:00
Piers Haken 610d7923ac added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00
Radek Doulik 7b1c8de33a added translation CultureInfo id --> RegionInfo id
svn path=/trunk/mcs/; revision=2249
2002-02-06 11:44:34 +00:00
Radek Doulik 440865cf1b more RegionInfo work
svn path=/trunk/mcs/; revision=2229
2002-02-01 16:55:01 +00:00
Radek Doulik e255fb1179 ops, it should build again, I am sorry
svn path=/trunk/mcs/; revision=2227
2002-02-01 15:17:16 +00:00
Radek Doulik ad3a544314 implemented RegionInfo (string) constructor
svn path=/trunk/mcs/; revision=2226
2002-02-01 15:09:15 +00:00
Radek Doulik a4fcdffd7d 2002-02-01 Radek Doulik <[email protected]>
svn path=/trunk/mcs/; revision=2225
2002-02-01 14:40:37 +00:00