Commit Graph
16 Commits
Author SHA1 Message Date
Miguel de Icaza 3d0638b95e 2003-11-11 Miguel de Icaza <[email protected]>
* Encoding.cs: Use an internal variable to track the parameters of
	each encoder, since the .NET API does not expose virtual methods
	in the child classes, we should not depend on that.

	* ASCIIEncoding.cs, UTF7Encoding, UTF8Encoding, UnicodeEncoding:
	Initialize the parameters for base class encoding here.

svn path=/trunk/mcs/; revision=19843
2003-11-11 22:54:18 +00:00
Gonzalo Paniagua Javier f3609d9a4f 2003-03-05 Gonzalo Paniagua Javier <[email protected]>
* ASCIIEncoding.cs: fixed bug #38984.

svn path=/trunk/mcs/; revision=12235
2003-03-05 23:45:51 +00:00
Gonzalo Paniagua Javier 8f389f0504 2003-03-05 Aleksey Demakov <[email protected]>
* ASCIIEncoding.cs:
	* Latin1Encoding.cs: fix GetString (byte[]) and
	GetString (byte[], int, int) for zero-length case.

svn path=/trunk/mcs/; revision=12233
2003-03-05 23:37:21 +00:00
Paolo Molaro 6c10f94827 Mon Aug 26 16:44:54 CEST 2002 Paolo Molaro <[email protected]>
* *.cs: change to conform to mono coding style.

svn path=/trunk/mcs/; revision=7050
2002-08-26 14:46:37 +00:00
Gonzalo Paniagua Javier 851bbb86ad 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* ASCIIEncoding.cs:
	* Decoder.cs:
	* Encoder.cs:
	* Encoding.cs:
	* UTF7Encoding.cs:
	* UTF8Encoding.cs:
	* UnicodeEncoding.cs: added Serializable attribute.

svn path=/trunk/mcs/; revision=7001
2002-08-24 17:49:22 +00:00
Paolo Molaro feee3a2d52 Wed Aug 21 20:02:04 CEST 2002 Paolo Molaro <[email protected]>
* *.cs: imported the code donated by Rhys Weatherley
	<[email protected]>.

svn path=/trunk/mcs/; revision=6863
2002-08-21 18:04:52 +00:00
Paolo Molaro af3d63bd05 Mon Jun 3 12:58:40 CEST 2002 Paolo Molaro <[email protected]>
* ASCIIEncoding.cs: fixed handling of 0 bytecount.

svn path=/trunk/mcs/; revision=5097
2002-06-03 07:12:26 +00:00
John Donagher 3fea99a8b0 Fix ASCIIEncoding.GetString(bytes[],index,count); it was misbehaving when index=0 and count=bytes.length
svn path=/trunk/mcs/; revision=3697
2002-04-08 21:51:50 +00:00
Piers Haken 610d7923ac added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00
Mike Kestner 556f0d7b34 2002-03-21 Mike Kestner <[email protected]>
* ASCIIEncoding.cs : Fix off by one error in Get(Char|Byte)Count.

2002-03-21  Mike Kestner <[email protected]>

	* StreamReader.cs : Fill out, add buffering, and use encoding.

svn path=/trunk/mcs/; revision=3266
2002-03-22 02:09:36 +00:00
Mike Kestner 4b498e63e4 2002-03-17 Mike Kestner <[email protected]>
* ASCIIEncodingTest.cs : New suite for ASCIIEncoding.
	* AllTests.cs : Add the new suite.

2002-03-17  Mike Kestner  <[email protected]>

	* ASCIIEncoding.cs: Implement all the overridden methods. No longer
	  dependent on iconv icalls.
	* Encoding.cs: Fix count bugs in GetBytes and GetChars. Add virtual
	  to GetBytes.

svn path=/trunk/mcs/; revision=3170
2002-03-17 16:44:37 +00:00
Ravi Pratap M 9cffbe82ab 2002-01-05 Ravi Pratap <[email protected]>
* ASCIIEncoding.cs, Encoding.cs, UTF7Encoding.cs,
	UnicodeEncoding.cs: MonoTODO attribute marking.

	* StringBuilder.cs : Ditto.

svn path=/trunk/mcs/; revision=1849
2002-01-05 06:11:42 +00:00
Dietmar Maurer 12d3d0ce8c unicode support (using iconv)
svn path=/trunk/mcs/; revision=1801
2002-01-04 06:32:08 +00:00
Miguel de Icaza 4bf5a2deb5 More cleanups
svn path=/trunk/mcs/; revision=1374
2001-11-17 01:39:27 +00:00
Miguel de Icaza 61634984c6 Some warning reduction:
2001-10-07  Miguel de Icaza  <[email protected]>

	* Exception.cs: Implement bits of serialization.

	* RuntimeFieldHandle.cs: Implement Serialization features.

	* Type.cs: Implement TypeHandle property.

2001-10-07  Miguel de Icaza  <[email protected]>

	* AssemblyBuilder.cs: Reformatted.

	Added override keywords to those that needed them.

	Removed methods that we do not override, but just inherit

2001-10-07  Miguel de Icaza  <[email protected]>

	* Encoding.cs, UTF8Encoding.cs, UTF7Encoding.cs, ASCIIEncoding.cs,
	UnicodeEncoding.cs: Corrected API.

	* UTF8Encoding.cs: Checked in changes from Rafael.

svn path=/trunk/mcs/; revision=1113
2001-10-07 01:39:01 +00:00
Sean MacIsaac 6b52f46149 * UnicodeEncoding.cs: Members added so that a clean compile is
possible.

* ASCIIEncoding.cs: Members added so that a clean compile is
possible.

* UTF7Encoding.cs: Members added so that a clean compile is
possible.

* UTF8Encoding.cs: Members added so that a clean compile is
possible.

* Encoding.cs: All public members included.  Most members
unimplemented.

svn path=/trunk/mcs/; revision=35
2001-06-26 14:19:40 +00:00