1 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * CultureInfo.cs: made a few variables 'volatile'. GetCultures now
4 returns the InvariantCulture in the array. Fixes bug #72081.
6 2005-04-27 Atsushi Enomoto <atsushi@ximian.com>
8 * TextInfo.cs : Some performance fixes. Avoid delegate.
9 Compute parent culture only once. Quick ASCII range check.
11 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
13 * TextInfo.cs : extremely strict null check (which should not happen).
15 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
17 * TextInfo.cs : Additional null check for Parent CultureInfo.
19 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
21 * TextInfo.cs : To make new CultureInfo (127) as invariant, it should
22 not compare object Equals() against InvariantCulture.
24 2005-04-05 Atsushi Enomoto <atsushi@ximian.com>
26 * TextInfo.cs : Fixed ToTitleCase() so that
27 - handle some titlecase characters in Latin ang Greek.
28 - it keeps "all title case" word as is ("ABC" does not become "Abc").
29 - it can handle such string like "1ABc".
31 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
33 * TextInfo.cs : implemented culture sensitive ToLower() and ToUpper()
34 which behaves exactly the same as MS.NET does.
36 2005-02-09 Lluis Sanchez Gual <lluis@ximian.com>
38 * CultureInfo.cs: Added field needed for serialization
39 interoperability with MS.NET. Also fixed default value for
42 2005-01-31 Atsushi Enomoto <atsushi@ximian.com>
44 * NumberFormatInfo.cs : allow zero length sizes. patch by Kazuki
47 2005-01-20 Jackson Harper <jackson@ximian.com>
49 * HebrewCalendar.cs: Patch by Juan C. Olivares
50 (juancri@tagnet.org) to implement 4 digit years and set the
53 2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
55 * CharUnicodeInfo.cs : added new in 2.0 (kinda hacky).
57 2005-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
59 * CultureInfo.cs: the InvariantCulture returns false for
60 IsNeutralCulture. Fixes bug #59716.
62 2004-12-13 Ben Maurer <bmaurer@ximian.com>
64 * CultureInfo.cs: Store TextInfo data. Hand it over to TextInfo.
65 * TextInfo.cs: Rewrote props to use the textinfo data stored in
68 2004-11-04 Zoltan Varga <vargaz@freemail.hu>
70 * CultureInfo.cs (Clone): Make the components of the culture read-write
73 2004-10-14 Miguel de Icaza <miguel@ximian.com>
75 * TextInfo.cs (ToString) Fix the return value for ToString.
77 (Add a new parameter: the CultureInfo, since we implemented things
78 in terms of the CultureInfo in our runtime, and not the
81 (ToTitleCase): Fix to do title case for each word on the string
84 Wed Jun 30 17:06:43 CEST 2004 Paolo Molaro <lupus@ximian.com>
86 * NumberFormatInfo.cs: workaround for bug 55978.
88 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
90 * DateTimeFormatInfo.cs : check if pattern array is empty or not. Now
91 icall fills them as possible empty list.
93 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
95 * DateTimeFormatInfo.cs: added TODO for serialization
96 * GregorianCalendar.cs:: added TODO for serialization
97 * HebrewCalendar.cs: added TODO for serialization
98 * HijriCalendar.cs: added TODO for serialization
99 * JapaneseCalendar.cs: added TODO for serialization
100 * JulianCalendar.cs: added TODO for serialization
101 * KoreanCalendar.cs: added TODO for serialization
102 * TaiwanCalendar.cs: added TODO for serialization
103 * ThaiBuddhistCalendar.cs: added TODO for serialization
105 2004-06-08 Dick Porter <dick@ximian.com>
107 * CultureInfo.cs: Make calendar_data readonly, to match the
108 const-ness in the runtime.
110 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
112 * DateTimeFormatInfo.cs : In fact GetAllDateTimePatterns() returns
113 non-unique results. Just reordered return values looking at MS
116 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
118 * DateTimeFormatInfo.cs : 'U' is in fact the same as 'F' for pattern
119 strings. Thanks to kangaroo for the hint.
121 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
123 * DateTimeFormatInfo.cs : Fixed longtimes and shorttimes (exchanged).
125 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
127 * DateTimeFormatInfo.cs : Added some string[] fields for
128 GetAllDateTimePatterns(char). The fields will be filled in metadata
129 and culture info table. Added improved patterns for
130 GetAllDateTimePatterns() (right now works only for invariant).
131 * CultureInfo.cs : Use InvariantInfo for InvariantCulture.
133 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
135 * DateTimeFormatInfo.cs :
136 hack implementation for GetAllDateTimePatterns().
138 2004-05-17 Jackson Harper <jackson@ximian.com>
140 * CultureInfo.cs: Invariant culture has the invariant culture as
141 its parent....<insert joke about the south>. It is readonly so we
144 2004-05-17 Jackson Harper <jackson@ximian.com>
146 * CultureInfo.cs: Properify error messages when invalid lcid's are
149 2004-05-15 Jackson Harper <jackson@ximian.com>
151 * CultureInfo.cs: Initialize optional calendars. A pointer to an
152 array of ints is passed back from the runtime to the CultureInfo
153 object. The ints store the calendar type and any optional data
154 needed to construct the calendar.
156 2004-05-14 Dick Porter <dick@ximian.com>
158 * HebrewCalendar.cs: Stubbed ToFourDigitYear()
160 * HijriCalendar.cs: Stubbed HijriAdjustment
162 2004-05-13 Jackson Harper <jackson@ximian.com>
164 * CultureInfo.cs: You can access DateTimeFormat and NumberFormat
165 from the invariant culture.
167 2004-05-13 Jackson Harper <jackson@ximian.com>
169 * CultureInfo.cs: DateTimeFormat and NumberFormat can not be
170 accessed for neutral cultures.
172 2004-04-30 Dick Porter <dick@ximian.com>
175 * TextElementEnumerator.cs: Implemented
177 2004-04-27 Jackson Harper <jackson@ximian.com>
179 * CultureInfo.cs: Make specific names lower case, because all data
180 in the culture info tables is lowercase.
182 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
184 * CultureInfo.cs: Call invariant String.ToLower
185 * RegionInfo.cs: Call invariant String.ToUpper
187 2004-04-11 Atsushi Enomoto <atsushi@ximian.com>
189 * NumberFormatInfo.cs : All GetXXXGroupSizes() should not return
190 internal array. Return clone as MS.NET does.
192 There still looks somewhere breaking CurrentInfo.
194 2004-04-08 Lluis Sanchez Gual <lluis@ximian.com>
196 * CompareInfo.cs, CultureInfo.cs, NumberFormatInfo.cs, TextInfo.cs:
197 Made those serializable-compatible with MS.NET: modified fields names to
198 match MS.NET ones, and in CultureInfo added a flag to control when a
199 deserialized instance need to be initialized.
201 2004-04-07 Jackson Harper <jackson@ximian.com>
203 * CultureInfo.cs: Use new ICUless implementation in the runtime.
204 * CompareInfo.cs: Get ICU name from a cultureinfo object instead
205 of looking it up in the culture map.
206 * RegionInfo.cs: Dont check if the LCID is neutral unless its not
207 found in the switch. Avoids an icall.
209 2004-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
211 * NumberFormatInfo.cs: this fixes bug #56000 for me. And it doesn't
212 break anything as NumberFormatInfo is sealed.
214 2004-02-14 Atsushi Enomoto <atsushi@ximian.com>
216 * NumberFormatInfo.cs : CurrentInfo should not return clone every
217 time (MS.NET returns the same object; try object.ReferenceEquals()).
219 2004-02-08 David Sheldon <dave-mono@earth.li>
221 * NumberFormatInfo.cs: When parsing the percentages, put the data
222 into PercentDecimalDigits/PercentGroupLengths, rather than trashing
223 the NumberDecimatDigits etc. This also means that the percent format
226 2004-01-27 David Sheldon <dave-mono@earth.li>
228 * NumberFormatInfo.cs: InitPatterns: it seems that the patterns in
229 ICU use digitPattern, not zeroPattern for the spaces after the
232 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
234 * CultureInfo.cs: Parent returns null when lcid == parent_lcid. Fixes
237 2003-12-20 Ben Maurer <bmaurer@users.sourceforge.net>
239 * CompareInfo.cs: Replace blah == "" with blah.Length == 0.
240 MUCH faster. Note, we dont need to check for nulls, because
241 the properties were used in other places.
243 2003-12-19 Dick Porter <dick@ximian.com>
245 * CompareInfo.cs: Added assorted shortcuts when comparing empty
246 strings. Fixed offset and length range checks to flag when <0.
247 Broke test that offset >= string length to match actual ms
248 behaviour (sigh.) Fixes bug 52310.
250 2003-12-06 Dick Porter <dick@ximian.com>
252 * CompareInfo.cs: Don't build strings in Compare, IndexOf and
253 LastIndexOf methods. Avoid the icall in IndexOf and LastIndexOf
254 if the search parameter is a char and the CompareOptions include
257 2003-12-04 Dick Porter <dick@ximian.com>
259 * CompareInfo.cs: Implement the deserialization callback
261 * CultureInfo.cs: Allow CompareInfo to see the CultureMap so that
262 it can construct the ICU collator itself
264 2003-12-02 Dick Porter <dick@ximian.com>
266 * NumberFormatInfo.cs: Helper called by runtime locale
267 construction from ICU. Patch by Mohammad DAMT (mdamt@cdl2000.com).
269 2003-12-01 Dick Porter <dick@ximian.com>
271 * CultureInfo.cs: Culture name creation is case-insensitive.
272 Implemented CurrentCulture and CurrentUICulture.
274 * CompareInfo.cs: Fix IndexOf and LastIndexOf so that they work
275 for combining characters.
277 2003-11-05 Pedro Martínez Juliá <yoros@wanadoo.es>
279 * DateTimeFormatInfo.cs: Hack an era for US culture. We must look
280 for other ways to get the ERA string.
282 2003-10-21 Dick Porter <dick@ximian.com>
285 * CultureInfo.cs: Implement TextInfo.GetHashCode(). Fixes bug
288 2003-10-09 Dick Porter <dick@ximian.com>
290 * CultureInfo.cs: Implemented, with internal calls to ICU apart
291 from the Invariant culture.
294 * CompareInfo.cs: Implemented
296 * DateTimeFormatInfo.cs: Fixed the worst of the formatting,
297 construct default FullDateTimePattern on the fly.
299 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
301 * Locale.cs: Removed (added new version to Assembly directory)
303 2003-07-23 Duncan Mak <duncan@ximian.com>
305 * DateTimeFormatInfo.cs: theInvariantDateTimeFormatInfo should not
308 2003-05-11 Ben Maurer <bmaurer@users.sourceforge.net>
310 * *Calendar.cs: Implemented the TwoDigitYearMax property.
312 2003-04-22 Pedro Martínez Juliá <yoros@wanadoo.es>
314 * NumberFormatInfo.cs: Method CurrentInfo now returns the "real"
315 CurrentInfo (Thread.CurrentThread.CurrentCulture.NumberFormat).
317 2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
320 (NameToID): make it case insensitive and use a hashtable instead of
321 comparing all the strings.
323 Mon Nov 18 13:02:09 CET 2002 Paolo Molaro <lupus@ximian.com>
325 * CultureInfo.cs: implemented Equals and GetHashCode.
327 2002-10-17 Duncan Mak <duncan@ximian.com>
329 * CultureInfo.cs (TextInfo): return a TextInfo in the property.
331 * TextInfo.cs (ToLower):
332 (ToTitleCase): Implemented.
334 2002-09-12 Dick Porter <dick@ximian.com>
336 * ThaiBuddhistCalendar.cs:
342 * JapaneseCalendar.cs:
345 * GregorianCalendar.cs:
347 * CompareInfo.cs: Stub out missing methods
349 2002-08-15 Tim Coleamn <tim@timcoleman.com>
351 Stubbed out some methods.
353 2002-08-14 Dick Porter <dick@ximian.com>
355 * CultureInfo.cs: Implement Name, stub out all the other missing
358 * TextInfo.cs: Stubbed out this class
360 2002-06-12 Nick Drochak <ndrochak@gol.com>
362 * DateTimeFormatInfo.cs: Reformat.
364 2002-06-11 Nick Drochak <ndrochak@gol.com>
366 * NumberFormatInfo.cs: Make NumberNegativePattern = 1 for the ctor
368 2002-06-07 Nick Drochak <ndrochak@gol.com>
370 * NumberFormatInfo.cs: Make InvariantInfo.NumberNegativePattern = 1
372 2002-05-07 Rodrigo Moya <rodrigo@ximian.com>
374 * CompareInfo.cs: new basic stub (compiles on Linux, so I assume
375 it does not break the build on windows. Sorry if it does).
377 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
379 * NumberFormatInfo.cs: always set the values for the invariant culture
380 until there are more cultures supported.
382 2002-04-22 Nick Drochak <ndrochak@gol.com>
384 * NumberStyles.cs: Add [Serializable].
386 2002-04-08 Nick Drochak <ndrochak@gol.com>
388 * UnicodeCategory.cs: Fix typos in enum names.
390 2002-03-04 Nick Drochak <ndrochak@gol.com>
392 * JulianCalendar.cs: JulianEra should be field, not a property.
393 Thanks CorCompare (and Piers).
395 2002-02-12 Duncan Mak <duncan@ximian.com>
397 * CultureInfo.cs: Added the Calendar property to make the TimeZone
398 class build. It's marked as MonoTODO.
400 2002-02-12 Nick Drochak <ndrochak@gol.com>
402 * UnicodeCategory.cs: Fix typo.
404 2002-02-01 Radek Doulik <rodo@ximian.com>
406 * RegionInfo.cs: started work on RegionInfo
407 implemented RegionInfo (string) constructor
409 * CultureInfo.cs: added internal static function,
410 which could be used from RegionInfo.cs
412 2002-01-16 Miguel de Icaza <miguel@ximian.com>
414 * CultureInfo.cs: Completed the tables. Now we need to actually
417 2002-01-15 Duncan Mak <duncan@ximian.com>
419 * CultureInfo.cs: Convert it to unix text.
421 2002-01-04 Ravi Pratap <ravi@ximian.com>
423 * GreogrianCalendar.cs : The same old MonoTODO attribute.
425 2001-11-21 Miguel de Icaza <miguel@ximian.com>
427 * Locale.cs: New file, a place holder for Locale.GetText.
429 Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <lupus@ximian.com>
431 * Calendar.cs: CLSCompliant updates.
433 2001-11-04 Martin Weindel <martin.weindel@t-online.de>
434 * NumberFormatInfo.cs: fixed minor bug in Clone with readonly flag
436 * DateTimeFormatInfo.cs: added
438 * CultureInfo.cs: some changed needed for compiling DateTimeFormatInfo.cs
440 2001-10-26 Miguel de Icaza <miguel@ximian.com>
442 * NumberFormatInfo.cs: Provide an internal constructor that takes
443 as an argument a CultureInfo ID (LCID) so that we can construct
446 * CultureInfo.cs: Begun implementation.
448 2001-10-09 Derek Holden <dholden@draper.com>
450 * NumberFormatInfo.cs: Small typo in PercentPositivePattern
451 and CurrencyPositivePattern
453 2001-09-02 Miguel de Icaza <miguel@ximian.com>
455 * Calendar.cs: Implement a bunch of missing features.
457 2001-07-24 Derek Holden <dholden@draper.com>
459 * NumberStyles.cs: Added ECMA values for Allow types and default
462 2001-07-18 Michael Lambert <michaellambert@email.com>
464 * DateTimeStyles.cs, NumberStyles.cs: Add.