Re: [Mono-dev] Mono.lib on Windows

2008-05-30 Thread Kornél Pál
Hi, I believe that we should have a properly maintained mono.def file and make the cygwin build use that for exporting symbols rather than exporting all the symbols but omitting them from the import library. The import library should match the functions exported by mono.dll. Kornél ___

Re: [Mono-dev] Strange GdkSharp.PixbufDestroyNotifyWrapper error..

2008-05-30 Thread Mike Kestner
On Fri, 2008-05-30 at 17:00 -0400, [EMAIL PROTECTED] wrote: > ExcObject: System.InvalidProgramException: Invalid IL code in (wrapper > native-to-managed) GdkSharp.PixbufDestroyNotifyWrapper:NativeCallback > (intptr,intptr): IL_0030: call 0x0006 I think this is a "known" issue with Pixb

Re: [Mono-dev] Mono.lib on Windows

2008-05-30 Thread Jonathan Chambers
Hello, Attached is a patch that makes the create-windef.pl script run on Windows. We can run this as a post build step on Windows to produce the def file, and then run Robert's lib.exe step to produce a library that people can link against. Note that this last step requires access to Windows S

[Mono-dev] [PATCH] Fixes for libtest.c and VS

2008-05-30 Thread Bill Holmes
Last patch for the week. I promise. These changes are to make libtest.c ready to be compiled in Visual Studio. I will be sending the patch for the new VS project and update to the solution. The STDCALL statements had to be moved and I added declspec(dllexport) statements to all methods. At lea

Re: [Mono-dev] Mono.lib on Windows

2008-05-30 Thread Geoff Norton
If this is the case we shouldn't be shipping the .a at all, as its fundamentally useless. Has anyone ever looked at getting boehm to run on windows without DllMain (*I assume this is what is needs/expects. I didn't look at it yet) -g On Sat, 2008-05-31 at 02:50 +0200, Robert Jordan wrote: > Hi

Re: [Mono-dev] Mono.lib on Windows

2008-05-30 Thread Geoff Norton
Wade, If thats the case then I think we should rename it to libmono.lib. I think the far more common use case for the file is going to be people embedding on windows, which is Visual Studio. I think people who want to use it in cygwin are a very small subset of that crowd. Lets rename and doc

Re: [Mono-dev] Mono.lib on Windows

2008-05-30 Thread Robert Jordan
Hi guys, libmono.a is a static lib. As such, it's not suitable for embedding, regardless of the compiler: The GC on Win32 expects to be run from a dll. The sample below would crash if it would actually try more than this simple function. libmono.dll.a is the correct library to link against *when

Re: [Mono-dev] ListBox.cs ownder draw variable size

2008-05-30 Thread Carlos Alberto Cortez
Hey, Two things for your next patch: * Use the coding guidelines: http://www.mono-project.com/Coding_Guidelines * Send your patch as an attached file, not in the body of the message. Committed your patch, thanks for the correction! Carlos. El mié, 28-05-2008 a las 06:42 +0200, jkeymer escrib

Re: [Mono-dev] Mono.lib on Windows

2008-05-30 Thread Wade Berrier
Wow, libmono.a is 64MB, 15 MB compressed... :( Um, maybe we could have a win32 embedded Wiki page that describes this rather than ship 2 files of that size in the installer? Ideas or recommendations? Wade On Fri, 2008-05-30 at 18:23 -0600, Wade Berrier wrote: > Just to be sure, this was using M

Re: [Mono-dev] Mono C# Serial Port problem

2008-05-30 Thread Carlos Alberto Cortez
Would you mind filling a bug with the precise information? Thanks, Carlos. El jue, 29-05-2008 a las 02:24 -0700, Bs360 escribió: > > > Alan_Chun wrote: > > > > HI, currently I am porting a windows app to linux using Mono. I have some > > difficulties to get the serial port work. here is the c

[Mono-dev] [PATCH] Mono DTrace provider v2

2008-05-30 Thread Andreas Färber
Hello, Here's an updated version of my patch, adding initial DTrace support to the Mono runtime. A new hand-crafted header file has been added, which is to be included in place of the generated header file. It defines MONO_PROBE_* macros as requested by Zoltan. The generated header file i

[Mono-dev] Strange GdkSharp.PixbufDestroyNotifyWrapper error..

2008-05-30 Thread buhochil...@gmail.com
Hi guys: I have a simple code in a gtk window that use a pixbuf to put some image in a widget that inherit from DrawingArea, then at some point I call to the SetSizeRequest function and I get a really weird "InvalidProgramException"..the widget is associate internally to the OnExposeEvent, the

[Mono-dev] [PATCH] Update to Winx64 stack patch

2008-05-30 Thread Bill Holmes
I have updated this patch based off a discussion with Zoltan on IRC. -bill On Wed, May 28, 2008 at 11:00 AM, Bill Holmes <[EMAIL PROTECTED]> wrote: > I have a small patch that seems to have fix a bunch of issues with the > unit tests under mono/tests for Windows x64. Please review and let me > k

Re: [Mono-dev] Newbie guide to debugging class libraries?

2008-05-30 Thread Marcos Cobeña Morián
Hello Tom, 2008/5/30 Tom Cannon <[EMAIL PROTECTED]>: > First I tried option 1, and found that some assemblies have project files > that load in VS (SWF for example), but many do not. I would like to try the > second option, but can't figure out how to debug a class library build from > the make f

[Mono-dev] Newbie guide to debugging class libraries?

2008-05-30 Thread Tom Cannon
Newbie alert! You have been warned. I'm trying to debug some potential bugs in the class libraries and have hit a wall. From what I have gleaned from mono-project.com, there seem to be two ways of doing this. 1) Build and debug using MSVS 2) Build with mono, debug with mdb First I tr

Re: [Mono-dev] Mono C# Serial Port problem

2008-05-30 Thread Shawn Schaerer
Hi, I hope to have our OSX implementation up in the next couple of days. This implementation should work under linux too!! I am also looking at the serial.c source and will try to get that to work under OSX as well. I will send the link ASAP. Shawn Schaerer Director of Research and De

Re: [Mono-dev] Source of regressions in System.Xml

2008-05-30 Thread Gert Driesen
Hey Juraj, Yeah, I saw your report. Thanks for taking time to find the cause! As for the managed code rewrite: all credit goes to Andreas for that. Gert -- From: "Juraj Skripsky" <[EMAIL PROTECTED]> Sent: Friday, May 30, 2008 7:02 PM To: "Andreas

[Mono-dev] Source of regressions in System.Xml

2008-05-30 Thread Juraj Skripsky
Hey Andreas, hey Gert, You might be interesting in a bug I just filed: https://bugzilla.novell.com/show_bug.cgi?id=395904 It shows where the regressions in System.Xml are coming from when enabling this code in String.Substring: // FIXME: this causes regressions in System.Xml /* if (startIndex ==

Re: [Mono-dev] ResourceReader patch

2008-05-30 Thread Konstantin Triger
Hello all, Since both ResourceInfo and ResourceCacheItem are used for caching, I think they are not created a lot. Thus I don't think their creation/collection pose a pressure on GC. In the same time ResourceReader can be under heavy pressure and utilize its cache a lot. Once the cache data is co

Re: [Mono-dev] Mono C# Serial Port problem

2008-05-30 Thread Bs360
Alan_Chun wrote: > > HI, currently I am porting a windows app to linux using Mono. I have some > difficulties to get the serial port work. here is the code(based on mono > website): > > > I have also tried BytesToRead, Read, ReadByte, all of them are working > fine under windows using .net2.0

[Mono-dev] ListBox.cs ownder draw variable size

2008-05-30 Thread jkeymer
Handles calculation if the listbox scroll area of variable high, owner draw boxes, Index: Managed.Windows.Forms/System.Windows.Forms/ListBox.cs === --- Managed.Windows.Forms/System.Windows.Forms/ListBox.cs(Revision 103872) +++ M

[Mono-dev] Opening mono sln files in vs2008

2008-05-30 Thread Saurav Sen
Hi, I have been trying to open the library implementations ( System.Web.Services ) System.Web.Services20.sln file in visual studio 2008 and it says it cannot open the csproj files as they are not compatible. Which visual studio will open these files ( I also tried with vs2005). Thanks /Saurav