Etoys: Etoys-kfr.131.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Etoys: Etoys-kfr.131.mcz

commits-2
Karl Ramberg uploaded a new version of Etoys to project Etoys:
http://source.squeak.org/etoys/Etoys-kfr.131.mcz

==================== 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') -----
  initialize
+ "Class initialization."
- "
- CalendarMorph initialize.
- "
 
+ self assureDateFormatEstablished!
- Vocabulary addStandardVocabulary: (SymbolListType new vocabularyName: #DateFormat;
- symbols: #(#'dd/mm/yyyy' #'yyyy/mm/dd' #'mm/dd/yyyy')).!

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev