Hi Guys,
I've just published a little more polished variant of the stuff that I sent around for dealing with pools in easier ways. It's up at SqueakMap
http://map2.squeakfoundation.org/sm/package/fc7f2d8c-74c0-486a-a364-abd63f47 373d
and here's the description:
This package provides the means for using 'classes as pool dictionaries' therefore enabling a more declarative style of using pools. The packages refactors some compiler protocols and provides a base class 'SharedPool' to be used as superclass for any declarative pool. The package contains refactored versions of the following pools: * ChessConstants * KlattResonatorIndices * BalloonEngineConstants * B3DEngineConstants * ZipFileConstants * ZipConstants * GZipConstants * FFIConstants * EventSensorConstants The refactorings will be applied only if the pool is present.
Cheers, - Andreas
Great! Andreas I do not have the time to look at it now but just to know did you change code in Class, SystemDictionary. I guess so but I want to be sure. Because we could do a pass on it in the context of KCP.
Stef
On Sunday, May 18, 2003, at 09:22 PM, Andreas Raab wrote:
Hi Guys,
I've just published a little more polished variant of the stuff that I sent around for dealing with pools in easier ways. It's up at SqueakMap
http://map2.squeakfoundation.org/sm/package/fc7f2d8c-74c0-486a-a364- abd63f47 373d
and here's the description:
This package provides the means for using 'classes as pool dictionaries' therefore enabling a more declarative style of using pools. The packages refactors some compiler protocols and provides a base class 'SharedPool' to be used as superclass for any declarative pool. The package contains refactored versions of the following pools:
- ChessConstants
- KlattResonatorIndices
- BalloonEngineConstants
- B3DEngineConstants
- ZipFileConstants
- ZipConstants
- GZipConstants
- FFIConstants
- EventSensorConstants
The refactorings will be applied only if the pool is present.
Cheers,
- Andreas
Hi Stef,
Andreas I do not have the time to look at it now but just to know did you change code in Class, SystemDictionary.
Yes. Everything that sends #scopeHas:ifTrue: was changed to use #bindingOf:. In addition, the implementors of #scopeHas:ifTrue: if have been removed (except from Behavior which implements this for changes that I have no control over).
Cheers, - Andreas
Stef,
I just checked against the published KCP updates. There are only two conflicting places (Class>>addClassVarName: and Environment>>browseIndirectRefs). I've posted an update for DeclarativePools which fixes the conflicts (naturally this update is not applicable to any <3.6a system).
Cheers, - Andreas
-----Original Message----- From: squeak-dev-bounces@lists.squeakfoundation.org [mailto:squeak-dev-bounces@lists.squeakfoundation.org] On Behalf Of Stephane Ducasse Sent: Sunday, May 18, 2003 9:43 PM To: The general-purpose Squeak developers list Cc: Alexandre Bergel; Nathanael Schärli; Roel Wuyts Subject: Re: [ANN][ENH][REFACTOR] Declarative pools at SqueakMap
Great! Andreas I do not have the time to look at it now but just to know did you change code in Class, SystemDictionary. I guess so but I want to be sure. Because we could do a pass on it in the context of KCP.
Stef
On Sunday, May 18, 2003, at 09:22 PM, Andreas Raab wrote:
Hi Guys,
I've just published a little more polished variant of the
stuff that I
sent around for dealing with pools in easier ways. It's up at SqueakMap
http://map2.squeakfoundation.org/sm/package/fc%3E 7f2d8c-74c0-486a-a364-
abd63f47 373d
and here's the description:
This package provides the means for using 'classes as pool dictionaries' therefore enabling a more declarative style of using pools. The packages refactors some compiler protocols and provides a base class 'SharedPool' to be used as superclass for any
declarative pool.
The package contains refactored versions of the following pools:
- ChessConstants
- KlattResonatorIndices
- BalloonEngineConstants
- B3DEngineConstants
- ZipFileConstants
- ZipConstants
- GZipConstants
- FFIConstants
- EventSensorConstants
The refactorings will be applied only if the pool is present.
Cheers,
- Andreas
Good! Here this is the day before the deadline :).
Stef
On Monday, May 19, 2003, at 12:35 PM, Andreas Raab wrote:
Stef,
I just checked against the published KCP updates. There are only two conflicting places (Class>>addClassVarName: and Environment>>browseIndirectRefs). I've posted an update for DeclarativePools which fixes the conflicts (naturally this update is not applicable to any <3.6a system).
You confused me. If I load your code after our changes why should not it work?
Stef
Cheers,
- Andreas
-----Original Message----- From: squeak-dev-bounces@lists.squeakfoundation.org [mailto:squeak-dev-bounces@lists.squeakfoundation.org] On Behalf Of Stephane Ducasse Sent: Sunday, May 18, 2003 9:43 PM To: The general-purpose Squeak developers list Cc: Alexandre Bergel; Nathanael Schärli; Roel Wuyts Subject: Re: [ANN][ENH][REFACTOR] Declarative pools at SqueakMap
Great! Andreas I do not have the time to look at it now but just to know did you change code in Class, SystemDictionary. I guess so but I want to be sure. Because we could do a pass on it in the context of KCP.
Stef
On Sunday, May 18, 2003, at 09:22 PM, Andreas Raab wrote:
Hi Guys,
I've just published a little more polished variant of the
stuff that I
sent around for dealing with pools in easier ways. It's up at SqueakMap
http://map2.squeakfoundation.org/sm/package/fc%3E 7f2d8c-74c0-486a-a364-
abd63f47 373d
and here's the description:
This package provides the means for using 'classes as pool dictionaries' therefore enabling a more declarative style of using pools. The packages refactors some compiler protocols and provides a base class 'SharedPool' to be used as superclass for any
declarative pool.
The package contains refactored versions of the following pools:
- ChessConstants
- KlattResonatorIndices
- BalloonEngineConstants
- B3DEngineConstants
- ZipFileConstants
- ZipConstants
- GZipConstants
- FFIConstants
- EventSensorConstants
The refactorings will be applied only if the pool is present.
Cheers,
- Andreas
[closed]
< I'm a bug-fixing machine! >
This post brought to you by the BugFixArchiveViewer, a handy tool that makes it easy to comment on proposed fixes and enhancements for Squeak. For more information, check out the Web page for the BugFixArchiveViewer project: http://minnow.cc.gatech.edu/squeak/3214
< I'm a bug-fixing machine! >
squeak-dev@lists.squeakfoundation.org