1 2010-06-21 Jb Evain <jbevain@novell.com>
3 * CharUnicodeInfo.cs: make static.
5 2010-06-21 Jb Evain <jbevain@novell.com>
7 * CultureNotFoundException.cs: add it to Moonlight.
9 2010-06-21 Jb Evain <jbevain@novell.com>
11 * TimeSpanStyles.cs: add to Moonlight.
13 2010-04-19 Zoltan Varga <vargaz@gmail.com>
15 * CompareInfo.cs (IndexOf): Return startIndex instead of 0 for empty strings.
18 2010-03-16 Jb Evain <jbevain@novell.com>
20 * CultureInfo.cs, CompareInfo.cs, Calendar.cs: use MOONLIGHT symbol
21 to disambiguate MonoTouch and Moonlight code.
23 2010-02-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
25 * CultureNotFoundException.cs: new 4.0 type.
26 * CultureTypes.cs: add [Obsolete] for 2 values.
27 * TimeSpanStyles.cs: new 4.0 enum.
29 2009-12-09 Jb Evain <jbevain@novell.com>
31 * StringInfo.cs: default constructor falls back to an empty string info.
33 2009-11-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
35 * CultureInfo.cs: Allow neutral cultures, and fix zh-Hans/zh-Hant
36 - they're stored internally as zh-chs/zh-cht, and only visible as
37 zh-Hans/zh-Hant. zh-CHS/zh-CHS are invalid cultures in SL.
39 2009-10-29 Sebastien Pouliot <sebastien@ximian.com>
41 * CompareInfo.cs: Add/fix CompareOptions validations. Reduce code
42 duplication in Compare methods (wrt CompareOptions). Fix
43 calculation bug in Compare(string,int.string,int,CompareOptions).
45 2009-10-27 Sebastien Pouliot <sebastien@ximian.com>
47 * TextInfo.cs: Avoid allocating zero-length strings in ToLower
50 2009-10-14 Jonathan Pryor <jpryor@novell.com>
52 * CultureInfo.cs: Re-add GetCultures() to the MonoTouch profile.
54 2009-10-14 Sebastien Pouliot <sebastien@ximian.com>
56 * CultureInfo.cs: Refactor to reduce unsafe methods/scope.
58 2009-10-07 Sebastien Pouliot <sebastien@ximian.com>
60 * CompareInfo.cs: Don't allow MONO_DISABLE_MANAGED_COLLATION
61 override for Moonlight and move all icalls together so they
64 2009-09-23 Sebastien Pouliot <sebastien@ximian.com>
66 * Calendar.cs: Don't expose AlgorithmType property in NET_2_1
67 * CultureInfo.cs: Don't expose CultureTypes in NET_2_1
68 * NumberFormatInfo.cs: Don't expose NativeDigits in NET_2_1
69 * GregorianCalendar.cs, HebrewCalendar.cs, HijriCalendar.cs,
70 JapaneseCalendar.cs, KoreanCalendar.cs, TaiwanCalendar.cs,
71 ThaiBuddhistCalendar.cs, UmAlQuraCalendar.cs: Don't expose
72 AlgorithmType property in NET_2_1
74 2009-07-26 Miguel de Icaza <miguel@novell.com>
76 * Calendar.cs: Do not add internal abstract methods to the
77 Calendar class, it prevents derived classes from existing.
79 2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
81 * CultureInfo.cs : it seems that zh-Hant and zh-Hans are introduced
82 as almost alias of zh-CHS/zh-CHT in vista and some new windows.
83 Add hacky support for them.
85 2009-01-07 Atsushi Enomoto <atsushi@ximian.com>
87 * CompareInfo.cs : Fixed bug #462957. With empty target string it
88 should always return 0.
90 2008-08-14 Atsushi Enomoto <atsushi@ximian.com>
92 * CultureInfo.cs : applied patch by Robert Jordan,
93 fixed bug #402128. Create uninitialized parent culture
96 2008-07-28 Marek Safar <marek.safar@gmail.com>
98 * GregorianCalendar.cs: Delay DateTime .cctor invocation.
100 2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
102 * TextInfo.cs: Fix exceptions
106 * NumberFormatInfo.cs:
109 * CharUnicodeInfo.cs: Fix parameter names
111 2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
113 * UmAlQuraCalendar.cs:
114 * ThaiBuddhistCalendar.cs
116 * PersianCalendar.cs:
119 * JapaneseCalendar.cs:
122 * GregorianCalendar.cs:
123 * EastAsianLunisolarCalendar.cs:
124 * Calendar.cs: Fix parameter names
126 2008-06-28 Zoltan Varga <vargaz@gmail.com>
128 * CompareInfo.cs: Add a cache of SimpleCollator objects.
130 2008-01-13 Eyal Alaluf <eyala@mainsoft.com>
132 * NumberFormatInfo.cs: Defined internal "Raw" APIs that do not clone the
133 internal array members in order to improve performance of custom ToString.
135 2008-01-06 Zoltan Varga <vargaz@gmail.com>
137 * CultureInfo.cs: Add a 'cached_serialized_form' field.
139 * CultureInfo.cs NumberFormatInfo.cs DateTimeFormatInfo.cs TextInfo.cs: Make
140 sure the components of a read-only culture object are read-only as well.
142 2007-12-28 Gert Driesen <drieseng@users.sourceforge.net>
144 * CultureInfo.cs: Added internal CreateCulture method, which is used
145 by the runtime to creating CultureInfo instances for AssemblyName.
147 2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
149 * NumberFormatInfo.cs :
150 NativeDigits and DigitSubstitution are [ComVisible(false)].
152 2007-09-10 Atsushi Enomoto <atsushi@ximian.com>
154 * DateTimeFormatInfo.cs : implemented SetAllDateTimePatterns().
156 2007-09-10 Atsushi Enomoto <atsushi@ximian.com>
158 * NumberFormatInfo.cs : added NativeDigits and DigitSubstitution.
160 2007-09-06 Marek Habersack <mhabersack@novell.com>
162 * DateTimeFormatInfo.cs: minimal implementation of
163 AbbreviatedMonthGenitiveNames, MonthGenitiveNames and
164 NativeCalendar name properties.
166 2007-08-24 Zoltan Varga <vargaz@gmail.com>
168 * CalendricalCalculations.cs: Fix a warning.
170 2007-07-17 Atsushi Enomoto <atsushi@ximian.com>
172 * CalendricalCalculations.cs, JulianCalendar.cs :
173 true fix for bug #81783. GetMonths() should consider month part
176 2007-07-10 Atsushi Enomoto <atsushi@ximian.com>
178 * StringInfo.cs : implemented 2.0 members.
180 2007-07-10 Atsushi Enomoto <atsushi@ximian.com>
182 * UmAlQuraCalendar.cs : forgot to implement it.
184 2007-07-10 Atsushi Enomoto <atsushi@ximian.com>
186 * HijriCalendar.cs ThaiBuddhistCalendar.cs HebrewCalendar.cs
187 GregorianCalendar.cs KoreanCalendar.cs JulianCalendar.cs :
188 implemented ToFourDigitYear(), actually base implementation mostly
191 2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
193 * CultureInfo.cs : 1.x build fix.
195 2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
197 * CultureInfo.cs : implemented GetConsoleFallbackUICulture and
198 CultureTypes (it is awful indeed). Fix ComVisibles.
199 implemented InstalledUICulture, as what matches the best I think is
200 the one for BootstrapCultureID.
202 2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
204 * CultureInfo.cs : another hack, KeyboardLayoutId.
206 2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
209 hacked IetfLanguageTag and GetCultureInfoByIetfLanguageTag().
211 2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
213 * CompareInfo.cs : Name.
214 * PersianCalendar.cs : missing members.
215 * NumberFormatInfo.cs HijriCalendar.cs CultureInfo.cs TextInfo.cs
216 HebrewCalendar.cs ThaiBuddhistCalendar.cs GregorianCalendar.cs
217 KoreanCalendar.cs JulianCalendar.cs TaiwanCalendar.cs
218 JapaneseCalendar.cs DaylightTime.cs EastAsianLunisolarCalendar.cs
219 RegionInfo.cs TextElementEnumerator.cs : ComVisible cleanup.
221 2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
223 * TextInfo.cs : ICloneable.
224 * GregorianCalendarTypes.cs CompareOptions.cs CultureTypes.cs
225 CalendarWeekRule.cs UnicodeCategory.cs : [Serializable].
226 * ThaiBuddhistCalendar.cs GregorianCalendar.cs KoreanCalendar.cs
227 TaiwanCalendar.cs JapaneseCalendar.cs :
228 GetWeekOfYear() (base could be simply used). Removed unused code.
230 2007-07-02 Atsushi Enomoto <atsushi@ximian.com>
232 * UmAlQuraCalendar.cs
233 EastAsianLunisolarCalendar.cs
234 ChineseLunisolarCalendar.cs
235 TaiwanLunisolarCalendar.cs
236 JapaneseLunisolarCalendar.cs
237 KoreanLunisolarCalendar.cs : new 2.0 calendars.
239 HijriCalendar.cs HebrewCalendar.cs ThaiBuddhistCalendar.cs
240 GregorianCalendar.cs KoreanCalendar.cs JulianCalendar.cs
241 TaiwanCalendar.cs JapaneseCalendar.cs PersianCalendar.cs :
242 added GetLeapMonth().
243 * CalendricalCalculations.cs : added some lunisolar calendar stuff.
246 2007-06-24 Gert Driesen <drieseng@users.sourceforge.net>
248 * CultureInfo.cs: Added new private ctors that takes value for
249 read-only bit as argument. In ContructInvariant, clone invariant
250 NumberFormatInfo and DateTimeFormatInfo when we're not creating a
251 read-only CultureInfo, since they also should not be read-only.
252 Changes are required to allow a writable invariant CultureInfo to be
253 constructed. In GetCultures, use clone of InvariantCulture since it
254 must be not be read-only. In GetCultureInfo, always construct
255 read-only CultureInfo's. Fixes part of bug #81930.
257 2007-06-01 Atsushi Enomoto <atsushi@ximian.com>
259 * Calendar.cs DateTimeFormatInfo.cs : 2.0 API fixes.
260 * CalendricalCalculations.cs : fixed AddMonth() and AddYears() to
261 consider that the max days in the target month (for AddYears()
262 leap year month could matter). Fixed bug #81783.
264 2007-05-31 Rolf Bjarne Kvinge <RKvinge@novell.com>
266 * GregorianCalendar.cs: Change era names from C.E./Common Era
268 * DateTimeFormatInfo.cs: GetEra: search the abbreviated era names
269 as well for the era, and return the era, not the index of the era
272 2007-05-25 Atsushi Enomoto <atsushi@ximian.com>
274 * IdnMapping.cs : new 2.0 class.
276 2007-05-17 Atsushi Enomoto <atsushi@ximian.com>
278 * DateTimeFormatInfo.cs : added roundtrip pattern (only in 2.0).
280 2007-05-15 Atsushi Enomoto <atsushi@ximian.com>
282 * RegionInfo.cs, CultureInfo.cs : in 2.0 RegionInfo could be created
283 from locale name. To support that, retrieve CultureInfo from name
284 and use its Territory name if exists.
285 RegionInfo.Equals() still uses lcid, but hash code is based on
286 region ID. Added GeoId, which represents unique region ID (which
287 is returned in 1.x GetHashCode()).
289 2007-04-17 Alp Toker <alp@atoker.com>
291 * DateTimeFormatInfo.cs: Provide set accessor for MonthNames.
293 2007-04-16 Marek Safar <marek.safar@gmail.com>
295 * PersianCalendar: Removed twoDigitYearMax field.
297 2007-03-25 Marek Safar <marek.safar@gmail.com>
299 * GregorianCalendar.cs, HebrewCalendar.cs, JapaneseCalendar.cs,
300 HijriCalendar.cs, JapaneseCalendar.cs, JulianCalendar.cs,
301 KoreanCalendar.cs, TaiwanCalendar.cs, ThaiBuddhistCalendar.cs:
302 Removed twoDigitYearMax field.
304 2007-01-25 Chris Toshok <toshok@ximian.com>
306 * Calendar.cs, HijriCalendar.cs, ThaiBuddhistCalendar.cs,
307 HebrewCalendar.cs, GregorianCalendar.cs, KoreanCalendar.cs,
308 JulianCalendar.cs, PersianCalendar.cs:
310 more serialization fixes. the M_TwoDigitYearMax field we use
311 appears to be called twoDigitYearMax in MS.NET. rename it (and
312 fix all the Calendar subclasses to use this naming). Likewise
313 with is_readonly (MS calls it m_isReadOnly).
315 Also, the m_currentEraValue field I had originally placed in
316 GregorianCalendar appears to be in Calendar (as running
317 nunit-2.2.8-2.0 shows.)
319 In GregorianCalendar, rename the M_CalendarType field to m_type
320 and remove the extra field I added.
322 The previous fix got nunit 2.4-2.0 running. This change gets
323 versions 2.2.8 and 2.4 of nunit running against both 1.1 and 2.0
326 2006-01-24 Chris Toshok <toshok@ximian.com>
328 [ these fix nunit built with MS .net 2.0, running on mono. nunit
329 apparently stores all manner of things in its resources ]
331 * NumberFormatInfo.cs: add unused nativeDigits and
332 digitSubstitution fields that MS serializes.
334 * DateTimeFormatInfo.cs: serialization fixes. MS apparently
335 stores (and serializes) a couple of fields as ints, but exposes
336 them to programmers as Enum's.
338 * CompareInfo.cs: add unused m_name field that MS serializes.
340 * GregorianCalendar.cs: add a couple of unused fields that MS serializes.
342 2007-01-22 Atsushi Enomoto <atsushi@ximian.com>
344 * CompareInfo.cs : there was a test which raises assertion failure
345 if there isn't paramName for ArgumentException. Quite odd one.
347 2007-01-12 Miguel de Icaza <miguel@novell.com>
349 * DateTimeFormatInfo.cs: Add support for shortest day names.
350 Notice that there is no support in the runtime to actually load
351 this information from any place. So they are all english values.
353 2007-01-07 Atsushi Enomoto <atsushi@ximian.com>
355 * CompareInfo.cs : GetSortKey() does not allow Ordinal and
356 OrdinalIgnoreCase in 2.0 (shuold be also prohibited in 1.x BTW).
358 2006-12-25 Atsushi Enomoto <atsushi@ximian.com>
360 * CompareInfo.cs : for OrdinalIgnoreCase, IndexOf() and LastIndexOf()
361 will use managed version (icalls for them are case sensitive).
364 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
366 * DateTimeFormatInfo.cs : added missing properties and methods.
368 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
370 * DateTimeFormatInfo.cs : added some internal clone-less versions of
371 string[] properties and methods.
373 2006-11-27 Atsushi Enomoto <atsushi@ximian.com>
375 * CompareInfo.cs : fixed wrong || with && for OrdinalIgnoreCase.
378 2006-11-10 Marek Safar <marek.safar@gmail.com>
380 * CultureInfo.cs (TextInfo): Construct a culture when is
381 uninitialized. An issue exposed by previous change.
383 2006-11-09 Marek Safar <marek.safar@gmail.com>
385 * CompareInfo.cs: Cache full UseManagedCollation value;
386 * CultureInfo.cs (Parent): Add caching to avoid re-creating culture info
387 every time when the property is used.
388 * TextInfo.cs: Removed unused field.
390 2006-08-19 Miguel de Icaza <miguel@novell.com>
392 * CultureInfo.cs (GetCultureInfo): implement two of the 2.0
393 overloads, as the vb code depends on this.
395 2006-07-03 Kornél Pál <kornelpal@gmail.com>
397 * CodePageDataItem.cs: Added.
399 2006-06-30 Zoltan Varga <vargaz@gmail.com>
401 * CultureInfo.cs: Add stubs for net 2.0 GetCultureInfo () methods.
403 2006-03-21 Atsushi Enomoto <atsushi@ximian.com>
405 * HebrewCalrndar.cs : simply use CCHebrewCalendar.last_day_of_month().
406 Patch by Yaacov Akiba Slama. Fixed bug #76252.
408 2006-03-20 Atsushi Enomoto <atsushi@ximian.com>
410 * HebrewCalrndar.cs : removed commented obsolete code.
412 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
414 * TextInfo.cs : (ToUpper/ToLower) use InternalAllocateStr() and
415 pointers rather than StringBuilder.
417 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
419 * DateTimeFormatInfo.cs: Restored original field order to allow
420 some automatic locale fu to happen (mono unmanaged code relies
421 on the field order to fill out DateTimeFormatInfo)
423 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
425 * DateTimeFormatInfo.cs: Switched (where possible) our internal
426 field names to match MS names. Added fields that MS has and we
427 don't. Fixes serialization issues with MS.
428 * CultureInfo.cs, Calendar.cs, TextInfo.cs,
429 GregorianCalenda.cs: Hiding internal attributes from serialization
431 2006-01-25 Atsushi Enomoto <atsushi@ximian.com>
433 * CultureInfo.cs : Clone() attempted to clone number and date time
434 formats, thus failed. Fixed bug #77347.
436 2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
438 * DaylightTime.cs: Fixed serialization to be compatible with MS FX.
439 Pre-requisite to fix bug #76094.
441 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
443 * DateTimeStyles.cs: ComVisible is only needed in 2.0.
444 * TextInfo.cs: Added some 2.0 features that were needed (e.g. LCID)
445 to implement serialization for another class. Added TODO on class for
446 deserialization (so it shows up in the status page).
448 2005-11-29 Atsushi Enomoto <atsushi@ximian.com>
450 * CompareInfo.cs : IsSortable() are static.
451 * CharUnicodeInfo.cs : became non-static in RTM.
452 * Calendar.cs : added support for Clone() and IsReadOnly.
453 * HijriCalendar.cs ThaiBuddhistCalendar.cs HebrewCalendar.cs
454 GregorianCalendar.cs KoreanCalendar.cs JulianCalendar.cs
455 TaiwanCalendar.cs JapaneseCalendar.cs PersianCalendar.cs :
456 check IsReadOnly on every setter.
458 2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
460 * CompareInfo.cs : added support for OrdinalIgnoreCase.
462 2005-10-31 Miguel de Icaza <miguel@novell.com>
464 * HijriCalendar.cs, HebrewCalendar.cs, JulianCalendar.cs,
465 GregorianCalendar.cs, JapaneseCalendar.cs, Calendar.cs,
466 TaiwanCalendar.cs, HijriCalendar.cs: Add
467 CalendarAlgorithmType, MinSupportedDateTime, MaxSupportedDateTime
470 * Added ComVisibleAttribute in a bunch of places, using the fully
471 qualified name to speed up cut and paste.
473 2005-10-14 Ben Maurer <bmaurer@ximian.com>
475 * DateTimeFormatInfo.cs: Speed up GetAllDateTimePatterns by
476 caching the result and then cloning it.
478 2005-10-10 Ben Maurer <bmaurer@ximian.com>
480 * DateTimeFormatInfo.cs: Rather than having a + ' ' + b, have a +
481 " " + b. This lets us avoid 1) boxing the char and 2) calling
482 char.ToString. Results in a fairly substantial savings on
485 2005-09-21 Atsushi Enomoto <atsushi@ximian.com>
487 * CompareInfo.cs : switched to "managed collation by default" mode.
489 2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
491 * CompareInfo.cs: Use Environment.internalGetEnvironmentVariable as
492 the .cctor gets executed before the security manager is ready to be
493 activated (and cause recursion with --security).
495 2005-08-17 Atsushi Enomoto <atsushi@ximian.com>
497 * RegionInfo.cs : unlocked CurrentRegion creation.
499 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
501 * RegionInfo.cs : removed extraneous icall wrappers.
503 2005-08-15 Atsushi Enomoto <atsushi@ximian.com>
505 * RegionInfo.cs : reimplemented to use unicode CLDR.
507 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
509 * TextInfo.cs: For invariant culture, ListSeparator is a comma.
511 2005-08-12 Atsushi Enomoto <atsushi@ximian.com>
513 * DateTimeFormatInfo.cs : GetAbbreviatedEraNames() and GetEra().
515 2005-08-11 Atsushi Enomoto <atsushi@ximian.com>
517 * CultureInfo.cs : lazy load OptionalCalendars (and always non-null).
518 * DateTimeFormatInfo.cs : GetEraNames() should work.
520 2005-08-11 Atsushi Enomoto <atsushi@ximian.com>
522 * CultureInfo.cs : added BootstrapCultureID for RegionInfo.
523 * RegionInfo.cs : implemented CurrentRegion. Added MonoTODOs.
525 2005-08-10 Atsushi Enomoto <atsushi@ximian.com>
527 * CompareInfo.cs : added IsSortable(). (NET_2_0)
529 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
531 * CompareInfo.cs: Marked UseManagedCollation internal to have API
532 match that of MS.NET.
534 2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
537 Added managed collation support. It won't be activated unless you
538 explicitly set environment MONO_USE_MANAGED_COLLATION=yes.
540 2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
542 * CompareInfo.cs : LastIndexOf() which takes startIndex without length
543 should use startIndex+1 as length.
545 2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
547 * CompareInfo.cs : IndexOf(string, char, ...) overloads must not
548 specify start as 0. Use source.Length - 1 instead.
550 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
552 * NumberFormatInfo.cs: undo workaround for bug 55978 as it's not needed
553 any more. This fixed bug #75396.
555 2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
557 * CultureInfo.cs: added internal method to check for a culture
558 valid for formatting. Correctly get the calendar type. Before
559 it was always type 0. Thanks to Mcs for pointing this out.
561 2005-05-06 Miguel de Icaza <miguel@novell.com>
563 * CultureInfo.cs: Eliminate double-check lock always init the invariant_culture_info.
565 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
567 * CultureInfo.cs: made a few variables 'volatile'. GetCultures now
568 returns the InvariantCulture in the array. Fixes bug #72081.
570 2005-04-27 Atsushi Enomoto <atsushi@ximian.com>
572 * TextInfo.cs : Some performance fixes. Avoid delegate.
573 Compute parent culture only once. Quick ASCII range check.
575 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
577 * TextInfo.cs : extremely strict null check (which should not happen).
579 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
581 * TextInfo.cs : Additional null check for Parent CultureInfo.
583 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
585 * TextInfo.cs : To make new CultureInfo (127) as invariant, it should
586 not compare object Equals() against InvariantCulture.
588 2005-04-05 Atsushi Enomoto <atsushi@ximian.com>
590 * TextInfo.cs : Fixed ToTitleCase() so that
591 - handle some titlecase characters in Latin ang Greek.
592 - it keeps "all title case" word as is ("ABC" does not become "Abc").
593 - it can handle such string like "1ABc".
595 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
597 * TextInfo.cs : implemented culture sensitive ToLower() and ToUpper()
598 which behaves exactly the same as MS.NET does.
600 2005-02-09 Lluis Sanchez Gual <lluis@ximian.com>
602 * CultureInfo.cs: Added field needed for serialization
603 interoperability with MS.NET. Also fixed default value for
606 2005-01-31 Atsushi Enomoto <atsushi@ximian.com>
608 * NumberFormatInfo.cs : allow zero length sizes. patch by Kazuki
611 2005-01-20 Jackson Harper <jackson@ximian.com>
613 * HebrewCalendar.cs: Patch by Juan C. Olivares
614 (juancri@tagnet.org) to implement 4 digit years and set the
617 2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
619 * CharUnicodeInfo.cs : added new in 2.0 (kinda hacky).
621 2005-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
623 * CultureInfo.cs: the InvariantCulture returns false for
624 IsNeutralCulture. Fixes bug #59716.
626 2004-12-13 Ben Maurer <bmaurer@ximian.com>
628 * CultureInfo.cs: Store TextInfo data. Hand it over to TextInfo.
629 * TextInfo.cs: Rewrote props to use the textinfo data stored in
632 2004-11-04 Zoltan Varga <vargaz@freemail.hu>
634 * CultureInfo.cs (Clone): Make the components of the culture read-write
637 2004-10-14 Miguel de Icaza <miguel@ximian.com>
639 * TextInfo.cs (ToString) Fix the return value for ToString.
641 (Add a new parameter: the CultureInfo, since we implemented things
642 in terms of the CultureInfo in our runtime, and not the
645 (ToTitleCase): Fix to do title case for each word on the string
648 Wed Jun 30 17:06:43 CEST 2004 Paolo Molaro <lupus@ximian.com>
650 * NumberFormatInfo.cs: workaround for bug 55978.
652 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
654 * DateTimeFormatInfo.cs : check if pattern array is empty or not. Now
655 icall fills them as possible empty list.
657 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
659 * DateTimeFormatInfo.cs: added TODO for serialization
660 * GregorianCalendar.cs:: added TODO for serialization
661 * HebrewCalendar.cs: added TODO for serialization
662 * HijriCalendar.cs: added TODO for serialization
663 * JapaneseCalendar.cs: added TODO for serialization
664 * JulianCalendar.cs: added TODO for serialization
665 * KoreanCalendar.cs: added TODO for serialization
666 * TaiwanCalendar.cs: added TODO for serialization
667 * ThaiBuddhistCalendar.cs: added TODO for serialization
669 2004-06-08 Dick Porter <dick@ximian.com>
671 * CultureInfo.cs: Make calendar_data readonly, to match the
672 const-ness in the runtime.
674 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
676 * DateTimeFormatInfo.cs : In fact GetAllDateTimePatterns() returns
677 non-unique results. Just reordered return values looking at MS
680 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
682 * DateTimeFormatInfo.cs : 'U' is in fact the same as 'F' for pattern
683 strings. Thanks to kangaroo for the hint.
685 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
687 * DateTimeFormatInfo.cs : Fixed longtimes and shorttimes (exchanged).
689 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
691 * DateTimeFormatInfo.cs : Added some string[] fields for
692 GetAllDateTimePatterns(char). The fields will be filled in metadata
693 and culture info table. Added improved patterns for
694 GetAllDateTimePatterns() (right now works only for invariant).
695 * CultureInfo.cs : Use InvariantInfo for InvariantCulture.
697 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
699 * DateTimeFormatInfo.cs :
700 hack implementation for GetAllDateTimePatterns().
702 2004-05-17 Jackson Harper <jackson@ximian.com>
704 * CultureInfo.cs: Invariant culture has the invariant culture as
705 its parent....<insert joke about the south>. It is readonly so we
708 2004-05-17 Jackson Harper <jackson@ximian.com>
710 * CultureInfo.cs: Properify error messages when invalid lcid's are
713 2004-05-15 Jackson Harper <jackson@ximian.com>
715 * CultureInfo.cs: Initialize optional calendars. A pointer to an
716 array of ints is passed back from the runtime to the CultureInfo
717 object. The ints store the calendar type and any optional data
718 needed to construct the calendar.
720 2004-05-14 Dick Porter <dick@ximian.com>
722 * HebrewCalendar.cs: Stubbed ToFourDigitYear()
724 * HijriCalendar.cs: Stubbed HijriAdjustment
726 2004-05-13 Jackson Harper <jackson@ximian.com>
728 * CultureInfo.cs: You can access DateTimeFormat and NumberFormat
729 from the invariant culture.
731 2004-05-13 Jackson Harper <jackson@ximian.com>
733 * CultureInfo.cs: DateTimeFormat and NumberFormat can not be
734 accessed for neutral cultures.
736 2004-04-30 Dick Porter <dick@ximian.com>
739 * TextElementEnumerator.cs: Implemented
741 2004-04-27 Jackson Harper <jackson@ximian.com>
743 * CultureInfo.cs: Make specific names lower case, because all data
744 in the culture info tables is lowercase.
746 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
748 * CultureInfo.cs: Call invariant String.ToLower
749 * RegionInfo.cs: Call invariant String.ToUpper
751 2004-04-11 Atsushi Enomoto <atsushi@ximian.com>
753 * NumberFormatInfo.cs : All GetXXXGroupSizes() should not return
754 internal array. Return clone as MS.NET does.
756 There still looks somewhere breaking CurrentInfo.
758 2004-04-08 Lluis Sanchez Gual <lluis@ximian.com>
760 * CompareInfo.cs, CultureInfo.cs, NumberFormatInfo.cs, TextInfo.cs:
761 Made those serializable-compatible with MS.NET: modified fields names to
762 match MS.NET ones, and in CultureInfo added a flag to control when a
763 deserialized instance need to be initialized.
765 2004-04-07 Jackson Harper <jackson@ximian.com>
767 * CultureInfo.cs: Use new ICUless implementation in the runtime.
768 * CompareInfo.cs: Get ICU name from a cultureinfo object instead
769 of looking it up in the culture map.
770 * RegionInfo.cs: Dont check if the LCID is neutral unless its not
771 found in the switch. Avoids an icall.
773 2004-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
775 * NumberFormatInfo.cs: this fixes bug #56000 for me. And it doesn't
776 break anything as NumberFormatInfo is sealed.
778 2004-02-14 Atsushi Enomoto <atsushi@ximian.com>
780 * NumberFormatInfo.cs : CurrentInfo should not return clone every
781 time (MS.NET returns the same object; try object.ReferenceEquals()).
783 2004-02-08 David Sheldon <dave-mono@earth.li>
785 * NumberFormatInfo.cs: When parsing the percentages, put the data
786 into PercentDecimalDigits/PercentGroupLengths, rather than trashing
787 the NumberDecimatDigits etc. This also means that the percent format
790 2004-01-27 David Sheldon <dave-mono@earth.li>
792 * NumberFormatInfo.cs: InitPatterns: it seems that the patterns in
793 ICU use digitPattern, not zeroPattern for the spaces after the
796 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
798 * CultureInfo.cs: Parent returns null when lcid == parent_lcid. Fixes
801 2003-12-20 Ben Maurer <bmaurer@users.sourceforge.net>
803 * CompareInfo.cs: Replace blah == "" with blah.Length == 0.
804 MUCH faster. Note, we dont need to check for nulls, because
805 the properties were used in other places.
807 2003-12-19 Dick Porter <dick@ximian.com>
809 * CompareInfo.cs: Added assorted shortcuts when comparing empty
810 strings. Fixed offset and length range checks to flag when <0.
811 Broke test that offset >= string length to match actual ms
812 behaviour (sigh.) Fixes bug 52310.
814 2003-12-06 Dick Porter <dick@ximian.com>
816 * CompareInfo.cs: Don't build strings in Compare, IndexOf and
817 LastIndexOf methods. Avoid the icall in IndexOf and LastIndexOf
818 if the search parameter is a char and the CompareOptions include
821 2003-12-04 Dick Porter <dick@ximian.com>
823 * CompareInfo.cs: Implement the deserialization callback
825 * CultureInfo.cs: Allow CompareInfo to see the CultureMap so that
826 it can construct the ICU collator itself
828 2003-12-02 Dick Porter <dick@ximian.com>
830 * NumberFormatInfo.cs: Helper called by runtime locale
831 construction from ICU. Patch by Mohammad DAMT (mdamt@cdl2000.com).
833 2003-12-01 Dick Porter <dick@ximian.com>
835 * CultureInfo.cs: Culture name creation is case-insensitive.
836 Implemented CurrentCulture and CurrentUICulture.
838 * CompareInfo.cs: Fix IndexOf and LastIndexOf so that they work
839 for combining characters.
841 2003-11-05 Pedro Martínez Juliá <yoros@wanadoo.es>
843 * DateTimeFormatInfo.cs: Hack an era for US culture. We must look
844 for other ways to get the ERA string.
846 2003-10-21 Dick Porter <dick@ximian.com>
849 * CultureInfo.cs: Implement TextInfo.GetHashCode(). Fixes bug
852 2003-10-09 Dick Porter <dick@ximian.com>
854 * CultureInfo.cs: Implemented, with internal calls to ICU apart
855 from the Invariant culture.
858 * CompareInfo.cs: Implemented
860 * DateTimeFormatInfo.cs: Fixed the worst of the formatting,
861 construct default FullDateTimePattern on the fly.
863 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
865 * Locale.cs: Removed (added new version to Assembly directory)
867 2003-07-23 Duncan Mak <duncan@ximian.com>
869 * DateTimeFormatInfo.cs: theInvariantDateTimeFormatInfo should not
872 2003-05-11 Ben Maurer <bmaurer@users.sourceforge.net>
874 * *Calendar.cs: Implemented the TwoDigitYearMax property.
876 2003-04-22 Pedro Martínez Juliá <yoros@wanadoo.es>
878 * NumberFormatInfo.cs: Method CurrentInfo now returns the "real"
879 CurrentInfo (Thread.CurrentThread.CurrentCulture.NumberFormat).
881 2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
884 (NameToID): make it case insensitive and use a hashtable instead of
885 comparing all the strings.
887 Mon Nov 18 13:02:09 CET 2002 Paolo Molaro <lupus@ximian.com>
889 * CultureInfo.cs: implemented Equals and GetHashCode.
891 2002-10-17 Duncan Mak <duncan@ximian.com>
893 * CultureInfo.cs (TextInfo): return a TextInfo in the property.
895 * TextInfo.cs (ToLower):
896 (ToTitleCase): Implemented.
898 2002-09-12 Dick Porter <dick@ximian.com>
900 * ThaiBuddhistCalendar.cs:
906 * JapaneseCalendar.cs:
909 * GregorianCalendar.cs:
911 * CompareInfo.cs: Stub out missing methods
913 2002-08-15 Tim Coleamn <tim@timcoleman.com>
915 Stubbed out some methods.
917 2002-08-14 Dick Porter <dick@ximian.com>
919 * CultureInfo.cs: Implement Name, stub out all the other missing
922 * TextInfo.cs: Stubbed out this class
924 2002-06-12 Nick Drochak <ndrochak@gol.com>
926 * DateTimeFormatInfo.cs: Reformat.
928 2002-06-11 Nick Drochak <ndrochak@gol.com>
930 * NumberFormatInfo.cs: Make NumberNegativePattern = 1 for the ctor
932 2002-06-07 Nick Drochak <ndrochak@gol.com>
934 * NumberFormatInfo.cs: Make InvariantInfo.NumberNegativePattern = 1
936 2002-05-07 Rodrigo Moya <rodrigo@ximian.com>
938 * CompareInfo.cs: new basic stub (compiles on Linux, so I assume
939 it does not break the build on windows. Sorry if it does).
941 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
943 * NumberFormatInfo.cs: always set the values for the invariant culture
944 until there are more cultures supported.
946 2002-04-22 Nick Drochak <ndrochak@gol.com>
948 * NumberStyles.cs: Add [Serializable].
950 2002-04-08 Nick Drochak <ndrochak@gol.com>
952 * UnicodeCategory.cs: Fix typos in enum names.
954 2002-03-04 Nick Drochak <ndrochak@gol.com>
956 * JulianCalendar.cs: JulianEra should be field, not a property.
957 Thanks CorCompare (and Piers).
959 2002-02-12 Duncan Mak <duncan@ximian.com>
961 * CultureInfo.cs: Added the Calendar property to make the TimeZone
962 class build. It's marked as MonoTODO.
964 2002-02-12 Nick Drochak <ndrochak@gol.com>
966 * UnicodeCategory.cs: Fix typo.
968 2002-02-01 Radek Doulik <rodo@ximian.com>
970 * RegionInfo.cs: started work on RegionInfo
971 implemented RegionInfo (string) constructor
973 * CultureInfo.cs: added internal static function,
974 which could be used from RegionInfo.cs
976 2002-01-16 Miguel de Icaza <miguel@ximian.com>
978 * CultureInfo.cs: Completed the tables. Now we need to actually
981 2002-01-15 Duncan Mak <duncan@ximian.com>
983 * CultureInfo.cs: Convert it to unix text.
985 2002-01-04 Ravi Pratap <ravi@ximian.com>
987 * GreogrianCalendar.cs : The same old MonoTODO attribute.
989 2001-11-21 Miguel de Icaza <miguel@ximian.com>
991 * Locale.cs: New file, a place holder for Locale.GetText.
993 Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <lupus@ximian.com>
995 * Calendar.cs: CLSCompliant updates.
997 2001-11-04 Martin Weindel <martin.weindel@t-online.de>
998 * NumberFormatInfo.cs: fixed minor bug in Clone with readonly flag
1000 * DateTimeFormatInfo.cs: added
1002 * CultureInfo.cs: some changed needed for compiling DateTimeFormatInfo.cs
1004 2001-10-26 Miguel de Icaza <miguel@ximian.com>
1006 * NumberFormatInfo.cs: Provide an internal constructor that takes
1007 as an argument a CultureInfo ID (LCID) so that we can construct
1008 different ones here.
1010 * CultureInfo.cs: Begun implementation.
1012 2001-10-09 Derek Holden <dholden@draper.com>
1014 * NumberFormatInfo.cs: Small typo in PercentPositivePattern
1015 and CurrencyPositivePattern
1017 2001-09-02 Miguel de Icaza <miguel@ximian.com>
1019 * Calendar.cs: Implement a bunch of missing features.
1021 2001-07-24 Derek Holden <dholden@draper.com>
1023 * NumberStyles.cs: Added ECMA values for Allow types and default
1026 2001-07-18 Michael Lambert <michaellambert@email.com>
1028 * DateTimeStyles.cs, NumberStyles.cs: Add.