Re: [Mono-winforms-list] What ImageList bugs do we need?

2005-10-23 Thread Pavel Bansky
Good job Kornél, I prefer bugs to be fixed. Direction of poting apps is usually from MS.NET to Mono, and in this direction corected bugs will be no problem. cheers Pavel Kornél Pál wrote: Hi, Now ImageList should be functionally compatible with MS.NET. The only thing it cannot support

Re: [Mono-winforms-list] What ImageList bugs do we need?

2005-10-23 Thread Peter Dennis Bartok
Kornel, I will defer to Jackson to make a call on those particular items, since he's been looking over ImageList more closely than I have. As a general rule, however, we want MWF to be compatible, and that includes compatibility to bugs. You never know what broken behaviour an existing

[Mono-dev] PInvoke ques

2005-10-23 Thread Shankari
Hello again!! I think I misunderstood marshal.c as ACTUALLY pushing the arguments on stack. I think it generates IL code to push the argument on stack. In the case of reference, it generated IL code to push the address on stack. AM I correct ??? If so, can I do this : My aim is to prevent

[Mono-dev] [PATCH] MWF: Don't dispose objects that are not owned

2005-10-23 Thread Kornél Pál
Hi, Objects should not dispose objects that were not created by them as they may be needed by other objects. This patch fixes the above described problem. In addition NotifyIcon assumes that Graphics.DrawIcon uses Icon.ToBitmap and Graphics.DrawImage that should not be assumed as DrawIcon

Re: [Mono-dev] PInvoke ques

2005-10-23 Thread Robert Jordan
Shankari, My aim is to prevent an update to a pass-by-ref value(this is a part of my work in fault isolation). My idea is to make a copy of the managed type , so this copy will be updated rather than the original one. Well, as Zoltan told you: if the ref parameter is marked with the [In]

Re: [Mono-dev] PInvoke ques

2005-10-23 Thread Kornél Pál
Hi, There is no need to modify the runtime to get the behavior you want. You simply have to use [In()] and [Out()] attributes. Note that however that for performace reasons there are types in MS runtime as well that are not copied even if you specify [In()] attribute thus they can be modified in

Re: [Mono-dev] [PATCH] MWF: Don't dispose objects that are not owned

2005-10-23 Thread Peter Dennis Bartok
Kornel, The changes to not call Dispose are ok. The NotifyIcon patch is not ok to check in, I want it to use ToBitmap() once instead of every refresh. It doesn't matter if ideologically it should use DrawIcon, fact is that we'd be creating and throwing away bitmaps at considerable cost on

Re: [Mono-dev] [PATCH] MWF: Don't dispose objects that are not owned

2005-10-23 Thread Kornél Pál
Hi, OK. I have plans on some modifications to Icon class as it lacks of important functionalities. You are right that using ToBitmap() is much faster currently so it's OK to retain the current solution until Graphics.DrawIcon will work as it should. It it OK to add HideSystray(); to

[Mono-dev] SVN case conflict

2005-10-23 Thread Rodrigo Queipo
Hello, I'm trying to checkout the SVN trunk for mono in my Windows XP box, but there is one file that has the same name Upper and Lower case, this makes conflict and I get an error and can't continue with TortoiseSVN. I found some solutions for this [1] but all of them in the server side, I

Re: [Mono-dev] runtime specification in nunit-console.exe.config

2005-10-23 Thread Kamil Skalski
Yap, removing this would be nice and it would bring nunit-console on 2.0 profile one step closer to being usable outside the mono build tree (see http://lists.ximian.com/pipermail/mono-devel-list/2005-September/014598.html) This is a deviation from original nunit.org sources though. Still, the

[Mono-dev] Patch to RotateFlip: reworks existing code and adds 1- and 4-bit support

2005-10-23 Thread Jonathan Gilbert
Hi, I've been working on RotateFlip for an application of mine, as it was causing mono to crash. I eventually did locate the source of the crash, but not before rewriting large parts of the RotateFlip code, which I found to be somewhat splayed and repetitive, into one comprehensive loop that

Re: [Mono-dev] Patch to RotateFlip: reworks existing code and adds 1- and 4-bit support

2005-10-23 Thread Peter Dennis Bartok
Jonathan, I haven't reviewed the patch yet, but I noticed that you put the tests for it in winforms; it'd be cool you would nunit-ify them and put them straight under System.Drawing/Test? Maybe using GetPixel to verify it rotated correctly. That way it could be automated. The winforms module

Re: System.Web.dll was: [Mono-list] Re: Data Grid broken again in latest upgrade to Mono1.1.9.2

2005-10-23 Thread Gonzalo Paniagua Javier
On Sat, 2005-10-22 at 16:22 -0700, Joe Audette wrote: Hi Gonzalo, My web host grokthis.net is waiting for me to give the thumbs up for an upgrade from mono 1.1.7 and I am looking forward to the performance improvements. Is there going to be a 1.1.9.3 release soon that contains your

[Mono-list] PInvoke ques

2005-10-23 Thread Shankari
Hello again!! I think I misunderstood marshal.c as ACTUALLY pushing the arguments on stack. I think it generates IL code to push the argument on stack. In the case of reference, it generated IL code to push the address on stack. AM I correct ??? If so, can I do this : My aim is to prevent

[Mono-list] XSP/Apache and VS.NET 2003

2005-10-23 Thread Ochronus
Hi All, I'm just starting to get acquainted with the ASP.NET technology, and would like to do so using mono. However, it would be highly convenient to use the visual designer in VS.NET for this, but I can't seem to succeed in hosting the projects in XSP or apache/mod_mono (yes, both are

Re[2]: [Mono-list] XSP/Apache and VS.NET 2003

2005-10-23 Thread Ochronus
Thank you for your reply, I see now.. so there are some MS-specific extensions missing. So eventually if I want to use the visual web designer, I have to stick with IIS+FP extensions as the development platform, then deploy to a mono server... aren't there any visual designer tools for

Re: [Mono-list] Deep Marshaling

2005-10-23 Thread Giuseppe Greco
Jon, that you said is really interesting... and I'm wondering how can I solve another similar problem. Giving the following type: [StructLayout(LayoutKind.Sequential)] internal struct MyStruct { public int Id; public byte[] Data; // of course, that's wrong!!! } ... I'd like to

[Mono-list] asp:DropDownList not working (not populating)

2005-10-23 Thread johnlopezj
Hi all, Can anybody tell me if this is a bug. I have a simple test page that only contains a DropDownList. I cannot get it to populate selections by using ListItem. See below: %@ Import namespace="System" %%@ Import Namespace="System.Data" %%@ Import Namespace="ByteFX.Data.MySqlClient" %%@

Re: [Mono-list] asp:DropDownList not working (not populating)

2005-10-23 Thread Timothy Graupmann
Shouldn't you be using asp:ListBox ? --- [EMAIL PROTECTED] wrote: Hi all, Can anybody tell me if this is a bug. I have a simple test page that only contains a DropDownList. I cannot get it to populate selections by using ListItem. See below: %@ Import namespace=System % %@ Import

Re: [Mono-list] Deep Marshaling

2005-10-23 Thread Jonathan Pryor
On Sun, 2005-10-23 at 15:21 +0200, Giuseppe Greco wrote: Jon, that you said is really interesting... and I'm wondering how can I solve another similar problem. Giving the following type: [StructLayout(LayoutKind.Sequential)] internal struct MyStruct { public int Id; public

Re: [Mono-list] Deep Marshaling

2005-10-23 Thread Giuseppe Greco
Thanks Jon! Another alternative would be the following: [StructLayout(LayoutKind.Sequential)] internal struct MyStruct { public int Id; public unsafe byte* Data; } public unsafe void FillMyStruct(string s) { // // convert the given string into a byte array //

RE: [Mono-list] asp:DropDownList not working (not populating)

2005-10-23 Thread Carl Olsen
You cant close the tag before you include the list items. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Sunday, October 23, 2005 1:10 PM To: Mono-list@lists.ximian.com Subject: [Mono-list] asp:DropDownList not working (not populating)

RE: [Mono-list] asp:DropDownList not working (not populating)

2005-10-23 Thread Carl Olsen
Try this: %@ Import namespace=System % %@ Import Namespace=System.Data % %@ Import Namespace=ByteFX.Data.MySqlClient % %@ Import Namespace=System.Security.Cryptography % %@ Import Namespace=System.Configuration % %@ Assembly name=ByteFX.Data % %@ Page Language=C# % HTML

Re: [Mono-list] Deep Marshaling

2005-10-23 Thread Jonathan Pryor
On Sun, 2005-10-23 at 21:09 +0200, Giuseppe Greco wrote: Another alternative would be the following: [StructLayout(LayoutKind.Sequential)] internal struct MyStruct { public int Id; public unsafe byte* Data; } public unsafe void FillMyStruct(string s) { ...