Age | Commit message (Collapse) | Author |
|
svn path=/trunk/mcs/; revision=29249
|
|
* CultureInfo.cs: Make calendar_data readonly, to match the
const-ness in the runtime.
svn path=/trunk/mcs/; revision=29039
|
|
* DateTimeFormatInfo.cs : In fact GetAllDateTimePatterns() returns
non-unique results. Just reordered return values looking at MS
invariant behavior.
svn path=/trunk/mcs/; revision=28342
|
|
* DateTimeFormatInfo.cs : 'U' is in fact the same as 'F' for pattern
strings. Thanks to kangaroo for the hint.
svn path=/trunk/mcs/; revision=28296
|
|
* DateTimeFormatInfo.cs : Fixed longtimes and shorttimes (exchanged).
svn path=/trunk/mcs/; revision=28287
|
|
* DateTimeFormatInfo.cs : Added some string[] fields for
GetAllDateTimePatterns(char). The fields will be filled in metadata
and culture info table. Added improved patterns for
GetAllDateTimePatterns() (right now works only for invariant).
* CultureInfo.cs : Use InvariantInfo for InvariantCulture.
svn path=/trunk/mcs/; revision=28282
|
|
* DateTimeFormatInfo.cs :
hack implementation for GetAllDateTimePatterns().
svn path=/trunk/mcs/; revision=28182
|
|
its parent....<insert joke about the south>. It is readonly so we
can return this.
svn path=/trunk/mcs/; revision=27547
|
|
its parent....<insert joke about the south>.
svn path=/trunk/mcs/; revision=27545
|
|
used.
svn path=/trunk/mcs/; revision=27542
|
|
array of ints is passed back from the runtime to the CultureInfo
object. The ints store the calendar type and any optional data
needed to construct the calendar.
svn path=/trunk/mcs/; revision=27462
|
|
* HebrewCalendar.cs: Stubbed ToFourDigitYear()
* HijriCalendar.cs: Stubbed HijriAdjustment
svn path=/trunk/mcs/; revision=27409
|
|
from the invariant culture.
svn path=/trunk/mcs/; revision=27281
|
|
accessed for neutral cultures.
svn path=/trunk/mcs/; revision=27275
|
|
* StringInfo.cs:
* TextElementEnumerator.cs: Implemented
svn path=/trunk/mcs/; revision=26436
|
|
in the culture info tables is lowercase.
svn path=/trunk/mcs/; revision=26063
|
|
* CultureInfo.cs: Call invariant String.ToLower
* RegionInfo.cs: Call invariant String.ToUpper
svn path=/trunk/mcs/; revision=25953
|
|
* 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
|
|
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
|
|
svn path=/trunk/mcs/; revision=25205
|
|
* 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
|
|
* NumberFormatInfo.cs: this fixes bug #56000 for me. And it doesn't
break anything as NumberFormatInfo is sealed.
svn path=/trunk/mcs/; revision=24554
|
|
* NumberFormatInfo.cs : CurrentInfo should not return clone every
time (MS.NET returns the same object; try object.ReferenceEquals()).
svn path=/trunk/mcs/; revision=23093
|
|
* 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
|
|
* 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
|
|
* CultureInfo.cs: Parent returns null when lcid == parent_lcid. Fixes
bug #52102.
svn path=/trunk/mcs/; revision=21978
|
|
* CompareInfo.cs: Replace blah == "" with blah.Length == 0.
MUCH faster. Note, we dont need to check for nulls, because
the properties were used in other places.
svn path=/trunk/mcs/; revision=21382
|
|
* String.cs: Added Compare shortcut for length==0.
2003-12-19 Dick Porter <dick@ximian.com>
* CompareInfo.cs: Added assorted shortcuts when comparing empty
strings. Fixed offset and length range checks to flag when <0.
Broke test that offset >= string length to match actual ms
behaviour (sigh.) Fixes bug 52310.
2003-12-19 Dick Porter <dick@ximian.com>
* StringTest.cs: Added Compare test for length==0.
2003-12-19 Dick Porter <dick@ximian.com>
* CompareInfoTest.cs: Added some Compare tests
svn path=/trunk/mcs/; revision=21341
|
|
* String.cs: Don't use CompareInfo for non-culture-sensitive
IndexOf and LastIndexOf methods.
2003-12-06 Dick Porter <dick@ximian.com>
* CompareInfo.cs: Don't build strings in Compare, IndexOf and
LastIndexOf methods. Avoid the icall in IndexOf and LastIndexOf
if the search parameter is a char and the CompareOptions include
Ordinal.
svn path=/trunk/mcs/; revision=20820
|
|
* CompareInfo.cs: Implement the deserialization callback
* CultureInfo.cs: Allow CompareInfo to see the CultureMap so that
it can construct the ICU collator itself
svn path=/trunk/mcs/; revision=20776
|
|
* NumberFormatInfo.cs: Helper called by runtime locale
construction from ICU. Patch by Mohammad DAMT (mdamt@cdl2000.com).
svn path=/trunk/mcs/; revision=20688
|
|
* String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
2003-12-01 Dick Porter <dick@ximian.com>
* CultureInfo.cs: Culture name creation is case-insensitive.
Implemented CurrentCulture and CurrentUICulture.
* CompareInfo.cs: Fix IndexOf and LastIndexOf so that they work
for combining characters.
2003-12-01 Dick Porter <dick@ximian.com>
* Thread.cs: Implement CurrentCulture and CurrentUICulture
2003-12-01 Dick Porter <dick@ximian.com>
* CaseInsensitiveComparer.cs: Construct the default comparers when
they're needed, to avoid a dependency loop with CultureInfo's
constructor.
svn path=/trunk/mcs/; revision=20663
|
|
svn path=/trunk/mcs/; revision=20245
|
|
svn path=/trunk/mcs/; revision=20138
|
|
* DateTimeFormatInfo.cs: Hack an era for US culture. We must look
for other ways to get the ERA string.
svn path=/trunk/mcs/; revision=19638
|
|
svn path=/trunk/mcs/; revision=19269
|
|
* TextInfo.cs:
* CultureInfo.cs: Implement TextInfo.GetHashCode(). Fixes bug
49923.
svn path=/trunk/mcs/; revision=19268
|
|
* CultureInfo.cs: Implemented, with internal calls to ICU apart
from the Invariant culture.
* SortKey.cs:
* CompareInfo.cs: Implemented
* DateTimeFormatInfo.cs: Fixed the worst of the formatting,
construct default FullDateTimePattern on the fly.
svn path=/trunk/mcs/; revision=18820
|
|
* Locale.cs: Removed (added new version to Assembly directory)
svn path=/trunk/mcs/; revision=17112
|
|
be public.
* StreamReader.cs (Initialize): This method is not exposed in the
API, mark as internal.
* SignatureHelper.cs: This class does not have the
SerializableAttribute.
* WaitHandle.cs (CheckDisposed): This method is not in the public
API, mark it as 'internal'.
* Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
as values for NET_1_1.
(GetFolderPath): Return the empty string ("") for values of
SpecialFolder that have no corresponding equivalents in
Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
and "$HOME" for SpecialFolder.Personal.
* IntPtr.cs (GetObjectData): Mark it as an interface
implementation, instead of a public method.
* Guid.cs (NewGuid): Remove MonoTODOAttribute.
* TypeLoadException.cs (GetObjectData):
Create stubs for the fields that are being serialized.
* UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
svn path=/trunk/mcs/; revision=16594
|
|
* *Calendar.cs: Implemented the TwoDigitYearMax property.
svn path=/trunk/mcs/; revision=14508
|
|
* NumberFormatInfo.cs: Method CurrentInfo now returns the "real"
CurrentInfo (Thread.CurrentThread.CurrentCulture.NumberFormat).
2003-04-22 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* 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
|
|
* Console.cs: Make stderr, stdout and stdin use synchronized
versions of the their readers/writers.
2003-03-20 Miguel de Icaza <miguel@ximian.com>
* Thread.cs (CurrentCuluture): use the invaraint culture instead
of "" for the current_culture setting.
2003-04-05 Miguel de Icaza <miguel@ximian.com>
* TextWriter.cs: Implemented Synchronized method.
* TextReader.cs: Implemented Synchronized method.
svn path=/trunk/mcs/; revision=13203
|
|
* CultureInfo.cs:
(NameToID): make it case insensitive and use a hashtable instead of
comparing all the strings.
svn path=/trunk/mcs/; revision=12018
|
|
* CultureInfo.cs: implemented Equals and GetHashCode.
svn path=/trunk/mcs/; revision=9055
|
|
* CultureInfo.cs (TextInfo): return a TextInfo in the property.
* TextInfo.cs (ToLower):
(ToTitleCase): Implemented.
svn path=/trunk/mcs/; revision=8356
|
|
* unix.args: Add System.Globalization.SortKey,
System.Globalization.StringInfo and
System.Globalizaton.TextElementEnumerator
2002-09-12 Dick Porter <dick@ximian.com>
* 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
|
|
* CompareInfo.cs:
Stubbed out some methods.
svn path=/trunk/mcs/; revision=6704
|
|
* CultureInfo.cs: Implement Name, stub out all the other missing
methods.
* TextInfo.cs: Stubbed out this class
svn path=/trunk/mcs/; revision=6624
|
|
* DateTimeFormatInfo.cs: Reformat.
svn path=/trunk/mcs/; revision=5247
|