ChangeLog 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572
  1. 2005-11-14 Atsushi Enomoto <[email protected]>
  2. * CompareInfo.cs : added support for OrdinalIgnoreCase.
  3. 2005-10-31 Miguel de Icaza <[email protected]>
  4. * HijriCalendar.cs, HebrewCalendar.cs, JulianCalendar.cs,
  5. GregorianCalendar.cs, JapaneseCalendar.cs, Calendar.cs,
  6. TaiwanCalendar.cs, HijriCalendar.cs: Add
  7. CalendarAlgorithmType, MinSupportedDateTime, MaxSupportedDateTime
  8. properties.
  9. * Added ComVisibleAttribute in a bunch of places, using the fully
  10. qualified name to speed up cut and paste.
  11. 2005-10-14 Ben Maurer <[email protected]>
  12. * DateTimeFormatInfo.cs: Speed up GetAllDateTimePatterns by
  13. caching the result and then cloning it.
  14. 2005-10-10 Ben Maurer <[email protected]>
  15. * DateTimeFormatInfo.cs: Rather than having a + ' ' + b, have a +
  16. " " + b. This lets us avoid 1) boxing the char and 2) calling
  17. char.ToString. Results in a fairly substantial savings on
  18. DateTime.Parse.
  19. 2005-09-21 Atsushi Enomoto <[email protected]>
  20. * CompareInfo.cs : switched to "managed collation by default" mode.
  21. 2005-08-30 Sebastien Pouliot <[email protected]>
  22. * CompareInfo.cs: Use Environment.internalGetEnvironmentVariable as
  23. the .cctor gets executed before the security manager is ready to be
  24. activated (and cause recursion with --security).
  25. 2005-08-17 Atsushi Enomoto <[email protected]>
  26. * RegionInfo.cs : unlocked CurrentRegion creation.
  27. 2005-08-16 Atsushi Enomoto <[email protected]>
  28. * RegionInfo.cs : removed extraneous icall wrappers.
  29. 2005-08-15 Atsushi Enomoto <[email protected]>
  30. * RegionInfo.cs : reimplemented to use unicode CLDR.
  31. 2005-08-14 Gert Driesen <[email protected]>
  32. * TextInfo.cs: For invariant culture, ListSeparator is a comma.
  33. 2005-08-12 Atsushi Enomoto <[email protected]>
  34. * DateTimeFormatInfo.cs : GetAbbreviatedEraNames() and GetEra().
  35. 2005-08-11 Atsushi Enomoto <[email protected]>
  36. * CultureInfo.cs : lazy load OptionalCalendars (and always non-null).
  37. * DateTimeFormatInfo.cs : GetEraNames() should work.
  38. 2005-08-11 Atsushi Enomoto <[email protected]>
  39. * CultureInfo.cs : added BootstrapCultureID for RegionInfo.
  40. * RegionInfo.cs : implemented CurrentRegion. Added MonoTODOs.
  41. 2005-08-10 Atsushi Enomoto <[email protected]>
  42. * CompareInfo.cs : added IsSortable(). (NET_2_0)
  43. 2005-08-08 Gert Driesen <[email protected]>
  44. * CompareInfo.cs: Marked UseManagedCollation internal to have API
  45. match that of MS.NET.
  46. 2005-08-02 Atsushi Enomoto <[email protected]>
  47. * CompareInfo.cs :
  48. Added managed collation support. It won't be activated unless you
  49. explicitly set environment MONO_USE_MANAGED_COLLATION=yes.
  50. 2005-08-02 Atsushi Enomoto <[email protected]>
  51. * CompareInfo.cs : LastIndexOf() which takes startIndex without length
  52. should use startIndex+1 as length.
  53. 2005-07-12 Atsushi Enomoto <[email protected]>
  54. * CompareInfo.cs : IndexOf(string, char, ...) overloads must not
  55. specify start as 0. Use source.Length - 1 instead.
  56. 2005-06-27 Gonzalo Paniagua Javier <[email protected]>
  57. * NumberFormatInfo.cs: undo workaround for bug 55978 as it's not needed
  58. any more. This fixed bug #75396.
  59. 2005-06-07 Gonzalo Paniagua Javier <[email protected]>
  60. * CultureInfo.cs: added internal method to check for a culture
  61. valid for formatting. Correctly get the calendar type. Before
  62. it was always type 0. Thanks to Mcs for pointing this out.
  63. 2005-05-06 Miguel de Icaza <[email protected]>
  64. * CultureInfo.cs: Eliminate double-check lock always init the invariant_culture_info.
  65. 2005-05-06 Gonzalo Paniagua Javier <[email protected]>
  66. * CultureInfo.cs: made a few variables 'volatile'. GetCultures now
  67. returns the InvariantCulture in the array. Fixes bug #72081.
  68. 2005-04-27 Atsushi Enomoto <[email protected]>
  69. * TextInfo.cs : Some performance fixes. Avoid delegate.
  70. Compute parent culture only once. Quick ASCII range check.
  71. 2005-04-17 Atsushi Enomoto <[email protected]>
  72. * TextInfo.cs : extremely strict null check (which should not happen).
  73. 2005-04-17 Atsushi Enomoto <[email protected]>
  74. * TextInfo.cs : Additional null check for Parent CultureInfo.
  75. 2005-04-06 Atsushi Enomoto <[email protected]>
  76. * TextInfo.cs : To make new CultureInfo (127) as invariant, it should
  77. not compare object Equals() against InvariantCulture.
  78. 2005-04-05 Atsushi Enomoto <[email protected]>
  79. * TextInfo.cs : Fixed ToTitleCase() so that
  80. - handle some titlecase characters in Latin ang Greek.
  81. - it keeps "all title case" word as is ("ABC" does not become "Abc").
  82. - it can handle such string like "1ABc".
  83. 2005-04-04 Atsushi Enomoto <[email protected]>
  84. * TextInfo.cs : implemented culture sensitive ToLower() and ToUpper()
  85. which behaves exactly the same as MS.NET does.
  86. 2005-02-09 Lluis Sanchez Gual <[email protected]>
  87. * CultureInfo.cs: Added field needed for serialization
  88. interoperability with MS.NET. Also fixed default value for
  89. the constructor.
  90. 2005-01-31 Atsushi Enomoto <[email protected]>
  91. * NumberFormatInfo.cs : allow zero length sizes. patch by Kazuki
  92. Oikawa.
  93. 2005-01-20 Jackson Harper <[email protected]>
  94. * HebrewCalendar.cs: Patch by Juan C. Olivares
  95. ([email protected]) to implement 4 digit years and set the
  96. min year correctly.
  97. 2005-01-17 Atsushi Enomoto <[email protected]>
  98. * CharUnicodeInfo.cs : added new in 2.0 (kinda hacky).
  99. 2005-01-13 Gonzalo Paniagua Javier <[email protected]>
  100. * CultureInfo.cs: the InvariantCulture returns false for
  101. IsNeutralCulture. Fixes bug #59716.
  102. 2004-12-13 Ben Maurer <[email protected]>
  103. * CultureInfo.cs: Store TextInfo data. Hand it over to TextInfo.
  104. * TextInfo.cs: Rewrote props to use the textinfo data stored in
  105. unmanaged code.
  106. 2004-11-04 Zoltan Varga <[email protected]>
  107. * CultureInfo.cs (Clone): Make the components of the culture read-write
  108. as well.
  109. 2004-10-14 Miguel de Icaza <[email protected]>
  110. * TextInfo.cs (ToString) Fix the return value for ToString.
  111. (Add a new parameter: the CultureInfo, since we implemented things
  112. in terms of the CultureInfo in our runtime, and not the
  113. TextInfo).
  114. (ToTitleCase): Fix to do title case for each word on the string
  115. per the spec.
  116. Wed Jun 30 17:06:43 CEST 2004 Paolo Molaro <[email protected]>
  117. * NumberFormatInfo.cs: workaround for bug 55978.
  118. 2004-06-17 Atsushi Enomoto <[email protected]>
  119. * DateTimeFormatInfo.cs : check if pattern array is empty or not. Now
  120. icall fills them as possible empty list.
  121. 2004-06-15 Gert Driesen <[email protected]>
  122. * DateTimeFormatInfo.cs: added TODO for serialization
  123. * GregorianCalendar.cs:: added TODO for serialization
  124. * HebrewCalendar.cs: added TODO for serialization
  125. * HijriCalendar.cs: added TODO for serialization
  126. * JapaneseCalendar.cs: added TODO for serialization
  127. * JulianCalendar.cs: added TODO for serialization
  128. * KoreanCalendar.cs: added TODO for serialization
  129. * TaiwanCalendar.cs: added TODO for serialization
  130. * ThaiBuddhistCalendar.cs: added TODO for serialization
  131. 2004-06-08 Dick Porter <[email protected]>
  132. * CultureInfo.cs: Make calendar_data readonly, to match the
  133. const-ness in the runtime.
  134. 2004-05-28 Atsushi Enomoto <[email protected]>
  135. * DateTimeFormatInfo.cs : In fact GetAllDateTimePatterns() returns
  136. non-unique results. Just reordered return values looking at MS
  137. invariant behavior.
  138. 2004-05-27 Atsushi Enomoto <[email protected]>
  139. * DateTimeFormatInfo.cs : 'U' is in fact the same as 'F' for pattern
  140. strings. Thanks to kangaroo for the hint.
  141. 2004-05-27 Atsushi Enomoto <[email protected]>
  142. * DateTimeFormatInfo.cs : Fixed longtimes and shorttimes (exchanged).
  143. 2004-05-27 Atsushi Enomoto <[email protected]>
  144. * DateTimeFormatInfo.cs : Added some string[] fields for
  145. GetAllDateTimePatterns(char). The fields will be filled in metadata
  146. and culture info table. Added improved patterns for
  147. GetAllDateTimePatterns() (right now works only for invariant).
  148. * CultureInfo.cs : Use InvariantInfo for InvariantCulture.
  149. 2004-05-26 Atsushi Enomoto <[email protected]>
  150. * DateTimeFormatInfo.cs :
  151. hack implementation for GetAllDateTimePatterns().
  152. 2004-05-17 Jackson Harper <[email protected]>
  153. * CultureInfo.cs: Invariant culture has the invariant culture as
  154. its parent....<insert joke about the south>. It is readonly so we
  155. can return this.
  156. 2004-05-17 Jackson Harper <[email protected]>
  157. * CultureInfo.cs: Properify error messages when invalid lcid's are
  158. used.
  159. 2004-05-15 Jackson Harper <[email protected]>
  160. * CultureInfo.cs: Initialize optional calendars. A pointer to an
  161. array of ints is passed back from the runtime to the CultureInfo
  162. object. The ints store the calendar type and any optional data
  163. needed to construct the calendar.
  164. 2004-05-14 Dick Porter <[email protected]>
  165. * HebrewCalendar.cs: Stubbed ToFourDigitYear()
  166. * HijriCalendar.cs: Stubbed HijriAdjustment
  167. 2004-05-13 Jackson Harper <[email protected]>
  168. * CultureInfo.cs: You can access DateTimeFormat and NumberFormat
  169. from the invariant culture.
  170. 2004-05-13 Jackson Harper <[email protected]>
  171. * CultureInfo.cs: DateTimeFormat and NumberFormat can not be
  172. accessed for neutral cultures.
  173. 2004-04-30 Dick Porter <[email protected]>
  174. * StringInfo.cs:
  175. * TextElementEnumerator.cs: Implemented
  176. 2004-04-27 Jackson Harper <[email protected]>
  177. * CultureInfo.cs: Make specific names lower case, because all data
  178. in the culture info tables is lowercase.
  179. 2004-04-25 Andreas Nahr <[email protected]>
  180. * CultureInfo.cs: Call invariant String.ToLower
  181. * RegionInfo.cs: Call invariant String.ToUpper
  182. 2004-04-11 Atsushi Enomoto <[email protected]>
  183. * NumberFormatInfo.cs : All GetXXXGroupSizes() should not return
  184. internal array. Return clone as MS.NET does.
  185. There still looks somewhere breaking CurrentInfo.
  186. 2004-04-08 Lluis Sanchez Gual <[email protected]>
  187. * CompareInfo.cs, CultureInfo.cs, NumberFormatInfo.cs, TextInfo.cs:
  188. Made those serializable-compatible with MS.NET: modified fields names to
  189. match MS.NET ones, and in CultureInfo added a flag to control when a
  190. deserialized instance need to be initialized.
  191. 2004-04-07 Jackson Harper <[email protected]>
  192. * CultureInfo.cs: Use new ICUless implementation in the runtime.
  193. * CompareInfo.cs: Get ICU name from a cultureinfo object instead
  194. of looking it up in the culture map.
  195. * RegionInfo.cs: Dont check if the LCID is neutral unless its not
  196. found in the switch. Avoids an icall.
  197. 2004-03-24 Gonzalo Paniagua Javier <[email protected]>
  198. * NumberFormatInfo.cs: this fixes bug #56000 for me. And it doesn't
  199. break anything as NumberFormatInfo is sealed.
  200. 2004-02-14 Atsushi Enomoto <[email protected]>
  201. * NumberFormatInfo.cs : CurrentInfo should not return clone every
  202. time (MS.NET returns the same object; try object.ReferenceEquals()).
  203. 2004-02-08 David Sheldon <[email protected]>
  204. * NumberFormatInfo.cs: When parsing the percentages, put the data
  205. into PercentDecimalDigits/PercentGroupLengths, rather than trashing
  206. the NumberDecimatDigits etc. This also means that the percent format
  207. info gets set.
  208. 2004-01-27 David Sheldon <[email protected]>
  209. * NumberFormatInfo.cs: InitPatterns: it seems that the patterns in
  210. ICU use digitPattern, not zeroPattern for the spaces after the
  211. decimal point.
  212. 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
  213. * CultureInfo.cs: Parent returns null when lcid == parent_lcid. Fixes
  214. bug #52102.
  215. 2003-12-20 Ben Maurer <[email protected]>
  216. * CompareInfo.cs: Replace blah == "" with blah.Length == 0.
  217. MUCH faster. Note, we dont need to check for nulls, because
  218. the properties were used in other places.
  219. 2003-12-19 Dick Porter <[email protected]>
  220. * CompareInfo.cs: Added assorted shortcuts when comparing empty
  221. strings. Fixed offset and length range checks to flag when <0.
  222. Broke test that offset >= string length to match actual ms
  223. behaviour (sigh.) Fixes bug 52310.
  224. 2003-12-06 Dick Porter <[email protected]>
  225. * CompareInfo.cs: Don't build strings in Compare, IndexOf and
  226. LastIndexOf methods. Avoid the icall in IndexOf and LastIndexOf
  227. if the search parameter is a char and the CompareOptions include
  228. Ordinal.
  229. 2003-12-04 Dick Porter <[email protected]>
  230. * CompareInfo.cs: Implement the deserialization callback
  231. * CultureInfo.cs: Allow CompareInfo to see the CultureMap so that
  232. it can construct the ICU collator itself
  233. 2003-12-02 Dick Porter <[email protected]>
  234. * NumberFormatInfo.cs: Helper called by runtime locale
  235. construction from ICU. Patch by Mohammad DAMT ([email protected]).
  236. 2003-12-01 Dick Porter <[email protected]>
  237. * CultureInfo.cs: Culture name creation is case-insensitive.
  238. Implemented CurrentCulture and CurrentUICulture.
  239. * CompareInfo.cs: Fix IndexOf and LastIndexOf so that they work
  240. for combining characters.
  241. 2003-11-05 Pedro Martínez Juliá <[email protected]>
  242. * DateTimeFormatInfo.cs: Hack an era for US culture. We must look
  243. for other ways to get the ERA string.
  244. 2003-10-21 Dick Porter <[email protected]>
  245. * TextInfo.cs:
  246. * CultureInfo.cs: Implement TextInfo.GetHashCode(). Fixes bug
  247. 49923.
  248. 2003-10-09 Dick Porter <[email protected]>
  249. * CultureInfo.cs: Implemented, with internal calls to ICU apart
  250. from the Invariant culture.
  251. * SortKey.cs:
  252. * CompareInfo.cs: Implemented
  253. * DateTimeFormatInfo.cs: Fixed the worst of the formatting,
  254. construct default FullDateTimePattern on the fly.
  255. 2003-08-06 Andreas Nahr <[email protected]>
  256. * Locale.cs: Removed (added new version to Assembly directory)
  257. 2003-07-23 Duncan Mak <[email protected]>
  258. * DateTimeFormatInfo.cs: theInvariantDateTimeFormatInfo should not
  259. be public.
  260. 2003-05-11 Ben Maurer <[email protected]>
  261. * *Calendar.cs: Implemented the TwoDigitYearMax property.
  262. 2003-04-22 Pedro Martínez Juliá <[email protected]>
  263. * NumberFormatInfo.cs: Method CurrentInfo now returns the "real"
  264. CurrentInfo (Thread.CurrentThread.CurrentCulture.NumberFormat).
  265. 2003-02-27 Gonzalo Paniagua Javier <[email protected]>
  266. * CultureInfo.cs:
  267. (NameToID): make it case insensitive and use a hashtable instead of
  268. comparing all the strings.
  269. Mon Nov 18 13:02:09 CET 2002 Paolo Molaro <[email protected]>
  270. * CultureInfo.cs: implemented Equals and GetHashCode.
  271. 2002-10-17 Duncan Mak <[email protected]>
  272. * CultureInfo.cs (TextInfo): return a TextInfo in the property.
  273. * TextInfo.cs (ToLower):
  274. (ToTitleCase): Implemented.
  275. 2002-09-12 Dick Porter <[email protected]>
  276. * ThaiBuddhistCalendar.cs:
  277. * TextInfo.cs:
  278. * TaiwanCalendar.cs:
  279. * RegionInfo.cs:
  280. * KoreanCalendar.cs:
  281. * JulianCalendar.cs:
  282. * JapaneseCalendar.cs:
  283. * HijriCalendar.cs:
  284. * HebrewCalendar.cs:
  285. * GregorianCalendar.cs:
  286. * CultureInfo.cs:
  287. * CompareInfo.cs: Stub out missing methods
  288. 2002-08-15 Tim Coleamn <[email protected]>
  289. * CompareInfo.cs:
  290. Stubbed out some methods.
  291. 2002-08-14 Dick Porter <[email protected]>
  292. * CultureInfo.cs: Implement Name, stub out all the other missing
  293. methods.
  294. * TextInfo.cs: Stubbed out this class
  295. 2002-06-12 Nick Drochak <[email protected]>
  296. * DateTimeFormatInfo.cs: Reformat.
  297. 2002-06-11 Nick Drochak <[email protected]>
  298. * NumberFormatInfo.cs: Make NumberNegativePattern = 1 for the ctor
  299. 2002-06-07 Nick Drochak <[email protected]>
  300. * NumberFormatInfo.cs: Make InvariantInfo.NumberNegativePattern = 1
  301. 2002-05-07 Rodrigo Moya <[email protected]>
  302. * CompareInfo.cs: new basic stub (compiles on Linux, so I assume
  303. it does not break the build on windows. Sorry if it does).
  304. 2002-04-23 Gonzalo Paniagua Javier <[email protected]>
  305. * NumberFormatInfo.cs: always set the values for the invariant culture
  306. until there are more cultures supported.
  307. 2002-04-22 Nick Drochak <[email protected]>
  308. * NumberStyles.cs: Add [Serializable].
  309. 2002-04-08 Nick Drochak <[email protected]>
  310. * UnicodeCategory.cs: Fix typos in enum names.
  311. 2002-03-04 Nick Drochak <[email protected]>
  312. * JulianCalendar.cs: JulianEra should be field, not a property.
  313. Thanks CorCompare (and Piers).
  314. 2002-02-12 Duncan Mak <[email protected]>
  315. * CultureInfo.cs: Added the Calendar property to make the TimeZone
  316. class build. It's marked as MonoTODO.
  317. 2002-02-12 Nick Drochak <[email protected]>
  318. * UnicodeCategory.cs: Fix typo.
  319. 2002-02-01 Radek Doulik <[email protected]>
  320. * RegionInfo.cs: started work on RegionInfo
  321. implemented RegionInfo (string) constructor
  322. * CultureInfo.cs: added internal static function,
  323. which could be used from RegionInfo.cs
  324. 2002-01-16 Miguel de Icaza <[email protected]>
  325. * CultureInfo.cs: Completed the tables. Now we need to actually
  326. fill it in.
  327. 2002-01-15 Duncan Mak <[email protected]>
  328. * CultureInfo.cs: Convert it to unix text.
  329. 2002-01-04 Ravi Pratap <[email protected]>
  330. * GreogrianCalendar.cs : The same old MonoTODO attribute.
  331. 2001-11-21 Miguel de Icaza <[email protected]>
  332. * Locale.cs: New file, a place holder for Locale.GetText.
  333. Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <[email protected]>
  334. * Calendar.cs: CLSCompliant updates.
  335. 2001-11-04 Martin Weindel <[email protected]>
  336. * NumberFormatInfo.cs: fixed minor bug in Clone with readonly flag
  337. * DateTimeFormatInfo.cs: added
  338. * CultureInfo.cs: some changed needed for compiling DateTimeFormatInfo.cs
  339. 2001-10-26 Miguel de Icaza <[email protected]>
  340. * NumberFormatInfo.cs: Provide an internal constructor that takes
  341. as an argument a CultureInfo ID (LCID) so that we can construct
  342. different ones here.
  343. * CultureInfo.cs: Begun implementation.
  344. 2001-10-09 Derek Holden <[email protected]>
  345. * NumberFormatInfo.cs: Small typo in PercentPositivePattern
  346. and CurrencyPositivePattern
  347. 2001-09-02 Miguel de Icaza <[email protected]>
  348. * Calendar.cs: Implement a bunch of missing features.
  349. 2001-07-24 Derek Holden <[email protected]>
  350. * NumberStyles.cs: Added ECMA values for Allow types and default
  351. styles.
  352. 2001-07-18 Michael Lambert <[email protected]>
  353. * DateTimeStyles.cs, NumberStyles.cs: Add.