[Mono-dev] Mono test suite documentation

2011-03-18 Thread Martin Däumler
Hello, I modified Mono for use in soft real-time environments in scope of a research project. Now, I have to create a list of features that work with soft real-time capabilities. I'm currently using Mono's runtime test suite but it is hardly documented. There are documents that describe what a

Re: [Mono-dev] Is there a Visual studio project?

2011-03-18 Thread Levi Bard
I am wondering if anyone has built the source into a visual Studio 2008/10 solution or if there is one for developing mono on windows There are some VS projects in https://github.com/mono/mono/tree/master/msvc From my experience, the runtime solution (mono.sln) Just Works, and the classlibs

Re: [Mono-dev] Embedding Mono

2011-03-18 Thread vinay_rk
Hi, After several tests with Mono Embedding on Mac OSX on returning to Windows, I see that the first issue that I started this thread with is still the same on windows (Things seem to be fine on Mac). The code I have on windows is as follows: MonoDomain *domain; MonoAssembly *assembly;

Re: [Mono-dev] Embedding Mono

2011-03-18 Thread Robert Jordan
On 18.03.2011 11:48, vinay_rk wrote: While mono_jit_init gets a valid looking pointer, the mono_domain_assembly_open returns a null pointer. Is this because of something I did wrong with the mono.lib I' am linking against.. ? I created the Mono.lib using the mono.def file and with the command:

Re: [Mono-dev] [PATCHES] Improve process exit/wait handling

2011-03-18 Thread Rolf Bjarne Kvinge
Hi Rodrigo, Hi Rolf, Reviewing 0004-io-layer-Improve-waiting-on-processes-a-lot.patch: + // Ensure we're not in here in multiple threads at once, nor recursive. + if (InterlockedIncrement (mono_processes_cleaning_up) 1) { + InterlockedDecrement

Re: [Mono-dev] [PATCHES] Improve process exit/wait handling

2011-03-18 Thread Rolf Bjarne Kvinge
Hi, Awesome patches. Comments below. On Thu, 2011-03-17 at 00:26 +0100, Rolf Bjarne Kvinge wrote: [...] 4) Improve waiting on processes a lot     Here are all the juicy bits: I changed process waiting to use     a SIGCHLD handler and automatically wait on all processes.     This fixes #668867.

[Mono-dev] npgsql driver (postgresql) in mono master not working with Nhibernate 3

2011-03-18 Thread Tomasz Kubacki
hi, Who do usually update npgsql driver in mono master ? I found that driver from mono master is not working with new Nhibernate 3. This one is working ok btw: http://pgfoundry.org/frs/download.php/2860/Npgsql2.0.11-bin-mono2.0.zip Cheers Tomasz Kubacki

Re: [Mono-dev] npgsql driver (postgresql) in mono master not working with Nhibernate 3

2011-03-18 Thread Miguel de Icaza
Hello, Who do usually update npgsql driver in mono master ? I found that driver from mono master is not working with new Nhibernate 3. This one is working ok btw: http://pgfoundry.org/frs/download.php/2860/Npgsql2.0.11-bin-mono2.0.zip The problem is that the Npgsql broke binary

Re: [Mono-dev] Patch for exceptions on 64 bit Windows

2011-03-18 Thread Zoltan Varga
Hi, Thanks for the patch. Applied it to HEAD/2.10. Zoltan On Mon, Feb 28, 2011 at 11:06 PM, Mark Sciabica msciab...@itracs.comwrote: Hi All, The attached patch fixes a crash when running a 64 bit build of Mono on windows. I simply modified the code to conform to the calling

Re: [Mono-dev] [PATCH] Replace ENABLE_COREE with a runtime switch.

2011-03-18 Thread Rodrigo Kumpera
Does it break the verifier without mixed mode enabled? If it doesn't looks good to me. On Mon, Mar 7, 2011 at 9:11 PM, Vincent Povirk madewokh...@gmail.comwrote: This patch mostly reverts 666d37829304e85f72969c44e92bc11ca167a272, which put Mono's mixed-mode support in #ifdef ENABLE_COREE,

Re: [Mono-dev] [PATCHES] Improve process exit/wait handling

2011-03-18 Thread Rodrigo Kumpera
On Fri, Mar 18, 2011 at 3:33 PM, Rolf Bjarne Kvinge rolfli...@ya.comwrote: Hi, There is a slight problem now which I just found out: SIGCHLD isn't 100% reliable. If I start 100 threads, each of them spawning a process, I usually get 98-99 signals (unless I run in gdb, in which case I get

Re: [Mono-dev] [PATCH] Replace ENABLE_COREE with a runtime switch.

2011-03-18 Thread Vincent Povirk
On Fri, Mar 18, 2011 at 12:38 PM, Rodrigo Kumpera kump...@gmail.com wrote: Does it break the verifier without mixed mode enabled? If it doesn't looks good to me. That worked in my testing (and failed with mixed mode enabled). ___ Mono-devel-list

[Mono-dev] linux Serial Port

2011-03-18 Thread Mrhyde88
Hi guys im just starting with Mono on linux, and im having problems getting the serial port to work, heres the code im using: ## using System; using Gtk; using System.IO.Ports; public partial class MainWindow : Gtk.Window {

Re: [Mono-dev] SetOracleType error after upgrade

2011-03-18 Thread ChrisB
This issue seems to be a result of the following line (1120) in Parameter.cs: Type valType = value.GetType(); This line appears to be an addition compared to the same file in the version of Mono I was using prior to the upgrade. There is no mention of this in the Change Log that I can see.

Re: [Mono-dev] threadpool win32 breakage, getting worse

2011-03-18 Thread Gonzalo Paniagua Javier
On Tue, 2011-03-15 at 19:15 +0900, Atsushi Eno wrote: Gonzalo, Can you please fix Windows threadpool issue first before it becomes worse than the previous state that we could only revert it to 32b3b31? Now we cannot even revert it to that revision: threadpool.c:2025: error: too few

[Mono-dev] PInvoke Problem on Ubuntu

2011-03-18 Thread erasmus777
I'm trying to test Pinvoke on Ubuntu, but it looks like other people are also having problems with it on the latest Mono build. Here's my IPy code: import clr clr.AddReference('pinvoketest') from pinvoketest import PinvokeTest Invoke.WriteToFile('t') My C# Wrapper: namespace PinvokeTest {

[Mono-dev] Launchctl and Mono-Service2 issue

2011-03-18 Thread srinin
Hi All, I have a simle windows service inherited from ServiceBase class. So in Mac i am able to run the service using Mono-Service2 without any issue.(mono-service2 ) For this process i want to run it as when ever system restarts So i have created a Plist ald placed in LaunchAgent. But i am not

[Mono-dev] mono-service2 issue

2011-03-18 Thread srinin
Hi All, I have created a simple windows service application (inherited from ServiceBase class) . And want to run in MAC OS X using mono-service2. So here is the code class Program { static void Main(string[] args) { Service1 ser = new Service1();

Re: [Mono-dev] Launchctl and Mono-Service2 issue

2011-03-18 Thread Steve Lessard
Have a look at the man pages for launchctl and launchd. In there you will find a few very important details about what is required to enable a daemon to launch at system restart. Here's a short version based on my recollection: A daemon loads at system boot, An agent loads at user login The

Re: [Mono-dev] PInvoke Problem on Ubuntu

2011-03-18 Thread Jonathan Chambers
You didn't post the C code you are p-invoking, but note the char type is 2-bytes in C#. That means if you have a char in the C signature, I believe the code presented here is wrong. Thanks, Jonathan On Thu, Mar 17, 2011 at 8:13 PM, erasmus777 el_ger...@yahoo.com wrote: I'm trying to test

Re: [Mono-dev] linux Serial Port

2011-03-18 Thread Mauricio Henriquez
Hi: try to give user permisions to /dev/ttySx or /dev/ttyUSBx depending on the device that you using... you can do it more permanently with a udev rule, but try first just given permision to the user that is going to run the program... cheers! Mauricio On 03/13/2011 06:31 PM, Mrhyde88

Re: [Mono-dev] MONO MIPS64 Port Source Code is ready for Download

2011-03-18 Thread Damien Diederen
Hello Miguel, Dmitry, Miguel de Icaza mig...@novell.com writes: Dmitry sent me this email for those of you interested in Mono on MIPS 64. This 64 bit port of MIPS is a complete package of the original port. Perhaps it is useful as-is, or it is useful for guys that are looking at revamping