[squeak-dev] The Trunk: Graphics-mt.482.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Feb 14 16:39:47 UTC 2022


Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-mt.482.mcz

==================== Summary ====================

Name: Graphics-mt.482
Author: mt
Time: 14 February 2022, 5:39:41.237304 pm
UUID: 4613fffa-7d65-d143-a077-7315d58e8d50
Ancestors: Graphics-mt.481

Changes hibernation behavior of forms to only #hibernate on snapshot-and-quit. Do not #hibernate on snapshop-no-quit.

Why? Makes snapshotting and working with TrueType fonts more smooth/responsive.

=============== Diff against Graphics-mt.481 ===============

Item was removed:
- ----- Method: Form class>>shutDown (in category 'shut down') -----
- shutDown  "Form shutDown"
- 	"Compress all instances in the system.  Will decompress on demand..."
- 	Form allInstancesDo: [:f | f hibernate].
- 	ColorForm allInstancesDo: [:f | f hibernate].!

Item was added:
+ ----- Method: Form class>>shutDown: (in category 'shut down') -----
+ shutDown: quitting
+ 	"When quitting, compress all instances in the system.  Will decompress on demand after start-up. Note that we avoid hibernating forms during no-quit snapshotting to keep the system as responsive as possible directly after."
+ 
+ 	"Form shutDown: true"
+ 	quitting ifTrue: [
+ 		Form allInstancesDo: [:f | f hibernate].
+ 		ColorForm allInstancesDo: [:f | f hibernate]].!

Item was removed:
- ----- Method: StrikeFont class>>cleanUp (in category 'class initialization') -----
- cleanUp
- 	"Flush synthesized strike fonts"
- 
- 	self allInstancesDo:[:sf| sf reset].!

Item was added:
+ ----- Method: StrikeFont class>>cleanUp: (in category 'class initialization') -----
+ cleanUp: aggressive
+ 
+ 	aggressive ifTrue: [self allInstancesDo: [:sf | sf reset]].!



More information about the Squeak-dev mailing list