2004-10-14 Miguel de Icaza <miguel@ximian.com>
[mono.git] / mcs / class / corlib / System.Globalization / ChangeLog
1 2004-10-14  Miguel de Icaza  <miguel@ximian.com>
2
3         * TextInfo.cs: Fix ToTitleCase to do title case for each word on
4         the string per the spec.
5
6 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
7
8         * DateTimeFormatInfo.cs : check if pattern array is empty or not. Now
9           icall fills them as possible empty list.
10
11 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
12
13         * DateTimeFormatInfo.cs: added TODO for serialization
14         * GregorianCalendar.cs:: added TODO for serialization
15         * HebrewCalendar.cs: added TODO for serialization
16         * HijriCalendar.cs: added TODO for serialization
17         * JapaneseCalendar.cs: added TODO for serialization
18         * JulianCalendar.cs: added TODO for serialization
19         * KoreanCalendar.cs: added TODO for serialization
20         * TaiwanCalendar.cs: added TODO for serialization
21         * ThaiBuddhistCalendar.cs: added TODO for serialization
22
23 2004-06-08  Dick Porter  <dick@ximian.com>
24
25         * CultureInfo.cs: Make calendar_data readonly, to match the
26         const-ness in the runtime.
27
28 2004-05-28  Atsushi Enomoto  <atsushi@ximian.com>
29
30         * DateTimeFormatInfo.cs : In fact GetAllDateTimePatterns() returns
31           non-unique results.  Just reordered return values looking at MS
32           invariant behavior.
33
34 2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>
35
36         * DateTimeFormatInfo.cs : 'U' is in fact the same as 'F' for pattern
37           strings. Thanks to kangaroo for the hint.
38
39 2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>
40
41         * DateTimeFormatInfo.cs : Fixed longtimes and shorttimes (exchanged).
42
43 2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>
44
45         * DateTimeFormatInfo.cs : Added some string[] fields for
46           GetAllDateTimePatterns(char). The fields will be filled in metadata
47           and culture info table. Added improved patterns for 
48           GetAllDateTimePatterns() (right now works only for invariant).
49         * CultureInfo.cs : Use InvariantInfo for InvariantCulture.
50
51 2004-05-26  Atsushi Enomoto  <atsushi@ximian.com>
52
53         * DateTimeFormatInfo.cs :
54           hack implementation for GetAllDateTimePatterns().
55
56 2004-05-17  Jackson Harper  <jackson@ximian.com>
57
58         * CultureInfo.cs: Invariant culture has the invariant culture as
59         its parent....<insert joke about the south>. It is readonly so we
60         can return this.
61         
62 2004-05-17  Jackson Harper  <jackson@ximian.com>
63
64         * CultureInfo.cs: Properify error messages when invalid lcid's are
65         used.
66
67 2004-05-15  Jackson Harper  <jackson@ximian.com>
68
69         * CultureInfo.cs: Initialize optional calendars. A pointer to an
70         array of ints is passed back from the runtime to the CultureInfo
71         object. The ints store the calendar type and any optional data
72         needed to construct the calendar.
73         
74 2004-05-14  Dick Porter  <dick@ximian.com>
75
76         * HebrewCalendar.cs: Stubbed ToFourDigitYear()
77
78         * HijriCalendar.cs: Stubbed HijriAdjustment
79
80 2004-05-13  Jackson Harper  <jackson@ximian.com>
81
82         * CultureInfo.cs: You can access DateTimeFormat and NumberFormat
83         from the invariant culture.
84         
85 2004-05-13  Jackson Harper  <jackson@ximian.com>
86
87         * CultureInfo.cs: DateTimeFormat and NumberFormat can not be
88         accessed for neutral cultures.
89         
90 2004-04-30  Dick Porter  <dick@ximian.com>
91
92         * StringInfo.cs: 
93         * TextElementEnumerator.cs: Implemented
94
95 2004-04-27  Jackson Harper <jackson@ximian.com>
96
97         * CultureInfo.cs: Make specific names lower case, because all data
98         in the culture info tables is lowercase.
99         
100 2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
101
102         * CultureInfo.cs: Call invariant String.ToLower
103         * RegionInfo.cs: Call invariant String.ToUpper
104
105 2004-04-11  Atsushi Enomoto  <atsushi@ximian.com>
106
107         * NumberFormatInfo.cs : All GetXXXGroupSizes() should not return
108           internal array. Return clone as MS.NET does.
109
110           There still looks somewhere breaking CurrentInfo.
111
112 2004-04-08  Lluis Sanchez Gual  <lluis@ximian.com>
113
114         * CompareInfo.cs, CultureInfo.cs, NumberFormatInfo.cs, TextInfo.cs:
115         Made those serializable-compatible with MS.NET: modified fields names to 
116         match MS.NET ones, and in CultureInfo added a flag to control when a
117         deserialized instance need to be initialized.
118
119 2004-04-07  Jackson Harper  <jackson@ximian.com>
120
121         * CultureInfo.cs: Use new ICUless implementation in the runtime.
122         * CompareInfo.cs: Get ICU name from a cultureinfo object instead
123         of looking it up in the culture map.
124         * RegionInfo.cs: Dont check if the LCID is neutral unless its not
125         found in the switch. Avoids an icall.
126         
127 2004-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
128
129         * NumberFormatInfo.cs: this fixes bug #56000 for me. And it doesn't
130         break anything as NumberFormatInfo is sealed.
131
132 2004-02-14  Atsushi Enomoto  <atsushi@ximian.com>
133
134         * NumberFormatInfo.cs : CurrentInfo should not return clone every 
135           time (MS.NET returns the same object; try object.ReferenceEquals()).
136
137 2004-02-08 David Sheldon <dave-mono@earth.li>
138
139         * NumberFormatInfo.cs: When parsing the percentages, put the data 
140           into PercentDecimalDigits/PercentGroupLengths, rather than trashing
141           the NumberDecimatDigits etc. This also means that the percent format
142           info gets set.
143
144 2004-01-27  David Sheldon <dave-mono@earth.li>
145
146         * NumberFormatInfo.cs: InitPatterns: it seems that the patterns in 
147           ICU use digitPattern, not zeroPattern for the spaces after the 
148           decimal point. 
149
150 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
151
152         * CultureInfo.cs: Parent returns null when lcid == parent_lcid. Fixes
153         bug #52102.
154
155 2003-12-20 Ben Maurer  <bmaurer@users.sourceforge.net>
156
157         * CompareInfo.cs: Replace blah == "" with blah.Length == 0.
158         MUCH faster. Note, we dont need to check for nulls, because
159         the properties were used in other places.
160
161 2003-12-19  Dick Porter  <dick@ximian.com>
162
163         * CompareInfo.cs: Added assorted shortcuts when comparing empty
164         strings.  Fixed offset and length range checks to flag when <0.
165         Broke test that offset >= string length to match actual ms
166         behaviour (sigh.)  Fixes bug 52310.
167
168 2003-12-06  Dick Porter  <dick@ximian.com>
169
170         * CompareInfo.cs: Don't build strings in Compare, IndexOf and
171         LastIndexOf methods.  Avoid the icall in IndexOf and LastIndexOf
172         if the search parameter is a char and the CompareOptions include
173         Ordinal.
174
175 2003-12-04  Dick Porter  <dick@ximian.com>
176
177         * CompareInfo.cs: Implement the deserialization callback
178
179         * CultureInfo.cs: Allow CompareInfo to see the CultureMap so that
180         it can construct the ICU collator itself
181
182 2003-12-02  Dick Porter  <dick@ximian.com>
183
184         * NumberFormatInfo.cs: Helper called by runtime locale
185         construction from ICU.  Patch by Mohammad DAMT (mdamt@cdl2000.com).
186
187 2003-12-01  Dick Porter  <dick@ximian.com>
188
189         * CultureInfo.cs: Culture name creation is case-insensitive.
190         Implemented CurrentCulture and CurrentUICulture.
191
192         * CompareInfo.cs: Fix IndexOf and LastIndexOf so that they work
193         for combining characters.
194
195 2003-11-05  Pedro Martínez Juliá  <yoros@wanadoo.es>
196
197         * DateTimeFormatInfo.cs: Hack an era for US culture. We must look
198         for other ways to get the ERA string.
199
200 2003-10-21  Dick Porter  <dick@ximian.com>
201
202         * TextInfo.cs: 
203         * CultureInfo.cs: Implement TextInfo.GetHashCode().  Fixes bug
204         49923.
205
206 2003-10-09  Dick Porter  <dick@ximian.com>
207
208         * CultureInfo.cs: Implemented, with internal calls to ICU apart
209         from the Invariant culture.
210         
211         * SortKey.cs:
212         * CompareInfo.cs: Implemented
213
214         * DateTimeFormatInfo.cs: Fixed the worst of the formatting,
215         construct default FullDateTimePattern on the fly.
216
217 2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
218
219         * Locale.cs: Removed (added new version to Assembly directory)
220
221 2003-07-23  Duncan Mak  <duncan@ximian.com>
222
223         * DateTimeFormatInfo.cs: theInvariantDateTimeFormatInfo should not
224         be public.
225
226 2003-05-11  Ben Maurer  <bmaurer@users.sourceforge.net>
227
228         * *Calendar.cs: Implemented the TwoDigitYearMax property.
229         
230 2003-04-22  Pedro Martínez Juliá  <yoros@wanadoo.es>
231
232         * NumberFormatInfo.cs: Method CurrentInfo now returns the "real"
233         CurrentInfo (Thread.CurrentThread.CurrentCulture.NumberFormat).
234
235 2003-02-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
236
237         * CultureInfo.cs:
238         (NameToID): make it case insensitive and use a hashtable instead of
239         comparing all the strings.
240
241 Mon Nov 18 13:02:09 CET 2002 Paolo Molaro <lupus@ximian.com>
242
243         * CultureInfo.cs: implemented Equals and GetHashCode.
244
245 2002-10-17  Duncan Mak  <duncan@ximian.com>
246
247         * CultureInfo.cs (TextInfo): return a TextInfo in the property.
248
249         * TextInfo.cs (ToLower):
250         (ToTitleCase): Implemented.
251
252 2002-09-12  Dick Porter  <dick@ximian.com>
253
254         * ThaiBuddhistCalendar.cs: 
255         * TextInfo.cs: 
256         * TaiwanCalendar.cs: 
257         * RegionInfo.cs: 
258         * KoreanCalendar.cs: 
259         * JulianCalendar.cs: 
260         * JapaneseCalendar.cs: 
261         * HijriCalendar.cs: 
262         * HebrewCalendar.cs: 
263         * GregorianCalendar.cs: 
264         * CultureInfo.cs: 
265         * CompareInfo.cs: Stub out missing methods
266
267 2002-08-15  Tim Coleamn <tim@timcoleman.com>
268         * CompareInfo.cs:
269                 Stubbed out some methods.
270
271 2002-08-14  Dick Porter  <dick@ximian.com>
272
273         * CultureInfo.cs: Implement Name, stub out all the other missing
274         methods.
275
276         * TextInfo.cs: Stubbed out this class
277
278 2002-06-12  Nick Drochak  <ndrochak@gol.com>
279
280         * DateTimeFormatInfo.cs: Reformat.
281
282 2002-06-11  Nick Drochak  <ndrochak@gol.com>
283
284         * NumberFormatInfo.cs: Make NumberNegativePattern = 1 for the ctor
285
286 2002-06-07  Nick Drochak  <ndrochak@gol.com>
287
288         * NumberFormatInfo.cs: Make InvariantInfo.NumberNegativePattern = 1
289
290 2002-05-07  Rodrigo Moya <rodrigo@ximian.com>
291
292         * CompareInfo.cs: new basic stub (compiles on Linux, so I assume
293         it does not break the build on windows. Sorry if it does).
294
295 2002-04-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
296
297         * NumberFormatInfo.cs: always set the values for the invariant culture
298         until there are more cultures supported.
299
300 2002-04-22  Nick Drochak  <ndrochak@gol.com>
301
302         * NumberStyles.cs: Add [Serializable].
303
304 2002-04-08  Nick Drochak  <ndrochak@gol.com>
305
306         * UnicodeCategory.cs: Fix typos in enum names.
307
308 2002-03-04  Nick Drochak  <ndrochak@gol.com>
309
310         * JulianCalendar.cs: JulianEra should be field, not a property.
311         Thanks CorCompare (and Piers).
312
313 2002-02-12  Duncan Mak  <duncan@ximian.com>
314
315         * CultureInfo.cs: Added the Calendar property to make the TimeZone
316         class build. It's marked as MonoTODO.
317
318 2002-02-12  Nick Drochak  <ndrochak@gol.com>
319
320         * UnicodeCategory.cs: Fix typo.
321
322 2002-02-01  Radek Doulik  <rodo@ximian.com>
323
324         * RegionInfo.cs: started work on RegionInfo
325         implemented RegionInfo (string) constructor
326
327         * CultureInfo.cs: added internal static function,
328         which could be used from RegionInfo.cs
329
330 2002-01-16  Miguel de Icaza  <miguel@ximian.com>
331
332         * CultureInfo.cs: Completed the tables.   Now we need to actually
333         fill it in.
334
335 2002-01-15  Duncan Mak  <duncan@ximian.com>
336
337         * CultureInfo.cs: Convert it to unix text.
338
339 2002-01-04  Ravi Pratap  <ravi@ximian.com>
340
341         * GreogrianCalendar.cs : The same old MonoTODO attribute.
342
343 2001-11-21  Miguel de Icaza  <miguel@ximian.com>
344
345         * Locale.cs: New file, a place holder for Locale.GetText.
346
347 Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <lupus@ximian.com>
348
349         * Calendar.cs: CLSCompliant updates.
350
351 2001-11-04  Martin Weindel <martin.weindel@t-online.de>
352         * NumberFormatInfo.cs: fixed minor bug in Clone with readonly flag
353
354         * DateTimeFormatInfo.cs: added
355
356         * CultureInfo.cs: some changed needed for compiling DateTimeFormatInfo.cs
357
358 2001-10-26  Miguel de Icaza  <miguel@ximian.com>
359
360         * NumberFormatInfo.cs: Provide an internal constructor that takes
361         as an argument a CultureInfo ID (LCID) so that we can construct
362         different ones here.
363
364         * CultureInfo.cs: Begun implementation.
365
366 2001-10-09  Derek Holden  <dholden@draper.com>
367
368         * NumberFormatInfo.cs: Small typo in PercentPositivePattern
369         and CurrencyPositivePattern
370
371 2001-09-02  Miguel de Icaza  <miguel@ximian.com>
372
373         * Calendar.cs: Implement a bunch of missing features.
374
375 2001-07-24  Derek Holden  <dholden@draper.com>
376
377         * NumberStyles.cs: Added ECMA values for Allow types and default
378         styles.
379
380 2001-07-18  Michael Lambert <michaellambert@email.com>
381
382         * DateTimeStyles.cs, NumberStyles.cs: Add.
383