[Mono-list] problem with FreeBSD & monodoc, multiple questions

2003-02-16 Thread Lloyd Dupont
Hi,

I have FreeBSD 4.7
I just fetch monodoc from CVS.

I have multiple questions / remark:

1].
I tryed 'gmake' and it failed.
after looking the code of the makefile (4 lines... :-)

I replace 
(cd $$i; make) || exit 1;   \
by
(cd $$i; $(MAKE)) || exit 1;\

And it worked.
the default make of FreeBSD don't have any -C option, it's why it's better to 
do like this.

2].
after building it, well I tryed it.
And I get this terrible insult message hundreds of time.

** (:31001): WARNING **: Failed to load library libgtkhtml-3.0.so 
(gtkhtml-3.0): Shared object "libgtkhtml-3.0.so" not found

the diagnostic being clear enough I tryed to upgrade my system with the latest 
libgtkhtml.
And here is the big problem. it looks like the latest version available around 
there is 2.2 .
what do you think ?

3].
I know that mono has a file to 'translate' DllImport.
maybe I could edit this file and replace libgtkhtml-3.0 by libgtkhtml-.2.2 ? 
at least I could try...

Could you tell me what is this file, where I could find it, etc ?.

4].
csc has a special file called '...' (I can't remember, something like csc.rsc) 
where it put all default library (System.Drawing.dll, etc...), so you don't 
have to link explicitly against this library.
What about mcs ? (it obvioulsy has one too) I mean, what's its name ? where is 
it ? could I also have one in my working directory, just like csc ?
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list



Re: [Mono-list] Newbie trying to read an XML

2003-02-16 Thread Jackson Harper

int value = Int32.Parse (attribute_value);


Jackson



On Sat, 2003-02-15 at 20:26, Santiago Erquicia wrote:
> Hello,
> 
> I am really newbie with C#.  I have only a little experience with java and web 
> development.
> 
> I am trying to read an XML and get the attributes from the nodes.  I reached 
> the point where I can do that.
> 
> My problem is that one of the attributes is the id of a transaction (which is 
> an int) and all the returned values from the attributes come as string.  How 
> can I change them?
> 
> Thanks and apologies if this is too stupid.
> 
> Santiago
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list
-- 
Jackson Harper <[EMAIL PROTECTED]>

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



[Mono-list] Small patch adding Size and Name properties tomcs/class/System.Windows.Forms/Gtk/ also an updated demo application andmakefile

2003-02-16 Thread Joel Basson




? System.Windows.Forms.dll
? file.diff
Index: Control.cs
===
RCS file: /mono/mcs/class/System.Windows.Forms/Gtk/Control.cs,v
retrieving revision 1.4
diff -u -r1.4 Control.cs
--- Control.cs  9 Jan 2003 22:25:56 -   1.4
+++ Control.cs  16 Feb 2003 03:43:40 -
@@ -19,10 +19,11 @@
public class Control : Component {
internal Widget widget;
Control parent;
-   string text;
+   string text, name;
+   Size size;
int left, top, width, height;
ControlCollection controls;
-   Point location = new Point (0, 0);
+   Point location = new System.Drawing.Point (0, 0);
Gtk.Layout layout = null;
AnchorStyles anchor = AnchorStyles.Top|AnchorStyles.Left;

@@ -135,11 +136,12 @@
}
 
public Control (string text, int left, int top, int width, int height)
-   {
+   {   
}
 
public Control (Control parent, string text, int left, int top, int 
width, int height)
{
+   
}
 
internal Widget Widget {
@@ -174,7 +176,30 @@
if (TextChanged != null)
 TextChanged (this, e);
}
-   
+
+
+   public virtual string Name {
+get {
+   return name;
+}
+ 
+set { 
+   name = value;
+   Widget.Name = value;
+}
+   }
+   
+   public Size Size {
+   get { 
+   return size;
+   }
+   set {
+   size = value;
+   Widget.SetSizeRequest (value.Width,value.Height);
+   }
+   }
+
+
public void Show ()
{
Widget.Show ();
@@ -231,6 +256,7 @@
if (ControlRemoved != null)
ControlRemoved (this, e);
}
+
 
public Point Location {
get { return location; }
Index: ProgressBar.cs
===
RCS file: /mono/mcs/class/System.Windows.Forms/Gtk/ProgressBar.cs,v
retrieving revision 1.1
diff -u -r1.1 ProgressBar.cs
--- ProgressBar.cs  8 Aug 2002 01:53:30 -   1.1
+++ ProgressBar.cs  16 Feb 2003 03:43:40 -
@@ -85,7 +85,7 @@
 
[MonoTODO]
protected override Size DefaultSize {
-   get { throw new NotImplementedException (); }
+   get { throw new NotImplementedException (); }   
}

[MonoTODO]
Index: TextBoxBase.cs
===
RCS file: /mono/mcs/class/System.Windows.Forms/Gtk/TextBoxBase.cs,v
retrieving revision 1.1
diff -u -r1.1 TextBoxBase.cs
--- TextBoxBase.cs  8 Aug 2002 01:53:30 -   1.1
+++ TextBoxBase.cs  16 Feb 2003 03:43:41 -
@@ -56,7 +56,7 @@
throw new NotImplementedException ();
}
set
-   {
+   {
throw new NotImplementedException ();
}
}
@@ -201,8 +201,8 @@
get
{
String selection = "";
-   Gtk.TextIter start;
-   Gtk.TextIter end;
+   Gtk.TextIter start = new Gtk.TextIter ();
+   Gtk.TextIter end = new Gtk.TextIter ();

if (TextBuffer.GetSelectionBounds(ref start, ref end))
selection = TextBuffer.GetText(start, end, 
true);
Index: changelog
===
RCS file: /mono/mcs/class/System.Windows.Forms/Gtk/changelog,v
retrieving revision 1.1
diff -u -r1.1 changelog
--- changelog   8 Aug 2002 01:53:30 -   1.1
+++ changelog   16 Feb 2003 03:43:41 -
@@ -11,3 +11,7 @@
 * TextBox.cs
 * TextBoxBase.cs
 * added new files with some functinality
+
+2003-2-15  Joel Basson <[EMAIL PROTECTED]>
+
+* Added Size and Name properties
\ No newline at end of file
Index: demo.cs
===
RCS file: /mono/mcs/class/System.Windows.F

[Mono-list] Mono

2003-02-16 Thread David Timmins
Hello Miguel,

My name is David. I am a longtime fan of Linux, and have finally assembled a 
dedicated Linux box at home. Learning this OS has been interesting at the 
very least, yet very satisfying.

I am also a beginning programmer. I'm not trying to knock MS, because I 
think that they do release some great ideas and products. But the licensing 
issues! They can be difficult.

I'll be taking VB.Net in the fall. My college has nothing but MS boxes, 
which is fine for them, but I want to be able to work on my Linux box at 
home.

I was looking at go-mono.com. What software do I need to do this? Where do I 
get it? Did I miss something on the site? It looked more like a collection 
of reports than anything else.

Any help is appreciated.

Thank you,

David Timmins

_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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


Re: [Mono-list] Mono doesn't seem to like JSharp code in MSIL form. -> BANG

2003-02-16 Thread Christian.Buchner
> No, we support resources just fine. The issue was with the alignment
> of the metadata inside the file. The fix is already in cvs.

Okay, cool. I checked out the sourcecode and recompiled the Mono runtime.

Now it appears to load my own J# compiled assembly just fine.
The example is a simple J# application, performing only a simple

  System.out.println("Hello World!\n");


However Microsoft's assemblies (vjs*.dll) won't load still. *sigh*

02/16/2003  02:28a.
02/16/2003  02:28a..
02/16/2003  02:28a  20,480 JSHello.exe
02/16/2003  02:28a  11,776 JSHello.pdb
02/16/2003  02:01a   7,680 vjscor.dll
02/16/2003  02:01a   3,796,992 vjslib.dll
02/16/2003  02:01a  32,768 vjslibcw.dll

D:\dev\JSHello\bin\Debug>mono JSHello.exe
** Message: Unknown heap type: #-

Unhandled Exception: System.NullReferenceException: A null value was found where
 an object instance was required

I find it interesting that there is no indication where this exception
occured. Also I think the Unknown Heap Type message should print which
assembly it tried to load and at what position in the file this error 
occured.


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



[Mono-list] build problem (again)

2003-02-16 Thread Lloyd Dupont



Well, after installing mono  nearly 
succesffully on FreeBSD (monodoc doesn't work, due to liggtkhtml-3.0 needed 
whereas the latest release on FreeBSD repository is libgtkhtml-2.2) I try to 
install it on windows.
 
I try to download the binary for windows, I had the 
404 error page
so I fetch the source.
 
begin by trying to build HasBoehmGC.(I have NSys 
from mingw as unix console line environment)
> ./configure
> make 
> make install
and at the last stage (install) i get strange error 
message
c:\MinGW\bin\make.exe: invalid option -- 
Oc:\MinGW\bin\make.exe: invalid option -- 2c:\MinGW\bin\make.exe: 
invalid option --  c:\MinGW\bin\make.exe: invalid option -- 
Oc:\MinGW\bin\make.exe: invalid option -- 2c:\MinGW\bin\make.exe: 
invalid option --  c:\MinGW\bin\make.exe: invalid option -- 
cc:\MinGW\bin\make.exe: invalid option --  c:\MinGW\bin\make.exe: 
invalid option -- c...
 
And make froze... maybe I should reinstall them... 


I try with make and mingw32-make (NSys) , neither 
work..
 
well, sorry for the dummy question, any suggestion 
to get mono running on windows ?
 
 


[Mono-list] never mind...

2003-02-16 Thread Lloyd Dupont



I just see, at the bottom of the download page: 
"How to build instruction"
I will try them first.
 
It's just that cygwin is such pain to install I 
found (I mean, you just click, its easy, everytime I try a custom distribution 
it either failed or take hoours... to 
download)


[Mono-list] [Fwd: C# OpenGL Wrapper : New Version]

2003-02-16 Thread J. Perkins
This may be of interest to people here.

Jason
379


 Original Message 
Subject: C# OpenGL Wrapper : New Version
Date: Fri, 14 Feb 2003 15:23:51 -0800
From: Colin Fahey <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Organization: Fat City Network Services, San Diego, California
To: Multiple recipients of list OPENGL-GAMEDEV-L 
<[EMAIL PROTECTED]>

2003 February 14th
Friday

Happy Valentine's Day!  XOXOXO  ;^O (smooch!)  OpenGL!
Hee, hee, I'm blushing!

Almost exactly one month ago I made the first public
release of my C# OpenGL wrapper.  I have made minor
bug fixes to the *demonstration* code aspect of the project
(Z-Buffer fighting made the rotating cube look bad for
some people with desktops set to 16-bit color depth)
and the new source code (and Visual Studio project) is
now available.

http://www.colinfahey.com/opengl/csharp.htm

This wrapper differs from most C# OpenGL wrappers in
that it is a pure C# solution, with only three wrapper
files:

[1] opengl_gl_v4.cs   : Exposes functions found in GL.H
[2] opengl_glu_v4.cs  : Exposes functions found in GLU.H
[3] opengl_wgl_v4.cs  : Exposes functions to support OpenGL
under Windows

That's ALL you need to start a new C# OpenGL project of
your own!

There is no wacky corporate namespace.  Also, I do not
offer any functions that don't match the OpenGL "Blue Book"
specs.  I did however make the following changes:

[a] I use only native C# data types (e.g., "float") instead
  of somehow enforcing types like "GLfloat".  C# has well-defined
  meanings to its native data types, so propagating "GLfloat"
  to C# would just be pedantic.

[b] I did not propagate many wacky GLU data types
  (callback function pointers data types for tesselation
  methods, etc).  I regard all such data types as
  generic C# pointers.

I hope that my C# OpenGL wrapper encourages other
C# OpenGL wrapper efforts to:

[  i]  Avoid requiring *custom* DLL's,
[ ii]  Avoid goofy or corporate namespaces,
[iii]  Avoid "improving" on the OpenGL spec by inventing
   functions and data types that resemble OpenGL and
   "bring OpenGL more in to the spirit of C#",
[ iv]  Avoid meaningless continuation of "GLfloat",
   and other basic types,
[  v]  Avoid requiring more than exactly three files
   (corresponding to GL, GLU, WGL) for new C# OpenGL
   projects written from nothing,
[ vi]  Avoid any dependency between GL and GLU.

Anyhow, I created my wrapper to hopefully "raise the
bar" so that I wouldn't have to suffer the bloated,
pedantic, ugly wrappers that might otherwise emerge
in an environment with no "competition".

--- Colin

[EMAIL PROTECTED]




-
FAQ and OpenGL Resources at:
  http://www.geocities.com/SiliconValley/Hills/9956/OpenGL

--
Author: Colin Fahey
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB OPENGL-GAMEDEV-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).




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


Re: [Mono-list] problem with --debug

2003-02-16 Thread Martin Baulig
Varga Zoltan <[EMAIL PROTECTED]> writes:

>   The following code asserts in class.c when running with
> --debug:
> 
>   AppDomain.CurrentDomain.Load ("System.Xml.dll");

Hi,

thanks for your bug report, it's now known as #38163 in bugzilla.  I'll have a look at 
it
as soon as possible.

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



Re: [Mono-list] IL Assembler

2003-02-16 Thread Michael Erdmann
Jackson Harper wrote:


Michael,

	Thank you very much, I will get these checked into CVS today and try
fix some of these problems. 

Thanks,

Jackson
 

Have you found some time working on the problems?

Anyway currently i am developing a small test harnes to put the testing 
of ilasm
on a more systematic platform. I will define test cases  and set of test 
cases
in xml format and derive from this specification  test executions 
automatically.

Is there any place where  i can store my code?

Michael


 



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



RE: [Mono-list] Mono

2003-02-16 Thread Dave Bettin
David,

This might be the page you were looking for:
http://www.go-mono.com/download.html

Dave

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of David Timmins
Sent: Sunday, February 16, 2003 2:40 AM
To: [EMAIL PROTECTED]
Subject: [Mono-list] Mono

Hello Miguel,

My name is David. I am a longtime fan of Linux, and have finally
assembled a 
dedicated Linux box at home. Learning this OS has been interesting at
the 
very least, yet very satisfying.

I am also a beginning programmer. I'm not trying to knock MS, because I 
think that they do release some great ideas and products. But the
licensing 
issues! They can be difficult.

I'll be taking VB.Net in the fall. My college has nothing but MS boxes, 
which is fine for them, but I want to be able to work on my Linux box at

home.

I was looking at go-mono.com. What software do I need to do this? Where
do I 
get it? Did I miss something on the site? It looked more like a
collection 
of reports than anything else.

Any help is appreciated.

Thank you,

David Timmins

_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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

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



Re: [Mono-list] problem with FreeBSD & monodoc, multiple questions

2003-02-16 Thread Jonathan Pryor
Responses inline...

On Sun, 2003-02-16 at 03:45, Lloyd Dupont wrote:
> Hi,

> 1].
> I tryed 'gmake' and it failed.
> after looking the code of the makefile (4 lines... :-)
> 
> I replace 
>   (cd $$i; make) || exit 1;   \
> by
>   (cd $$i; $(MAKE)) || exit 1;\
> 
> And it worked.
> the default make of FreeBSD don't have any -C option, it's why it's better to 
> do like this.

We should probably fix this in CVS.  Thanks,

> 2].
> after building it, well I tryed it.
> And I get this terrible insult message hundreds of time.
> 
> ** (:31001): WARNING **: Failed to load library libgtkhtml-3.0.so 
> (gtkhtml-3.0): Shared object "libgtkhtml-3.0.so" not found
> 
> the diagnostic being clear enough I tryed to upgrade my system with the latest 
> libgtkhtml.
> And here is the big problem. it looks like the latest version available around 
> there is 2.2 .
> what do you think ?

Here's some history (as I understand it, and simplified).  In the
beginning was gtkhtml, which allowed editing HTML.  Then came gtkhtml-2
for the Gnome-2 platform, which provided CSS and DOM support, but didn't
allow editing (and is currently unmaintained, IIRC).

Evolution is built atop gtkhtml (the first version), and as part of the
Gnome 2 port they're porting gtkhtml to GTK+ 2.  This version is
libgtkhtml-3.

In short, libgtkhtml-3 is completely different from libgtkhtml-2, so
trying to use libgtkhtml-2 won't work.

You can get libgtkhtml-3 from the gnome CVS, in the gtkhtml module.

> 3].
> I know that mono has a file to 'translate' DllImport.
> maybe I could edit this file and replace libgtkhtml-3.0 by libgtkhtml-.2.2 ? 
> at least I could try...
> 
> Could you tell me what is this file, where I could find it, etc ?.

The file you're looking for is $prefix/etc/mono/config.  $prefix should
be /usr, but it has also been /usr/local in some of the previous
distributed builds.

However, trying to substitute libgtkhtml-3 with libgtkhtml-2 won't work,
as described above.

> 4].
> csc has a special file called '...' (I can't remember, something like csc.rsc) 
> where it put all default library (System.Drawing.dll, etc...), so you don't 
> have to link explicitly against this library.
> What about mcs ? (it obvioulsy has one too) I mean, what's its name ? where is 
> it ? could I also have one in my working directory, just like csc ?

Actually, I don't think mcs has this.  At least, it's not mentioned in
the man page.  It does support "response files", which can contain
files/arguments.  These are specified with a leading @ on the command
line, e.g. mcs @response-file.txt

 - Jon


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



Re: [Mono-list] Mono doesn't seem to like JSharp code in MSIL form.-> BANG

2003-02-16 Thread Chris Ball
>> On 15 Feb 2003 21:20:22, Simon Waite <[EMAIL PROTECTED]> said:

   >> I've been collecting reviews for my dissertation (which is a
   >> retarget of the Jikes Java compiler to output MSIL)

   > Hows that dissertation going BTW ?

Great, thanks.  It's working on simple classes, and I'm concentrating on
OO model and class library mappings.  I've just finished giving a bunch
of talks on it; it's at the halfway stage, time-wise.  I've been meaning
to post an update for a while - to borrow from the talks, so far I've:

   - Created a complete set of opcode mappings.

   - Written methods for dereferencing Java's constant pool.  Java
 doesn't allow variable-length data in the code segment, so you
 end up with (simplified) bytecode like:

   method_info  name_index 5  descriptor_index 6
   3   ldc 15
   5   invokevirtual 20
   8   return

   ==
   15  CONSTANT_String_info: string_index: 16
   16  CONSTANT_Utf8_info: length: 11 Hello World
   20  CONSTANT_Methodref_info: class_index: 21
   21  CONSTANT_Class_info: name_index 22
   22  CONSTANT_Utf8_info: length: 19 java/io/PrintStream

 In constrast, MSIL inlines all of this:

   IL_: ldstr "Hello World"
   IL_0005: call void class [corlib]System.Console::WriteLine(string)
   IL_000a: ret

   - Kept track of local variables, etc.  The bytecode verification
 actually stops me from needing to do a lot of reporting and type
 checking, which is neat.

   - Class mappings.  A basic case'd be:

   System.out.println("a: " + a + " b: " + b);
 .. to ..
   System.Console.Writeline("a: {0}, b: {1}", a, b);

 I've worked out a framework for these kind of transformations, but
 I can't see myself getting too near a full class library on my own;
 perhaps it'll get there when I release where I'm at so far (after
 the dissertation's handed in for marking in May); Jikes is under a
 GPL-like license, so if the IBM guys want to include MSIL as an
 official target (I've not crippled the capability to compile Java
 as well), that'd be a big step forward for OSS .NET, especially
 since it doesn't suffer from the J# limitation of JVM 1.1.4.

   - Test suite.  I've come up with a full regressive test suite for
 each section of the ECMA spec, and a corpus of Java code to be
 automatically compiled and assembled and run through mono to make 
 sure it's giving correct output.  As well as testing against the
 spec, there are some computational tests thrown in (Ackerman's 
 function, Sieve of Erathosthenes, Factorial, Quicksort, etc) -
 it'll be useful to see if any of my changes slow these down.
 I've knocked up a Perl/gtk2 frontend for the test suite, just 
 because having a black screen full of scrolling compiler output 
 isn't the best way to present your successes. ;-)

Right, I've written far too much already.  Apologies for the off-topic
post; in an attempt to make it more on-topic, I'd like to thank everyone
responsible for recent vast improvements to mono's ilasm - they've been
a great help.  :)

Cheers,

- Chris.
-- 
$a="printf.net";  Chris Ball | chris@void.$a | www.$a | finger: chris@$a
|  Q: How many OO Perl programmers does it take to change a light bulb?
|  A: HASH(0x870bf8) -- Tim Sweetman, on london-pm.

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



[Mono-list] Trying MONO

2003-02-16 Thread Paulo R. Quicoli



HI !!!
 
i'm new to MONO but i was reading some mono 
docs... and i believe  MONO will shock the computer world !!!
 
 
Well, 
 
i've build a little "Hellow World"  under 
windows .NET , using Delphi for .NET preview  so i got the application 
generated and tried to run it under linux, using:
 
mono myapp.exe
 
so an exception raised  
 
this little application uses windows.forms 
namespace  
the windows.forms namespace is converted to mono 
???
 
thanks... and congraglations for your hard work 

 
Paulo Roberto QuicoliJaboticabal/SP - 
BrasilMembro da Comunidade Firebird de Língua Portuguesa"Fazendo o 
Firebird falar Português"


[Mono-list] FW: Named Instances in SqlClient

2003-02-16 Thread Daniel Morgan
I committed to cvs the changes neccessary for Named Instances in SqlClient.

I used Phillip Jerkin's code for discovery of the Microsoft SQL Server TCP
port; however, I did not use any threads nor any of the error handling code.
This is because Thread.Abort does not work on Windows due to an incomplete
pthreads implementation for Windows.  I used Socket.Poll() instead to
determine if it timeouts.

I also committed changes to allow the user to use a different port.

So, the user has three ways to connect to the SQL Server:

1. hostname

   Example: "Server=myhost;Database=pubs;User
ID=myuserid;Password=mypassword"

2. hostname,port

   Example: "Server=myhost,1433;Database=pubs;User
ID=myuserid;Password=mypassword"

3. hostname\\instance

   Example: "Server=myhost\\NETSDK;Database=GrocerToGo;User
ID=myuserid;Password=mypassword"

I have tested that you can now connect to your MSDE database, such as,
NETSDK via SqlClient.

For options 1 and 2 above, I committed to cvs the changes to allow a
different port for
SybaseClient and TdsClient too.

Some notes:
- Trusted_connection nor Integrated security works
  due to Windows security is proprietary and there is
  no knowlege of how to get it to work.  Unless, someone is
  willing to help with this.  So, do not use these in
  your connection string.
- Make sure you SQL Server authenticates using SQL Server.
  By default, many MS SQL Server databases only authenticate
  using Windows.  (If you have Enterprise Manager or Visual Studio.NET,
  this can be done via Properties)
- if using MSDE, you might need to create a new user with password.  Give
  this user access to various databases in this MSDE instance.  Also, for
each
  database, give this new user at least SELECT access to the various tables
you want
  to retrieve data from. (If you have Enterprise Manager or Visual
Studio.NET,
  this can be done via Properties)

If you don't know what port your MSDE instance listens, you can find out via
the SqlPing utility that Phillip wrote.
If you MSDE instance is NETSDK and your hostname is MYHOST, you would run
SqlPing like:

mono SqlPing MYHOST\\NETSDK

You might have to search for the string "sqlmonitor" and replace with
"localhost" or something.

Many thanks go to Phillip Jerkins for the original discovery code.

-Original Message-
From: Jerkins, Phillip [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 11:06 AM
To: Daniel Morgan
Subject: RE: Named Instances in SqlClient


Sounds great to me.  I just wanted the support to be in there.  I
haven't yet had time to look at your code, but I do want to see it.  I
played briefly with a different version that didn't require
Thread.Abort(), but never got anywhere.

I'm attaching the most recent version of my SqlPing.cs file.  While it
still uses threads the way my original sample did, it does a much better
job of error-handling.  You might want to test for the cases I found in
this file.  I've got exceptions defined for both.

Tim Coleman posted a few minutes ago, saying that he's posting changes
to SqlConnection concurrently with you.  Sounds like the two of you
might need to get together on that.  Just do me a favor and let me know
when the two of you have committed those changes.

Thanks!

Phil Jerkins
[EMAIL PROTECTED]
x3473


-Original Message-
From: Daniel Morgan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 5:02 PM
To: Jerkins, Phillip
Cc: Tim Coleman
Subject: RE: Named Instances in SqlClient

Hello Phillip,

The System.Environment class has OSVersion.

I know I was suppose to wait, but I got an itch and I scratched it. :-)
Thanks for the code you gave.  It would be up to Tim Coleman whether it
gets
committed to cvs or not since SqlClient is his baby.

I have attached SqlConnection.cs with the named instance discovery code
you
made.  It does not use threads, but I was itching just to try it.  It
worked, I was able to connect to MSDE.  See the test program
TestSqlConnection.cs

I have both MSDE and MS SQL Server 2000 Developer installed on my
computer,
so I used Enterprise Manager to change the properties about MSDE.  I
changed
it from Windows authentication to
Sql Server and Windows. For NETSDK, I created a user with a certain
password
and gave this new user access to various databases and SELECT access to
various tables in those databases.
Apparently, my regular SQL Server connects on 1433 while my MSDE NETSDK
connects on 1335.

So, there are three ways to connect to the server:
1. "hostname" ie. "DANPC"
2. "hostname\\instance" ie. "DANPC\\NETSDK"
3. "hostname,port"  ie. "DANPC,1335"

Anyways, this is just what I have been playing with.

Cheers,
Daniel

-Original Message-
From: Jerkins, Phillip [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 4:38 PM
To: Daniel Morgan
Subject: RE: Named Instances in SqlClient


I'm perhaps halfway there.

I'm expecting to have some time this week to work on it.  I have refined
my Windows sample code considerably so that it 

Re: [Mono-list] Mono

2003-02-16 Thread Jonathan Pryor
VB.NET support is being worked on in the "mbas" compiler.  However, it
hasn't been distributed in any of the RPMs to date (despite it being
documented as such, and intending too...).  With luck it'll make it into
the next release (0.20), which is due Real Soon Now (TM).  How soon? 
When the regressions are fixed...  (As seen on #mono!)

If you don't want to wait that long, the only alternative is to grab the
"mcs" module from CVS.  The mbas compiler is in the mbas directory.

Unfortunately, building CVS can be a "enlightening experience" (see
README.building; enlightenment comes when you say "so *that's* what I
need to do!"), so it's probably easier to just wait for the next
release.

 - Jon

On Sun, 2003-02-16 at 03:39, David Timmins wrote:
> Hello Miguel,
> 
> My name is David. I am a longtime fan of Linux, and have finally assembled a 
> dedicated Linux box at home. Learning this OS has been interesting at the 
> very least, yet very satisfying.
> 
> I am also a beginning programmer. I'm not trying to knock MS, because I 
> think that they do release some great ideas and products. But the licensing 
> issues! They can be difficult.
> 
> I'll be taking VB.Net in the fall. My college has nothing but MS boxes, 
> which is fine for them, but I want to be able to work on my Linux box at 
> home.
> 
> I was looking at go-mono.com. What software do I need to do this? Where do I 
> get it? Did I miss something on the site? It looked more like a collection 
> of reports than anything else.
> 
> Any help is appreciated.
> 
> Thank you,
> 
> David Timmins
> 
> _
> Tired of spam? Get advanced junk mail protection with MSN 8. 
> http://join.msn.com/?page=features/junkmail
> 
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list

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



RE: [Mono-list] Mono

2003-02-16 Thread Daniel Morgan
In the cvs module mono,
in the runtime makefile, maybe we need to add
mbas to be one of the files
that gets copied.  I believe this will include it in the next release?

Or maybe make sure it gets installed doing:
On Windows via Cygwin:
make install --prefix=myprefix
or
On Linux:
make -f makefile.gnu install --prefix=myprefix

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan Pryor
Sent: Sunday, February 16, 2003 11:11 AM
To: David Timmins
Cc: Mono List
Subject: Re: [Mono-list] Mono


VB.NET support is being worked on in the "mbas" compiler.  However, it
hasn't been distributed in any of the RPMs to date (despite it being
documented as such, and intending too...).  With luck it'll make it into
the next release (0.20), which is due Real Soon Now (TM).  How soon?
When the regressions are fixed...  (As seen on #mono!)

If you don't want to wait that long, the only alternative is to grab the
"mcs" module from CVS.  The mbas compiler is in the mbas directory.

Unfortunately, building CVS can be a "enlightening experience" (see
README.building; enlightenment comes when you say "so *that's* what I
need to do!"), so it's probably easier to just wait for the next
release.

 - Jon

On Sun, 2003-02-16 at 03:39, David Timmins wrote:
> Hello Miguel,
>
> My name is David. I am a longtime fan of Linux, and have finally assembled
a
> dedicated Linux box at home. Learning this OS has been interesting at the
> very least, yet very satisfying.
>
> I am also a beginning programmer. I'm not trying to knock MS, because I
> think that they do release some great ideas and products. But the
licensing
> issues! They can be difficult.
>
> I'll be taking VB.Net in the fall. My college has nothing but MS boxes,
> which is fine for them, but I want to be able to work on my Linux box at
> home.
>
> I was looking at go-mono.com. What software do I need to do this? Where do
I
> get it? Did I miss something on the site? It looked more like a collection
> of reports than anything else.
>
> Any help is appreciated.
>
> Thank you,
>
> David Timmins
>
> _
> Tired of spam? Get advanced junk mail protection with MSN 8.
> http://join.msn.com/?page=features/junkmail
>
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list

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

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



[Mono-list] RE: Named Instances in SqlClient

2003-02-16 Thread Daniel Morgan
For those that only have MSDE installed.  You can change the authentication
mode via the registry.

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q322336&sd=tech#4

-Original Message-
From: Daniel Morgan [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 16, 2003 11:03 AM
To: Mono-List; Tim Coleman; Phillip Jerkins
Subject: FW: Named Instances in SqlClient


I committed to cvs the changes neccessary for Named Instances in SqlClient.

I used Phillip Jerkin's code for discovery of the Microsoft SQL Server TCP
port; however, I did not use any threads nor any of the error handling code.
This is because Thread.Abort does not work on Windows due to an incomplete
pthreads implementation for Windows.  I used Socket.Poll() instead to
determine if it timeouts.

I also committed changes to allow the user to use a different port.

So, the user has three ways to connect to the SQL Server:

1. hostname

   Example: "Server=myhost;Database=pubs;User
ID=myuserid;Password=mypassword"

2. hostname,port

   Example: "Server=myhost,1433;Database=pubs;User
ID=myuserid;Password=mypassword"

3. hostname\\instance

   Example: "Server=myhost\\NETSDK;Database=GrocerToGo;User
ID=myuserid;Password=mypassword"

I have tested that you can now connect to your MSDE database, such as,
NETSDK via SqlClient.

For options 1 and 2 above, I committed to cvs the changes to allow a
different port for
SybaseClient and TdsClient too.

Some notes:
- Trusted_connection nor Integrated security works
  due to Windows security is proprietary and there is
  no knowlege of how to get it to work.  Unless, someone is
  willing to help with this.  So, do not use these in
  your connection string.
- Make sure you SQL Server authenticates using SQL Server.
  By default, many MS SQL Server databases only authenticate
  using Windows.  (If you have Enterprise Manager or Visual Studio.NET,
  this can be done via Properties)
- if using MSDE, you might need to create a new user with password.  Give
  this user access to various databases in this MSDE instance.  Also, for
each
  database, give this new user at least SELECT access to the various tables
you want
  to retrieve data from. (If you have Enterprise Manager or Visual
Studio.NET,
  this can be done via Properties)

If you don't know what port your MSDE instance listens, you can find out via
the SqlPing utility that Phillip wrote.
If you MSDE instance is NETSDK and your hostname is MYHOST, you would run
SqlPing like:

mono SqlPing MYHOST\\NETSDK

You might have to search for the string "sqlmonitor" and replace with
"localhost" or something.

Many thanks go to Phillip Jerkins for the original discovery code.

-Original Message-
From: Jerkins, Phillip [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 11:06 AM
To: Daniel Morgan
Subject: RE: Named Instances in SqlClient


Sounds great to me.  I just wanted the support to be in there.  I
haven't yet had time to look at your code, but I do want to see it.  I
played briefly with a different version that didn't require
Thread.Abort(), but never got anywhere.

I'm attaching the most recent version of my SqlPing.cs file.  While it
still uses threads the way my original sample did, it does a much better
job of error-handling.  You might want to test for the cases I found in
this file.  I've got exceptions defined for both.

Tim Coleman posted a few minutes ago, saying that he's posting changes
to SqlConnection concurrently with you.  Sounds like the two of you
might need to get together on that.  Just do me a favor and let me know
when the two of you have committed those changes.

Thanks!

Phil Jerkins
[EMAIL PROTECTED]
x3473


-Original Message-
From: Daniel Morgan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 5:02 PM
To: Jerkins, Phillip
Cc: Tim Coleman
Subject: RE: Named Instances in SqlClient

Hello Phillip,

The System.Environment class has OSVersion.

I know I was suppose to wait, but I got an itch and I scratched it. :-)
Thanks for the code you gave.  It would be up to Tim Coleman whether it
gets
committed to cvs or not since SqlClient is his baby.

I have attached SqlConnection.cs with the named instance discovery code
you
made.  It does not use threads, but I was itching just to try it.  It
worked, I was able to connect to MSDE.  See the test program
TestSqlConnection.cs

I have both MSDE and MS SQL Server 2000 Developer installed on my
computer,
so I used Enterprise Manager to change the properties about MSDE.  I
changed
it from Windows authentication to
Sql Server and Windows. For NETSDK, I created a user with a certain
password
and gave this new user access to various databases and SELECT access to
various tables in those databases.
Apparently, my regular SQL Server connects on 1433 while my MSDE NETSDK
connects on 1335.

So, there are three ways to connect to the server:
1. "hostname" ie. "DANPC"
2. "hostname\\instance" ie. "DANPC\\NETSDK"
3. "hostname,port"  ie. "DANPC,1335"

Anyways, this is jus

[Mono-list] running XSP on FreeBSD

2003-02-16 Thread Josef El-Rayes
Hi!
   
i tried to install & run XSP on FreeBSD 4.7 and 5.0.
i installed mono and mcs modules from cvs.
mono compiled but mcs.exe dies on linking with following
error:
--

mcs /target:exe  -o mcs.exe AssemblyInfo.cs assign.cs
+attribute.cs driver.cs
cs-parser.cs cs-tokenizer.cs tree.cs location.cs
cfold.cs class.cs codegen.cs const.cs constant.cs decl.cs
+delegate.cs
enum.cs ecore.cs expression.cs genericparser.cs
+interface.cs literal.cs
modifiers.cs namespace.cs parameter.cs pending.cs report.cs+rootcontext.cs
statement.cs support.cs typemanager.cs symbolwriter.cs
Illegal instruction (core dumped)
gmake[1]: *** [mcs.exe] Error 132

--

so i use mcs.exe from monocharge-20030205.
xsp is version 0.2
   
it installs without errors and starts up without errors (mono server.exe)
but when i connect via browser to localhost:8080 i get this one

--

mcs /target:library /r:System.Web.dll /r:System.Data.dll
/r:System.Drawing.dll /r:bin/tabcontrol.dll /r:bin/tabcontrol2.dll
/out:tmp685123600.dll /var/tmp/tmp48ab2927.cs

(server.exe:22904): GLib-WARNING **: Invalid file descriptor.

mono in free(): warning: page is already free
output: Compilation succeeded

** (server.exe:22903): CRITICAL **: : The handle daemon vanished!
--

how can i fix these issues?
thanks for your help in advance!

greets, josef
-- 
www: http://www.daemon.li
nic-hdl: JER1080312-NICAT
FreeBSD PortMaintainer 
Student of ComputerScience
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list



Re: [Mono-list] Trying MONO

2003-02-16 Thread Jonathan Pryor
System.Windows.Forms doesn't work under mono yet.  Either use console
output, or use another toolkit like Gtk#:

http://www.go-mono.com/gtk-sharp.html

or Qt#:

http://qtcsharp.sourceforge.net/

 - Jon

On Sun, 2003-02-16 at 12:16, Paulo R. Quicoli wrote:
> HI !!!
>  
> i'm new to MONO but i was reading some mono docs... and i believe 
> MONO will shock the computer world !!!
>  
>  
> Well, 
>  
> i've build a little "Hellow World"  under windows .NET , using Delphi
> for .NET preview  so i got the application generated and tried to
> run it under linux, using:
>  
> mono myapp.exe
>  
> so an exception raised  
>  
> this little application uses windows.forms namespace  
> the windows.forms namespace is converted to mono ???
>  
> thanks... and congraglations for your hard work 
>  
> Paulo Roberto Quicoli
> Jaboticabal/SP - Brasil
> Membro da Comunidade Firebird de Língua Portuguesa
> "Fazendo o Firebird falar Português"

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



[Mono-list] MySql and Mono Problems

2003-02-16 Thread Pablo Fischer
Hello all!

I downloaded the ByteFX.Data.MySQLClient and installed it in /usr/lib,
then I type a little code (http://unmada.ods.org/mono/mysqlsharp.cs) to
try to get some data of a table. But also I get this error:

Unhandled Exception: System.Net.Sockets.SocketException: Connection
refused
in (unmanaged) mono(mono_raise_exception+0x12) [0x80bb14b]
in (unmanaged)
mono(ves_icall_System_Net_Sockets_Socket_Connect_internal+0x66)
[0x80d1141]
in <0x0005a> 00 System.Net.Sockets.Socket:Connect (System.Net.EndPoint)
in <0x000b3> 00 ByteFX.Data.MySQLClient.Driver:CreateSocketStream
(string,int)
in <0x00038> 00 ByteFX.Data.MySQLClient.Driver:Open
(string,int,string,string,bool)
in <0x000e4> 00 ByteFX.Data.MySQLClient.MySQLConnection:Open ()
in <0x000a0> 00 .Test:Main (string[])

How you can see, its a problem when trying to connect to MySql, also..:

* Have mysql running
* The user have permissions
* The database and the table exists 

Any ideas?.. thanks.
-- 
Pablo Fischer <[EMAIL PROTECTED]>


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



RE: [Mono-list] ANTLR and mono

2003-02-16 Thread Kunle Odutola
To add to Paolo's experiences with ANTLR and Mono:
http://groups.yahoo.com/group/antlr-interest/message/7468

Cheers,

Kunle
www.antlr.org

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Paolo Molaro
> Sent: 15 February 2003 11:56
> To: [EMAIL PROTECTED]
> Subject: Re: [Mono-list] ANTLR and mono
>
>
> On 02/14/03 Jorge Garcia Oncins wrote:
> > the last version of ANTLR parser generator includes C# code generation.
> > I'm trying to get it working on Linux and mono  but I can't.  Does
> > someone has achieved this? How?
>
> Can you be more specific? Do you get errors compiling it, running it,
> using the grammar or what else?
>
> I just compiled the C# runtime in the lib/csharp/src/ directory with:
>
> mcs /r:System.Drawing /r:System.Windows.Forms /target:library
> /out:antlr.dll *.cs */*.cs
>
> I copied the antlr.dll file to the examples/csharp/HTML directory.
>
> I generated the parser sources with the java tool (looks like there is
> no tool in C# to do that?) and then compiled with:
>
> mcs Main.cs HTML*.cs /r:antlr
>
> Running mono Main.exe < test.html gives no errors as expected,
> while doing mono Main.exe < HTML.build (a nant build file)
> spewes lots of erros, so it seems ANTLR is happy with mono,
> it may just need the makefile-fu to build the C# stuff with mcs.
>
> lupus
>
> --
> -
> [EMAIL PROTECTED] debian/rules
> [EMAIL PROTECTED] Monkeys do it better
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list
>

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



[Mono-list] mono performance on highly recursive functions

2003-02-16 Thread Marcus
Yesterday Jeroen Frijters posted an array creation test, where mono did 
particularly badly. I am wondering if mono's uncharacteristically poor 
performance on that test is caused by a more general problem with highly 
recursive functions.

One well-known test that features a great deal of recursion is Ackermann test. 
I've noticed for a while that mono runs the Ackermann test very slowly in 
comparison to other VMs. On most tests, mono does very well, frequently 
faster than Blackdown's JVM but slower than IBM's. In this case, mono takes 
25 times as long as IBM's JVM and 6 times as long as Blackdown's. Perhaps 
this is an area that merits some investigation.

I'm giving the test results for a variety of platforms. Obviously different 
machines will give different results, but the relative comparison is the 
interesting point here.

IBM JVM 1.4
Blackdown   5.0
mono29.7
ilrun   26.7
g++ 1.7

Where the versions tested were

IBM JVM: Classic VM (build 1.3.1, J2RE 1.3.1 IBM build cxia32131-20020622 (JIT 
enabled: jitc))

Blackdown: Java(TM) 2 Runtime Environment, Standard Edition (build 
Blackdown-1.3.1-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.1-FCS, mixed mode)

g++: GCC 3.2 (-O3 -fomit-frame-pointer -mpreferred-stack-boundary=2 
-march=athlon-tbird)

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



Re: [Mono-list] problem with FreeBSD & monodoc, multiple questions

2003-02-16 Thread Lloyd Dupont
HI Jonathan,

Thanks for these very informative answers...
Get to try that tonight.

- Original Message - 
From: "Jonathan Pryor" <[EMAIL PROTECTED]>
To: "Lloyd Dupont" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, February 17, 2003 3:02 AM
Subject: Re: [Mono-list] problem with FreeBSD & monodoc, multiple questions


> Responses inline...
> .

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



Re: [Mono-list] Status of Web Services in mono

2003-02-16 Thread Miguel de Icaza
Hello,

> I'm planning on writing a program that uses Web Services, and I was just
> wondering how web services are progressing.  Will they be "done" in mono
> 1.0?

So far very little work has been done on the Web Services support.  

.NET comes with two implementations of SOAP:

* Remoting implementation.

* ASP.NET implementation.

Neither is working at the moment.

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



Re: [Mono-list] Embedding issues ..

2003-02-16 Thread Miguel de Icaza
Hello,

> In a perfect world, I'd like to have a completely isolated VM
> instance associated with each database session. The association
> would be setup when the database client connects and the VM would
> be shut down when the connections ends or timeouts.

The concept of "VM" does not really exist within Mono.  There are a
number of services that are exposed by the Mono JIT engine to managed
and unmanaged code:

* IO abstraction layer.
* Thread abstraction layer.
* Garbage Collection.
* Image loading, introspection.
* Execution and dynamic compilation services.

These services are shared, and are not isolated from each other.

In reality, you would ask Mono to execute code on your behalf.  The
closest you can get to code separation is through the creation of
different "application domains", and running code in different
application domains.  

See Don Box's book for a deeper treatment of Application Domains, which
might be close to what you are looking for. 

> 2. Custom class loader
> 
> In a perfect world it should be not that hard to hack the run-time
> such that classes/bytecode is not loaded from files in the filesystem
> (that is not accessible from the database .. at least it should not),
> but classes/bytecode are loaded from the database itself. Classes/bytecode
> would be uploaded (under compete transaction control) into the database
> via a special interface. 
> 
> Possible?

It would be possible to support this in Mono relatively easily.  But
this is not supported in the distribution as of now.

> 3. Transparent object persistence
> 
> Most important, is it possible to hack the run-time (the CTS?) such that
> a user can declare new types to be persistable, e.g in C# like so:
> 
> public class MyClass
> {
>[Persistable]
> ...
> }
> 
> 
> public class MyKeyedClass
> {
>[Persistable(int)]
> ...
> }

This is part of the things that .NET offers to its users.  The attribute
is actually called "Serializable" though.

> Instances of persistable classes are sharable between all VM instances.
> All synchronisation is done under the hood by the OO database.

In .NET this is handled a bit differently.  I suggest again Don's book
or Ingo Rammer's .NET Remoting book for a more detailed explanation.

The Microsoft.NET documentation will also be helpful here.

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



Re: [Mono-list] Newbie in NJ

2003-02-16 Thread Miguel de Icaza
Hello Steve,

> I am looking at trying to get started, but I am, in general a newbie in
> Linux.I would like to spend an hour a day helping out. I think C# is
> cool. I program for a living on Windows, and my motivations for wanting
> to help are:
> 
> 1) I believe you have to code at least an hour a day to keep your skills
> sharp and I have gotten myself into a position where I am not coding as
> much as I used to.
> 
> 2) I think .NET and C# are really cool and would love to see it working
> everywhere.

We recommend that you get one of the pre-packaged versions of Mono to
start with.  This is a softer introduction to Mono.  Try building Mono
with this tree, and then you can graduate to use the CVS version of
Mono.

CVS usually requires people to keep up to date with changes, patches and
to be in closer contact (through mono-patches and the mailing list
discussions) or it can be a time consuming experience.

You can see how to contribute to the project here:

www.go-mono.com/contributing.html

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



Re: [Mono-list] Mono

2003-02-16 Thread Miguel de Icaza
Hello,

> I was looking at go-mono.com. What software do I need to do this? Where do I 
> get it? Did I miss something on the site? It looked more like a collection 
> of reports than anything else.

You should download the pre-packaged software of Mono:

www.go-mono.com/download.html

There should be a version for your system already pre-compiled.  With
this you can start writing small programs and starting to get
comfortable with Mono.

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



Re: [Mono-list] Compilation Errors on DataSet Classes GeneratedbyXSD.exe

2003-02-16 Thread Miguel de Icaza
Hello!

> With this patch, a newly generated class (by xsd.exe) needs only this
> modification to work:
> 32c32
> < this.Relations.CollectionChanged += schemaChangedHandler;
> ---
> > //this.Relations.CollectionChanged += schemaChangedHandler;
> 
> DataRelation related functions are largely not yet implemented. In this case
> "this.Relations" throws NotImplementedException. There is no solution except we
> can create a copy of DataRelationCollection and store it in
> DataSet.relationCollection.

Any chance we can get you interested in implementing those portions of
the code?

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



Re: [Mono-list] Compilation Errors on DataSet Classes GeneratedbyXSD.exe

2003-02-16 Thread Alan Tam
I think at first I have to learn the features of DataRelation first. I am only
a new comer to .NET and C# when I did my last contributition. E.g. I don't even
understand what an attribute means, although I can code it according to the
specification. I don't even have a good enough use case that give me the
testing environment to test it, becoz I don't know it well.

If you only need a simple non-working implementation of the class, then it is
not very difficult. But, the missing code to deal with relations is not only
limited in this class, but over the System.Data and System.Xml assemblies. I do
have the interest, but I think I need time to learn more in order to start to
be able to contribute. I think there should be other talents here who gets to
this faster.

Regards,
Alan

- Original Message -
From: "Miguel de Icaza" <[EMAIL PROTECTED]>
To: "Alan Tam" <[EMAIL PROTECTED]>
Cc: "Mono-List" <[EMAIL PROTECTED]>
Sent: Monday, February 17, 2003 7:52 AM
Subject: Re: [Mono-list] Compilation Errors on DataSet Classes
GeneratedbyXSD.exe


> Hello!
>
> > With this patch, a newly generated class (by xsd.exe) needs only this
> > modification to work:
> > 32c32
> > < this.Relations.CollectionChanged += schemaChangedHandler;
> > ---
> > > //this.Relations.CollectionChanged += schemaChangedHandler;
> >
> > DataRelation related functions are largely not yet implemented. In this
case
> > "this.Relations" throws NotImplementedException. There is no solution
except we
> > can create a copy of DataRelationCollection and store it in
> > DataSet.relationCollection.
>
> Any chance we can get you interested in implementing those portions of
> the code?
>
> Miguel
>

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



RE: [Mono-list] MySql and Mono Problems

2003-02-16 Thread Reggie Burnett
Are you certain that you have MySQL running?  Also, you didn't specify a
port number so is MySQL running using it's standard port (3306)?

Reggie

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:mono-list-
> [EMAIL PROTECTED]] On Behalf Of Pablo Fischer
> Sent: Sunday, February 16, 2003 1:53 AM
> To: [EMAIL PROTECTED]
> Subject: [Mono-list] MySql and Mono Problems
> 
> Hello all!
> 
> I downloaded the ByteFX.Data.MySQLClient and installed it in /usr/lib,
> then I type a little code (http://unmada.ods.org/mono/mysqlsharp.cs)
to
> try to get some data of a table. But also I get this error:
> 
> Unhandled Exception: System.Net.Sockets.SocketException: Connection
> refused
> in (unmanaged) mono(mono_raise_exception+0x12) [0x80bb14b]
> in (unmanaged)
> mono(ves_icall_System_Net_Sockets_Socket_Connect_internal+0x66)
> [0x80d1141]
> in <0x0005a> 00 System.Net.Sockets.Socket:Connect
(System.Net.EndPoint)
> in <0x000b3> 00 ByteFX.Data.MySQLClient.Driver:CreateSocketStream
> (string,int)
> in <0x00038> 00 ByteFX.Data.MySQLClient.Driver:Open
> (string,int,string,string,bool)
> in <0x000e4> 00 ByteFX.Data.MySQLClient.MySQLConnection:Open ()
> in <0x000a0> 00 .Test:Main (string[])
> 
> How you can see, its a problem when trying to connect to MySql,
also..:
> 
> * Have mysql running
> * The user have permissions
> * The database and the table exists
> 
> Any ideas?.. thanks.
> --
> Pablo Fischer <[EMAIL PROTECTED]>
> 
> 
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list


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



RE: [Mono-list] MySql and Mono Problems

2003-02-16 Thread Pablo Fischer
Hello!

Yes, mysql is running.. and also with the port by default (3300).

Pablo

El lun, 17-02-2003 a las 07:31, Reggie Burnett escribió:
> Are you certain that you have MySQL running?  Also, you didn't specify a
> port number so is MySQL running using it's standard port (3306)?
> 
> Reggie
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:mono-list-
> > [EMAIL PROTECTED]] On Behalf Of Pablo Fischer
> > Sent: Sunday, February 16, 2003 1:53 AM
> > To: [EMAIL PROTECTED]
> > Subject: [Mono-list] MySql and Mono Problems
> > 
> > Hello all!
> > 
> > I downloaded the ByteFX.Data.MySQLClient and installed it in /usr/lib,
> > then I type a little code (http://unmada.ods.org/mono/mysqlsharp.cs)
> to
> > try to get some data of a table. But also I get this error:
> > 
> > Unhandled Exception: System.Net.Sockets.SocketException: Connection
> > refused
> > in (unmanaged) mono(mono_raise_exception+0x12) [0x80bb14b]
> > in (unmanaged)
> > mono(ves_icall_System_Net_Sockets_Socket_Connect_internal+0x66)
> > [0x80d1141]
> > in <0x0005a> 00 System.Net.Sockets.Socket:Connect
> (System.Net.EndPoint)
> > in <0x000b3> 00 ByteFX.Data.MySQLClient.Driver:CreateSocketStream
> > (string,int)
> > in <0x00038> 00 ByteFX.Data.MySQLClient.Driver:Open
> > (string,int,string,string,bool)
> > in <0x000e4> 00 ByteFX.Data.MySQLClient.MySQLConnection:Open ()
> > in <0x000a0> 00 .Test:Main (string[])
> > 
> > How you can see, its a problem when trying to connect to MySql,
> also..:
> > 
> > * Have mysql running
> > * The user have permissions
> > * The database and the table exists
> > 
> > Any ideas?.. thanks.
> > --
> > Pablo Fischer <[EMAIL PROTECTED]>
> > 
> > 
> > ___
> > Mono-list maillist  -  [EMAIL PROTECTED]
> > http://lists.ximian.com/mailman/listinfo/mono-list
> 
-- 
Pablo Fischer <[EMAIL PROTECTED]>

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



[Mono-list] mcs/class/doc/TemplateTest.cs corrupt

2003-02-16 Thread Nick Drochak
All,

If you are updating from CVS, you may have an error in mcs/class/doc on
TemplateTest.cs.  If you get the error, just delete that file and update
again.


-- 
Nick D


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



[Mono-list] mcs/class/doc/TemplateTest.cs corrupt

2003-02-16 Thread Nick Drochak
All,

If you are updating from CVS, you may have an error in mcs/class/doc on
TemplateTest.cs.  If you get the error, just delete that file and update
again.


-- 
Nick D


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