Re: [Mono-winforms-list] Crash with BackgroundWorker. Please confirm!

2007-09-25 Thread Andy Hume
This is likely an instance of the bug I reported this weekend, bug 327608 BackgroundWorker: is UI-thread unsafe! (https://bugzilla.novell.com/show_bug.cgi?id=327608) In short, the ReportProgress and RunWorkerCompleted events are NOT run on the UI-thread -- but instead on an arbitrary

[Mono-winforms-list] XIM support

2007-09-25 Thread John Hatton
Hi, In the next 4 months, we'll reach a point where our SWF/MWF app http://www.wesay.org/ , which runs on the OLPC, will have to be re-written in GTK or QT for lack of custom-keyboard ability ( https://bugzilla.novell.com/show_bug.cgi?id=320988 ). Being a Windows shop, we don't have the first

Re: [Mono-winforms-list] XIM support

2007-09-25 Thread Jonathan Pobst
I don't think XIM support will be available in the near to mid term. Jonathan John Hatton wrote: Hi, In the next 4 months, we’ll reach a point where our SWF/MWF app http://www.wesay.org/, which runs on the OLPC, will have to be re-written in GTK or QT for lack of custom-keyboard ability

Re: [Mono-dev] Replicating System.Web.Script.Serialization bugs

2007-09-25 Thread Konstantin Triger
Hey Tyler, Regardless of the compatibility with MS 'bug', I think that leaving uninitialized the fields in this case will raise several logical problems: 1. For value types: since there is no notion of 'null' value (unlike many dymanic languages) it would be very hard to differentiate between

Re: [Mono-dev] windows build breakage? (missing CreateString)

2007-09-25 Thread Andy Hume
Hi I've not tried a build since, once bitten twice shy and all that. I'll use that fix if I experience the problem when I do. Many thanks Maybe we could update the wiki with some of this sort of information. This, this

Re: [Mono-dev] [PATCH] Generic Type Definition / Open Instantiation mismatch patch.

2007-09-25 Thread Juraj Skripsky
Hi Rodrigo, Thank for working on this! I wasn't aware of this bug before and it bit me a couple of times (with me slowly growing desperate) when using Mono with Db4o and generic collections. I've applied it to my local tree and it works fine so far. I'll try to do some more testing and will keep

[Mono-dev] error compiling mod_mono 1.2.5 with apache 1.3

2007-09-25 Thread César González
Hello, I am trying to compile mod_mono 1.2.5 with apache 1.3.34 on debian etch. Configure scripts detects apache 1.3 on ends up with the following report : Configuration summary for mod_mono * Installation prefix = /usr/local * Apache version = 1.3 * Apache modules directory =

Re: [Mono-dev] Replicating System.Web.Script.Serialization bugs

2007-09-25 Thread Andreia Gaita
On 9/25/07, Konstantin Triger [EMAIL PROTECTED] wrote: 1. For value types: since there is no notion of 'null' value (unlike many dymanic languages) it would be very hard to differentiate between the 'default' and deserialized values if they are equal. (If you have a field of type 'Int32'

[Mono-dev] RichTextBox scrollinfo

2007-09-25 Thread Sir Moon
A very simple, but highly important piece of functionality missing from the .NET spec for a RichTextBox - there is no way to determine which portion of the document is currently scrolled into view. Before appending new messages to the RichTextBox, my application queries Win32 for the current

[Mono-dev] run-time errors with core dumped in console database app

2007-09-25 Thread R.A.M.
Hi, I have written simple console program reading data from MySQL database. The problem is that I receive run-time errors with core dumped. Here's my program: using System; using MySql.Data.MySqlClient; namespace TestMono { class MainClass { public static void

Re: [Mono-dev] DataContext Implementation Advice

2007-09-25 Thread Paul Stovell
Hi Kevin, I'm enjoying reading these posts of yours - very fascinating. With regards to change tracking, the last time I looked, DLINQ objects raise a PropertyChanging (INotifyPropertyChanging, part of System.ComponentModel ) event when properties are changed. Since it is your QueryProvider (the

[Mono-dev] Remoting Question

2007-09-25 Thread Phil Garcia
Is .NET Remoting in Mono compatible with Microsoft's implementation? And if not, how about BinaryFormatter? Thanks! Phil ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] Linq status

2007-09-25 Thread pablosantosluac
It works with SVN HEAD!!! - Original Message - From: Marek Safar [EMAIL PROTECTED] To: pablosantosluac [EMAIL PROTECTED] Cc: mono-devel-list@lists.ximian.com Sent: Monday, September 24, 2007 7:26 PM Subject: Re: [Mono-dev] Linq status Hi Pablo, I was wondering which is the current

Re: [Mono-dev] Remoting Question

2007-09-25 Thread Atsushi Eno
http://www.mono-project.com/FAQ:_Technical http://www.mono-project.com/FAQ:_Technical#Is_there_any_plans_for_implementing_remoting_in_the_near_future.3F Also note that serialized data is not compatible between different platforms:

Re: [Mono-dev] Replicating System.Web.Script.Serialization bugs

2007-09-25 Thread Konstantin Triger
One workaround would be to slightly massage the script prior to deserialization. A regexp should remedy things, maybe? This will kill performance, so can be a workaround implemented in app code only... Regards, Konstantin Triger -Original Message- From: [EMAIL PROTECTED]

Re: [Mono-dev] Linq sample?

2007-09-25 Thread Kamil Skalski
foreach( Revision r in query ) { // Console.WriteLine({0} - objid:{1}, num, r.ObjId); ++num; } I'm pretty sure (accounting your previous post about superb performance) that this loop is actually optimized out by compiler. You

Re: [Mono-dev] Linq sample?

2007-09-25 Thread pablosantosluac
well, I'm just counting the numbers after retrieving the query (and I guess this is NOT the way to do it, but I'm not very used to enumerators, specially writing my test with vi) Ok, I changed the loop so that now foreach( Revision r in query ) { //

Re: [Mono-dev] Linq sample?

2007-09-25 Thread pablosantosluac
Oh... come on! I was so happy! :-( Here is my code: it is just a dumb test. Note I commented out the console.writeline line. I'm not using SQL, just searching in an in-memory array... One question too, I'm totally new to linq so, is there a way to build the queries dynamically? I mean, maybe

Re: [Mono-dev] Linq sample?

2007-09-25 Thread Kamil Skalski
2007/9/25, pablosantosluac [EMAIL PROTECTED]: Hi, Well, I've just tried some simple tests yet, but I'd say performance is awsome... I mean, searching in an array of 120 Million objects, using about 1GB RAM looking for a simple query checking a couple of properties needed only 185ms to

Re: [Mono-dev] [PATCH] Generic Type Definition / Open Instantiation mismatch patch.

2007-09-25 Thread Rodrigo Kumpera
Hey guys, After talking with Hari I have come to a better solution. First, to fix the case for non dynamic code I have reverted the changes of r80475 and r80445 as suggested by Hari. Reverting theses changes work because the issue was the typebuilder issue pointer previowsly. The new patch

Re: [Mono-dev] Linq sample?

2007-09-25 Thread pablosantosluac
Hi, Well, I've just tried some simple tests yet, but I'd say performance is awsome... I mean, searching in an array of 120 Million objects, using about 1GB RAM looking for a simple query checking a couple of properties needed only 185ms to finish!!! Doing it iteratively (looping through the

Re: [Mono-dev] Fwd: [PATCH] Generic Type Definition / Open Instantiation mismatch patch.

2007-09-25 Thread Paolo Molaro
On 09/21/07 Rodrigo Kumpera wrote: There is one finall twist on this patch, the way System.Reflection.Emit in mono is incompatible with .net. On mono, TypeBuilder::MakeGenericType returns a Type that is functional (one you can call GetConstructors). This means that you cannot have the same

Re: [Mono-dev] error compiling mod_mono 1.2.5 with apache 1.3

2007-09-25 Thread Joshua Tauberer
César González wrote: I am trying to compile mod_mono 1.2.5 with apache 1.3.34 on debian etch. Configure scripts detects apache 1.3 on ends up with the following report : ... In file included from mod_mono.c:35: mod_mono.h:55:21: error: apr_shm.h: No such file or directory mod_mono.h:58:19:

Re: [Mono-dev] Replicating System.Web.Script.Serialization bugs

2007-09-25 Thread R. Tyler Ballance
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sep 25, 2007, at 6:58 AM, Konstantin Triger wrote: One workaround would be to slightly massage the script prior to deserialization. A regexp should remedy things, maybe? This will kill performance, so can be a workaround implemented in app

Re: [Mono-dev] error compiling mod_mono 1.2.5 with apache 1.3

2007-09-25 Thread Marek Habersack
On Tue, 25 Sep 2007 16:58:41 -0400, Joshua Tauberer [EMAIL PROTECTED] scribbled: Hello, César González wrote: I am trying to compile mod_mono 1.2.5 with apache 1.3.34 on debian etch. Configure scripts detects apache 1.3 on ends up with the following report : ... In file included from

Re: [Mono-dev] error compiling mod_mono 1.2.5 with apache 1.3

2007-09-25 Thread Marek Habersack
On Tue, 25 Sep 2007 16:58:41 -0400, Joshua Tauberer [EMAIL PROTECTED] scribbled: Hello, César González wrote: I am trying to compile mod_mono 1.2.5 with apache 1.3.34 on debian etch. Configure scripts detects apache 1.3 on ends up with the following report : ... In file included from

Re: [Mono-dev] error compiling mod_mono 1.2.5 with apache 1.3

2007-09-25 Thread Robert Jordan
Hi Marek, Marek Habersack wrote: Cesar, the apr_shm.h not found error probably means that you don't have apr devel files installed. If you do, can you tell me what is the version of the libapr devel package you have installed? Apache 1.3 does not have this file. Robert

Re: [Mono-dev] error compiling mod_mono 1.2.5 with apache 1.3

2007-09-25 Thread Marek Habersack
On Wed, 26 Sep 2007 02:09:58 +0200, Robert Jordan [EMAIL PROTECTED] scribbled: Hi Marek, Hey Robert, Marek Habersack wrote: Cesar, the apr_shm.h not found error probably means that you don't have apr devel files installed. If you do, can you tell me what is the version of the libapr

Re: [Mono-dev] run-time errors with core dumped in console database app

2007-09-25 Thread Abir Bhattacharya
Pls look into the following : 1. have you registered the MySql.Data.dll using the GacUtil utility. 2. try using the IDBConnection , maybe you can refer to http://www.mono-project.com/MySQL for additional help -abir -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

[Mono-list] mod-mono bad crashing

2007-09-25 Thread Lorenzo Viola
Hello Hope to get some help or directions on how to debug I'm on debian, apache2, mod-mono, using the last sources from http://mono.ximian.com/daily/ I'm filling a gridview, on a master page ... the only strange thing i'm doing is this : GridView dgvResults =

Re: [Mono-list] mod-mono bad crashing

2007-09-25 Thread Lorenzo Viola
Can you create a small self-contained test case and file a but report, attaching the test there? Thanks, marek ok, I'll try ASAP meanwhile... how do you trace such errors ? on VS 2005, the reflection on the dll works because there is a local webserver, integrated on the project actually

Re: [Mono-list] mod_mono still not working after an upgrade

2007-09-25 Thread Joshua Tauberer
Ben Clewett wrote: Dear Mono, I am still having terrible problems getting mod_mono working after an upgrade to SUSE 10.2. I get lots of errors like: [Tue Sep 25 14:24:20 2007] [crit] Failed to remove dashboard file '/tmp/mod_mono_dashboard_XXGLOBAL_1', further actions impossible.

Re: [Mono-list] mod_mono still not working after an upgrade

2007-09-25 Thread Marek Habersack
On Tue, 25 Sep 2007 14:29:13 +0100, Ben Clewett [EMAIL PROTECTED] scribbled: Hello [snip] [Tue Sep 25 14:24:20 2007] [crit] Failed to remove dashboard file '/tmp/mod_mono_dashboard_XXGLOBAL_1', further actions impossible. Operation not permitted Can you test the attached patch by applying it

Re: [Mono-list] mod-mono bad crashing

2007-09-25 Thread Lorenzo Viola
Can you create a small self-contained test case and file a but report, attaching the test there? Thanks, marek hello I'm still trying to make a small test case... as a small project, everything works... looks like that my problem is some combo of ascx user control, null referenced

Re: [Mono-list] mod-mono bad crashing

2007-09-25 Thread Marek Habersack
On Wed, 26 Sep 2007 01:20:57 +0200, Lorenzo Viola [EMAIL PROTECTED] scribbled: Hello Can you create a small self-contained test case and file a but report, attaching the test there? Thanks, marek hello I'm still trying to make a small test case... as a small project,

Re: [Mono-list] mod_mono still not working after an upgrade

2007-09-25 Thread Marek Habersack
On Tue, 25 Sep 2007 14:29:13 +0100, Ben Clewett [EMAIL PROTECTED] scribbled: Hello, [snip] [Tue Sep 25 14:24:20 2007] [crit] Failed to remove dashboard file '/tmp/mod_mono_dashboard_XXGLOBAL_1', further actions impossible. Operation not permitted [snip] The mono control panel doesn't

[Mono-list] debugging asp.net pages

2007-09-25 Thread Daniel Soto
Hi all. I have another question xD. With the mono debugger, can I to debug asp.net pages? Or only it can to debug exe, winexe and library projects? If it can to debug asp.net, how to i must do to debug the pages? Best regards. ___ Mono-list maillist