[etoys-dev] Etoys: Etoys-kfr.131.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Mar 17 06:32:53 EDT 2012

Karl Ramberg uploaded a new version of Etoys to project Etoys:

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

Name: Etoys-kfr.131
Author: kfr
Time: 17 March 2012, 11:32:37 am
UUID: 847ae7c0-951b-1849-978e-17ccb104ae81
Ancestors: Etoys-bf.130

Unlike all other vocabularies, the DateFormat vocabulary was getting added to the system's vocabulary-list by a class-initialize method of CalendarMorph, and this meant that it got lost whenever the list is rebuilt, e.g. via 'Vocabulary initialize'.

=============== Diff against Etoys-bf.130 ===============

Item was added:
+ ----- Method: CalendarMorph class>>assureDateFormatEstablished (in category 'class initialization') -----
+ assureDateFormatEstablished
+ 	"Make certain that there is a DateFormat vocabulary in the system's list."
+ 	Vocabulary addStandardVocabulary: (SymbolListType new vocabularyName: #DateFormat;
+ 				 symbols: #(#'dd/mm/yyyy' #'yyyy/mm/dd' #'mm/dd/yyyy')).!

Item was changed:
  ----- Method: CalendarMorph class>>initialize (in category 'class initialization') -----
+ 	"Class initialization."
- "
- CalendarMorph initialize.
- "
+ 	self assureDateFormatEstablished!
- Vocabulary addStandardVocabulary: (SymbolListType new vocabularyName: #DateFormat;
- 			 symbols: #(#'dd/mm/yyyy' #'yyyy/mm/dd' #'mm/dd/yyyy')).!

More information about the etoys-dev mailing list