That's really great work Jonathan - thank you.<br><br>Julian<br><br><br><br><div class="gmail_quote">On 8 November 2012 22:06, Jonathan Wilkes <span dir="ltr"><<a href="mailto:jancsika@yahoo.com" target="_blank">jancsika@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">And now it's refactored as a literal drop-in replacement for helpbrowser.tcl:<br>
<a href="https://sourceforge.net/tracker/?func=detail&aid=3585469&group_id=55736&atid=478072" target="_blank">https://sourceforge.net/tracker/?func=detail&aid=3585469&group_id=55736&atid=478072</a><br>
<br>
It seems to have outgrown its "dialog" window class, but I manually added the standard<br>
pd dialog bindings, so ESC will withdraw the window. (It will also stop the search in progress,<br>
too.)<br>
<br>
<br>
If anyone wants me to add any tutorials or docs that I'm missing to the browser's homepage,<br>
let me know. The neat thing is that if it gets large I can tag the entries and the dropdown list<br>
can be used to filter the homepage (just like it does with search results).<br>
<div class="im HOEnZb"><br>
-Jonathan<br>
<br>
<br>
<br>
----- Original Message -----<br>
> From: Jonathan Wilkes <<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>><br>
</div><div class="im HOEnZb">> To: Jonathan Wilkes <<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>>; Hans-Christoph Steiner <<a href="mailto:hans@at.or.at">hans@at.or.at</a>><br>
> Cc: PD List <<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>><br>
</div><div class="HOEnZb"><div class="h5">> Sent: Thursday, November 1, 2012 9:34 PM<br>
> Subject: Re: [PD] Browse/Search plugin update<br>
><br>
> Another update...<br>
> <a href="https://puredata.info/Members/jancsika/searchandbrowseplugin/view" target="_blank">https://puredata.info/Members/jancsika/searchandbrowseplugin/view</a><br>
><br>
> * fixed some small bugs with the navigation bar and<br>
> <ctrl-f> throwing a tk error.<br>
><br>
> I also played around with limiting search scope to the directory the<br>
> user is currently browsing, but really it's a lot cleaner to keep the<br>
> two functions separate. I think new users will save a lot of time by<br>
> just getting used to searching and forgo browsing altogether. If<br>
> things are tagged properly it shouldn't really matter what directory<br>
> the information is in. (And besides, if you really need to know it's<br>
> at the top of the patch window anyway.)<br>
><br>
> -Jonathan<br>
><br>
><br>
><br>
><br>
><br>
> ----- Original Message -----<br>
>> From: Jonathan Wilkes <<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>><br>
>> To: Hans-Christoph Steiner <<a href="mailto:hans@at.or.at">hans@at.or.at</a>><br>
>> Cc: PD List <<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>><br>
>> Sent: Thursday, November 1, 2012 2:06 PM<br>
>> Subject: Re: [PD] Browse/Search plugin update<br>
>><br>
>>> ________________________________<br>
>>> From: Hans-Christoph Steiner <<a href="mailto:hans@at.or.at">hans@at.or.at</a>><br>
>>> To: Jonathan Wilkes <<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>><br>
>>> Cc: PD List <<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>><br>
>>> Sent: Thursday, November 1, 2012 11:21 AM<br>
>>> Subject: Re: [PD] Browse/Search plugin update<br>
>>><br>
>>><br>
>><br>
>><br>
>> [...]<br>
>><br>
>><br>
>>> For back/forward buttons, couldn't you just store a reference to<br>
> each<br>
>> page? Basically you have two stacks, one for the back and one for the<br>
> forward. <br>
>> Each time you click on a link, you add the current page to the back stack. <br>
> Each<br>
>> time you click back, you add the current page to the forward stack. <br>
> Clicking a<br>
>> new link clears the forward stack.<br>
>><br>
>><br>
>> It'd have to work for the search, too. So any time someone browses or<br>
>> searches I<br>
>> keep a reference to where they were browsing or the term they searched<br>
> for. <br>
>> Then just add some forward/back<br>
>> buttons and bind to the arrow keys and the interface is done.<br>
>><br>
>> I think this would cause problems. Users are accustomed to navigation<br>
> buttons<br>
>> working immediately, and<br>
>> though I've sped up the search considerably there's still some<br>
> initial<br>
>> overhead in building the list of files to<br>
>> search. That will lead to irregular intervals of latency when users click<br>
> the<br>
>> "back" a bunch of times in a row<br>
>> (and users will certainly do that once the feature is there).<br>
>><br>
>> Anyway, the search combobox has a history you can display when you click<br>
> the<br>
>> Down arrow.<br>
>><br>
>><br>
>> -Jonathan<br>
>><br>
>><br>
>>><br>
>>>>> * there are a number of libraries that show: "version: no<br>
><br>
>> AUTHOR tag or<br>
>>>>> values" while the author: field is filled out.<br>
>>>><br>
>>>> Which library? I'll check it out.<br>
>>><br>
>>> A few of them, I just opened up the libraries view and skimmed the<br>
> list.<br>
>><br>
>><br>
>> Ok, that's fixed:<br>
>> <a href="https://puredata.info/Members/jancsika/searchandbrowseplugin/view" target="_blank">https://puredata.info/Members/jancsika/searchandbrowseplugin/view</a><br>
>><br>
>>><br>
>>> .hc<br>
>>><br>
>>><br>
>>>><br>
>>>> Thanks,<br>
>>>> Jonathan<br>
>>>><br>
>>>>><br>
>>>>> .hc<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>>><br>
>>>>>> -Jonathan<br>
>>>>>><br>
>>>>>>> The<br>
>>>>>>> progress bar is a good enhancement. I wonder if it<br>
> could<br>
>> somehow fit<br>
>>>>> in to the<br>
>>>>>>> GUI elements better somehow. Its fine how it is, but<br>
> it<br>
>> seems a little<br>
>>>>> out of<br>
>>>>>>> place.<br>
>>>>>>><br>
>>>>>>> Looks like there are some debug messages still in it,<br>
> I get<br>
>> these when<br>
>>>>> hovering:<br>
>>>>>>><br>
>>>>>>> filename is 5.reference/all_about_arrays.pd<br>
>>>>>>> basedir is<br>
>>>>><br>
>> /Applications/Pd-0.43.3-extended-20121008.app/Contents/Resources/doc<br>
>>>>>>> filename is 5.reference/loop~-help.pd<br>
>>>>>>> basedir is<br>
>>>>><br>
>> /Applications/Pd-0.43.3-extended-20121008.app/Contents/Resources/doc<br>
>>>>>>> filename is 5.reference/all_about_arrays.pd<br>
>>>>>>> filelist is 7751<br>
>>>>>>> filelist is 7751<br>
>>>>>>><br>
>>>>>>> .hc<br>
>>>>>>><br>
>>>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>><br>
>> _______________________________________________<br>
>> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
>> UNSUBSCRIBE and account-management -><br>
>> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
>><br>
><br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br>