Search code examples
smalltalksqueakpharomorphic

Install script for OmniBrowser for Pharo 1.3?


Please do not promote Nautilus or Glamour here. I'm using Pharo 1.3 (without plans to migrate to Pharo 1.4 or 2.0). It seems to be many version of OmniBrowser out there. Which one is the most tested (in the sense of coverage) or just buggy-free?

I have some questions for it:

  • Does it work with Shout correctly?
  • Can I load it without the AST and Refactoring Engine?
  • Can I load it without Morphic?
  • It is compatible with any version of Squeak?
  • It is loadable in Cuis?

Thanks


Solution

  • Omnibrowser is pre-installed in Pharo 1.3.

    If you're talking about installing it in 1.3 core, use:

    Gofer new
        squeaksource: 'MetacelloRepository';
        package: 'ConfigurationOfOmniBrowser';
        load.
    ((Smalltalk at: #ConfigurationOfOmniBrowser) project perform: #version: with: '1.3') load: #( Dev ).
    

    As to your other questions... Does it work with Shout correctly? Yes.

    Can I load it without the AST and Refactoring Engine? Yes. Load the #Core group instead of #Dev.

    Can I load it without Morphic? No.

    It is compatible with any version of Squeak? Yes. You can load it into Squeak 4.2 and 4.3 with:

    Installer ss
        project: 'MetacelloRepository';
        install: #ConfigurationOfOmniBrowser.
    ((Smalltalk at: #ConfigurationOfOmniBrowser) project perform: #stableVersion) load: #( Dev ). 
    

    Although there seem to be some problems with it. For instance, refactorings didn't seem to take, and I had to change a few #createCompletionController methods, as errors came up, to:

    createCompletionController
        ^ OController model: self
    

    It is loadable in Cuis? Highly doubtful.