Commit Graph
71 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Miguel de Icaza ae0feab435 Removal of NET_1_1 defines and some NET_2_0; Both defines are true these days in Mono, no versions prior to 2.0 are supported 2012-06-01 18:04:24 -04:00
Sebastien Pouliot 08ce0295db Remove unneeded 'using' clauses 2010-10-08 16:09:20 -04:00
Marek Habersack 15e158a0e1 - updated obsolete types/members
- added missing type/member attributes
- use generic types in Page wherever possible

svn path=/trunk/mcs/; revision=158360
2010-06-02 19:04:08 +00:00
Marek Habersack ef9c9e51ce Do not abuse the 'private' keyword
svn path=/trunk/mcs/; revision=116539
2008-10-20 17:37:54 +00:00
Igor Zelmanovich f74cf7db37 refactoring:
use Debug.WriteLine instead Console.WriteLine within #if DEBUG.

svn path=/trunk/mcs/; revision=92787
2008-01-13 13:02:45 +00:00
Marek Habersack 4ce3af2b1f 2007-12-13 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs, AspComponentFoundry.cs,
	AssemblyBuilder.cs, AppResourcesCompiler.cs,
	AppResourcesAssemblyBuilder.cs, AppCodeCompiler.cs: speed
	optimization - use String.Concat instead of String.Format in some
	cases.
2007-12-13  Marek Habersack  <[email protected]>

	* MailAddress.cs, SmtpClient.cs, MailMessageWrapper.cs: speed
	optimization - use String.Concat instead of String.Format in some
	cases.
2007-12-13  Marek Habersack  <[email protected]>

	* HttpRequest.cs, HttpResponse.cs, SiteMapNode.cs, HttpRuntime.cs,
	HttpResponseStream.cs, HttpApplication.cs, HttpCachePolicy.cs:
	speed optimization - use String.Concat instead of String.Format in
	some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* FileMatchingInfo.cs. MachineKeyRegistryStorage.cs: speed
	optimization - use String.Concat instead of String.Format in some
	cases.

svn path=/trunk/mcs/; revision=91234
2007-12-13 15:38:53 +00:00
Marek Habersack 3b49fedbe3 Credit Hubert on the patch, sorry to have forgotten about it
svn path=/trunk/mcs/; revision=89450
2007-11-12 08:34:32 +00:00
Marek Habersack 26ab9b1f57 formatting
svn path=/trunk/mcs/; revision=89315
2007-11-09 13:47:37 +00:00
Marek Habersack eaf8cdb741 2007-11-09 Marek Habersack <[email protected]>
* SmtpClient.cs: Connect only after reading in the fields that may
	specify the port to connect to. Fixes bug #340501.

svn path=/trunk/mcs/; revision=89311
2007-11-09 12:59:54 +00:00
Marek Habersack a8ef442aae 2007-11-09 Marek Habersack <[email protected]>
* SmtpClient.cs: formatting

svn path=/trunk/mcs/; revision=89310
2007-11-09 12:52:21 +00:00
Paolo Molaro ad006452b4 Mon Jul 9 13:04:37 CEST 2007 Paolo Molaro <[email protected]>
* SmtpClient.cs: fixed Vladimir's refactoring that broke
	loading Mono.Security.


svn path=/trunk/mcs/; revision=81628
2007-07-09 10:52:15 +00:00
Gonzalo Paniagua Javier 8fa8ca15a6 2006-08-03 Gonzalo Paniagua Javier <[email protected]>
* MailAddress.cs: allow the space before '<' to be omitted.


svn path=/trunk/mcs/; revision=63333
2006-08-03 21:28:38 +00:00
Vladimir Krasnov b2b09a61f0 SmtpClient.cs, SmtpStream.cs: Added SMTP over TLS support, refactoring
svn path=/trunk/mcs/; revision=59914
2006-04-26 08:40:11 +00:00
Vladimir Krasnov 65c29ca847 * SmtpMail.cs: removed TARGET_JVM part from Send method.
svn path=/trunk/mcs/; revision=58344
2006-03-23 09:18:31 +00:00
Vladimir Krasnov a26d91b65e * MailMessageWrapper.cs: fixed Fields property, casting to string changed to ToString method call.
svn path=/trunk/mcs/; revision=58343
2006-03-23 09:15:18 +00:00
Konstantin Triger 833760d078 TARGET_JVM changes to let the compilation pass with csc 1.1
svn path=/trunk/mcs/; revision=55204
2006-01-08 13:15:06 +00:00
Chris Toshok 2c73ba59eb 2005-11-28 Chris Toshok <[email protected]>
* SmtpClient.cs: ignore warning 618 (obsolete) when compiling an
	already obsolete api (in the 2.0 case).

	* MailAttachment.cs: same.

	* MailMessageWrapper.cs: same.

	* MailMessage.cs: same.


svn path=/trunk/mcs/; revision=53586
2005-11-28 21:03:50 +00:00
Gert Driesen 08ac020979 * MailPriority.cs: Marked obsolete in 2.0 profile. Fixed line endings.
* SmtpMail.cs: Added workaround message to ensure same warning is
generated as MS.NET 2.0.
* MailMessage.cs: same and fixed line endings. Set eol-style to native.
* MailEncoding.cs: same.
* MailFormat.cs: same.
* MailAttachment.cs: same.

svn path=/trunk/mcs/; revision=50090
2005-09-15 16:53:38 +00:00
Sebastien Pouliot a80ca80124 2005-09-13 Sebastien Pouliot <[email protected]>
* SmtpMail.cs: Added an Assert for FileIOPermission so it's possible
	to send attachments (in this case MailAttachment is already protected
	but doesn't open|read the file itself).


svn path=/trunk/mcs/; revision=49991
2005-09-14 00:07:26 +00:00
Sebastien Pouliot 2a07a67b8a 2005-09-09 Sebastien Pouliot <[email protected]>
* MailAttachment.cs: Added [Link|Inheritance]Demand for Minimal. Added
	FileIOPermission for Read in the constructor. Added [Obsolete] in 2.0.
	* MailEncoding.cs: Removed [Serializable] and added [Obsolete] in 2.0.
	* MailFormat.cs: Removed [Serializable] and added [Obsolete] in 2.0.
	* MailMessage.cs: Removed references to RelatedBodyParts (2.0). Added 
	[Link|Inheritance]Demand for Minimal. Added [Obsolete] in 2.0.
	* MailMessageWrapper.cs: Removed references to RelatedBodyParts (2.0).
	* MailPriority.cs: Removed [Serializable] in 2.0. No [Obsolete] ?
	* SmtpClient.cs: Removed references to RelatedBodyParts (2.0).
	* SmtpMail.cs: Added [Link|Inheritance]Demand for Minimal. Added 
	Demand for Medium on Send method.Added [Obsolete] in 2.0.


svn path=/trunk/mcs/; revision=49811
2005-09-09 17:11:18 +00:00
Ben Maurer 2db31ba22c round one
svn path=/trunk/mcs/; revision=48990
2005-08-27 21:03:38 +00:00
Ilya Kharmatsky 5db3af64bb svn path=/trunk/mcs/; revision=46209 2005-06-19 09:28:35 +00:00
Gonzalo Paniagua Javier d350ba9efd 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
* SmtpClient.cs:
	* SmtpStream.cs: removed warnings.


svn path=/trunk/mcs/; revision=43362
2005-04-20 22:20:37 +00:00
Lluis Sanchez 4b64fb1699 2005-01-28 Lluis Sanchez Gual <[email protected]>
* Base64AttachmentEncoder.cs: Fixed warning.


svn path=/trunk/mcs/; revision=39729
2005-01-29 00:03:20 +00:00
Sanja Gupta 04e50b3784 ChangeLog: Updated.
SmtpClient.cs: Fixed bug 68829.

svn path=/trunk/mcs/; revision=35351
2004-10-27 11:01:09 +00:00
Sanja Gupta 293a17e582 ChangeLog: Updated ChangeLog
MailMessageWrapper.cs: Added a comment to add Date header.
SmtpClient.cs: Updated functionality to add RelatedBodyPart to
        MIME message.

svn path=/trunk/mcs/; revision=32928
2004-08-27 13:49:32 +00:00
Sanja Gupta 491c630baa ChangeLog: Updated ChangeLog.
SmtpClient.cs: Added functionality to add RelatedBodyPart to MIME message.

svn path=/trunk/mcs/; revision=32874
2004-08-26 11:50:01 +00:00
Sanja Gupta e4334426be ChangeLog: Updated ChangeLog.
MailMessageWrapper.cs: Added NET_2_0 property and another missing
        property from NET_1_1.
RelatedBodyPart.cs: Error detection and handling.
SmtpClient.cs: Upgraded for NET_1_1 and WIP for NET_2_0.

svn path=/trunk/mcs/; revision=32822
2004-08-25 12:59:38 +00:00
Sanja Gupta 01689a66a9 ChangeLog: Updated ChangeLog.
MailEncoding.cs:
MailFormat.cs:
MailPriority.cs: Added NET_2_0 attribute.

svn path=/trunk/mcs/; revision=32481
2004-08-18 12:53:04 +00:00
Sanja Gupta 6044b6c81e ChangeLog: Updated ChangeLog.
MailMessage.cs: Added new property RelatedBodyParts.
RelatedBodyPart.cs: Added new file.

svn path=/trunk/mcs/; revision=32476
2004-08-18 04:09:30 +00:00
Gonzalo Paniagua Javier bc9587697a 2004-08-10 Gonzalo Paniagua Javier <[email protected]>
* SmtpClient.cs: multipart mails default body format is now the same as
	the one used for single part mails instead of being forced to
	"text/plain".

svn path=/trunk/mcs/; revision=32174
2004-08-10 19:35:44 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Gonzalo Paniagua Javier a63f416ff7 2004-02-27 Gonzalo Paniagua Javier <[email protected]>
* MailMessage.cs: patch by John Luke that initialized the fields in
	the message and makes Fields return the same as in MS.NET. Fixes bug
	#54908.

svn path=/trunk/mcs/; revision=23528
2004-02-27 13:44:13 +00:00
Gonzalo Paniagua Javier 195a98bea2 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
* MailMessage.cs: added Fields property.

svn path=/trunk/mcs/; revision=21292
2003-12-18 01:16:26 +00:00
Gonzalo Paniagua Javier fe9a1a15cd 2003-11-20 Gonzalo Paniagua Javier <[email protected]>
* MailMessageWrapper.cs: fixed typo that made all messages be sent as
	html, even when the body is marked as text. Path by Mohammad DAMT.
	Closes bug #51177.

svn path=/trunk/mcs/; revision=20256
2003-11-20 04:36:08 +00:00
Gonzalo Paniagua Javier 81f6e15911 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
* MailAddress.cs: return null instead of exception when the address is
	empty.

	* MailAddressCollection.cs: ignore null addresses.
	* SmtpMail.cs: add the exception we get as inner exception so we know
	where the error is.

	Fixes bug #45746.

svn path=/trunk/mcs/; revision=15886
2003-07-03 11:16:03 +00:00
Per Arneng 9da46b6420 updated with changes from Tobias DiPasquale
svn path=/trunk/mcs/; revision=14083
2003-04-29 00:40:49 +00:00
Per Arneng 8d5a646b5c updated with the MailUtil
svn path=/trunk/mcs/; revision=12788
2003-03-24 19:42:08 +00:00
Per Arneng 43697b86ba Bcc is now working, Unique boundaries, Encoded headers when needed
svn path=/trunk/mcs/; revision=12787
2003-03-24 19:40:00 +00:00
Per Arneng cc8601c95b Fixed invalid cast exception
svn path=/trunk/mcs/; revision=12785
2003-03-24 18:02:39 +00:00
Per Arneng a563002193 Minor update. MailUtil used in MailAddress
svn path=/trunk/mcs/; revision=12784
2003-03-24 17:58:44 +00:00
Per Arneng b2c0db97c2 Added MailUtil
svn path=/trunk/mcs/; revision=12783
2003-03-24 17:51:25 +00:00
Per Arneng 003d7b8a4b Compatibillity update: Made some changes to make everything
work closer to how .NET sdk works.

svn path=/trunk/mcs/; revision=12730
2003-03-21 16:44:47 +00:00
Per Arneng 15c23f78bc Added MailHeader to handle the mail headers
svn path=/trunk/mcs/; revision=12465
2003-03-12 23:20:03 +00:00
Per Arneng 3f7490d56d Added more comments
svn path=/trunk/mcs/; revision=12395
2003-03-09 23:32:31 +00:00
Per Arneng cfda453755 Added comments to the code
svn path=/trunk/mcs/; revision=12394
2003-03-09 23:26:04 +00:00
Per Arneng 0dc5c9c672 Replaced by IAttachmentEncoder.cs
svn path=/trunk/mcs/; revision=12393
2003-03-09 22:57:55 +00:00
Per Arneng e1142c0258 Added UUEncoding for attachments.
Created and Attachment encoder interface which
Base64 and UUEncode implements.

svn path=/trunk/mcs/; revision=12392
2003-03-09 22:39:31 +00:00
Per Arneng ba2c0d13f4 Updated the changelog nd removed the obsolete SmtpMessage.cs
svn path=/trunk/mcs/; revision=12265
2003-03-06 21:16:58 +00:00