Re: [Mono-dev] Patch to HashSet (System.Core) to enable serialization
Hi Robert, 1) I know, I kinda created the method to ensure that everyting was working as I expected. 2) I'll try and remove it. And I have not verified the output against the MS.NET implementation. I will do that on monday when I have access to a windows machine. I will resubmit a cleaner patch next week. /Nicklas On Fri, 2011-01-21 at 22:46 -0500, mono-devel-list-requ...@lists.ximian.com wrote: Date: Fri, 21 Jan 2011 13:58:11 +0100 From: Robert Jordan robe...@gmx.net Subject: Re: [Mono-dev] Patch to HashSet (System.Core) to enable serialization To: mono-devel-list@lists.ximian.com Message-ID: ihbvsr$8aq$1...@dough.gmane.org Content-Type: text/plain; charset=UTF-8; format=flowed Hi Nicklas, On 21.01.2011 10:35, Nicklas Overgaard wrote: Hi, Attached is a patch that makes the HashSet class serializable. Included are unittests to check the functionality. Thanks for the patch. There are some issues with it, though: 1) it's not allowed to expose public members as you do with UnittestEqualityCheck. 2) OnDeserialization is supposed to be called by the serialization infrastructure implicitly. There is no need to invoke it manually from the ctor. Have you checked if the serialization format matches MS.NET? Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [mono-packagers] Mono 2.10 RC1
On Wed, 2011-01-19 at 16:35 -0700, Andrew Jorgensen wrote: The first public preview of mono 2.10 is out. Get it here: http://mono.ximian.com/monobuild/preview/download-preview/ Draft release notes are here: http://www.go-mono.com/archive/2.10 Notably absent are PowerPC, including Mac and SLE-11. We will have these builds fixed soon. Preliminary notes: * mono-service is no longer installed to GAC. Is this intentional? * mdoc is still a 2.0 app. Is this intentional? * The test suite fails to build. That's not intentional. signature.asc Description: This is a digitally signed message part ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-list] How To Change Session Timeout of Mono with Apache?
Hello, I have deployed a ASP.NET MVC application onto a Mono server with Apache and Ubuntu 10.04, but I found the app can only persist a session for around 3 minutes or so, this short period of time is bad for my users, I am using default InProc session mode, and I tried to change settings in web.config (sessionState's timeout attribute). But It still doesn't work for me. I also tried to google around but cannot find a exact solution for session configuration. So how can I successfully change InProc session timeout? Thanks for all your help. Adrian. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Computer-readable Mono documentation
Hello there! I am finishing a C# target for haXe ( haxe.org ), and I need some way to automate the generation of externs . If there is a way to get all mono documentation ( it would be best if it contained info of what runtime version it is implemented (.net/mono versions) and if there is a .net counterpart ) in machine-readable format, it would save me a lot of time! Thank you!! Cauê ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Dynamic Arrays and Bounds Check
I'm implementing a dynamic array on top of System.Array, and I'd like to know if there is any way to loop through all elements of the dynamic array without having to bounds-check on each access to it. I see on the docs that if I use a for with the variable being tested to be less than array.Length, it will optimize away the bounds check, but in the case of the dynamic array, I don't want to iterate over the underlying fixed array, but I want to iterate over my array's length (which is always, of course, smaller than the array's length). Is there any way (with safe code) to be able to drop the bounds check? Also is there any way to know if the bounds check was dropped? THank you!!! Cauê ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] generics and IEnumerable
My immediate question is, I tried to create a generic class: public class LinkedListT : IEnumerableT but I get the error: The non-generic type 'System.Collections.IEnumerable' cannot be used with the type arguments. I have a using System.Collections; statement higher up. Am I doing something wrong? My general question is, how can I determine which .NET features are implemented in MonoDevelop? Background: I'm using MonoDevelop 2.4 on an iMac running Mac OSX 10.6.6. I'm working my way through the Wrox book Professional C# and .NET 4. I hope to use MonoDevelop as far as I can, since using VmWare or Parallels to run the VisualStudio tools is slower and more of a hassle. Thanks in advance ... -- View this message in context: http://mono.1490590.n4.nabble.com/generics-and-IEnumerable-tp3233385p3233385.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] generics and IEnumerable
Am 24.01.2011 06:58, schrieb oddstray: but I get the error: The non-generic type 'System.Collections.IEnumerable' cannot be used with the type arguments. I have a using System.Collections; statement higher up. Am I doing something wrong? IEnumerabeT is in System.Collections.Generic Nils signature.asc Description: OpenPGP digital signature ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] generics and IEnumerable
On Jan 24, 2011 12:58 AM, oddstray withheld.for.priv...@gmail.com wrote: My immediate question is, I tried to create a generic class: public class LinkedListT : IEnumerableT but I get the error: The non-generic type 'System.Collections.IEnumerable' cannot be used with the type arguments. I have a using System.Collections; statement higher up. Am I doing something wrong? Yes. The generic IEnumerableT is in System.Collections.Generic, not System.Collections. My general question is, how can I determine which .NET features are implemented in MonoDevelop? To clarify, MonoDevelop is an IDE, the equivalent of Visual Studio. The runtime, which is what actually runs your app (the equivalent of .NET), is Mono. MonoDevelop on Windows even uses .NET :) You can view the status of the Mono class libraries at http://go-mono.com/status/ Beware that this corresponds to the latest development version, not the release version that you'll be using, so you might just have to 'try and see' in some cases. - M ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list