[Mono-winforms-list] [PATCH] Additional locking in Carbon XplatUI driver

2009-04-30 Thread Dick Porter
Hi All

I've observed NullReferenceExceptions from
System.Windows.Forms.XplatUICarbon.GetMessage() (specifically,
MessageQueue.Dequeue() inside GetMessage was randomly returning nulls)
and tracked it down to the locking around MessageQueue.  This patch
ensures that MessageQueue is locked whenever it is modified, completely
curing the exceptions for me.

Is this OK to check into HEAD?

- Dick

Index: class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===
--- class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog	(revision 133032)
+++ class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2009-04-29  Dick Porter  d...@acm.org
+
+	* XplatUICarbon.cs: Add more locking around MessageQueue
+	manipulations.
+
 2009-04-27  Andrés G. Aragoneses  aaragone...@novell.com
 
 	* ListView.cs: Make OnColumnClick +internal to be used by a11y.
Index: class/Managed.Windows.Forms/System.Windows.Forms/XplatUICarbon.cs
===
--- class/Managed.Windows.Forms/System.Windows.Forms/XplatUICarbon.cs	(revision 133032)
+++ class/Managed.Windows.Forms/System.Windows.Forms/XplatUICarbon.cs	(working copy)
@@ -141,13 +141,15 @@
 
 		internal void FlushQueue () {
 			CheckTimers (DateTime.UtcNow);
-			while (MessageQueue.Count  0) {
-object queueobj = MessageQueue.Dequeue ();
-if (queueobj is GCHandle) {
-	XplatUIDriverSupport.ExecuteClientMessage((GCHandle)queueobj);
-} else {
-	MSG msg = (MSG)queueobj;
-	NativeWindow.WndProc (msg.hwnd, msg.message, msg.wParam, msg.lParam);
+			lock (queuelock) {
+while (MessageQueue.Count  0) {
+	object queueobj = MessageQueue.Dequeue ();
+	if (queueobj is GCHandle) {
+		XplatUIDriverSupport.ExecuteClientMessage((GCHandle)queueobj);
+	} else {
+		MSG msg = (MSG)queueobj;
+		NativeWindow.WndProc (msg.hwnd, msg.message, msg.wParam, msg.lParam);
+	}
 }
 			}
 		}
@@ -420,7 +422,7 @@
 msg.message = Msg.WM_MOUSEHOVER;
 msg.wParam = GetMousewParam (0);
 msg.lParam = (IntPtr)((ushort)Hover.X  16 | (ushort)Hover.X);
-MessageQueue.Enqueue (msg);
+EnqueueMessage (msg);
 			}
 		}
 		#endregion
@@ -736,7 +738,7 @@
 	MSG msg = new MSG ();
 	msg.message = Msg.WM_PAINT;
 	msg.hwnd = hwnd.Handle;
-	MessageQueue.Enqueue (msg);
+	EnqueueMessage (msg);
 	hwnd.expose_pending = true;
 }
 			} else {
@@ -749,7 +751,7 @@
 	msg.wParam = hrgn == IntPtr.Zero ? (IntPtr)1 : hrgn;
 	msg.refobject = rgn;
 	msg.hwnd = hwnd.Handle;
-	MessageQueue.Enqueue (msg);
+	EnqueueMessage (msg);
 	hwnd.nc_expose_pending = true;
 
 }
@@ -1613,7 +1615,7 @@
 			msg.message = message;
 			msg.wParam = wParam;
 			msg.lParam = lParam;
-			MessageQueue.Enqueue (msg);
+			EnqueueMessage (msg);
 			return true;
 		}
 
@@ -1681,7 +1683,9 @@
 		[MonoTODO]
 		internal override void SendAsyncMethod (AsyncMethodData method) {
 			// Fake async
-			MessageQueue.Enqueue (GCHandle.Alloc (method));
+			lock (queuelock) {
+MessageQueue.Enqueue (GCHandle.Alloc (method));
+			}
 		}
 
 		[MonoTODO]


signature.asc
Description: This is a digitally signed message part
___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Re: [Mono-dev] Usage of construct properties in a wrapped GObject library

2009-04-30 Thread Mike Kestner
On Mon, 2009-04-27 at 11:42 -0700, MardyTardi wrote:

 =
 public Map () : base (IntPtr.Zero)
 {
 if (GetType () != typeof (Map)) {
 CreateNativeObject (new string [0], new GLib.Value[0]);
 return;
 }
 Raw = osm_gps_map_new();
 }
 =
 osm_gps_map_new() is the C constructor of my GObject, but what I'd like to
 have is a constructor which accepts a list of properties + values, and pass
 it to g_object_newv(). But I cannot find an equivalent for g_object_newv()
 in C#, that's why I'm stuck.
 
 Any hints?

You may have figured this out already, but the CreateNativeObject call
in that generated call is the equivalent of g_object_newv.  The string[]
is a list of property names.  The GLib.Value[] is their corresponding
values.
-- 
Mike Kestner mkest...@gmail.com

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


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

2009-04-30 Thread Ernesto

Le 30/04/2009 01:28, Piotr Zurek a écrit :

Hey guys,

On Thu, Apr 30, 2009 at 16:03, Michael B. Trauschm...@zest.trausch.us  wrote:
   

On Wed, 29 Apr 2009 19:12:41 -0400
Miguel de Icazamig...@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 what you mean by that.  Linking GPL code into a
proprietary application is certainly not permitted.  If I author a
proprietary application and I link against a library that is GPL, then
I must either retain the application in-house and never distribute it,
or I must distribute it under the GPL when I _do_ distribute it.  Since
the GPL's effects only kick in upon distribution, and not usage, this
makes sense.
 


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 .
   


Yes. I just didn't find anything specifically about reflection and I 
didn't know where exactly reflection fell.


Thanks everyone for your comments.

Regards,
Ernesto

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


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

2009-04-30 Thread Rafael Teixeira
Just trying to make it a bit more clear (Michael and Miguel, from the
outside seems like you both weren't discussing exactly the same subject):

Michael, you can make your reflection-based plugin that accepts any library,
GPL or not, as long as you publish the needed interfaces as non-GPL, or
reuse some standard one (ADO.NET).
You can't just wrap the GPL library to conform to your particular interface,
the library should natively implement your non-GPL interface or the standard
one, or if you do really build a wrapper it has to be made separately
available as a GPL open-source project, even if it is reflection-based, as
it IS LINKING to the GPLed API or it wouldn't be needed.
What you can't do is distribute the GPL library with your non-GPL app.
You should instruct your end-user how to download and install and configure
the GPL library (and your GPL wrapper if you needed to develop one), if he
would like to use it with your app.
The end-user is king in such matters.

Personally, I find MySQL not worth all that effort for turn-key
(all-in-a-box) solutions,  for those situations I use PostgresSQL or SQLite
according to the need to scale.

Regards,

On Thu, Apr 30, 2009 at 1:03 AM, Michael B. Trausch m...@zest.trausch.uswrote:

 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 what you mean by that.  Linking GPL code into a
 proprietary application is certainly not permitted.  If I author a
 proprietary application and I link against a library that is GPL, then
 I must either retain the application in-house and never distribute it,
 or I must distribute it under the GPL when I _do_ distribute it.  Since
 the GPL's effects only kick in upon distribution, and not usage, this
 makes sense.

 Here's a couple of examples to illustrate.

 Example 1:
  Let's say that I have a proprietary application, and we'll call it
  TheApplication.  (No, I am not creative; oh, well.)  TheApplication
  depends on MySQL, but the driver libraries for MySQL are GPL'd.
  Having written the application, I don't feel like keeping it in
  development for several more days/weeks/months/whatever just to write
  an adapter to the database to replace the GPL'd library.  So,
  instead, I write a shim and GPL this shim.  The shim exposes the
  MySQL client library's API via a named pipe and I just connect to the
  named pipe and call the client library's functions by asking the shim
  to do so for me.

 Example 2:
  Let's say that I have the same proprietary application,
  TheApplication.  However, I say, I will not write the database
  functionality.  I will leave this up to you to provide.  Here is the
  interface that I expect to be able to use, you give me the file, I
  will load it, and I will use its interfaces.  So, John Doe decides
  that he needs to use this application with MySQL, and creates a GPL'd
  module for this application program which enables the proprietary
  software to work with MySQL.  He then distributes his work under the
  GPL, because he likes freedom.  He doesn't have the time to write
  a clone of TheApplication, so this is the best he can do.

 In example 1, I as the application developer have intentionally and
 deviously attempted to get out of my responsibility to release my code
 under the GPL by creating a wrapper, to separate the MySQL client
 library from my program by intentionally placing the library in a
 different address space.  This is wrong.  It goes exactly against what
 the GPL tries to do with regards to liberating software.  Basically, I
 have said, Nah-nah-nah-boo-boo, stick your head in doo-doo, and taken
 free software and used it improperly.  This isn't cool.

 In example 2, however, I decide instead that it's not a good idea for
 me to try to support eleventy-one databases directly; I cannot
 anticipate my end-user's needs.  So instead, I say, Here is the
 application software.  If your needs are simple, you can use SQLite,
 which I have written a module for, and is in the public domain.  If you
 need to support another database in your environment, that's up to
 you.  Here are the interfaces that I will use in a module.  John Doe
 does just that.  It doesn't _matter_ what license someone writes a
 module for, that module isn't a derived work, and it's not linked into
 my program.  It's distributed by someone else as a completely separate
 work.  John Doe did just that, and he should be commended for choosing
 the GPL for the module that he wrote.  This is just fine.  It's less
 than ideal (at least in my opinion, as I believe that all software
 should be free software in the manner in which the FSF has defined it),
 but TheApplication doesn't try to do anything nasty or uncool, and John
 Doe has provided a very useful and free software 

Re: [Mono-dev] [PATCH] Bug in Mono.Posix handling '+::::::' entry in /etc/passwd

2009-04-30 Thread Ian Dichkovsky

Hello,


Robert Jordan wrote:
 
 Jonathan Pryor wrote:
 Perhaps I'm mis-reading that, but it implies to me that if NIS is
 configured properly getpwent(3) should actually return NIS entries, not
 return the '+:...' record from /etc/passwd directly.  (Does anybody have
 NIS setup to see what getpwent(3) actually does?)
 
 On a well configured Linux NIS client, those entries are invisible
 to getpwent. My mono machines are all NIS clients and I've never
 seen this unit test failing.
 
 In any event, I believe it's a Bad Idea (TM) for
 UnixUserInfo.GetLocalUsers() to start skipping entries that getpwent(3)
 is returning.  If a user should be skipped, then the code calling
 UnixUserInfo.GetLocalUsers() should skip it, otherwise we're silently
 dropping data in a difficult-to-debug manner.
 
 I agree.
 
 Robert
 

Thank you for the advices.
We have discussed NIS configuration with our SA gang. They changed line in
/etc/nsswitch.conf from
passwd:  files nis
to
passwd:  compat

In this case test NonReentrantSyscalls passed successfully.

Beside that we tried to return to passwd:  files nis and play a bit
with functions getpwent() and getpwnam().
While getpwent() returns user + at the same time getpwnam(+) returns
NULL-pointer and errno is set to 0.
Man says, that this is a correct behavior of getpwnam() in case of missing
user.
So, do we accept this behavior of getpwnam(+) and should fix the sources
of test or leave it with configuration workaround?

Regards,
Ian
-- 
View this message in context: 
http://www.nabble.com/-PATCH--Bug-in-Mono.Posix-handling-%27%2B%3A%3A%3A%3A%3A%3A%27-entry-in--etc-passwd-tp23254974p23317577.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Debugging native applications

2009-04-30 Thread jonas echterhoff
Now that I have the mono debugger on OS X in a state, where we can  
start trying to use it for something, I'm wondering how we would go  
along with integrating it with Unity. Apparently there should be some  
support in mdb for debugging native applications. So far all I've been  
able to do is run a native application with the debugger attached,  
without setting any breakpoints or anything. So, I'm wondering, what  
is the status of this right now?

And then, what changes would be needed to fully debug mono code  
executed from native applications using mdb? I guess that the mono dll  
runtime would have to be modified to add the debugger hooks normally  
enabled using the --inside-mdb option to the mono executable. Or is  
that already possible?

What else needs to be done?

jonas
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] [PATCH] Bug in Mono.Posix handling '+::::::' entry in /etc/passwd

2009-04-30 Thread Jonathan Pryor
On Thu, 2009-04-30 at 07:45 -0700, Ian Dichkovsky wrote:
 Thank you for the advices.
 We have discussed NIS configuration with our SA gang. They changed line in
 /etc/nsswitch.conf from
 passwd:  files nis
 to
 passwd:  compat
 
 In this case test NonReentrantSyscalls passed successfully.
 
 Beside that we tried to return to passwd:  files nis and play a bit
 with functions getpwent() and getpwnam().
 While getpwent() returns user + at the same time getpwnam(+) returns
 NULL-pointer and errno is set to 0.
 Man says, that this is a correct behavior of getpwnam() in case of missing
 user.
 So, do we accept this behavior of getpwnam(+) and should fix the sources
 of test or leave it with configuration workaround?

Leave it with the configuration workaround, as it's not a workaround,
it's fixing an invalid (or at least unsupported) configuration.

getpwnam(+) is failing because there is no such user +, just as
getpwnam(-) and getpwnam(ThisUserDoesNotExist) will fail... as those
users do not exist.  This is expected, documented, behavior.

getpwnam(3) isn't the problem.  getpwent(3) is, arguably.

getpwent(3) really shouldn't be returning a + user under files nis
because that's really not valid, so it's arguably a getpwent(3) bug.
(For comparison, an /etc/passwd entry of invalid:: isn't returned
by getpwent(3), and under compat settings an /etc/passwd entry of
+: causes getpwent(3) to immediately return NULL.)

I don't want to get into the habit of fixing underlying libraries from
managed code, as today's fix will be tomorrow's bug (when the underlying
libraries is fixed and/or extended so that the now bad behavior is
instead a feature).

 - Jon


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Random notes on Mono-2.4 runtime

2009-04-30 Thread Jambunathan K
I have been collecting some notes on the mono-2.4 runtime here.

http://monoruntime.wordpress.com/

These are random developer notes. As I write now there are 3 posts and 2
deal with JIT trampolines. Time and spirit willing I may post couple
more.

I am sending this information to the list so that the above links gets
archived.

ps: I am not subscribed to mono-devel-list. My subscription is only
make shift to get this post through.

Jambunathan K.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Random notes on Mono-2.4 runtime

2009-04-30 Thread Chris Plasun
Hi,

Jambunathan K wrote:
 I have been collecting some notes on the mono-2.4 runtime here.

I was hoping for something like this.

BTW Do you have any notes on cross compiling Mono? =)

Thank you.

Chris Plasun
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Random notes on Mono-2.4 runtime

2009-04-30 Thread Zoltan Varga
Hi,

  Those notes look good. There is already some documentation for these
things at:
http://www.mono-project.com/Mono:Runtime:Documentation

You might want to add to that.

 Zoltan

On Thu, Apr 30, 2009 at 7:27 PM, Jambunathan K kjambunathan.de...@gmail.com
 wrote:

 I have been collecting some notes on the mono-2.4 runtime here.

 http://monoruntime.wordpress.com/

 These are random developer notes. As I write now there are 3 posts and 2

 deal with JIT trampolines. Time and spirit willing I may post couple
 more.

 I am sending this information to the list so that the above links gets
 archived.

 ps: I am not subscribed to mono-devel-list. My subscription is only

 make shift to get this post through.

 Jambunathan K.


 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Contract Development Gig: Olive Branch / WCF

2009-04-30 Thread Brian Seklecki
-- Resend due to SF.net Error --

All:

We're interested in sponsoring ongoing community development of the
Olive Branch. Specifically completion of the WCF and SSL Certificate
base authentication support, but potentially many other facilities.

If yourself or your firm are interested, please shoot me an e-mail
off-list (CC:), and we can discuss.

  ~BAS






This mail was sent via Mail-SeCure System.


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Ug

2009-04-30 Thread Jonathan Pryor
mono-devel-list context: Scott found a bug in sqlmetal today, in that it
wouldn't connect to a MySQL database.  The problem was that
sqlmetal.exe.config is used to specify which connection type to use for
a given /provider option, and the MySQL entry was referencing an invalid
assembly.

The fix was easy: use a valid type name.  In this case, use ByteFX.Data.

On Thu, 2009-04-30 at 19:04 -0400, Scott Peterson wrote:
 OK, ByteFX.Data is so old, it doesn't work anymore. It generates
 invalid SQL. So we're back to MySql.Data.

So what's the solution here?

1. Stick with using ByteFX.Data.
   Pro: It actually works with a default Mono install.
   Con: It apparently doesn't work.

2. Use MySql.Data types.
   Pro: Actually works.
   Con: Doesn't work with a default Mono install, as the needed assembly
isn't present -- error messages on a default Mono install.

3. Remove the MySQL entry from sqlmetal.exe.config.
   Pro: Since the prior two don't actually work, at least we're being 
truthful.
   Con: No MySQL support. :-(

(3) Might not be _terribly_ bad; it might be possible to specify the
DbLinqConnectionType in the connection string, which would allow things
to Just Work without using /provider parameter.  (If /provider is
required, then we should make /provider optional so that /conn can be
used as a fallback.)

So we have 3 bad solutions here; I'm not sure which is worst.

Thoughts?

 - Jon


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-list] How apply the translation to a project

2009-04-30 Thread giancarlogiesa

Hello!

I see that with MonoDevelop is possible to add a translation project to
you your project,
i translated all words in that, but when i executing the exe on windows ( or
on linux ), there is no trace of translation

how apply it?

thanks!
-- 
View this message in context: 
http://www.nabble.com/How-apply-the-translation-to-a-project-tp23314897p23314897.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gdiplus.dll not found

2009-04-30 Thread Andrus
 mono-test-install requires bash. Is it installed on your system?

I have limited account in this system. Tried

 bash
bash: Command not found.

 /var/ports-src/shells/bash
/var/ports-src/shells/bash: Permission denied.

How to test installation in my limited user account ?

Andrus.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Not all subscribers to event are being called...

2009-04-30 Thread Chris Howie
On Wed, Apr 29, 2009 at 9:26 PM, Ryan Kirkpatrick
ryan.kirkpatr...@inovonics.com wrote:
 I can't provide code as it is proprietary, and my attempts to create a
 simple test case so far have failed.

Take your original code and start removing pieces of code until the
weird behavior stops.  Then you've found the code that's causing the
problem.  If you eventually get it down to a simple test case and it
still happens then submit that in a bug report.  If you can't submit
even a very stripped version of your codebase then it will be
difficult to debug the problem.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] cannot find metadata file

2009-04-30 Thread Danny Waite

Hi All,
 
I've been through various mono versions over time and have seen this error 
throughout and it really has been beaten!  It's an ASP.NET web app, quite a 
simple one.  It works well for a while until we get the following error.
 
If we kill the mod-mono-server2.exe process or restart apache, it stops.
 
Could anyone shed any light onto it before I pull my hair out! :-)
 
Best,
Danny
 

Server Error in '/' Application


Compilation Error
Description: Error compiling a resource required to service this request. 
Review your source file and modify it to fix this error. 
Compiler Error Message: CS0006: cannot find metadata file 
`/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'/manage/dynamic-interfaces.aspx

Show Detailed Compiler Output:


gmcs /target:library /debug+ /optimize- /warn:4 
/out:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1.dll 
/r:/usr/local/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll 
/r:/usr/local/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
 
/r:/usr/local/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
 
/r:/usr/local/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
 
/r:/usr/local/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
 
/r:/usr/local/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
 
/r:/usr/local/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
 
/r:/usr/local/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
 
/r:/usr/local/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
 
/r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/a41b7686/305f42ab_9444342d_0001/Mono.Da
 ta.SqliteClient.dll 
/r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/0c44534b/98006766_9444342d_0001/Mono.Data.dll
 
/r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/fa8669ae/6ec25d83_9444342d_0001/Mono.Posix.dll
 
/r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/3c856a06/a8c15e2b_9444342d_0001/Xrio.Enterprise.DataTypes.dll
 
/r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/7dcf53f1/e98b67dc_9444342d_0001/Xrio.Standalone.Configuration.dll
 
/r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/c09555f0/54d161dd_9444342d_0001/Xrio.Standalone.Service.dll
 /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll 
/r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.dll  /nowarn:0169  -- 
/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1_0.cs error CS0006: cannot 
find metadata file 
`/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'error CS0006: cannot 
find metadata file `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.
 dll'

Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 
2.0.50727.1433
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] cannot find metadata file

2009-04-30 Thread Pedro Santos
I also experienced that behavior. What we now do is precompile
everything. That way our websites never get that error when mono tries
to compile them. :-)

On Thu, Apr 30, 2009 at 4:21 PM, Danny Waite dannywai...@hotmail.com wrote:

 Hi All,

 I've been through various mono versions over time and have seen this error 
 throughout and it really has been beaten!  It's an ASP.NET web app, quite a 
 simple one.  It works well for a while until we get the following error.

 If we kill the mod-mono-server2.exe process or restart apache, it stops.

 Could anyone shed any light onto it before I pull my hair out! :-)

 Best,
 Danny


 Server Error in '/' Application


 Compilation Error
 Description: Error compiling a resource required to service this request. 
 Review your source file and modify it to fix this error.
 Compiler Error Message: CS0006: cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'/manage/dynamic-interfaces.aspx

 Show Detailed Compiler Output:


 gmcs /target:library /debug+ /optimize- /warn:4 
 /out:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1.dll 
 /r:/usr/local/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll 
 /r:/usr/local/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
  
 /r:/usr/local/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
  
 /r:/usr/local/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
  
 /r:/usr/local/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
  
 /r:/usr/local/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
  
 /r:/usr/local/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
  
 /r:/usr/local/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
  
 /r:/usr/local/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/a41b7686/305f42ab_9444342d_0001/Mono.Da
  ta.SqliteClient.dll 
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/0c44534b/98006766_9444342d_0001/Mono.Data.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/fa8669ae/6ec25d83_9444342d_0001/Mono.Posix.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/3c856a06/a8c15e2b_9444342d_0001/Xrio.Enterprise.DataTypes.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/7dcf53f1/e98b67dc_9444342d_0001/Xrio.Standalone.Configuration.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/c09555f0/54d161dd_9444342d_0001/Xrio.Standalone.Service.dll
  /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll 
 /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.dll  /nowarn:0169  -- 
 /tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1_0.cs error CS0006: 
 cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'error CS0006: cannot 
 find metadata file `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.
  dll'

 Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 
 2.0.50727.1433
 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list




-- 
Pedro Santos
Home - http://psantos.zi-yu.com
Work - http://www.pdmfc.com
The future - http://www.orionsbelt.eu
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] cannot find metadata file

2009-04-30 Thread Danny Waite

Interesting!  Thanks Pedro.  What do you mean by precompile?  I'm using the 
publish function in Visual Studio (gulp) I saw that there is better support for 
that in 2.4 however maybe thats a bad way to do things.


 Date: Thu, 30 Apr 2009 16:33:03 +0100
 Subject: Re: [Mono-list] cannot find metadata file
 From: donbonifa...@gmail.com
 To: dannywai...@hotmail.com
 CC: mono-list@lists.ximian.com

 I also experienced that behavior. What we now do is precompile
 everything. That way our websites never get that error when mono tries
 to compile them. :-)

 On Thu, Apr 30, 2009 at 4:21 PM, Danny Waite wrote:

 Hi All,

 I've been through various mono versions over time and have seen this error 
 throughout and it really has been beaten! It's an ASP.NET web app, quite a 
 simple one. It works well for a while until we get the following error.

 If we kill the mod-mono-server2.exe process or restart apache, it stops.

 Could anyone shed any light onto it before I pull my hair out! :-)

 Best,
 Danny


 Server Error in '/' Application


 Compilation Error
 Description: Error compiling a resource required to service this request. 
 Review your source file and modify it to fix this error.
 Compiler Error Message: CS0006: cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'/manage/dynamic-interfaces.aspx

 Show Detailed Compiler Output:


 gmcs /target:library /debug+ /optimize- /warn:4 
 /out:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1.dll 
 /r:/usr/local/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll 
 /r:/usr/local/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
  
 /r:/usr/local/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
  
 /r:/usr/local/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
  
 /r:/usr/local/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
  
 /r:/usr/local/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
  
 /r:/usr/local/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
  
 /r:/usr/local/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
  
 /r:/usr/local/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/a41b7686/305f42ab_9444342d_0001/Mono
 .Da
 ta.SqliteClient.dll 
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/0c44534b/98006766_9444342d_0001/Mono.Data.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/fa8669ae/6ec25d83_9444342d_0001/Mono.Posix.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/3c856a06/a8c15e2b_9444342d_0001/Xrio.Enterprise.DataTypes.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/7dcf53f1/e98b67dc_9444342d_0001/Xrio.Standalone.Configuration.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/c09555f0/54d161dd_9444342d_0001/Xrio.Standalone.Service.dll
  /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll 
 /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.dll /nowarn:0169 -- 
 /tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1_0.cs error CS0006: 
 cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'error CS0006: 
 cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.
 dll'

 Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 
 2.0.50727.1433
 ___
 Mono-list maillist - Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list




 --
 Pedro Santos
 Home - http://psantos.zi-yu.com
 Work - http://www.pdmfc.com
 The future - http://www.orionsbelt.eu
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] cannot find metadata file

2009-04-30 Thread Pedro Santos
 Interesting!  Thanks Pedro.  What do you mean by precompile?

I mean this:
http://gonzalo.name/blog/archive/archive-2009-Feb.html

Our deploy process sends everything to a Web folder and then we call
(using nant);

exec failonerror=false workingdir=.

basedir=H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
program=aspnet_compiler
commandline=-nologo -f -c -fixednames -p 
Deploy/Web -v /
Deploy/WebPrecompiled/ /

This creates a WebPrecompiled folder with everything precompiled. The
first access is faster because mono doesn't need to compile
aspx/master/etc.

Hope this helps,
BR

On Thu, Apr 30, 2009 at 4:49 PM, Danny Waite dannywai...@hotmail.com wrote:

 Interesting!  Thanks Pedro.  What do you mean by precompile?  I'm using the 
 publish function in Visual Studio (gulp) I saw that there is better support 
 for that in 2.4 however maybe thats a bad way to do things.

 
 Date: Thu, 30 Apr 2009 16:33:03 +0100
 Subject: Re: [Mono-list] cannot find metadata file
 From: donbonifa...@gmail.com
 To: dannywai...@hotmail.com
 CC: mono-list@lists.ximian.com

 I also experienced that behavior. What we now do is precompile
 everything. That way our websites never get that error when mono tries
 to compile them. :-)

 On Thu, Apr 30, 2009 at 4:21 PM, Danny Waite wrote:

 Hi All,

 I've been through various mono versions over time and have seen this error 
 throughout and it really has been beaten! It's an ASP.NET web app, quite a 
 simple one. It works well for a while until we get the following error.

 If we kill the mod-mono-server2.exe process or restart apache, it stops.

 Could anyone shed any light onto it before I pull my hair out! :-)

 Best,
 Danny


 Server Error in '/' Application


 Compilation Error
 Description: Error compiling a resource required to service this request. 
 Review your source file and modify it to fix this error.
 Compiler Error Message: CS0006: cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'/manage/dynamic-interfaces.aspx

 Show Detailed Compiler Output:


 gmcs /target:library /debug+ /optimize- /warn:4 
 /out:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1.dll 
 /r:/usr/local/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll 
 /r:/usr/local/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
  
 /r:/usr/local/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
  
 /r:/usr/local/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
  
 /r:/usr/local/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
  
 /r:/usr/local/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
  
 /r:/usr/local/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
  
 /r:/usr/local/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
  
 /r:/usr/local/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/a41b7686/305f42ab_9444342d_0001/Mono.Da
 ta.SqliteClient.dll 
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/0c44534b/98006766_9444342d_0001/Mono.Data.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/fa8669ae/6ec25d83_9444342d_0001/Mono.Posix.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/3c856a06/a8c15e2b_9444342d_0001/Xrio.Enterprise.DataTypes.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/7dcf53f1/e98b67dc_9444342d_0001/Xrio.Standalone.Configuration.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/c09555f0/54d161dd_9444342d_0001/Xrio.Standalone.Service.dll
  /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll 
 /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.dll /nowarn:0169 -- 
 /tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1_0.cs error CS0006: 
 cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'error CS0006: 
 cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.
 dll'

 Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 
 2.0.50727.1433
 ___
 Mono-list maillist - Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list




 --
 Pedro Santos
 Home - http://psantos.zi-yu.com
 Work - http://www.pdmfc.com
 The future - http://www.orionsbelt.eu



-- 
Pedro Santos
Home - http://psantos.zi-yu.com
Work - http://www.pdmfc.com
The future - http://www.orionsbelt.eu
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] cannot find metadata file

2009-04-30 Thread Danny Waite

Fantastic, thanks Pedro, I'll give that a try!
 
Any other considerations or tips you can add, sounds like you've got things 
working really well for you.
 
Regards,
Danny


 Date: Thu, 30 Apr 2009 16:57:47 +0100
 Subject: Re: [Mono-list] cannot find metadata file
 From: donbonifa...@gmail.com
 To: dannywai...@hotmail.com
 CC: mono-list@lists.ximian.com

 Interesting! Thanks Pedro. What do you mean by precompile?

 I mean this:
 http://gonzalo.name/blog/archive/archive-2009-Feb.html

 Our deploy process sends everything to a Web folder and then we call
 (using nant);

 basedir=H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
 program=aspnet_compiler
 commandline=-nologo -f -c -fixednames -p Deploy/Web -v /
 Deploy/WebPrecompiled/ /

 This creates a WebPrecompiled folder with everything precompiled. The
 first access is faster because mono doesn't need to compile
 aspx/master/etc.

 Hope this helps,
 BR

 On Thu, Apr 30, 2009 at 4:49 PM, Danny Waite wrote:

 Interesting! Thanks Pedro. What do you mean by precompile? I'm using the 
 publish function in Visual Studio (gulp) I saw that there is better support 
 for that in 2.4 however maybe thats a bad way to do things.

 
 Date: Thu, 30 Apr 2009 16:33:03 +0100
 Subject: Re: [Mono-list] cannot find metadata file
 From: donbonifa...@gmail.com
 To: dannywai...@hotmail.com
 CC: mono-list@lists.ximian.com

 I also experienced that behavior. What we now do is precompile
 everything. That way our websites never get that error when mono tries
 to compile them. :-)

 On Thu, Apr 30, 2009 at 4:21 PM, Danny Waite wrote:

 Hi All,

 I've been through various mono versions over time and have seen this error 
 throughout and it really has been beaten! It's an ASP.NET web app, quite a 
 simple one. It works well for a while until we get the following error.

 If we kill the mod-mono-server2.exe process or restart apache, it stops.

 Could anyone shed any light onto it before I pull my hair out! :-)

 Best,
 Danny


 Server Error in '/' Application


 Compilation Error
 Description: Error compiling a resource required to service this request. 
 Review your source file and modify it to fix this error.
 Compiler Error Message: CS0006: cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'/manage/dynamic-interfaces.aspx

 Show Detailed Compiler Output:


 gmcs /target:library /debug+ /optimize- /warn:4 
 /out:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1.dll 
 /r:/usr/local/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll 
 /r:/usr/local/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
  
 /r:/usr/local/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
  
 /r:/usr/local/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
  
 /r:/usr/local/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
  
 /r:/usr/local/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
  
 /r:/usr/local/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
  
 /r:/usr/local/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
  
 /r:/usr/local/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/a41b7686/305f42ab_9444342d_0001/Mo
 no.Da
 ta.SqliteClient.dll 
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/0c44534b/98006766_9444342d_0001/Mono.Data.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/fa8669ae/6ec25d83_9444342d_0001/Mono.Posix.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/3c856a06/a8c15e2b_9444342d_0001/Xrio.Enterprise.DataTypes.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/7dcf53f1/e98b67dc_9444342d_0001/Xrio.Standalone.Configuration.dll
  
 /r:/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/c09555f0/54d161dd_9444342d_0001/Xrio.Standalone.Service.dll
  /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll 
 /r:/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.dll /nowarn:0169 
 -- /tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1_0.cs error 
 CS0006: cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'error CS0006: 
 cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a57
 1.
 dll'

 Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 
 2.0.50727.1433
 ___
 Mono-list maillist - Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list




 --
 Pedro Santos
 Home - http://psantos.zi-yu.com
 Work - http://www.pdmfc.com
 The future - http://www.orionsbelt.eu



 --
 Pedro Santos
 Home - http://psantos.zi-yu.com
 Work - http://www.pdmfc.com
 The future - http://www.orionsbelt.eu
___
Mono-list 

Re: [Mono-list] How apply the translation to a project

2009-04-30 Thread Michael Hutchinson
On Thu, Apr 30, 2009 at 8:02 AM, giancarlogiesa
giancarlogi...@gmail.com wrote:

 I see that with MonoDevelop is possible to add a translation project to
 you your project,
 i translated all words in that, but when i executing the exe on windows ( or
 on linux ), there is no trace of translation

 how apply it?

Your application must initialise the Gettext catalog with the location
to the compiled .mo files.

http://mono-project.com/I18N_with_Mono.Unix

(MonoDevelop automatically perform many of the steps in that guide,
such as extracting and compiling the translatable strings)

-- 
Michael Hutchinson
http://mjhutchinson.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Error building mono for ppc64

2009-04-30 Thread Prath

Hello,

I am getting some errors related to mcs while building mono on a ppc64 arch. 
I have attached the log file.

Please let me know if I am missing something..

Thanks..

http://www.nabble.com/file/p23296109/error_log_ppc64_mono.txt
error_log_ppc64_mono.txt 
-- 
View this message in context: 
http://www.nabble.com/Error-building-mono-for-ppc64-tp23296109p23296109.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] which .NET version is supported?

2009-04-30 Thread slessard

I've looked through the Mono web pages and searched this forum but I've never
been able to find an answer for my simple question.  

Mono 2.4 is compatible with which version of .NET?  Is it .NET 2.0, .NET 3.0
or .NET 3.5?
-- 
View this message in context: 
http://www.nabble.com/which-.NET-version-is-supported--tp23301694p23301694.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gdiplus.dll not found

2009-04-30 Thread Robert Jordan
Andrus wrote:
 mono-test-install requires bash. Is it installed on your system?
 
 I have limited account in this system. Tried
 
 bash
 bash: Command not found.
 
 /var/ports-src/shells/bash
 /var/ports-src/shells/bash: Permission denied.

You were trying to execute a directory.

 How to test installation in my limited user account ?

Try to run the script with /bin/sh... or ask whomever has
limited your account to install bash and/or mono properly.

Robert

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] which .NET version is supported?

2009-04-30 Thread Jonathan Pryor
On Wed, 2009-04-29 at 13:04 -0700, slessard wrote:
 Mono 2.4 is compatible with which version of .NET?  Is it .NET 2.0, .NET 3.0
 or .NET 3.5?

Yes.

Mono supports most of .NET 1.1 and 2.0, but some things are missing (and
likely always will be, such as System.EnterpriseServices, the COM+
wrapper).  ~Everything of consequence is supported (generics, types in
mscorlib.dll/System.dll/etc., etc.).

.NET 3.0 is mostly unimplemented, but portions are being worked on such
as Windows Communication Foundation (WCF), WindowsBase.dll, etc.  Don't
expect any WPF or WF support anytime soon (if ever).

.NET 3.5 is mostly implemented, permitting full use of LINQ, Linq to
XML, Linq to SQL, C# 3.0, and all the coolness that implies.

 - Jon


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono Winforms rendered to memory buffer

2009-04-30 Thread Miguel de Icaza
Hello,

 Is there a way to use Mono/Winforms in a way that will render everything to
 a memory buffer? I'm sure it's possible since we have the source code, but
 anything that will help steer me in the right direction to get started with
 this would be mucho appreciated.

You would likely want to implement a backend for Windows.Forms that
renders into an image and where you could hook up the events from your
game into the actual UI.

See the XplatUI.cs file.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Remoting Puzzle

2009-04-30 Thread Charlie Poole
Hi All,

NUnit has a feature where it can run tests in a separate
process, possibly using a different CLR from the originating
process - the one running the Gui for example.

On Windows, when the Gui is running under .NET, I can
launch a mono process to load tests under mono and even 
see the loaded tree of tests in the Gui window.

However, when I try to run the tests, no progress 
notifications ever arrive at the Gui, so it appears
that the tests are not run.

I have ascertained that the tests are in fact run, but
that the very first progress call simply hangs without
returning. The call is to a method on the EventListener
interface: RunStarted(string, int). The EventListener
is passed in when the Gui asks for the test to run.

This works fine when both processes are running .NET
or Mono, but not when a Gui under .NET has launched
a Mono process.

Does this problem ring a bell with anyone?

Charlie



___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] cannot find metadata file

2009-04-30 Thread Gonzalo Paniagua Javier
On Thu, 2009-04-30 at 18:03 +0100, Danny Waite wrote:
 Fantastic, thanks Pedro, I'll give that a try!
  
 Any other considerations or tips you can add, sounds like you've got things 
 working really well for you.

I'm glad that precompilation works fine for you.
Still, it would be nice if you could give us a way of reproducing that
problem you're seeing so that we can fix it.

Thanks.

-Gonzalo


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Remoting Puzzle

2009-04-30 Thread Danny
Not sure if this helps or not, but I've seen cross-platform remoting 
issues caused by serialization incompatibility - private member names 
differ across implementations so SerializationInfo contains different 
keys.  Could it be that a SerializationException is getting 'eaten' due 
to multi-threading or similar situation?

Charlie Poole wrote:
 Hi All,
 
 NUnit has a feature where it can run tests in a separate
 process, possibly using a different CLR from the originating
 process - the one running the Gui for example.
 
 On Windows, when the Gui is running under .NET, I can
 launch a mono process to load tests under mono and even 
 see the loaded tree of tests in the Gui window.
 
 However, when I try to run the tests, no progress 
 notifications ever arrive at the Gui, so it appears
 that the tests are not run.
 
 I have ascertained that the tests are in fact run, but
 that the very first progress call simply hangs without
 returning. The call is to a method on the EventListener
 interface: RunStarted(string, int). The EventListener
 is passed in when the Gui asks for the test to run.
 
 This works fine when both processes are running .NET
 or Mono, but not when a Gui under .NET has launched
 a Mono process.
 
 Does this problem ring a bell with anyone?
 
 Charlie
 
 
 
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list