[Mono-dev] Crash with sgen on x86_64-apple-darwin

2011-11-01 Thread David Mitchell
I've been experimenting with running Mono built for x86_64 on OS X. I've been largely successful using Boehm GC, but today I tried running an app with —gc=sgen, and I got an immediate crash (if there's output early in the program, I may get a line or two), even with the simplest programs. My

Re: [Mono-dev] Mixed Mode Assemblies

2011-07-07 Thread David Mitchell
As I understand it, Mono on Windows does support running mixed-mode assemblies. My guess is the primary reason for not supporting it on other platforms has more to do with the hassle of developing a C++/CLI compiler than concerns about cross-platform compatibility. A long time ago, there was a

[Mono-dev] Possible regression in Mono 2.10.1

2011-03-24 Thread David Mitchell
So I was playing around in my Terminal today, and I did the following: ws1331:macintosh dmitchell$ /Library/Frameworks/Mono.framework/Versions/Current/bin/mono --version Mono JIT compiler version 2.10.1 (tarball Fri Feb 25 15:56:49 MST 2011) Copyright (C) 2002-2011 Novell, Inc and Contributors.

Re: [Mono-dev] Minimal required set to Redistribute Mono

2011-03-23 Thread David Mitchell
We distribute a subset of Mono in our application bundle. We do a lot of pretty weird stuff (our app is actually a Cocoa/Objective-C application that calls into managed code for much of its logic), and we had to make a custom build of Mono to fix a number of blocking bugs that we discovered along

[Mono-dev] Using Mono.CSharp in a syntax highlighting engine

2011-01-26 Thread David Mitchell
A couple weeks ago, I started playing around with Mono.CSharp to see if I could get enough information from it to hook it up to a syntax highlighter. In order to do so, I would need to be able to get a mapping of ranges of characters to lexical values (keyword, type name, etc.). After some

Re: [Mono-dev] explicit conversion to bool and bool? on XElement

2010-07-15 Thread David Mitchell
, false)); Console.WriteLine ((bool?) new XElement (n, False)); } } $ gmcs x.cs -r:System.Xml.Linq.dll $ ./x.exe True True False False $ mono ./x.exe True True False False Atsushi Eno On 2010/07/15 5:53, David Mitchell wrote: Currently

[Mono-dev] explicit conversion to bool and bool? on XElement

2010-07-14 Thread David Mitchell
Currently (or at least as of revision 147679), the explicit conversion to bool for XElement calls System.Xml.XmlConvert.ToBoolean(), which is case sensitive. However, Microsoft's implementation of the explicit conversion is case insensitive. Attached is a patch that corrects this issue by

[Mono-dev] Patch for System.ServiceModel.Web (Take 2)

2009-10-07 Thread David Mitchell
Here¹s another try at fixing the second issue. Tests are included, this time. --Dave syndication.patch Description: Binary data ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

[Mono-dev] Patch for System.ServiceModel.Web

2009-10-06 Thread David Mitchell
Attached is another patch for System.ServiceModel.Web with two simple changes. One is that feed elements in the atom namespace will be recognized as valid feeds (per the Atom spec). The other is that the names/namespaces of syndication element extensions are now properly retrieved and made

[Mono-dev] Patch for XmlConvert and System.ServiceModel.Syndication

2009-10-02 Thread David Mitchell
I would very much appreciate it if someone would review/apply this patch. Apologies for being too lazy to write a test case (the changes are pretty simple). Here¹s what you¹ll find: - Calling XmlConvert.ToDateTimeOffset (all overloads) no longer results in a stack overflow. Moreover, the return

Re: [Mono-dev] Trivial patch for xbuild

2009-05-18 Thread David Mitchell
Ankit Jain wrote: Probably we should be checking the guid instead of the file extension? To what guid do you refer? I can find nothing else in the my sln file (generated by Visual Studio) that would tell me what kind of project I'm about to load except the file extension. --Dave -- View

Re: [Mono-dev] Trivial patch for xbuild

2009-05-14 Thread David Mitchell
Does anyone have any feedback on this? Should I be submitting it elsewhere? --Dave On 5/12/09 4:39 PM, David Mitchell dmitch...@logos.com wrote: Below is a small patch for xbuild that causes vcproj files to be ignored. Unless I'm missing out on some huge secret, vcproj files aren't actually

[Mono-dev] Trivial patch for xbuild

2009-05-12 Thread David Mitchell
Below is a small patch for xbuild that causes vcproj files to be ignored. Unless I'm missing out on some huge secret, vcproj files aren't actually valid msbuild project files anyway, so ignoring them should do no harm (and will do a lot of good in the case of solutions that contain both csproj and

Re: [Mono-dev] Embedded: storing extra data on objects?

2009-03-31 Thread David Mitchell
Robert Jordan wrote: David Mitchell wrote: When embedding mono, is there a way to store a little bit of extra information (pointer-sized) along with a MonoObject (or similar structure)? My scenario is that I have unmanaged wrappers for managed objects, and I¹d like to ensure

[Mono-dev] Embedded: storing extra data on objects?

2009-03-30 Thread David Mitchell
When embedding mono, is there a way to store a little bit of extra information (pointer-sized) along with a MonoObject (or similar structure)? My scenario is that I have unmanaged wrappers for managed objects, and I¹d like to ensure that there is never more than one unmanaged wrapper per object

Re: [Mono-dev] Embedded: storing extra data on objects?

2009-03-30 Thread David Mitchell
I need to interact with classes in third party libraries, so fields are out--unless there's a way to modify classes as they're loaded... --Dave (on the iPhone) On Mar 30, 2009, at 7:02 PM, BGB cr88...@hotmail.com wrote: - Original Message - From: David Mitchell To: mono-devel-list

Re: [Mono-dev] inherited event

2009-02-25 Thread David Mitchell
The reason that you cannot called inherited events is because the syntax you use for OnBar is really syntactic sugar for something like this: protected event OnBar { add { _onBar = Delegate.Combine(_onBar, value); } remove { _onBar = Delegate.Remove(_onBar, value); } } private

Re: [Mono-dev] Announcing Mono 2.4 Preview 3...

2009-02-20 Thread David Mitchell
Here's another: http://bugzilla.novell.com/show_bug.cgi?id=478313 Thanks, --Dave Thomas Wiest wrote: Hey Everyone, We've just released Mono 2.4 Preview 3 today! Please help us out by giving it a try with your applications. As always, you can get the preview/RC releases here:

[Mono-dev] Cannot build from fresh svn checkout (patch to fix it attached)

2009-02-20 Thread David Mitchell
I would greatly appreciate if someone would review/apply this patch. Earlier today, it seems that someone added a call to GetType() in System.Web.UI.TemplateControl.ReadStringResource(). However, ReadStringResource is static if the NET_2_0 symbol is not defined, making GetType()

[Mono-dev] Patch for Bug #477447

2009-02-19 Thread David Mitchell
Attached is a patch for https://bugzilla.novell.com/show_bug.cgi?id=477447. Would someone mind reviewing/applying it? I would attach the patch to the bug itself, but I can¹t access Novell¹s Bugzilla right now. Here¹s the text that I would have added as a comment: I am still unable to create a

[Mono-dev] Patch for Bugzilla bug #475860

2009-02-18 Thread David Mitchell
Attached is a patch to address http://bugzilla.novell.com/show_bug.cgi?id=475860. I would appreciate it if someone would review/commit it (it¹s also attached directly to the bug). I determined that the error was occurring because child classes were being defined in the compiler before their base

Re: [Mono-dev] Announcing Mono 2.4 Preview 3...

2009-02-18 Thread David Mitchell
I just found this one: http://bugzilla.novell.com/show_bug.cgi?id=477378 Thanks, --Dave Thomas Wiest wrote: Hey Everyone, We've just released Mono 2.4 Preview 3 today! Please help us out by giving it a try with your applications. As always, you can get the preview/RC releases here:

Re: [Mono-dev] Announcing Mono 2.4 Preview 3...

2009-02-17 Thread David Mitchell
I found this one today: https://bugzilla.novell.com/show_bug.cgi?id=476811 --Dave Thomas Wiest wrote: Hey Everyone, We've just released Mono 2.4 Preview 3 today! Please help us out by giving it a try with your applications. As always, you can get the preview/RC releases here:

[Mono-dev] Bugzilla Bug 475860, or, the wrong patch for the right job

2009-02-13 Thread David Mitchell
I'm investigating http://bugzilla.novell.com/show_bug.cgi?id=475860; I've come up with a patch that addresses the issue, but I'm certain that it's the wrong way to solve the problem. Here's the patch: --- Index: ecore.cs === ---

[Mono-dev] Trouble running subversion builds in OSX

2009-02-09 Thread David Mitchell
I've been trying to build/run a copy of Mono from Subversion so that I can test how some recent fixes, but the version that I've built is now crashing hard in unrelated areas. I'm using a Mac Pro running OS X 10.5.5, and I've reverted to revision 122917 (tagged as mono-2-2), so the code I'm

Re: [Mono-dev] XmlWriter.WriteAttributeString incompatible with MS implementation

2009-02-04 Thread David Mitchell
/FunWithXmlAttributes/FunWithXmlAttributes/Main.cs:18 Thanks, --Dave Atsushi Eno wrote: Hello, If you file a bug on our bugzilla, I might fix the implementation difference, depending on the repro, without the patch you have. http://bugzilla.novell.com Atsushi Eno David Mitchell wrote

[Mono-dev] XmlWriter.WriteAttributeString incompatible with MS implementation

2009-02-03 Thread David Mitchell
I'm currently trying to port the back-end of a very large project over to OSX from Windows, and I've encountered a rather vexing incompatibility between Mono and Microsoft's implementation of .NET. The documentation for XmlWriter.WriteAttributeString(string prefix, string localName, string ns,

[Mono-dev] Bug in (and patch for) UTF32Encoding.GetBytes()

2009-02-03 Thread David Mitchell
I discovered today that UTF32Encoding.GetByteCount() will report the wrong result anytime that the start index is nonzero. Attached is a patch to fix the issue. Would someone mind reviewing/committing it? Thanks, --Dave UTF32Encoding.patch Description: UTF32Encoding.patch

[Mono-dev] Failing tests on Mac OS

2007-03-14 Thread David Mitchell
According to http://mono.ximian.com/monobuild, the runtime tests on Mac OS for the PowerPC have been timing out for quite some time, and the same tests on Mac OS for Intel have been outright failing. I have access to both of these platforms, and I've been considering trying to track down the

Re: [Mono-dev] Generic type naming

2007-03-09 Thread David Mitchell
@lists.ximian.com Subject: Re: [Mono-dev] Generic type naming David Mitchell wrote: My apologies if I am dredging up an issue that has already been resolved and put to rest, but my curiosity compels me to do so. I have noticed that Mono's algorithms for providing names to specific generic

[Mono-dev] (More) Bugzilla bugs with patches

2007-03-06 Thread David Mitchell
So.I've been kind of busy, and consequently, I've made patches for the following three bugs: http://bugzilla.ximian.com/show_bug.cgi?id=81046 http://bugzilla.ximian.com/show_bug.cgi?id=81047 http://bugzilla.ximian.com/show_bug.cgi?id=81048 All three of these are very minor patches

[Mono-dev] Regression of bug 80260?

2007-03-06 Thread David Mitchell
I just did a Subversion get and attempted to build a project that used to be affected by this bug: http://bugzilla.ximian.com/show_bug.cgi?id=80260 Yesterday, the patch to fix it was applied, and everything worked fine. However, after my most recent update, it is broken again. Does

[Mono-dev] Bugzilla bugs needing attention

2007-03-05 Thread David Mitchell
I would like to direct your attention to the following Bugzilla bugs that require attention from someone. Patches exist to fix all of these, but I do not have write access to SVN, so I cannot apply them, myself. http://bugzilla.ximian.com/show_bug.cgi?id=80260

[Mono-dev] Generic type naming

2007-03-05 Thread David Mitchell
My apologies if I am dredging up an issue that has already been resolved and put to rest, but my curiosity compels me to do so. I have noticed that Mono's algorithms for providing names to specific generic types is significantly different to that of Microsoft's implementation of .Net. Where

Re: [Mono-devel-list] mono SDL linux/win32 SDL.DLL - my brain hurts!

2005-07-20 Thread David Mitchell
Oh, and you'll also want to make sure SDL (http://www.libsdl.org) is installed on your machine. David David Mitchell wrote: Try this: http://prdownloads.sourceforge.net/cs-sdl/SdlDotNet-3.1.2-1.zip?download Looks like the latest linux version to me. David ted leslie wrote: (After my

[Mono-list] libgdiplus not found

2004-06-30 Thread David Mitchell
I've installed mono, libgdiplus and xsp. When I try to run my web app, when it gets to a place where it uses libgdiplus I get a dllNotFound exception : gdiplus.dll Libgdiplus is definitely installed. Am I missing something? It used to work, but now I'm using mono 1.0. -- David Mitchell

Re: [Mono-list] XSP - Experiences?

2004-06-23 Thread David Mitchell
it will definitely get there, I don't feel it is there quite yet but I don't think it will be long. -- David Mitchell Software Engineer Telogis NOTICE: This message (including any attachments) contains CONFIDENTIAL INFORMATION intended for a specific individual and purpose, and is protected

[Mono-list] Image.FromStream Patch

2004-03-18 Thread David Mitchell
Image FromStream (Stream stream) { return new Bitmap (stream); } public static Image FromStream (Stream stream, bool useECM) { return new Bitmap (stream, useECM); } -- David Mitchell Software Engineer Telogis NOTICE: This message

Re: [Mono-list] XSP stops responding

2004-03-15 Thread David Mitchell
other people use xsp much? Also, Gonzalo, what do you use for debugging? Finally, if you have an idea of where this bug is occuring, then let me know. I am happy to have a crack at fixing it. -- David Mitchell Software Engineer Telogis NOTICE: This message (including any attachments) contains

Re: [Mono-list] XSP stops responding

2004-03-15 Thread David Mitchell
I don't know if this will have anything to do with it, but all the machines we are running here use RedHat 9. -- David Mitchell Software Engineer Telogis NOTICE: This message (including any attachments) contains CONFIDENTIAL INFORMATION intended for a specific individual and purpose

Re: [Mono-list] XSP stops responding

2004-03-15 Thread David Mitchell
! - Juraj Thanks, I will give that a crack. -- David Mitchell Software Engineer Telogis NOTICE: This message (including any attachments) contains CONFIDENTIAL INFORMATION intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete

Re: [Mono-list] XSP Stops responnding

2004-03-15 Thread David Mitchell
is much more stable. -- David Mitchell Software Engineer Telogis NOTICE: This message (including any attachments) contains CONFIDENTIAL INFORMATION intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message

[Mono-list] XSP stops responding

2004-03-14 Thread David Mitchell
experienced similar problems or have any suggestions? Regards -- David Mitchell Software Engineer Telogis NOTICE: This message (including any attachments) contains CONFIDENTIAL INFORMATION intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you

Re: [Mono-list] XSP stops responding

2004-03-14 Thread David Mitchell
. I suspect this is a problem in the Mono Class Libraries for codebehind (Gonzalo?). Help would be appreciated. -- David Mitchell Software Engineer Telogis NOTICE: This message (including any attachments) contains CONFIDENTIAL INFORMATION intended for a specific individual and purpose

Re: [Mono-list] XSP stops responding

2004-03-14 Thread David Mitchell
matter. Hit refresh repeatedly (it doesn't have to be fast) and eventually you'll have your browser waiting for the page to load and a frozen xsp. This isn't just my setup as I have two other boxes with different configurations and they both have this problem too. -- David Mitchell Software

[Mono-list] What debuggers people use

2004-03-08 Thread David Mitchell
). I can't manage to set breakpoints using mdb either. Help! -- David Mitchell Software Engineer Telogis NOTICE: This message (including any attachments) contains CONFIDENTIAL INFORMATION intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient

[Mono-list] MonoDevelop freezes

2004-03-07 Thread David Mitchell
: 0.17 gtksourceview: 0.8 gtksourceview-sharp: 0.1 mono: 0.30.2 Help? -- David Mitchell Software Engineer Telogis NOTICE: This message (including any attachments) contains CONFIDENTIAL INFORMATION intended for a specific individual and purpose, and is protected by law. If you are not the intended

[Mono-list] Debugger problem

2004-03-04 Thread David Mitchell
: $ break XSPApplicationHost.cs : 303 No method contains the specified file/line. Has anyone had much luck with debugging Mono apps, or how do other people do it? Cheers -- David Mitchell Software Engineer Telogis NOTICE: This message (including any attachments) contains CONFIDENTIAL INFORMATION