Commit Graph
29 Commits
Author SHA1 Message Date
Eyal Alalouf 18ea3b386d Redesign System/NumberFormatter to improve primitive numeric types ToString performance.
svn path=/trunk/mcs/; revision=92798
2008-01-13 14:44:17 +00:00
Zoltan Varga 490c283c1f 2008-01-06 Zoltan Varga <[email protected]>
* CultureInfo.cs NumberFormatInfo.cs DateTimeFormatInfo.cs TextInfo.cs: Make
	sure the components of a read-only culture object are read-only as well.

svn path=/trunk/mcs/; revision=92326
2008-01-06 01:27:44 +00:00
Atsushi Eno b6832ca5d7 2007-11-21 Atsushi Enomoto <[email protected]>
* NumberFormatInfo.cs :
	  NativeDigits and DigitSubstitution are [ComVisible(false)].


svn path=/trunk/mcs/; revision=90063
2007-11-21 06:52:27 +00:00
Atsushi Eno 1eddb5e5f3 2007-09-10 Atsushi Enomoto <[email protected]>
* NumberFormatInfo.cs : added NativeDigits and DigitSubstitution.


svn path=/trunk/mcs/; revision=85547
2007-09-10 07:27:55 +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
Chris Toshok e0a3893721 2006-01-24 Chris Toshok <[email protected]>
[ these fix nunit built with MS .net 2.0, running on mono.  nunit
	apparently stores all manner of things in its resources ]
	
	* NumberFormatInfo.cs: add unused nativeDigits and
	digitSubstitution fields that MS serializes.

	* DateTimeFormatInfo.cs: serialization fixes.  MS apparently
	stores (and serializes) a couple of fields as ints, but exposes
	them to programmers as Enum's.
	
	* CompareInfo.cs: add unused m_name field that MS serializes.

	* GregorianCalendar.cs: add a couple of unused fields that MS serializes.


svn path=/trunk/mcs/; revision=71620
2007-01-24 19:27:56 +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
Gonzalo Paniagua Javier babfb6715d 2005-06-27 Gonzalo Paniagua Javier <[email protected]>
* NumberFormatInfo.cs: undo workaround for bug 55978 as it's not needed
	any more. This fixed bug #75396.


svn path=/trunk/mcs/; revision=46609
2005-06-27 22:07:14 +00:00
Atsushi Eno cca00f807e 2005-01-31 Atsushi Enomoto <[email protected]>
* NumberFormatInfo.cs : allow zero length sizes. patch by Kazuki
	  Oikawa.


svn path=/trunk/mcs/; revision=39852
2005-01-31 15:27:06 +00:00
Paolo Molaro 4cb9b2f954 Wed Jun 30 17:06:43 CEST 2004 Paolo Molaro <[email protected]>
* NumberFormatInfo.cs: workaround for bug 55978.

svn path=/trunk/mcs/; revision=30568
2004-06-30 14:13:48 +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
Atsushi Eno 15beb27f40 2004-04-11 Atsushi Enomoto <[email protected]>
* NumberFormatInfo.cs : All GetXXXGroupSizes() should not return
	  internal array. Return clone as MS.NET does.

	  There still looks somewhere breaking CurrentInfo.

svn path=/trunk/mcs/; revision=25326
2004-04-11 01:28:20 +00:00
Lluis Sanchez 1940817233 * CompareInfo.cs, CultureInfo.cs, NumberFormatInfo.cs, TextInfo.cs:
Made those serializable-compatible with MS.NET: modified fields names to
	match MS.NET ones, and in CultureInfo added a flag to control when a
	deserialized instance need to be initialized.

svn path=/trunk/mcs/; revision=25218
2004-04-08 14:10:11 +00:00
Gonzalo Paniagua Javier 020c22b732 2004-03-24 Gonzalo Paniagua Javier <[email protected]>
* NumberFormatInfo.cs: this fixes bug #56000 for me. And it doesn't
	break anything as NumberFormatInfo is sealed.

svn path=/trunk/mcs/; revision=24554
2004-03-25 00:49:57 +00:00
Atsushi Eno 00696711d8 2004-02-14 Atsushi Enomoto <[email protected]>
* NumberFormatInfo.cs : CurrentInfo should not return clone every
	  time (MS.NET returns the same object; try object.ReferenceEquals()).

svn path=/trunk/mcs/; revision=23093
2004-02-14 15:39:35 +00:00
David Sheldon 20dd2fe10d 2004-02-08 David Sheldon <[email protected]>
* NumberFormatInfo.cs: When parsing the percentages, put the data
   into PercentDecimalDigits/PercentGroupLengths, rather than trashing
   the NumberDecimatDigits etc. This also means that the percent format
   info gets set.

svn path=/trunk/mcs/; revision=22882
2004-02-08 16:11:27 +00:00
David Sheldon baad04ed55 2004-01-27 David Sheldon <[email protected]>
* NumberFormatInfo.cs: InitPatterns: it seems that the patterns in
   ICU use digitPattern, not zeroPattern for the spaces after the
   decimal point.

svn path=/trunk/mcs/; revision=22554
2004-01-27 23:38:47 +00:00
Dick Porter a1e508222d 2003-12-02 Dick Porter <[email protected]>
* NumberFormatInfo.cs: Helper called by runtime locale
	construction from ICU.  Patch by Mohammad DAMT ([email protected]).

svn path=/trunk/mcs/; revision=20688
2003-12-02 10:00:32 +00:00
Pedro Martínez Juliá e3d2afd1d8 2003-04-22 Pedro Mart�nez Juli� <[email protected]>
* NumberFormatInfo.cs: Method CurrentInfo now returns the "real"
    CurrentInfo (Thread.CurrentThread.CurrentCulture.NumberFormat).

2003-04-22  Pedro Mart�nez Juli�  <[email protected]>

    * FloatingPointFormatter.cs: Little fixes for get the same results
    as MS.NET and show a message when something goes wrong with the
    parser of Custom Formats.

svn path=/trunk/mcs/; revision=13902
2003-04-22 18:11:43 +00:00
Nick Drochak 82882d2bc1 2002-06-11 Nick Drochak <[email protected]>
* NumberFormatInfo.cs: Make NumberNegativePattern = 1 for the ctor

svn path=/trunk/mcs/; revision=5201
2002-06-10 11:28:58 +00:00
Nick Drochak b6567ed194 2002-06-07 Nick Drochak <[email protected]>
* NumberFormatInfo.cs: Make InvariantInfo.NumberNegativePattern = 1

svn path=/trunk/mcs/; revision=5139
2002-06-06 18:24:10 +00:00
Gonzalo Paniagua Javier 58816ece55 2002-04-23 Gonzalo Paniagua Javier <[email protected]>
* NumberFormatInfo.cs: always set the values for the invariant culture
	until there are more cultures supported.

svn path=/trunk/mcs/; revision=3972
2002-04-22 22:58:53 +00:00
Piers Haken 610d7923ac added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00
Daniel Stodden 76baf9fa4e - CultureInfo implements IFormatProvider
- DateTime/NumberformatInfo _FomatInfo ecma-lamespec corrections
- integer type cleanup accordingly

svn path=/trunk/mcs/; revision=2557
2002-02-21 06:56:17 +00:00
Dietmar Maurer 9d5692b50a 2001-12-06 Dietmar Maurer <[email protected]>
* makefile: added new target test-jit

	* Double.cs: added the parse method from Bob Smith

	* DateTime.cs: added an icall to GetNow()

svn path=/trunk/mcs/; revision=1529
2001-12-06 05:00:39 +00:00
Martin Weindel 83c8c0cc13 * added DateTimeFormatInfo.cs
* fixed minor bug in NumberFormatInfo.Clone() with readonly flag

svn path=/trunk/mcs/; revision=1253
2001-11-04 13:00:36 +00:00
Miguel de Icaza 4cd8207aae Add new classes to get rid of the warnings being emitted by the
interpreter (although new warning are now there, we need to get the
Decimal internalcalls in place).

Implement some bits of CultureInfo, but it is yet far from finished.

svn path=/trunk/mcs/; revision=1205
2001-10-27 00:08:33 +00:00
Derek Holden 0d98160fe4 Small typo in PercentPositivePattern and CurrencyPositivePattern
svn path=/trunk/mcs/; revision=1125
2001-10-09 21:35:45 +00:00
Derek Holden 43f5873521 initial checkin
svn path=/trunk/mcs/; revision=466
2001-08-12 16:32:12 +00:00