Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
103 posts
|
Hi,
This evening I learnt the basic of Etoys doing the "Falling ellipse" example from the book "Squeak - Object-Oriented Design with Multimedia Applications" (Guzdial pg.164-172). Problem. There are so many deprecation warnings going through this simple exercise (in Squeak-5.2 #update 18232) that only a highly motivated person would be patient enough to kill/ignore all of them. For the moment I am not able to fix it myself, better I can do is to signal you the issue;) bye Nicola |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1513 posts
|
You can turn off deprecation warnings in the preferences for now. :)
Mit freundlichen Grüßen
Christoph Thiede
Hasso-Plattner-Institut für Softwaresystemtechnik GmbH, Potsdam
Amtsgericht Potsdam, HRB 12184
Geschäftsführung: Prof. Dr. Christoph Meinel
On Sat, Sep 21, 2019 at 7:39 AM +0200, "Nicola Mingotti"
<[hidden email]> wrote:
... [show rest of quote]
Carpe Squeak!
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
614 posts
|
It would be cool if users could turn the warnings off from the notifier that warns them. Then they wouldn't have to know that there is a preference, they would be told so right away. Am Sa., 21. Sept. 2019 um 10:16 Uhr schrieb Thiede, Christoph <[hidden email]>:
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
3555 posts
|
+1
Could somebody please implement an option to turn off 'deprecation warnings' from within the warning dialog box? --Hannes On 9/21/19, Jakob Reschke <[hidden email]> wrote: > It would be cool if users could turn the warnings off from the notifier > that warns them. Then they wouldn't have to know that there is a > preference, they would be told so right away. > > Am Sa., 21. Sept. 2019 um 10:16 Uhr schrieb Thiede, Christoph < > [hidden email]>: > >> You can turn off deprecation warnings in the preferences for now. :) >> >> Mit freundlichen Grüßen >> >> Christoph Thiede >> >> Hasso-Plattner-Institut für Softwaresystemtechnik GmbH, Potsdam >> Amtsgericht Potsdam, HRB 12184 >> Geschäftsführung: Prof. Dr. Christoph Meinel >> >> >> >> >> On Sat, Sep 21, 2019 at 7:39 AM +0200, "Nicola Mingotti" < >> [hidden email]> wrote: >> >> Hi, >>> >>> This evening I learnt the basic of Etoys doing the "Falling ellipse" >>> example from the book "Squeak - Object-Oriented Design with Multimedia >>> Applications" (Guzdial pg.164-172). >>> >>> Problem. There are so many deprecation warnings going through this >>> simple >>> exercise (in Squeak-5.2 #update 18232) that only a highly motivated >>> person >>> would be patient enough to kill/ignore all of them. >>> >>> For the moment I am not able to fix it myself, better I can do is to >>> signal you the issue;) >>> >>> bye >>> Nicola >>> >>> >>> >>> >>> >>> >> > ... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5620 posts
|
Hi, I think this should be generalized in this case, because it's the same for Preferences driven compiler options (assign block argument, underscore assignment, etc... ). The Debugger hook could be in the Exception subclasses. Le sam. 21 sept. 2019 à 10:34, H. Hirzel <[hidden email]> a écrit : +1 ... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1513 posts
|
> I think this should be generalized in this case, because it's the same for Preferences driven compiler options (assign block argument, underscore assignment, etc... ). The Debugger hook could be in the Exception subclasses. But you do not get a Debugger window when there is a Compiler error? Could you explain your idea more in detail, please? :) Von: Squeak-dev <[hidden email]> im Auftrag von Nicolas Cellier <[hidden email]>
Gesendet: Samstag, 21. September 2019 14:29:28 An: The general-purpose Squeak developers list Betreff: Re: [squeak-dev] Etoys infested by deprecation warnings Hi, I think this should be generalized in this case, because it's the same for Preferences driven compiler options (assign block argument, underscore assignment, etc... ). The Debugger hook could be in the Exception subclasses.
Le sam. 21 sept. 2019 à 10:34, H. Hirzel <[hidden email]> a écrit :
+1 ... [show rest of quote]
Carpe Squeak!
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1513 posts
|
In reply to this post by Hannes Hirzel
How would you like the following?
I will need to update my image before I could send this to the Inbox, sorry :(
-ct Von: Squeak-dev <[hidden email]> im Auftrag von H. Hirzel <[hidden email]>
Gesendet: Samstag, 21. September 2019 10:34:44 An: The general-purpose Squeak developers list Betreff: Re: [squeak-dev] Etoys infested by deprecation warnings +1
Could somebody please implement an option to turn off 'deprecation warnings' from within the warning dialog box? --Hannes On 9/21/19, Jakob Reschke <[hidden email]> wrote: > It would be cool if users could turn the warnings off from the notifier > that warns them. Then they wouldn't have to know that there is a > preference, they would be told so right away. > > Am Sa., 21. Sept. 2019 um 10:16 Uhr schrieb Thiede, Christoph < > [hidden email]>: > >> You can turn off deprecation warnings in the preferences for now. :) >> >> Mit freundlichen Grüßen >> >> Christoph Thiede >> >> Hasso-Plattner-Institut für Softwaresystemtechnik GmbH, Potsdam >> Amtsgericht Potsdam, HRB 12184 >> Geschäftsführung: Prof. Dr. Christoph Meinel >> >> >> >> >> On Sat, Sep 21, 2019 at 7:39 AM +0200, "Nicola Mingotti" < >> [hidden email]> wrote: >> >> Hi, >>> >>> This evening I learnt the basic of Etoys doing the "Falling ellipse" >>> example from the book "Squeak - Object-Oriented Design with Multimedia >>> Applications" (Guzdial pg.164-172). >>> >>> Problem. There are so many deprecation warnings going through this >>> simple >>> exercise (in Squeak-5.2 #update 18232) that only a highly motivated >>> person >>> would be patient enough to kill/ignore all of them. >>> >>> For the moment I am not able to fix it myself, better I can do is to >>> signal you the issue;) >>> >>> bye >>> Nicola >>> >>> >>> >>> >>> >>> >> >
Carpe Squeak!
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5620 posts
|
In reply to this post by Christoph Thiede
Ah you're right, we get SyntaxError window... Same problem, different form... Le sam. 21 sept. 2019 à 15:54, Thiede, Christoph <[hidden email]> a écrit :
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1513 posts
|
> Ah you're right, we get SyntaxError window... Same problem, different form...
Or, more frequently, an inline syntax error (#correctFrom:to:with:). I believe it would be overwhelming to put a link there. Also, these preferences aren't designed for beginners, are they? Who wants to use a deprecated syntax? Von: Squeak-dev <[hidden email]> im Auftrag von Nicolas Cellier <[hidden email]>
Gesendet: Samstag, 21. September 2019 19:46:42 An: The general-purpose Squeak developers list Betreff: Re: [squeak-dev] Etoys infested by deprecation warnings Ah you're right, we get SyntaxError window... Same problem, different form...
Le sam. 21 sept. 2019 à 15:54, Thiede, Christoph <[hidden email]> a écrit :
... [show rest of quote]
Carpe Squeak!
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5620 posts
|
The problem is when the SyntaxError is triggered by loading a legacy package. Correcting the source is the last thing you would like to do if noob... Le sam. 21 sept. 2019 à 19:51, Thiede, Christoph <[hidden email]> a écrit :
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
103 posts
|
In reply to this post by Jakob Reschke
+1
Definitely. Indeed this beginner was not aware of the preference. Eventually I tweaked the code to comply with the deprecation warning. But that could happen only because I learnt Smalltalk before Etoys. Which may not be the case for younger users. bye Nicola On 9/21/19 1:29 AM, Jakob Reschke
wrote:
... [show rest of quote]
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1033 posts
|
In reply to this post by Jakob Reschke
> It would be cool if users could turn the warnings off from the notifier
> that warns them. Then they wouldn't have to know that there is a > preference, they would be told so right away. +1 Stef |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1513 posts
|
Could we raise kind of ParserNotification when a piece of deprecated syntax is detected, rather than calling #notify: in Scanner? We could design such an ObsoleteSyntaxNotification in a way that allows the user to abort or ignore the warning.
Then, maybe we could suppress this kind of notification when loading code from Metacello (using #on:do:).
Best, Christoph Von: Squeak-dev <[hidden email]> im Auftrag von Stéphane Rollandin <[hidden email]>
Gesendet: Samstag, 21. September 2019 21:53:39 An: [hidden email] Betreff: Re: [squeak-dev] Etoys infested by deprecation warnings > It would be cool if users could turn the warnings off from the notifier
> that warns them. Then they wouldn't have to know that there is a > preference, they would be told so right away. +1 Stef
Carpe Squeak!
|
Free forum by Nabble | Edit this page |