Unless you have a very good reason to send #initialize to the
superclass, you shouldn't do it.
Levente
On Thu, 27 Aug 2015, commits(a)source.squeak.org wrote:
> Marcel Taeumel uploaded a new version of Tests to project The Trunk:
> http://source.squeak.org/trunk/Tests-mt.329.mcz
>
> ==================== Summary ====================
>
> Name: Tests-mt.329
> Author: mt
> Time: 27 August 2015, 11:12:04.169 am
> UUID: 2665a1ed-6312-1845-8181-d83c588cd161
> Ancestors: Tests-mt.328
>
> Fixes initialization problem with test preferences.
>
> =============== Diff against Tests-mt.328 ===============
>
> Item was added:
> + ----- Method: PreferencesTestPreferences class>>initialize (in category 'class initialization') -----
> + initialize
> +
> + super initialize.
> + self initializeDictionaryOfPreferences.!
>
>
>
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1001.mcz
==================== Summary ====================
Name: Morphic-mt.1001
Author: mt
Time: 27 August 2015, 12:00:06.056 pm
UUID: 09790a69-7468-e04e-9b57-5410ffe88001
Ancestors: Morphic-mt.1000
Fixes a regression where scroll panes want to grow but the parent morph does not update its layout accordingly.
=============== Diff against Morphic-mt.1000 ===============
Item was changed:
----- Method: ScrollPane>>extent: (in category 'geometry') -----
extent: aPoint
self handleResizeAction: [
(bounds extent closeTo: aPoint)
ifTrue: [false]
ifFalse: [
super extent: aPoint.
+ owner ifNotNil: [owner layoutChanged].
- super layoutChanged.
true]].!
Marcel Taeumel uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-mt.329.mcz
==================== Summary ====================
Name: Tests-mt.329
Author: mt
Time: 27 August 2015, 11:12:04.169 am
UUID: 2665a1ed-6312-1845-8181-d83c588cd161
Ancestors: Tests-mt.328
Fixes initialization problem with test preferences.
=============== Diff against Tests-mt.328 ===============
Item was added:
+ ----- Method: PreferencesTestPreferences class>>initialize (in category 'class initialization') -----
+ initialize
+
+ super initialize.
+ self initializeDictionaryOfPreferences.!
Marcel Taeumel uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-mt.166.mcz
==================== Summary ====================
Name: MorphicExtras-mt.166
Author: mt
Time: 27 August 2015, 10:58:40.044 am
UUID: 6b748c1a-044e-204b-825d-975865233017
Ancestors: MorphicExtras-ul.165
Some adjustments for cleaned-up preferences interface.
=============== Diff against MorphicExtras-ul.165 ===============
Item was changed:
----- Method: TheWorldMenu>>formulateFlapsMenu: (in category '*MorphicExtras-windows & flaps menu') -----
formulateFlapsMenu: aMenu
"Fill aMenu with appropriate content"
aMenu addTitle: 'flaps' translated.
aMenu addStayUpItem.
Preferences classicNavigatorEnabled ifTrue:
[aMenu
addUpdating: #navigatorShowingString
enablementSelector: #enableProjectNavigator
target: Preferences
+ selector: #toggle:
- selector: #togglePreference:
argumentList: #(showProjectNavigator).
aMenu balloonTextForLastItem: (Preferences preferenceAt: #showProjectNavigator) helpString translated].
Flaps sharedFlapsAllowed
ifTrue:
[self fillIn: aMenu from:
{{#suppressFlapsString.
{Project current. #toggleFlapsSuppressed}.
'Whether prevailing flaps should be shown in the project right now or not.'}}.
+ aMenu addUpdating: #automaticFlapLayoutString target: Preferences selector: #toggle: argumentList: #(automaticFlapLayout).
- aMenu addUpdating: #automaticFlapLayoutString target: Preferences selector: #togglePreference: argumentList: #(automaticFlapLayout).
aMenu balloonTextForLastItem: (Preferences preferenceAt: #automaticFlapLayout) helpString translated.
aMenu addLine.
Flaps addIndividualGlobalFlapItemsTo: aMenu].
self fillIn: aMenu from: {
nil.
{'make a new flap'.
{Flaps. #addLocalFlap}.
'Create a new flap. You can later make it into a shared flap is you wish.'}.
nil.}.
Flaps sharedFlapsAllowed
ifTrue:
[aMenu addWithLabel: 'put shared flaps on bottom' translated enablementSelector: #showSharedFlaps
target: Flaps selector: #sharedFlapsAlongBottom argumentList: #().
aMenu balloonTextForLastItem: 'Group all the standard shared flaps along the bottom edge of the screen' translated.
self fillIn: aMenu from: {
{'destroy all shared flaps'.
{Flaps. #disableGlobalFlaps}.
'Destroy all the shared flaps and disable their use in all projects.'}}]
ifFalse:
[aMenu add: 'install default shared flaps' translated target: Flaps action: #enableGlobalFlaps.
aMenu balloonTextForLastItem: 'Create the default set of shared flaps' translated.
aMenu add: 'install etoy flaps' translated target: Flaps action: #enableEToyFlaps.
aMenu balloonTextForLastItem: 'Put up the default etoy flaps: a custom Suplies flap and the Navigator flap' translated.
aMenu addLine].
self fillIn: aMenu from: {
nil.
{'about flaps...'.
{Flaps . #explainFlaps}.
'Gives a window full of details about how to use flaps.'}}!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1000.mcz
==================== Summary ====================
Name: Morphic-mt.1000
Author: mt
Time: 27 August 2015, 10:57:54.273 am
UUID: 168d2e1e-3ae0-6545-8dac-da4b99ad092d
Ancestors: Morphic-mt.999
Some adjustments for cleaned-up preferences interface.
=============== Diff against Morphic-mt.999 ===============
Item was changed:
----- Method: PasteUpMorph>>toggleClassicNavigatorIfAppropriate (in category 'world menu') -----
toggleClassicNavigatorIfAppropriate
"If appropriate, toggle the presence of classic navigator"
+ Preferences classicNavigatorEnabled ifTrue: [^ Preferences toggle: #showProjectNavigator]!
- Preferences classicNavigatorEnabled ifTrue: [^ Preferences togglePreference: #showProjectNavigator]!
Item was changed:
----- Method: StandardScriptingSystem>>customizeForEToyUsers: (in category 'utilities') -----
customizeForEToyUsers: aBoolean
"If aBoolean is true, set things up for etoy users. If it's false, unset some of those things. Some things are set when switching into etoy mode but not reversed when switching out of etoy mode."
#(
(allowEtoyUserCustomEvents no reverse)
(balloonHelpEnabled yes dontReverse)
(debugHaloHandle no reverse)
(modalColorPickers yes dontReverse)
(oliveHandleForScriptedObjects no dontReverse)
(uniqueNamesInHalos yes reverse)
(useUndo yes dontReverse)
(infiniteUndo no dontReverse)
(warnIfNoChangesFile no reverse)
(warnIfNoSourcesFile no reverse)) do:
[:trip |
(aBoolean or: [trip third == #reverse]) ifTrue:
+ [Preferences setFlag: trip first toValue:
- [Preferences enableOrDisable: trip first asPer:
((trip second == #yes) & aBoolean) | ((trip second == #no) & aBoolean not)]]!
Item was changed:
----- Method: TheWorldMenu>>appearanceMenu (in category 'construction') -----
appearanceMenu
"Build the appearance menu for the world."
^self fillIn: (self menu: 'appearance...') from: {
{'preferences...' . { self . #openPreferencesBrowser} . 'Opens a "Preferences Browser" which allows you to alter many settings' } .
{'choose theme...' . { Preferences . #offerThemesMenu} . 'Presents you with a menu of themes; each item''s balloon-help will tell you about the theme. If you choose a theme, many different preferences that come along with that theme are set at the same time; you can subsequently change any settings by using a Preferences Panel'} .
nil .
{'system fonts...' . { self . #standardFontDo} . 'Choose the standard fonts to use for code, lists, menus, window titles, etc.'}.
{'text highlight color...' . { Preferences . #chooseTextHighlightColor} . 'Choose which color should be used for text highlighting in Morphic.'}.
{'insertion point color...' . { Preferences . #chooseInsertionPointColor} . 'Choose which color to use for the text insertion point in Morphic.'}.
{'keyboard focus color' . { Preferences . #chooseKeyboardFocusColor} . 'Choose which color to use for highlighting which pane has the keyboard focus'}.
nil.
+ {#menuColorString . { self . #toggleMenuColorPolicy} . 'Governs whether menu colors should be derived from the desktop color.'}.
+ {#roundedCornersString . { self . #toggleRoundedCorners} . 'Governs whether morphic windows and menus should have rounded corners.'}.
- {#menuColorString . { Preferences . #toggleMenuColorPolicy} . 'Governs whether menu colors should be derived from the desktop color.'}.
- {#roundedCornersString . { Preferences . #toggleRoundedCorners} . 'Governs whether morphic windows and menus should have rounded corners.'}.
nil.
{'full screen on' . { Project current . #fullScreenOn} . 'puts you in full-screen mode, if not already there.'}.
{'full screen off' . { Project current . #fullScreenOff} . 'if in full-screen mode, takes you out of it.'}.
nil.
{'set display depth...' . {self. #setDisplayDepth} . 'choose how many bits per pixel.'}.
{'set desktop color...' . {self. #changeBackgroundColor} . 'choose a uniform color to use as desktop background.'}.
{'set gradient color...' . {self. #setGradientColor} . 'choose second color to use as gradient for desktop background.'}.
{'use texture background' . { #myWorld . #setStandardTexture} . 'apply a graph-paper-like texture background to the desktop.'}.
nil.
{'clear turtle trails from desktop' . { #myWorld . #clearTurtleTrails} . 'remove any pigment laid down on the desktop by objects moving with their pens down.'}.
{'pen-trail arrowhead size...' . { Preferences. #setArrowheads} . 'choose the shape to be used in arrowheads on pen trails.'}.
}!
Item was added:
+ ----- Method: TheWorldMenu>>toggleMenuColorPolicy (in category 'action') -----
+ toggleMenuColorPolicy
+
+ Preferences toggle: #menuColorFromWorld.!
Item was added:
+ ----- Method: TheWorldMenu>>toggleRoundedCorners (in category 'action') -----
+ toggleRoundedCorners
+
+ Preferences toggle: #roundedWindowCorners.!
Item was changed:
----- Method: TheWorldMenu>>toggleWindowPolicy (in category 'action') -----
toggleWindowPolicy
+ Preferences toggle: #reverseWindowStagger.!
- Preferences toggleWindowPolicy!
Marcel Taeumel uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-mt.162.mcz
==================== Summary ====================
Name: Network-mt.162
Author: mt
Time: 27 August 2015, 10:57:00.294 am
UUID: 47e946cb-d8d5-014c-a43f-bae21eda3237
Ancestors: Network-cmm.161
Some adjustments for cleaned-up preferences interface.
=============== Diff against Network-cmm.161 ===============
Item was changed:
----- Method: ServerDirectory class>>releaseExternalSettings (in category 'server prefs') -----
releaseExternalSettings
"Release for server configurations"
"ServerDirectory releaseExternalSettings"
+ (Preferences valueOfFlag: #externalServerDefsOnly)
- Preferences externalServerDefsOnly
ifTrue: [
self resetLocalProjectDirectories.
Servers := Dictionary new]!
Marcel Taeumel uploaded a new version of ST80 to project The Trunk:
http://source.squeak.org/trunk/ST80-mt.185.mcz
==================== Summary ====================
Name: ST80-mt.185
Author: mt
Time: 27 August 2015, 10:55:27.275 am
UUID: 6b3d698d-14db-bb47-bf6c-49300227562c
Ancestors: ST80-mt.184
Some adjustments for cleaned-up preferences interface.
=============== Diff against ST80-mt.184 ===============
Item was changed:
----- Method: ScreenController>>changeWindowPolicy (in category 'menu messages') -----
changeWindowPolicy
+
+ Preferences toggle: #reverseWindowStagger.!
- Preferences toggleWindowPolicy!