[Mono-list] monodoc xslt & etc

Dave Joyner d4ljoyn@yahoo.com
Thu, 24 Jul 2003 12:49:35 -0700 (PDT)


Working with mono-ecma.xsl under MS.NET I had to add
this to the xsl :

<xsl:param name="index" select="all"/>

otherwise an XPathException occurs when attempting the
Transform with the parameters 

show{member},index{x},membertype{field)

as well as

show{members},index{all},membertype{all}

This works with both mono and .net runtimes.


in ecma-provider.cs this line will not compile without
a cast
--- \devel\monodoc\browser\ecma-provider.cs    
2003-07-16 01:32:09.000000000 -0
400
+++ net\dll\ecma-provider.cs    2003-07-20
14:34:48.000000000 -0400
@@ -260,5 +260,8 @@
        ArrayList l = (ArrayList) class_summaries
[ns];
        if (l == null)
-          l = class_summaries [ns] = new ArrayList
();
+       {
+          l =  new ArrayList ();
+          class_summaries [ns] = (object)l;
+       }

This also works with both mono and .net runtimes.

This might be for the gtk# list -- I have seen the
issue raised before -- the treeview Selection.Changed
signal crashes unless I add this :

--- browser.cs.orig	2003-07-22 16:36:26.000000000
-0400
+++ browser.cs	2003-07-22 16:42:34.000000000 -0400
@@ -412,7 +411,8 @@
	this.help_tree = help_tree;
	store = new TreeStore (typeof (string));
 
-	root_iter = store.AppendValues ("Mono
Documentation");
+	store.Append(out root_iter);
+	store.SetValue(root_iter, 0, new GLib.Value("Mono
Documentation"));
 	iter_to_node [root_iter] = help_tree;
 	node_to_iter [help_tree] = root_iter;
 	PopulateNode (help_tree, root_iter);
@@ -427,7 +427,8 @@
 
 	TreeIter iter;
 	foreach (Node n in node.Nodes){
-	iter = store.AppendValues (parent, n.Caption);
+	store.Append(out iter, parent);
+	store.SetValue(iter, 0, new GLib.Value(n.Caption));
 	iter_to_node [iter] = n;
 	node_to_iter [n] = iter;
 	}

-- the 'old' way.  This is with gtk# 0.10 and with a
cvs snapshot from 7-22-03.


I placed the source and executables for .net at

http://sourceforge.net/projects/commonplace


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com