[Pharo-project] Useless Netwoking classes?
Hi, I'm looking at the Network-Kernel category, and found two classes that seem unused: -ConnectionQueue -InternetConfiguration I checked in the latest PharoCore, and Pharo-Dev. Also, I checked in Pier 1.2. No reference/subclass. If you agree to remove them, how should I provide/package the following code snipet that does the change ? ConnectionQueue removeFromSystem. InternetConfiguration removeFromSystem. Noury http://car.ensm-douai.fr/noury/ -------------- -5th National Conference on Control Architecture of Robots (CAR). Douai, France, 18-19 may 2010 http://car.ensm-douai.fr/CAR2010/ -ESUG 18th International Smalltalk Conference. Barcelona, Spain, 11-17 september 2010 http://www.esug.org/Conferences/2010
Yes and open an bug entry. Stef On Mar 24, 2010, at 4:45 PM, Bouraqadi Noury wrote:
Hi,
I'm looking at the Network-Kernel category, and found two classes that seem unused: -ConnectionQueue -InternetConfiguration
I checked in the latest PharoCore, and Pharo-Dev. Also, I checked in Pier 1.2. No reference/subclass.
If you agree to remove them, how should I provide/package the following code snipet that does the change ?
ConnectionQueue removeFromSystem. InternetConfiguration removeFromSystem.
Noury http://car.ensm-douai.fr/noury/ -------------- -5th National Conference on Control Architecture of Robots (CAR). Douai, France, 18-19 may 2010 http://car.ensm-douai.fr/CAR2010/
-ESUG 18th International Smalltalk Conference. Barcelona, Spain, 11-17 september 2010 http://www.esug.org/Conferences/2010
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Mar 24, 2010, at 4:45 PM, Bouraqadi Noury wrote:
InternetConfiguration
this one is in the startup list, on Macos. The idea is that it sets to proxy automatically.... considering that this is needed as SCG, just imagine how much good this class did for Squeak and Smalltalk (and Research! Humanity!) over the last 4 years... When I added it, people mentioned that "it's not perfect" and thus it should not be added to 3.9, but, as one can imagine, nothing better has been ever proposed. Marcus -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
keeeeeeeeeep it :) On Mar 24, 2010, at 4:51 PM, Marcus Denker wrote:
On Mar 24, 2010, at 4:45 PM, Bouraqadi Noury wrote:
InternetConfiguration
this one is in the startup list, on Macos.
The idea is that it sets to proxy automatically.... considering that this is needed as SCG, just imagine how much good this class did for Squeak and Smalltalk (and Research! Humanity!) over the last 4 years...
When I added it, people mentioned that "it's not perfect" and thus it should not be added to 3.9, but, as one can imagine, nothing better has been ever proposed.
Marcus
-- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On 24 mars 10, at 16:51, Marcus Denker wrote:
On Mar 24, 2010, at 4:45 PM, Bouraqadi Noury wrote:
InternetConfiguration
this one is in the startup list, on Macos.
It is then strange (bug) that I get an empty references set for it, especially that I'm on Mac too. Noury
The idea is that it sets to proxy automatically.... considering that this is needed as SCG, just imagine how much good this class did for Squeak and Smalltalk (and Research! Humanity!) over the last 4 years...
When I added it, people mentioned that "it's not perfect" and thus it should not be added to 3.9, but, as one can imagine, nothing better has been ever proposed.
Marcus
-- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Mar 26, 2010, at 12:03 PM, Bouraqadi Noury wrote:
On 24 mars 10, at 16:51, Marcus Denker wrote:
On Mar 24, 2010, at 4:45 PM, Bouraqadi Noury wrote:
InternetConfiguration
this one is in the startup list, on Macos.
It is then strange (bug) that I get an empty references set for it, especially that I'm on Mac too.
The problem is that the class as an Object is registered with the startup logic. (someone called "Smalltalk addToStartUpList:" at some point in the past). This could be detected, a safe delete would check for: References, subclasses, instances and and known pointers like this. But in general, using reflection will give you situations where static analyis fails. e.g. (Smalltalk classNamed: 'Obj', 'ect') is a use of Object, but hard to detect, especially if the string is the result of some real computation. Marcus -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
participants (3)
-
Bouraqadi Noury -
Marcus Denker -
Stéphane Ducasse