Marcel Taeumel uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-mt.349.mcz
==================== Summary ====================
Name: EToys-mt.349
Author: mt
Time: 19 August 2019, 2:42:42.183039 pm
UUID: 46ba930f-ca23-ab4a-b0b3-ca9e1b2fffba
Ancestors: EToys-mt.348
For Etoys release building, ensure that all control and alt keys stay duplicated. Skip the information dialog until we have a more script-friendly version of that preference. It tells us about re-setting mutually exclusive preferences.
=============== Diff against EToys-mt.348 ===============
Item was changed:
----- Method: ReleaseBuilderSqueakland class>>setPreferences (in category 'scripts') -----
setPreferences
super setPreferences.
+
+ [ "Reset all preferences to their default value but ensure that all control and alt keys stay duplicated."
+ Preferences cambridge.
+ Preferences allPreferences do: [:each |
+ each defaultValue: each preferenceValue].
+ Preferences
+ enable: #duplicateAllControlAndAltKeys.
+ ] valueSupplyingAnswer: true.
- Preferences cambridge.
- Preferences allPreferences do: [:each |
- each defaultValue: each preferenceValue].
Preferences
disable: #alternativeWindowBoxesLook;
enable: #magicHalos;
enable: #mouseOverHalos;
enable: #roundedScrollBarLook;
enable: #roundedWindowCorners;
enable: #showAdvancedNavigatorButtons;
disable: #honorDesktopCmdKeys;
disable: #warnIfNoChangesFile;
disable: #warnIfNoSourcesFile;
enable: #unlimitedPaintArea;
enable: #fastDragWindowForMorphic;
enable: #noviceMode;
disable: #generalizedYellowButtonMenu;
disable: #showAdvancedNavigatorButtons;
disable: #signProjectFiles;
disable: #warnIfNoChangesFile;
disable: #warnIfChangesFileReadOnly;
disable: #warnIfNoSourcesFile.
Morph preferredCornerRadius: 8.
PluggableButtonMorph roundedButtonCorners: true.
FillInTheBlankMorph roundedDialogCorners: true.
SystemWindow roundedWindowCorners: true.
Cursor useBiggerCursors: true.
TrashCanMorph
slideDismissalsToTrash: true;
preserveTrash: true.
SugarNavigatorBar
showHideButton: false;
showSugarNavigator: true.
Deprecation showDeprecationWarnings: false.!
Marcel Taeumel uploaded a new version of PreferenceBrowser to project The Trunk:
http://source.squeak.org/trunk/PreferenceBrowser-mt.90.mcz
==================== Summary ====================
Name: PreferenceBrowser-mt.90
Author: mt
Time: 15 August 2019, 1:26:37.245487 pm
UUID: cf28471c-38ae-3946-bf76-0e01b68955e4
Ancestors: PreferenceBrowser-mt.89
In preference browser, adds search for code expressions (i.e., class name or selector for pragma preferences).
=============== Diff against PreferenceBrowser-mt.89 ===============
Item was changed:
----- Method: PreferenceBrowser>>searchPreferencesFor: (in category 'preferences search') -----
searchPreferencesFor: pattern
| result |
result := pattern asString asLowercase withBlanksTrimmed.
result ifEmpty: [^self].
searchResults := self allPreferences select: [:aPreference |
+ ((aPreference name includesSubstring: result caseSensitive: false)
+ or: [aPreference helpString includesSubstring: result caseSensitive: false])
+ or: [aPreference codeString includesSubstring: result caseSensitive: false] ].
- (aPreference name includesSubstring: result caseSensitive: false) or:
- [aPreference helpString includesSubstring: result caseSensitive: false]].
self selectSearchResultsCategory.
self lastExecutedSearch: pattern.
!
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.1086.mcz
==================== Summary ====================
Name: System-mt.1086
Author: mt
Time: 15 August 2019, 11:56:27.168945 am
UUID: ff933ddb-8d0d-f447-a77e-cef1e48bae95
Ancestors: System-mt.1085
Adds a way to get readable names for old-style preferences. Adds a way to get the source code you need to use those preferences in your projects.
=============== Diff against System-mt.1085 ===============
Item was added:
+ ----- Method: PragmaPreference>>codeString (in category 'menu') -----
+ codeString
+ "Answer the Smalltalk expressions to get the preference value."
+
+ ^ self provider name, ' ', getter!
Item was added:
+ ----- Method: Preference>>codeString (in category 'menu') -----
+ codeString
+ "Answer the Smalltalk expressions to get the preference value."
+
+ ^ 'Preferences valueOfFlag: #', self name!
Item was added:
+ ----- Method: Preference>>copyCode (in category 'menu') -----
+ copyCode
+ "Copy the code for the given preference to the clipboard"
+
+ Clipboard clipboardText: self codeString.!
Item was added:
+ ----- Method: Preference>>readableName (in category 'menu') -----
+ readableName
+ "Split camel-case preferences into a readable string with spaces."
+
+ | result |
+ result := (self name includes: Character space)
+ ifTrue: [self name asString copy]
+ ifFalse: [self name findFeatures joinSeparatedBy: ' '].
+
+ "Ensure first letter is uppercase"
+ result at: 1 put: (result at: 1) asUppercase.
+
+ ^ result!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1505.mcz
==================== Summary ====================
Name: Morphic-mt.1505
Author: mt
Time: 15 August 2019, 11:54:33.818945 am
UUID: 1ad0043a-994e-374a-b194-ed4562267257
Ancestors: Morphic-mt.1504
Adds compatibility protocol to convert SimpleButtonMorph to PluggableButtonMorph.
#actionSelector: is already in PluggableButtonMorphPlus and the instVar is called that way.
#target: is the intended callback from the Morph base class.
=============== Diff against Morphic-mt.1504 ===============
Item was added:
+ ----- Method: PluggableButtonMorph>>actionSelector: (in category 'accessing') -----
+ actionSelector: aSymbol
+ "Set actionSelector to be the action defined by aSymbol."
+
+ actionSelector := aSymbol.
+ !
Item was added:
+ ----- Method: PluggableButtonMorph>>target: (in category 'accessing') -----
+ target: anObject
+
+ self model: anObject.!