Re: [Mono-dev] Mono 2.0 Preview 1 is out!!
On Wed, Aug 20, 2008 at 12:32 PM, Miguel de Icaza [EMAIL PROTECTED] wrote: Ah, this is very interesting. You are running Paint.NET on Windows with Mono. This is fascinating, because it never occurred to me. I started on a different direction, since Paint.NET contained a lot of calls to Win32, I started porting the code to Linux and replacing the SystemLayer.dll code with code that worked on Unix. This caught my attention. If Paint.NET uses lots of Win32 calls, but can be made to run on Mono on Windows, then it would be interesting to see if it ran on Mono on Wine. That could open up a lot of doors. Wine's gdiplus is becoming much more complete lately, so this might not be as crazy at it sounds. - Dan ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] XIM and mono-winforms-2.0
Hello, Hi, Finally, as a workaround you can set environment XMODIFIERS=dummy to avoid call to XOpenIM() which is likely breaking your mono/mwf environment. We cannot introduce any workaround for you, as we cannot avoid call to XOpenIM() while everything looks fine. I reviewed my code and noticed that XOpenIM() was actually called even when XSetLocaleModifiers() results in failure. So, my code did not realize my expectation. I've checked in a fix to both trunk and 2.0 branch, so please retry it. It looks like LC_CTYPE en_GB.UTF8 doesn't work. en_US.UTF8 is fine though. That rather sounds like you have some valid setup for en_US.UTF8 but not for en_GB.UTF8. Atsushi Eno ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] sending smtp email under SSL
Hi, I'm facing the same issue, it seems like this issue has not been addressed yet :( Did anyone find a workaround for alternative solution for sending emails through gmail? Thanks in advance, Ignacio. gedw99 wrote: Hey, i am trying to send an email using a gmail account. According to the docs, Network Credentials does not support SSL. http://www.go-mono.com/docs/index.aspx?link=T%3ASystem.Net.NetworkCredential%2F* I am using the latest mono 1.2, and XPS2 ! Is there an alternative way to send email under SSL Code and error below SmtpClient mailClient = new SmtpClient(); mailClient.EnableSsl = true; mailClient.DeliveryMethod = SmtpDeliveryMethod.Network; mailClient.Host = smtp.gmail.com; mailClient.Port = 587; mailClient.Credentials = new NetworkCredential(Config.GMAIL_UserName, Config.GMAIL_PassWord); mailClient.Send(this._from, this._to, this._subject, this._body); THis fails with: Server Error in '/' Application SSL authentication error: RemoteCertificateChainErrors Description: Error processing request. Error Message: HTTP 500. System.InvalidOperationException: SSL authentication error: RemoteCertificateChainErrors Stack Trace: System.InvalidOperationException: SSL authentication error: RemoteCertificateChainErrors at System.Net.Mail.SmtpClient.SmtpClientc__38 (System.Object sender, System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Security.Cryptography.X509Certificates.X509Chain chain, SslPolicyErrors sslPolicyErrors) [0x0] at System.Net.Security.SslStream+c__CompilerGenerated13.BeginAuthenticateAsClientc__44 (System.Security.Cryptography.X509Certificates.X509Certificate cert, System.Int32[] certErrors) [0x0] at Mono.Security.Protocol.Tls.SslClientStream.OnRemoteCertificateValidation (System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Int32[] errors) [0x0] at Mono.Security.Protocol.Tls.SslStreamBase.RaiseRemoteCertificateValidation (System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Int32[] errors) [0x0] at Mono.Security.Protocol.Tls.SslClientStream.RaiseServerCertificateValidation (System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Int32[] certificateErrors) [0x0] at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection certificates) [0x0] at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1 () [0x0] at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () [0x0] at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process () at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage (Mono.Security.Protocol.Tls.TlsStream handMsg) [0x0] at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x0] ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- View this message in context: http://www.nabble.com/sending-smtp-email-under-SSL-tp14518813p19113075.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Patch to Color equality operator and FromKnownColor
Hi, This fixes bug #410693 and at the same time I found a small difference on FromKnownColor between mono and MS.Net. The value when the method is called is not supposed to be set... Cheers, -- Alexandre Gomes, Portugal Index: mcs/class/System.Drawing/System.Drawing/Color.cs === --- mcs/class/System.Drawing/System.Drawing/Color.cs (revision 111409) +++ mcs/class/System.Drawing/System.Drawing/Color.cs (working copy) @@ -211,7 +211,7 @@ public static bool operator == (Color left, Color right) { - if (left.value != right.value) + if (left.value != right.value || left.knownColor != right.knownColor) return false; if (left.IsNamedColor != right.IsNamedColor) return false; Index: mcs/class/System.Drawing/System.Drawing/KnownColors.cs === --- mcs/class/System.Drawing/System.Drawing/KnownColors.cs (revision 111409) +++ mcs/class/System.Drawing/System.Drawing/KnownColors.cs (working copy) @@ -292,7 +292,6 @@ c.state = (short) (Color.ColorType.ARGB | Color.ColorType.Known | Color.ColorType.Named); if ((n 27) || (n 169)) c.state |= (short) Color.ColorType.System; -c.value = ArgbValues [n]; #if ONLY_1_1 c.name = GetName (n); #endif Index: mcs/class/System.Drawing/System.Drawing/ChangeLog === --- mcs/class/System.Drawing/System.Drawing/ChangeLog (revision 111409) +++ mcs/class/System.Drawing/System.Drawing/ChangeLog (working copy) @@ -1,3 +1,9 @@ +2008-08-22 Alexandre Gomes [EMAIL PROTECTED] + + * Color.cs, + * KnownColors.cs: Fixes bug #410693 and makes FromKnownColor + behave like MS.Net by not setting the value. + 2008-08-08 Gert Driesen [EMAIL PROTECTED] * Icon.cs (InitFromStreamWithSize): Use temp ArrayList for IconDirEntry ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Patch to Color equality operator and FromKnownColor
Hello Alexandre, On Fri, 2008-08-22 at 20:52 +0100, Alexandre Miguel Pedro Gomes wrote: Hi, This fixes bug #410693 and at the same time I found a small difference on FromKnownColor between mono and MS.Net. The value when the method is called is not supposed to be set... Since there's already a bug open for this could you attach your patch to it ? and also prepend [PATCH] to it's summary ? This will allow the bug reporter to see (and potentially test) the patch too (and give me a visual cue that I can't forget ;-) Thanks Sebastien ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono 2.0 Preview 1 is out!!
Ah, this is very interesting. You are running Paint.NET on Windows with Mono. This is fascinating, because it never occurred to me. I started on a different direction, since Paint.NET contained a lot of calls to Win32, I started porting the code to Linux and replacing the SystemLayer.dll code with code that worked on Unix. This caught my attention. If Paint.NET uses lots of Win32 calls, but can be made to run on Mono on Windows, then it would be interesting to see if it ran on Mono on Wine. That could open up a lot of doors. An intriguing idea! Wine's gdiplus is becoming much more complete lately, so this might not be as crazy at it sounds. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] utf8 related patches. Please review.
Hello Mike, Thanks for your patches and the ChangeLogs, they have both been commited now to SVN. On Thu, 2008-08-21 at 08:16 -0400, Mike Voorhees wrote: Miguel, Attached are patches for both change logs, licensing my changes under MIT X11. Mike On Wed, Aug 20, 2008 at 4:22 PM, Miguel de Icaza [EMAIL PROTECTED] wrote: Hello Mike, Thanks for your patches; I commited everything into glib. For the Mono piece, would you be willing to also license those changes under the MIT X11 license? Miguel. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] BitVector32 patch
Hello Scott, Scott, would you mind providing NUnit test cases to ensure that this bug does not ever creep up again, and in particular, test cases for the current failure? Done and done: https://bugzilla.novell.com/show_bug.cgi?id=417833 This seems to differ from .NET, as on .NET the following works: s1 = BitVector32.CreateSection (32767); s2 = BitVector32.CreateSection (32767, s1); s3 = BitVector32.CreateSection (4, s2); Without throwing an exception ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] utf8 related patches. Please review.
Lovely, now I can change mono_string_new to use an even faster path than before. On Fri, Aug 22, 2008 at 5:44 PM, Miguel de Icaza [EMAIL PROTECTED] wrote: Hello Mike, Thanks for your patches and the ChangeLogs, they have both been commited now to SVN. On Thu, 2008-08-21 at 08:16 -0400, Mike Voorhees wrote: Miguel, Attached are patches for both change logs, licensing my changes under MIT X11. Mike On Wed, Aug 20, 2008 at 4:22 PM, Miguel de Icaza [EMAIL PROTECTED] wrote: Hello Mike, Thanks for your patches; I commited everything into glib. For the Mono piece, would you be willing to also license those changes under the MIT X11 license? Miguel. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list