12 Commits
Author SHA1 Message Date
Alexander Köplinger b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Alexander Köplinger 3bfea0a776 [System] Port System.Net.Mime namespace from referencesources
A few helper methods that existed in ContentType were moved into MailMessage.
I verified the test changes are required to match MS.NET behavior.
2015-12-24 13:27:12 +01:00
Alexander Köplinger 746650d1b9 [bcl] Remove more NET_2_0 checks from class libs 2015-01-17 05:45:39 +01:00
Marek Safar f0ad346fb6 Mobile tests update 2013-02-22 21:41:19 +01:00
Gonzalo Paniagua Javier 2343162928 Fix To2047 2011-03-11 16:17:12 -05:00
Atsushi Eno 59c4c3dbd2 2009-04-02 Atsushi Enomoto <[email protected]>
* ContentType.cs : when there are especials, quote parameter values.

	* ContentTypeTest.cs : add quotation test for especials.


svn path=/trunk/mcs/; revision=130842
2009-04-02 08:22:05 +00:00
Marek Safar e690750541 2008-07-01 Marek Safar <[email protected]>
* ContentDispositionTest.cs: Fixed broken test.


svn path=/trunk/mcs/; revision=106968
2008-07-01 10:31:30 +00:00
Atsushi Eno 2b45c53a53 2008-02-16 Atsushi Enomoto <[email protected]>
* ContentType.cs : Reject such MediaType that lacks '/'.
	  Do not reject such parameters that are not standard ones.

	* ContentTypeTest.cs : (oops we didn't have ChangeLog here) added
	  another .ctor() test.


svn path=/trunk/mcs/; revision=95854
2008-02-16 07:58:49 +00:00
Raja R Harinath 74e0026c67 * System.Net.Mime/ContentDispositionTest.cs: Use Assert.AreEqual
rather than Assert.IsTrue(foo == bar) where appropriate.
(ToStringTest):	Make it work on all timezones.

svn path=/trunk/mcs/; revision=55137
2006-01-06 10:44:25 +00:00
John Luke a895acd659 2006-01-02 John Luke <[email protected]>
* ContentDisposition.cs: remove [MonoTODO]'s
        access and store the properties in Parameters
        ToString is now just DispositionType + the parameters
        * ContentType.cs: remove [MonoTODO]'s
        use parameters to store Name, Boundary, and CharSet
        ToString is now just MediaType + the parameters
        throw FormatException for unrecognized paremeter in ctor
        * TransferEncoding.cs: remove [Serializable]

svn path=/trunk/mcs/; revision=54993
2006-01-03 01:31:59 +00:00
John Luke d46799b1c9 2005-12-26 John Luke <[email protected]>
* ContentDisposition.cs: Size is -1 by default
        throw ArgumentNullException and ArgumentException for
        set_DispositionType
        * ContentType.cs: throw ArgumentNullException, ArgumentException,
        and FormatException for set_MediaType
        don't print Boundary,Name in ToString() if they are ""

svn path=/trunk/mcs/; revision=54852
2005-12-26 18:21:47 +00:00
John Luke e0262fc1cc 2005-12-23 John Luke <[email protected]>
* ContentDisposition.cs: override GetHashCode and
        Equals, implement ToString,
        fix Size to be long not int,
        implement Inline property,
        implement the ctors
        * ContentType.cs: override GetHashCode and Equals
        implement ToString, implement the ctors


svn path=/trunk/mcs/; revision=54825
2005-12-24 03:31:21 +00:00