[Mono-dev] Can Mono run on IBM-AIX OS?

2006-06-15 Thread Aung








Hi guys,



Perhaps, these are newbie questions. 

Can Mono run on IBM-AIX OS?

Is it commercially feasible (performance wise) to run XSP as
the server?

Is it possible to change file extension from .aspx or asmx
to something else?



Thanks.



Aung
















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


[Mono-dev] Re: Bug with Serialization of Nullable type

2006-06-15 Thread Andrés G. Aragoneses [ knocte ]

I wrote:

I filed a bug about Serialization:

http://bugzilla.ximian.com/show_bug.cgi?id=78611

I have made some research and I have proposed a small change to solve 
it, but I don't have experience or knowledge to determine if it's correct.


Any help would be appreciated.


I have managed to create a simple testcase for this bug, if anyone is 
interested:


http://bugzilla.ximian.com/showattachment.cgi?attach_id=17190

Regards,

Andrés  [ knocte ]

--

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


[Mono-dev] State of support for VB.NET

2006-06-15 Thread Alex Chudnovsky

Hi all,

Has anyone ported VB.NET apps to Mono recently, particularly I am 
wondering if VB.NET is supported in ASP pages?


I've done reasonable amount of C# porting and found Mono is very good 
and I did not even have to recompile, but from what I heard VB.NET 
generates less Mono-compatible code, is that still the case? Say I can 
use C# app compiled in VS 2003 without recompilation in Mono, can same 
be done for VB.NET or it will require recompilation?


I am aware of http://www.mono-project.com/VisualBasic.NET_support page, 
but it has rather short descriptions, I'd really like to see page 
summarising what's not yet supported.


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


Re: [Mono-dev] DataTable.CreateDataReader patch

2006-06-15 Thread T Senganal
Hi 

 Here's a naive implementation of DataTable.CreateDataReader. This is
 too simple for me to believe it is correct. Comments, please.

The code for creating the DataTableReader is fine.. But the
DataTableReader has quite a 
few issues to be fixed and hence the delay in comitting the changes
(need more tests)..
I am currently fixing the 2.0 methods and will commit the changes soon..

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


[Mono-dev] Re: Patch for AspTokenizer (Bug 78643)

2006-06-15 Thread Gonzalo Paniagua Javier
On Thu, 2006-06-15 at 14:25 +0200, Juraj Skripsky wrote:
 Hi,
 
 Could you please review and approve the attached patch?
 It fixes bug http://bugzilla.ximian.com/show_bug.cgi?id=78643
 
 I don't know how the tokenizer is supposed to pass errors to the parser.
 For the quoting error I've made it throw an exception.

Try this one and let me know if everything works as it should.
Thanks.

-Gonzalo

Index: AspTokenizer.cs
===
--- AspTokenizer.cs	(revision 61724)
+++ AspTokenizer.cs	(working copy)
@@ -44,6 +44,7 @@
 		public const int TEXT		= 0x024;
 		public const int DOUBLEDASH 	= 0x025;
 		public const int CLOSING 	= 0x026;
+		public const int NOTWELLFORMED 	= 0x027;
 	}
 
 	class AspTokenizer
@@ -188,6 +189,8 @@
 		read_char ();
 		break;
 	}
+} else if (quoted  c == quoteChar) {
+	return Token.NOTWELLFORMED;
 }
 
 sb.Append ((char) c);
Index: AspParser.cs
===
--- AspParser.cs	(revision 61724)
+++ AspParser.cs	(working copy)
@@ -332,6 +332,11 @@
 
 id = tokenizer.Value;
 if (Eat ('=')){
+	if (Eat (Token.NOTWELLFORMED)){
+		OnError (The server tag is not well formed.);
+		return null;
+	}
+
 	if (Eat (Token.ATTVALUE)){
 		attributes.Add (id, tokenizer.Value);
 	} else if (Eat ('')  Eat ('%')) {
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Can Mono run on IBM-AIX OS?

2006-06-15 Thread Rafael Teixeira

AFAIK,

1) AIX isn't supported/mantained
2) XSP performance is good but not outstanding and we have some way to
go in the GC to allow for non-stop operation.
3) Why? But nevertheless you can register other extensions to be dealt
by the same webhandler that processes .aspx or the one that deals with
.asmx and so on...

Hope it helps,

On 6/15/06, Aung [EMAIL PROTECTED] wrote:





Hi guys,



Perhaps, these are newbie questions.

Can Mono run on IBM-AIX OS?

Is it commercially feasible (performance wise) to run XSP as the server?

Is it possible to change file extension from .aspx or asmx to something
else?



Thanks.



Aung










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






--
Rafael Monoman Teixeira
---
The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. George Bernard Shaw
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] State of support for VB.NET

2006-06-15 Thread Alex Chudnovsky


Hi Rafael,

Thanks for this update! I've actually received updated information that 
(thankfully!) the job will need to be done in C#, which I know Mono 
supports very well ;-)


cheers,

Alex

Rafael Teixeira wrote:


Hi Alex,

For precompiled usage (VB.NET 1.x (7.x?)) I think our MSVB.dll is good
enough, but currently mbas isn't able to compile any page (Sorry can
get yet to work on the fix).

The newest compiler in the family, vbnc will be able to compile VB.NET
2.0 (8.0?) but it is still in the beginning.

So if you have full codebehind precompiled ASP.NET 1.x pages with
VB.NET you can give Mono a spin, and tell us if you find any bug.

Thank you for your questions and we await your feedback,

:)

On 6/15/06, Alex Chudnovsky [EMAIL PROTECTED] wrote:


Hi all,

Has anyone ported VB.NET apps to Mono recently, particularly I am
wondering if VB.NET is supported in ASP pages?

I've done reasonable amount of C# porting and found Mono is very good
and I did not even have to recompile, but from what I heard VB.NET
generates less Mono-compatible code, is that still the case? Say I can
use C# app compiled in VS 2003 without recompilation in Mono, can same
be done for VB.NET or it will require recompilation?

I am aware of http://www.mono-project.com/VisualBasic.NET_support page,
but it has rather short descriptions, I'd really like to see page
summarising what's not yet supported.

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






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


RE: [Mono-dev] [PATCH] System.Web.Compilation.TemplateControlCompiler

2006-06-15 Thread Gonzalo Paniagua Javier
On Thu, 2006-06-15 at 09:34 -0700, Andrew Skiba wrote:
 Hi Gonzalo,
 
 please review the fixed test and fix.
 
 also please review FormView and UrlProperty patches I sent earlier.

This is ok to commit.
Thanks.

-Gonzalo


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


RE: [Mono-dev] [PATCH] System.Web.UI.WebControls.FormView test and patch

2006-06-15 Thread Gonzalo Paniagua Javier
On Tue, 2006-06-13 at 08:36 -0700, Andrew Skiba wrote:
 The previous patch rendered empty cssclass attribute by mistake. This
 test and fix handle this case.
 
 If no one objects, I will commit.

Please, commit.
Thanks.

-Gonzalo


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


Re: [Mono-list] fedora-5-x86_64 rpms available

2006-06-15 Thread Paul
Hi,

 There are now rpms posted for fedora-5-x86_64 (both 1.1.13.8 and 1.1.15
 releases).

1.1.15 is the current rawhide version and I think 1.1.13.8 is what those
on FC5 are using anyway.

While using either of them should cause no real problems either way, it
does become problematic when bug tracking - especially when people mix
packages (such as can be seen by using the FC mono and Novell
monodevelop). Is the problem on Novell's side or FC's?

TTFN

Paul
-- 
99 Jahre Krieg ließen Keinen Platz für Sieger - Kriegesminister gibt's
nicht mehr - und auch keine Düsenflieger - heute ziehe ich meine Runden
- sehe die Welt in Trümmern liegen - hab' nen Luftballon gefunden - denk
an dich und laß ihn fliegen - Nena, 99 luft balons


signature.asc
Description: This is a digitally signed message part
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] ikvm building problem

2006-06-15 Thread PFJ
Hi,

Okay, this is possibly not the best place to be asking this...

I'm trying to build ikvm-0.28.0.0 from the ikvm.net website. Unlike the
version on the go-mono/sources tree, this actually has the sources in
(naughty naughty...)

I have nant installed on my box along with eclipse-ecj (I'm using FC5).

The problem is that with both 0.22.0.0 and 0.28.0.0, the build fails in
the same place and I'm at a loss to see why as everything looks sane.

The error coming up is

[exec]
File ../../classpath-0.19/external/sax/org/xml/sax/AttributeList.java is
missing

I cannot find this file either. Where does it come from?

TTFN

Paul
-- 
Logic, my dear Zoe, is merely the ability to be wrong with authority -
Dr Who

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


[Mono-list] [Fwd: ikvm building problem]

2006-06-15 Thread PFJ

-- 
Logic, my dear Zoe, is merely the ability to be wrong with authority -
Dr Who
---BeginMessage---
Hi,

Okay, this is possibly not the best place to be asking this...

I'm trying to build ikvm-0.28.0.0 from the ikvm.net website. Unlike the
version on the go-mono/sources tree, this actually has the sources in
(naughty naughty...)

I have nant installed on my box along with eclipse-ecj (I'm using FC5).

The problem is that with both 0.22.0.0 and 0.28.0.0, the build fails in
the same place and I'm at a loss to see why as everything looks sane.

The error coming up is

[exec]
File ../../classpath-0.19/external/sax/org/xml/sax/AttributeList.java is
missing

I cannot find this file either. Where does it come from?

TTFN

Paul
-- 
Logic, my dear Zoe, is merely the ability to be wrong with authority -
Dr Who
---End Message---
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Working with Files

2006-06-15 Thread Lee

Hi Everyone, 

I need to write a small TCP socket server to run on a linux box using a
simple xml based request/response protocol.  The socket server will need to:

1. Be able to replace existing .conf files on the linux box based on
requests from the client.

2. Be able to shell out to utility executables.  An example would be running
the following:

sox foo.wav -r 8000 foo.gsm resample -ql

Are there any caveats or issues that I should be aware of that anyone can
comment on?  Thanks for your help and guidance.

Warm Regards,

Lee Jenkins

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


RE: [Mono-list] ikvm building problem

2006-06-15 Thread Jeroen Frijters
PFJ wrote:
 Okay, this is possibly not the best place to be asking this...

A better place would be the ikvm-developers list
(https://lists.sourceforge.net/lists/listinfo/ikvm-developers)

 I'm trying to build ikvm-0.28.0.0 from the ikvm.net website. 
[...]
 The error coming up is
 
 [exec]
 File 
 ../../classpath-0.19/external/sax/org/xml/sax/AttributeList.java is
 missing
 
 I cannot find this file either. Where does it come from?

You need to download the GNU Classpath sources as well. For ikvm-0.22
you need GNU Classpath 0.19 and for ikvm-0.28 you need 0.91 (the GNU
Classpath version number jumped in between the two releases).

You can get them here:
ftp://ftp.gnu.org/pub/gnu/classpath/classpath-0.19.tar.gz
ftp://ftp.gnu.org/pub/gnu/classpath/classpath-0.91.tar.gz

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


Re: [Mono-list] Working with Files

2006-06-15 Thread Sebastien Pouliot
On Thu, 2006-06-15 at 11:10 -0400, Lee wrote:
 Hi Everyone, 
 
 I need to write a small TCP socket server to run on a linux box using a
 simple xml based request/response protocol.  The socket server will need to:
 
 1. Be able to replace existing .conf files on the linux box based on
 requests from the client.
 
 2. Be able to shell out to utility executables.  An example would be running
 the following:
 
 sox foo.wav -r 8000 foo.gsm resample -ql
 
 Are there any caveats or issues that I should be aware of that anyone can
 comment on?  Thanks for your help and guidance.

Quickly I can see some issues:
Authentication;
Authorization;
Confidentiality;
Auditing
and a caveat:
lack of security will result in very bad things(tm).
-- 
Sebastien Pouliot  [EMAIL PROTECTED]
Blog: http://pages.infinit.net/ctech/

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


RE: [Mono-list] Working with Files

2006-06-15 Thread Lee
  
  Are there any caveats or issues that I should be aware of
 that anyone
  can comment on?  Thanks for your help and guidance.
 
 Quickly I can see some issues:
   Authentication;
   Authorization;
   Confidentiality;
   Auditing
 and a caveat:
   lack of security will result in very bad things(tm).

Thank you for replying.  I should have been more specific..my apologies.  I
am coming from a Windows coding back ground (Delphi and recently C#/VS) and
I was wondering in that particular context, if there was anything that I
should be aware of.  I could have sworn I had mentioned that in my first
post although I obviously did not.  Again, sorry about that.

Actually, now that I think of it, there are some specific questions I'd like
to query as well:

1. Is there a command/class in mono that I can use to invoke specific
applications on the local linux box?  I only want to invoke specific
applications such as the sox app I referred to in my first post or restart
the linux box.  LOL, I will not be giving clients carte blanche on executing
*any* application on the linux box.

2. In copying or moving files in mono/linux, is it the same as with
.net/windows with the exception of the linux/windows differences in
specifying paths?

Thanks again,

Warm Regards,

Lee

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


[Mono-list] ComboBox: can't select item

2006-06-15 Thread Marcos Perez
hi, i'n developping a application on mono using Csharpi use a combobox, where the data is loaded from a database, then the user must select one option, but, when try to select one option, the terminal display this menssaje 
gtk_entry_set_text: assertion `text != NULL' failed, and nothing is selected... =S i'm using this code where data is a stringconection
public void Cargar_Datos (string data, Gtk.ComboBoxEntry comboBox) {  ListStore listStore = new 
Gtk.ListStore(typeof(string)); comboBox.Model = listStore; CellRendererText text = new CellRendererText(); comboBox.PackStart(text, false); comboBox.AddAttribute(text, text, 0); 
   MySqlConnection conexion = new MySqlConnection(datos);  conexion.Open();  string query = SELECT cod_concept, description FROM concepts ORDER BY cod_concept;
  MySqlCommand select = new MySqlCommand(query, conexion);  MySqlDataReader lector;  lector = select.ExecuteReader();while (lector.Read())   {
string value= lector.GetString(0)+ | + lector.GetString(1);listStore.AppendValues(valor);   }   
lector.Close();
  conexion.Close(); }i need help to solve that!!Thanks!!!





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


RE: [Mono-list] Working with Files

2006-06-15 Thread Dallman, John
 1. Be able to replace existing .conf files on the linux box based on
 requests from the client.
 
 2. Be able to shell out to utility executables.  An example 
 would be running the following:

The security issues on this one are, well, large. This is a 
classical example of the kind of server that is intrinsically 
easy to abuse, and in which any buffer overflows or other 
security-related bugs will be likely to be very easy to exploit.

If someone new to server programming had written something 
like this and wanted to run it on a server I was responsible 
for, the answer would be a flat no. 

Rather than writing something from scratch for the job, you'd
be far better trying to find something that is widely used 
and accepted and can do the job you're actually trying to 
accomplish. You haven't explained what this is, but if you 
do, someone on this list may well be able to point you to 
something appropriate. 

-- 
John Dallman, Parasolid Porting Engineer, +44-1223-371554 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] Working with Files

2006-06-15 Thread Adam Tauno Williams
 Actually, now that I think of it, there are some specific questions I'd like
 to query as well:
 1. Is there a command/class in mono that I can use to invoke specific
 applications on the local linux box? 

System.Diagnostics.Process

  I only want to invoke specific
 applications such as the sox app I referred to in my first post or restart
 the linux box.  LOL, I will not be giving clients carte blanche on executing
 *any* application on the linux box.

Hey, secure or not-secure or completely brain-dead is your problem. :)

 2. In copying or moving files in mono/linux, is it the same as with
 .net/windows with the exception of the linux/windows differences in
 specifying paths?

Nope, just about everything in System.IO.File works without incident.
I've done all the normal file operations and haven't had any problems.

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


RE: [Mono-list] Working with Files

2006-06-15 Thread Tony G
Dallman, John wrote:
 The security issues on this one are, well, large

In addition to security concerns - Rather than a raw socket server with a
custom protocol, etc, it would be far easier and less time consuming to
create web services for authentication, execution of specific functions,
etc..  (Encryption would probably be the same regardless of transport
mechanisms)

Do you have control over client and server?  Will you be writing the client
code too?

Writing socket servers is fun and rewarding but only when someone isn't
expecting you to do it with time constraints for a mission-critical app.
:)


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


[Mono-list] Problem compiling simple app using Mono. Partial declarations of `TestMono.Form1' have conflicting accessibility modifiers

2006-06-15 Thread Stacey Levine










Hello everyone. 





I am testing out Mono for an application
and am having problems with compiling my application. I built a simple C#
application that has one form and I put the controls on the form that I am
going to need. My little test project is here : http://www.levineclan.net/testMono.zip



I think I have the compile line figured
out, and there is a batch file in that directory structure which should do it,
but when I try to compile using mono  I get one error message that I
have no idea how to fix. The message is below. Anything you could do to help
would be greatly appreciated.



D:\Projects
.NET\TestMono\TestMonomcs /out:test.exe Program.cs Form1.cs Form1.

Designer.cs Form1.Designer.cs(3,19): error
CS0262: Partial declarations of `TestMono.Form1'

have conflicting accessibility modifiers

Compilation failed: 1 error(s), 0 warnings






Thanks.



Stacey








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


[Mono-list] mod_mono for mono 1.1.15.x

2006-06-15 Thread Lenny L. Miller


Hello all, 

I am 
really interested in getting mod_mono up and running with the newest mono 
1.1.15.x

I would 
like any and all assistance with where to start, I have read the list, emailed 
the mod_mono project managers, and now I am really looking for some 
direction. 

Thanks 
in advance

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