Re: [Mono-devel-list] Re: Threading model

2005-08-05 Thread Rafael Teixeira
On 8/5/05, Paul <[EMAIL PROTECTED]> wrote: > > Probably some error on locking/freeing threads is generating this exception > > Worth putting into the big scaly one? If you mean open a bugzilla case it is certainly worth as it meanders in the Platform Driver code for X before crashing... Could yo

Re: [Mono-devel-list] Differences between Mono and .NET

2005-08-05 Thread Carlos Alberto Cortez
Hello, I think. the best of Mono is its open source nature, and the fact thet everybody can adapt it or modify it, adding the stability and the support for more than one arch. On the other hand, what Mono is missing the most, is an IDE for Winforms and also documentation (docs for Mono libs and b

Re: [Mono-devel-list] [PATCH] Check for assembly attributes

2005-08-05 Thread Carlos Alberto Cortez
Hey, I just checked it, and saw that in the .Net docs, it states that AssemblyName (string name) receives the simple name. However, in the beta 2, if you pass the long format name, it parses it. I think we should keep this change to mcs this way, and wait for this change in the api (System.Refle

Re: [Mono-devel-list] [PATCH] Check for assembly attributes

2005-08-05 Thread Carlos Alberto Cortez
Hey, The constructor receiving a string doesn't parse the long format name. Instead, it just assign "Name" property. So, I don't think we can use it. Carlos. El vie, 05-08-2005 a las 13:55 +0100, Marek Safar escribió: > Hello, > > >>>The other things were applied. I attached two test cases. Do

Re: [Mono-devel-list] Re: Threading model

2005-08-05 Thread Paul
Hi, > This modified version of your ugly program runs for a while (hundreds > of increments): Ugly? It's hacked together with bits of Blutak and sticky tape! > Probably some error on locking/freeing threads is generating this exception Worth putting into the big scaly one? > Hope it helps, It

Re: [Mono-devel-list] Re: Threading model

2005-08-05 Thread Rafael Teixeira
Hi Paul, First, from msdn: Note There are four methods on a control that are safe to call from any thread: Invoke, BeginInvoke, EndInvoke, and CreateGraphics. For all other method calls, you should use one of the invoke methods to marshal the call to the control's thread. See: http://msdn.mic

[Mono-devel-list] Issue with mono_debugger_add_type on Solaris SPARC.

2005-08-05 Thread Gary M. Smithrud
Gary M. Smithrud Haley Systems, Inc. Phone: 724-934-7853 [EMAIL PROTECTED] www.haley.com Moving at the Speed of Change The issue with mono_debugger_add_type is with the following lines (from memory, since I am on a different machine): write_leb(...); write_leb(...); write_leb(...); * ((gpointer*

[Mono-devel-list] Re: Threading model

2005-08-05 Thread Robert Jordan
Paul, Thanks for the heads up on that. I've looked at the C++ version at http://samples.gotdotnet.com/quickstart/util/srcview.aspx?lbLangPref=CP&path=/quickstart/howto/Samples/WinForms/ThreadMarshal/ThreadMarshal.src but I'm not sure if I've got this right. That's one of the best article I kn

Re: [Mono-devel-list] C or C# and Card Reader

2005-08-05 Thread Rafael Teixeira
Start reading http://www.mono-project.com/Web_Services The following demo show the basics of a client GTK# program consuming a web service, just be cautioned that the demo used VisualStudio facilities, but using the wsdl tool from mono as explained in the first link you can have something working

Re: [Mono-devel-list] Re: Threading model

2005-08-05 Thread Paul
Hi, Thanks for the heads up on that. I've looked at the C++ version at http://samples.gotdotnet.com/quickstart/util/srcview.aspx?lbLangPref=CP&path=/quickstart/howto/Samples/WinForms/ThreadMarshal/ThreadMarshal.src but I'm not sure if I've got this right. My thread code looks like this public

Re: [Mono-devel-list] Differences between Mono and .NET

2005-08-05 Thread Paul F. Johnson
Hi, > What do you think is the best thing about Mono compared to .NET? I don't need to use a MS piece of kit, but the binaries I make will run on it (and on anything else which has Mono or the .NET 1.1 framework) and like most open source projects, it has a fantastic developer and community spiri

Re: [Mono-devel-list] Re: Threading model

2005-08-05 Thread Paul F. Johnson
Hi, > > How do I use Control.Invoke within my code and I'm not sure this > > explains the r00t access the code gave me. > > And you really think that Mono gave you root access? ;-) No. I suspect a problem with the threading model or the kernel itself, but before I make a total gimboid of myself,

[Mono-devel-list] Differences between Mono and .NET

2005-08-05 Thread Martin Willemoes Hansen
Hello everybody I'll be talking about differences between Mono and .NET in September and It would be nice to know what you think is the best difference between Mono and .NET. I have a short list of differences: 1. Platform independent 2. Open Source 3. Extra cryptofunctionality 4. Extra libs lik

RE: [Mono-devel-list] C# Threading : libgcc_s.so.1 mustbeinstalledfor pthread_cancel to work

2005-08-05 Thread Rafael Mizrahi
Title: RE: [Mono-devel-list] C# Threading : libgcc_s.so.1 mustbeinstalledfor pthread_cancel to work Thanks for the info, Ben,Indeed, my problem was not solved by addingexport LD_ASSUME_KERNEL=2.4.19More information on my situation:The crash occurs only on RH ES3+IBM JVM(1.4.2).On RH ES3+Su

[Mono-devel-list] ADO.NET command builders.

2005-08-05 Thread tsureshkumar
I've checked in a patch for DbDataReader.Update () to reverse the order of raising RowUpdating event and setting values for the parameters. So, the providers don't have to set the values for the parameter themselves. The update method identifies the correct row version from the Parameter's Sou

Re: [Mono-devel-list] make targets to test mono's sanity?

2005-08-05 Thread Ben Maurer
On Fri, 2005-08-05 at 11:08 +0200, IT2003_1: Morenz, Tino wrote: > Hi, > > as I try to get mono running on a QNX box I need to know whether the > compilation is sane (I mean whether everthing works well). > > atm I use `make distcheck' but it's kind of annoying and time consuming that > it alwa

[Mono-devel-list] Re: Threading model

2005-08-05 Thread Robert Jordan
Paul, How do I use Control.Invoke within my code and I'm not sure this explains the r00t access the code gave me. And you really think that Mono gave you root access? ;-) Rob ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://

Re: [Mono-devel-list] Re: Threading model

2005-08-05 Thread Pascal Fresnay
Paul F. Johnson a écrit : Hi, public void synchTest() { del(); if (count1 != count2) lbl.Text = "Unsynched"; } } Your code access the UI from another thread. This is unsuported with SWF (on MSFT's runtime, too). You must use Control.Invoke if you want to update the UI

Re: [Mono-devel-list] Re: Threading model

2005-08-05 Thread Paul F. Johnson
Hi, > > public void synchTest() > > { > > del(); > > if (count1 != count2) > > lbl.Text = "Unsynched"; > > } > > } > > Your code access the UI from another thread. > This is unsuported with SWF (on MSFT's runtime, too). > You must use Control.Invoke if you want to update the U

[Mono-devel-list] mod-mono trouble on debian

2005-08-05 Thread Oliver Weichhold
Hi I'm experiencing trouble getting mod-mono to run on one of my debian boxes. The same configuration runs fine on my other testing machine. Both machines had older 1.02 versions of mono installed which have been compiled from source. I've tried my best to get rid of all older files before install

Re: [Mono-devel-list] [PATCH] Check for assembly attributes

2005-08-05 Thread Marek Safar
Hello, The other things were applied. I attached two test cases. Do you think we could need more tests? They look fine. BTW: Could not we use AssemblyName class from corlib to avoid this parsing code ? Well, yes. That's exactly what I tought. But, we don't have a Parse () me

[Mono-devel-list] Re: Threading model

2005-08-05 Thread Robert Jordan
Hi Paul, public void synchTest() { del(); if (count1 != count2) lbl.Text = "Unsynched"; } } Your code access the UI from another thread. This is unsuported with SWF (on MSFT's runtime, too). You must use Control.Invoke if you want to update the UI from another thread, other

Re: [Mono-devel-list] Re: Threading model

2005-08-05 Thread Paul F. Johnson
Hi, > > I think I've found a problem between Mono and the latest kernel and I'm > > trying to find what it is. I've been advised to look at threading as a > > potential cause. > > What kind of problems? Nothing major - just being able to have full root access as a standard user after runaway thr

[Mono-devel-list] digest authentication issue with mappoint web service

2005-08-05 Thread Deleye Bart
Hello,   When I try to use the MS Mappoint Web Service, I get an error while authenticating. The code works just fine on the MS.net framework, however not on mono. I read about a fix for the error in the digestclient class (http://lists.ximian.com/pipermail/mono-patches/2005-July/061297.h

[Mono-devel-list] Re: Threading model

2005-08-05 Thread Robert Jordan
Hi Paul, Hi, I think I've found a problem between Mono and the latest kernel and I'm trying to find what it is. I've been advised to look at threading as a potential cause. What kind of problems? Does the threading system change depending on the OS (for instance, Linux and MacOS would use P

Re: [Mono-devel-list] Compiling from sources

2005-08-05 Thread Rafael Teixeira
As many people is reporting problems with get-monolite-latest, I think someone should investigate if it is still being generated correct everyday, it may be stuck with an old tarred snapshot. "Mono Daily Binary Packages" - page (http://mono.ximian.com/daily/) shows a 2005 08 04 monolite-2005080

[Mono-devel-list] collation stuff

2005-08-05 Thread Atsushi Eno
There has been no further comments on managed collation stuff since last week. I made no changes on them this week. Now that there is already OK sign from Miguel, I'll commit that stuff unless there is no further stop from anyone. I'd still wait for Unicode Normalization code for which I haven't

[Mono-devel-list] Threading model

2005-08-05 Thread Paul
Hi, I think I've found a problem between Mono and the latest kernel and I'm trying to find what it is. I've been advised to look at threading as a potential cause. Does the threading system change depending on the OS (for instance, Linux and MacOS would use POSIX, Win32 uses Win32) or does it hav

RE: [Mono-devel-list] Compiling from sources

2005-08-05 Thread Arnhoffer Károly
Hi, make[4]: Entering directory `/home/karnhoffer/Documents/mono_src/svn/mcs' make PROFILE=basic all make[5]: Entering directory `/home/karnhoffer/Documents/mono_src/svn/mcs' *** The compiler 'mcs' doesn't appear to be usable. *** The contents of your 'monolite' directory are out-of-date *** You m

AW: [Mono-devel-list] Compiling from sources

2005-08-05 Thread Matthias Felgner
Hi, Please follow: cd libgdiplus ./autogen.sh (./autogen.sh --prefix=/usr) make su make install /sbin/ldconfig (see "Making sure gdiplus is found" below) exit (takes you back to a normal user) cd ../mono ./autogen.sh (--prefix=/usr) --with-preview= {yes/no} (see below) make get-monolite-latest m

[Mono-devel-list] make targets to test mono's sanity?

2005-08-05 Thread IT2003_1: Morenz, Tino
Hi, as I try to get mono running on a QNX box I need to know whether the compilation is sane (I mean whether everthing works well). atm I use `make distcheck' but it's kind of annoying and time consuming that it always creates the tarball / compiles the system before it actually starts the tes

RE: [Mono-devel-list] Compiling from sources

2005-08-05 Thread Arnhoffer Károly
Hi, Now I have MonoCharge installed I have the Mono sources but make fails: make[4]: Entering directory `/home/karnhoffer/Documents/mono_src/svn/mcs' make PROFILE=basic all make[5]: Entering directory `/home/karnhoffer/Documents/mono_src/svn/mcs' *** The compiler 'mcs' doesn't appear to be us

[Mono-devel-list] Re: ThreadAbortException - Why is it rethrown?

2005-08-05 Thread Vivek, Bharath Varma (IE10)
Thanks for your responses Atsushi & David. I'm still wondering as to why the exception is rethrown and thus propagated up the method call stack (assuming I did not call ResetAbort) even after it is handled by a catch block. I'm not questioning this behavior, just trying to understand why it is s

Re: [Mono-devel-list] [PATCH] Check for assembly attributes

2005-08-05 Thread Carlos Alberto Cortez
Hey Marek, Comments below: > > > >I changed it to CheckAttributeValidity, but I'm not very sure about > >it. Do you have any better idea? > > > > > What about 'CheckInternalsVisibleAttribute' ? > Good. (Note that my idea was to have here some other attributes checks, but, since we have onl

Re: [Mono-devel-list] Edit and Continue

2005-08-05 Thread David Srbecky
> We implement things based on publicly available materials. Ok, I do not insist that the data must be in the Microsoft format. You can create you own mono format which I can read and translate to MS format - windows has API for writing it so it should not be that big problem. The MS format is bin

Re: [Mono-devel-list] [PATCH] Check for assembly attributes

2005-08-05 Thread Marek Safar
Hello Carlos + string [] args = a.GetString ().Trim ().Split (new char [] {','}); a.GetString () can return null. I don't think so. When the emtpy string is passed, it shows no errors. When you don't pass any argument, it will complain about the parameter.