[Mono-dev] Mono 2.4 Windows - SerialPort.BytesToRead NullReferenceException

2009-04-29 Thread Rytis Ilciukas (rick)
I'm trying to run a very simple SerialPort test app (see the code below) on Windows using Mono and i get System.NullReferenceException: Object reference not set to an instance of an obj ect at (wrapper managed-to-native) System.IO.Ports.WinSerialStream:ClearCommError

Re: [Mono-dev] Monoco, couroutines and Mono.

2009-04-29 Thread Tomi Valkeinen
to license it as MIT X11? Sorry it took so long. MIT X11 is ok to me, I've updated the source package at http://www.bat.org/~tomba/monoco-20090429.tar.gz to include MIT X11 license. Tomi ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-dev] Mono 2.4 Windows - SerialPort.BytesToRead NullReferenceException

2009-04-29 Thread Alan McGovern
Hi, Could you attach that testcase to a bug report and add a verbal description of what exactly is wrong at http://bugzilla.novell.com . Also mention the version of windows you're on (which is it?). That's the best way to get the issue fixed. Thanks, Alan. On Wed, Apr 29, 2009 at 7:50 AM, Rytis

[Mono-dev] [PATCH] OS X debugger

2009-04-29 Thread jonas echterhoff
Here is an updated version of my mono debugger patch. This is much more functional then the previously submitted patch, now working properly with multi-threaded apps. Getting the threading to work as expected was a bit difficult, because the way ptrace works (or doesn't work) on OS X is that

[Mono-dev] Patch for FreeBSD 8 (and I think 7.0 too)

2009-04-29 Thread Randall Stewart
Hi: In my playing with AIX I decided to make sure mono 2.4 builds on FreeBSD (where I am more comfortable ;-D) so I went ahead and found only one issue in building with on HEAD... here it is with this patch, mono builds flawlessly on FreeBSD Head.. of course I have not done any testing yet ..

Re: [Mono-dev] [PATCH] Mono port to the MIPS 64-bit

2009-04-29 Thread Ian Dichkovsky
Hello Paolo, Paolo Molaro-2 wrote: On 04/24/09 Ian Dichkovsky wrote: And we have prepared ChangeLogs and added them to https://bugzilla.novell.com/show_bug.cgi?id=497320 ChangeLog.diff ChangeLog_libgc.diff ChangeLog_mono_arch.diff ChangeLog_mono_io-layer.diff ChangeLog_mono_mini.diff

[Mono-dev] Mono - OracleClient ORA-06502: PL/SQL: numeric or value error

2009-04-29 Thread Rytis Ilciukas (rick)
Hello, I'm getting an OracleException when I'm executing stored procudure what looks like this: PROCEDURE Update_Substations (in_subst_id IN NUMBER, in_state_id IN NUMBER, in_last_contr IN NUMBER,

Re: [Mono-dev] Monoco, couroutines and Mono.

2009-04-29 Thread Miguel de Icaza
Hello Tomi, Would you be willing to license it as MIT X11? Sorry it took so long. MIT X11 is ok to me, I've updated the source package at http://www.bat.org/~tomba/monoco-20090429.tar.gz to include MIT X11 license. Thanks for the license update! I have imported this to Mono's SVN now

[Mono-dev] Question about System_ComObject_ReleaseInterfaces in mono/metadata/cominterop.c

2009-04-29 Thread Tom Hindle
Hi, Whilst attempting to make mono tell me when Com objects are used, after they have been released - for example: IComObject i = new CplusplusComObject() IComObject j = i; Marshal.ReleaseComObject(i); j.SomeMethod(); (which incidentally in this situation .Net throws the following exception:

Re: [Mono-dev] [PATCH] Mono port to the MIPS 64-bit

2009-04-29 Thread Mark Mason
Hello, In general, I think the changes look good. They are rather monolithic - I do wish they'd been submitted to the list in a piecemeal fashion as they were developed - they'd be a lot easier to digest that way. I think the odds of some breakage of the o32 port are quite high given what

[Mono-dev] Off topic: Reflection and Licensing question

2009-04-29 Thread Ernesto
Hi. Sorry about this, but I think it's slightly on-topic because it has to do with Reflection and non-GPLd code. I've been googling for information about reflection and licenses like the GPL, that prohibit linking from code with a different license and found nothing. Is reflection considered

Re: [Mono-dev] Off topic: Reflection and Licensing question

2009-04-29 Thread Vladimir Dimitrov
AFAIK GPL permits deriving of GPL work from non-GPL code. Meaning that you should not be able to use it in almost any means if you are not GPL. Also MySQL connector is licensed under GPL but there is a FOSS exception (http://www.mysql.com/about/legal/licensing/foss-exception/) to the license

Re: [Mono-dev] Off topic: Reflection and Licensing question

2009-04-29 Thread Michael B. Trausch
On Wed, 29 Apr 2009 15:52:03 -0300 Ernesto equista...@gmail.com wrote: I've been googling for information about reflection and licenses like the GPL, that prohibit linking from code with a different license and found nothing. Is reflection considered linking? Or is it considered a form of

Re: [Mono-dev] Off topic: Reflection and Licensing question

2009-04-29 Thread Robert Jordan
Ernesto wrote: I'm not trying to circumvent the GPL. Not that I can, either. I just want my app to be able to dinamically load a standard set of libraries, and call a generic set of methods. One of this libraries (MySQL Connector/NET) happens to be GPLd. As long as your application is

Re: [Mono-dev] Off topic: Reflection and Licensing question

2009-04-29 Thread Miguel de Icaza
Hello, The idea of reflection in a system makes difficult to determine where the fine line is. That said, my _personal_ belief is that using reflection does not constitute linking. Here is my justification for that belief: This is an incorrect believe. If you are running on the same

Re: [Mono-dev] Off topic: Reflection and Licensing question

2009-04-29 Thread Michael B. Trausch
On Wed, 29 Apr 2009 17:15:21 -0400 Miguel de Icaza mig...@novell.com wrote: Hello, The idea of reflection in a system makes difficult to determine where the fine line is. That said, my _personal_ belief is that using reflection does not constitute linking. Here is my justification

Re: [Mono-dev] Off topic: Reflection and Licensing question

2009-04-29 Thread Miguel de Icaza
Hello, It would appear that by that argument, I can force any proprietary software to be GPL'd simply by writing a GPL'd module or plugin for it that it opens with dlopen(). That doesn't seem correct to me; if that's the case, nobody would provide plugin interfaces. Certainly a plugin can

Re: [Mono-dev] Off topic: Reflection and Licensing question

2009-04-29 Thread Michael B. Trausch
On Wed, 29 Apr 2009 19:12:41 -0400 Miguel de Icaza mig...@novell.com wrote: Loading GPL code into a proprietary application is not allowed by the GPL.You can do that in the privacy of your home, but you can not redistribute this configuration without infringing the license. I am not sure

Re: [Mono-dev] Off topic: Reflection and Licensing question

2009-04-29 Thread Piotr Zurek
Hey guys, On Thu, Apr 30, 2009 at 16:03, Michael B. Trausch m...@zest.trausch.us wrote: On Wed, 29 Apr 2009 19:12:41 -0400 Miguel de Icaza mig...@novell.com wrote: Loading GPL code into a proprietary application is not allowed by the GPL.    You can do that in the privacy of your home, but

Re: [Mono-dev] Off topic: Reflection and Licensing question

2009-04-29 Thread Miguel de Icaza
Hello, I propose to take this discussion to comp.software.licensing where you can find endless threads about those issues. Quick search of that group for just GPL: http://tinyurl.com/d7pdjq . I was just going to suggest that. I spent years on gnu.misc.discuss, it might be worth for the newer