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