David T. Lewis uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-dtl.162.mcz
==================== Summary ====================
Name: System-dtl.162
Author: dtl
Time: 7 November 2009, 11:57:44 am
UUID: 6f140160-1c75-48a9-b282-d51b609c8d0f
Ancestors: System-dtl.161
Move three methods from MorphicProject back to Project, undoing prior change. These are required for creating and entering an MVC project from Morphic.
=============== Diff against System-dtl.161 ===============
Item was added:
+ ----- Method: Project>>showSharedFlaps (in category 'flaps support') -----
+ showSharedFlaps
+ "Answer whether shared flaps are shown or suppressed in this project"
+
+ | result |
+ result := Preferences showSharedFlaps.
+ ^ self == Project current
+ ifTrue:
+ [result]
+ ifFalse:
+ [self projectPreferenceAt: #showSharedFlaps ifAbsent: [result]]!
Item was added:
+ ----- Method: Project>>flapsSuppressed (in category 'flaps support') -----
+ flapsSuppressed
+ "Answer whether flaps are suppressed in this project"
+
+ ^ self showSharedFlaps not!
Item was added:
+ ----- Method: Project>>flapsSuppressed: (in category 'flaps support') -----
+ flapsSuppressed: aBoolean
+ "Make the setting of the flag that governs whether global flaps are suppressed in the project be as indicated and add or remove the actual flaps"
+
+ self projectPreferenceFlagDictionary at: #showSharedFlaps put: aBoolean not.
+ self == Project current "Typical case"
+ ifTrue:
+ [Preferences setPreference: #showSharedFlaps toValue: aBoolean not]
+ ifFalse: "Anomalous case where this project is not the current one."
+ [aBoolean
+ ifTrue:
+ [Flaps globalFlapTabsIfAny do:
+ [:aFlapTab | Flaps removeFlapTab: aFlapTab keepInList: true]]
+
+ ifFalse:
+ [Smalltalk isMorphic ifTrue:
+ [self currentWorld addGlobalFlaps]]].
+ Project current assureNavigatorPresenceMatchesPreference!
Torsten Bergmann uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-tbn.288.mcz
==================== Summary ====================
Name: Kernel-tbn.288
Author: tbn
Time: 6 November 2009, 11:34:20 am
UUID: aad7e55c-fd95-f744-8a85-e7b176c70810
Ancestors: Kernel-ul.287
categorize and format ChronologyConstants>>initialize as a first commit test
=============== Diff against Kernel-ul.287 ===============
Item was changed:
+ ----- Method: ChronologyConstants class>>initialize (in category 'class initialization') -----
- ----- Method: ChronologyConstants class>>initialize (in category 'as yet unclassified') -----
initialize
+ "ChronologyConstants initialize"
+
+ SqueakEpoch := 2415386. "Julian day number of 1 Jan 1901"
- "ChronologyConstants initialize" SqueakEpoch := 2415386. "Julian day number of 1 Jan 1901"
SecondsInDay := 86400.
SecondsInHour := 3600.
SecondsInMinute := 60.
NanosInSecond := 10 raisedTo: 9.
NanosInMillisecond := 10 raisedTo: 6.
DayNames := #(Sunday Monday Tuesday Wednesday Thursday Friday Saturday).
MonthNames := #(January February March April May June July
August September October November December).
DaysInMonth := #(31 28 31 30 31 30 31 31 30 31 30 31)
!
Every year, ACM Special Interest Group on Programming Languages
(SIGPLAN)
names a distinguished member of the PL community as recipient of
the Programming Language Achievement Award. Nominations for this
award close on
5th January.
The Programming Languages Achievement Award is given to recognize
an individual (or individuals) who has made a significant and
lasting contribution to the field of programming languages. The
contribution can be a single event or a life-time of
achievement. The award includes a prize of $5,000. Recent
recipients of the award include Rod Burstall, Barbara Liskov, and
Niklaus Wirth.
Nominations can be submitted at any time to the secretary of
SIGPLAN (secretary_sigplan(a)acm.org). Details of the nomination
process an be found at
http://www.sigplan.org/award-achievement.htm . Please consider
nominating a member of this community for this award.
FYI:
I was in the process of saving three related package updates, and I
have apparently wedged the server again. I will not be able to address
any problems until later today. It is possible that the ST80-dtl.64
update will need to be reverted, since it's missing the related changes
in Morphic and System. If Morphic-dtl.224 shows up on the server, that
may need to be reverted for the same reason. I will complete the updates
later today (about 12 hours from now).
Dave
On Mon, Nov 09, 2009 at 01:06:21PM +0000, commits(a)source.squeak.org wrote:
> David T. Lewis uploaded a new version of ST80 to project The Trunk:
> http://source.squeak.org/trunk/ST80-dtl.64.mcz
>
> ==================== Summary ====================
>
> Name: ST80-dtl.64
> Author: dtl
> Time: 9 November 2009, 9:02:38 am
> UUID: 7a7b05e8-b147-4aa4-a732-3b083bc39d05
> Ancestors: ST80-nice.63
>
> Continue factoring Project into MVCProject and MorphicProject. Add method category 'enter' for methods associated with entering one project from another, including MVC-Morphic transition. Project>>enter: revert:saveForRevert: is significantly modified. Changes are in packages System, Morphic, and ST-80.
>
David T. Lewis uploaded a new version of ST80 to project The Trunk:
http://source.squeak.org/trunk/ST80-dtl.64.mcz
==================== Summary ====================
Name: ST80-dtl.64
Author: dtl
Time: 9 November 2009, 9:02:38 am
UUID: 7a7b05e8-b147-4aa4-a732-3b083bc39d05
Ancestors: ST80-nice.63
Continue factoring Project into MVCProject and MorphicProject. Add method category 'enter' for methods associated with entering one project from another, including MVC-Morphic transition. Project>>enter: revert:saveForRevert: is significantly modified. Changes are in packages System, Morphic, and ST-80.
=============== Diff against ST80-nice.63 ===============
Item was added:
+ ----- Method: MVCProject>>pauseSoundPlayers (in category 'enter') -----
+ pauseSoundPlayers
+ "Pause sound players, subject to preference settings"
+
+ Smalltalk at: #ScorePlayer
+ ifPresentAndInMemory: [:playerClass | playerClass
+ allSubInstancesDo: [:player | player pause]]!
Item was added:
+ ----- Method: MVCProject>>scheduleProcessForEnter: (in category 'enter') -----
+ scheduleProcessForEnter: showZoom
+ "Complete the enter: by launching a new process"
+
+ | newProcess |
+ SystemWindow clearTopWindow. "break external ref to this project"
+ newProcess := [
+ ScheduledControllers resetActiveController. "in case of walkback in #restore"
+ showZoom ifFalse: [ScheduledControllers restore].
+ ScheduledControllers searchForActiveController
+ ] fixTemps newProcess priority: Processor userSchedulingPriority.
+ newProcess resume. "lose the current process and its referenced morphs"
+ Processor terminateActive
+ !
Item was added:
+ ----- Method: MVCProject>>viewLocFor: (in category 'display') -----
+ viewLocFor: exitedProject
+ "Look for a view of the exitedProject, and return its center"
+
+ (world controllerWhoseModelSatisfies: [:p | p == exitedProject])
+ ifNotNilDo: [:ctlr | ^ctlr view windowBox center].
+ ^Sensor cursorPoint "default result"!
Item was added:
+ ----- Method: MVCProject>>setWorldForEnterFrom:recorder: (in category 'enter') -----
+ setWorldForEnterFrom: old recorder: recorderOrNil
+ "Prepare world for enter."
+
+ World := nil. "Signifies MVC"
+ Smalltalk at: #ScheduledControllers put: world
+ !
Item was added:
+ ----- Method: MVCProject>>setWorldForEmergencyRecovery (in category 'enter') -----
+ setWorldForEmergencyRecovery
+ "Prepare world for enter with an absolute minimum of mechanism.
+ An unrecoverable error has been detected in an isolated project."
+
+ World := nil.
+ Smalltalk at: #ScheduledControllers put: world.
+ ScheduledControllers restore
+ !
Item was added:
+ ----- Method: MVCProject>>armsLengthCommand:withDescription: (in category 'file in/out') -----
+ armsLengthCommand: aCommand withDescription: aString
+ | pvm |
+ "Set things up so that this aCommand is sent to self as a message
+ after jumping to the parentProject. For things that can't be executed
+ while in this project, such as saveAs, loadFromServer, storeOnServer. See
+ ProjectViewMorph step."
+
+ parentProject ifNil: [^ self inform: 'The top project can''t do that'].
+ pvm := parentProject findProjectView: self.
+ pvm armsLengthCommand: {self. aCommand}.
+ self exit
+ !
>This kind of mail UPSET me.
Why? The wiki page of the "Citezen" project clearly states that
the project can be loaded in Pharo easily - so whats wrong with
Miguel's post suggesting to use the distribution/image that may
provide a painless installation for the Citezen code
(which is Pharo in this case)
>If you wish be lost in the fog of boredom and you only interest is Web, >well go Pharo (or PHP or Perl or Python)
"Citezen" doesnt look like a web thing to me and Seaside is still
running on Squeak too.
Hey: we now have several squeak distro's (Squeak, Pharo, Croquet,
Cuis, eToys, ST80, FunSqueak, ...) each satisfying special needs
of parts of the community. There is a reason for any of them,
otherwise they wouldnt exist.
We dont need another x vs. y image discussion...
Bye
T.
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
Nicolas Cellier uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-nice.140.mcz
==================== Summary ====================
Name: Tools-nice.140
Author: nice
Time: 9 November 2009, 12:22:56 pm
UUID: b12808f4-1605-4e5d-bdef-55a4dfdb2c9a
Ancestors: Tools-nice.139
clean-up isSelfEvaluating
=============== Diff against Tools-nice.139 ===============
Item was removed:
- ----- Method: PointerFinder>>isSelfEvaluating (in category 'self evaluating') -----
- isSelfEvaluating
- ^ false!