1 2006-08-19 Miguel de Icaza <miguel@novell.com>
3 * CultureInfo.cs (GetCultureInfo): implement two of the 2.0
4 overloads, as the vb code depends on this.
6 2006-07-03 Kornél Pál <kornelpal@gmail.com>
8 * CodePageDataItem.cs: Added.
10 2006-06-30 Zoltan Varga <vargaz@gmail.com>
12 * CultureInfo.cs: Add stubs for net 2.0 GetCultureInfo () methods.
14 2006-03-21 Atsushi Enomoto <atsushi@ximian.com>
16 * HebrewCalrndar.cs : simply use CCHebrewCalendar.last_day_of_month().
17 Patch by Yaacov Akiba Slama. Fixed bug #76252.
19 2006-03-20 Atsushi Enomoto <atsushi@ximian.com>
21 * HebrewCalrndar.cs : removed commented obsolete code.
23 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
25 * TextInfo.cs : (ToUpper/ToLower) use InternalAllocateStr() and
26 pointers rather than StringBuilder.
28 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
30 * DateTimeFormatInfo.cs: Restored original field order to allow
31 some automatic locale fu to happen (mono unmanaged code relies
32 on the field order to fill out DateTimeFormatInfo)
34 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
36 * DateTimeFormatInfo.cs: Switched (where possible) our internal
37 field names to match MS names. Added fields that MS has and we
38 don't. Fixes serialization issues with MS.
39 * CultureInfo.cs, Calendar.cs, TextInfo.cs,
40 GregorianCalenda.cs: Hiding internal attributes from serialization
42 2006-01-25 Atsushi Enomoto <atsushi@ximian.com>
44 * CultureInfo.cs : Clone() attempted to clone number and date time
45 formats, thus failed. Fixed bug #77347.
47 2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
49 * DaylightTime.cs: Fixed serialization to be compatible with MS FX.
50 Pre-requisite to fix bug #76094.
52 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
54 * DateTimeStyles.cs: ComVisible is only needed in 2.0.
55 * TextInfo.cs: Added some 2.0 features that were needed (e.g. LCID)
56 to implement serialization for another class. Added TODO on class for
57 deserialization (so it shows up in the status page).
59 2005-11-29 Atsushi Enomoto <atsushi@ximian.com>
61 * CompareInfo.cs : IsSortable() are static.
62 * CharUnicodeInfo.cs : became non-static in RTM.
63 * Calendar.cs : added support for Clone() and IsReadOnly.
64 * HijriCalendar.cs ThaiBuddhistCalendar.cs HebrewCalendar.cs
65 GregorianCalendar.cs KoreanCalendar.cs JulianCalendar.cs
66 TaiwanCalendar.cs JapaneseCalendar.cs PersianCalendar.cs :
67 check IsReadOnly on every setter.
69 2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
71 * CompareInfo.cs : added support for OrdinalIgnoreCase.
73 2005-10-31 Miguel de Icaza <miguel@novell.com>
75 * HijriCalendar.cs, HebrewCalendar.cs, JulianCalendar.cs,
76 GregorianCalendar.cs, JapaneseCalendar.cs, Calendar.cs,
77 TaiwanCalendar.cs, HijriCalendar.cs: Add
78 CalendarAlgorithmType, MinSupportedDateTime, MaxSupportedDateTime
81 * Added ComVisibleAttribute in a bunch of places, using the fully
82 qualified name to speed up cut and paste.
84 2005-10-14 Ben Maurer <bmaurer@ximian.com>
86 * DateTimeFormatInfo.cs: Speed up GetAllDateTimePatterns by
87 caching the result and then cloning it.
89 2005-10-10 Ben Maurer <bmaurer@ximian.com>
91 * DateTimeFormatInfo.cs: Rather than having a + ' ' + b, have a +
92 " " + b. This lets us avoid 1) boxing the char and 2) calling
93 char.ToString. Results in a fairly substantial savings on
96 2005-09-21 Atsushi Enomoto <atsushi@ximian.com>
98 * CompareInfo.cs : switched to "managed collation by default" mode.
100 2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
102 * CompareInfo.cs: Use Environment.internalGetEnvironmentVariable as
103 the .cctor gets executed before the security manager is ready to be
104 activated (and cause recursion with --security).
106 2005-08-17 Atsushi Enomoto <atsushi@ximian.com>
108 * RegionInfo.cs : unlocked CurrentRegion creation.
110 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
112 * RegionInfo.cs : removed extraneous icall wrappers.
114 2005-08-15 Atsushi Enomoto <atsushi@ximian.com>
116 * RegionInfo.cs : reimplemented to use unicode CLDR.
118 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
120 * TextInfo.cs: For invariant culture, ListSeparator is a comma.
122 2005-08-12 Atsushi Enomoto <atsushi@ximian.com>
124 * DateTimeFormatInfo.cs : GetAbbreviatedEraNames() and GetEra().
126 2005-08-11 Atsushi Enomoto <atsushi@ximian.com>
128 * CultureInfo.cs : lazy load OptionalCalendars (and always non-null).
129 * DateTimeFormatInfo.cs : GetEraNames() should work.
131 2005-08-11 Atsushi Enomoto <atsushi@ximian.com>
133 * CultureInfo.cs : added BootstrapCultureID for RegionInfo.
134 * RegionInfo.cs : implemented CurrentRegion. Added MonoTODOs.
136 2005-08-10 Atsushi Enomoto <atsushi@ximian.com>
138 * CompareInfo.cs : added IsSortable(). (NET_2_0)
140 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
142 * CompareInfo.cs: Marked UseManagedCollation internal to have API
143 match that of MS.NET.
145 2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
148 Added managed collation support. It won't be activated unless you
149 explicitly set environment MONO_USE_MANAGED_COLLATION=yes.
151 2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
153 * CompareInfo.cs : LastIndexOf() which takes startIndex without length
154 should use startIndex+1 as length.
156 2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
158 * CompareInfo.cs : IndexOf(string, char, ...) overloads must not
159 specify start as 0. Use source.Length - 1 instead.
161 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
163 * NumberFormatInfo.cs: undo workaround for bug 55978 as it's not needed
164 any more. This fixed bug #75396.
166 2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
168 * CultureInfo.cs: added internal method to check for a culture
169 valid for formatting. Correctly get the calendar type. Before
170 it was always type 0. Thanks to Mcs for pointing this out.
172 2005-05-06 Miguel de Icaza <miguel@novell.com>
174 * CultureInfo.cs: Eliminate double-check lock always init the invariant_culture_info.
176 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
178 * CultureInfo.cs: made a few variables 'volatile'. GetCultures now
179 returns the InvariantCulture in the array. Fixes bug #72081.
181 2005-04-27 Atsushi Enomoto <atsushi@ximian.com>
183 * TextInfo.cs : Some performance fixes. Avoid delegate.
184 Compute parent culture only once. Quick ASCII range check.
186 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
188 * TextInfo.cs : extremely strict null check (which should not happen).
190 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
192 * TextInfo.cs : Additional null check for Parent CultureInfo.
194 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
196 * TextInfo.cs : To make new CultureInfo (127) as invariant, it should
197 not compare object Equals() against InvariantCulture.
199 2005-04-05 Atsushi Enomoto <atsushi@ximian.com>
201 * TextInfo.cs : Fixed ToTitleCase() so that
202 - handle some titlecase characters in Latin ang Greek.
203 - it keeps "all title case" word as is ("ABC" does not become "Abc").
204 - it can handle such string like "1ABc".
206 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
208 * TextInfo.cs : implemented culture sensitive ToLower() and ToUpper()
209 which behaves exactly the same as MS.NET does.
211 2005-02-09 Lluis Sanchez Gual <lluis@ximian.com>
213 * CultureInfo.cs: Added field needed for serialization
214 interoperability with MS.NET. Also fixed default value for
217 2005-01-31 Atsushi Enomoto <atsushi@ximian.com>
219 * NumberFormatInfo.cs : allow zero length sizes. patch by Kazuki
222 2005-01-20 Jackson Harper <jackson@ximian.com>
224 * HebrewCalendar.cs: Patch by Juan C. Olivares
225 (juancri@tagnet.org) to implement 4 digit years and set the
228 2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
230 * CharUnicodeInfo.cs : added new in 2.0 (kinda hacky).
232 2005-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
234 * CultureInfo.cs: the InvariantCulture returns false for
235 IsNeutralCulture. Fixes bug #59716.
237 2004-12-13 Ben Maurer <bmaurer@ximian.com>
239 * CultureInfo.cs: Store TextInfo data. Hand it over to TextInfo.
240 * TextInfo.cs: Rewrote props to use the textinfo data stored in
243 2004-11-04 Zoltan Varga <vargaz@freemail.hu>
245 * CultureInfo.cs (Clone): Make the components of the culture read-write
248 2004-10-14 Miguel de Icaza <miguel@ximian.com>
250 * TextInfo.cs (ToString) Fix the return value for ToString.
252 (Add a new parameter: the CultureInfo, since we implemented things
253 in terms of the CultureInfo in our runtime, and not the
256 (ToTitleCase): Fix to do title case for each word on the string
259 Wed Jun 30 17:06:43 CEST 2004 Paolo Molaro <lupus@ximian.com>
261 * NumberFormatInfo.cs: workaround for bug 55978.
263 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
265 * DateTimeFormatInfo.cs : check if pattern array is empty or not. Now
266 icall fills them as possible empty list.
268 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
270 * DateTimeFormatInfo.cs: added TODO for serialization
271 * GregorianCalendar.cs:: added TODO for serialization
272 * HebrewCalendar.cs: added TODO for serialization
273 * HijriCalendar.cs: added TODO for serialization
274 * JapaneseCalendar.cs: added TODO for serialization
275 * JulianCalendar.cs: added TODO for serialization
276 * KoreanCalendar.cs: added TODO for serialization
277 * TaiwanCalendar.cs: added TODO for serialization
278 * ThaiBuddhistCalendar.cs: added TODO for serialization
280 2004-06-08 Dick Porter <dick@ximian.com>
282 * CultureInfo.cs: Make calendar_data readonly, to match the
283 const-ness in the runtime.
285 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
287 * DateTimeFormatInfo.cs : In fact GetAllDateTimePatterns() returns
288 non-unique results. Just reordered return values looking at MS
291 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
293 * DateTimeFormatInfo.cs : 'U' is in fact the same as 'F' for pattern
294 strings. Thanks to kangaroo for the hint.
296 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
298 * DateTimeFormatInfo.cs : Fixed longtimes and shorttimes (exchanged).
300 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
302 * DateTimeFormatInfo.cs : Added some string[] fields for
303 GetAllDateTimePatterns(char). The fields will be filled in metadata
304 and culture info table. Added improved patterns for
305 GetAllDateTimePatterns() (right now works only for invariant).
306 * CultureInfo.cs : Use InvariantInfo for InvariantCulture.
308 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
310 * DateTimeFormatInfo.cs :
311 hack implementation for GetAllDateTimePatterns().
313 2004-05-17 Jackson Harper <jackson@ximian.com>
315 * CultureInfo.cs: Invariant culture has the invariant culture as
316 its parent....<insert joke about the south>. It is readonly so we
319 2004-05-17 Jackson Harper <jackson@ximian.com>
321 * CultureInfo.cs: Properify error messages when invalid lcid's are
324 2004-05-15 Jackson Harper <jackson@ximian.com>
326 * CultureInfo.cs: Initialize optional calendars. A pointer to an
327 array of ints is passed back from the runtime to the CultureInfo
328 object. The ints store the calendar type and any optional data
329 needed to construct the calendar.
331 2004-05-14 Dick Porter <dick@ximian.com>
333 * HebrewCalendar.cs: Stubbed ToFourDigitYear()
335 * HijriCalendar.cs: Stubbed HijriAdjustment
337 2004-05-13 Jackson Harper <jackson@ximian.com>
339 * CultureInfo.cs: You can access DateTimeFormat and NumberFormat
340 from the invariant culture.
342 2004-05-13 Jackson Harper <jackson@ximian.com>
344 * CultureInfo.cs: DateTimeFormat and NumberFormat can not be
345 accessed for neutral cultures.
347 2004-04-30 Dick Porter <dick@ximian.com>
350 * TextElementEnumerator.cs: Implemented
352 2004-04-27 Jackson Harper <jackson@ximian.com>
354 * CultureInfo.cs: Make specific names lower case, because all data
355 in the culture info tables is lowercase.
357 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
359 * CultureInfo.cs: Call invariant String.ToLower
360 * RegionInfo.cs: Call invariant String.ToUpper
362 2004-04-11 Atsushi Enomoto <atsushi@ximian.com>
364 * NumberFormatInfo.cs : All GetXXXGroupSizes() should not return
365 internal array. Return clone as MS.NET does.
367 There still looks somewhere breaking CurrentInfo.
369 2004-04-08 Lluis Sanchez Gual <lluis@ximian.com>
371 * CompareInfo.cs, CultureInfo.cs, NumberFormatInfo.cs, TextInfo.cs:
372 Made those serializable-compatible with MS.NET: modified fields names to
373 match MS.NET ones, and in CultureInfo added a flag to control when a
374 deserialized instance need to be initialized.
376 2004-04-07 Jackson Harper <jackson@ximian.com>
378 * CultureInfo.cs: Use new ICUless implementation in the runtime.
379 * CompareInfo.cs: Get ICU name from a cultureinfo object instead
380 of looking it up in the culture map.
381 * RegionInfo.cs: Dont check if the LCID is neutral unless its not
382 found in the switch. Avoids an icall.
384 2004-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
386 * NumberFormatInfo.cs: this fixes bug #56000 for me. And it doesn't
387 break anything as NumberFormatInfo is sealed.
389 2004-02-14 Atsushi Enomoto <atsushi@ximian.com>
391 * NumberFormatInfo.cs : CurrentInfo should not return clone every
392 time (MS.NET returns the same object; try object.ReferenceEquals()).
394 2004-02-08 David Sheldon <dave-mono@earth.li>
396 * NumberFormatInfo.cs: When parsing the percentages, put the data
397 into PercentDecimalDigits/PercentGroupLengths, rather than trashing
398 the NumberDecimatDigits etc. This also means that the percent format
401 2004-01-27 David Sheldon <dave-mono@earth.li>
403 * NumberFormatInfo.cs: InitPatterns: it seems that the patterns in
404 ICU use digitPattern, not zeroPattern for the spaces after the
407 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
409 * CultureInfo.cs: Parent returns null when lcid == parent_lcid. Fixes
412 2003-12-20 Ben Maurer <bmaurer@users.sourceforge.net>
414 * CompareInfo.cs: Replace blah == "" with blah.Length == 0.
415 MUCH faster. Note, we dont need to check for nulls, because
416 the properties were used in other places.
418 2003-12-19 Dick Porter <dick@ximian.com>
420 * CompareInfo.cs: Added assorted shortcuts when comparing empty
421 strings. Fixed offset and length range checks to flag when <0.
422 Broke test that offset >= string length to match actual ms
423 behaviour (sigh.) Fixes bug 52310.
425 2003-12-06 Dick Porter <dick@ximian.com>
427 * CompareInfo.cs: Don't build strings in Compare, IndexOf and
428 LastIndexOf methods. Avoid the icall in IndexOf and LastIndexOf
429 if the search parameter is a char and the CompareOptions include
432 2003-12-04 Dick Porter <dick@ximian.com>
434 * CompareInfo.cs: Implement the deserialization callback
436 * CultureInfo.cs: Allow CompareInfo to see the CultureMap so that
437 it can construct the ICU collator itself
439 2003-12-02 Dick Porter <dick@ximian.com>
441 * NumberFormatInfo.cs: Helper called by runtime locale
442 construction from ICU. Patch by Mohammad DAMT (mdamt@cdl2000.com).
444 2003-12-01 Dick Porter <dick@ximian.com>
446 * CultureInfo.cs: Culture name creation is case-insensitive.
447 Implemented CurrentCulture and CurrentUICulture.
449 * CompareInfo.cs: Fix IndexOf and LastIndexOf so that they work
450 for combining characters.
452 2003-11-05 Pedro Martínez Juliá <yoros@wanadoo.es>
454 * DateTimeFormatInfo.cs: Hack an era for US culture. We must look
455 for other ways to get the ERA string.
457 2003-10-21 Dick Porter <dick@ximian.com>
460 * CultureInfo.cs: Implement TextInfo.GetHashCode(). Fixes bug
463 2003-10-09 Dick Porter <dick@ximian.com>
465 * CultureInfo.cs: Implemented, with internal calls to ICU apart
466 from the Invariant culture.
469 * CompareInfo.cs: Implemented
471 * DateTimeFormatInfo.cs: Fixed the worst of the formatting,
472 construct default FullDateTimePattern on the fly.
474 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
476 * Locale.cs: Removed (added new version to Assembly directory)
478 2003-07-23 Duncan Mak <duncan@ximian.com>
480 * DateTimeFormatInfo.cs: theInvariantDateTimeFormatInfo should not
483 2003-05-11 Ben Maurer <bmaurer@users.sourceforge.net>
485 * *Calendar.cs: Implemented the TwoDigitYearMax property.
487 2003-04-22 Pedro Martínez Juliá <yoros@wanadoo.es>
489 * NumberFormatInfo.cs: Method CurrentInfo now returns the "real"
490 CurrentInfo (Thread.CurrentThread.CurrentCulture.NumberFormat).
492 2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
495 (NameToID): make it case insensitive and use a hashtable instead of
496 comparing all the strings.
498 Mon Nov 18 13:02:09 CET 2002 Paolo Molaro <lupus@ximian.com>
500 * CultureInfo.cs: implemented Equals and GetHashCode.
502 2002-10-17 Duncan Mak <duncan@ximian.com>
504 * CultureInfo.cs (TextInfo): return a TextInfo in the property.
506 * TextInfo.cs (ToLower):
507 (ToTitleCase): Implemented.
509 2002-09-12 Dick Porter <dick@ximian.com>
511 * ThaiBuddhistCalendar.cs:
517 * JapaneseCalendar.cs:
520 * GregorianCalendar.cs:
522 * CompareInfo.cs: Stub out missing methods
524 2002-08-15 Tim Coleamn <tim@timcoleman.com>
526 Stubbed out some methods.
528 2002-08-14 Dick Porter <dick@ximian.com>
530 * CultureInfo.cs: Implement Name, stub out all the other missing
533 * TextInfo.cs: Stubbed out this class
535 2002-06-12 Nick Drochak <ndrochak@gol.com>
537 * DateTimeFormatInfo.cs: Reformat.
539 2002-06-11 Nick Drochak <ndrochak@gol.com>
541 * NumberFormatInfo.cs: Make NumberNegativePattern = 1 for the ctor
543 2002-06-07 Nick Drochak <ndrochak@gol.com>
545 * NumberFormatInfo.cs: Make InvariantInfo.NumberNegativePattern = 1
547 2002-05-07 Rodrigo Moya <rodrigo@ximian.com>
549 * CompareInfo.cs: new basic stub (compiles on Linux, so I assume
550 it does not break the build on windows. Sorry if it does).
552 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
554 * NumberFormatInfo.cs: always set the values for the invariant culture
555 until there are more cultures supported.
557 2002-04-22 Nick Drochak <ndrochak@gol.com>
559 * NumberStyles.cs: Add [Serializable].
561 2002-04-08 Nick Drochak <ndrochak@gol.com>
563 * UnicodeCategory.cs: Fix typos in enum names.
565 2002-03-04 Nick Drochak <ndrochak@gol.com>
567 * JulianCalendar.cs: JulianEra should be field, not a property.
568 Thanks CorCompare (and Piers).
570 2002-02-12 Duncan Mak <duncan@ximian.com>
572 * CultureInfo.cs: Added the Calendar property to make the TimeZone
573 class build. It's marked as MonoTODO.
575 2002-02-12 Nick Drochak <ndrochak@gol.com>
577 * UnicodeCategory.cs: Fix typo.
579 2002-02-01 Radek Doulik <rodo@ximian.com>
581 * RegionInfo.cs: started work on RegionInfo
582 implemented RegionInfo (string) constructor
584 * CultureInfo.cs: added internal static function,
585 which could be used from RegionInfo.cs
587 2002-01-16 Miguel de Icaza <miguel@ximian.com>
589 * CultureInfo.cs: Completed the tables. Now we need to actually
592 2002-01-15 Duncan Mak <duncan@ximian.com>
594 * CultureInfo.cs: Convert it to unix text.
596 2002-01-04 Ravi Pratap <ravi@ximian.com>
598 * GreogrianCalendar.cs : The same old MonoTODO attribute.
600 2001-11-21 Miguel de Icaza <miguel@ximian.com>
602 * Locale.cs: New file, a place holder for Locale.GetText.
604 Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <lupus@ximian.com>
606 * Calendar.cs: CLSCompliant updates.
608 2001-11-04 Martin Weindel <martin.weindel@t-online.de>
609 * NumberFormatInfo.cs: fixed minor bug in Clone with readonly flag
611 * DateTimeFormatInfo.cs: added
613 * CultureInfo.cs: some changed needed for compiling DateTimeFormatInfo.cs
615 2001-10-26 Miguel de Icaza <miguel@ximian.com>
617 * NumberFormatInfo.cs: Provide an internal constructor that takes
618 as an argument a CultureInfo ID (LCID) so that we can construct
621 * CultureInfo.cs: Begun implementation.
623 2001-10-09 Derek Holden <dholden@draper.com>
625 * NumberFormatInfo.cs: Small typo in PercentPositivePattern
626 and CurrencyPositivePattern
628 2001-09-02 Miguel de Icaza <miguel@ximian.com>
630 * Calendar.cs: Implement a bunch of missing features.
632 2001-07-24 Derek Holden <dholden@draper.com>
634 * NumberStyles.cs: Added ECMA values for Allow types and default
637 2001-07-18 Michael Lambert <michaellambert@email.com>
639 * DateTimeStyles.cs, NumberStyles.cs: Add.