[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / corlib / System.Globalization / ChangeLog
1 2010-06-21  Jb Evain  <jbevain@novell.com>
2
3         * CharUnicodeInfo.cs: make static.
4
5 2010-06-21  Jb Evain  <jbevain@novell.com>
6
7         * CultureNotFoundException.cs: add it to Moonlight.
8
9 2010-06-21  Jb Evain  <jbevain@novell.com>
10
11         * TimeSpanStyles.cs: add to Moonlight.
12
13 2010-04-19  Zoltan Varga  <vargaz@gmail.com>
14
15         * CompareInfo.cs (IndexOf): Return startIndex instead of 0 for empty strings.
16         Fixes #597604.
17
18 2010-03-16  Jb Evain  <jbevain@novell.com>
19
20         * CultureInfo.cs, CompareInfo.cs, Calendar.cs: use MOONLIGHT symbol
21         to disambiguate MonoTouch and Moonlight code.
22
23 2010-02-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
24
25         * CultureNotFoundException.cs: new 4.0 type.
26         * CultureTypes.cs: add [Obsolete] for 2 values.
27         * TimeSpanStyles.cs: new 4.0 enum.
28
29 2009-12-09  Jb Evain  <jbevain@novell.com>
30
31         * StringInfo.cs: default constructor falls back to an empty string info.
32
33 2009-11-04  Rolf Bjarne Kvinge  <RKvinge@novell.com>
34
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.
38
39 2009-10-29  Sebastien Pouliot  <sebastien@ximian.com>
40
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).
44
45 2009-10-27  Sebastien Pouliot  <sebastien@ximian.com>
46
47         * TextInfo.cs: Avoid allocating zero-length strings in ToLower 
48         and ToUpper methods
49
50 2009-10-14  Jonathan Pryor  <jpryor@novell.com>
51
52         * CultureInfo.cs: Re-add GetCultures() to the MonoTouch profile.
53
54 2009-10-14  Sebastien Pouliot  <sebastien@ximian.com>
55
56         * CultureInfo.cs: Refactor to reduce unsafe methods/scope.
57
58 2009-10-07  Sebastien Pouliot  <sebastien@ximian.com>
59
60         * CompareInfo.cs: Don't allow MONO_DISABLE_MANAGED_COLLATION
61         override for Moonlight and move all icalls together so they
62         can be #if-ed out.
63
64 2009-09-23  Sebastien Pouliot  <sebastien@ximian.com>
65
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
73
74 2009-07-26  Miguel de Icaza  <miguel@novell.com>
75
76         * Calendar.cs: Do not add internal abstract methods to the
77         Calendar class, it prevents derived classes from existing. 
78
79 2009-05-21  Atsushi Enomoto  <atsushi@ximian.com>
80
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.
84
85 2009-01-07  Atsushi Enomoto  <atsushi@ximian.com>
86
87         * CompareInfo.cs : Fixed bug #462957. With empty target string it
88           should always return 0.
89
90 2008-08-14  Atsushi Enomoto  <atsushi@ximian.com>
91
92         * CultureInfo.cs : applied patch by Robert Jordan,
93           fixed bug #402128. Create uninitialized parent culture
94           when required.
95
96 2008-07-28  Marek Safar <marek.safar@gmail.com>
97
98         * GregorianCalendar.cs: Delay DateTime .cctor invocation.
99
100 2008-07-03  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
101
102         * TextInfo.cs: Fix exceptions
103         * StringInfo.cs
104         * SortKey.cs:
105         * RegionInfo.cs:
106         * NumberFormatInfo.cs:
107         * CultureInfo.cs:
108         * CompareInfo.cs:
109         * CharUnicodeInfo.cs: Fix parameter names
110
111 2008-07-03  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
112
113         * UmAlQuraCalendar.cs:
114         * ThaiBuddhistCalendar.cs
115         * TaiwanCalendar.cs:
116         * PersianCalendar.cs:
117         * KoreanCalendar.cs:
118         * JulianCalendar.cs:
119         * JapaneseCalendar.cs:
120         * HijriCalendar.cs:
121         * HebrewCalendar.cs:
122         * GregorianCalendar.cs:
123         * EastAsianLunisolarCalendar.cs:
124         * Calendar.cs: Fix parameter names
125
126 2008-06-28  Zoltan Varga  <vargaz@gmail.com>
127
128         * CompareInfo.cs: Add a cache of SimpleCollator objects.
129
130 2008-01-13  Eyal Alaluf <eyala@mainsoft.com>
131
132         * NumberFormatInfo.cs: Defined internal "Raw" APIs that do not clone the
133           internal array members in order to improve performance of custom ToString.
134
135 2008-01-06  Zoltan Varga  <vargaz@gmail.com>
136
137         * CultureInfo.cs: Add a 'cached_serialized_form' field.
138         
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.
141
142 2007-12-28  Gert Driesen  <drieseng@users.sourceforge.net>
143
144         * CultureInfo.cs: Added internal CreateCulture method, which is used
145         by the runtime to creating CultureInfo instances for AssemblyName.
146
147 2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>
148
149         * NumberFormatInfo.cs :
150           NativeDigits and DigitSubstitution are [ComVisible(false)].
151
152 2007-09-10  Atsushi Enomoto  <atsushi@ximian.com>
153
154         * DateTimeFormatInfo.cs : implemented SetAllDateTimePatterns().
155
156 2007-09-10  Atsushi Enomoto  <atsushi@ximian.com>
157
158         * NumberFormatInfo.cs : added NativeDigits and DigitSubstitution.
159
160 2007-09-06  Marek Habersack  <mhabersack@novell.com>
161
162         * DateTimeFormatInfo.cs: minimal implementation of
163         AbbreviatedMonthGenitiveNames, MonthGenitiveNames and
164         NativeCalendar name properties.
165
166 2007-08-24  Zoltan Varga  <vargaz@gmail.com>
167
168         * CalendricalCalculations.cs: Fix a warning.
169
170 2007-07-17  Atsushi Enomoto  <atsushi@ximian.com>
171
172         * CalendricalCalculations.cs, JulianCalendar.cs :
173           true fix for bug #81783. GetMonths() should consider month part
174           going beyond 12.
175
176 2007-07-10  Atsushi Enomoto  <atsushi@ximian.com>
177
178         * StringInfo.cs : implemented 2.0 members.
179
180 2007-07-10  Atsushi Enomoto  <atsushi@ximian.com>
181
182         * UmAlQuraCalendar.cs : forgot to implement it.
183
184 2007-07-10  Atsushi Enomoto  <atsushi@ximian.com>
185
186         * HijriCalendar.cs ThaiBuddhistCalendar.cs HebrewCalendar.cs
187           GregorianCalendar.cs KoreanCalendar.cs JulianCalendar.cs :
188           implemented ToFourDigitYear(), actually base implementation mostly
189           works as is.
190
191 2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>
192
193         * CultureInfo.cs : 1.x build fix.
194
195 2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>
196
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.
201
202 2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>
203
204         * CultureInfo.cs : another hack, KeyboardLayoutId.
205
206 2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>
207
208         * CultureInfo.cs :
209           hacked IetfLanguageTag and GetCultureInfoByIetfLanguageTag().
210
211 2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>
212
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.
220
221 2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>
222
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.
229
230 2007-07-02  Atsushi Enomoto  <atsushi@ximian.com>
231
232         * UmAlQuraCalendar.cs
233           EastAsianLunisolarCalendar.cs
234           ChineseLunisolarCalendar.cs
235           TaiwanLunisolarCalendar.cs
236           JapaneseLunisolarCalendar.cs
237           KoreanLunisolarCalendar.cs : new 2.0 calendars.
238         * Calendar.cs
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.
244           mostly stubs.
245
246 2007-06-24  Gert Driesen  <drieseng@users.sourceforge.net>
247
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.
256
257 2007-06-01  Atsushi Enomoto  <atsushi@ximian.com>
258
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.
263
264 2007-05-31  Rolf Bjarne Kvinge  <RKvinge@novell.com>
265
266         * GregorianCalendar.cs: Change era names from C.E./Common Era 
267         to AD/A.D.
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 
270         in the array.
271
272 2007-05-25  Atsushi Enomoto  <atsushi@ximian.com>
273
274         * IdnMapping.cs : new 2.0 class.
275
276 2007-05-17  Atsushi Enomoto  <atsushi@ximian.com>
277
278         * DateTimeFormatInfo.cs : added roundtrip pattern (only in 2.0).
279
280 2007-05-15  Atsushi Enomoto  <atsushi@ximian.com>
281
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()).
288
289 2007-04-17  Alp Toker  <alp@atoker.com>
290
291         * DateTimeFormatInfo.cs: Provide set accessor for MonthNames.
292
293 2007-04-16  Marek Safar  <marek.safar@gmail.com>
294
295         * PersianCalendar: Removed twoDigitYearMax field.
296
297 2007-03-25  Marek Safar  <marek.safar@gmail.com>
298
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.
303
304 2007-01-25  Chris Toshok  <toshok@ximian.com>
305
306         * Calendar.cs, HijriCalendar.cs, ThaiBuddhistCalendar.cs,
307         HebrewCalendar.cs, GregorianCalendar.cs, KoreanCalendar.cs,
308         JulianCalendar.cs, PersianCalendar.cs:
309
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).
314
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.)
318
319         In GregorianCalendar, rename the M_CalendarType field to m_type
320         and remove the extra field I added.
321         
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
324         profiles.
325
326 2006-01-24  Chris Toshok  <toshok@ximian.com>
327
328         [ these fix nunit built with MS .net 2.0, running on mono.  nunit
329         apparently stores all manner of things in its resources ]
330         
331         * NumberFormatInfo.cs: add unused nativeDigits and
332         digitSubstitution fields that MS serializes.
333
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.
337         
338         * CompareInfo.cs: add unused m_name field that MS serializes.
339
340         * GregorianCalendar.cs: add a couple of unused fields that MS serializes.
341
342 2007-01-22  Atsushi Enomoto  <atsushi@ximian.com>
343
344         * CompareInfo.cs : there was a test which raises assertion failure
345           if there isn't paramName for ArgumentException. Quite odd one.
346
347 2007-01-12  Miguel de Icaza  <miguel@novell.com>
348
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.
352
353 2007-01-07  Atsushi Enomoto  <atsushi@ximian.com>
354
355         * CompareInfo.cs : GetSortKey() does not allow Ordinal and 
356           OrdinalIgnoreCase in 2.0 (shuold be also prohibited in 1.x BTW).
357
358 2006-12-25  Atsushi Enomoto  <atsushi@ximian.com>
359
360         * CompareInfo.cs : for OrdinalIgnoreCase, IndexOf() and LastIndexOf()
361           will use managed version (icalls for them are case sensitive).
362           Removed MonoTODOs.
363
364 2006-12-17  Igor Zelmanovich <igorz@mainsoft.com>
365
366         * DateTimeFormatInfo.cs : added missing properties and methods.
367
368 2006-12-01  Atsushi Enomoto  <atsushi@ximian.com>
369
370         * DateTimeFormatInfo.cs : added some internal clone-less versions of
371           string[] properties and methods.
372
373 2006-11-27  Atsushi Enomoto  <atsushi@ximian.com>
374
375         * CompareInfo.cs : fixed wrong || with && for OrdinalIgnoreCase.
376           Fixed bug #80056.
377
378 2006-11-10  Marek Safar  <marek.safar@gmail.com>
379
380         * CultureInfo.cs (TextInfo): Construct a culture when is
381         uninitialized. An issue exposed by previous change.
382
383 2006-11-09  Marek Safar  <marek.safar@gmail.com>
384
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.
389
390 2006-08-19  Miguel de Icaza  <miguel@novell.com>
391
392         * CultureInfo.cs (GetCultureInfo): implement two of the 2.0
393         overloads, as the vb code depends on this.
394
395 2006-07-03  Kornél Pál  <kornelpal@gmail.com>
396
397         * CodePageDataItem.cs: Added.
398
399 2006-06-30  Zoltan Varga  <vargaz@gmail.com>
400
401         * CultureInfo.cs: Add stubs for net 2.0 GetCultureInfo () methods.
402
403 2006-03-21  Atsushi Enomoto  <atsushi@ximian.com>
404
405         * HebrewCalrndar.cs : simply use CCHebrewCalendar.last_day_of_month().
406           Patch by Yaacov Akiba Slama. Fixed bug #76252.
407
408 2006-03-20  Atsushi Enomoto  <atsushi@ximian.com>
409
410         * HebrewCalrndar.cs : removed commented obsolete code.
411
412 2006-03-16  Atsushi Enomoto  <atsushi@ximian.com>
413
414         * TextInfo.cs : (ToUpper/ToLower) use InternalAllocateStr() and
415           pointers rather than StringBuilder.
416
417 2006-03-07  Peter Dennis Bartok  <pbartok@novell.com>
418
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)
422
423 2006-03-02  Peter Dennis Bartok  <pbartok@novell.com>
424
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
430
431 2006-01-25  Atsushi Enomoto  <atsushi@ximian.com>
432
433         * CultureInfo.cs : Clone() attempted to clone number and date time
434           formats, thus failed. Fixed bug #77347.
435
436 2005-12-08  Sebastien Pouliot  <sebastien@ximian.com> 
437
438         * DaylightTime.cs: Fixed serialization to be compatible with MS FX.
439         Pre-requisite to fix bug #76094.
440
441 2005-12-06  Sebastien Pouliot  <sebastien@ximian.com> 
442
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).
447
448 2005-11-29  Atsushi Enomoto  <atsushi@ximian.com>
449
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.
457
458 2005-11-14  Atsushi Enomoto  <atsushi@ximian.com>
459
460         * CompareInfo.cs : added support for OrdinalIgnoreCase.
461
462 2005-10-31  Miguel de Icaza  <miguel@novell.com>
463
464         * HijriCalendar.cs, HebrewCalendar.cs, JulianCalendar.cs,
465         GregorianCalendar.cs, JapaneseCalendar.cs, Calendar.cs,
466         TaiwanCalendar.cs, HijriCalendar.cs: Add
467         CalendarAlgorithmType, MinSupportedDateTime, MaxSupportedDateTime
468         properties. 
469
470         * Added ComVisibleAttribute in a bunch of places, using the fully
471         qualified name to speed up cut and paste.
472         
473 2005-10-14  Ben Maurer  <bmaurer@ximian.com>
474
475         * DateTimeFormatInfo.cs: Speed up GetAllDateTimePatterns by
476         caching the result and then cloning it.
477
478 2005-10-10  Ben Maurer  <bmaurer@ximian.com>
479
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
483         DateTime.Parse.
484
485 2005-09-21  Atsushi Enomoto  <atsushi@ximian.com>
486
487         * CompareInfo.cs : switched to "managed collation by default" mode.
488
489 2005-08-30  Sebastien Pouliot  <sebastien@ximian.com>
490
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).
494
495 2005-08-17  Atsushi Enomoto  <atsushi@ximian.com>
496
497         * RegionInfo.cs : unlocked CurrentRegion creation.
498
499 2005-08-16  Atsushi Enomoto  <atsushi@ximian.com>
500
501         * RegionInfo.cs : removed extraneous icall wrappers.
502
503 2005-08-15  Atsushi Enomoto  <atsushi@ximian.com>
504
505         * RegionInfo.cs : reimplemented to use unicode CLDR.
506
507 2005-08-14  Gert Driesen  <drieseng@users.sourceforge.net>
508
509         * TextInfo.cs: For invariant culture, ListSeparator is a comma.
510
511 2005-08-12  Atsushi Enomoto  <atsushi@ximian.com>
512
513         * DateTimeFormatInfo.cs : GetAbbreviatedEraNames() and GetEra().
514
515 2005-08-11  Atsushi Enomoto  <atsushi@ximian.com>
516
517         * CultureInfo.cs : lazy load OptionalCalendars (and always non-null).
518         * DateTimeFormatInfo.cs : GetEraNames() should work.
519
520 2005-08-11  Atsushi Enomoto  <atsushi@ximian.com>
521
522         * CultureInfo.cs : added BootstrapCultureID for RegionInfo.
523         * RegionInfo.cs : implemented CurrentRegion. Added MonoTODOs.
524
525 2005-08-10  Atsushi Enomoto  <atsushi@ximian.com>
526
527         * CompareInfo.cs : added IsSortable(). (NET_2_0)
528
529 2005-08-08  Gert Driesen  <drieseng@users.sourceforge.net>
530
531         * CompareInfo.cs: Marked UseManagedCollation internal to have API 
532         match that of MS.NET.
533
534 2005-08-02  Atsushi Enomoto  <atsushi@ximian.com>
535
536         * CompareInfo.cs :
537           Added managed collation support. It won't be activated unless you 
538           explicitly set environment MONO_USE_MANAGED_COLLATION=yes.
539
540 2005-08-02  Atsushi Enomoto  <atsushi@ximian.com>
541
542         * CompareInfo.cs : LastIndexOf() which takes startIndex without length
543           should use startIndex+1 as length.
544
545 2005-07-12  Atsushi Enomoto  <atsushi@ximian.com>
546
547         * CompareInfo.cs : IndexOf(string, char, ...) overloads must not
548           specify start as 0. Use source.Length - 1 instead.
549
550 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
551
552         * NumberFormatInfo.cs: undo workaround for bug 55978 as it's not needed
553         any more. This fixed bug #75396.
554
555 2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
556
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.
560
561 2005-05-06  Miguel de Icaza  <miguel@novell.com>
562
563         * CultureInfo.cs: Eliminate double-check lock always init the invariant_culture_info.
564
565 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
566
567         * CultureInfo.cs: made a few variables 'volatile'. GetCultures now
568         returns the InvariantCulture in the array. Fixes bug #72081.
569
570 2005-04-27  Atsushi Enomoto  <atsushi@ximian.com>
571
572         * TextInfo.cs : Some performance fixes. Avoid delegate.
573           Compute parent culture only once. Quick ASCII range check.
574
575 2005-04-17  Atsushi Enomoto  <atsushi@ximian.com>
576
577         * TextInfo.cs : extremely strict null check (which should not happen).
578
579 2005-04-17  Atsushi Enomoto  <atsushi@ximian.com>
580
581         * TextInfo.cs : Additional null check for Parent CultureInfo.
582
583 2005-04-06  Atsushi Enomoto  <atsushi@ximian.com>
584
585         * TextInfo.cs : To make new CultureInfo (127) as invariant, it should
586           not compare object Equals() against InvariantCulture.
587
588 2005-04-05  Atsushi Enomoto  <atsushi@ximian.com>
589
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".
594
595 2005-04-04  Atsushi Enomoto  <atsushi@ximian.com>
596
597         * TextInfo.cs : implemented culture sensitive ToLower() and ToUpper()
598           which behaves exactly the same as MS.NET does.
599
600 2005-02-09  Lluis Sanchez Gual  <lluis@ximian.com>
601
602         * CultureInfo.cs: Added field needed for serialization
603         interoperability with MS.NET. Also fixed default value for
604         the constructor.
605
606 2005-01-31  Atsushi Enomoto  <atsushi@ximian.com>
607
608         * NumberFormatInfo.cs : allow zero length sizes. patch by Kazuki
609           Oikawa.
610
611 2005-01-20  Jackson Harper  <jackson@ximian.com>
612
613         * HebrewCalendar.cs: Patch by Juan C. Olivares
614         (juancri@tagnet.org) to implement 4 digit years and set the
615         min year correctly.
616
617 2005-01-17  Atsushi Enomoto  <atsushi@ximian.com>
618
619         * CharUnicodeInfo.cs : added new in 2.0 (kinda hacky).
620
621 2005-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
622
623         * CultureInfo.cs: the InvariantCulture returns false for
624         IsNeutralCulture. Fixes bug #59716.
625
626 2004-12-13  Ben Maurer  <bmaurer@ximian.com>
627
628         * CultureInfo.cs: Store TextInfo data. Hand it over to TextInfo.
629         * TextInfo.cs: Rewrote props to use the textinfo data stored in
630         unmanaged code.
631
632 2004-11-04  Zoltan Varga  <vargaz@freemail.hu>
633
634         * CultureInfo.cs (Clone): Make the components of the culture read-write
635         as well.
636
637 2004-10-14  Miguel de Icaza  <miguel@ximian.com>
638
639         * TextInfo.cs (ToString) Fix the return value for ToString.
640
641         (Add a new parameter: the CultureInfo, since we implemented things
642         in terms of the CultureInfo in our runtime, and not the
643         TextInfo). 
644
645         (ToTitleCase): Fix to do title case for each word on the string
646         per the spec.
647
648 Wed Jun 30 17:06:43 CEST 2004 Paolo Molaro <lupus@ximian.com>
649
650         * NumberFormatInfo.cs: workaround for bug 55978.
651
652 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
653
654         * DateTimeFormatInfo.cs : check if pattern array is empty or not. Now
655           icall fills them as possible empty list.
656
657 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
658
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
668
669 2004-06-08  Dick Porter  <dick@ximian.com>
670
671         * CultureInfo.cs: Make calendar_data readonly, to match the
672         const-ness in the runtime.
673
674 2004-05-28  Atsushi Enomoto  <atsushi@ximian.com>
675
676         * DateTimeFormatInfo.cs : In fact GetAllDateTimePatterns() returns
677           non-unique results.  Just reordered return values looking at MS
678           invariant behavior.
679
680 2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>
681
682         * DateTimeFormatInfo.cs : 'U' is in fact the same as 'F' for pattern
683           strings. Thanks to kangaroo for the hint.
684
685 2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>
686
687         * DateTimeFormatInfo.cs : Fixed longtimes and shorttimes (exchanged).
688
689 2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>
690
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.
696
697 2004-05-26  Atsushi Enomoto  <atsushi@ximian.com>
698
699         * DateTimeFormatInfo.cs :
700           hack implementation for GetAllDateTimePatterns().
701
702 2004-05-17  Jackson Harper  <jackson@ximian.com>
703
704         * CultureInfo.cs: Invariant culture has the invariant culture as
705         its parent....<insert joke about the south>. It is readonly so we
706         can return this.
707         
708 2004-05-17  Jackson Harper  <jackson@ximian.com>
709
710         * CultureInfo.cs: Properify error messages when invalid lcid's are
711         used.
712
713 2004-05-15  Jackson Harper  <jackson@ximian.com>
714
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.
719         
720 2004-05-14  Dick Porter  <dick@ximian.com>
721
722         * HebrewCalendar.cs: Stubbed ToFourDigitYear()
723
724         * HijriCalendar.cs: Stubbed HijriAdjustment
725
726 2004-05-13  Jackson Harper  <jackson@ximian.com>
727
728         * CultureInfo.cs: You can access DateTimeFormat and NumberFormat
729         from the invariant culture.
730         
731 2004-05-13  Jackson Harper  <jackson@ximian.com>
732
733         * CultureInfo.cs: DateTimeFormat and NumberFormat can not be
734         accessed for neutral cultures.
735         
736 2004-04-30  Dick Porter  <dick@ximian.com>
737
738         * StringInfo.cs: 
739         * TextElementEnumerator.cs: Implemented
740
741 2004-04-27  Jackson Harper <jackson@ximian.com>
742
743         * CultureInfo.cs: Make specific names lower case, because all data
744         in the culture info tables is lowercase.
745         
746 2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
747
748         * CultureInfo.cs: Call invariant String.ToLower
749         * RegionInfo.cs: Call invariant String.ToUpper
750
751 2004-04-11  Atsushi Enomoto  <atsushi@ximian.com>
752
753         * NumberFormatInfo.cs : All GetXXXGroupSizes() should not return
754           internal array. Return clone as MS.NET does.
755
756           There still looks somewhere breaking CurrentInfo.
757
758 2004-04-08  Lluis Sanchez Gual  <lluis@ximian.com>
759
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.
764
765 2004-04-07  Jackson Harper  <jackson@ximian.com>
766
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.
772         
773 2004-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
774
775         * NumberFormatInfo.cs: this fixes bug #56000 for me. And it doesn't
776         break anything as NumberFormatInfo is sealed.
777
778 2004-02-14  Atsushi Enomoto  <atsushi@ximian.com>
779
780         * NumberFormatInfo.cs : CurrentInfo should not return clone every 
781           time (MS.NET returns the same object; try object.ReferenceEquals()).
782
783 2004-02-08 David Sheldon <dave-mono@earth.li>
784
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
788           info gets set.
789
790 2004-01-27  David Sheldon <dave-mono@earth.li>
791
792         * NumberFormatInfo.cs: InitPatterns: it seems that the patterns in 
793           ICU use digitPattern, not zeroPattern for the spaces after the 
794           decimal point. 
795
796 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
797
798         * CultureInfo.cs: Parent returns null when lcid == parent_lcid. Fixes
799         bug #52102.
800
801 2003-12-20 Ben Maurer  <bmaurer@users.sourceforge.net>
802
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.
806
807 2003-12-19  Dick Porter  <dick@ximian.com>
808
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.
813
814 2003-12-06  Dick Porter  <dick@ximian.com>
815
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
819         Ordinal.
820
821 2003-12-04  Dick Porter  <dick@ximian.com>
822
823         * CompareInfo.cs: Implement the deserialization callback
824
825         * CultureInfo.cs: Allow CompareInfo to see the CultureMap so that
826         it can construct the ICU collator itself
827
828 2003-12-02  Dick Porter  <dick@ximian.com>
829
830         * NumberFormatInfo.cs: Helper called by runtime locale
831         construction from ICU.  Patch by Mohammad DAMT (mdamt@cdl2000.com).
832
833 2003-12-01  Dick Porter  <dick@ximian.com>
834
835         * CultureInfo.cs: Culture name creation is case-insensitive.
836         Implemented CurrentCulture and CurrentUICulture.
837
838         * CompareInfo.cs: Fix IndexOf and LastIndexOf so that they work
839         for combining characters.
840
841 2003-11-05  Pedro Martínez Juliá  <yoros@wanadoo.es>
842
843         * DateTimeFormatInfo.cs: Hack an era for US culture. We must look
844         for other ways to get the ERA string.
845
846 2003-10-21  Dick Porter  <dick@ximian.com>
847
848         * TextInfo.cs: 
849         * CultureInfo.cs: Implement TextInfo.GetHashCode().  Fixes bug
850         49923.
851
852 2003-10-09  Dick Porter  <dick@ximian.com>
853
854         * CultureInfo.cs: Implemented, with internal calls to ICU apart
855         from the Invariant culture.
856         
857         * SortKey.cs:
858         * CompareInfo.cs: Implemented
859
860         * DateTimeFormatInfo.cs: Fixed the worst of the formatting,
861         construct default FullDateTimePattern on the fly.
862
863 2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
864
865         * Locale.cs: Removed (added new version to Assembly directory)
866
867 2003-07-23  Duncan Mak  <duncan@ximian.com>
868
869         * DateTimeFormatInfo.cs: theInvariantDateTimeFormatInfo should not
870         be public.
871
872 2003-05-11  Ben Maurer  <bmaurer@users.sourceforge.net>
873
874         * *Calendar.cs: Implemented the TwoDigitYearMax property.
875         
876 2003-04-22  Pedro Martínez Juliá  <yoros@wanadoo.es>
877
878         * NumberFormatInfo.cs: Method CurrentInfo now returns the "real"
879         CurrentInfo (Thread.CurrentThread.CurrentCulture.NumberFormat).
880
881 2003-02-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
882
883         * CultureInfo.cs:
884         (NameToID): make it case insensitive and use a hashtable instead of
885         comparing all the strings.
886
887 Mon Nov 18 13:02:09 CET 2002 Paolo Molaro <lupus@ximian.com>
888
889         * CultureInfo.cs: implemented Equals and GetHashCode.
890
891 2002-10-17  Duncan Mak  <duncan@ximian.com>
892
893         * CultureInfo.cs (TextInfo): return a TextInfo in the property.
894
895         * TextInfo.cs (ToLower):
896         (ToTitleCase): Implemented.
897
898 2002-09-12  Dick Porter  <dick@ximian.com>
899
900         * ThaiBuddhistCalendar.cs: 
901         * TextInfo.cs: 
902         * TaiwanCalendar.cs: 
903         * RegionInfo.cs: 
904         * KoreanCalendar.cs: 
905         * JulianCalendar.cs: 
906         * JapaneseCalendar.cs: 
907         * HijriCalendar.cs: 
908         * HebrewCalendar.cs: 
909         * GregorianCalendar.cs: 
910         * CultureInfo.cs: 
911         * CompareInfo.cs: Stub out missing methods
912
913 2002-08-15  Tim Coleamn <tim@timcoleman.com>
914         * CompareInfo.cs:
915                 Stubbed out some methods.
916
917 2002-08-14  Dick Porter  <dick@ximian.com>
918
919         * CultureInfo.cs: Implement Name, stub out all the other missing
920         methods.
921
922         * TextInfo.cs: Stubbed out this class
923
924 2002-06-12  Nick Drochak  <ndrochak@gol.com>
925
926         * DateTimeFormatInfo.cs: Reformat.
927
928 2002-06-11  Nick Drochak  <ndrochak@gol.com>
929
930         * NumberFormatInfo.cs: Make NumberNegativePattern = 1 for the ctor
931
932 2002-06-07  Nick Drochak  <ndrochak@gol.com>
933
934         * NumberFormatInfo.cs: Make InvariantInfo.NumberNegativePattern = 1
935
936 2002-05-07  Rodrigo Moya <rodrigo@ximian.com>
937
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).
940
941 2002-04-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
942
943         * NumberFormatInfo.cs: always set the values for the invariant culture
944         until there are more cultures supported.
945
946 2002-04-22  Nick Drochak  <ndrochak@gol.com>
947
948         * NumberStyles.cs: Add [Serializable].
949
950 2002-04-08  Nick Drochak  <ndrochak@gol.com>
951
952         * UnicodeCategory.cs: Fix typos in enum names.
953
954 2002-03-04  Nick Drochak  <ndrochak@gol.com>
955
956         * JulianCalendar.cs: JulianEra should be field, not a property.
957         Thanks CorCompare (and Piers).
958
959 2002-02-12  Duncan Mak  <duncan@ximian.com>
960
961         * CultureInfo.cs: Added the Calendar property to make the TimeZone
962         class build. It's marked as MonoTODO.
963
964 2002-02-12  Nick Drochak  <ndrochak@gol.com>
965
966         * UnicodeCategory.cs: Fix typo.
967
968 2002-02-01  Radek Doulik  <rodo@ximian.com>
969
970         * RegionInfo.cs: started work on RegionInfo
971         implemented RegionInfo (string) constructor
972
973         * CultureInfo.cs: added internal static function,
974         which could be used from RegionInfo.cs
975
976 2002-01-16  Miguel de Icaza  <miguel@ximian.com>
977
978         * CultureInfo.cs: Completed the tables.   Now we need to actually
979         fill it in.
980
981 2002-01-15  Duncan Mak  <duncan@ximian.com>
982
983         * CultureInfo.cs: Convert it to unix text.
984
985 2002-01-04  Ravi Pratap  <ravi@ximian.com>
986
987         * GreogrianCalendar.cs : The same old MonoTODO attribute.
988
989 2001-11-21  Miguel de Icaza  <miguel@ximian.com>
990
991         * Locale.cs: New file, a place holder for Locale.GetText.
992
993 Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <lupus@ximian.com>
994
995         * Calendar.cs: CLSCompliant updates.
996
997 2001-11-04  Martin Weindel <martin.weindel@t-online.de>
998         * NumberFormatInfo.cs: fixed minor bug in Clone with readonly flag
999
1000         * DateTimeFormatInfo.cs: added
1001
1002         * CultureInfo.cs: some changed needed for compiling DateTimeFormatInfo.cs
1003
1004 2001-10-26  Miguel de Icaza  <miguel@ximian.com>
1005
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.
1009
1010         * CultureInfo.cs: Begun implementation.
1011
1012 2001-10-09  Derek Holden  <dholden@draper.com>
1013
1014         * NumberFormatInfo.cs: Small typo in PercentPositivePattern
1015         and CurrencyPositivePattern
1016
1017 2001-09-02  Miguel de Icaza  <miguel@ximian.com>
1018
1019         * Calendar.cs: Implement a bunch of missing features.
1020
1021 2001-07-24  Derek Holden  <dholden@draper.com>
1022
1023         * NumberStyles.cs: Added ECMA values for Allow types and default
1024         styles.
1025
1026 2001-07-18  Michael Lambert <michaellambert@email.com>
1027
1028         * DateTimeStyles.cs, NumberStyles.cs: Add.
1029