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