Login  Register

Re: Code Navigation: Navigation History in System Browser?

Posted by Nick Chen on Apr 10, 2011; 4:44pm
URL: https://forum.world.st/Code-Navigation-Navigation-History-in-System-Browser-tp3438888p3440054.html

Mariano Martinez Peck wrote
Hi nick, I comment above.

On Sat, Apr 9, 2011 at 9:36 PM, Nick Chen wrote:

> Hi
>
> I was browsing through the draft chapter for Pharo By Example describing
> the
> Omnibrowser architecture
> (https://gforge.inria.fr/frs/download.php/27418/Omnibrowser.pdf). One of
> the
> screenshots (Figure 1.5 in the PDF) shows a browser with Back, Forward and
> History Buttons i.e. navigation history features.
>
>
There are several browser for Pharo. PharoCore uses one, and in PharoDev we
are using Omnibrowser, a.k.a OB.
There is ANOTHER browser called O2

That "history  feature" is part of O2, not OB.  O2 used to load in Pharo
(indeed, it was the defaul at the very beginning of Pharo 1.0). But
nowadays, its developr nor nobody  maintain it, so it doesn't load/works
correctly in Pharo 1.2 anymore.


> My specific questions:
>
> 1) What happened to this version of the browser? Is it possible to load the
> navigation history feature into the latest version of Pharo? I am currently
> using Pharo 1.2
>

No. You need to update O2 and make it work in Pharo 1.2  or try to add such
feature to OB.
Thanks Mariano! The brief description of the different browsers was helpful.
Because of your mentioning of the term "O2", I managed to find the O2 repository
(http://www.squeaksource.com/O2) and load the latest version using

Gofer new

 squeaksource: 'MetacelloRepository';

 package: 'ConfigurationOfO2';

 load.

(Smalltalk at: #ConfigurationOfO2) perform: #loadDefault

David Roethlisberger made some changes on April 13 2011 that seems to make it
work with Pharo (after I fixed the #MNU of the Preferences class). There are
still some things missing like the Mercury Panel and some possible
incompatibilities with Pharo-1.2 but at least it loads.

I'll try to fix those problems and update it to work with Pharo-1.2.

Thanks!

--
Nick