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