Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.845.mcz
==================== Summary ====================
Name: System-mt.845
Author: mt
Time: 28 July 2016, 3:40:31.153087 pm
UUID: 0a96d066-bdea-2845-abeb-2adcc248dd29
Ancestors: System-mt.844
Also add the generic hook to avoid display updates to all project kinds.
=============== Diff against System-mt.844 ===============
Item was added:
+ ----- Method: Project>>noDisplayDuring: (in category 'displaying') -----
+ noDisplayDuring: block
+ "Projects can provide means to bypass screen updates so that graphics code can be updated safely."!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1205.mcz
==================== Summary ====================
Name: Morphic-mt.1205
Author: mt
Time: 28 July 2016, 3:39:20.355087 pm
UUID: aa6ba894-8f4a-344e-8506-25c7e6418266
Ancestors: Morphic-mt.1204
Provide a simple interface to avoid display updates. For example, if you change a bunch of things in, say, the PluggableButtonMorph and you happen to have one visible on the screen, transcripts or system progress bars will trigger visual updates at a time when code is in an inconsistent state.
=============== Diff against Morphic-mt.1204 ===============
Item was added:
+ ----- Method: MorphicProject>>noDisplayDuring: (in category 'display') -----
+ noDisplayDuring: block
+
+ self world noDisplayDuring: block.!
Item was changed:
----- Method: PasteUpMorph>>displayWorld (in category 'world state') -----
displayWorld
+ (self valueOfProperty: #shouldDisplayWorld ifAbsent: [true])
+ ifTrue: [worldState displayWorld: self submorphs: submorphs].!
- worldState displayWorld: self submorphs: submorphs.!
Item was added:
+ ----- Method: PasteUpMorph>>noDisplayDuring: (in category 'world state') -----
+ noDisplayDuring: block
+ "Some morphs insist on updating the display like the system progress bar does. However, some code might be in an inconsistent state. For this, you can use this method to be safe."
+
+ self
+ setProperty: #shouldDisplayWorld
+ toValue: false.
+
+ block ensure: [self removeProperty: #shouldDisplayWorld].!
Item was changed:
----- Method: PasteUpMorph>>restoreMorphicDisplay (in category 'world state') -----
restoreMorphicDisplay
+ self removeProperty: #shouldDisplayWorld.
- ThumbnailMorph recursionReset.
+ ThumbnailMorph recursionReset.
+
self
extent: Display extent;
viewBox: Display boundingBox;
handsDo: [:h | h visible: true; showTemporaryCursor: nil];
restoreFlapsDisplay;
restoreMainDockingBarDisplay;
fullRepaintNeeded.
WorldState
addDeferredUIMessage: [Cursor normal show].
!
Marcel Taeumel uploaded a new version of SystemReporter to project The Trunk:
http://source.squeak.org/trunk/SystemReporter-mt.27.mcz
==================== Summary ====================
Name: SystemReporter-mt.27
Author: mt
Time: 28 July 2016, 11:32:24.083845 am
UUID: afe89257-ac5a-814d-9bc7-b9f991c3f9aa
Ancestors: SystemReporter-mt.26
The System Reporter tool is created via tool builder and hence should be a model like all other tools created via tool builder.
Note that Model does also have a more efficient management for dependents compared to Object.
=============== Diff against SystemReporter-mt.26 ===============
Item was changed:
+ Model subclass: #SystemReporter
- Object subclass: #SystemReporter
instanceVariableNames: 'categories categoriesSelected report tinyBenchmarksResult categoryList testRunner spaceAnalysisResult'
classVariableNames: ''
poolDictionaries: ''
category: 'SystemReporter'!
!SystemReporter commentStamp: 'laza 1/18/2011 12:04' prior: 0!
SystemReporter offers a window where information about the system is gathered. This can be easily copied to the clipboard and be attached to a bug report for better identification of the context the bug occured in.
To extend the SystemReporter:
- add a method
reportXYZ: aStream
to the reporting category
- insert a line
add: #XYZ method: #reportXYZ
to the initialize method
!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1201.mcz
==================== Summary ====================
Name: Morphic-mt.1201
Author: mt
Time: 28 July 2016, 11:24:07.846886 am
UUID: aff57b94-6551-be4d-bbfa-7b8ad3f0e3e8
Ancestors: Morphic-mt.1200
Restore functionality for rounded window corners, how that the preference is pragma-style.
=============== Diff against Morphic-mt.1200 ===============
Item was changed:
----- Method: SystemWindow>>wantsRoundedCorners (in category 'drawing') -----
wantsRoundedCorners
+ ^ self class roundedWindowCorners or: [super wantsRoundedCorners]!
- ^ false "Temporarily."!