Marcel Taeumel uploaded a new version of TrueType to project The Trunk:
http://source.squeak.org/trunk/TrueType-mt.71.mcz
==================== Summary ====================
Name: TrueType-mt.71
Author: mt
Time: 14 February 2022, 5:40:38.981304 pm
UUID: 64ff8441-cbe9-3844-8887-02b08d2e05c8
Ancestors: TrueType-mt.70
Complements Graphics-mt.482.
Only flush the TrueType cache on snapshot-and-quit. Do not flush on snapshot-no-quit.
=============== Diff against TrueType-mt.70 ===============
Item was added:
+ ----- Method: TTCFont class>>cleanUp: (in category 'class initialization') -----
+ cleanUp: aggressive
+
+ aggressive ifTrue: [self shutDown: true].!
Item was removed:
- ----- Method: TTCFont class>>shutDown (in category 'class initialization') -----
- shutDown
- "Flush the glyph cache"
- GlyphCacheData atAllPut: nil.
- GlyphCacheIndex := 0.
- ShutdownList ifNotNil:[ShutdownList do:[:fnt| fnt flushCache]].
- ShutdownList := WeakSet new.
- !
Item was added:
+ ----- Method: TTCFont class>>shutDown: (in category 'class initialization') -----
+ shutDown: quitting
+ "Only flush the cache on save-and-quit. This means that the image will be slightly larger when save-no-quit. Yet, it makes sense to keep up the font rendering performance when the user keeps on working. Or does it?"
+
+ "Flush the glyph cache"
+ quitting ifFalse: [^ self].
+
+ GlyphCacheData atAllPut: nil.
+ GlyphCacheIndex := 0.
+ ShutdownList ifNotNil:[ShutdownList do:[:fnt| fnt flushCache]].
+ ShutdownList := WeakSet new.
+ !
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]].!
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.1133.mcz
==================== Summary ====================
Name: Tools-mt.1133
Author: mt
Time: 14 February 2022, 4:38:35.919941 pm
UUID: b3bc6ac4-00a9-f74a-8efc-6a1e80bf9ec5
Ancestors: Tools-mt.1132
Browser button label: "vars" -> "variables"
=============== Diff against Tools-mt.1132 ===============
Item was changed:
----- Method: CodeHolder>>optionalButtonPairs (in category 'controls') -----
optionalButtonPairs
"Answer a tuple (formerly pairs) defining buttons, in the format:
button label
selector to send
help message"
| aList |
aList := #(
('browse' browseMethodFull 'view this method in a browser')
('senders' browseSendersOfMessages 'browse senders of...')
('implementors' browseMessages 'browse implementors of...')
('versions' browseVersions 'browse versions')),
(Preferences decorateBrowserButtons
ifTrue:
[{#('inheritance' methodHierarchy 'browse method inheritance
green: sends to super
tan: has override(s)
mauve: both of the above
pink: is an override but doesn''t call super
pinkish tan: has override(s), also is an override but doesn''t call super' )}]
ifFalse:
[{#('inheritance' methodHierarchy 'browse method inheritance')}]),
#(
('hierarchy' browseClassHierarchy 'browse class hierarchy')
+ ('variables' browseVariableReferences 'browse references to variables...')).
- ('vars' browseVariableReferences 'references...')).
^ aList!