[Mono-docs-list] patch to fix some broken links in MonoDoc

2003-11-05 Thread Martin Willemoes Hansen
Hi!

This patch fixes problems with links when they are to parameter types
which has a FullName like this: foobar and foobar[].

Okay to commit?
-- 
Martin Willemoes Hansen


E-Mail  [EMAIL PROTECTED]   Website mwh.sysrq.dk
IRC MWH, freenode.net
   

? updater.cs.diff
Index: ChangeLog
===
RCS file: /cvs/public/monodoc/generator/ChangeLog,v
retrieving revision 1.23
diff -u -r1.23 ChangeLog
--- ChangeLog	29 Oct 2003 22:10:41 -	1.23
+++ ChangeLog	5 Nov 2003 23:47:48 -
@@ -1,3 +1,8 @@
+2003-11-06  Martin Willemoes Hansen  [EMAIL PROTECTED]
+
+	* updater.cs: parameter type fullnames are disabled, 
+	  this fixes broken links.
+
 2003-10-29  Martin Willemoes Hansen  [EMAIL PROTECTED]
 
 	* a.cs: Obsoleted and removed.
Index: updater.cs
===
RCS file: /cvs/public/monodoc/generator/updater.cs,v
retrieving revision 1.11
diff -u -r1.11 updater.cs
--- updater.cs	22 Oct 2003 21:04:59 -	1.11
+++ updater.cs	5 Nov 2003 23:47:48 -
@@ -860,7 +860,7 @@
 {
 Type param_type = parameter.ParameterType;
 XmlElement see_node = document.CreateElement (see);
-see_node.SetAttribute (cref, T: + param_type.FullName);
+see_node.SetAttribute (cref, T: + param_type.GetElementType().ToString());
 
 XmlElement param = document.CreateElement (param);
 param.SetAttribute (name, parameter.Name);


Re: [Mono-docs-list] Monodoc assembly not found (Windows)

2003-11-05 Thread Gonzalo Paniagua Javier
El mié, 05-11-2003 a las 17:00, Paul Dufresne escribió:
 What is needed to use monodoc on Windows?
 
 First, I was having a problem with XSP on windows
 (see Bug report 50432 for details).
 
 And now, while trying to simply setup
 xsp root directory on monodoc-0.7\browser\web,
 I get the error monodoc assembly not found on
 both frames.
 
 Now, I believe we are suppose to use ./configure and
 make to build monodoc.dll before trying to use monodoc,
 but these are not available stuff on Windows without cygwin.
 
 Do I need cygwin to be able to use monodoc?
 
 A prebuild monodoc.dll would be great. And I suppose
 it should run on any platform. Why not include it in the
 distribution?

Currently nobody has made packages for windows, so you need cygwin to
compile mod_mono.

-Gonzalo


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


Re: [Mono-list] libmySQL+mono+win32

2003-11-05 Thread Miguel de Icaza
Hello,

 I'm trying to execute a SQL Command with MySQLDriverCS on MS-Windows
 with GTK#, and I obtain a MySQLException: 
 
 MySQLDriverCS Error: Wrong query.commands out of sync; you can't run
 this in 0x00b7 MySQLDriverCS.MySQLCommand: ExecuteReader 
 
 Probably libmySQL.dll has a problem with mono. I did make a litle text
 program with MS .NET and this problem doesnt exist. 

You might want to use ByteFX.Data, which is the new MySQL provider.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] /nonexistent/.wapi/shared_data-1-0 (problem)

2003-11-05 Thread Maciej Peruga



Please help ... maybe it is stupid question but i 
tried everything to fix this. Searching in history of list, google , 
faqtoo... :( 

57): CRITICAL **: : shared file 
[/nonexistent/.wapi/shared_data-1-0] open error: No

57): CRITICAL **: : shared file 
[/nonexistent/.wapi/shared_data-1-0] open error

57): WARNING **: Failed to attach shared memory! 
Falling back to non-shared handles

ption: System.NullReferenceException: A null value 
was found where an object instanc



[Mono-list] Novell, SuSE, Mono.

2003-11-05 Thread Miguel de Icaza
Hey guys,

I know that there has been a lot of speculation over Novell, SuSE,
Gnome, KDE and Mono with today's announcement.

We can say that once the acquisition is completed that:

* Novell/SuSE will continue to distribute KDE and Gnome.

* Novell/SuSE will include Ximian Desktop build,
  as it is a more fine tuned desktop than the default Gnome
  build they ship.

* Novell is commited to build an stable ISV platform (you can
  read my blog for some thoughts on this).

* Gtk+, the Gnome platform and Mono use the right licensing
  terms for creating an ISV platform.

* We will continue to work on open source projects, and work
  in the best way to offer a complete Linux stack.

And lastly, just remember that Nat and myself are in charge of
Novell's Linux Desktop Strategy, so we will do the right thing ;-)

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


[Mono-list] Friday: Mono CVS machine down time

2003-11-05 Thread Miguel de Icaza
Hello CVS users,

On Friday Nov 7th, at 5pm EST the Mono CVS server will be switched
to its new location there might be a small service interruption.

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


Re: [Mono-list] Why mono has a long way to go..

2003-11-05 Thread Miguel de Icaza
Hello,

 I love mono. Open-source dotnet. But for my line of work it is unusable
 and will remain so for a long time. You see certain parts seems to be
 ignored in mono and it is of great concern to me (and I hope others).

Our goals are stated on the web page, and our resources are not as large
as Microsoft, we depend on the community to build things to a large
extend.

There are areas that we take on, because they are of strategic
importance to us (Core, compiler, GUI apps), some we do on our spare
time, and some that third parties contribute or fund because its on
their own interest.

For example, Web Services support was funded by SourceGear. 

If your favorite feature is not available, you have a number of options:

* Wait.

* Contribute it yourself.

* Fund someone to do it.

That being said, for some of the features you mention, they are not
likely to show up in Mono 1.0, just because they would require a lot of
work and coordination. 

 1) Code Access Security
 
 Little has been done in this area. And I believe in the great security
 motto : You can't hack in security afterwards, it will lead to a mess.
 CAS spans most of the class libraries.

That might apply to the design, but not the implementation.  CAS was
designed by Microsoft, but we cant implement it now, because we just do
not have the time nor resources required.

Today we consider all apps running on Mono fully trusted, just like
Python or Perl would.  If this is not acceptable to you, then Mono is
not ready for you, nor it will be for a long time as you said yourself. 

 2) Messaging
 
 .NET is to compete with J2EE. .NET has messaging based on MSMQ. We have
 no implementation of this, and no credible alternative. Without it we
 can't be taken seriously in the enterprise domain.

This one, just like EnterpriseServices as outlined on the roadmap, are
areas that we wont be supporting in 1.0, and very likely we wont be
supporting at all.  

Indigo will provide a lot of this functionality, and we will instead
focus on implementing that.  It is still a long time away though.

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


[Mono-list] ASP.NET default language -- VB

2003-11-05 Thread Jochen Wezel
Title: ASP.NET default language -- VB






Hi together!


ASP.NET standard language should be VB.NET:

===


The standard language is C# at the moment. But it should be VB to match MS CLR defaults. As I've seen, most ASPX pages already have the %@ Page Language=C# % directives, so it shouldn't be a problem. And VB is already there in Mono...

I suggest to change this ASAP to prevent conflicts at a later time when there are many scripts written and lazy programmers have forgotten this Page directive. In the moment, there aren't so much pages published and created and their programmers are in touch with the Mono project. At a later point, this situation might have changed.


-Jochen





[Mono-list] (no subject)

2003-11-05 Thread Francesco Mariotto
Hi i have this problem when i make ModMono.dll:

[firewall]:/etc/modmono/src# make -f makedll.mak

mcs /debug+ /debug:full /nologo /r:System.Web.dll /target:library /out:ModMono.dll 
ApacheApplicationHost.cs ApacheWorkerRequest.cs MonoWorkerRequest.cs 
IApplicationHost.cs Request.cs

** (/usr/bin/mcs:18612): WARNING **: cant resolve internal call to 
Apache.Web.Request::GetConnectionInternal(intptr) (tested without signature also)

Your mono runtime and corlib are out of sync.
Corlib is: ModMono

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.

What can i do ?

I use debian with apache2 and my apache has mod_mono loaded but not compile .aspx pages
.. and xsp-0.5 which function has? it is indispensable?
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] How to set parameters for RSACryptoServiceProvide r

2003-11-05 Thread Goran Milenkovic
Title: Message



Yes, I 
was talking about MS Framework, sorry.
Thanks 
very muchfor your help and support.

Best 
regards !


-Original 
Message-From: Sebastien Pouliot [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 05, 2003 2:18 AMTo: Goran 
Milenkovic; [EMAIL PROTECTED]Subject: RE: [Mono-list] How to 
set parameters for RSACryptoServiceProvider

  Goran,
  
  Are 
  you having this problem with Mono or the MS framework ?
  
  I 
  ask because right now my mono setup doesn't work :-( but I'm able 
  to duplicate the bug on the MS framework (anyway your VB code can only work 
  under Windows and IIRC the exception message "Bad Key" is only shown in 
  Windows).
  
  Anyway at first look it seems that MS requires the 
  full parameters for importing a private key - with no (known) good reason. 
  This isn't (supposed to 
  be) the case for Mono - you can have a look at 
  /mcs/class/corlib/Mono.Security/RSAManaged.cs. Please fill a bug into bugzilla if this doesn't work 
  on Mono (http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FClass%20Libraries).
  
  As for solution for the MS 
  framework:
  
  a. Report the bug to Microsoft 
  (this is a long term solution but if you don't complain it won't get 
  fixed);
  b. Keep all exported parameters for 
  the private key (easy solution, faster decryption but requires extra 
  space);
  c. Recalculate the other parameters 
  (time consuming);
  d. Use Mono's RSAManaged 
  implementation (on both Windows and Mono's)
  
  Sebastien PouliotSecurity Architect, Motus Technologies, 
  http://www.motus.comwork: [EMAIL PROTECTED]home: 
  [EMAIL PROTECTED]blog: http://pages.infinit.net/ctech/poupou.html 
  
  
-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]On Behalf Of Goran 
MilenkovicSent: 3 novembre 2003 08:56To: 
'[EMAIL PROTECTED]'Subject: [Mono-list] How to set 
parameters for RSACryptoServiceProvider

The following 
VB.NETexample should generate the new key pair, store generated values 
localy, then encrypt the test string using publickey and decrypt it 
using private key. However, it works only if all parameters 
(P,Q,DP,DQ,InverseQ  D) are given for the decryption, but not if only D 
is given. That means that for simple decryption private key is not enough, 
but also all of the other parameters ?? 
If you change 
boolean value OnlyD to True, assuming that only D should be enough for 
decryption, then it works. Otherwise, an exception occurs ("Bad Key"). Is 
there any solution for this ?

'-
Dim OnlyD As Boolean = 
False
Dim TestResult1() As 
Byte
Dim TestResult2() As 
Byte
'---Generate the key pair and export all of 
it's parameters into the RSAParams1
Dim RSAParams1 As 
RSAParameters = New RSAParameters
Dim RSAObj1 As 
RSACryptoServiceProvider = New 
RSACryptoServiceProvider
RSAParams1 = 
RSAObj1.ExportParameters(True)
'---Get all parameters into local 
variables
Dim myModulus As Byte() 
= RSAParams1.Modulus
Dim myExponent As Byte() 
= RSAParams1.Exponent
Dim myPrivateKey As 
Byte() = RSAParams1.D
Dim myP As Byte() = 
RSAParams1.P
Dim myQ As Byte() = 
RSAParams1.Q
Dim myDP As Byte() = 
RSAParams1.DP
Dim myDQ As Byte() = 
RSAParams1.DQ
Dim myIQ As Byte() = 
RSAParams1.InverseQ
'---Create new 
RSACryproProvider
Dim RSAParams2 As 
RSAParameters = New RSAParameters
Dim RSAObj2 As 
RSACryptoServiceProvider = New 
RSACryptoServiceProvider
'---Set the public key
RSAParams2.Modulus = 
myModulus
RSAParams2.Exponent = 
myExponent
RSAObj2.ImportParameters(RSAParams2)
'---Encrypt with public 
key
TestResult1 = 
RSAObj2.Encrypt(Encoding.ASCII.GetBytes("TEST"), 
False)
MsgBox("Encrypted")
'---Now set the private 
key
RSAParams2.D = 
myPrivateKey
If (Not OnlyD) 
Then
 RSAParams2.P = 
myP
 RSAParams2.Q = 
myQ
 RSAParams2.DP = 
myDP
 RSAParams2.DQ = 
myDQ
 RSAParams2.InverseQ = 
myIQ
End 
If
RSAObj2.ImportParameters(RSAParams2)

'---Decrypt with private 
key
TestResult2 = 
RSAObj2.Decrypt(TestResult1, False)
MsgBox("Decrypted. 
Original string is: "  
Encoding.ASCII.GetString(TestResult2))
'-

Many Thanks,
Goran
[EMAIL PROTECTED]


This 
e-mail and any attachments are CONFIDENTIAL and intended solely for the use 
of the individual(s) to whom it is 
addressed. It can contain proprietary confidential information and/or be 
subject to legal privilege and/or subject to a non-disclosure Agreement. 
Unauthorized use, disclosure or copying is strictly prohibited. If you are 
not the/an addressee and are in possession of this e-mail, please 

Re: [Mono-list] ASP.NET default language -- VB

2003-11-05 Thread Michael J. Ryan
Jochen Wezel wrote:
ASP.NET standard language should be VB.NET:
===
maybe mono should just require the Page directive, and the Language
attribute be in place to run... rather than using VB as a default since
(afaik) Mono's VB isn't ready for use in mono's asp.net implimentation.
personally I use 100% C# here..

--
Michael J. Ryan - tracker1(at)theroughnecks(dot)com - www.theroughnecks.net
icq: 4935386  -  AIM/AOL: azTracker1  -  Y!: azTracker1  -  MSN/Win: (email)
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ASP.NET default language -- VB

2003-11-05 Thread Shawn Vose
I am not sure why anyone would want to use VB over C# anyway ;-)


On Wed, 2003-11-05 at 13:43, Michael J. Ryan wrote:
 Jochen Wezel wrote:
  ASP.NET standard language should be VB.NET:
  ===
 
 maybe mono should just require the Page directive, and the Language
 attribute be in place to run... rather than using VB as a default since
 (afaik) Mono's VB isn't ready for use in mono's asp.net implimentation.
 
 personally I use 100% C# here..

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


Re: [Mono-list] ASP.NET default language -- VB

2003-11-05 Thread Jochen Wezel
Only one question:


Do we want a .NET framework which is 100 % compatible to this one that MS has done 
plus additional features

OR

Do we want a .NET framework which is only 96 % MS .NET framework plus some additional 
stuff?


Running VB.NET support in ASP.NET is on the way...so, keep cool and enjoy - and write 
Page Language=C# directives ;-)




-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Shawn Vose
Gesendet: Dienstag, 4. November 2003 18:55
An: mono
Betreff: Re: [Mono-list] ASP.NET default language -- VB


I am not sure why anyone would want to use VB over C# anyway ;-)


On Wed, 2003-11-05 at 13:43, Michael J. Ryan wrote:
 Jochen Wezel wrote:
  ASP.NET standard language should be VB.NET:
  ===
 
 maybe mono should just require the Page directive, and the Language
 attribute be in place to run... rather than using VB as a default 
 since
 (afaik) Mono's VB isn't ready for use in mono's asp.net implimentation.
 
 personally I use 100% C# here..

___
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] xsp/mod_mono setup

2003-11-05 Thread Kenneth Benson
Title: xsp/mod_mono setup





Below is the output of setting up xsp and mod_mono per the install file
in mod_mono.


===
%@ language=C# % %@ Import namespace=System.IO % 
Welcome to Mono XSP!
http://www.go-mono.com


Here are some ASP.NET examples:


% DirectoryInfo dir = new DirectoryInfo (Path.GetDirectoryName
(Request.PhysicalPath)); FileInfo[] files = dir.GetFiles ();
StringBuilder sb = new StringBuilder (); Hashtable styles = new
Hashtable (); styles [.aspx] = background: #ff; styles [.ashx]
= background: #00; styles [.asmx] = background: #00; for
(int i=0; i  files.Length; i++) { string fileName =
Path.GetFileName(files[i].FullName); string extension =
Path.GetExtension (files[i].FullName); if (styles.Contains (extension))
{ sb.AppendFormat (
 * {0}
\n, fileName, styles [extension]); } } FileList.Text = sb.ToString ();
% 



Generated: %= DateTime.Now %
===


That is just the way it appeared in the browser, altho the Welcome to
Mono XSP!  was in a larger font size. Here is the page source


===
%@ language=C# %
%@ Import namespace=System.IO %
html
head
titleWelcome to Mono XSP!/title
/head
body
h1Welcome to Mono XSP!/h1
a href="" href="http://www.go-mono.com" TARGET="_blank">http://www.go-mono.comimg src="" alt=http://www.go-mono.com/a
pHere are some ASP.NET examples:/p
%
DirectoryInfo dir = new DirectoryInfo (Path.GetDirectoryName (Request.PhysicalPath));
FileInfo[] files = dir.GetFiles ();
StringBuilder sb = new StringBuilder ();
Hashtable styles = new Hashtable ();
styles [.aspx] = background: #ff;
styles [.ashx] = background: #00;
styles [.asmx] = background: #00;
for (int i=0; i  files.Length; i++) {
 string fileName = Path.GetFileName(files[i].FullName);
 string extension = Path.GetExtension (files[i].FullName);
 if (styles.Contains (extension)) {
  sb.AppendFormat (lia style=\{1}\ href="" fileName, styles [extension]);
 }
}
FileList.Text = sb.ToString ();
%
ul
asp:Label id=FileList runat=server /
/ul
hr /
smallGenerated: %= DateTime.Now %/small
/html



Can anyone help me figure out what is going wrong?
Thanks in advance!


Ken Benson


--
It does not take a majority to prevail, but rather an irate, tireless minority keen to set brushfires in the peoples' mind.

-Samuel Adams


Government, like fire, is our most useful servant, if fully controlled by us, its citizens! And government, exactly like fire, becomes our most destructive master, if not fully controlled by the open majority of its constructive, working citizens! 

-George Washington 





Re: [Mono-list] ASP.NET default language -- VB

2003-11-05 Thread Jaroslaw Kowalski

How about putting the following in web.config ?

configuration
system.web
compilation defaultLanguage=c# /
/system.web
/configuration

Jarek

- Original Message - 
From: Jochen Wezel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 7:56 PM
Subject: Re: [Mono-list] ASP.NET default language -- VB


Only one question:


Do we want a .NET framework which is 100 % compatible to this one that MS
has done plus additional features

OR

Do we want a .NET framework which is only 96 % MS .NET framework plus some
additional stuff?


Running VB.NET support in ASP.NET is on the way...so, keep cool and enjoy -
and write Page Language=C# directives ;-)




-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Shawn Vose
Gesendet: Dienstag, 4. November 2003 18:55
An: mono
Betreff: Re: [Mono-list] ASP.NET default language -- VB


I am not sure why anyone would want to use VB over C# anyway ;-)


On Wed, 2003-11-05 at 13:43, Michael J. Ryan wrote:
 Jochen Wezel wrote:
  ASP.NET standard language should be VB.NET:
  ===

 maybe mono should just require the Page directive, and the Language
 attribute be in place to run... rather than using VB as a default
 since
 (afaik) Mono's VB isn't ready for use in mono's asp.net implimentation.

 personally I use 100% C# here..

___
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


Re: [Mono-list] ASP.NET default language -- VB

2003-11-05 Thread Gonzalo Paniagua Javier
El mié, 05-11-2003 a las 14:49, Jochen Wezel escribió:
 Hi together!
 
 ASP.NET standard language should be VB.NET:
 ===
 
 The standard language is C# at the moment. But it should be VB to
 match MS CLR defaults. As I've seen, most ASPX pages already have the
 %@ Page Language=C# % directives, so it shouldn't be a problem.
 And VB is already there in Mono...
 
 I suggest to change this ASAP to prevent conflicts at a later time
 when there are many scripts written and lazy programmers have
 forgotten this Page directive. In the moment, there aren't so much
 pages published and created and their programmers are in touch with
 the Mono project. At a later point, this situation might have changed.

Our C# compiler is far more stable than our VB.NET compiler. That's the
reason.

-Gonzalo


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


Re: [Mono-list] (no subject)

2003-11-05 Thread Gonzalo Paniagua Javier
El mié, 05-11-2003 a las 17:06, Francesco Mariotto escribió:
 Hi i have this problem when i make ModMono.dll:
 
 [firewall]:/etc/modmono/src# make -f makedll.mak
 
 mcs /debug+ /debug:full /nologo /r:System.Web.dll /target:library /out:ModMono.dll 
 ApacheApplicationHost.cs ApacheWorkerRequest.cs MonoWorkerRequest.cs 
 IApplicationHost.cs Request.cs
 
 ** (/usr/bin/mcs:18612): WARNING **: cant resolve internal call to 
 Apache.Web.Request::GetConnectionInternal(intptr) (tested without signature also)
 
 Your mono runtime and corlib are out of sync.
 Corlib is: ModMono
 
 When you update one from cvs you need to update, compile and install
 the other too.
 Do not report this as a bug unless you're sure you have updated correctly:
 you probably have a broken mono install.
 If you see other errors or faults after this message they are probably related
 and you need to fix your mono install first.
 
 What can i do ?
 
 I use debian with apache2 and my apache has mod_mono loaded but not compile .aspx 
 pages
 .. and xsp-0.5 which function has? it is indispensable?

A warning is just a warning. You get those but they should not show up
at runtime, as the old mod_mono code registers those internal calls.

-Gonzalo


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


Re: [Mono-list] xsp/mod_mono setup

2003-11-05 Thread Gonzalo Paniagua Javier
El mié, 05-11-2003 a las 20:02, Kenneth Benson escribió:
 Below is the output of setting up xsp and mod_mono per the install
 file
 in mod_mono.
 
 ===
 %@ language=C# % %@ Import namespace=System.IO % 
 Welcome to Mono XSP!
 http://www.go-mono.com
 
 Here are some ASP.NET examples:
 
 % DirectoryInfo dir = new DirectoryInfo (Path.GetDirectoryName
 (Request.PhysicalPath)); FileInfo[] files = dir.GetFiles ();
 StringBuilder sb = new StringBuilder (); Hashtable styles = new
 Hashtable (); styles [.aspx] = background: #ff; styles
 [.ashx]
 = background: #00; styles [.asmx] = background: #00; for
 (int i=0; i  files.Length; i++) { string fileName =
 Path.GetFileName(files[i].FullName); string extension =
 Path.GetExtension (files[i].FullName); if (styles.Contains
 (extension))
 { sb.AppendFormat (
   * {0}
 \n, fileName, styles [extension]); } } FileList.Text = sb.ToString
 ();
 % 
 
 
 Generated: %= DateTime.Now %
 ===
 
 That is just the way it appeared in the browser, altho the Welcome to
 Mono XSP!  was in a larger font size. Here is the page source
 
 ===
 %@ language=C# %
 %@ Import namespace=System.IO %
 html
 head
 titleWelcome to Mono XSP!/title
 /head
 body
 h1Welcome to Mono XSP!/h1
 a href=http://www.go-mono.com;img src=mono.png
 alt=http://www.go-mono.com;/a
 pHere are some ASP.NET examples:/p
 %
 DirectoryInfo dir = new DirectoryInfo (Path.GetDirectoryName
 (Request.PhysicalPath));
 FileInfo[] files = dir.GetFiles ();
 StringBuilder sb = new StringBuilder ();
 Hashtable styles = new Hashtable ();
 styles [.aspx] = background: #ff;
 styles [.ashx] = background: #00;
 styles [.asmx] = background: #00;
 for (int i=0; i  files.Length; i++) {
 string fileName = Path.GetFileName(files[i].FullName);
 string extension = Path.GetExtension (files[i].FullName);
 if (styles.Contains (extension)) {
 sb.AppendFormat (lia style=\{1}\
 href=\{0}\{0}/a/li\n, fileName, styles [extension]);
 }
 }
 FileList.Text = sb.ToString ();
 %
 ul
 asp:Label id=FileList runat=server /
 /ul
 hr /
 smallGenerated: %= DateTime.Now %/small
 /html
 
 
 Can anyone help me figure out what is going wrong?
 Thanks in advance!

Are you using current CVS?

-Gonzalo


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


[Mono-list] Mono on Debian

2003-11-05 Thread Richard McGrath








Hi, just a quick question:




 Does anyone know when the latest Mono packages (0.28) will be
 available for Debian?





 If they are coming soon, can they please (please) include the Monodoc browser. This (for me) is really essential
 for programming in Mono, especially since I cant
 be online all the time (I can never remember the names of
 properties/methods and live by Monodoc).




Thanks for any info,

Richard 








[Mono-list] mod_mono without xsp

2003-11-05 Thread amerigo5 amerigo5
Hi,

I always wonder if mod_mono can be installed and ran without installing xsp. 
I mean, aside from samples that xsp provides, does mod_mono really need xsp 
to execute ASP.Net files?

George

_
Send a QuickGreet with MSN Messenger 
http://www.msnmessenger-download.com/tracking/cdp_games

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


Re: [Mono-list] mod_mono without xsp

2003-11-05 Thread yoros
On Wed, Nov 05, 2003 at 02:05:38PM -0600, amerigo5 amerigo5 wrote:
 Hi,
 
 I always wonder if mod_mono can be installed and ran without installing 
 xsp. I mean, aside from samples that xsp provides, does mod_mono really 
 need xsp to execute ASP.Net files?
 

You need xsp package because in it is mod-mono-server.exe application
that is the backend process needed by mod_mono apache module.

Regards,

Pedro

-- 
Pedro Martínez Juliá
\  [EMAIL PROTECTED]
)|[EMAIL PROTECTED]
/http://yoros.dyndns.org
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org
GnuPG public information:  pub  1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E  534F 588B E285 74F1 D3AC
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] RE: [Mono-devel-list] Mono Roadmap ready.

2003-11-05 Thread Daniel Morgan
Here are my thoughts on the roadmap to Mono-1.0:

What about ICSharpCode.SharpZipLib?
Its a third-party assembly, but it is required by ByteFX.Data MySQLClient
and other things.
Does monodoc depend on SharpZipLib?

The following assemblies are deprecated and I thus should be removed from
cvs since no has worked on them in a long time.  They have 100% C#
implementations.

ono.Data.PostgreSqlClient
Mono.Data.MySql

I would not consider Mono.Data.TdsClient as being stable since it was
created for older Sybase and Microsoft SQL Server databases.  Mono.Data.Tds
is another story - it does work well.

Mono.Data which includes the ProviderFactory is stable for me.  There are
some enhacements to it that I would like to do.  I use the ProviderFactory
within Mono and .net projects.

Daniel

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Miguel de
Icaza
Sent: Tuesday, November 04, 2003 10:27 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Mono Announce
Subject: [Mono-devel-list] Mono Roadmap ready.


Hello,

The Mono project roadmap is now available:

http://www.go-mono.com/mono-roadmap.html

A roadmap for contributors:

http://www.go-mono.com/mono-hacking-roadmap.html

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

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


RE: [Mono-list] ASP.NET default language -- VB

2003-11-05 Thread Piers Haken
 
 Our C# compiler is far more stable than our VB.NET compiler. 
 That's the reason.
 
 -Gonzalo

But surely this is a compatibility issue, not a stability issue.

When users switch between mono and .NET, _ALL_ .aspx pages without the @Page
directive are going to break (until this default is changed, regardless of
the stability of the mbas compiler).

Piers.

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


RE: [Mono-list] ASP.NET default language -- VB

2003-11-05 Thread Gonzalo Paniagua Javier
El jue, 06-11-2003 a las 05:35, Piers Haken escribió:
  
  Our C# compiler is far more stable than our VB.NET compiler. 
  That's the reason.
  
  -Gonzalo
 
 But surely this is a compatibility issue, not a stability issue.
 
 When users switch between mono and .NET, _ALL_ .aspx pages without the @Page
 directive are going to break (until this default is changed, regardless of
 the stability of the mbas compiler).

I prefer setting the default to C# until mbas works as those users are
gonna get an error anyway. If they want to aid in debugging mbas they
can change the default in their machine.config and use bugzilla.

-Gonzalo


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


[Mono-list] RE: [Mono-devel-list] Mono Roadmap ready.

2003-11-05 Thread Miguel de Icaza
Hello,

 Here are my thoughts on the roadmap to Mono-1.0:
 
 What about ICSharpCode.SharpZipLib?
 Its a third-party assembly, but it is required by ByteFX.Data MySQLClient
 and other things.
 Does monodoc depend on SharpZipLib?

Ah, good point.  This should be made part of the 1.0 third-party set.

 The following assemblies are deprecated and I thus should be removed from
 cvs since no has worked on them in a long time.  They have 100% C#
 implementations.
 
 ono.Data.PostgreSqlClient
 Mono.Data.MySql

I can remove them from CVS if you want to.

 I would not consider Mono.Data.TdsClient as being stable since it was
 created for older Sybase and Microsoft SQL Server databases.  Mono.Data.Tds
 is another story - it does work well.

Thanks for the data points, I have updated the roadmap with these bits.

Miguel
 
 Mono.Data which includes the ProviderFactory is stable for me.  There are
 some enhacements to it that I would like to do.  I use the ProviderFactory
 within Mono and .net projects.
 
 Daniel
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Miguel de
 Icaza
 Sent: Tuesday, November 04, 2003 10:27 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Mono Announce
 Subject: [Mono-devel-list] Mono Roadmap ready.
 
 
 Hello,
 
 The Mono project roadmap is now available:
 
   http://www.go-mono.com/mono-roadmap.html
 
 A roadmap for contributors:
 
   http://www.go-mono.com/mono-hacking-roadmap.html
 
 Miguel
 ___
 Mono-devel-list mailing list
 [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-devel-list
 
 ___
 Mono-devel-list mailing list
 [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-devel-list
-- 
Miguel de Icaza [EMAIL PROTECTED]
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list