Re: [Mono-docs-list] Small monodoc-web bug

2003-08-14 Thread Roger Sylte




Miguel de Icaza wrote:

  
monodoc.ashx?type=N:System

  

What about using URL encoding?

    monodoc.ashx?type=N%3ASystem






[Mono-docs-list] Missing files or... ?

2003-08-14 Thread Romka Romkavich



Hi everyone - I've been trying all night with this 
and just cant get it to work. I'm trying to get apache2 to host asp.net pages. I 
have done everything the how-to for mod_mono says and got to the stage of 
compiling it.
Only I get these errors every time - why? I've loaded everything from 
the cvs server - it should all be there - in theory.
 
Any help? - Thank you.
 
$ makeMaking all in srcmake[1]: Entering 
directory `/root/mod_mono/src'/bin/sh ../libtool --mode=compile gcc 
-DHAVE_CONFIG_H -I. -I. -I../include -g -O2 
-I/usr/local/apache2/include -DAPACHE13  -Ipwd/include -c mod_mono.crm 
-f .libs/mod_mono.logcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 
-I/usr/local/apache2/include -DAPACHE13 -Ipwd/include -Wp,-MD,.deps/mod_mono.pp 
-c mod_mono.c    -fPIC -DPIC -o 
.libs/mod_mono.lomod_mono.c:57: mono/jit/jit.h: No such file or 
directorymod_mono.c:58: mono/metadata/appdomain.h: No such file or 
directorymod_mono.c:59: mono/metadata/debug-helpers.h: No such file or 
directorymake[1]: *** [mod_mono.lo] Error 1make[1]: Leaving directory 
`/root/mod_mono/src'make: *** [all-recursive] Error 
1


[Mono-docs-list] Live Monodoc server.

2003-08-14 Thread Miguel de Icaza
Hey guys,

We have a live Monodoc 0.6 server on http://mono.ximian.com:8080
running Mono + ASP.NET + our Monodoc framework rendering the core
documentation, Gtk# and GtkMozEmbed#.

The site sports a nice dynamic javascript tree, that only downloads 
the parts it needs to load.

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


[Mono-docs-list] Re: [Mono-list] Live Monodoc server.

2003-08-14 Thread Giuseppe Greco
On Sun, 2003-08-10 at 05:24, Miguel de Icaza wrote:
> Hey guys,
> 
> We have a live Monodoc 0.6 server on http://mono.ximian.com:8080
> running Mono + ASP.NET + our Monodoc framework rendering the core
> documentation, Gtk# and GtkMozEmbed#.
> 
> The site sports a nice dynamic javascript tree, that only downloads 
> the parts it needs to load.

Wow, that's nice... and is exactly what I want to achieve with
my docs. MonoDoc begins to be really good piece of code... wonderful!

For the new Gekkota doc on our web site, I think I'll wait Mono 0.26,
so we can install it via Red Carpet (I want to keep the server in a
clean state).

Thanks,
Gius_.

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

Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com


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


[Mono-docs-list] Small monodoc-web bug

2003-08-14 Thread Todd Berman








On IE under windows, the links get file:/// appended
to the frontof them, so when you click on them, it wont work.

 

I assume stripping on file:/// from the
server side before processing the link is the best solution.

 

Here is what a sample link looks like:

 

http://mono.ximian.com:8080/monodoc.ashx?link=file:///N:System.Collections

 

if you remove the file:/// from it loads
fine.

 

 

--Todd








RE: [Mono-docs-list] Small monodoc-web bug

2003-08-14 Thread Todd Berman


I am assuming that IE itself puts the file:/// there because of the url
being N:, T:, etc.

I am not 100% sure though, and the raw html doesn't have them:

GtkMozEmbedEmbed a Mozilla browser
window into your Gtk application.

I think its just yet another case of IE assuming it knows better than
the web app developer what the web app developer wants :).

--Todd

(Sorry for the different double posts Miguel)


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Miguel de
Icaza
Sent: August 13, 2003 11:58 PM
To: Todd Berman
Cc: Mono Docs
Subject: Re: [Mono-docs-list] Small monodoc-web bug

Hello,

> On IE under windows, the links get file:/// appended to the frontof
> them, so when you click on them, it wont work.
> 
>  
> 
> I assume stripping on file:/// from the server side before processing
> the link is the best solution.
> 
>  
> 
> Here is what a sample link looks like:
> 
>  
> 
>
http://mono.ximian.com:8080/monodoc.ashx?link=file:///N:System.Collectio
ns
> 
>  
> 
> if you remove the file:/// from it loads fine.

Well, the issue is that we never send thefile:/// back, so we need to
find out where is this being generated at.
___
Mono-docs-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-docs-list

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


[Mono-docs-list] Issue with Mono handbook chapter names

2003-08-14 Thread John BouAntoun
http://mono.ximian.com:8080/monodoc.ashx?link=root:/monohb

"Chapter 12 - Collections / Dynamical Arrays"

There is no such word as Dynamical, it should read Dynamic

Regards,

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


[Mono-docs-list] RE: [Mono-list] Live Monodoc server.

2003-08-14 Thread Piers Haken
I think you need to set add an attribute 'target="content"' to each of
the XML tree items and each of the root WebFXLoadTreeItems.

Then you can remove the base element.

Piers.

> -Original Message-
> From: Miguel de Icaza [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, August 10, 2003 8:20 AM
> To: Piers Haken
> Cc: Mono Docs; [EMAIL PROTECTED]
> Subject: RE: [Mono-list] Live Monodoc server.
> 
> 
> Hello!
> 
> > I should clarify this. The tree doesn't work in IE, and I 
> think it's 
> > this line that's the culprit. All the URLs are being expanded as 
> > "http://./...";
> 
> Yeah, but if I make this change the target of clicking on a 
> link starts
> changing the other panel.Any suggestions about how to fix this?
> 
> Miguel
> 
___
Mono-docs-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-docs-list


[Mono-docs-list] RE: [Mono-list] Live Monodoc server.

2003-08-14 Thread Piers Haken
Here's a patch (untested):

Index: monodoc.ashx
===
RCS file: /cvs/public/monodoc/browser/web/monodoc.ashx,v
retrieving revision 1.9
diff -u -r1.9 monodoc.ashx
--- monodoc.ashx8 Aug 2003 04:34:44 -   1.9
+++ monodoc.ashx10 Aug 2003 22:45:54 -
@@ -81,6 +81,7 @@
w.WriteStartElement ("tree");
w.WriteAttributeString ("text",
n.Caption);
w.WriteAttributeString ("action",
"monodoc.ashx?tlink="+n.tree.HelpSource.SourceID + "@" +
HttpUtility.UrlEncode (n.URL));
+   w.WriteAttributeString ("target",
"content");
if (n.Nodes != null){
w.WriteAttributeString ("src",
"monodoc.ashx?tree=" + tree + "@" + i);
}
@@ -250,13 +251,15 @@
webFXTreeConfig.tIcon   =
'xtree/images/msdn/menu_tee.gif';

var tree = new WebFXTree('Mono Documentation');
+   var node;
");
for (int i = 0; i < help_tree.Nodes.Count; i++)
{
+   context.Response.Write ("node = ");
Node n = (Node)help_tree.Nodes [i];
if (n.Nodes.Count != 0)
-   context.Response.Write
(@"tree.add(new WebFXLoadTreeItem('");
+   context.Response.Write (@"new
WebFXLoadTreeItem('");
else
-   context.Response.Write
(@"tree.add(new WebFXTreeItem('");
+   context.Response.Write (@"new
WebFXTreeItem('");

context.Response.Write (n.Caption);
if (n.Nodes.Count != 0) {
@@ -269,7 +272,9 @@
context.Response.Write
(context.Request.Path);
context.Response.Write (@"?link=");
context.Response.Write (n.URL);
-   context.Response.Write (@"')); ");
+   context.Response.Write ("');\n");
+   context.Response.Write ("node.target =
'content';\n");
+   context.Response.Write ("tree.add
(node);\n");
}
context.Response.Write (@"
document.write(tree);


Piers.

> -Original Message-
> From: Piers Haken 
> Sent: Sunday, August 10, 2003 3:32 PM
> To: Miguel de Icaza
> Cc: Mono Docs; [EMAIL PROTECTED]
> Subject: RE: [Mono-list] Live Monodoc server.
> 
> 
> I think you need to set add an attribute 'target="content"' 
> to each of the XML tree items and each of the root WebFXLoadTreeItems.
> 
> Then you can remove the base element.
> 
> Piers.
> 
> > -Original Message-
> > From: Miguel de Icaza [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, August 10, 2003 8:20 AM
> > To: Piers Haken
> > Cc: Mono Docs; [EMAIL PROTECTED]
> > Subject: RE: [Mono-list] Live Monodoc server.
> > 
> > 
> > Hello!
> > 
> > > I should clarify this. The tree doesn't work in IE, and I
> > think it's
> > > this line that's the culprit. All the URLs are being expanded as
> > > "http://./...";
> > 
> > Yeah, but if I make this change the target of clicking on a
> > link starts
> > changing the other panel.Any suggestions about how to fix this?
> > 
> > Miguel
> > 
> ___
> Mono-list maillist  -  [EMAIL PROTECTED] 
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
___
Mono-docs-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-docs-list


[Mono-docs-list] RE: [Mono-list] Live Monodoc server.

2003-08-14 Thread Piers Haken
I think you need to remove the line



from the left frame.

Piers.

> -Original Message-
> From: Miguel de Icaza [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, August 09, 2003 8:24 PM
> To: Mono Docs; [EMAIL PROTECTED]
> Subject: [Mono-list] Live Monodoc server.
> 
> 
> Hey guys,
> 
> We have a live Monodoc 0.6 server on 
> http://mono.ximian.com:8080 running Mono + ASP.NET + our 
> Monodoc framework rendering the core documentation, Gtk# and 
> GtkMozEmbed#.
> 
> The site sports a nice dynamic javascript tree, that only 
> downloads 
> the parts it needs to load.
> 
> Enjoy,
> Miguel.
> ___
> Mono-list maillist  -  [EMAIL PROTECTED] 
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
___
Mono-docs-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-docs-list


Re: [Mono-docs-list] Small monodoc-web bug

2003-08-14 Thread Miguel de Icaza
Hello,

> On IE under windows, the links get file:/// appended to the frontof
> them, so when you click on them, it wont work.
> 
>  
> 
> I assume stripping on file:/// from the server side before processing
> the link is the best solution.
> 
>  
> 
> Here is what a sample link looks like:
> 
>  
> 
> http://mono.ximian.com:8080/monodoc.ashx?link=file:///N:System.Collections
> 
>  
> 
> if you remove the file:/// from it loads fine.

Well, the issue is that we never send thefile:/// back, so we need to
find out where is this being generated at.
___
Mono-docs-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-docs-list


[Mono-docs-list] Monodoc on the web: screenshot.

2003-08-14 Thread Miguel de Icaza
Hey guys,

   Am still fixing up a few things here and there, but I got Monodoc to
use a dynamic tree (xloadtree: very nice java-script based dynamic tree
loading) and rendering it.

   You can see it here:

http://primates.ximian.com/~miguel/tmp/monodoc-web.png

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


[Mono-docs-list] RE: [Mono-list] Live Monodoc server.

2003-08-14 Thread Piers Haken
I should clarify this. The tree doesn't work in IE, and I think it's
this line that's the culprit. All the URLs are being expanded as
"http://./...";

Piers.

> -Original Message-
> From: Piers Haken 
> Sent: Saturday, August 09, 2003 11:09 PM
> To: Miguel de Icaza; Mono Docs; [EMAIL PROTECTED]
> Subject: RE: [Mono-list] Live Monodoc server.
> 
> 
> I think you need to remove the line
>   
>   
> 
> from the left frame.
> 
> Piers.
> 
> > -Original Message-
> > From: Miguel de Icaza [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, August 09, 2003 8:24 PM
> > To: Mono Docs; [EMAIL PROTECTED]
> > Subject: [Mono-list] Live Monodoc server.
> > 
> > 
> > Hey guys,
> > 
> > We have a live Monodoc 0.6 server on
> > http://mono.ximian.com:8080 running Mono + ASP.NET + our 
> > Monodoc framework rendering the core documentation, Gtk# and 
> > GtkMozEmbed#.
> > 
> > The site sports a nice dynamic javascript tree, that only
> > downloads 
> > the parts it needs to load.
> > 
> > Enjoy,
> > Miguel.
> > ___
> > 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-docs-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-docs-list


[Mono-docs-list] Updating the Monkeyguide.

2003-08-14 Thread Miguel de Icaza
Hello guys,

I would like to improve the Monkeyguide tutorial.  I think we need
to do a pass at cleaning up stale material, reviewing it for accuracy,
dropping infrequently used stuff, and move it into an appendix, and
incorporating new documents into it.

Here are some ideas:

* Introduction, layout: we should copy the text/contents from
  the Mono web site here or from the various position e-mail
  on the subject.

  Use something like the graphic I have here:

http://primates.ximian.com/~miguel/tmp/map.png

  To explain the relation of Mono to .NET and ECMA.

* Chapters 3, 4 and 5 should be merged into a single `Getting
  Started' Chapter.  There is too much redundant information
  there.

* A `Developing with Mono' chapter should encompass chapters 6,
  7, 8, 9 and 10.   Some sections can be merged.

  These should cover: programming languages and the using the
  runtime

* Chapters 11 to 14 could be `The Basics of the Mono'

* Chapters 15 to 21 are `Programming with Mono'

* Chapter 22 can remain independent, as this is a world on its
  own.

* Rename `Creating ASP.NET ' to `ASP.NET XXX'

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


[Mono-docs-list] Instalation Problem under RedHat 9

2003-08-14 Thread Luciano Callero
Hi.

I install all of package for Mono in RPM Format, except MonoDoc, beacause it 
tell me that need gtkHtml3.0.xx And  I Have gtkHtml3.3.xx.
Then I try to install from the source. I do configure, and when i do make, 
it starts, and start processing XML's files. But stop and does not continue 
in one of the XML files (some file like AssemblyInfo..xml).

Someone can tell me what can be?
Thks a lot.
_
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/

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


[Mono-docs-list] RE: [Mono-list] Live Monodoc server.

2003-08-14 Thread Miguel de Icaza
Hello!

> Here's a patch (untested):

Ok, got the patch running, but I still cant get it to display the tree
on IE.   The good news is that the Linux stuff still works, and the
patch actually updates the right pane when you click on things.

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


RE: [Mono-docs-list] Small monodoc-web bug

2003-08-14 Thread Miguel de Icaza
Hello

> I am assuming that IE itself puts the file:/// there because of the url
> being N:, T:, etc.
> 
> I am not 100% sure though, and the raw html doesn't have them:

Although we never send back a plain N: thing, we send something like:

monodoc.ashx?type=N:System


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


RE: [Mono-docs-list] Small monodoc-web bug

2003-08-14 Thread Todd Berman

It looks like you are sending N: and T: and having client side
javascript add it here:

return '" + ctx.Request.Path + @"?link=' + link.replace(/\+/g, '%2B');

(that is from monodoc.ashx and it is from the js function makeLink
inside the c# function PrintDocs)

I am pretty sure that's what is happening, specially considering I
helped BenM with that part of the code :)

--Todd


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Miguel de
Icaza
Sent: August 14, 2003 12:25 PM
To: Todd Berman
Cc: 'Mono Docs'
Subject: RE: [Mono-docs-list] Small monodoc-web bug

Hello

> I am assuming that IE itself puts the file:/// there because of the
url
> being N:, T:, etc.
> 
> I am not 100% sure though, and the raw html doesn't have them:



Although we never send back a plain N: thing, we send something like:

monodoc.ashx?type=N:System


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

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