Frank Shearar uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-fbs.630.mcz
==================== Summary ====================
Name: System-fbs.630
Author: fbs
Time: 30 November 2013, 10:49:21.908 am
UUID: 5fa34d4d-7243-9340-a9a7-e09496d63da5
Ancestors: System-fbs.629
Deprecate eToys' selector mangling utilities - they've been moved to Etoys, on String and Symbol.
=============== Diff against System-fbs.629 ===============
Item was removed:
- ----- Method: Utilities class>>inherentSelectorForGetter: (in category 'miscellaneous') -----
- inherentSelectorForGetter: aGetterSelector
- "Given a selector of the form #getAbc, return the inherent slotname selector that corresponds, which is to say, getterSelector with the leading 'get' removed and with the next character forced to lower case; this is the inverse of #getterSelectorFor:"
-
- "Utilities inherentSelectorForGetter: #getWidth"
- ((aGetterSelector size < 4) or: [(aGetterSelector beginsWith: 'get') not])
- ifTrue: [ ^ aGetterSelector].
- ^ ((aGetterSelector at: 4) asLowercase asString, (aGetterSelector copyFrom: 5 to: aGetterSelector size)) asSymbol!
Item was removed:
- ----- Method: Utilities class>>setterSelectorFor: (in category 'miscellaneous') -----
- setterSelectorFor: aName
- "Utilities setterSelectorFor: #elvis"
- ^ (('set', (aName asString capitalized)), ':') asSymbol!
Item was removed:
- ----- Method: Utilities class>>simpleSetterFor: (in category 'miscellaneous') -----
- simpleSetterFor: aSymbol
- "Utilities simpleSetterFor: #right"
- ^ (aSymbol, ':') asSymbol!
Frank Shearar uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-fbs.113.mcz
==================== Summary ====================
Name: EToys-fbs.113
Author: fbs
Time: 29 November 2013, 8:28:12.521 am
UUID: facaa4cf-13f4-ac4e-87cc-fc064735a534
Ancestors: EToys-fbs.112
In order to break the Graphics -> System dependency a bit more, change FontSubstitution to MissingFont to indicate what when wrong, not when it went wrong, and move the notification to Graphics.
=============== Diff against EToys-fbs.112 ===============
Item was changed:
----- Method: ProjectLoading class>>fileInName:archive:morphOrList: (in category '*etoys') -----
fileInName: aFileName archive: archive morphOrList: morphOrList
| baseChangeSet substituteFont numberOfFontSubstitutes exceptions anObject mgr |
ResourceCollector current: ResourceCollector new.
baseChangeSet := ChangeSet current.
self useTempChangeSet. "named zzTemp"
"The actual reading happens here"
substituteFont := Preferences standardEToysFont copy.
numberOfFontSubstitutes := 0.
exceptions := Set new.
[[anObject := morphOrList fileInObjectAndCodeForProject]
+ on: MissingFont do: [ :ex |
- on: FontSubstitutionDuringLoading do: [ :ex |
exceptions add: ex.
numberOfFontSubstitutes := numberOfFontSubstitutes + 1.
ex resume: substituteFont ]]
ensure: [ ChangeSet newChanges: baseChangeSet].
mgr := ResourceManager new initializeFrom: ResourceCollector current.
mgr fixJISX0208Resource.
mgr registerUnloadedResources.
archive ifNotNil:[mgr preLoadFromArchive: archive cacheName: aFileName].
ResourceCollector current: nil.
^ {anObject. numberOfFontSubstitutes. substituteFont. mgr}!
Frank Shearar uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-fbs.113.mcz
==================== Summary ====================
Name: EToys-fbs.113
Author: fbs
Time: 29 November 2013, 8:28:12.521 am
UUID: facaa4cf-13f4-ac4e-87cc-fc064735a534
Ancestors: EToys-fbs.112
In order to break the Graphics -> System dependency a bit more, change FontSubstitution to MissingFont to indicate what when wrong, not when it went wrong, and move the notification to Graphics.
=============== Diff against EToys-fbs.112 ===============
Item was changed:
----- Method: ProjectLoading class>>fileInName:archive:morphOrList: (in category '*etoys') -----
fileInName: aFileName archive: archive morphOrList: morphOrList
| baseChangeSet substituteFont numberOfFontSubstitutes exceptions anObject mgr |
ResourceCollector current: ResourceCollector new.
baseChangeSet := ChangeSet current.
self useTempChangeSet. "named zzTemp"
"The actual reading happens here"
substituteFont := Preferences standardEToysFont copy.
numberOfFontSubstitutes := 0.
exceptions := Set new.
[[anObject := morphOrList fileInObjectAndCodeForProject]
+ on: MissingFont do: [ :ex |
- on: FontSubstitutionDuringLoading do: [ :ex |
exceptions add: ex.
numberOfFontSubstitutes := numberOfFontSubstitutes + 1.
ex resume: substituteFont ]]
ensure: [ ChangeSet newChanges: baseChangeSet].
mgr := ResourceManager new initializeFrom: ResourceCollector current.
mgr fixJISX0208Resource.
mgr registerUnloadedResources.
archive ifNotNil:[mgr preLoadFromArchive: archive cacheName: aFileName].
ResourceCollector current: nil.
^ {anObject. numberOfFontSubstitutes. substituteFont. mgr}!
Frank Shearar uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-fbs.113.mcz
==================== Summary ====================
Name: EToys-fbs.113
Author: fbs
Time: 29 November 2013, 8:28:12.521 am
UUID: facaa4cf-13f4-ac4e-87cc-fc064735a534
Ancestors: EToys-fbs.112
In order to break the Graphics -> System dependency a bit more, change FontSubstitution to MissingFont to indicate what when wrong, not when it went wrong, and move the notification to Graphics.
=============== Diff against EToys-fbs.112 ===============
Item was changed:
----- Method: ProjectLoading class>>fileInName:archive:morphOrList: (in category '*etoys') -----
fileInName: aFileName archive: archive morphOrList: morphOrList
| baseChangeSet substituteFont numberOfFontSubstitutes exceptions anObject mgr |
ResourceCollector current: ResourceCollector new.
baseChangeSet := ChangeSet current.
self useTempChangeSet. "named zzTemp"
"The actual reading happens here"
substituteFont := Preferences standardEToysFont copy.
numberOfFontSubstitutes := 0.
exceptions := Set new.
[[anObject := morphOrList fileInObjectAndCodeForProject]
+ on: MissingFont do: [ :ex |
- on: FontSubstitutionDuringLoading do: [ :ex |
exceptions add: ex.
numberOfFontSubstitutes := numberOfFontSubstitutes + 1.
ex resume: substituteFont ]]
ensure: [ ChangeSet newChanges: baseChangeSet].
mgr := ResourceManager new initializeFrom: ResourceCollector current.
mgr fixJISX0208Resource.
mgr registerUnloadedResources.
archive ifNotNil:[mgr preLoadFromArchive: archive cacheName: aFileName].
ResourceCollector current: nil.
^ {anObject. numberOfFontSubstitutes. substituteFont. mgr}!