[Mono-winforms-list] Mono 1.1.14 on Windows

2006-04-12 Thread Pavel Bansky
Hello people, i've just downloaded mono 1.1.14 and found that winforms application don't work. On mono 1.1.13-4 even dificult application run quite well. Now windows forms applications exits with no error message. Should I update System.Windows.Forms.dll from nigt build? thanks a lot

Re: [Mono-winforms-list] Mono 1.1.14 on Windows

2006-04-12 Thread Peter Dennis Bartok
You are most likely running into this bug: http://bugzilla.ximian.com/show_bug.cgi?id=77896 It's already fixed, and 1.1.15 will have it. Or you update Mono (not winforms.dll) from svn. Cheers, Peter -Original Message- From: Pavel Bansky [EMAIL PROTECTED] To: winforms

Re: [Mono-dev] [PATCH] Add GetString to UnicodeEncoding 2.0 andmodifysome Encoding wrappers

2006-04-12 Thread Kornél Pál
Hi, Numbers are things that can convince me.:) Now I have three questions: - Are there parts of the patch that are OK to commit? - Do we care about class signature (what methods are overriden)? - Do we care about the implementation of virtual methods (what methods do they call)? I can follow

Re: [Mono-dev] Win32 build is broken - r59306 - threads.c

2006-04-12 Thread Wade Berrier
This is also happening on macos. Wade On Tue, 2006-04-11 at 14:30 +0200, Kornél Pál wrote: Hi, The error I get: /.libs/libmonoruntime.a(threads.o): In function `mono_debugger_init_threads': /mono/mono/mono/metadata/threads.c:2902: undefined reference to `_gc_thread_vtable' Please

Re: [Mono-dev] Re: What would you like to see in Mono?

2006-04-12 Thread Victor Romero
Hi, I would like to see a Mono binary distribution bundle like a Runtime Environment (like JRE) and a Developer Kit (like JDK). Saludos Victor Romero Messenger: [EMAIL PROTECTED] Business Web Page: http://www.dsnibble.com.mx Personal Web Page: http://linux.ipn.mx/cms/space/VictorRomero Blog

[Mono-dev] PATCH: System.Web.UI/SimpleWebHandlerParser.cs

2006-04-12 Thread Konstantin Triger
Hello, The attached patch helps to correctly resolve GACs dependencies. (Similarly to TemplateParser logic). Regards, Konstantin Triger SimpleWebHandlerParser.patch Description: SimpleWebHandlerParser.patch ___ Mono-devel-list

Re: [Mono-dev] Win32 build is broken - r59306 - threads.c

2006-04-12 Thread Kornél Pál
The cause is that libgc/pthread_stop_world.c is not compiled on a lot of platforms: #if defined(GC_PTHREADS) !defined(GC_SOLARIS_THREADS) !defined(GC_IRIX_THREADS) !defined(GC_WIN32_THREADS) !defined(GC_DARWIN_THREADS) !defined(GC_AIX_THREADS) So other platforms are affected as well.

[Mono-dev] [Fwd: [Mono-patches] r59306 - in trunk/mono/mono: metadata mini]

2006-04-12 Thread Atsushi Eno
Hi, This change seems to have caused a build breakage on Windows. gcc -mno-cygwin -g -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith

[Mono-dev] Assertion failed on mono_class_setup_vtable_general

2006-04-12 Thread Celso Pinto
Hi everyone, I'm developing a Gnome application with Mono and this application has three components: one common library, a server that publishes a DBus interface and a management GUI that talks to the server through DBus. The problem I'm having is that I cannot run the server and the management

Re: [Mono-dev] [PATCH] Add GetString to UnicodeEncoding 2.0 andmodifysome Encoding wrappers

2006-04-12 Thread Kornél Pál
Hi, I've done some tests: New 1.1: UnicodeEncoding: 6750 ASCIIEncoding: 18609 UTF8Encoding: 9922 CP932: 14641 New 2.0: UnicodeEncoding: 13594 ASCIIEncoding: 19562 UTF8Encoding: 16625 CP932: 38906 Old 1.1: UnicodeEncoding: 6906 ASCIIEncoding: 18859 UTF8Encoding: 10062 CP932: 21719 Old 2.0:

Re: [Mono-dev] [PATCH] Add GetString to UnicodeEncoding 2.0 andmodifysome Encoding wrappers

2006-04-12 Thread Atsushi Eno
Just a small doubt: how could you run your test that uses Stopwatch under 1.x profile? Atsushi Eno Kornél Pál wrote: Hi, I've done some tests: New 1.1: UnicodeEncoding: 6750 ASCIIEncoding: 18609 UTF8Encoding: 9922 CP932: 14641 New 2.0: UnicodeEncoding: 13594 ASCIIEncoding: 19562

Re: [Mono-dev] [PATCH] Add GetString to UnicodeEncoding 2.0 andmodifysome Encoding wrappers

2006-04-12 Thread Kornél Pál
I included Stopwatch.cs in the exe. (Removed MonoTODO and compiled.) And used the same executable on 2.0 as well with a config file. (This was a lazy solution but is fine.:) Kornél - Original Message - From: Atsushi Eno [EMAIL PROTECTED] To: Kornél Pál [EMAIL PROTECTED] Cc:

Re: [Mono-dev] [PATCH] Add GetString to UnicodeEncoding 2.0 andmodifysome Encoding wrappers

2006-04-12 Thread Atsushi Eno
Hi, Here's the real answer. I might not be fully understanding you, but if you are saying that your current patch as is should be applied, then it's no-go (due to the big difference in ASCII and Unicode as you showed us). Note that I'm not saying that performance is always higher-rated matter

Re: [Mono-dev] [PATCH] Add GetString to UnicodeEncoding 2.0 andmodifysome Encoding wrappers

2006-04-12 Thread Kornél Pál
For new byte[1]: The following code for example (and other methods with empy output buffer) has to throw ArgumentException (not IndexOutOfRangeException that bytes[0] throws): Encoding e = Encoding.GetEncoding(1252); e.GetBytes(new char[] {'a'}, 0, 1, new byte[] {}, 0); I didn't previously

Re: [Mono-dev] [PATCH] Add GetString to UnicodeEncoding 2.0 andmodifysome Encoding wrappers

2006-04-12 Thread Kornél Pál
Hi, This is the revised version of my original patch. Please approve this one and the other things can be modified (if needed) later. Kornél UnicodeEncoding.diff Description: Binary data ___ Mono-devel-list mailing list

[Mono-dev] StructLayout with misaligned offsets

2006-04-12 Thread tcmichals
namespace testCode { class Program { [StructLayout(LayoutKind.Sequential, Pack = 1 /*, CharSet = CharSet.Ansi */)/*, Serializable*/] public struct tagSDK { [MarshalAs(UnmanagedType.ByValArray, SizeConst = 12)] public ushort[] inter;

Re: [Mono-dev] StructLayout with misaligned offsets

2006-04-12 Thread Zoltan Varga
Hi, This is a known bug and it is tracked as: http://bugzilla.ximian.com/show_bug.cgi?id=77788 Zoltan On 4/12/06, tcmichals [EMAIL PROTECTED] wrote: namespace testCode { class Program { [StructLayout(LayoutKind.Sequential, Pack = 1 /*, CharSet =

[Mono-dev] Re: StructLayout with misaligned offsets

2006-04-12 Thread tcmichals
I'm also using the same method on other struct's and getting different sizes between mono 1.1.14 and 2.0 .NET, the .NET version is giving me the correct sizes, would this also be considered the same issue? I'm trying use the StructLayout to overlay the same data structures used bettwen C++ and

[Mono-dev] HttpApplicationFactory Patch for HttoModule Events

2006-04-12 Thread met
I was trying to get a custom module's event attached to Global.asax without success. Apparently HttpApplicationFactory's AddHandler was always using EventHandler instead of the EventInfo's EventHandlerType. The attached patch has a one line fix. I've tested this patch against my custom module

[Mono-dev] Re: StructLayout with misaligned offsets

2006-04-12 Thread tcmichals
Also found this information, removing the MarshalAs and use discrete variables works, ie // public ushort Avg0; // [MarshalAs(UnmanagedType.ByValArray, SizeConst = 12)] //public ushort[] Avg; public ushort Avg0;public ushort Avg1;public ushort Avg2;public ushort Avg3;public ushort Avg4;public

Re: [Mono-dev] MonoDevelop 0.10 in Mono 1.1.4 Linux Installer

2006-04-12 Thread Wade Berrier
1.1.14_1 does come with MD 0.10. 1.1.14_0 does not. The _release revision is only for linux installer updates. Wade On Thu, 2006-04-06 at 18:54 -0400, Daniel Morgan wrote: Does MonoDevelop 0.10 come in the latest Mono 1.1.14 Linux Installer? If not, can it be updated to include it?

Re: [Mono-dev] PATCH: System.Web.UI/SimpleWebHandlerParser.cs

2006-04-12 Thread Gonzalo Paniagua Javier
On Wed, 2006-04-12 at 00:28 -0700, Konstantin Triger wrote: Hello, The attached patch helps to correctly resolve GACs dependencies. (Similarly to TemplateParser logic). Please, commit to both HEAD and 1-1-13. Thanks. -Gonzalo ___

[Mono-list] Calendar widget source code ?

2006-04-12 Thread ted leslie
anyone know of a small calendar widget thats opensource in c-sharp .Net ? i thought i remember seeing one somewhere as a sample in mono? but can't seem to find one. I found a commercial one, and source is about a G$ :( Just need something that renders a small calendar (stylish) for the month with

[Mono-list] Duplicate emails from list

2006-04-12 Thread Tony G
Any idea why I get two of almost every email sent to this forum? What are people doing differently that sometimes causes only one mail to be generated for some posts and two mails for others? It looks like people have the habit of sending to mono-list@lists.ximian.com and then also CC

[Mono-list] Audio file access

2006-04-12 Thread Aaron Oxford
Hi all. Can anyone point me towards a half-decent, object-oriented, open-source audio file API, preferably for C#? A binding to some reasonably well-maintained library would be fine, OO code that I can modify and into the project would be better. At a minimum, I want PCM WAV support - any

Re: [Mono-list] Calendar widget source code ?

2006-04-12 Thread rus
If it's asp.net then try System.Web.UI.WebControls.Calendar Don't know about SWF or Gtk# though On Tue, 2006-04-11 at 19:26 -0400, ted leslie wrote: anyone know of a small calendar widget thats opensource in c-sharp .Net ? i thought i remember seeing one somewhere as a sample in mono? but can't

Re: [Mono-list] Duplicate emails from list

2006-04-12 Thread Kornél Pál
Hi, If you go to the preferences of the list, you can set whether you want to receive your own posts or mails you are in CC or TO. Personally I would prefer the option when Reply-To is the list but Miguel said that other people like the current setting. So I always use Reply All to target

Re: [Mono-list] Duplicate emails from list

2006-04-12 Thread Jonathan Pryor
On Tue, 2006-04-11 at 19:07 -0700, Tony G wrote: I've also found the need to reply all is very irritating, and I suspect this is partially responsible for the above issue. If I just reply, mail goes back to the person who posted a note because the mail list sets their address as the reply-to.

[Mono-list] Re: Duplicate emails from list

2006-04-12 Thread Robert Jordan
Tony G wrote: Any idea why I get two of almost every email sent to this forum? What are people doing differently that sometimes causes only one mail to be generated for some posts and two mails for others? It looks like people have the habit of sending to mono-list@lists.ximian.com and then

Re: [Mono-list] Duplicate emails from list

2006-04-12 Thread Andreas Färber
Tony G schrieb: Any idea why I get two of almost every email sent to this forum? I guess you would notice if you had signed up twice... ;-) What are people doing differently that sometimes causes only one mail to be generated for some posts and two mails for others? It looks like people have

Re: [Mono-list] Calendar widget source code ?

2006-04-12 Thread Tom Opgenorth
On 4/11/06, ted leslie [EMAIL PROTECTED] wrote: anyone know of a small calendar widget thats opensource in c-sharp .Net ? Is the System.Windows.Forms.MonthCalendar (or System.Web.UI.WebControls.Calendar) not implemented in Mono? Could you not use those, subclassing as necessary? I know for an

Re: [Mono-list] Calendar widget source code ?

2006-04-12 Thread Abe Gillespie
Would a javascript implementation work for you? This one's pretty cool: http://www.mattkruse.com/javascript/calendarpopup/ -Abe On 4/11/06, ted leslie [EMAIL PROTECTED] wrote: anyone know of a small calendar widget thats opensource in c-sharp .Net ? i thought i remember seeing one somewhere

Re: [Mono-list] Duplicate emails from list

2006-04-12 Thread Dick Porter
On Tue, 2006-04-11 at 19:07 -0700, Tony G wrote: I've also found the need to reply all is very irritating, and I suspect this is partially responsible for the above issue. If I just reply, mail goes back to the person who posted a note because the mail list sets their address as the reply-to.

Re: [Mono-list] Calendar widget source code ?

2006-04-12 Thread Adam Tauno Williams
On Wed, 2006-04-12 at 11:16 +0100, rus wrote: If it's asp.net then try System.Web.UI.WebControls.Calendar Don't know about SWF or Gtk# though Gtk# provides a rather nice calendar widget, but I think it just 'imports' it from the Gtk libraries. signature.asc Description: This is a digitally

Re: [Mono-list] Calendar widget source code ?

2006-04-12 Thread Abe Gillespie
Silly me ... yeah, for some reason I was assuming web stuff. Sorry about that. -Abe On 4/12/06, rus [EMAIL PROTECTED] wrote: If it's asp.net then try System.Web.UI.WebControls.Calendar Don't know about SWF or Gtk# though On Tue, 2006-04-11 at 19:26 -0400, ted leslie wrote: anyone know of

Re: [Mono-list] Audio file access

2006-04-12 Thread Miguel de Icaza
Hello, Can anyone point me towards a half-decent, object-oriented, open-source audio file API, preferably for C#? A binding to some reasonably well-maintained library would be fine, OO code that I can modify and into the project would be better. At a minimum, I want PCM WAV support - any

Re: [Mono-list] Calendar widget source code ?

2006-04-12 Thread Abe Gillespie
I just recently went through subclassing the ASP.NET calendar control on Windows (last week in fact). It's definitely a little painful and I'm not sure I could do it w/o the wizard in VS.NET. I wouldn't know where to begin in Mono. -Abe On 4/12/06, Tom Opgenorth [EMAIL PROTECTED] wrote: On

[Mono-list] Assertion failed on mono_class_setup_vtable_general

2006-04-12 Thread Celso Pinto
Hi everyone, I've sent this email before to the mono-devel-list but I think that that mailing-list wasn't the appropriate place to ask these kinds of questions. Sorry for cross-posting. I'm developing a Gnome application with Mono and this application has three components: one common

Re: [Mono-list] Mono 1.1.14 and Indy.Sockets

2006-04-12 Thread matt
On Monday 10 April 2006 14:47, Paolo Molaro wrote: On 04/07/06 matt wrote: For my project I use the Indy.Sockets opensource library that used to work well with mono 1.1.12 and 1.1.13. Now I get: Invalid IL code in Indy.Sockets.Thread:.ctor (bool,bool,string): IL_0017: stloc.0 This

Re: [Mono-list] Garbage collection and memory usage

2006-04-12 Thread Gavin Hamill
On Sun, 9 Apr 2006 21:26:37 +0100 Gavin Hamill [EMAIL PROTECTED] wrote: Hi again.. any chance of getting the info I requested in this mail from a few days ago? I'd love to help get this bug nailed, but I'm not a coder so need hand-holding through scary things like gdb :) On Sat, 08 Apr 2006

[Mono-list] FAILED building mono 1.1.14 (RH Linux)

2006-04-12 Thread savatar
I tried to build mono 1.1.14 from source. It failed with this error: /bin/sh ../../libtool --tag=CC --mode=link gcc -I../.. -I../../libgc/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2

RE: [Mono-list] Re: Duplicate emails from list

2006-04-12 Thread Tony G
Thank you for the comments/suggestions. In response to some: - I'm certainly not subscribed twice, the headers in mail dupes are exactly the same. - Note again that mail being sent to the list by some people has both a TO and a CC to the list, so the list is getting mail dupes. This might

[Mono-list] Mono 1.1.14Build 1 on Windows crashes on simple winform test..

2006-04-12 Thread [EMAIL PROTECTED]
Hi All,I just tried to run a simple VB.NET 1.1 winform on Mono 1.1.14Build1 and got the following crash (see below).The reason for this simple test was to see if Mono leaked memory like MS .NET 1.1.If you run this on Windows, click the button over and over and over again..And watch memory. It