[Mono-docs-list] Differences between generic names in the documentation.

Jonathan Pryor jonpryor at vt.edu
Sat Dec 15 08:45:03 EST 2007


Mike: Didn't GtkHtml# always bind gtkhtml-3.0?  Or did it bind 2.x at
some point in time?

On Sat, 2007-12-15 at 13:30 +0100, Mario Sopena Novales wrote:
> On 12/12/2007, Jonathan Pryor <jonpryor at vt.edu> wrote:
> > Perfect test case:
> >
> > 1. Start Monodoc.
> > 2. Click File -> Lookup URL, or type Ctrl+L.
> > 3. Enter the URL: <a href="foo.bar&lt;T&gt;">foo.bar&lt;T&gt;</a>
> >
> > It displays as "foo.bar&lt;T&gt;" (i.e. no escaping is occurring), and
> > if you hold your mouse over the link the target is "foo.bar&lt;T&gt;".
>
>   I couldn't reproduce the problem with rendering generics you are
> talking about. I think this is related to the version of gtkhtml. I've
> noticed I only have the old gtkhtml-2.0 and, maybe, this is a issue
> with 3.14 (I've seen the bugs you reported are related to the 3X
> series). Could you try to compile with old libgtkhtml-2.0 and see If
> the problem is still there?

As far as I'm aware, Gtkhtml# has *always* bound the 3.x API, not the
2.x API.  In fact, 3.x and 2.x are NOT compatible (compare the output of
`nm -D libgtkhtml-2.so` to `nm -D libgtkhtml-3.14.so` and grep for "T",
which lists methods found within those libraries).

So I'm not sure how you could possibly be using Gtkhtml 2.0 with
Monodoc.

> > Sounds like the actual solution is to get Gecko working again.  Anyone
> > know why it dies?
> 
> Well, it seems related to a change in monodoc script "configuring"
> something to get the gecko library. In the bug report
> (https://bugzilla.novell.com/show_bug.cgi?id=341815) Wade points to a
> change made on r81537 but I can not try it myself because I don't have
> OpenSUSE. Does removing these two lines (which I don't think are so
> much useful) fixes the problem for you?

This has nothing to do with it, as seen by comment #2 which is a C
sample that reproduces the crash.

The actual patch you refer to allowed monodoc to *use* Gecko; it's the
actual use of Gecko which causes the crash.

 - Jon




More information about the Mono-docs-list mailing list