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