A new version of Monticello.impl was added to project Monticello Public:
http://www.squeaksource.com/mc/Monticello.impl-mtf.584.mcz
==================== Summary ====================
Name: Monticello.impl-mtf.584
Author: mtf
Time: 8 October 2008, 12:39:01 am
UUID: 6a0bc726-af44-4522-b47f-c5c9f473ae7f
Ancestors: Monticello.impl-mtf.583
Preferences addBooleanPreference:... does not exist in Squeak 3.7
=============== Diff against Monticello.impl-mtf.583 ===============
Item was changed:
----- Method: MCPackageLoader class>>initialize (in category 'as yet unclassified') -----
initialize
"MCPackageLoader initialize"
+ Preferences addPreference: #useMonticelloAtomicLoader categories: #(monticello) default: false balloonHelp:
- Preferences addBooleanPreference: #useMonticelloAtomicLoader categories: #(monticello) default: false balloonHelp:
'Use the experimental atomic loader for Monticello. You must have SystemEditor for this to work'!
A new version of MonticelloConfigurations was added to project Monticello Public:
http://www.squeaksource.com/mc/MonticelloConfigurations-mtf.52.mcz
==================== Summary ====================
Name: MonticelloConfigurations-mtf.52
Author: mtf
Time: 8 October 2008, 12:21:04 am
UUID: c5a4b6f0-fabe-4f62-99f7-c8969556b48c
Ancestors: MonticelloConfigurations-cds.51
fixed a syntax error that was probably introduced by the cleanup in Monticello.impl-mtf.582
=============== Diff against MonticelloConfigurations-cds.51 ===============
Item was added:
+ ----- Method: MCMcmReader>>versionFromFile: (in category 'MonticelloConfigurations') -----
+ versionFromFile: fileName
+ ^ self file: fileName streamDo: [:aStream | (self on: aStream fileName: fileName) version ]!
Item was changed:
----- Method: MCMcmReader class>>versionFromFile: (in category 'instance creation') -----
versionFromFile: fileName
+ ^ self file: fileName streamDo: [:aStream | (self on: aStream fileName: fileName) version ]!
- ^ self file: fileName streamDo: [:stream | (self on: stream fileName: fileName) version ]!
A new version of SystemEditor was added to project SystemEditor:
http://www.squeaksource.com/SystemEditor/SystemEditor-mtf.131.mcz
==================== Summary ====================
Name: SystemEditor-mtf.131
Author: mtf
Time: 7 October 2008, 10:51:51 pm
UUID: 3f040e90-44aa-4dcd-944c-65b52845e15e
Ancestors: SystemEditor-mtf.130
Unified superclass access to squash some ivar bugs
=============== Diff against SystemEditor-mtf.130 ===============
Item was added:
+ ----- Method: ClassEditor class>>classRootEditor (in category 'instance creation') -----
+ classRootEditor
+ "Answer the class of editors for the root of my heiarchy"
+
+ ^ RootClassEditor!
Item was changed:
----- Method: OldMetaclassEditor>>instSize (in category 'reflecting') -----
instSize
"Override the implemenation in Behavior, so that when inspecting the
ClassEditor, it will look like a regular Class"
self isDebuggingAsEditor ifTrue: [^ super instSize].
+ ^ self instVarNames size + self superclassOrEditor instSize!
- ^ self instVarNames size + (self edSuperclass
- ifNil: [0] ifNotNilDo: [:ed | ed instSize])!
Item was added:
+ ----- Method: SystemEditor>>classOrEditorFor: (in category 'accessing') -----
+ classOrEditorFor: aClass
+ "Answers an editor if the class is being edited, or a class if it is not"
+
+ | editor |
+ aClass edIsEditor ifTrue: [^ aClass].
+ editor := additions at: aClass theNonMetaClass name ifAbsent: [^ aClass].
+ ^ aClass isMeta ifTrue: [editor class] ifFalse: [editor]!
Item was changed:
----- Method: OldMetaclassEditor>>superclass (in category 'reflecting') -----
superclass
+ "Answers the editor on my new superclass, creating it if necessary"
+
+ ^ self environment edEditorFor: self superclassOrEditor!
- | subjectSuperclass |
- superEditor ifNotNil: [^ superEditor].
- subjectSuperclass := self subject
- ifNil: [Object]
- ifNotNil: [self subject superclass].
- ^ self system edEditorFor: subjectSuperclass!
Item was changed:
----- Method: OldMetaclassEditor>>edSuperclass (in category 'building') -----
edSuperclass
+ "Answer my product's superclass, building it if necessary"
+
+ | classOrEditor |
+ classOrEditor := self superclassOrEditor.
+ ^ classOrEditor edIsEditor
+ ifTrue: [classOrEditor product]
+ ifFalse: [classOrEditor]!
- ^ superEditor
- ifNil: [self subject superclass]
- ifNotNil: [superEditor product]!
Item was added:
+ ----- Method: OldMetaclassEditor>>superclassOrEditor (in category 'accessing') -----
+ superclassOrEditor
+ "Answer my superclass as an editor if it is being edited, or as a class if it is not. Does not add anything to my SystemEditor"
+
+ superEditor ifNotNil: [^ superEditor].
+ self subject superclass ifNil: [^ self class classRootEditor on: nil for: self environment].
+ ^ self environment classOrEditorFor: self subject superclass!
Item was added:
+ ----- Method: OldMetaclassEditor class>>classRootEditor (in category 'instance creation') -----
+ classRootEditor
+ "Answer the class of editors for the root of my heiarchy"
+
+ ^ OldRootMetaclassEditor!
Item was changed:
----- Method: MetaclassEditor>>instSize (in category 'reflecting') -----
instSize
"Override the implemenation in Behavior, so that when inspecting the
ClassEditor, it will look like a regular Class"
self isDebuggingAsEditor ifTrue: [^ super instSize].
+ ^ self instVarNames size + self superclassOrEditor instSize!
- ^ self instVarNames size + (self edSuperclass
- ifNil: [0] ifNotNilDo: [:ed | ed instSize])!
Item was changed:
----- Method: ClassEditor>>edRequiresRecompile (in category 'building') -----
edRequiresRecompile
instVarNames ifNotNil: [^ true].
classVarNames ifNotNil: [^ true].
sharedPools ifNotNil: [^ true].
self decoratorsDo: [:ea | ea edRequiresRecompile ifTrue: [^ true]].
+ ^ self edSuperclassRequiresRecompile!
- ^ false!
Item was changed:
----- Method: ClassDescriptionEditor>>superclassOrEditor (in category 'accessing') -----
superclassOrEditor
+ "Answer my superclass as an editor if it is being edited, or as a class if it is not. Does not add anything to my SystemEditor"
- "Answer my superclass as either an editor or class, whichever is easier. Does not add anything to my SystemEditor"
+ superEditor ifNotNil: [^ superEditor].
+ self subject superclass ifNil: [^ self class classRootEditor on: nil for: self environment].
+ ^ self environment classOrEditorFor: self subject superclass!
- ^ superEditor
- ifNil: [ self subject superclass
- ifNil: [RootClassEditor on: nil for: self environment]]!
Item was added:
+ ----- Method: ClassEditor>>edSuperclassRequiresRecompile (in category 'building') -----
+ edSuperclassRequiresRecompile
+ ^ self superclassOrEditor edIsEditor and: [self superclassOrEditor edRequiresRecompile]!
Item was added:
+ ----- Method: MetaclassEditor class>>classRootEditor (in category 'instance creation') -----
+ classRootEditor
+ "Answer the class of editors for the root of my heiarchy"
+
+ ^ RootMetaclassEditor!
Item was removed:
- ----- Method: MetaclassEditor>>superclass (in category 'reflecting') -----
- superclass
- | subjectSuperclass |
- superEditor ifNotNil: [^ superEditor].
- subjectSuperclass := self subject
- ifNil: [Object]
- ifNotNil: [self subject superclass].
- ^ self system edEditorFor: subjectSuperclass!
Item was removed:
- ----- Method: MetaclassEditor>>edSuperclass (in category 'building') -----
- edSuperclass
- ^ superEditor
- ifNil: [self subject superclass]
- ifNotNil: [superEditor product]!
A new version of Monticello.impl was added to project Monticello Public:
http://www.squeaksource.com/mc/Monticello.impl-mtf.580.mcz
==================== Summary ====================
Name: Monticello.impl-mtf.580
Author: mtf
Time: 7 October 2008, 5:07:28 pm
UUID: 179768c1-118e-4653-b0c1-a5c288b970c0
Ancestors: Monticello.impl-mtf.579
oops; asPatchSnapshot was defined on the wrong class
=============== Diff against Monticello.impl-mtf.579 ===============
Item was added:
+ ----- Method: MCImageBackedSnapshot>>asPatchSnapshot (in category 'as yet unclassified') -----
+ asPatchSnapshot
+ ^ self!
Item was removed:
- ----- Method: MCImageBackedDefinitionIndex>>asPatchSnapshot (in category 'as yet unclassified') -----
- asPatchSnapshot
- ^ self!