Re: [Mono-dev] Can Mono use system namespace for c++?

2008-11-01 Thread Kornél Pál
zehua wrote:
 I need to use c++ for Mono. When I write c++ in windows, I can use #using
 mscorlib.dll. But mono
 can not recognize the #usnig. I need to use some class comes from namespace
 system, like DateTime, Hashtable and so on. Is there a way to do that? 

I think that you are doing something like compiling C++ code using a C# 
compiler.

The Mono runtime can run compiled C++ assemblies on all supported 
platforms as long as they are fully managed (not native or mixed mode).

But Mono has no C++ compiler and the only C++ compiler supporting 
managed code generation was created by Microsoft (Visual C++).

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


Re: [Mono-dev] MS kills Linq to SQL ! --- Linq, Nhibernate or subsonic ?

2008-11-01 Thread Marek Safar
Hello,
 It had been observed as obvious by not a few people. I am glad to see
 such a direction by MS team. To my eyes it is not *killed* but will
 be just discontinued.
   
That's correct interpretation and it's also same as the feedback I 
gathered. Linq to SQL is now owned and maintained by Entity Framework 
team, and won't be actively developed.

Marek

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


Re: [Mono-dev] Windows/CygWin: Mono doesn't work after compiling

2008-11-01 Thread Robert Jordan
Hi,

MikeTheTall wrote:
 
 I'm having a bit of trouble compiling mono on Windows (using CygWin). 
 The
 weird thing is that the compilation seems to have gone ok, but the
 mono/mcs/gmcs programs do nothing afterwards.

 This usually happens when a dll needed by the executable (most likely
 libglib.dll or something like that) is not in the PATH.
 
 Thanks for the tip!
 
 Is there a way that I can find out what .DLLs it's missing?  

You're missing all dependency dlls installed by Mono's Windows
installer into Mono's bin directory.

Just assure that this directory is listed the PATH environment
variable after your install directory.

Robert

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


[Mono-dev] Contributing Code for ObservableCollection

2008-11-01 Thread Brian O'Keefe
Hello,

I've been following the Mono project for a while, and had some free time, so
I figured I'd use some of that time to contribute.  I've used the
ObservableCollection class frequently
(WindowsBaseSystem.Collections.Specialized.ObservableCollection) and
noticed that it wasn't implemented in Mono.  This seemed like a fairly
simple class to implement, so I thought I'd start there.  I have some code
for ObservableCollection and its backing infrastructure (the
NotifyCollectionChanged* classes) and matching test cases.

What would be the best way to contribute the changes I made?  There are six
modified files and three test case files.

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


Re: [Mono-dev] Windows/CygWin: Mono doesn't work after compiling

2008-11-01 Thread Michael Panitz

Thanks for the tip!
 
I tried adding /cygdrive/c/Programs/Mono-2.0/bin to the end of my path, but it 
didn't seem to help.  When I added it to the beginning of my path, it helped a 
lot, but I think that's because I was using only the pre-compiled binaries :)
 
I noticed that I've got a lot of junk in my PATH, went back  cleaned it up, 
and now have 
just:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/e/Pers/Updates/Mono/CustomBuilt/install/bin:/cygdrive/c/Programs/Mono-2.0/bin
 
mono -V (and mono --versio) still produce no output (at all).
 
(Also, once the build is done, isn't it supposed to produce (or copy from the 
build directories) everything it needs, so that the new Mono build is 
completely self-sufficient?
Also (just to make sure this doesn't get lost on this thread) - are there 
post-build verification (unit) tests that can be run, to verify that my new 
build works?
 
Thanks! --Mike To: mono-devel-list@lists.ximian.com From: [EMAIL PROTECTED] 
Date: Sat, 1 Nov 2008 13:57:25 + Subject: Re: [Mono-dev] Windows/CygWin: 
Mono doesn't work after compiling  Hi,  MikeTheTall wrote:I'm 
having a bit of trouble compiling mono on Windows (using CygWin).   The 
 weird thing is that the compilation seems to have gone ok, but the  
mono/mcs/gmcs programs do nothing afterwards.   This usually happens 
when a dll needed by the executable (most likely  libglib.dll or something 
like that) is not in the PATH.Thanks for the tip!Is there a way 
that I can find out what .DLLs it's missing?   You're missing all dependency 
dlls installed by Mono's Windows installer into Mono's bin directory.  Just 
assure that this directory is listed the PATH environment variable after your 
install directory.  Robert  
___ 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


Re: [Mono-dev] Contributing Code for ObservableCollection

2008-11-01 Thread Alan McGovern
Hey,

Read here: http://www.mono-project.com/Contributing and also here
http://www.mono-project.com/Coding_Guidelines.

Though my word is most definitely *not* the final word in any discussion, I
will say that if the code isn't covered by NUnit tests, it won't be
committed ;) So just ensure that for every method you've implemented, there
are one or more tests for it. From your email, it looks like you've already
done this, which is great!

Also, just to verify, do all the tests pass when run under both the MS
framework and mono?

Thanks.
Alan.

2008/11/1 Brian O'Keefe [EMAIL PROTECTED]

 Hello,

 I've been following the Mono project for a while, and had some free time,
 so I figured I'd use some of that time to contribute.  I've used the
 ObservableCollection class frequently
 (WindowsBaseSystem.Collections.Specialized.ObservableCollection) and
 noticed that it wasn't implemented in Mono.  This seemed like a fairly
 simple class to implement, so I thought I'd start there.  I have some code
 for ObservableCollection and its backing infrastructure (the
 NotifyCollectionChanged* classes) and matching test cases.

 What would be the best way to contribute the changes I made?  There are six
 modified files and three test case files.

 ~Brian

 ___
 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