SystemDictionary>>abandonSources bug and misc. deployment problems.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

SystemDictionary>>abandonSources bug and misc. deployment problems.

Tomi Neste
Hi! While testing out Squeak (vanilla 3.9 image from the windows binary  
package) application deployment strategies I bumped into some minor  
problems.

1) When doing 'Smalltalk abandonSources', right after "Saving temp names  
for better decompilation..." is finished the VM crashes with a "Squeak  
fatal error" dialog.

2) SM's Lockdown package leaves the WorldMenu accessible, I guess I would  
need to fix that manually. It also gives a "MessageNotUnderstood:  
SystemDictionary>>SaveAs" when trying to save the image.

3) QuitDialogMessage and QuitDialogLabel options in the ini file don't  
seem to have any effect.

Since I'm not using the Squeak UI in the app I'd like to have a way to  
just:

a) Completely hide the squeak window, the headless option still leaves an  
icon in the toolbar. I guess I could do it with a simple C program that  
launches the VM with appropriate flags.

b) Display a nice logo or something in a 'hardened' squeak window while  
the program is running. Maybe also add some gui controls for setting  
application preferences etc. It would make things a bit simpler if the  
user couldn't resize the squeak window, I guess there is no way to prevent  
that?

Any ideas?

thanks, T. Neste

Reply | Threaded
Open this post in threaded view
|

Re: SystemDictionary>>abandonSources bug and misc. deployment problems.

Andreas.Raab
Tomi Neste wrote:
> 1) When doing 'Smalltalk abandonSources', right after "Saving temp names
> for better decompilation..." is finished the VM crashes with a "Squeak
> fatal error" dialog.

That is most unexpected. Can you repeat the problem? If so, please let
me know which VM version you are using so I can try to recreate it.

> 3) QuitDialogMessage and QuitDialogLabel options in the ini file don't
> seem to have any effect.

Looks like your VM might be to old. You might want to try 3.9.2 from
http://www.squeakvm.org/win32/release

> Since I'm not using the Squeak UI in the app I'd like to have a way to
> just:
>
> a) Completely hide the squeak window, the headless option still leaves
> an icon in the toolbar. I guess I could do it with a simple C program
> that launches the VM with appropriate flags.

There is currently no option that *completely* hides Squeak except if
you run it as a service.

> b) Display a nice logo or something in a 'hardened' squeak window while
> the program is running. Maybe also add some gui controls for setting
> application preferences etc. It would make things a bit simpler if the
> user couldn't resize the squeak window, I guess there is no way to
> prevent that?

Recompile the VM and change the window attributes. That would be my
answer (and it's not too hard - download the build tools, install them,
download the source release, recompile, go).

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: SystemDictionary>>abandonSources bug and misc. deployment problems.

Tomi Neste
Andreas Raab <[hidden email]> kirjoitti Mon, 05 Mar 2007 12:01:44  
+0200:

> Tomi Neste wrote:
>> 1) When doing 'Smalltalk abandonSources', right after "Saving temp  
>> names for better decompilation..." is finished the VM crashes with a  
>> "Squeak fatal error" dialog.
>
> That is most unexpected. Can you repeat the problem? If so, please let  
> me know which VM version you are using so I can try to recreate it.

Still crashes with the 3.9.2 VM. But works with the 3.8 image...

>> 3) QuitDialogMessage and QuitDialogLabel options in the ini file don't  
>> seem to have any effect.
>
> Looks like your VM might be to old. You might want to try 3.9.2 from  
> http://www.squeakvm.org/win32/release

This fixed the ini file problems :)

thanks, T. Neste

Reply | Threaded
Open this post in threaded view
|

Re: SystemDictionary>>abandonSources bug and misc. deployment problems.

timrowledge

On 5-Mar-07, at 2:16 AM, Tomi Neste wrote:

> Andreas Raab <[hidden email]> kirjoitti Mon, 05 Mar 2007  
> 12:01:44 +0200:
>
>> Tomi Neste wrote:
>>> 1) When doing 'Smalltalk abandonSources', right after "Saving  
>>> temp names for better decompilation..." is finished the VM  
>>> crashes with a "Squeak fatal error" dialog.
>>
>> That is most unexpected. Can you repeat the problem? If so, please  
>> let me know which VM version you are using so I can try to  
>> recreate it.
>
> Still crashes with the 3.9.2 VM. But works with the 3.8 image...

I think you'll find this is a side-effect of traits changing the  
metaclass format


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Strange OpCodes: PDH: Page to Disk for the Hell of it