Commit Graph
13 Commits
Author SHA1 Message Date
Gert Driesen b136e2077e * ASCIIEncoding.cs: Marked class ComVisible (true) on 2.0 profile.
Marked 2.0-only members as ComVisible (false).
* Decoder.cs: Marked class ComVisible (true) on 2.0 profile. Marked
2.0-only members as ComVisible (false).
* Encoder.cs: Marked class ComVisible (true) on 2.0 profile. Marked
2.0-only members as ComVisible (false).
* Encoding.cs: Marked class ComVisible (true) on 2.0 profile. Marked
2.0-only members as ComVisible (false).
* NormalizationForm.cs: Marked ComVisible (true).
* StringBuilder.cs: Marked class ComVisible (true) on 2.0 profile.
Marked 2.0-only methods as ComVisible (false).
* UnicodeEncoding.cs: GetString (byte[], int, int) is only available
in 2.0 profile. Marked 2.0-only methods ComVisible (false). Added
missing ctor in 2.0 profile, and marked in MonoTODO.
* UTF7Encoding.cs: Marked class ComVisible (true) on 2.0 profile.
* UTF8Encoding.cs: Marked 2.0-only methods as ComVisible (false).

svn path=/trunk/mcs/; revision=61250
2006-05-30 09:02:37 +00:00
Atsushi Eno 20ef4631cf 2006-03-30 Atsushi Enomoto <[email protected]>
* Encoder.cs, Decoder.cs : implemented Convert(). Also added argument
	  check in some methods.

	* EncoderTest.cs, DecoderTest.cs : new tests, for Convert().

	* corlib_test.dll.sources: added EncoderTest.cs and DecoderTest.cs.


svn path=/trunk/mcs/; revision=58819
2006-03-30 19:08:18 +00:00
Atsushi Eno 5b0432b99f 2006-01-20 Atsushi Enomoto <[email protected]>
* Encoder.cs : Fallback should be initialized to have an instance.


svn path=/trunk/mcs/; revision=55832
2006-01-20 14:24:23 +00:00
Atsushi Eno 260a309975 2005-11-28 Atsushi Enomoto <[email protected]>
* Encoder.cs : added new GetByteCount()/GetBytes() overloads.
	  Added FallbackBuffer.
	* Decoder.cs : added new GetCharCount()/GetChars() overloads.


svn path=/trunk/mcs/; revision=53548
2005-11-28 12:25:41 +00:00
Atsushi Eno 86544b0077 2005-11-15 Atsushi Enomoto <[email protected]>
* corlib_test.dll.sources: added new tests for
	  DecoderReplacementFallback and EncoderReplacementFallback.

	* Encoding.cs : Added IsReadOnly, DecoderFallback and EncoderFallback.
	* Encoder.cs : Added Fallback property.
	* Decoder.cs : Added Fallback property.

	* TestEncoding.cs,
	  DecoderReplacementFallbackTest.cs,
	  EncoderReplacementFallbackTest.cs : new 2.0 tests.


svn path=/trunk/mcs/; revision=53050
2005-11-15 12:12:12 +00:00
Miguel de Icaza a8dea00dfb Fixed licenses
svn path=/trunk/mcs/; revision=30382
2004-06-25 14:42:22 +00:00
Duncan Mak 13d1764537 Add license and copyright to all source files in corlib
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +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
Martin Baulig 89dc4ec342 2002-05-19 Martin Baulig <[email protected]>
* Encoder.cs (IConvEncoder.GetByteCount, IConvEncoder.GetBytes):
	Added exception handling.

	* Decoder.cs (IConvDecoder.GetCharCount, IConvDecoder.GetChars):
	Added exception handling.

svn path=/trunk/mcs/; revision=4761
2002-05-19 12:27:15 +00:00
Piers Haken 610d7923ac added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00
Dietmar Maurer 12d3d0ce8c unicode support (using iconv)
svn path=/trunk/mcs/; revision=1801
2002-01-04 06:32:08 +00:00
Dietmar Maurer 01fb3e5f74 new abstract classes
svn path=/trunk/mcs/; revision=1619
2001-12-18 09:15:00 +00:00