RE: [Mono-list] Mono windows

2004-08-03 Thread jonathan.cooper
As posted earlier in the discussion list:

http://forge.novell.com/modules/xfmod/project/showfiles.php?group_id=1395rel
ease_id=1945dl=4409

See link for a download for a mono 1.0 installer for windows. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe Ante
Sent: Tuesday, August 03, 2004 11:31 AM
To: MONO
Subject: Re: [Mono-list] Mono windows

HI,

After trying to build mono on windows for 2 days using the help of a unix
guy, it still doesn¹t work.
I tried everything from the windows build scripts to the
www.nullenvoid.com/wiki intro how to manually compile mono. To just trying to
figure out the error msgs myself.
I am getting problems like GCC hanging in monoburg.c, but mostly just
pkgconfig not finding libraries.

I am desperate now.
Does anyone have a built mono install which includes the dll's and libraries
needed for embedding mono and wants to send it over?

Or what if someone smart would just put the dll's into the windows installer,
wouldn¹t that be like real cute.

Joachim Ante

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list






This email may contain information which is privileged or confidential. If you are not 
the intended recipient of this email, please notify the sender immediately and delete 
it without reading, copying, storing, forwarding or disclosing its contents to any 
other person
Thank you

Check us out at http://www.btsyntegra.com



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] New web site up

2004-06-11 Thread jonathan.cooper
I really, really like the new look site.

Comments:

- the right menu on the front page looks very odd using opera (7.51) on Win
XP (sp1). The Menu title is ok, but the contents beneath it seem to be
shifted ~30px to the left.

- digging a bit deeper, on all pages, the class=head specification causes
this visual shift to the left

- again using opera/xp, on
http://www.mono-project.com/using/runningfirstmonoapp.html the numbers for
the steps appear much too close to the vertical line. The same goes for the
bulleted lists, like those on
http://www.mono-project.com/contributing/testing.html for e.g.

- on http://www.mono-project.com/downloads/index.html the rendering of the
download links is completey wrong. It's difficult to expplain, but for e.g.
it looks like:

 Source Code  no Runtime 0.95
no Class Libraries and C# Compiler 0.95
diplus 0.8
elib 0.3
noDoc 0.16
 web server 0.14
che Mono module 0.10

Red Hat 9.0/x86 kages

Fedora Core 1/x86   kages
   For YUM repository

... etc ...

I will email you screenshots directly if you don't mind to illustrate the
visible differences when using opera/xp.

Apart from a few styling issues, I think it is an excellent site, wit ha very
fresh feel to it. Congratulations!

Regards,
Jon

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erik Dasque
Sent: Thursday, June 10, 2004 10:00 PM
To: Mono List
Cc: [EMAIL PROTECTED]
Subject: [Mono-list] New web site up

Hi all,

As some of you may know, we're moving to a new site (the old one will be
phased out eventually) and to new content and design. We'd love feedback on
it before we push it out officially :

http://www.mono-project.com

Let us know.

Erik

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list






This email may contain information which is privileged or confidential. If you are not 
the intended recipient of this email, please notify the sender immediately and delete 
it without reading, copying, storing, forwarding or disclosing its contents to any 
other person
Thank you

Check us out at http://www.btsyntegra.com



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] mcs and mono package

2004-06-08 Thread jonathan.cooper
Melinda,

mono is the runtime (class libraries etc)
mcs is the c# compiler
Mbas is the vb.net compiler
mint is the interpreter 

Hope this makes things a little clearer.

Regards,
Jon

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Melinda
Sent: Tuesday, June 08, 2004 12:42 PM
To: Mono List
Subject: [Mono-list] mcs and mono package

In this page:
http://www.go-mono.org/download.html
.
The Virtual Execution System is available in package `mono'. Please refer to
our Runtime description for more details on this part of the project. 

Optional packages are `libgdiplus' (if you want to do graphics), `winelib'
(if you want to run the alpha winforms support). The package `mcs' contains
the C# source code to the compilers and class libraries.
.

Ok what is difference between mono and mcs? I am confuse Before I
read that page carefully, I thought mono is same with jre and mcs is same
with javasdk. But after reading the page, here is my thought. The mono is the
runtime and compiler and the class. But mcs is the source code of the mono.
So which one is true. ... Can you explain it to me, guyz



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list






This email may contain information which is privileged or confidential. If you are not 
the intended recipient of this email, please notify the sender immediately and delete 
it without reading, copying, storing, forwarding or disclosing its contents to any 
other person
Thank you

Check us out at http://www.btsyntegra.com



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] Is it Mono safe?

2004-05-20 Thread jonathan.cooper
I think one of the greatest barriers to adoption of mono by influential
developers will always be the MS issue. Miguel has explained the legal
situation over and over, but there are some linux users who will argue over
the smallest detail wherever MS is concerned with a technology.

It is unfortunate that the community will negate the fantastic success of the
mono development guys through FUD and miscommunication.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Melinda
Sent: Thursday, May 20, 2004 6:40 AM
To: Mono List
Subject: [Mono-list] Is it Mono safe?

Look over here:
http://www.gnome.org/~seth/blog/mono
and here:
http://www.osnews.com/comment.php?news_id=7094

This is bad news :(
How do you convince somebody to programming in Mono if he already read that
news?


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list






This email may contain information which is privileged or confidential. If you are not 
the intended recipient of this email, please notify the sender immediately and delete 
it without reading, copying, storing, forwarding or disclosing its contents to any 
other person
Thank you

Check us out at http://www.btsyntegra.com



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] vb.net applications on linux

2004-05-10 Thread jonathan.cooper
As far as I'm aware the VB.Net provision under mono is far from being
production stable. I would therefore suggest you migrate the application to
an alternate server if you wish to continue with the linux migration. 

With regards the code conversion, there are many tools available on the web
to convert code, however the reliability of the code produced is always going
to be questionable. Try, for example,
http://developerfusion.com/utilities/convertvbtocsharp.aspx

Regards,
Jon Cooper

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, May 10, 2004 1:17 PM
To: [EMAIL PROTECTED]
Subject: [Mono-list] vb.net applications on linux

I'm planning to migrating a server from windows to linux. However one of the
applications is in vb.net. Its a fairly big applications so i don't think its
going to be possible to rewrite it.
I know that currently in mono there's no production level implementation of
vb.net available. Are there any other ways i could use this .net application
on the linux server? Anyone ever tried to convert an application from vb.net
to C# then ran it on mono? Any other ways?

Thanks,
Ahmed
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list





This email may contain information which is privileged or confidential. If you are not 
the intended recipient of this email, please notify the sender immediately and delete 
it without reading, copying, storing, forwarding or disclosing its contents to any 
other person
Thank you

Check us out at http://www.btsyntegra.com



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] Hard coded System.Environment.OSVersion...

2004-04-22 Thread jonathan.cooper
5.1.2600.0 was the original build number of Windows XP, and I suspect is a
placeholder until the required functionality is completed (very much like the
class which returns the system drives is currently hard coded to c: and
a: for windows for now)

Jon

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Easton
Sent: Wednesday, April 21, 2004 11:45 AM
To: [EMAIL PROTECTED]
Subject: [Mono-list] Hard coded System.Environment.OSVersion...

Okay, it's been a bit of a while since I pestered the list, so here I am with
another pesky question.

I know the System.Environment.OSVersion property is hard coded to 5.1.2600.0
(which PNET have copied) but I don't have a complete understanding of why
this is.

I was thinking that some OSes like GNU/Linux don't have definitive version
numbers (although I guess the kernel build gets close), but since a number of
OSes do have definitive version numbers, and I right in assuming the value
might be retrieved from an internal call in due course?  

Cheers,

Mark

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list





This email may contain information which is privileged or confidential. If you are not 
the intended recipient of this email, please notify the sender immediately and delete 
it without reading, copying, storing, forwarding or disclosing its contents to any 
other person
Thank you

Check us out at http://www.btsyntegra.com



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] Simple code - differences in output between mono .Net

2004-03-04 Thread jonathan.cooper
this could be useful for writing [..] a disk management tool in C#.

Which was precisely my intention as a first big mono/GTK# app ;)


-Original Message-
From: Jonathan Stowe [mailto:[EMAIL PROTECTED] 
Sent: 04 March 2004 09:51
To: Iain McCoy
Cc: COOPER, Jonathan -Syntegra UK; [EMAIL PROTECTED]; Mono-List
Subject: RE: [Mono-list] Simple code - differences in output between mono
.Net


On Thu, 2004-03-04 at 09:39, Iain McCoy wrote:
 On Thu, 2004-03-04 at 03:13, Jonathan Stowe wrote:
StreamReader mtab = new StreamReader(/etc/mtab);
  
ArrayList stuff = new ArrayList();
string[] fields;
while ( (line = mtab.ReadLine()) != null )
{
   fields = line.Split(new char[]{' '});
   if (fields[0] != none)
   {
  stuff.Add(fields[1]);
   }
}
 What happens to /proc and /proc/bus/usb with this system?

They are explicitly skipped as a result of the 'fields[0] != none' - if of
course you wanted then in there then you could just remove that condition.

As has been pointed out this is probably not vaery useful as a
GetLogicalDrives on a Unix-like system.  However it could be adapted to
(say) a GetMountedDrives() returning an array of MountedDrive structs - this
could be useful for writing 'df' or 'mount' or a disk management tool in C#.

/J\





This email may contain information which is privileged or confidential. If you are not 
the intended recipient of this email, please notify the sender immediately and delete 
it without reading, copying, storing, forwarding or disclosing its contents to any 
other person
Thank you

Check us out at http://www.syntegra.com



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Simple code - differences in output between mono .Net

2004-03-03 Thread jonathan.cooper
Title: Simple code - differences in output between mono  .Net






I have code (at the end of this message) in a .cs file, compiled with mcs and csc on Windows XP. When compiled with either compiler the executable works on both runtimes (.Net and mono). However, the output is different.

Run under .Net:



Disk: A:\

Disk: C:\

Disk: D:\

Disk: K:\

Disk: L:\

Disk: Q:\

Disk: T:\

Disk: U:\

Disk: X:\

c:\

Dir: c:\Compaq

Dir: c:\Config.Msi

Dir: c:\Documents and Settings

Dir: c:\Program Files

Dir: c:\RECYCLER

Dir: c:\System Volume Information

Dir: c:\WINNT



Basically the contents of the root c:\ drive


Run under mono:

--

Disk: A:\

Disk: C:\

c:\

 a list of directories in the current directory rather than the root c:\ 


Is this due to an incomplete feature, or am I missing something?


Thanks in advance,

Jon Cooper



 CODE in drives.cs 


using System;

using System.IO;


namespace test

{ 

 class test

 {

 [STAThread]

 static void Main(string[] args) 

 {

 string[] s = Directory.GetLogicalDrives();

 foreach(string drive in s)

  Console.WriteLine(Disk: {0},drive);


 string mydrive = Console.ReadLine();


 if(mydrive.Length != 0)

 {

  foreach(string d in Directory.GetDirectories(mydrive))

  Console.WriteLine(Dir: {0},d);


  Console.Read(); //pause

 }

 }

 }

}






This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person
Thank you

Check us out at http://www.syntegra.com






RE: [Mono-list] Simple code - differences in output between mono .Net

2004-03-03 Thread jonathan.cooper
Title: Message



Ah, 
that would explain it.

Shall 
I continue with the bug submission?

  
  -Original Message-From: Nick Berardi 
  [mailto:[EMAIL PROTECTED] Sent: 03 March 2004 
  14:55To: COOPER, Jonathan -Syntegra UK; 
  [EMAIL PROTECTED]Subject: RE: [Mono-list] Simple code - 
  differences in output between mono  .Net
  
  I was right here is 
  your problem:
  [MonoTODO("Implement on windows, for real")]public static string[] GetLogicalDrives (){//FIXME: Hardcoded Pathsif ((int)Environment.OSVersion.Platform == 128)return new string[] { "/" };elsereturn new string [] { "A:\\", "C:\\" };}
  
  
  
  
  
  
  From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
  On Behalf Of 
  [EMAIL PROTECTED]Sent: Wednesday, March 03, 2004 9:32 
  AMTo: 
  [EMAIL PROTECTED]Subject: [Mono-list] Simple code -   differences in output between mono  
  .Net
  
  I 
  have code (at the end of this message) in a .cs file, compiled with mcs and 
  csc on Windows XP. When compiled with either compiler the executable works on 
  both runtimes (.Net and mono). However, the output is 
  different.
  Run under .Net: 
   
  Disk: A:\ 
  Disk: C:\ 
  Disk: D:\ 
  Disk: K:\ 
  Disk: L:\ 
  Disk: Q:\ 
  Disk: T:\ 
  Disk: U:\ 
  Disk: X:\ 
  c:\ Dir: 
  c:\Compaq Dir: 
  c:\Config.Msi Dir: c:\Documents and   Settings Dir: c:\Program 
  Files Dir: 
  c:\RECYCLER Dir: c:\System Volume   Information Dir: c:\WINNT 
  
  
  Basically the contents of the root 
  c:\ drive 
  Run under mono: 
  -- 
  Disk: A:\ 
  Disk: C:\ 
  c:\  a 
  list of directories in the current directory rather than the root c:\ 
   
  Is this due to an incomplete 
  feature, or am I missing something? 
  Thanks in advance, 
  Jon Cooper 
  
  
   CODE in 
  drives.cs  
  using System;   using System.IO; 
  
  namespace test 
  {  class 
  test  { 
   
  [STAThread]  
  static void Main(string[] args) 
   
  {  string[] 
  s = Directory.GetLogicalDrives(); 
   foreach(string drive 
  in s)   
  Console.WriteLine("Disk: {0}",drive); 
   string 
  mydrive = Console.ReadLine(); 
   
  if(mydrive.Length != 0) 
   { 
foreach(string d in 
  Directory.GetDirectories(mydrive)) 

  Console.WriteLine("Dir: {0}",d); 
   
   Console.Read(); 
  //pause 
   } 
   
  }  } 
  } 
  This email may contain information which is privileged or 
  confidential. If you are not the intended recipient of this email, please   notify the sender immediately and delete it without reading, copying, storing, 
  forwarding or disclosing its contents to any other 
  personThank 
  youCheck us out at   http://www.syntegra.com



This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person
Thank you

Check us out at http://www.syntegra.com






RE: [Mono-list] Simple code - differences in output between mono .Net

2004-03-03 Thread jonathan.cooper
Title: Message



I 
would assume that the GetLogicalDrives() method on linux would require returning 
the mount points, as these can then be enumerated as necessary - for e.g. /dev/cdrom, /dev/usbdriveetc. This approach seems much more usable from a 
development perspective than just returning the root.

  
  -Original Message-From: Nick Berardi 
  [mailto:[EMAIL PROTECTED] Sent: 03 March 2004 
  15:11To: COOPER, Jonathan -Syntegra UK; 
  [EMAIL PROTECTED]Subject: RE: [Mono-list] Simple code - 
  differences in output between mono  .Net
  
  I guess logical 
  drives in Linux is just the root. But I would think that they would   include the mount points in here? Dont you think? Because 
  basically that is all that a Windows Drive is. A mounted 
  partition.
  
  Anybody on the list 
  disagree?
  
  
  
  
  
  From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, March 03, 
  2004 9:57 AMTo: 
  [EMAIL PROTECTED]; 
  [EMAIL PROTECTED]Subject: RE: [Mono-list] Simple code - 
  differences in output between mono  
  .Net
  
  
  Ah, that would   explain it.
  
  
  
  Shall I continue with 
  the bug submission?
  
-Original 
Message-From: Nick 
Berardi [mailto:[EMAIL PROTECTED]] Sent: 03 March 2004 14:55To: COOPER, Jonathan -Syntegra UK; 
[EMAIL PROTECTED]Subject: RE: [Mono-list] Simple code - 
differences in output between mono  .Net
I was right here is 
your problem:
[MonoTODO("Implement on windows, for real")]public static string[] GetLogicalDrives (){//FIXME: Hardcoded Pathsif ((int)Environment.OSVersion.Platform == 128)return new string[] { "/" };elsereturn new string [] { "A:\\", "C:\\" };}






From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of 
[EMAIL PROTECTED]Sent: Wednesday, March 03, 2004 9:32 
AMTo: 
[EMAIL PROTECTED]Subject: [Mono-list] Simple code - 
differences in output between mono  
.Net

I have code (at the end of this 
message) in a .cs file, compiled with mcs and csc on Windows XP. When compiled with either compiler the executable works on both runtimes (.Net 
and mono). However, the output is different.
Run under .Net: 
 
Disk: A:\ 
Disk: C:\ 
Disk: D:\ 
Disk: K:\ 
Disk: L:\ 
Disk: Q:\ 
Disk: T:\ 
Disk: U:\ 
Disk: X:\ 
c:\ Dir: 
c:\Compaq Dir: 
c:\Config.Msi Dir: c:\Documents and 
Settings Dir: c:\Program 
Files Dir: 
c:\RECYCLER Dir: c:\System Volume 
Information Dir: 
c:\WINNT 

Basically the contents of the 
root c:\ drive 
Run under mono: 
-- 
Disk: A:\ 
Disk: C:\ 
c:\  
a list of directories in the current directory rather than the root c:\  
Is this due to an incomplete 
feature, or am I missing something? 
Thanks in advance, 
Jon Cooper 

 CODE in 
drives.cs  
using System; 
using System.IO; 

namespace test 
{  class 
test  { 
 
[STAThread]  
static void Main(string[] args) 
 
{  
string[] s = Directory.GetLogicalDrives(); 
 foreach(string 
drive in s)  
 
Console.WriteLine("Disk: {0}",drive); 
 string 
mydrive = Console.ReadLine(); 
 
if(mydrive.Length != 0) 
 { 
  foreach(string d in 
Directory.GetDirectories(mydrive)) 
  
Console.WriteLine("Dir: {0}",d); 
 
 
Console.Read(); //pause 
 } 
 
}  } 
} 
This email may 
contain information which is privileged or confidential. If you are not the 
intended recipient of this email, please notify the sender immediately and 
delete it without reading, copying, storing, forwarding or disclosing its 
contents to any other personThank 
youCheck us out at 
http://www.syntegra.com
  This email may contain information which is privileged or 
  confidential. If you are not the intended recipient of this email, please   notify the sender immediately and delete it without reading, copying, storing, 
  forwarding or disclosing its contents to any other 
  personThank 
  youCheck us out at   http://www.syntegra.com



This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to 

RE: [Mono-list] Simple code - differences in output between mono .Net

2004-03-03 Thread jonathan.cooper
But surely the aforementioned functionality should be exposed to the
developer in a similar manner as he/she would expect - whereby all physical
drives should be available through the call as they are in Windows and .Net.

I am merely thinking of portability between the two platforms, and why have a
method which tells you what you already know - you have a /...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Sheldon
Sent: 03 March 2004 16:58
To: [EMAIL PROTECTED]
Subject: Re: [Mono-list] Simple code - differences in output between mono 
.Net


On Wed, Mar 03, 2004 at 10:11:28AM -0500, Nick Berardi wrote:
 I guess logical drives in Linux is just the root.  But I would think 
 that they would include the mount points in here?  Don't you think?  
 Because basically that is all that a Windows Drive is.  A mounted 
 partition.
 
  
 
 Anybody on the list disagree?

I disagree. The call is get*Logical*Drives. Linux only has a single logical
drive, though it is made up of several physical drives mounted into it. If
you enumerate /, /cdrom, /floppy, /mnt/moredisk, /mnt/moredisk/someNFSserver
then you will end up with applications double counting files and generally
recursing over more then they need to in order to find a file.

David
-- 
OK. Enter system password, out of ttys, can't fork process, Panic Double
Panic, can't open socket, bad magic number, NO ROUTE TO HOST, hme is down,
stale file handle, /var is full, and it's January 1970.
- sing, sing, halt ___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list




This email may contain information which is privileged or confidential. If you are not 
the intended recipient of this email, please notify the sender immediately and delete 
it without reading, copying, storing, forwarding or disclosing its contents to any 
other person
Thank you

Check us out at http://www.syntegra.com



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list