[squeak-dev] The Trunk: Tools-mt.1029.mcz

Chris Muller asqueaker at gmail.com
Thu May 6 23:01:26 UTC 2021


Hi Marcel,

I know you already got it loaded, but thanks for the heads-up about
"Compiler".  I have my own version of "Compiler" which simply changes
the formatting to Kent Beck style and nothing else.  I need to move
all my Squeak mods which I keep in 'squeak' down into "MyInstaller"
instead of MaInstaller.

Thanks.

On Thu, Apr 29, 2021 at 2:35 AM Marcel Taeumel <marcel.taeumel at hpi.de> wrote:
>
> Hi Chris,
>
> I wanted to check Maui but its latest version does not load in Squeak Trunk because its installer scripts depend on some local magma-index SqueakSource server.
>
> More specifically, it wants to load "Compiler" from #local->'squeak', which ends up in Installer class >> #defaultLocalRepository, which answers just a local file-based repository on "mc/squeak" ... which does not exist ony my machine. :-)
>
> What is the expected setup here? Is there a fall-back? Why not just load the code from source.squeak.org/trunk?
>
> Best,
> Marcel
>
> Am 29.04.2021 07:01:47 schrieb Taeumel, Marcel <marcel.taeumel at hpi.de>:
>
> Hi Chris,
>
> for custom projects such as Maui, you should change the world's drop handler to fit your needs. It is very easy and avoids any conflict. Of course you can replicate some of the standard features if you want. For example, I did this for Vivide to open custom tools.
>
> See PasteUpMorph >> #transferMorphConverter:
>
> Just call it with a selector when Maui starts.
>
> Best,
> Marcel
> ________________________________
> From: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> on behalf of Chris Muller <asqueaker at gmail.com>
> Sent: Wednesday, April 28, 2021 9:03:34 PM
> To: The general-purpose Squeak developers list <squeak-dev at lists.squeakfoundation.org>
> Subject: Re: [squeak-dev] The Trunk: Tools-mt.1029.mcz
>
> If I understand this correctly, it'll probably conflict with Maui's
> equivalent gesture, and only for the equivalent of dragging a splitter
> bar all the way up to the top..?  (really, is it just substituting
> that one DnD operation for another?)  Except it opens a new window,
> too (which I'll have to later close?).  Maybe I'm missing something,
> but it seems heavy and laborious for only what it does.  Hopefully the
> hook can be customized..
>
>
> On Thu, Mar 4, 2021 at 8:47 AM Marcel Taeumel <marcel.taeumel at hpi.de> wrote:
> >
> > Here is an example:
> >
> >
> > Am 04.03.2021 15:38:47 schrieb commits at source.squeak.org <commits at source.squeak.org>:
> >
> > Marcel Taeumel uploaded a new version of Tools to project The Trunk:
> > http://source.squeak.org/trunk/Tools-mt.1029.mcz
> >
> > ==================== Summary ====================
> >
> > Name: Tools-mt.1029
> > Author: mt
> > Time: 4 March 2021, 3:38:36.350661 pm
> > UUID: bef0c471-6ff1-774d-860e-8958e1aa508b
> > Ancestors: Tools-mt.1028
> >
> > Enable source-code dragging through a browser's message list to be dropped into the world to open a compact code editor.
> >
> > Complements Tools-mt.1028, ToolBuilder-Kernel-mt.139, ToolBuilder-Morphic-mt.274, and Morphic-mt.1733.
> >
> > =============== Diff against Tools-mt.1028 ===============
> >
> > Item was changed:
> > ----- Method: Browser>>buildMessageListWith: (in category 'toolbuilder') -----
> > buildMessageListWith: builder
> > | listSpec |
> > listSpec := builder pluggableListSpec new.
> > listSpec
> > model: self;
> > list: #messageList;
> > getIndex: #messageListIndex;
> > setIndex: #messageListIndex:;
> > icon: #messageIconAt:;
> > helpItem: #messageHelpAt:;
> > menu: #messageListMenu:shifted:;
> > keyPress: #messageListKey:from:.
> > + SystemBrowser browseWithDragNDrop ifTrue: [
> > + listSpec
> > + dragItem: #dragFromMessageList:;
> > + dragType: #dragTypeForMessageListAt:].
> > - SystemBrowser browseWithDragNDrop
> > - ifTrue:[listSpec dragItem: #dragFromMessageList:].
> > ^listSpec
> > !
> >
> > Item was added:
> > + ----- Method: Browser>>dragTypeForMessageListAt: (in category 'drag and drop') -----
> > + dragTypeForMessageListAt: index
> > +
> > + ^ #sourceCode!
> >
> >
> >
>
>


More information about the Squeak-dev mailing list