Re: [Mono-docs-list] Monodoc aspx .1

2003-07-14 Thread Ben Maurer
Ok, here is a version with .config files. If you install the patch, it
will use the new config thingy. Also, note the change to the handler, it
no longer hardcodes the path.

-- Ben
? Makefile.in
? Makefile
? monodoc.dll
? Mono.Website.Handlers.dll
Index: .cvsignore
===
RCS file: /cvs/public/monodoc/browser/.cvsignore,v
retrieving revision 1.3
diff -u -r1.3 .cvsignore
--- .cvsignore  14 Jul 2003 00:40:30 -  1.3
+++ .cvsignore  14 Jul 2003 23:59:17 -
@@ -1,6 +1 @@
-*dbg
-*tree
-Makefile
-Makefile.in
-Mono.Website.Handlers.dll
-monodoc.dll
+monodoc.config
Index: ChangeLog
===
RCS file: /cvs/public/monodoc/browser/ChangeLog,v
retrieving revision 1.46
diff -u -r1.46 ChangeLog
--- ChangeLog   11 Jul 2003 02:00:07 -  1.46
+++ ChangeLog   14 Jul 2003 23:59:17 -
@@ -1,3 +1,14 @@
+2003-07-13  Ben Maurer [EMAIL PROTECTED]
+   * browser.cs: Added support for visiting nodes from the root tree.
+   ie, the root: urls.
+   * ecma-provider.cs: Render the root: url with a list of namespaces
+   * provider.cs: Send the root:/xxx to the help sources. Handle
+   root:
+   * xhtml-provider.cs: handle root:. Returns the inner html of body like
+   other providers
+   * monohb-provider.cs: Fix typo that makes header purple in moz. return
+   the body node, not html. 
+
 2003-07-10  Ben Maurer [EMAIL PROTECTED]
 
* mono-ecma.xsl: Don't generate the excess monodoc namespaces.
Index: Makefile.am
===
RCS file: /cvs/public/monodoc/browser/Makefile.am,v
retrieving revision 1.19
diff -u -r1.19 Makefile.am
--- Makefile.am 14 Jul 2003 00:40:30 -  1.19
+++ Makefile.am 14 Jul 2003 23:59:17 -
@@ -1,7 +1,7 @@
 monodocdir = $(libdir)/monodoc
 assemblydir = $(libdir)
 monodoc_DATA = browser.exe assembler.exe monodoc.xml
-assembly_DATA = monodoc.dll Mono.Website.Handlers.dll
+assembly_DATA = monodoc.dll Mono.Website.Handlers.dll monodoc.config
 CSC=mcs
 
 
@@ -30,6 +30,9 @@
 
 Mono.Website.Handlers.dll: $(srcdir)/website-handler.cs
$(CSC) -debug website-handler.cs -out:Mono.Website.Handlers.dll 
-target:library -r:monodoc.dll -r:System.Web
+
+monodoc.config: monodoc.config.in
+   sed -e '[EMAIL PROTECTED]@^$(monodocdir)^g'  $(srcdir)/monodoc.config.in  
monodoc.config
 
 b: browser.exe
mono --debug browser.exe
Index: browser.cs
===
RCS file: /cvs/public/monodoc/browser/browser.cs,v
retrieving revision 1.38
diff -u -r1.38 browser.cs
--- browser.cs  13 Jul 2003 22:23:21 -  1.38
+++ browser.cs  14 Jul 2003 23:59:17 -
@@ -102,7 +102,7 @@
TreeBrowser tree_browser;
IndexBrowser index_browser;

-   RootTree help_tree;
+   internal RootTree help_tree;
 
// For the status bar.
uint context_id;
@@ -530,10 +530,16 @@
 
public override void Go ()
{
+   string res;
Node x;

-   string res = n.tree.HelpSource.GetText (url, out x);
-   ((Browser)browser).Render (res, n, url);
+   // The root tree has no help source
+   if (n.tree.HelpSource != null)
+   res = n.tree.HelpSource.GetText (url, out x);
+   else
+   res = ((RootTree)n.tree).RenderUrl (url, out x);
+   
+   browser.Render (res, n, url);
}
}
 
@@ -555,23 +561,25 @@
 
if (tree_view.Selection.GetSelected (out model, ref iter)){
Node n = (Node) iter_to_node [iter];
-
-   if (n.tree.HelpSource == null)
-   return;
-
-   string url = n.URL;

-   //
-   // Try the tree-based urls first.
-   //
+   string url = n.URL;
Node match;
-   string s = n.tree.HelpSource.GetText (url, out match);
-   if (s != null){
-   ((Browser)browser).Render (s, null, url);
-   browser.history.AppendHistory (new NodePageVisit 
(browser, n, url));
-   return;
+   string s;
+   
+   if (n.tree.HelpSource != null)
+   {
+   //
+   // Try the tree-based urls first.
+   //
+   
+   s = n.tree.HelpSource.GetText (url, out 

[Mono-list] monodoc - updater.exe

2003-07-14 Thread Giuseppe Greco
Hi,

I've given a look at the XML file generated by
updater.exe, and I've noted that properties are
documented like this:

Member MemberName=MyProp
  MemberSignature Language=C# Value=public int BufferSize { set; get;
}; /
  MemberTypeProperty/MemberType
  ReturnValue
ReturnTypeSystem.Int32/ReturnType
  /ReturnValue
  Parameters
Parameter Name=value Type=System.Int32 /
  /Parameters
  Docs
summaryTo be added/summary
param name=valuea see cref=T:System.Int32 //param
returnsa see cref=T:System.Int32 //returns
remarksTo be added/remarks
  /Docs
/Member

Why does not updater.exe generate a value tag pair instead
of the param and returns tags? Here 's an example:

Member MemberName=MyProp
  ...
  Docs
summaryTo be added/summary
valuea see cref=T:System.Int32 //value
remarksTo be added/remarks
  /Docs
/Member

Gius_.


 

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


[Mono-list] Trying to build libgc from CVS

2003-07-14 Thread Richard Thombs
I'm trying to build libgc from CVS, as per the instructions for building
the debugger, but configure and Makefile.in are missing.

Do I really need the CVS version of libgc? I've already got the stock
6.1 installed.

Thanks,

Stony.

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


Re: [Mono-list] Trying to build libgc from CVS

2003-07-14 Thread Richard Thombs
On Sun, 2003-07-13 at 23:56, Richard Thombs wrote:
 I'm trying to build libgc from CVS, as per the instructions for building
 the debugger, but configure and Makefile.in are missing.

blushOkay, solved it - it's late and I'm new here :-)/blush


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


Re: [Mono-list] monodoc - updater.exe

2003-07-14 Thread Giuseppe Greco

-- Original Message --
Subject: Re: [Mono-list] monodoc - updater.exe
From: Duncan Mak [EMAIL PROTECTED]
To: Giuseppe Greco [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: 14 Jul 2003 02:23:06 -0400


On Mon, 2003-07-14 at 02:01, Giuseppe Greco wrote:
 
 Why does not updater.exe generate a value tag pair instead
 of the param and returns tags? Here 's an example:
 

The updater generates whatever the ECMA docs have. It generates param
and returns elements because how the ECMA docs are.

So that means that Micro... doesn't follow the standard, right?

Gius_.


Duncan.
___
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 0.25 for debian

2003-07-14 Thread Maurizio Colucci
Paul wrote:
Hi,

Where can I find packages for mono 0.25 for debian. 0.25 
isnt mentioned on http://www.debianplanet.com/mono/.
I've got the same problem. :-(

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


AW: [Mono-list] Segmentation fault / StackOverflowException not thrown

2003-07-14 Thread Dietmar Maurer
 -Ursprüngliche Nachricht-
 Von: Michael Levy [mailto:[EMAIL PROTECTED] 
 Gesendet: Freitag, 11. Juli 2003 22:29
 An: [EMAIL PROTECTED]
 Betreff: [Mono-list] Segmentation fault / 
 StackOverflowException not thrown
 
 
 Hello,
   I am fairly new to C# (and mono) but I think that I may 
 have found a potential bug. I have attached a short peice of 
 (silly) code which shows the problem. The code basically 
 causes a method (or property, depending on what you have 
 un-commented) to recursivly call itsel until it blows the 
 stack. I would expect that this sort of pathological 
 recursion should generate 
 a StackoverflowException when executed, but it simpley causes 
 a Segmentation fault. I have not been able to confirm this 
 behaviour on Windows. I am using the lates release of mono (0.25).

The problem is that Unix has no real support to catch stack overflow, i.e.
it is highly system specific. So we decided to do a Segmentation fault in
that case.

Anyways, it should be possible to detect simple cases at compile time -  so
the c# compiler could emit a warning in that case.

- Dietmar
 

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


[Mono-list] some links fixed on website

2003-07-14 Thread Sam Clegg
Some of the links were out of date.  Attached patch for the ones
I found.
-- 
sam clegg
:: [EMAIL PROTECTED] :: http://superduper.net/ :: PGP : D91EE369 
$superduper: .signature,v 1.13 2003/06/17 10:29:24 sam Exp $
Index: resources
===
RCS file: /mono/mono/doc/resources,v
retrieving revision 1.39
diff -u -r1.39 resources
--- resources   19 Apr 2003 21:24:51 -  1.39
+++ resources   14 Jul 2003 13:53:53 -
@@ -12,7 +12,7 @@
The a href=http://msdn.microsoft.com/net;Microsoft.NET site./a
 
The Microsoft .NET Framework 1.0 can be downloaded a
-   
href=http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xmlframe=true;here/a
+   
href=http://msdn.microsoft.com/library/default.asp?url=/downloads/list/netdevframework.asp;here/a
 
New methods that are not documented in 1.0, are documented a

href=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/framewrkaddend.asp;here/a
@@ -87,8 +87,8 @@
You can get the documentation for the ECMA specs from:
 
ul
-   * a href=http://www.ecma.ch/ecma1/STAND/ecma-334.htm;C# Language 
Specification/a
-   * a href=http://www.ecma.ch/ecma1/STAND/ecma-335.htm;Common 
Language Infrastructure/a
+   * a 
href=http://www.ecma-international.org/publications/standards/ECMA-334.HTM;C# 
Language Specification/a
+   * a 
href=http://www.ecma-international.org/publications/standards/ECMA-335.HTM;Common 
Language Infrastructure/a
/ul
 
 


pgp0.pgp
Description: PGP signature


[Mono-list] [Fwd: RE: Rodrigo Sybase Connect]

2003-07-14 Thread Rodrigo Moya

I'll forward your mail to mono-list

-Forwarded Message-
 From: José Adolfo Riveros R. [EMAIL PROTECTED]
 To: Rodrigo Moya [EMAIL PROTECTED]
 Subject: RE: Rodrigo Sybase Connect
 Date: Mon, 14 Jul 2003 11:43:22 -0400
 
  
 Thanks Rodrigo
 
 I recive this message
 
 
 =
 An unhandled exception of type 'System.OverflowException' occurred in
 mono.data.tds.dll
 Additional information: Arithmetic operation resulted in an overflow.
 
 =
 
 One thing I use VS.net 2003 with compnents Microsoft System.data etc.
 I attach Mono.Data.SybaseClient and I include in bin:Mono.Data.Tds.dll
 
 Mi objective today is call Sybase because mdac  2.5 don't work with this
 And I need keep the option to talk with my sybase.
 
 string connectionString = 
   Server=99.209.168.27,10001; +
   Database=db_tablas_grales; +
   User ID=fn_ptonet; +
   Password=ptonet2;;
   IDbConnection dbcon;
   dbcon = new SybaseConnection(connectionString);
   dbcon.Open();
   IDbCommand dbcmd = dbcon.CreateCommand();
   
   string sql =select * from tb_gral0121_ejecutivos;
 
   dbcmd.CommandText = sql;
   IDataReader reader = dbcmd.ExecuteReader();
   while(reader.Read()) //here I have the overflow
 
 
 
 Atentamente:
  José Adolfo Riveros R.
  Jefe Dpto Tecnología
  CORP BANCA
  Fono: 687 8173
 
 
 
 -Original Message-
 From: Rodrigo Moya [mailto:[EMAIL PROTECTED] 
 Sent: Lunes, 14 de Julio de 2003 7:21
 To: José Adolfo Riveros R.
 Subject: Re: Rodrigo Sybase Connect
 
 On Mon, 2003-07-14 at 00:34, José Adolfo Riveros R. wrote:
  I, sorry
   
  I need call a Sybase 11.0.4  server on Unix,
   
  Can I connect with Mono
   
  Mono.Data.SybaseClient or
  Mono.Data.TdsClient.dll more compatible with old Sybase server.
   
  I don need Sybase Client in the machine ?
   
   
 no, AFAIK, it works without any dependency. That is, it implements the TDS
 protocol directly, so you don't need extra libraries.
 
 I may be wrong though, so try running a sample program against your Sybase
 database to be sure it works or not.
 
 cheers
 

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


[Mono-list] Problems getting my usercontrol to work in Mono 0.25 / xsp 0.4

2003-07-14 Thread Eric Veltman
Hello everyone,

I took a usercontrol from the office to home to see how it would work on Mono 
and I've come across some issues till now. Herewith some information about 2 
of them. I hope to mail information about another problem tomorrow.

1. System.Web.UI.WebControls.DropDownList doesn't have a SelectedValue 
property. SelectedValue has been introduced in FrameWork 1.1, so I guess you 
didn't ( fully ) implement that yet ? Would be nice if this property would be 
added, because it's much more convenient than using SelectedItem.Value for 
getting the SelectedValue and using a combination of .Items.IndexOf() and 
setting SelectedIndex for setting the SelectedValue.

2. When I tried to run a page containing the usercontrol after making changes 
to work around problem #1, I got something like :

/tmp/tmp1b02b4db.cs(126,0) : error CS0029: Cannot convert implicitly from 
`string' to `string[]'
Line 126: __ctrl.Font.Names = Verdana;

It seems like it's trying to set a string array property with a string value.
When I removed the Font-Names attribute and value from the ascx file, the aspx 
and ascx rendered, though not yet correcty, but I'll come back on that later.

Best regards,

Eric Veltman

P.S. I this the correct way for posting bug reports / change requests ?

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


Re: AW: [Mono-list] Segmentation fault / StackOverflowExceptionnot thrown

2003-07-14 Thread Simon Kitching
Well, Sun's Java Virtual Machine on Linux manages to detect stack
overflow and throw an exception so it must be possible.


On Mon, 2003-07-14 at 22:51, Dietmar Maurer wrote:
  -Ursprüngliche Nachricht-
  Von: Michael Levy [mailto:[EMAIL PROTECTED] 
  Gesendet: Freitag, 11. Juli 2003 22:29
  An: [EMAIL PROTECTED]
  Betreff: [Mono-list] Segmentation fault / 
  StackOverflowException not thrown
  
  
  Hello,
  I am fairly new to C# (and mono) but I think that I may 
  have found a potential bug. I have attached a short peice of 
  (silly) code which shows the problem. The code basically 
  causes a method (or property, depending on what you have 
  un-commented) to recursivly call itsel until it blows the 
  stack. I would expect that this sort of pathological 
  recursion should generate 
  a StackoverflowException when executed, but it simpley causes 
  a Segmentation fault. I have not been able to confirm this 
  behaviour on Windows. I am using the lates release of mono (0.25).
 
 The problem is that Unix has no real support to catch stack overflow, i.e.
 it is highly system specific. So we decided to do a Segmentation fault in
 that case.
 
 Anyways, it should be possible to detect simple cases at compile time -  so
 the c# compiler could emit a warning in that case.
 
 - Dietmar
  
 
 ___
 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