1 2005-08-10 Atsushi Enomoto <atsushi@ximian.com>
3 * CompareInfo.cs : added IsSortable(). (NET_2_0)
5 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
7 * CompareInfo.cs: Marked UseManagedCollation internal to have API
10 2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
13 Added managed collation support. It won't be activated unless you
14 explicitly set environment MONO_USE_MANAGED_COLLATION=yes.
16 2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
18 * CompareInfo.cs : LastIndexOf() which takes startIndex without length
19 should use startIndex+1 as length.
21 2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
23 * CompareInfo.cs : IndexOf(string, char, ...) overloads must not
24 specify start as 0. Use source.Length - 1 instead.
26 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
28 * NumberFormatInfo.cs: undo workaround for bug 55978 as it's not needed
29 any more. This fixed bug #75396.
31 2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
33 * CultureInfo.cs: added internal method to check for a culture
34 valid for formatting. Correctly get the calendar type. Before
35 it was always type 0. Thanks to Mcs for pointing this out.
37 2005-05-06 Miguel de Icaza <miguel@novell.com>
39 * CultureInfo.cs: Eliminate double-check lock always init the invariant_culture_info.
41 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
43 * CultureInfo.cs: made a few variables 'volatile'. GetCultures now
44 returns the InvariantCulture in the array. Fixes bug #72081.
46 2005-04-27 Atsushi Enomoto <atsushi@ximian.com>
48 * TextInfo.cs : Some performance fixes. Avoid delegate.
49 Compute parent culture only once. Quick ASCII range check.
51 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
53 * TextInfo.cs : extremely strict null check (which should not happen).
55 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
57 * TextInfo.cs : Additional null check for Parent CultureInfo.
59 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
61 * TextInfo.cs : To make new CultureInfo (127) as invariant, it should
62 not compare object Equals() against InvariantCulture.
64 2005-04-05 Atsushi Enomoto <atsushi@ximian.com>
66 * TextInfo.cs : Fixed ToTitleCase() so that
67 - handle some titlecase characters in Latin ang Greek.
68 - it keeps "all title case" word as is ("ABC" does not become "Abc").
69 - it can handle such string like "1ABc".
71 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
73 * TextInfo.cs : implemented culture sensitive ToLower() and ToUpper()
74 which behaves exactly the same as MS.NET does.
76 2005-02-09 Lluis Sanchez Gual <lluis@ximian.com>
78 * CultureInfo.cs: Added field needed for serialization
79 interoperability with MS.NET. Also fixed default value for
82 2005-01-31 Atsushi Enomoto <atsushi@ximian.com>
84 * NumberFormatInfo.cs : allow zero length sizes. patch by Kazuki
87 2005-01-20 Jackson Harper <jackson@ximian.com>
89 * HebrewCalendar.cs: Patch by Juan C. Olivares
90 (juancri@tagnet.org) to implement 4 digit years and set the
93 2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
95 * CharUnicodeInfo.cs : added new in 2.0 (kinda hacky).
97 2005-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
99 * CultureInfo.cs: the InvariantCulture returns false for
100 IsNeutralCulture. Fixes bug #59716.
102 2004-12-13 Ben Maurer <bmaurer@ximian.com>
104 * CultureInfo.cs: Store TextInfo data. Hand it over to TextInfo.
105 * TextInfo.cs: Rewrote props to use the textinfo data stored in
108 2004-11-04 Zoltan Varga <vargaz@freemail.hu>
110 * CultureInfo.cs (Clone): Make the components of the culture read-write
113 2004-10-14 Miguel de Icaza <miguel@ximian.com>
115 * TextInfo.cs (ToString) Fix the return value for ToString.
117 (Add a new parameter: the CultureInfo, since we implemented things
118 in terms of the CultureInfo in our runtime, and not the
121 (ToTitleCase): Fix to do title case for each word on the string
124 Wed Jun 30 17:06:43 CEST 2004 Paolo Molaro <lupus@ximian.com>
126 * NumberFormatInfo.cs: workaround for bug 55978.
128 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
130 * DateTimeFormatInfo.cs : check if pattern array is empty or not. Now
131 icall fills them as possible empty list.
133 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
135 * DateTimeFormatInfo.cs: added TODO for serialization
136 * GregorianCalendar.cs:: added TODO for serialization
137 * HebrewCalendar.cs: added TODO for serialization
138 * HijriCalendar.cs: added TODO for serialization
139 * JapaneseCalendar.cs: added TODO for serialization
140 * JulianCalendar.cs: added TODO for serialization
141 * KoreanCalendar.cs: added TODO for serialization
142 * TaiwanCalendar.cs: added TODO for serialization
143 * ThaiBuddhistCalendar.cs: added TODO for serialization
145 2004-06-08 Dick Porter <dick@ximian.com>
147 * CultureInfo.cs: Make calendar_data readonly, to match the
148 const-ness in the runtime.
150 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
152 * DateTimeFormatInfo.cs : In fact GetAllDateTimePatterns() returns
153 non-unique results. Just reordered return values looking at MS
156 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
158 * DateTimeFormatInfo.cs : 'U' is in fact the same as 'F' for pattern
159 strings. Thanks to kangaroo for the hint.
161 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
163 * DateTimeFormatInfo.cs : Fixed longtimes and shorttimes (exchanged).
165 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
167 * DateTimeFormatInfo.cs : Added some string[] fields for
168 GetAllDateTimePatterns(char). The fields will be filled in metadata
169 and culture info table. Added improved patterns for
170 GetAllDateTimePatterns() (right now works only for invariant).
171 * CultureInfo.cs : Use InvariantInfo for InvariantCulture.
173 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
175 * DateTimeFormatInfo.cs :
176 hack implementation for GetAllDateTimePatterns().
178 2004-05-17 Jackson Harper <jackson@ximian.com>
180 * CultureInfo.cs: Invariant culture has the invariant culture as
181 its parent....<insert joke about the south>. It is readonly so we
184 2004-05-17 Jackson Harper <jackson@ximian.com>
186 * CultureInfo.cs: Properify error messages when invalid lcid's are
189 2004-05-15 Jackson Harper <jackson@ximian.com>
191 * CultureInfo.cs: Initialize optional calendars. A pointer to an
192 array of ints is passed back from the runtime to the CultureInfo
193 object. The ints store the calendar type and any optional data
194 needed to construct the calendar.
196 2004-05-14 Dick Porter <dick@ximian.com>
198 * HebrewCalendar.cs: Stubbed ToFourDigitYear()
200 * HijriCalendar.cs: Stubbed HijriAdjustment
202 2004-05-13 Jackson Harper <jackson@ximian.com>
204 * CultureInfo.cs: You can access DateTimeFormat and NumberFormat
205 from the invariant culture.
207 2004-05-13 Jackson Harper <jackson@ximian.com>
209 * CultureInfo.cs: DateTimeFormat and NumberFormat can not be
210 accessed for neutral cultures.
212 2004-04-30 Dick Porter <dick@ximian.com>
215 * TextElementEnumerator.cs: Implemented
217 2004-04-27 Jackson Harper <jackson@ximian.com>
219 * CultureInfo.cs: Make specific names lower case, because all data
220 in the culture info tables is lowercase.
222 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
224 * CultureInfo.cs: Call invariant String.ToLower
225 * RegionInfo.cs: Call invariant String.ToUpper
227 2004-04-11 Atsushi Enomoto <atsushi@ximian.com>
229 * NumberFormatInfo.cs : All GetXXXGroupSizes() should not return
230 internal array. Return clone as MS.NET does.
232 There still looks somewhere breaking CurrentInfo.
234 2004-04-08 Lluis Sanchez Gual <lluis@ximian.com>
236 * CompareInfo.cs, CultureInfo.cs, NumberFormatInfo.cs, TextInfo.cs:
237 Made those serializable-compatible with MS.NET: modified fields names to
238 match MS.NET ones, and in CultureInfo added a flag to control when a
239 deserialized instance need to be initialized.
241 2004-04-07 Jackson Harper <jackson@ximian.com>
243 * CultureInfo.cs: Use new ICUless implementation in the runtime.
244 * CompareInfo.cs: Get ICU name from a cultureinfo object instead
245 of looking it up in the culture map.
246 * RegionInfo.cs: Dont check if the LCID is neutral unless its not
247 found in the switch. Avoids an icall.
249 2004-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
251 * NumberFormatInfo.cs: this fixes bug #56000 for me. And it doesn't
252 break anything as NumberFormatInfo is sealed.
254 2004-02-14 Atsushi Enomoto <atsushi@ximian.com>
256 * NumberFormatInfo.cs : CurrentInfo should not return clone every
257 time (MS.NET returns the same object; try object.ReferenceEquals()).
259 2004-02-08 David Sheldon <dave-mono@earth.li>
261 * NumberFormatInfo.cs: When parsing the percentages, put the data
262 into PercentDecimalDigits/PercentGroupLengths, rather than trashing
263 the NumberDecimatDigits etc. This also means that the percent format
266 2004-01-27 David Sheldon <dave-mono@earth.li>
268 * NumberFormatInfo.cs: InitPatterns: it seems that the patterns in
269 ICU use digitPattern, not zeroPattern for the spaces after the
272 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
274 * CultureInfo.cs: Parent returns null when lcid == parent_lcid. Fixes
277 2003-12-20 Ben Maurer <bmaurer@users.sourceforge.net>
279 * CompareInfo.cs: Replace blah == "" with blah.Length == 0.
280 MUCH faster. Note, we dont need to check for nulls, because
281 the properties were used in other places.
283 2003-12-19 Dick Porter <dick@ximian.com>
285 * CompareInfo.cs: Added assorted shortcuts when comparing empty
286 strings. Fixed offset and length range checks to flag when <0.
287 Broke test that offset >= string length to match actual ms
288 behaviour (sigh.) Fixes bug 52310.
290 2003-12-06 Dick Porter <dick@ximian.com>
292 * CompareInfo.cs: Don't build strings in Compare, IndexOf and
293 LastIndexOf methods. Avoid the icall in IndexOf and LastIndexOf
294 if the search parameter is a char and the CompareOptions include
297 2003-12-04 Dick Porter <dick@ximian.com>
299 * CompareInfo.cs: Implement the deserialization callback
301 * CultureInfo.cs: Allow CompareInfo to see the CultureMap so that
302 it can construct the ICU collator itself
304 2003-12-02 Dick Porter <dick@ximian.com>
306 * NumberFormatInfo.cs: Helper called by runtime locale
307 construction from ICU. Patch by Mohammad DAMT (mdamt@cdl2000.com).
309 2003-12-01 Dick Porter <dick@ximian.com>
311 * CultureInfo.cs: Culture name creation is case-insensitive.
312 Implemented CurrentCulture and CurrentUICulture.
314 * CompareInfo.cs: Fix IndexOf and LastIndexOf so that they work
315 for combining characters.
317 2003-11-05 Pedro Martínez Juliá <yoros@wanadoo.es>
319 * DateTimeFormatInfo.cs: Hack an era for US culture. We must look
320 for other ways to get the ERA string.
322 2003-10-21 Dick Porter <dick@ximian.com>
325 * CultureInfo.cs: Implement TextInfo.GetHashCode(). Fixes bug
328 2003-10-09 Dick Porter <dick@ximian.com>
330 * CultureInfo.cs: Implemented, with internal calls to ICU apart
331 from the Invariant culture.
334 * CompareInfo.cs: Implemented
336 * DateTimeFormatInfo.cs: Fixed the worst of the formatting,
337 construct default FullDateTimePattern on the fly.
339 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
341 * Locale.cs: Removed (added new version to Assembly directory)
343 2003-07-23 Duncan Mak <duncan@ximian.com>
345 * DateTimeFormatInfo.cs: theInvariantDateTimeFormatInfo should not
348 2003-05-11 Ben Maurer <bmaurer@users.sourceforge.net>
350 * *Calendar.cs: Implemented the TwoDigitYearMax property.
352 2003-04-22 Pedro Martínez Juliá <yoros@wanadoo.es>
354 * NumberFormatInfo.cs: Method CurrentInfo now returns the "real"
355 CurrentInfo (Thread.CurrentThread.CurrentCulture.NumberFormat).
357 2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
360 (NameToID): make it case insensitive and use a hashtable instead of
361 comparing all the strings.
363 Mon Nov 18 13:02:09 CET 2002 Paolo Molaro <lupus@ximian.com>
365 * CultureInfo.cs: implemented Equals and GetHashCode.
367 2002-10-17 Duncan Mak <duncan@ximian.com>
369 * CultureInfo.cs (TextInfo): return a TextInfo in the property.
371 * TextInfo.cs (ToLower):
372 (ToTitleCase): Implemented.
374 2002-09-12 Dick Porter <dick@ximian.com>
376 * ThaiBuddhistCalendar.cs:
382 * JapaneseCalendar.cs:
385 * GregorianCalendar.cs:
387 * CompareInfo.cs: Stub out missing methods
389 2002-08-15 Tim Coleamn <tim@timcoleman.com>
391 Stubbed out some methods.
393 2002-08-14 Dick Porter <dick@ximian.com>
395 * CultureInfo.cs: Implement Name, stub out all the other missing
398 * TextInfo.cs: Stubbed out this class
400 2002-06-12 Nick Drochak <ndrochak@gol.com>
402 * DateTimeFormatInfo.cs: Reformat.
404 2002-06-11 Nick Drochak <ndrochak@gol.com>
406 * NumberFormatInfo.cs: Make NumberNegativePattern = 1 for the ctor
408 2002-06-07 Nick Drochak <ndrochak@gol.com>
410 * NumberFormatInfo.cs: Make InvariantInfo.NumberNegativePattern = 1
412 2002-05-07 Rodrigo Moya <rodrigo@ximian.com>
414 * CompareInfo.cs: new basic stub (compiles on Linux, so I assume
415 it does not break the build on windows. Sorry if it does).
417 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
419 * NumberFormatInfo.cs: always set the values for the invariant culture
420 until there are more cultures supported.
422 2002-04-22 Nick Drochak <ndrochak@gol.com>
424 * NumberStyles.cs: Add [Serializable].
426 2002-04-08 Nick Drochak <ndrochak@gol.com>
428 * UnicodeCategory.cs: Fix typos in enum names.
430 2002-03-04 Nick Drochak <ndrochak@gol.com>
432 * JulianCalendar.cs: JulianEra should be field, not a property.
433 Thanks CorCompare (and Piers).
435 2002-02-12 Duncan Mak <duncan@ximian.com>
437 * CultureInfo.cs: Added the Calendar property to make the TimeZone
438 class build. It's marked as MonoTODO.
440 2002-02-12 Nick Drochak <ndrochak@gol.com>
442 * UnicodeCategory.cs: Fix typo.
444 2002-02-01 Radek Doulik <rodo@ximian.com>
446 * RegionInfo.cs: started work on RegionInfo
447 implemented RegionInfo (string) constructor
449 * CultureInfo.cs: added internal static function,
450 which could be used from RegionInfo.cs
452 2002-01-16 Miguel de Icaza <miguel@ximian.com>
454 * CultureInfo.cs: Completed the tables. Now we need to actually
457 2002-01-15 Duncan Mak <duncan@ximian.com>
459 * CultureInfo.cs: Convert it to unix text.
461 2002-01-04 Ravi Pratap <ravi@ximian.com>
463 * GreogrianCalendar.cs : The same old MonoTODO attribute.
465 2001-11-21 Miguel de Icaza <miguel@ximian.com>
467 * Locale.cs: New file, a place holder for Locale.GetText.
469 Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <lupus@ximian.com>
471 * Calendar.cs: CLSCompliant updates.
473 2001-11-04 Martin Weindel <martin.weindel@t-online.de>
474 * NumberFormatInfo.cs: fixed minor bug in Clone with readonly flag
476 * DateTimeFormatInfo.cs: added
478 * CultureInfo.cs: some changed needed for compiling DateTimeFormatInfo.cs
480 2001-10-26 Miguel de Icaza <miguel@ximian.com>
482 * NumberFormatInfo.cs: Provide an internal constructor that takes
483 as an argument a CultureInfo ID (LCID) so that we can construct
486 * CultureInfo.cs: Begun implementation.
488 2001-10-09 Derek Holden <dholden@draper.com>
490 * NumberFormatInfo.cs: Small typo in PercentPositivePattern
491 and CurrencyPositivePattern
493 2001-09-02 Miguel de Icaza <miguel@ximian.com>
495 * Calendar.cs: Implement a bunch of missing features.
497 2001-07-24 Derek Holden <dholden@draper.com>
499 * NumberStyles.cs: Added ECMA values for Allow types and default
502 2001-07-18 Michael Lambert <michaellambert@email.com>
504 * DateTimeStyles.cs, NumberStyles.cs: Add.