[Mono-dev] Open source .Net, and TLS 1.1 1.2
Does anybody know if support for TLS 1.1 1.2 will be released, and if so, going to be integrated into mono? ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Open source .Net, and TLS 1.1 1.2
Hello, .NET's implementation of the TLS stack is built on top of native code, so it wont work on Mono. We have implemented TLS 1.1 and 1.2 on top of the not yet open sourced networking stack and will be publishing it as soon as Microsoft open sources the .NET networking stack. Miguel On Tue, Dec 9, 2014 at 7:20 AM, Edward Ned Harvey (mono) edward.harvey.m...@clevertrove.com wrote: Does anybody know if support for TLS 1.1 1.2 will be released, and if so, going to be integrated into mono? ___ 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-dev] PR #1447 [MWF] Use Ctrl+PageUp/PageDown for Tab Navigation
In the Windows implementation of the TabControl, Ctrl+PageUp navigates to the previous tab and Ctrl+PageDown navigates to the next tab (with both wrapping around). This change implements this feature in the Mono implementation. https://github.com/mono/mono/pull/1447/ Thanks, Chris Hubbard ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Proposed changes to mono/mcs/class/corlib/Mono/DataConverter.cs
Hey, I have a variation of this patch now. I need to rebuild my Mono before i can commit it. It will use a conditional compiler directive to use this other system On Mon, Dec 8, 2014 at 11:53 PM, Stephen Shaw ss...@decriptor.com wrote: I can't comment on the code changes themselves, but it would be helpful to fork mono on github and then create a Pull Request (PR) with your changes. Cheers, Stephen On Mon, Dec 8, 2014 at 8:54 PM, Michael McGlothlin mike.mcgloth...@gmail.com wrote: Couldn't figure out how to get Xamarin Studio to create an actual patch file after trying, and failing, to push a change with git. It appears this is the correct place to post this? I usually put most of my code in PCL and then call it from platform specific code so I'm trying to make DataConverter happy as PCL. To make DataConverter compile as PCL I had to change Encoding.UTF7 to Encoding.GetEncoding ( utf-7 ) and the numeric calls to 12000 and 12001 on GetEncoding() to the string-based utf-32 and uff-32BE. These three changes had to be made twice as there are two variants using this same code. I also changed ArrayList to Listobject to make PCL happy. case '7': e = Encoding.GetEncoding (utf-7); n = 1; break; case '3': e = Encoding.GetEncoding (utf-32); n = 4; break; case '4': e = Encoding.GetEncoding (utf-32BE); n = 4; break; static public IList Unpack (string description, byte[] buffer, int startIndex) { DataConverter conv = CopyConv; var result = new Listobject (); int idx = startIndex; bool align = false; int repeat = 0, n; ___ 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
Re: [Mono-dev] Event logging under Mono
Hi Did You set MONO_EVENTLOG_TYPE? win32|local|null; cheers mel On 20141208 23:38 , Spyros Sakellariadis (MS OPEN TECH) wrote: [Sorry if duplicate. I think I originally sent to wrong alias] Hi -- I am trying to implement logging for a small application running under Mono on a Raspberry Pi. Unfortunately I have been unable to create an event log despite following guidance that I have found on the Net, and am wondering if there is best practice on how to do this. FWIW, the steps I have taken are as follows: 1.On the Raspberry Pi, I created /var/lib/mono and /var/lib/mono/eventlog directories, set directory permission on each to 777 per http://lists.ximian.com/pipermail/mono-devel-list/2006-August/019853.html. 2.Ran the following .NET code, based loosely on http://msdn.microsoft.com/en-us/library/system.diagnostics.eventlog(v=vs.110).aspx http://msdn.microsoft.com/en-us/library/system.diagnostics.eventlog%28v=vs.110%29.aspx: using System; using System.Text; using System.Diagnostics; namespace Logging { class Program { static void Main(string[] args) { if (!EventLog.SourceExists(MySource)) { EventLog.CreateEventSource(MySource, MyNewLog); Console.WriteLine(CreatedEventSource); Console.WriteLine(Exiting, execute the application a second time to use the source.); return; } else Console.WriteLine(Found the EventLog Source.); return; } } } If I run this twice on a Windows 8 machine, the first time it comes back with CreatedEventSource, the second time it comes back with Found the EventLog Source, and the Windows Event Log has a new log entitled MyNewLog. However, if I run it on the Raspberry Pi under mono, I get the message CreatedEventSource no matter how many times I run it, and no files are created in /var/lib/mono/eventlog. What am I missing, or what should I try instead? Spyros Sakellariadis Microsoft Open Technologies, Inc. spy...@microsoft.com mailto:spy...@microsoft.com ___ 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] Event logging under Mono
Yes, to local Sent from my Windows Phone From: Miljenko Cvjetkomailto:mcvje...@holisticware.net Sent: 12/9/2014 7:56 AM To: mono-devel-list@lists.ximian.commailto:mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Event logging under Mono Hi Did You set MONO_EVENTLOG_TYPE? win32|local|null; cheers mel On 20141208 23:38 , Spyros Sakellariadis (MS OPEN TECH) wrote: [Sorry if duplicate. I think I originally sent to wrong alias] Hi – I am trying to implement logging for a small application running under Mono on a Raspberry Pi. Unfortunately I have been unable to create an event log despite following guidance that I have found on the Net, and am wondering if there is best practice on how to do this. FWIW, the steps I have taken are as follows: 1. On the Raspberry Pi, I created /var/lib/mono and /var/lib/mono/eventlog directories, set directory permission on each to 777 per http://lists.ximian.com/pipermail/mono-devel-list/2006-August/019853.html. 2. Ran the following .NET code, based loosely on http://msdn.microsoft.com/en-us/library/system.diagnostics.eventlog(v=vs.110).aspxhttp://msdn.microsoft.com/en-us/library/system.diagnostics.eventlog%28v=vs.110%29.aspx: using System; using System.Text; using System.Diagnostics; namespace Logging { class Program { static void Main(string[] args) { if (!EventLog.SourceExists(MySource)) { EventLog.CreateEventSource(MySource, MyNewLog); Console.WriteLine(CreatedEventSource); Console.WriteLine(Exiting, execute the application a second time to use the source.); return; } else Console.WriteLine(Found the EventLog Source.); return; } } } If I run this twice on a Windows 8 machine, the first time it comes back with “CreatedEventSource”, the second time it comes back with “Found the EventLog Source”, and the Windows Event Log has a new log entitled MyNewLog. However, if I run it on the Raspberry Pi under mono, I get the message “CreatedEventSource” no matter how many times I run it, and no files are created in /var/lib/mono/eventlog. What am I missing, or what should I try instead? Spyros Sakellariadis Microsoft Open Technologies, Inc. spy...@microsoft.commailto:spy...@microsoft.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.commailto: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] Event logging under Mono
Hi On 20141209 17:01 , Spyros Sakellariadis (MS OPEN TECH) wrote: Yes, to local Great. Usually people do forget that one... Let me context switch to test. cheers Mel Sent from my Windows Phone From: Miljenko Cvjetko mailto:mcvje...@holisticware.net Sent: 12/9/2014 7:56 AM To: mono-devel-list@lists.ximian.com mailto:mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Event logging under Mono Hi Did You set MONO_EVENTLOG_TYPE? win32|local|null; cheers mel On 20141208 23:38 , Spyros Sakellariadis (MS OPEN TECH) wrote: [Sorry if duplicate. I think I originally sent to wrong alias] Hi – I am trying to implement logging for a small application running under Mono on a Raspberry Pi. Unfortunately I have been unable to create an event log despite following guidance that I have found on the Net, and am wondering if there is best practice on how to do this. FWIW, the steps I have taken are as follows: 1.On the Raspberry Pi, I created /var/lib/mono and /var/lib/mono/eventlog directories, set directory permission on each to 777 per http://lists.ximian.com/pipermail/mono-devel-list/2006-August/019853.html. 2.Ran the following .NET code, based loosely on http://msdn.microsoft.com/en-us/library/system.diagnostics.eventlog(v=vs.110).aspx http://msdn.microsoft.com/en-us/library/system.diagnostics.eventlog%28v=vs.110%29.aspx: using System; using System.Text; using System.Diagnostics; namespace Logging { class Program { static void Main(string[] args) { if (!EventLog.SourceExists(MySource)) { EventLog.CreateEventSource(MySource, MyNewLog); Console.WriteLine(CreatedEventSource); Console.WriteLine(Exiting, execute the application a second time to use the source.); return; } else Console.WriteLine(Found the EventLog Source.); return; } } } If I run this twice on a Windows 8 machine, the first time it comes back with “CreatedEventSource”, the second time it comes back with “Found the EventLog Source”, and the Windows Event Log has a new log entitled MyNewLog. However, if I run it on the Raspberry Pi under mono, I get the message “CreatedEventSource” no matter how many times I run it, and no files are created in /var/lib/mono/eventlog. What am I missing, or what should I try instead? Spyros Sakellariadis Microsoft Open Technologies, Inc. spy...@microsoft.com mailto:spy...@microsoft.com ___ 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] Event logging under Mono
Hey this is probably shell variable problem. Did you export it? I had the same behavior (testing on my Mac). I did not create /var/lib/mono, so I would get exception. Added following line at the begining of the Main Environment.SetEnvironmentVariable(MONO_EVENTLOG_TYPE,local); This way I'm sure variable is in the same shell instance. after that I got: Access to the path /var/lib/mono is denied. So I assume right now it is trying to write to /var/lib/mono/SOMETING. Stopping here So your app did not pick up envirnonment variable. hope this helps Mel On 20141209 17:01 , Spyros Sakellariadis (MS OPEN TECH) wrote: Yes, to local Sent from my Windows Phone From: Miljenko Cvjetko mailto:mcvje...@holisticware.net Sent: 12/9/2014 7:56 AM To: mono-devel-list@lists.ximian.com mailto:mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Event logging under Mono Hi Did You set MONO_EVENTLOG_TYPE? win32|local|null; cheers mel On 20141208 23:38 , Spyros Sakellariadis (MS OPEN TECH) wrote: [Sorry if duplicate. I think I originally sent to wrong alias] Hi – I am trying to implement logging for a small application running under Mono on a Raspberry Pi. Unfortunately I have been unable to create an event log despite following guidance that I have found on the Net, and am wondering if there is best practice on how to do this. FWIW, the steps I have taken are as follows: 1.On the Raspberry Pi, I created /var/lib/mono and /var/lib/mono/eventlog directories, set directory permission on each to 777 per http://lists.ximian.com/pipermail/mono-devel-list/2006-August/019853.html. 2.Ran the following .NET code, based loosely on http://msdn.microsoft.com/en-us/library/system.diagnostics.eventlog(v=vs.110).aspx http://msdn.microsoft.com/en-us/library/system.diagnostics.eventlog%28v=vs.110%29.aspx: using System; using System.Text; using System.Diagnostics; namespace Logging { class Program { static void Main(string[] args) { if (!EventLog.SourceExists(MySource)) { EventLog.CreateEventSource(MySource, MyNewLog); Console.WriteLine(CreatedEventSource); Console.WriteLine(Exiting, execute the application a second time to use the source.); return; } else Console.WriteLine(Found the EventLog Source.); return; } } } If I run this twice on a Windows 8 machine, the first time it comes back with “CreatedEventSource”, the second time it comes back with “Found the EventLog Source”, and the Windows Event Log has a new log entitled MyNewLog. However, if I run it on the Raspberry Pi under mono, I get the message “CreatedEventSource” no matter how many times I run it, and no files are created in /var/lib/mono/eventlog. What am I missing, or what should I try instead? Spyros Sakellariadis Microsoft Open Technologies, Inc. spy...@microsoft.com mailto:spy...@microsoft.com ___ 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-dev] PR #1448 - [MWF] Don't truncate text on ToolStripButton
The pull request fixes a problem where the text on toolstrip buttons gets truncated. https://github.com/mono/mono/pull/1448 Thanks, Eberhard ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] PR #1449 - [MWF] Fix crash in multi-selection list view (bug #23591)
This change improves the fix for Xamarin bug #23591: updating a multi-selection can also change the selected item, so it also needs to check for the selected item being now null. https://github.com/mono/mono/pull/1449 Thanks, Eberhard ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Open source .Net, and TLS 1.1 1.2
From: Miguel de Icaza [mailto:mig...@xamarin.com] .NET's implementation of the TLS stack is built on top of native code, so it wont work on Mono. We have implemented TLS 1.1 and 1.2 on top of the not yet open sourced networking stack and will be publishing it as soon as Microsoft open sources the .NET networking stack. Great news, thank you! A follow-up question: In the current released version of mono SslStream, if the server uses a cert that is signed by an intermediate chain, *and* a mono SslStream client connects, then the client rejects the cert. The root cause is because the server does not send the intermediate chain to the client, and the client fails to construct the chain. The behavior is specifically a mono-mono incompatibility - If either the server or the client is .Net, then the problem does not occur, because a windows server sends the chain to the client, and a windows client performs guerilla tactics to construct an incomplete chain. So the question is, how could it be possible to add a test for this behavior, presuming it will some day get fixed and then we don't want it to happen again? I can easily enough write example code to demonstrate the problem. But then there's a question about what cert to use for demonstration purposes - it's probably best to create a junk CA with intermediate cert, and some junk server cert. I could easily enough publish those certs somewhere and/or hard-code them into the demonstration code, with something like 30 year validity. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Open source .Net, and TLS 1.1 1.2
Hello, We would love a test case to add to the test suite. We are building a new test suite as part of this work anyways. MIguel On Tue, Dec 9, 2014 at 3:21 PM, Edward Ned Harvey (mono) edward.harvey.m...@clevertrove.com wrote: From: Miguel de Icaza [mailto:mig...@xamarin.com] .NET's implementation of the TLS stack is built on top of native code, so it wont work on Mono. We have implemented TLS 1.1 and 1.2 on top of the not yet open sourced networking stack and will be publishing it as soon as Microsoft open sources the .NET networking stack. Great news, thank you! A follow-up question: In the current released version of mono SslStream, if the server uses a cert that is signed by an intermediate chain, *and* a mono SslStream client connects, then the client rejects the cert. The root cause is because the server does not send the intermediate chain to the client, and the client fails to construct the chain. The behavior is specifically a mono-mono incompatibility - If either the server or the client is .Net, then the problem does not occur, because a windows server sends the chain to the client, and a windows client performs guerilla tactics to construct an incomplete chain. So the question is, how could it be possible to add a test for this behavior, presuming it will some day get fixed and then we don't want it to happen again? I can easily enough write example code to demonstrate the problem. But then there's a question about what cert to use for demonstration purposes - it's probably best to create a junk CA with intermediate cert, and some junk server cert. I could easily enough publish those certs somewhere and/or hard-code them into the demonstration code, with something like 30 year validity. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] I would like to contribute to mono however it seems things are in flux due to the integration of .NET Core and .NET Framework; where to start?
For example, I'm looking at say WCF as a possibility but some questions pop up? Will WCF be part of .NET Core? if so should we wait until it's in .NET Core? If not, then obviously it's a move from .NET Framework. Are unit test available for WCF? Would there be a duplication of work if MS has some forthcoming? BTW I just picked WCF as an example as it seemed high on the list. I guess I'm saying, where would I be most useful say with contributing 20+ hours a week in the near term (I'm between contract/jobs right now) BTW I've been doing software development for over 30 years on all sorts of platforms and languages but specializing in .NET since the initial .NET developer conference in 2000. Bernie Schoch ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Open source .Net, and TLS 1.1 1.2
I believe there already is one. If you look back to the (awful) mono pull requests thread I believe it was mention specifically as an example. On Tue, Dec 9, 2014 at 11:09 PM, Miguel de Icaza mig...@xamarin.com wrote: Hello, We would love a test case to add to the test suite. We are building a new test suite as part of this work anyways. MIguel On Tue, Dec 9, 2014 at 3:21 PM, Edward Ned Harvey (mono) edward.harvey.m...@clevertrove.com wrote: From: Miguel de Icaza [mailto:mig...@xamarin.com] .NET's implementation of the TLS stack is built on top of native code, so it wont work on Mono. We have implemented TLS 1.1 and 1.2 on top of the not yet open sourced networking stack and will be publishing it as soon as Microsoft open sources the .NET networking stack. Great news, thank you! A follow-up question: In the current released version of mono SslStream, if the server uses a cert that is signed by an intermediate chain, *and* a mono SslStream client connects, then the client rejects the cert. The root cause is because the server does not send the intermediate chain to the client, and the client fails to construct the chain. The behavior is specifically a mono-mono incompatibility - If either the server or the client is .Net, then the problem does not occur, because a windows server sends the chain to the client, and a windows client performs guerilla tactics to construct an incomplete chain. So the question is, how could it be possible to add a test for this behavior, presuming it will some day get fixed and then we don't want it to happen again? I can easily enough write example code to demonstrate the problem. But then there's a question about what cert to use for demonstration purposes - it's probably best to create a junk CA with intermediate cert, and some junk server cert. I could easily enough publish those certs somewhere and/or hard-code them into the demonstration code, with something like 30 year validity. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Studying for the Turing test ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list