[UPDATES] 30 KCP changes for 3.6alpha

Stephane Ducasse ducasse at iam.unibe.ch
Mon May 19 07:05:13 UTC 2003


Hi all

just a note, after the discussion in the list we changed the way we 
deprecate method to be smoother.
No error, just a warning. So we rolled back all the deprecated methods 
in some recent changesets, once
those changesets will get in, people will be able to load their code in 
3.6alpha and just get notified about the changed
(vs. been forced to change).

Sorry we should have thought about that before.

Stef

On Monday, May 19, 2003, at 10:50 AM, Doug Way wrote:

>
> These are the KCP (Kernel Cleanup Project) changes for 3.6alpha.  For 
> an
> overview of the changes, see the swiki page:
>
> http://minnow.cc.gatech.edu/squeak/3083
>
> The incorporated changes go up to KCP #57... the are some newer ones
> which can be incorporated later after review.  (Review meaning a quick
> review of the design decisions.)  The incorporated changes do not
> include the tests, which can go into a separate tests package.
>
> There were some conflicts for KCP changesets #48 and #50 with changes
> since 3.4 (detected with the ConflictChecker), which I believe I
> resolved with some tweaking.
>
> Next up will be the MCP changes, and then we can open things up to
> harvest everything else...
>
> - Doug Way
>
>
> -----------------------------------------------
>
> 5206KCP04rmSubclassMod-ab -- alexandre bergel- stephane ducasse -- 12
> March 2003
> remove the method subclass...module:.
> which was not invoked at all and is a legacy from 3.3alpha"
>
> 5207KCP07pullUpIsMeta-ab -- alexandre bergel -- 12 March 2003
> Pull up the method isMeta from the class ClassDescription to the class
> Behavior"
>
> 5208KCP09pullUpAllSub-ab -- alexandre bergel -- 12 March 2003
> Pull up the method allSubclasses from ClassDescription to Behavior"
>
> 5209KCP11rmSmaBeha -- stephane ducasse, alexandre bergel, and nathanael
> schaerli -- 28 March 2003
> Changes all the references to Smalltalk by self environment in the 
> class
> Behavior"
>
> 5210KCP13EnvirUndObj -- stephane ducasse, alexandre bergel, and
> nathanael schaerli -- 28 March 2003
> Change Smalltalk in UndefinedObject to use self environment"
>
> 5211KCP14rmSmkInClass -- stephane ducasse, alexandre bergel, and
> nathanael schaerli -- 28 March 2003
> Replace all the Smalltalk by self environment in class Class"
>
> 5212KCP15rmSmaClassD -- stephane ducasse, alexandre bergel, and
> nathanael schaerli -- 28 March 2003
> Replace all the Smalltalk by self environment in the class
> ClassDescription"
>
> 5213KCP17SystemNavigator -- stephane ducasse, alexandre bergel, and
> nathanael schaerli -- 28 March 2003
> This class will be the facade for all the system navigation. It will
> contain browseAll.. kinds of methods"
>
> 5214KCP18FixCallerOfBrowse -- stephane ducasse, alexandre bergel, and
> nathanael schaerli -- 28 March 2003
> To be able to remove browse from behavior, all the senders have been
> changed."
>
> 5215KCP19rmBrowseBeha -- stephane ducasse, alexandre bergel, and
> nathanael schaerli -- 28 March 2003
> remove the method browse from Behavior. Note that the sender in
> HTMLInput is calling the method browse from FileInput, so there is no
> problem "
>
> 5216KCP21browseAccessIn -- stephane ducasse, alexandre bergel, and
> nathanael schaerli -- 28 March 2003
> introduce the methods browseAllStoreInto:from: and
> browseAllAccessesTo:from: into SystemNavigation and adapt all the
> senders of Behavior>>browseAllAccessesTo: and
> Behavior>>browseAllStoreInto:"
>
> 5217KCP22rmBrowseBehavior -- stephane ducasse, alexandre bergel, and
> nathanael schaerli -- 28 March 2003
> deprecate methods Behavior>>browseAccessesTo: and browseStoreInto: from
> Behavior"
>
> 5218KCP24rmBrwsAllCall -- stephane ducasse, alexandre bergel, and
> nathanael schaerli -- 28 March 2003
> Deprecate the method browseAllCallsOn: on Behavior and adjust
> MethodFinder. The responsability is tranfered to SystemNavigation. Note
> that all the other senders are sending the same message to Smalltalk 
> and
> not to the class."
>
> 5219KCP26allCallOn -- stephane ducasse, alexandre bergel, and nathanael
> schaerli -- 28 March 2003
> Deprecate the method Behavior>>allCallsOn: and transform it into the
> method SystemNavigation>>allCallsOn:from:. Note that all the other
> method invocation have Smalltalk as receiver"
>
> 5220KCP28rmModuleRelated -- stephane ducasse, alexandre bergel, and
> nathanael schaerli -- 28 March 2003
> remove obsolete methods related to modules."
>
> 5221KCP30browseClassVar -- stephane ducasse, alexandre bergel, and
> nathanael schaerli -- 28 March 2003
> Deprecated ClassDescription>>browseClassVarRefs and define
> SystemNavigation>>browseClassVarRefs:. Note that all the left senders 
> of
> browseClassVarRefs are subclasses of StringHolder so they do not have 
> to
> be modified."
>
> 5222KCP32browseClsVaria -- stephane ducasse, alexandre bergel, and
> nathanael schaerli -- 28 March 2003
> Deprecated ClassDescription>>browseClassVariables and define
> SystemNavigation>>browseClassVariables:. Note that all the left senders
> of browseClassVariables are subclasses of StringHolder so they do not
> have to be modified."
>
> 5223KCP34browseInstVar -- stephane ducasse, alexandre bergel, and
> nathanael schaerli -- 28 March 2003
> Deprecated ClassDescription>>browseInstVarDefs and browseInstVarRefs 
> and
> define SystemNavigation>>browseInstVarDefs: and browseInstVarRefs: .
> Note that all the left senders of browseInstVarDefs and
> browseInstVarRefs are subclasses of StringHolder so they do not have to
> be modified. (Version of the 7 April 2003 I fixed two missing new
> (SystemNavigation new) sd"
>
> 5224KCP38pullwithallsub -- stephane ducasse and alexandre bergel -- 4
> April 2003
> Pull up the method withallSubclasses from classDescription to 
> behavior."
>
> 5225KCP40ifTrueReturnClean -- stephane ducasse and alexandre bergel -- 
> 4
> April 2003
> Move return out of the conditional branches of certain methods of
> behavior"
>
> 5226KCP41mvconfirmRemoval -- stephane ducasse -- 7 April 2003
> move the method confirmRemovalOf: from Behavior to SystemNavigation. 
> The
> method confirmRemovalOf: is now deprecated on Behavior (note that this
> method will have to be cleaned too once SystemDictionary will be
> cleaned). Fix all the senders of confirmRemovalOf: to call
> SystemNavigation>>confirmRemovalOf:on:"
>
> 5227KCP43rmClassThatUnd -- stephane ducasse -- 7 April 2003
> The methods Behavior>>whichClassIncludesSelector: and
> Behavior>>classThatUnderstands: are terribly similar.
> I choose the keep the name whichClassIncludesSelector: because they 
> were
> others methods with a similar name. However from a design point of 
> view,
> classThatUnderstands was better because it used includesSelector: and
> not methodDict includeKey: so subclasses could specialize the
> includesSelector: if needed."
>
> 5228KCP45selfSystemNav -- stephane ducasse -- 15 April 2003
> Naively we introduce SystemNavigation new everywhere in the browsers
> while it would have been really smarter to have self systemNavigation 
> so
> that browsers can customize this methods after. This changeset 
> introduce
> that. We did not want to reproduce all the changeset so this one fixes
> that problem."
>
> 5229KCP46BrowseOutOfSysDict -- stephane ducasse -- 15 April 2003
> Start to clean SystemDictionary, move show* methods into
> SystemNavigation (prereq: KCP-0045)"
>
> 5230KCP48mvBrowseSystDict -- stephane ducasse -- 16 April 2003
> Move all the method browse* from systemDictionary to SystemNavigation
> and fix all the senders.
> Fix also some small errors introduced when moving method from Behavior
> hierarhcy to SystemNavigation
> Prereq other KCP changeset related to moving browse* method from
> Behavior hierarchy to SystemNavigation.
> (Fixed conflict with more recent change to ChangeSet>>mailOut in 5194.
> -dew)
>
> 5231KCP50mvAllCallpartA2 -- stephane ducasse -- 18 April 2003
> Move all the query methods from SystemDictionary to SystemNavigation.
> Still I'm not completely happy with the solution because the design
> should support multiple namespace or environment.
> So systemNavigation has allClasses to get all the class and
> SystemDictionary to get the classes currently defined in a
> systemDictionary. This means that all the senders of allClasses will
> have to be evaluated to know whether they work at a global level or a
> systemDictionary level.
> (Updated to work with changes since 3.5... removed references to
> SystemTracer, CipherPanel, etc. -dew)
>
> 5232KCP50mvAllCallpartB -- stephane ducasse -- 18 April 2003
> To due to ordering problem this method has to be in another changeset
>
> 5233KCP52rmObsFromSystDict -- stephane ducasse -- 29 April 2003
> mark as obsolete (with flag and error) a method that was obsolete and
> not invoked"
>
> 5234KCP55sortClassCat -- stephane ducasse -- 29 April 2003
> move sortClassCategory to the class side of class organizer (where it
> should have been!!!) "
>
> 5235KCP57movePowerMgmt -- stephane ducasse -- 29 April 2003
> move the powermanagement stuff from systemDictionary to 
> PowerManagement"
>
>
>
>



More information about the Squeak-dev mailing list