[squeak-dev] The Trunk: Morphic-kfr.1480.mcz
Levente Uzonyi
leves at caesar.elte.hu
Thu Feb 28 22:47:46 UTC 2019
Hi Karl,
You changed both the preamble and the postscript of the package, which
means that both scripts will be evaluated on update. You also left the
previous preamble and postscript in place (which were not very user
friendly, because they mangled with preferences), which means that those
preference changes will be applied again when your version or Morphic is
loaded.
So, if I update my image which has deprecation warnings disabled, my
setting will be erased and the deprecation warnings will be enabled by
the postscript. In an unfortunate scenario such change could render my
image unresponsive.
When you update any of these scripts, please make sure that only things
that need to be evaluated for the current .mcm stay there. Delete
everything else from the scripts.
Levente
On Thu, 28 Feb 2019, commits at source.squeak.org wrote:
> Karl Ramberg uploaded a new version of Morphic to project The Trunk:
> http://source.squeak.org/trunk/Morphic-kfr.1480.mcz
>
> ==================== Summary ====================
>
> Name: Morphic-kfr.1480
> Author: kfr
> Time: 28 February 2019, 4:40:24.875838 pm
> UUID: 9fdf2251-873b-9b42-a287-d85231cd70d3
> Ancestors: Morphic-kfr.1479
>
> Force update of TheWorldMainDockingBar
>
> =============== Diff against Morphic-kfr.1479 ===============
>
> Item was changed:
> ----- Method: TheWorldMainDockingBar>>newProjectMenuItemOn: (in category 'submenu - projects') -----
> newProjectMenuItemOn: menu
>
> Project allSubclasses do: [ :each |
> menu addItem: [ :item |
> item
> contents: ('New ', each name) translated;
> help: ('Start a new ', each name) translated;
> target: self;
> selector: #newProject:;
> + arguments: { each } ] ] !
> - arguments: { each } ] ]!
>
> Item was changed:
> (PackageInfo named: 'Morphic') postscript: '"Migrate all open resizers."
> AbstractResizerMorph allSubInstancesDo: [:ea |
> ea handleColor isColor ifFalse: [ea handleColor: nil].
> ea removeAllMorphs].
>
> "Re-enable deprecation warnings in Trunk."
> + Deprecation showDeprecationWarnings: true.
> +
> + TheWorldMainDockingBar updateInstances'!
> - Deprecation showDeprecationWarnings: true.'!
More information about the Squeak-dev
mailing list
|