[Mono-dev] [PATCH] Monodoc. Workaround for a bug and index improvements

Mario Sopena mario.sopena at gmail.com
Sun Sep 18 05:14:09 EDT 2005


Hey

2005/9/18, James Willcox <snorp at snorp.net>:
> Mario,
> 
> I'd like to try the patch, but it seems you forgot to attach it :)
> 

woooops, I'm sorry. :-P

> On Fri, 2005-09-16 at 16:36 +0200, Mario Sopena wrote:
> > Hello,
> >
> >     We have a problem in Monodoc when showing big html code with
> > gecko. Monodoc hangs and do nothing (try to load the Gtk Namespace).
> > This is due to a bug in gtkmozembed
> > (https://bugzilla.mozilla.org/show_bug.cgi?id=245960). The workaround
> > I've implemented writes the html on disk and loads the file from it,
> > when the html code is big enough. The file is being writen to a temp
> > directory.
> > The only thing I'm not sure is whether I should myself delete what I
> > write there or if I can just leave that for the system (for the
> > moment, nothing is removed).
> >
> > The other thing that comes with this patch is a user-feature requested
> > by miguel. The index and the search_index require those index to be
> > create prior to use them. Right now, if they don't exist, a label is
> > showed telling you that you have to run a command in root to create
> > them.
> > With this patch, monodoc looks for the index also in the user dir, and
> > when it doesn't find them, it shows a panel with a progress bar that
> > lets you make them at that time. The index are created in another
> > Thread, so you can use monodoc while making them (specially the search
> > index is slow, well, around a minute in my machine).
> > To try the patch, remove your monodoc.index file and search_index dir
> > from the monodoc directory and run the patched monodoc.
> >
> > Hope you all enjoy it. Comments please?!?
> >
> > Mario
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> 
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: engine.diff
Type: text/x-patch
Size: 4116 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050918/290c14fe/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: docbrowser.diff
Type: text/x-patch
Size: 23649 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050918/290c14fe/attachment-0001.bin 


More information about the Mono-devel-list mailing list