ChangeLog 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. 2004-05-03 Lluis Sanches Gual <[email protected]>
  2. * Encoding.cs: Use name const to load I18N assembly.
  3. 2004-04-25 Andreas Nahr <[email protected]>
  4. * Encoding.cs: Call shortcut String.ToLowerInvariant
  5. 2004-04-13 Miguel de Icaza <[email protected]>
  6. * Encoding.cs: Use new internal codepage setup.
  7. 2004-04-10 Atsushi Enomoto <[email protected]>
  8. * UTF7Encoding.cs : GetMaxByteCount() was based on incorrect formula.
  9. 2004-03-19 Dick Porter <[email protected]>
  10. * UnicodeEncoding.cs: GetCharCount(), GetChars(): Check for the
  11. BOM at the beginning of the range of characters we're interested
  12. in, not at the beginning of the array. Fixes bug 51531.
  13. 2004-03-10 Juraj Skripsky <[email protected]>
  14. * StringBuilder.cs
  15. (Insert int, char[]): fix by using new string(char[]) instead of
  16. char[].ToString() and simplify.
  17. (Insert int, string, int): add LAMESPEC note.
  18. (Insert int char[], int, int): handle value==null according to spec.
  19. Use a string instead of char array + Array.Copy (gonzalo)
  20. 2004-03-08 Gonzalo Paniagua Javier <[email protected]>
  21. * StringBuilder.cs:
  22. (Append (string)): remove redundant check.
  23. 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
  24. * StringBuilder.cs:
  25. (Remove): fixed offsets when copying and set the new size. Fixes bug
  26. #53240.
  27. 2004-01-13 Gonzalo Paniagua Javier <[email protected]>
  28. * StringBuilder.cs: added checks for null in a few Append methods.
  29. Tue Jan 13 22:23:25 CET 2004 Paolo Molaro <[email protected]>
  30. * StringBuilder.cs: fixed start offset in Append(char).
  31. 2004-01-12 Patrik Torstensson
  32. * StringBuilder.cs: new implementation that uses
  33. string as a buffer instead of a array of chars.
  34. 2003-12-07 Ben Maurer <[email protected]>
  35. * UTF8Encoding.cs (GetBytes string): Do not call base
  36. The version in Encoding will call string.ToCharArray (),
  37. allocating an extra array. By calling the better method
  38. in our own class we can save memory.
  39. 2003-11-17 Ben Maurer <[email protected]>
  40. * StringBuilder.cs (Insert int, char): It is really silly and
  41. wasteful to allocate an array here. We can just copy the value
  42. over.
  43. 2003-11-11 Miguel de Icaza <[email protected]>
  44. * Encoding.cs: Use an internal variable to track the parameters of
  45. each encoder, since the .NET API does not expose virtual methods
  46. in the child classes, we should not depend on that.
  47. * ASCIIEncoding.cs, UTF7Encoding, UTF8Encoding, UnicodeEncoding:
  48. Initialize the parameters for base class encoding here.
  49. 2003-09-01 Miguel de Icaza <[email protected]>
  50. * Encoding.cs (UTF8Unmarked): make it also not error out on
  51. invalid input, that is what the Microsoft default is for the
  52. StreamReader and BinaryReader expect (our main consumers).
  53. 2003-08-21 Ben Maurer <[email protected]>
  54. * StringBuilder.cs
  55. (AppendFormat) Use FormatHelper in System.String to avoid
  56. allocating an extra StringBuilder.
  57. (Append string, int, int), (Append char, int): Both were
  58. allocating extra strings.
  59. 2003-06-05 Nick Drochak <[email protected]>
  60. * UTF8Encoding.cs: Cleanups according to class status page
  61. 2003-05-10 Miguel de Icaza <[email protected]>
  62. * Encoding.cs (GetEncoding): Add all the aliases documented in the
  63. framework. We were missing a few.
  64. Reorganize the table. Also, convert the input name into the
  65. lower-case - to _ before we compare against our table.
  66. 2003-05-10 Gonzalo Paniagua Javier <[email protected]>
  67. * StringBuilder.cs: fixed bug #41397.
  68. 2003-04-12 Miguel de Icaza <[email protected]>
  69. * Encoding.cs: Enabled the code paths that we did have commented
  70. out, they seem to work now.
  71. Fri Apr 11 08:29:50 CEST 2003 Paolo Molaro <[email protected]>
  72. * StringBuilder.cs: cache the result from ToString().
  73. 2003-03-18 Atsushi Enomoto <[email protected]>
  74. * UnicodeEncoding.cs: changed WebName from unicodeFFFE to utf-16be.
  75. (unicodeFFFE is MS compliant, but isn't valid IANA encoding name.)
  76. 2003-03-05 Gonzalo Paniagua Javier <[email protected]>
  77. * ASCIIEncoding.cs: fixed bug #38984.
  78. 2003-03-05 Aleksey Demakov <[email protected]>
  79. * ASCIIEncoding.cs:
  80. * Latin1Encoding.cs: fix GetString (byte[]) and
  81. GetString (byte[], int, int) for zero-length case.
  82. 2003-02-19 Gonzalo Paniagua Javier <[email protected]>
  83. * Latin1Encoding.cs: added Serializable attribute.
  84. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  85. * Encoding.cs: removed UnixConsoleEncoding.
  86. 2003-01-30 Zoltan Varga <[email protected]>
  87. * StringBuilder.cs: fix the constructor: 'value' can be NULL,
  88. 'capacity' must be >=0, use defaultCapacity only if capacity equals 0.
  89. This fixes the StringBuilder unit tests.
  90. 2003-01-30 Gonzalo Paniagua Javier <[email protected]>
  91. * StringBuilder.cs: fixed typo in set_Length.
  92. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  93. * Encoding.cs: g_get_encoding () returns "ASCII". In Default, when the
  94. encoding is not found, default to UTF8Unmarked. Removed comment in
  95. UnixConsoleEncoding, because it's now Default, which gets the
  96. encoding internally using g_get_encoding ().
  97. 2002-12-01 Gonzalo Paniagua Javier <[email protected]>
  98. * StringBuilder.cs: fixed constructor. Thanks to marcusU for reporting.
  99. Tue Nov 19 13:03:27 CET 2002 Paolo Molaro <[email protected]>
  100. * UTF8Encoding.cs: fix GetByteCount (), too.
  101. 2002-11-19 Miguel de Icaza <[email protected]>
  102. * UnicodeEncoding.cs: the bytemark should only be used to return
  103. information in GetPreamble, not to actually encode the information
  104. on the stream. That is taken care of by the Stream classes.
  105. * UTF8Encoding.cs: ditto.
  106. 2002-11-13 Gonzalo Paniagua Javier <[email protected]>
  107. * StringBuilder.cs: only move the remaining chars in Remove.
  108. 2002-11-05 Gonzalo Paniagua Javier <[email protected]>
  109. * Encoding.cs: unixConsoleEncoding is now the same as Default. Avoid
  110. locking whenever possible.
  111. 2002-10-30 Miguel de Icaza <[email protected]>
  112. * Encoding.cs (UTF8Unmarked): New static property, used to return
  113. a no-markers UTf8 encoder, used in a few places in the class library.
  114. 2002-09-06 Miguel de Icaza <[email protected]>
  115. * Encoding.cs (UTF8, Unicode): Create with a preamble, that is
  116. what the Microsoft version does.
  117. (UnixConsoleEncoding): New internal method, used to get the
  118. encoding, in the future, this should pull the locale, map to
  119. charset and then code page.
  120. Wed Sep 4 14:01:25 CEST 2002 Paolo Molaro <[email protected]>
  121. * Encoding.cs: use icall to get default codepage.
  122. * DefaultEncoding.cs: remove useless class.
  123. Mon Aug 26 16:44:54 CEST 2002 Paolo Molaro <[email protected]>
  124. * *.cs: change to conform to mono coding style.
  125. 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
  126. * ASCIIEncoding.cs:
  127. * Decoder.cs:
  128. * Encoder.cs:
  129. * Encoding.cs:
  130. * UTF7Encoding.cs:
  131. * UTF8Encoding.cs:
  132. * UnicodeEncoding.cs: added Serializable attribute.
  133. 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
  134. * StringBuilder.cs: improved performace by using String.InternalCopyTo
  135. instead of using ToCharArray all over the place (more that 50% of
  136. speed improvement when using Append).
  137. Wed Aug 21 20:02:04 CEST 2002 Paolo Molaro <[email protected]>
  138. * *.cs: imported the code donated by Rhys Weatherley
  139. <[email protected]>.
  140. 2002-08-18 Dick Porter <[email protected]>
  141. * Encoding.cs: Make GetString() return a useful representation of
  142. the bytes, rather than "System.Char[]"
  143. 2002-08-03 Gonzalo Paniagua Javier <[email protected]>
  144. * StringBuilder.cs: added IndexerName to indexer.
  145. 2002-08-01 Jason Diamond <[email protected]>
  146. * Encoding.cs: Use GetByteCount instead of GetMaxByteCount when
  147. converting chars to bytes.
  148. 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
  149. * StringBuilder.cs: updated comments. MaxCapacity always returns
  150. Int32.MaxValue.
  151. 2002-06-21 Gonzalo Paniagua Javier <[email protected]>
  152. * StringBuilder.cs: implemented AppendFormat methods using
  153. String.Format. Thanks Paolo!
  154. This makes xsp generate correct C# output in linux :-). I still need
  155. to do more testing, though.
  156. Mon Jun 3 12:58:40 CEST 2002 Paolo Molaro <[email protected]>
  157. * ASCIIEncoding.cs: fixed handling of 0 bytecount.
  158. 2002-05-19 Martin Baulig <[email protected]>
  159. * Encoder.cs (IConvEncoder.GetByteCount, IConvEncoder.GetBytes):
  160. Added exception handling.
  161. * Decoder.cs (IConvDecoder.GetCharCount, IConvDecoder.GetChars):
  162. Added exception handling.
  163. 2002/04/02 Nick Drochak <[email protected]>
  164. * StringBuilder.cs (Append): Removed obsolete overload.
  165. 2002-03-21 Mike Kestner <[email protected]>
  166. * ASCIIEncoding.cs : Fix off by one error in Get(Char|Byte)Count.
  167. Thu Mar 21 17:38:19 CET 2002 Paolo Molaro <[email protected]>
  168. * StringBuilder.cs: no need to intern the string returned by ToString().
  169. 2002-03-17 Mike Kestner <[email protected]>
  170. * ASCIIEncoding.cs: Implement all the overridden methods. No longer
  171. dependent on iconv icalls.
  172. * Encoding.cs: Fix count bugs in GetBytes and GetChars. Add virtual
  173. to GetBytes.
  174. Wed Mar 13 00:26:29 CET 2002 Paolo Molaro <[email protected]>
  175. * StringBuilder.cs: make ToString() return a interned string, this
  176. seems to be required to make switch on string work.
  177. Fri Mar 8 17:29:58 CET 2002 Paolo Molaro <[email protected]>
  178. * StringBuilder.cs: make Append(char) do the smart thing.
  179. 2002-01-05 Ravi Pratap <[email protected]>
  180. * ASCIIEncoding.cs, Encoding.cs, UTF7Encoding.cs,
  181. UnicodeEncoding.cs: MonoTODO attribute marking.
  182. * StringBuilder.cs : Ditto.
  183. Wed Nov 14 17:05:22 CET 2001 Paolo Molaro <[email protected]>
  184. * Encoding.cs: renamed some fields.
  185. * StringBuilder.cs: CLSCompliant updates.
  186. 2001-10-29 Nick Drochak <[email protected]>
  187. * StringBuilder.cs: Throw exceptions when constructor paramter(s) are
  188. invalid. Just like MS does (as best as I can tell).
  189. Tests for these exceptions are now added to the unit tests as well.
  190. 2001-10-25 Nick Drochak <[email protected]>
  191. * StringBuilder.cs: Throw exception if they try to make a StringBuilder
  192. whose capacity is greater than the MaxCapacity.
  193. I added some tests for the constructors and the above exception. More
  194. coming soon.
  195. 2001-10-23 Nick Drochak <[email protected]>
  196. * StringBuilder.cs: Refactored constructor code into just one
  197. constructor. All the other construtors call it. Also supplied missing
  198. constructors so the class has all those in the spec.
  199. Added the MaxCapacity property as well, however this needs to be
  200. completed to return a value is related to the available system memory.
  201. 2001-10-07 Miguel de Icaza <[email protected]>
  202. * Encoding.cs, UTF8Encoding.cs, UTF7Encoding.cs, ASCIIEncoding.cs,
  203. UnicodeEncoding.cs: Corrected API.
  204. * UTF8Encoding.cs: Checked in changes from Rafael.
  205. 2001-08-28 Dietmar Maurer <[email protected]>
  206. * UTF8Encoding.cs: impl. clumsy GetBytes
  207. 2001-07-16 Marcin Szczepanski <[email protected]>
  208. * StringBuilder.cs (Text): Fixed.
  209. * StringBuilderTest.cs: Implement Test suite.
  210. 2001-07-12 Marcin Szczepanski <[email protected]>
  211. * StringBuilder.cs: Implemented.
  212. The only methods left unimplemented are the AppendFormat( ... )
  213. ones just because it's probably better to wait until some of the
  214. Format related classes are implemented. I've put that as a TODO
  215. comment at the top and created the methods with a "nop" body.
  216. 2001-06-26 Sean MacIsaac <[email protected]>
  217. * UnicodeEncoding.cs: Members added so that a clean compile is
  218. possible.
  219. * ASCIIEncoding.cs: Members added so that a clean compile is
  220. possible.
  221. * UTF7Encoding.cs: Members added so that a clean compile is
  222. possible.
  223. * UTF8Encoding.cs: Members added so that a clean compile is
  224. possible.
  225. * Encoding.cs: All public members included. Most members
  226. unimplemented.