Re: [Mono-list] GTK#

2004-02-28 Thread Erik Dasque
Hi Elfred,

what specific problems are you running into ?

One thing you are probably having troubles with is a PPC bug which 
prevents the ppc JIT to work well. You're likely to be more successful 
if you change the Makefiles and use mint (the interpreter) instead of 
mono (the JIT) for now. The bug has been fixed and the patch is in the 
next release. Also, Mono on PPC doesn't handle exceptions yet (which 
will be fixed later). Mono on MacOS X is no ready for prime time yet 
but it's nicely coming along. I got GTK# 0.16 to compile and run on 
MacOS X.

Erik

On Feb 28, 2004, at 4:29 PM, Elfred Pagán wrote:

Hello,
I'm not sure if this would be the right place to post this but, does 
anyone have instructions on building GTK# on OS X? I'm running Mono 
30.2 . Any help would be great, thanks
Elfred Pagán

___
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] GTK#

2004-02-28 Thread Elfred Pagán
Hello,
I'm not sure if this would be the right place to post this but, does 
anyone have instructions on building GTK# on OS X? I'm running Mono 
30.2 . Any help would be great, thanks
Elfred Pagán

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


[Mono-list] sqlsharpgtk patches - (gtk-sharp 0.17, editor, open reader)

2004-02-28 Thread Gonia Eric - egonia
Attached are three patches for sqlsharpgtk. I am guessing this would be
the list to post these to instead of mono-devel since they are dealing
with a tool and not directly with mono.

gtkupgrade.diff
Upgrade to gtk-sharp 0.17

editorfix.diff
Fix problem with returns at the end of a line in the Sql Editor.
Fix highlight and type over problem.

openreaderfix.diff
Fix reader left open after update sql statements run.

This is my first time to contribute changes back to an open source
project so it is very possible I have done this wrong, so please feel
free to correct me or provide suggestions on how to submit or create
these in the future.

Eric
Index: sqlsharpgtk/sqlsharpgtk/SqlEditorSharp.cs
===
RCS file: /mono/sqlsharpgtk/sqlsharpgtk/SqlEditorSharp.cs,v
retrieving revision 1.2
diff -u -r1.2 SqlEditorSharp.cs
--- sqlsharpgtk/sqlsharpgtk/SqlEditorSharp.cs	11 Jan 2004 05:27:58 -	1.2
+++ sqlsharpgtk/sqlsharpgtk/SqlEditorSharp.cs	28 Feb 2004 22:01:10 -
@@ -410,7 +410,7 @@
 			int i;
 			char ch;
 
-			for (i = 0; i < char_count; i++) {
+			for (i = 0; i < text.Length; i++) {
 match_start1 = start_iter;
 match_end1 = start_iter;
Index: sqlsharpgtk/sqlsharpgtk/DataGrid.cs
===
RCS file: /mono/sqlsharpgtk/sqlsharpgtk/DataGrid.cs,v
retrieving revision 1.2
diff -u -r1.2 DataGrid.cs
--- sqlsharpgtk/sqlsharpgtk/DataGrid.cs	11 Jan 2004 05:27:58 -	1.2
+++ sqlsharpgtk/sqlsharpgtk/DataGrid.cs	28 Feb 2004 21:37:33 -
@@ -227,7 +227,7 @@
 		public TreeIter NewRow () 
 		{ 
 			TreeIter rowTreeIter = new TreeIter();
-			store.Append (out rowTreeIter);
+			rowTreeIter = store.Append ();
 			return rowTreeIter;
 		}
 
Index: sqlsharpgtk/sqlsharpgtk/FileSelectionDialog.cs
===
RCS file: /mono/sqlsharpgtk/sqlsharpgtk/FileSelectionDialog.cs,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 FileSelectionDialog.cs
--- sqlsharpgtk/sqlsharpgtk/FileSelectionDialog.cs	17 Oct 2003 04:11:49 -	1.1.1.1
+++ sqlsharpgtk/sqlsharpgtk/FileSelectionDialog.cs	28 Feb 2004 21:37:34 -
@@ -11,7 +11,6 @@
 using System;
 
 using Gtk;
-using GtkSharp;
 
 namespace Mono.GtkSharp.Goodies 
 {
Index: sqlsharpgtk/sqlsharpgtk/LoginDialog.cs
===
RCS file: /mono/sqlsharpgtk/sqlsharpgtk/LoginDialog.cs,v
retrieving revision 1.2
diff -u -r1.2 LoginDialog.cs
--- sqlsharpgtk/sqlsharpgtk/LoginDialog.cs	11 Jan 2004 05:27:58 -	1.2
+++ sqlsharpgtk/sqlsharpgtk/LoginDialog.cs	28 Feb 2004 21:37:34 -
@@ -17,7 +17,6 @@
 	using System.Text;
 	using System.IO;
 	using Gtk;
-	using GtkSharp;
 	using SqlEditorSharp;
 	using System.Reflection;
 	using System.Runtime.Remoting;
Index: sqlsharpgtk/sqlsharpgtk/SqlEditorSharp.cs
===
RCS file: /mono/sqlsharpgtk/sqlsharpgtk/SqlEditorSharp.cs,v
retrieving revision 1.2
diff -u -r1.2 SqlEditorSharp.cs
--- sqlsharpgtk/sqlsharpgtk/SqlEditorSharp.cs	11 Jan 2004 05:27:58 -	1.2
+++ sqlsharpgtk/sqlsharpgtk/SqlEditorSharp.cs	28 Feb 2004 21:37:36 -
@@ -195,13 +195,13 @@
 			char ch = ' ';
 
 			insert_mark = sqlTextBuffer.InsertMark;
-			sqlTextBuffer.GetIterAtMark (out insert_iter, insert_mark);
+			insert_iter = sqlTextBuffer.GetIterAtMark (insert_mark);
 			//line = insert_iter.Line;
 			
 			/* get the starting and ending text iterators */
-			sqlTextBuffer.GetIterAtOffset (out start_iter, 0);
+			start_iter = sqlTextBuffer.GetIterAtOffset (0);
 			char_count = sqlTextBuffer.CharCount;
-			sqlTextBuffer.GetIterAtOffset (out end_iter, char_count);
+			end_iter = sqlTextBuffer.GetIterAtOffset (char_count);
 			
 			SqlSharpGtk.DebugWriteLine ("char_count: " + char_count);
 			
@@ -317,7 +317,7 @@
 			 * - SQL keywords (SELECT, FROM, WHERE, UPDATE, etc)
 			 */
 			//if (line != line_last_changed) {
-			sqlTextBuffer.GetIterAtOffset (out start_iter, 0);
+			start_iter = sqlTextBuffer.GetIterAtOffset (0);
 			//}
 			//else {
 			//	if (insert_iter.StartsLine () == true) {
@@ -332,7 +332,7 @@
 			// get starting and ending iters 
 			// and character count of line
 			char_count = sqlTextBuffer.CharCount;
-			sqlTextBuffer.GetIterAtOffset (out end_iter, char_count);
+			end_iter = sqlTextBuffer.GetIterAtOffset (char_count);
 			
 			// for each line, look for:
 			// line comments, constants, and keywoards 
@@ -651,7 +651,7 @@
 			StreamWriter sw = null;
 			
 			sw = new StreamWriter(outFilename);			
-			sqlTextBuffer.GetIterAtOffset (out iter, 0);
+			iter = sqlTextBuffer.GetIterAtOffset (0);
 			start_iter = iter;
 			while (iter.ForwardLine()) {
 text = sqlTextBuffer.GetText(start_iter, iter, false);
Index: sqlsharpgtk/sqlsharpgtk/sqlsharpgtk.cs
===
RCS

[Mono-list] Multiple Root in XSP

2004-02-28 Thread Pablo Fischer
Hi!

Ok, I'll explain my problem: I have 2 projects:

* asp.net-examples (/usr/share/asp.net-examples/asp)
* school projects (/pablo/aspnet)

What I'm looking for, is to run both projects with XSP but each one with
a --root.

I need to tell --root to both projects, cause If I just run with :

--applications
/samples:/usr/share/asp.net-examples/asp,/school:/pablo/aspnet

It runs ok, but in the browser I can't see the images (for example, the
mono logo in /samples), cause the WebServer doesn't know where to look
the images (the root dir).

I found that I can solve my problem running two xsp's, each one with a
different root, for example:

xsp --root /usr/share/asp.net-examples/asp --applications
/samples:/usr/share/asp.net-examples/asp

xsp --port 8081 --root /pablo/aspnet --applications /pablo/aspnet

But that isn't too secure, cause I'm using 2 ports, just to imagine when
I need to test 10 projects, 10 ports?.

So, I'd like to know If I can give to --root multiple paths, and when I
access via Browser xsp will know which --root to use.

Thanks!
Pablo 
-- 
Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)
http://www.pablo.com.mx
http://www.debianmexico.org

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


RE: [Mono-list] [off-topic] mailman anti-spam

2004-02-28 Thread Rodolfo Campero
I'm sorry for this off-topic, but I would suggest to configure the
mailman of these lists with "Show member addrs so they're not directly
recognisable as email addrs?" (Privacy Options) set to Yes.
I totally agree.
In the last few days, I found that someone was using my email address in the 
"From" field to send a virus. This also happened to other people in the 
list. I'm sure that this kind of measures aren't enaugh to stop spam and 
other related problems, but at least is something.

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


Re: [Mono-list] [off-topic] mailman anti-spam

2004-02-28 Thread Miguel de Icaza

> I'm sorry for this off-topic, but I would suggest to configure the
> mailman of these lists with "Show member addrs so they're not directly
> recognisable as email addrs?" (Privacy Options) set to Yes.

That wont work, it was a good idea 4 years ago.  Most modern spammers
can reconstruct your email address from that and a lot more.


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


Re: [Mono-list] MCS Download Link Broken

2004-02-28 Thread Miguel de Icaza
Hey!

> The link for mcs-0.30.2 is broken on http://go-mono.com/download.html

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


Re: [Mono-list] RE: Getting System.Drawing to work and a windows.forms question

2004-02-28 Thread Miguel de Icaza
Hello,

> >>Am I right in thinking that you can use windows.forms now, but through
> WINE? 
> >>If so, will you need to use it through wine in the future, or will it
> be 
> >>available built in to mono once it has been implemented?
> 
> Hi!. I am not so sure, but I think Mono's implementation of
> System.Drawing will continue being based on Cairo which I think needs a
> special version of Wine. Until now Mono make this upgrade of Wine
> automatically.

You are confused.

System.Drawing requires Cairo.

System.Windows.Forms requires Wine and System.Drawing.

There is no System.Drawing dependency on Wine.

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


Re: [Mono-list] Getting System.Drawing to work and a windows.forms question

2004-02-28 Thread Miguel de Icaza
Hello,

> I'm a C#/C++ programmer who joined the Linux scene a few months ago.
> I always need to use System.Drawing, and have to keep going over to my 
> windows box to do so. It's a bit annoying, having to use windows for that 
> one thing. I recently saw in some article or other that you can use it on 
> Mono, so I googled for a bit looking for information.
> I have gathered that I need GDI+, but am at loss for where to get it. Once I 
> have got it, I have no idea how to configure it so I can get it to work.. I 
> could really use some help on this matter, both on how to configure and 
> install it, and how to compile source code using System.Drawing.

It is not ready for production use.  You will be just too frustrated
with it right now.   But libgdiplus is available from the download
section on the Mono site.

> Am I right in thinking that you can use windows.forms now, but through WINE? 
> If so, will you need to use it through wine in the future, or will it be 
> available built in to mono once it has been implemented?

That is another part that we have not released;  When we have it
completed in the next few weeks, instructions will be available.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [MonoDevelop] Re: [Mono-list] [off-topic] mailman anti-spam

2004-02-28 Thread Todd Berman
Hmm, I just went to do this, and it seems its already been done.

Not sure if someone else went ahead and did this or what. Lemme know if
it continues displaying the incorrect behaviour.

--Todd

On Sat, 2004-02-28 at 09:25, Marco Canini wrote:
> Absolutely agreed
> 
> On Sat, 2004-02-28 at 14:26, Sergio Blanco Cuaresma wrote:
> > I'm sorry for this off-topic, but I would suggest to configure the
> > mailman of these lists with "Show member addrs so they're not directly
> > recognisable as email addrs?" (Privacy Options) set to Yes.
> > 
> > The reason is very clear, actually the archives which are accessible by
> > web contain the e-mails, for example:
> > 
> > http://lists.ximian.com/archives/public/monodevelop-list/2004-February/000246.html
> > 
> > Spammers using web scanners can find those e-mails as you know. If we
> > activate the option mentioned above we would get something like:
> > 
> > https://listas.hispalinux.es/pipermail/gplurv/2004-February/000930.html
> > 
> > Not only the headers will be obscured, the mail addresses written in the
> > body of the messages will be too.
> > 
> > I think it is important for fighting against spam. What do you think
> > about this idea?
> > 
> > Sergio.

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


[Mono-list] RE: Getting System.Drawing to work and a windows.forms question

2004-02-28 Thread Alejandro Ospina
>>Am I right in thinking that you can use windows.forms now, but through
WINE? 
>>If so, will you need to use it through wine in the future, or will it
be 
>>available built in to mono once it has been implemented?

Hi!. I am not so sure, but I think Mono's implementation of
System.Drawing will continue being based on Cairo which I think needs a
special version of Wine. Until now Mono make this upgrade of Wine
automatically.
BYE!

Alejandro Ospina.

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


Re: [Mono-list] [off-topic] mailman anti-spam

2004-02-28 Thread Marco Canini
Absolutely agreed

On Sat, 2004-02-28 at 14:26, Sergio Blanco Cuaresma wrote:
> I'm sorry for this off-topic, but I would suggest to configure the
> mailman of these lists with "Show member addrs so they're not directly
> recognisable as email addrs?" (Privacy Options) set to Yes.
> 
> The reason is very clear, actually the archives which are accessible by
> web contain the e-mails, for example:
> 
> http://lists.ximian.com/archives/public/monodevelop-list/2004-February/000246.html
> 
> Spammers using web scanners can find those e-mails as you know. If we
> activate the option mentioned above we would get something like:
> 
> https://listas.hispalinux.es/pipermail/gplurv/2004-February/000930.html
> 
> Not only the headers will be obscured, the mail addresses written in the
> body of the messages will be too.
> 
> I think it is important for fighting against spam. What do you think
> about this idea?
> 
> Sergio.
-- 
Marco Canini <[EMAIL PROTECTED]>

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


[Mono-list] [off-topic] mailman anti-spam

2004-02-28 Thread Sergio Blanco Cuaresma

I'm sorry for this off-topic, but I would suggest to configure the
mailman of these lists with "Show member addrs so they're not directly
recognisable as email addrs?" (Privacy Options) set to Yes.

The reason is very clear, actually the archives which are accessible by
web contain the e-mails, for example:

http://lists.ximian.com/archives/public/monodevelop-list/2004-February/000246.html

Spammers using web scanners can find those e-mails as you know. If we
activate the option mentioned above we would get something like:

https://listas.hispalinux.es/pipermail/gplurv/2004-February/000930.html

Not only the headers will be obscured, the mail addresses written in the
body of the messages will be too.

I think it is important for fighting against spam. What do you think
about this idea?

Sergio.

-- 

[aka Marble]
 Web Personal  <>  http://www.marblestation.com
 Registered LiNUX user #140941  <>  http://counter.li.org/
 Socio #3274 de HispaLinux  <>  http://www.hispalinux.es
 Socio #1 de GPL URV  <>  http://www.gplurv.org
 GnuPG key: 0x0ED2CF9D  <>  hkp://pgp.escomposlinux.org


signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada	digitalmente


[Mono-list] Getting System.Drawing to work and a windows.forms question

2004-02-28 Thread blue fire
Hi
I'm a C#/C++ programmer who joined the Linux scene a few months ago.
I always need to use System.Drawing, and have to keep going over to my 
windows box to do so. It's a bit annoying, having to use windows for that 
one thing. I recently saw in some article or other that you can use it on 
Mono, so I googled for a bit looking for information.
I have gathered that I need GDI+, but am at loss for where to get it. Once I 
have got it, I have no idea how to configure it so I can get it to work.. I 
could really use some help on this matter, both on how to configure and 
install it, and how to compile source code using System.Drawing.

I also have a small question about the Windows.Forms part of the mono 
project.
Am I right in thinking that you can use windows.forms now, but through WINE? 
If so, will you need to use it through wine in the future, or will it be 
available built in to mono once it has been implemented?

Thanks for your time -
Paul
_
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list