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

2005-10-22 Thread Kornél Pál
Hi, Now ImageList should be functionally compatible with MS.NET. The only thing it cannot support is a native image list handle. But MS.NET ImageList seems to be poorly designed and in addition has a lot of bugs. There are three bugs that are so critical that I have corrected them: 1) MS.NET

[Mono-dev] Possible bug in Dictionary

2005-10-22 Thread Gustavo Guerra
Hi In the documentation is stated that the default constructor of DictionaryTKey, TValue will use EqualityComparer.Default, that will use the IEquatable interface if TKey implements it. That is not the case. If we set a breakpoint in the IEquatableTKey.Equals, it isn't called, and the

[Mono-dev] PInvoke : argument passing by ref

2005-10-22 Thread Shankari
Hello, I am trying to isolate the updates by unmanaged code if the arguments are passed by reference in Pinvoke. I looked up marshal.c and at mono_marshal_emit_native_wrapper , the by-ref argumments are being marshalled back to managed memory. I am trying to do this by the foll : After the C

Re: [Mono-dev] PInvoke : argument passing by ref

2005-10-22 Thread Zoltan Varga
Hi, The way mono marshalls data from/to native code is described here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfmarshallingtypes.asp If things don't work that way in mono, than it is a bug and we will fix it.

Re: [Mono-dev] PInvoke : argument passing by ref

2005-10-22 Thread Shankari
I want to know : After unmanaged code manipulates the ref object...it copies it BACK to managed memory. Where does this happen. Is it in marshal.c:mono_marshal_emit_native_wrapper ??? lines 6022 ?? /* convert the result */ if (!sig-ret-byref) { MonoMarshalSpec *spec =

[Mono-list] Glade.WidgetAttribute problem

2005-10-22 Thread Raúl Reina
I am trying to learn Linux programming using Mono, that's ok but I can't do so much things because I can't link code objects (variables) to Glade objects (widgets). I know that I've to declare one variable per widget I want to use in my code, and I've to write a [Glade.WidgetAttribute] before

[Mono-list] Re: Glade.WidgetAttribute problem

2005-10-22 Thread Robert Jordan
Raúl, I am trying to learn Linux programming using Mono, that's ok but I can't do so much things because I can't link code objects (variables) to Glade objects (widgets). I know that I've to declare one variable per widget I want to use in my code, and I've to write a [Glade.WidgetAttribute]

[Mono-list] Re: Data Grid broken again in latest upgrade to Mono 1.1.9.2

2005-10-22 Thread Robert Jordan
Carl Olsen wrote: I don't understand why System.Web.dll has to be broken every time Mono goes through a minor version upgrade. Can anyone explain this to me? Large parts of System.Web have been rewritten between 1.1.8 and 1.1.9. What you see are the aftereffects. Rob

RE: [Mono-list] Re: Data Grid broken again in latest upgrade to Mono1.1.9.2

2005-10-22 Thread Carl Olsen
I upgraded from 1.1.9.1 to 1.1.9.2 yesterday. When I upgraded from 1.1.8 to 1.1.9.1, the datagrid control was badly broken, so I kept filing bug reports until all of the stuff was working again. Now, upgrading from 1.1.9.1 to 1.1.9.2 has caused it to break again (selected index returns -1 for

Re: [Mono-list] Re: Glade.WidgetAttribute problem

2005-10-22 Thread Raitskin Alexandr
I've always used [Glade.Widget] so far and not WidgetAttribute. What is the difference between the two? Robert Jordan wrote: Raúl, I am trying to learn Linux programming using Mono, that's ok but I can't do so much things because I can't link code objects (variables) to Glade objects

[Mono-list] Re: Glade.WidgetAttribute problem

2005-10-22 Thread Robert Jordan
Raitskin Alexandr wrote: I've always used [Glade.Widget] so far and not WidgetAttribute. What is the difference between the two? None. C# allows to abbreviate every attribute whose class name ends with Attribute. Rob. ___ Mono-list maillist -

Re: [Mono-list] Re: Glade.WidgetAttribute problem

2005-10-22 Thread Kornél Pál
I've always used [Glade.Widget] so far and not WidgetAttribute. What is the difference between the two? Nothing.:) Syntax of C# (and some other .NET languages including VB.NET) permits not to add Attribute suffix to attribute names and the compiler will try to find attribute class with

RE: [Mono-list] Re: Data Grid broken again in latest upgrade to Mono1.1.9.2

2005-10-22 Thread Gonzalo Paniagua Javier
On Sat, 2005-10-22 at 12:10 -0500, Carl Olsen wrote: I upgraded from 1.1.9.1 to 1.1.9.2 yesterday. When I upgraded from 1.1.8 to 1.1.9.1, the datagrid control was badly broken, so I kept filing bug reports until all of the stuff was working again. Now, upgrading from 1.1.9.1 to 1.1.9.2 has

RE: [Mono-list] Re: Data Grid broken again in latest upgrade toMono1.1.9.2

2005-10-22 Thread Carl Olsen
Yes, it is fixed now. I'm guessing I overwrote my System.Web.dll file when I upgraded from Mono 1.1.9.1 to Mono 1.1.9.2 yesterday using Red Carpet. If that is the case, then my frustration lies with an older System.Web.dll file being release through Red Carpet after it has already been fixed

Re: [Mono-list] Re: Data Grid broken again [OT]

2005-10-22 Thread Joshua Tauberer
(This is totally off topic.) Carl Olsen wrote: I'm also trying to make the web site somewhat useful by making it into a searchable database of Iowa legislators (the official state web site doesn't have the functionality I'm going to add to mine). Hey, Carl. I've rambled once or twice on

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

2005-10-22 Thread Joe Audette
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 latest System.Web.dll or should we just upgrade to 1.1.9.2 and then

[Mono-list] PInvoke : argument passing by ref

2005-10-22 Thread Shankari
Hello, I am trying to isolate the updates by unmanaged code if the arguments are passed by reference in Pinvoke. I looked up marshal.c and at mono_marshal_emit_native_wrapper , the by-ref argumments are being marshalled back to managed memory. I am trying to do this by the foll : After the C

RE: [Mono-list] Re: Data Grid broken again [OT]

2005-10-22 Thread Carl Olsen
I'll be glad to incorporate RDF into my project. I have all 150 legislators in the database now. I'm going to add the committee assignments and then add a feature that lets users who are registered and approved email them in groups or individually. For example, if a bill you support is going to