1 2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * CultureInfo.cs: added internal method to check for a culture
4 valid for formatting. Correctly get the calendar type. Before
5 it was always type 0. Thanks to Mcs for pointing this out.
7 2005-05-06 Miguel de Icaza <miguel@novell.com>
9 * CultureInfo.cs: Eliminate double-check lock always init the invariant_culture_info.
11 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
13 * CultureInfo.cs: made a few variables 'volatile'. GetCultures now
14 returns the InvariantCulture in the array. Fixes bug #72081.
16 2005-04-27 Atsushi Enomoto <atsushi@ximian.com>
18 * TextInfo.cs : Some performance fixes. Avoid delegate.
19 Compute parent culture only once. Quick ASCII range check.
21 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
23 * TextInfo.cs : extremely strict null check (which should not happen).
25 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
27 * TextInfo.cs : Additional null check for Parent CultureInfo.
29 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
31 * TextInfo.cs : To make new CultureInfo (127) as invariant, it should
32 not compare object Equals() against InvariantCulture.
34 2005-04-05 Atsushi Enomoto <atsushi@ximian.com>
36 * TextInfo.cs : Fixed ToTitleCase() so that
37 - handle some titlecase characters in Latin ang Greek.
38 - it keeps "all title case" word as is ("ABC" does not become "Abc").
39 - it can handle such string like "1ABc".
41 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
43 * TextInfo.cs : implemented culture sensitive ToLower() and ToUpper()
44 which behaves exactly the same as MS.NET does.
46 2005-02-09 Lluis Sanchez Gual <lluis@ximian.com>
48 * CultureInfo.cs: Added field needed for serialization
49 interoperability with MS.NET. Also fixed default value for
52 2005-01-31 Atsushi Enomoto <atsushi@ximian.com>
54 * NumberFormatInfo.cs : allow zero length sizes. patch by Kazuki
57 2005-01-20 Jackson Harper <jackson@ximian.com>
59 * HebrewCalendar.cs: Patch by Juan C. Olivares
60 (juancri@tagnet.org) to implement 4 digit years and set the
63 2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
65 * CharUnicodeInfo.cs : added new in 2.0 (kinda hacky).
67 2005-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
69 * CultureInfo.cs: the InvariantCulture returns false for
70 IsNeutralCulture. Fixes bug #59716.
72 2004-12-13 Ben Maurer <bmaurer@ximian.com>
74 * CultureInfo.cs: Store TextInfo data. Hand it over to TextInfo.
75 * TextInfo.cs: Rewrote props to use the textinfo data stored in
78 2004-11-04 Zoltan Varga <vargaz@freemail.hu>
80 * CultureInfo.cs (Clone): Make the components of the culture read-write
83 2004-10-14 Miguel de Icaza <miguel@ximian.com>
85 * TextInfo.cs (ToString) Fix the return value for ToString.
87 (Add a new parameter: the CultureInfo, since we implemented things
88 in terms of the CultureInfo in our runtime, and not the
91 (ToTitleCase): Fix to do title case for each word on the string
94 Wed Jun 30 17:06:43 CEST 2004 Paolo Molaro <lupus@ximian.com>
96 * NumberFormatInfo.cs: workaround for bug 55978.
98 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
100 * DateTimeFormatInfo.cs : check if pattern array is empty or not. Now
101 icall fills them as possible empty list.
103 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
105 * DateTimeFormatInfo.cs: added TODO for serialization
106 * GregorianCalendar.cs:: added TODO for serialization
107 * HebrewCalendar.cs: added TODO for serialization
108 * HijriCalendar.cs: added TODO for serialization
109 * JapaneseCalendar.cs: added TODO for serialization
110 * JulianCalendar.cs: added TODO for serialization
111 * KoreanCalendar.cs: added TODO for serialization
112 * TaiwanCalendar.cs: added TODO for serialization
113 * ThaiBuddhistCalendar.cs: added TODO for serialization
115 2004-06-08 Dick Porter <dick@ximian.com>
117 * CultureInfo.cs: Make calendar_data readonly, to match the
118 const-ness in the runtime.
120 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
122 * DateTimeFormatInfo.cs : In fact GetAllDateTimePatterns() returns
123 non-unique results. Just reordered return values looking at MS
126 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
128 * DateTimeFormatInfo.cs : 'U' is in fact the same as 'F' for pattern
129 strings. Thanks to kangaroo for the hint.
131 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
133 * DateTimeFormatInfo.cs : Fixed longtimes and shorttimes (exchanged).
135 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
137 * DateTimeFormatInfo.cs : Added some string[] fields for
138 GetAllDateTimePatterns(char). The fields will be filled in metadata
139 and culture info table. Added improved patterns for
140 GetAllDateTimePatterns() (right now works only for invariant).
141 * CultureInfo.cs : Use InvariantInfo for InvariantCulture.
143 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
145 * DateTimeFormatInfo.cs :
146 hack implementation for GetAllDateTimePatterns().
148 2004-05-17 Jackson Harper <jackson@ximian.com>
150 * CultureInfo.cs: Invariant culture has the invariant culture as
151 its parent....<insert joke about the south>. It is readonly so we
154 2004-05-17 Jackson Harper <jackson@ximian.com>
156 * CultureInfo.cs: Properify error messages when invalid lcid's are
159 2004-05-15 Jackson Harper <jackson@ximian.com>
161 * CultureInfo.cs: Initialize optional calendars. A pointer to an
162 array of ints is passed back from the runtime to the CultureInfo
163 object. The ints store the calendar type and any optional data
164 needed to construct the calendar.
166 2004-05-14 Dick Porter <dick@ximian.com>
168 * HebrewCalendar.cs: Stubbed ToFourDigitYear()
170 * HijriCalendar.cs: Stubbed HijriAdjustment
172 2004-05-13 Jackson Harper <jackson@ximian.com>
174 * CultureInfo.cs: You can access DateTimeFormat and NumberFormat
175 from the invariant culture.
177 2004-05-13 Jackson Harper <jackson@ximian.com>
179 * CultureInfo.cs: DateTimeFormat and NumberFormat can not be
180 accessed for neutral cultures.
182 2004-04-30 Dick Porter <dick@ximian.com>
185 * TextElementEnumerator.cs: Implemented
187 2004-04-27 Jackson Harper <jackson@ximian.com>
189 * CultureInfo.cs: Make specific names lower case, because all data
190 in the culture info tables is lowercase.
192 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
194 * CultureInfo.cs: Call invariant String.ToLower
195 * RegionInfo.cs: Call invariant String.ToUpper
197 2004-04-11 Atsushi Enomoto <atsushi@ximian.com>
199 * NumberFormatInfo.cs : All GetXXXGroupSizes() should not return
200 internal array. Return clone as MS.NET does.
202 There still looks somewhere breaking CurrentInfo.
204 2004-04-08 Lluis Sanchez Gual <lluis@ximian.com>
206 * CompareInfo.cs, CultureInfo.cs, NumberFormatInfo.cs, TextInfo.cs:
207 Made those serializable-compatible with MS.NET: modified fields names to
208 match MS.NET ones, and in CultureInfo added a flag to control when a
209 deserialized instance need to be initialized.
211 2004-04-07 Jackson Harper <jackson@ximian.com>
213 * CultureInfo.cs: Use new ICUless implementation in the runtime.
214 * CompareInfo.cs: Get ICU name from a cultureinfo object instead
215 of looking it up in the culture map.
216 * RegionInfo.cs: Dont check if the LCID is neutral unless its not
217 found in the switch. Avoids an icall.
219 2004-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
221 * NumberFormatInfo.cs: this fixes bug #56000 for me. And it doesn't
222 break anything as NumberFormatInfo is sealed.
224 2004-02-14 Atsushi Enomoto <atsushi@ximian.com>
226 * NumberFormatInfo.cs : CurrentInfo should not return clone every
227 time (MS.NET returns the same object; try object.ReferenceEquals()).
229 2004-02-08 David Sheldon <dave-mono@earth.li>
231 * NumberFormatInfo.cs: When parsing the percentages, put the data
232 into PercentDecimalDigits/PercentGroupLengths, rather than trashing
233 the NumberDecimatDigits etc. This also means that the percent format
236 2004-01-27 David Sheldon <dave-mono@earth.li>
238 * NumberFormatInfo.cs: InitPatterns: it seems that the patterns in
239 ICU use digitPattern, not zeroPattern for the spaces after the
242 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
244 * CultureInfo.cs: Parent returns null when lcid == parent_lcid. Fixes
247 2003-12-20 Ben Maurer <bmaurer@users.sourceforge.net>
249 * CompareInfo.cs: Replace blah == "" with blah.Length == 0.
250 MUCH faster. Note, we dont need to check for nulls, because
251 the properties were used in other places.
253 2003-12-19 Dick Porter <dick@ximian.com>
255 * CompareInfo.cs: Added assorted shortcuts when comparing empty
256 strings. Fixed offset and length range checks to flag when <0.
257 Broke test that offset >= string length to match actual ms
258 behaviour (sigh.) Fixes bug 52310.
260 2003-12-06 Dick Porter <dick@ximian.com>
262 * CompareInfo.cs: Don't build strings in Compare, IndexOf and
263 LastIndexOf methods. Avoid the icall in IndexOf and LastIndexOf
264 if the search parameter is a char and the CompareOptions include
267 2003-12-04 Dick Porter <dick@ximian.com>
269 * CompareInfo.cs: Implement the deserialization callback
271 * CultureInfo.cs: Allow CompareInfo to see the CultureMap so that
272 it can construct the ICU collator itself
274 2003-12-02 Dick Porter <dick@ximian.com>
276 * NumberFormatInfo.cs: Helper called by runtime locale
277 construction from ICU. Patch by Mohammad DAMT (mdamt@cdl2000.com).
279 2003-12-01 Dick Porter <dick@ximian.com>
281 * CultureInfo.cs: Culture name creation is case-insensitive.
282 Implemented CurrentCulture and CurrentUICulture.
284 * CompareInfo.cs: Fix IndexOf and LastIndexOf so that they work
285 for combining characters.
287 2003-11-05 Pedro Martínez Juliá <yoros@wanadoo.es>
289 * DateTimeFormatInfo.cs: Hack an era for US culture. We must look
290 for other ways to get the ERA string.
292 2003-10-21 Dick Porter <dick@ximian.com>
295 * CultureInfo.cs: Implement TextInfo.GetHashCode(). Fixes bug
298 2003-10-09 Dick Porter <dick@ximian.com>
300 * CultureInfo.cs: Implemented, with internal calls to ICU apart
301 from the Invariant culture.
304 * CompareInfo.cs: Implemented
306 * DateTimeFormatInfo.cs: Fixed the worst of the formatting,
307 construct default FullDateTimePattern on the fly.
309 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
311 * Locale.cs: Removed (added new version to Assembly directory)
313 2003-07-23 Duncan Mak <duncan@ximian.com>
315 * DateTimeFormatInfo.cs: theInvariantDateTimeFormatInfo should not
318 2003-05-11 Ben Maurer <bmaurer@users.sourceforge.net>
320 * *Calendar.cs: Implemented the TwoDigitYearMax property.
322 2003-04-22 Pedro Martínez Juliá <yoros@wanadoo.es>
324 * NumberFormatInfo.cs: Method CurrentInfo now returns the "real"
325 CurrentInfo (Thread.CurrentThread.CurrentCulture.NumberFormat).
327 2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
330 (NameToID): make it case insensitive and use a hashtable instead of
331 comparing all the strings.
333 Mon Nov 18 13:02:09 CET 2002 Paolo Molaro <lupus@ximian.com>
335 * CultureInfo.cs: implemented Equals and GetHashCode.
337 2002-10-17 Duncan Mak <duncan@ximian.com>
339 * CultureInfo.cs (TextInfo): return a TextInfo in the property.
341 * TextInfo.cs (ToLower):
342 (ToTitleCase): Implemented.
344 2002-09-12 Dick Porter <dick@ximian.com>
346 * ThaiBuddhistCalendar.cs:
352 * JapaneseCalendar.cs:
355 * GregorianCalendar.cs:
357 * CompareInfo.cs: Stub out missing methods
359 2002-08-15 Tim Coleamn <tim@timcoleman.com>
361 Stubbed out some methods.
363 2002-08-14 Dick Porter <dick@ximian.com>
365 * CultureInfo.cs: Implement Name, stub out all the other missing
368 * TextInfo.cs: Stubbed out this class
370 2002-06-12 Nick Drochak <ndrochak@gol.com>
372 * DateTimeFormatInfo.cs: Reformat.
374 2002-06-11 Nick Drochak <ndrochak@gol.com>
376 * NumberFormatInfo.cs: Make NumberNegativePattern = 1 for the ctor
378 2002-06-07 Nick Drochak <ndrochak@gol.com>
380 * NumberFormatInfo.cs: Make InvariantInfo.NumberNegativePattern = 1
382 2002-05-07 Rodrigo Moya <rodrigo@ximian.com>
384 * CompareInfo.cs: new basic stub (compiles on Linux, so I assume
385 it does not break the build on windows. Sorry if it does).
387 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
389 * NumberFormatInfo.cs: always set the values for the invariant culture
390 until there are more cultures supported.
392 2002-04-22 Nick Drochak <ndrochak@gol.com>
394 * NumberStyles.cs: Add [Serializable].
396 2002-04-08 Nick Drochak <ndrochak@gol.com>
398 * UnicodeCategory.cs: Fix typos in enum names.
400 2002-03-04 Nick Drochak <ndrochak@gol.com>
402 * JulianCalendar.cs: JulianEra should be field, not a property.
403 Thanks CorCompare (and Piers).
405 2002-02-12 Duncan Mak <duncan@ximian.com>
407 * CultureInfo.cs: Added the Calendar property to make the TimeZone
408 class build. It's marked as MonoTODO.
410 2002-02-12 Nick Drochak <ndrochak@gol.com>
412 * UnicodeCategory.cs: Fix typo.
414 2002-02-01 Radek Doulik <rodo@ximian.com>
416 * RegionInfo.cs: started work on RegionInfo
417 implemented RegionInfo (string) constructor
419 * CultureInfo.cs: added internal static function,
420 which could be used from RegionInfo.cs
422 2002-01-16 Miguel de Icaza <miguel@ximian.com>
424 * CultureInfo.cs: Completed the tables. Now we need to actually
427 2002-01-15 Duncan Mak <duncan@ximian.com>
429 * CultureInfo.cs: Convert it to unix text.
431 2002-01-04 Ravi Pratap <ravi@ximian.com>
433 * GreogrianCalendar.cs : The same old MonoTODO attribute.
435 2001-11-21 Miguel de Icaza <miguel@ximian.com>
437 * Locale.cs: New file, a place holder for Locale.GetText.
439 Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <lupus@ximian.com>
441 * Calendar.cs: CLSCompliant updates.
443 2001-11-04 Martin Weindel <martin.weindel@t-online.de>
444 * NumberFormatInfo.cs: fixed minor bug in Clone with readonly flag
446 * DateTimeFormatInfo.cs: added
448 * CultureInfo.cs: some changed needed for compiling DateTimeFormatInfo.cs
450 2001-10-26 Miguel de Icaza <miguel@ximian.com>
452 * NumberFormatInfo.cs: Provide an internal constructor that takes
453 as an argument a CultureInfo ID (LCID) so that we can construct
456 * CultureInfo.cs: Begun implementation.
458 2001-10-09 Derek Holden <dholden@draper.com>
460 * NumberFormatInfo.cs: Small typo in PercentPositivePattern
461 and CurrencyPositivePattern
463 2001-09-02 Miguel de Icaza <miguel@ximian.com>
465 * Calendar.cs: Implement a bunch of missing features.
467 2001-07-24 Derek Holden <dholden@draper.com>
469 * NumberStyles.cs: Added ECMA values for Allow types and default
472 2001-07-18 Michael Lambert <michaellambert@email.com>
474 * DateTimeStyles.cs, NumberStyles.cs: Add.