Marcel Taeumel uploaded a new version of ST80 to project The Trunk:
http://source.squeak.org/trunk/ST80-mt.243.mcz
==================== Summary ====================
Name: ST80-mt.243
Author: mt
Time: 20 November 2019, 2:46:19.127662 pm
UUID: 3c87c655-04dd-2147-aed0-fc1cd07ccc91
Ancestors: ST80-mt.242
Removes some missed deprecation sends.
=============== Diff against ST80-mt.242 ===============
Item was changed:
----- Method: ProjectController>>redButtonActivity (in category 'control activity') -----
redButtonActivity
| index |
view isCollapsed ifTrue: [^ super redButtonActivity].
(view insetDisplayBox containsPoint: Sensor cursorPoint)
ifFalse: [^ super redButtonActivity].
index := (UIManager default chooseFrom: #('enter' 'jump to project...') lines: #()).
index = 0 ifTrue: [^ self].
"save size on enter for thumbnail on exit"
+ model viewSize: view insetDisplayBox extent.
- model setViewSize: view insetDisplayBox extent.
index = 1 ifTrue: [^ model enter: false revert: false saveForRevert: false].
index = 2 ifTrue: [Project current jumpToProject. ^ self].
!
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ct.1094.mcz
==================== Summary ====================
Name: System-ct.1094
Author: ct
Time: 21 September 2019, 5:24:03.679935 pm
UUID: 93831414-eb3d-c64c-9855-48515c407f92
Ancestors: System-mt.1093
Rephrase MethodReference class comment
=============== Diff against System-mt.1093 ===============
Item was changed:
Object subclass: #MethodReference
instanceVariableNames: 'classSymbol classIsMeta methodSymbol stringVersion category environment'
classVariableNames: 'InvalidReference'
poolDictionaries: ''
category: 'System-Tools'!
+ !MethodReference commentStamp: 'ct 9/21/2019 17:22' prior: 0!
+ A MethodReference is is a lightweight proxy for a CompiledMethod. Has methods to refer to the CompileMethod's source statements, byte codes. Is heavily used by Tools.
- !MethodReference commentStamp: 'tlk 5/9/2006 18:43' prior: 0!
- A MethodReference is is a lightweight proxy for a CompiledMethod. Has methods for pointed to the CompileMethod's source statements, byte codes. Is heavily used my Tools.
Instance Variables
+ classIsMeta: Boolean class vs. instance
- classIsMeta: Boolean class vs. instance
classSymbol: Symbol for method's class (without class keyword if meta)
+ methodSymbol: Symbol for method's selector
- methodSymbol: Symbol for method's selector
stringVersion: 'Class>>selector:' format
!
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ct.1095.mcz
==================== Summary ====================
Name: System-ct.1095
Author: ct
Time: 21 September 2019, 7:00:44.269935 pm
UUID: e3a69ad6-81fc-a34e-ada9-326fe3f01269
Ancestors: System-mt.1093
Only ask once per project tree for confirmation
=============== Diff against System-mt.1093 ===============
Item was changed:
----- Method: Project>>okToChange (in category 'release') -----
okToChange
"Answer whether the window in which the project is housed can be dismissed -- which is destructive. We never clobber a project without confirmation"
| answer |
(self confirm: ('Do you really want to delete the project\{1}\and all its content?' withCRs translated format:{self name}))
ifFalse: [^ false].
self subProjects ifNotEmpty: [:sp |
answer := Project uiManager
chooseFrom: #(
"1" 'Lift all sub-projects'
"2" 'Discard all sub-projects (NO UNDO!!)'
"3 or 0" 'Cancel')
lines: #(2)
title: ('The project {1}\contains {2} sub-project(s).' withCRs translated format:{self name. sp size}).
(answer = 0 or: [answer = 3]) ifTrue: [^ false].
answer = 1 ifTrue: [self liftSubProjects. ^ true].
+ answer = 2 ifTrue: [^ sp allSatisfy: [:ea |
+ [ea okToChange] valueSuppressingMessages: {'*delete the project*and all its content*'}]]].
- answer = 2 ifTrue: [^ sp allSatisfy: [:ea | ea okToChange]]].
^ true!
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ct.1096.mcz
==================== Summary ====================
Name: System-ct.1096
Author: ct
Time: 21 September 2019, 7:09:35.127935 pm
UUID: 7efdb4cf-d362-ca42-814f-0e2db4caec54
Ancestors: System-mt.1093
Provide a way to get the project dependent TranscriptStream
=============== Diff against System-mt.1093 ===============
Item was added:
+ ----- Method: Project>>transcript (in category 'accessing') -----
+ transcript
+
+ ^ transcript!
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ct.1104.mcz
==================== Summary ====================
Name: System-ct.1104
Author: ct
Time: 1 October 2019, 3:48:38.186339 pm
UUID: 4ce05ab9-d8fc-3d47-ab32-65fd3b2c2236
Ancestors: System-mt.1102
Adds utility to remove all empty change sets.
=============== Diff against System-mt.1102 ===============
Item was added:
+ ----- Method: ChangeSet class>>removeEmptyChangeSets (in category 'enumerating') -----
+ removeEmptyChangeSets
+ "Remove all change sets that are empty
+ and which are not nailed down by belonging to a Project."
+ "ChangeSet removeEmptyChangeSets"
+ | toGo |
+ toGo := self allChangeSets
+ select: [:cs | cs isEmpty and: [cs okayToRemoveInforming: false]]
+ thenDo: [:cs | self removeChangeSet: cs].
+ self inform: toGo size printString, ' change set(s) removed.'!
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ct.1106.mcz
==================== Summary ====================
Name: System-ct.1106
Author: ct
Time: 1 October 2019, 4:00:54.218339 pm
UUID: 1df7e934-f73b-7d46-810b-e54b7bacce21
Ancestors: System-mt.1102
Scale down previewImageForm according to viewSize. We do not need a preview image of several million pixels ...
=============== Diff against System-mt.1102 ===============
Item was changed:
----- Method: Project>>previewImageForm (in category 'displaying') -----
previewImageForm
+ ^ self imageForm scaledToSize: self viewSize!
- ^ self imageForm!
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ct.1112.mcz
==================== Summary ====================
Name: System-ct.1112
Author: ct
Time: 3 October 2019, 1:00:59.749083 am
UUID: 46296c5c-1bbf-8849-96ad-70af15677f55
Ancestors: System-pre.1111
Recategorizes Smalltalk startup + shutdown list methods
=============== Diff against System-pre.1111 ===============
Item was changed:
+ ----- Method: SmalltalkImage>>add:toList:after: (in category 'startup + shutdown list') -----
- ----- Method: SmalltalkImage>>add:toList:after: (in category 'startup list') -----
add: aClass toList: startUpOrShutDownList after: predecessor
"Add the name of aClass to the startUp or shutDown list.
Add it after the name of predecessor"
(Smalltalk globals includes: aClass)
ifFalse: [self error: aClass name , ' cannot be found in Smalltalk dictionary.'].
"Add after predecessor, moving it if already there."
(Smalltalk globals includes: predecessor)
ifFalse: [self error: predecessor name , ' cannot be found in Smalltalk dictionary.'].
(startUpOrShutDownList includes: predecessor name)
ifFalse: [self error: predecessor name , ' cannot be found in the list.'].
startUpOrShutDownList remove: aClass name ifAbsent:[].
startUpOrShutDownList add: aClass name after: predecessor name!
Item was changed:
+ ----- Method: SmalltalkImage>>add:toList:before: (in category 'startup + shutdown list') -----
- ----- Method: SmalltalkImage>>add:toList:before: (in category 'startup list') -----
add: aClass toList: startUpOrShutDownList before: successor
"Add the name of aClass to the startUp or shutDown list.
Add it before the name of successor"
(Smalltalk globals includes: aClass)
ifFalse: [self error: aClass name , ' cannot be found in Smalltalk dictionary.'].
"Add before successor, moving it if already there."
(Smalltalk globals includes: successor)
ifFalse: [self error: successor name , ' cannot be found in Smalltalk dictionary.'].
(startUpOrShutDownList includes: successor name)
ifFalse: [self error: successor name , ' cannot be found in the list.'].
startUpOrShutDownList remove: aClass name ifAbsent: [].
startUpOrShutDownList add: aClass name before: successor name.!
Item was changed:
+ ----- Method: SmalltalkImage>>addToShutDownList: (in category 'startup + shutdown list') -----
- ----- Method: SmalltalkImage>>addToShutDownList: (in category 'startup list') -----
addToShutDownList: aClass
"This will add a ref to this class at the BEGINNING of the shutDown list."
"No-op if already in the list."
(ShutDownList includes: aClass name) ifFalse: [ShutDownList addFirst: aClass name]!
Item was changed:
+ ----- Method: SmalltalkImage>>addToShutDownList:before: (in category 'startup + shutdown list') -----
- ----- Method: SmalltalkImage>>addToShutDownList:before: (in category 'startup list') -----
addToShutDownList: aClass before: predecessor
self add: aClass toList: ShutDownList before: predecessor!
Item was changed:
+ ----- Method: SmalltalkImage>>addToStartUpList: (in category 'startup + shutdown list') -----
- ----- Method: SmalltalkImage>>addToStartUpList: (in category 'startup list') -----
addToStartUpList: aClass
"This will add a ref to this class at the END of the startUp list."
"No-op if already in the list."
(StartUpList includes: aClass name) ifFalse: [StartUpList addLast: aClass name]!
Item was changed:
+ ----- Method: SmalltalkImage>>addToStartUpList:before: (in category 'startup + shutdown list') -----
- ----- Method: SmalltalkImage>>addToStartUpList:before: (in category 'startup list') -----
addToStartUpList: aClass before: predecessor
self add: aClass toList: StartUpList before: predecessor!
Item was changed:
+ ----- Method: SmalltalkImage>>removeFromShutDownList: (in category 'startup + shutdown list') -----
- ----- Method: SmalltalkImage>>removeFromShutDownList: (in category 'snapshot and quit') -----
removeFromShutDownList: aClass
ShutDownList remove: aClass name ifAbsent: []!
Item was changed:
+ ----- Method: SmalltalkImage>>removeFromStartUpList: (in category 'startup + shutdown list') -----
- ----- Method: SmalltalkImage>>removeFromStartUpList: (in category 'snapshot and quit') -----
removeFromStartUpList: aClass
StartUpList remove: aClass name ifAbsent: []!