Re: [Mono-winforms-list] [Gtk-sharp-list] Gtk# or Mono Winforms for Linux-only project

2008-11-01 Thread Sandy Armstrong
Tynar wrote:
 It depends on what distros are you going to port. I mean mono with
 winforms works perfect on SuSE but on other Unix like distros I can't
 say that, because libgdiplus is built with many dependencies like
 cairo, pango.

The stack is usually pretty dependable on major distros besides suse, too.

 On GTK# can be the great solution for your GUI
 applications. I see many softwares running on GTK on many cross
 platforms, i.e. firefox.

Firefox uses its own UI toolkit, XUL, which only uses a GTK+ backend
when running on Linux.  It does not use GTK+ on other platforms.

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


Re: [Mono-winforms-list] [Gtk-sharp-list] Gtk# or Mono Winforms for Linux-only project

2008-11-01 Thread Sebastien Pouliot
On Thu, 2008-10-30 at 03:50 -0700, Tynar wrote:
 It depends on what distros are you going to port. I mean mono with winforms
 works perfect on SuSE but on other Unix like distros I can't say that,
 because libgdiplus is built with many dependencies like cairo, pango.

Your wrong. libgdiplus does has no dependency on cairo since it bundle
its own copy and none on pango*. 

* don't confuse the UNSUPPORTED _options_ in libgdiplus about
using the system cairo and pango as dependencies.

Other dependencies are optional (for the image codecs: PNG, JPEG, GIF,
TIFF and EXIF) but without them a lot of winforms apps won't work.

  On
 GTK# can be the great solution for your GUI applications. I see many
 softwares running on GTK on many cross platforms, i.e. firefox.

In this I agree. If you don't target Windows you'll get nicer
results (and a nice UI designer) using Gtk#.

Sebastien

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


Re: [Mono-winforms-list] MWF solaris

2008-11-01 Thread Sebastien Pouliot
On Thu, 2008-10-30 at 04:09 -0700, Tynar wrote:
 Not sure if I am replying very late. Anyway, I guess you have Sparc Solarix
 box as I have it too. I have installed mono 2.0 and libgdiplus 112693,

Don't mix and match different mono and libgdiplus versions. When you do
so you get a unique combination that no one else use and, probably
unique (as unreproducible) bugs.

  and I
 have updated my Gtk, Pango, Glib, Cairo, Fontconfig, ImageMagick 

all of the above seems very unlikely to require an update.

 as well as
 the libs for jpg, tiff, png etc. My test results for MoMA.exe were not bad,
 except filenames are not seen on OpenFile Dialog. But my old test for mono
 1.2.4_4 which are stored on mono-project are running fine. So there is an
 issue on updating cairo or pango. The best way seems to make a list which
 libgdiplus uses and update all of them.
 
 configure settings were --with-cairo=system --with-pango (don't remember the
 correct one)

Like I said don't do this, on any system.

--with-cairo=system is likely to work, but mostly untested (including
Solaris)

--with-text=pango is experimental and NOT complete. If it works you'll
get a few corner case that render better - but a lot of more common ones
are unimplemented. Also it's performance is much slower than the
cairo-based text being used.

Both options are UNSUPPORTED (see libgdiplus README)

Sebastien

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


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


[Mono-list] Executing Solution

2008-11-01 Thread sojan

I Succeesfully builded the solution
When trying to run the solution Getting the message

Cannot execute Server1. Executable not found:
/root/sojan/Server1/Server1/bin/Debug/Server1.

Details

Exception occurred: Executable not found:
/root/sojan/Server1/Server1/bin/Debug/Server1

System.IO.FileNotFoundException: Executable not found:
/root/sojan/Server1/Server1/bin/Debug/Server1
  at System.Diagnostics.Process.Start_noshell
(System.Diagnostics.ProcessStartInfo startInfo, 

System.Diagnostics.Process process) [0x0] 
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x0] 

  at System.Diagnostics.Process.Start () [0x0] 
  at MonoDevelop.Core.Execution.ProcessWrapper.Start () [0x0] 

  at (wrapper remoting-invoke-with-check)
MonoDevelop.Core.Execution.ProcessWrapper:Start ()
  at MonoDevelop.Core.Execution.ProcessService.StartProcess
(System.Diagnostics.ProcessStartInfo startInfo,
MonoDevelop.Core.Execution.ProcessEventHandler outputStreamChanged,
MonoDevelop.Core.Execution.ProcessEventHandler errorStreamChanged,
System.EventHandler exited) [0x0] 

  at MonoDevelop.Core.Execution.ProcessService.StartProcess
(System.Diagnostics.ProcessStartInfo startInfo, System.IO.TextWriter
outWriter, System.IO.TextWriter errorWriter, System.EventHandler exited)
[0x0] 
  at MonoDevelop.Core.Execution.ProcessService.StartConsoleProcess
(System.String command, System.String arguments, System.String
workingDirectory, IDictionary`2 environmentVariables, IConsole console,
System.EventHandler exited) [0x0] 

  at MonoDevelop.Core.Execution.NativePlatformExecutionHandler.Execute
(System.String command, System.String arguments, System.String
workingDirectory, IDictionary`2 environmentVariables, IConsole console)
[0x0] 
  at CBinding.CProject.DoExecute (IProgressMonitor monitor,
MonoDevelop.Projects.ExecutionContext context) [0x0] 








-- 
View this message in context: 
http://www.nabble.com/Executing-Solution-tp20278063p20278063.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] Looking for advice on accessing MySQL database

2008-11-01 Thread Chris Howie
On Thu, Oct 30, 2008 at 5:27 PM, TraLou [EMAIL PROTECTED] wrote:
 I copied the executable and MySQL.Data.dll over to openSuse and set up the
 shell script as recommended.  When I launch my app everything works right up
 until Open() is called on the MySQLConnection object.  It then throws an
 exception and states that it could not connect to any of the MySQL
 databases.

 I have tried with MySQL.Data.dll versions 5.1.7 and 5.2.3. My connection
 string looks like the following:

 Database=dbname;Data Source=hostIp;User
 ID=user;Password=password;Pooling=false;Connection Timeout=10;

 I tried also adding Protocol=socket;Port=3306; as recommended on someone's
 blog but no luck there.

 The MySQL database is on my dev machine that the VM is running on.  I can
 ping from the VM to the host with no issues and I can access MySQL remotely
 from my application on another Windows machine using the same credentials.

 I'm sure that a ton of people must be using MySQL so I'm hoping that I'm
 just missing something simple.

A couple of other things to try:

* Can you use the mysql command-line client from inside the VM to
connect to the MySQL instance on the host?

* If you run a packet sniffer (like Wireshark) in the VM, do you see
anything interesting happen when you try to connect using Mono?

-- 
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


Re: [Mono-list] MS Robotics runtime port

2008-11-01 Thread Miguel de Icaza
Hello,

 After reading Mono's roadmap, does not seem like MS Robotics runtime (CCR
 and DSS) will be ported to Mono in a very near future.
 
 Thus, has anybody successfully achieved on his own compiling CCR and DSS
 libraries under Mono? I would be very interested in knowing how difficult to
 achieve this porting is, cause would love to run MS robotics services under
 Linux-based robots.

We will be implementing a few bits of the CCR ourselves, but only enough
to run a specific application for a customer of us.

We will do our work on the public SVN repository and hopefully some
folks can join in.   We could do this work in the Olive module.

Miguel.

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


Re: [Mono-list] Looking for advice on accessing MySQL database

2008-11-01 Thread Miguel de Icaza
Hello,

 I'm sure that a ton of people must be using MySQL so I'm hoping that I'm
 just missing something simple.

Could you post a very simple program that is failing for you, as well as
the error that you get?

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


Re: [Mono-list] MS Robotics runtime port

2008-11-01 Thread Doug Blank
On Sat, Nov 1, 2008 at 1:00 PM, Miguel de Icaza [EMAIL PROTECTED] wrote:

 Hello,

  After reading Mono's roadmap, does not seem like MS Robotics runtime (CCR
  and DSS) will be ported to Mono in a very near future.
 
  Thus, has anybody successfully achieved on his own compiling CCR and DSS
  libraries under Mono? I would be very interested in knowing how difficult
 to
  achieve this porting is, cause would love to run MS robotics services
 under
  Linux-based robots.

 We will be implementing a few bits of the CCR ourselves, but only enough
 to run a specific application for a customer of us.

 We will do our work on the public SVN repository and hopefully some
 folks can join in.   We could do this work in the Olive module.


Great! If you can leave notes some where about what will be left undone or
broken, that would be helpful to be able to pick up where you leave off.
Thanks,

-Doug



 Miguel.

 ___
 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