[BUG] Can't use Squeakland plugin very well from Firefox...

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

[BUG] Can't use Squeakland plugin very well from Firefox...

Ned Konz
Hi all,

I just tried to use the Squeakland plugin on my Mac Mini. I'm running
the most recent version of Tiger (10.4.8), and I have a Squeakland image
that I just downloaded.

I'm using Firefox 2.0 as a browser.

When I try to run the test project from the Squeakland website (or the
Weasel Essay):

* I get a SyntaxError notification, with the text:

'Nothing more expected-><'

* Somewhere up the stack I see a "Message not understood:
ByteArray>>string". The CodeLoader's stream is a MultiByteFileStream;
its converter is a UTF8TextConverter.

* Trying to use the "mail bug report" menu choice from the debugger, I
can't use Cmd-S to do an "accept". In fact, all Cmd- keys are
intercepted by Firefox. Unfortunately, there is no text context menu in
the "mail bug report" text editor.

* Control-clicks are sent to both Squeak and Firefox, sometimes
resulting in both context menus coming up.

* Repaints are unreliable. I sometimes have to drag the Squeak objects
around to get them to repaint.

* Here's the full stack at the exception:

Process>>suspend
SyntaxError class>>open:
SyntaxErrorNotification>>defaultAction
UndefinedObject>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
SyntaxErrorNotification(Exception)>>signal
SyntaxErrorNotification class>>inClass:withCode:doitFlag:
Parser>>notify:at:
Parser>>expected:
Parser>>method:context:encoder:
[] in Parser>>parse:class:noPattern:context:notifying:ifFail: {[t7 :=
t10     method: t3     context: t4     encoder: (Encoder new       in...]}
BlockContext>>on:do:
Parser>>parse:class:noPattern:context:notifying:ifFail:
Compiler>>translate:noPattern:ifFail:
Compiler>>evaluate:in:to:notifying:ifFail:logged:
Compiler class>>evaluate:for:notifying:logged:
Compiler class>>evaluate:for:logged:
Compiler class>>evaluate:logged:
[] in MultiByteFileStream(PositionableStream)>>fileInAnnouncing: {[t2 :=
(self peekFor: $!)     ifTrue: [(Compiler evaluate: self nextChunk lo...]}
BlockContext>>on:do:
[] in MultiByteFileStream(PositionableStream)>>fileInAnnouncing: {[:t4 |
  [self atEnd]   whileFalse: [t4 value: self position.    self skipSep...]}
ProgressInitiationException>>sendNotificationsTo:
[] in ProjectLauncher>>installProjectFrom: {[:t2 | t2
sendNotificationsTo: [:t3 :t4 :t5 | t5]]}
BlockContext>>valueWithPossibleArgs:
[] in MethodContext(ContextPart)>>handleSignal: {[(self tempAt: 2)
valueWithPossibleArgs: {t1}]}
BlockContext>>ensure:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
ProgressInitiationException(Exception)>>signal
ProgressInitiationException>>display:at:from:to:during:
ProgressInitiationException class>>display:at:from:to:during:
ByteString(String)>>displayProgressAt:from:to:during:
MultiByteFileStream(PositionableStream)>>fileInAnnouncing:
MultiByteFileStream(FileStream)>>fileIn
MultiByteFileStream>>fileInProject
MultiByteFileStream>>fileInObjectAndCodeForProject
[] in ProjectLoading
class>>openName:stream:fromDirectory:withProjectView: {[t5 := t5
fileInObjectAndCodeForProject]}
BlockContext>>on:do:
[] in ProjectLoading
class>>openName:stream:fromDirectory:withProjectView: {[[t5 := t5
fileInObjectAndCodeForProject]   on: FontSubstitutionDuringLoadin...]}
BlockContext>>ensure:
ProjectLoading class>>openName:stream:fromDirectory:withProjectView:
CodeLoader>>installProject
[] in ProjectLauncher>>installProjectFrom: {[t1 installProject]}
BlockContext>>on:do:
[] in ProjectLauncher>>installProjectFrom: {[[t1 installProject]   on:
ProjectViewOpenNotification   do: [:t2 | t2 resum...]}
BlockContext>>on:do:
[] in ProjectLauncher>>installProjectFrom: {[[[t1 installProject]   on:
ProjectViewOpenNotification   do: [:t2 | t2 resu...]}
BlockContext>>on:do:
ProjectLauncher>>installProjectFrom:
ProjectLauncher>>startUpAfterLogin
ProjectLauncher>>doEtoyLogin
ProjectLauncher>>startUp
[] in AutoStart class>>startUp: {[t4 startUp]}
WorldState>>runStepMethodsIn:
PasteUpMorph>>runStepMethods
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess {[[World doOneCycle.  Processor
yield.  false] whileFalse.  nil]}
[] in BlockContext>>newProcess {[self value.  Processor terminateActive]}



--
Ned Konz
[hidden email]
http://bike-nomad.com
_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] Can't use Squeakland plugin very well from Firefox...

Frank Caggiano

On Nov 17, 2006, at 11:02, Ned Konz wrote:

> Hi all,
>
> I just tried to use the Squeakland plugin on my Mac Mini. I'm running
> the most recent version of Tiger (10.4.8), and I have a Squeakland  
> image
> that I just downloaded.
>
> I'm using Firefox 2.0 as a browser.
>
> When I try to run the test project from the Squeakland website (or the
> Weasel Essay):
>
> * I get a SyntaxError notification, with the text:
>
> 'Nothing more expected-><'
>

I'm getting the same error on a PowerPc G5  with 10.4.8 in both  
Firefox 2 and Safari.

------------------------
Frank Caggiano
frankcag at crystal-objects dot com
http://www.crystal-objects.com

The best education for the best is the best education for all.
                     Robert Maynard Hutchins


_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] Can't use Squeakland plugin very well from Firefox...

Ken G. Brown
In reply to this post by Ned Konz
John McIntosh Posted this a couple days ago to Squeak-dev.
   Ken

---------------------------------------------------------------------
At 4:36 AM -0800 11/17/06, [hidden email] wrote:

>Date: Thu, 16 Nov 2006 22:18:06 -0800
>From: John M McIntosh <[hidden email]>
>Subject: mac carbon VM 3.8.14b3 pending
>To: The general-purpose Squeak developers list
> <[hidden email]>
>Message-ID:
> <[hidden email]>
>Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
>I've posted a 3.8.14b3 Mac carbon VM to my ftp site and idisk for
>testing.  Some notes are below, the big changes are for ppc, and
>macIntel browser support (safari/firefix), headless support,
>remapping of mouse buttons, and adding Exupery support for MacIntel.
>
>http://www.smalltalkconsulting.com/squeak.html
>
>
>Please let me know if there are issues.
>
>PS Yes I know sound recording is broken somehow, I hope to explore
>why at some point this weekend, although the unix code was swapped in
>at 3.8.6b5 and no one noticed anything, assuming anyone does sound
>recording anymore, and perhaps it's just a macintel issue, yet
>another endian issue one can hope.
>
>
>3.8.14b3 sqMacWIndowUnversial.c  Ensure window is created when non-
>headless and not running under the browser
> typo in check prevent squeak from showing the window when running
>standalone for 3.8.14b2.
>
> sqMacMain.c Check processsor status at startup, if non-headless
>and LSBackgroundOnly is true, then
> switch process to foreground.
> info.plist rest LSBackgroundOnly to false, from true, to avoid
>Dock display issue. People
> wanting true headless app need then to alter info.plist
>
> revert bitBlt>copyLoop changes, introduced drawing problems, look
>at fixing later, or never as time permits
>
>3.8.14b2 Fixes for browser support
>
>3.8.14b1 New browser support on os-x mac/macintel for safari and
>firefox.
> This logic now follows the example set by the unix plugin, where we
> run the VM headless and talk to the browser plugin stub via a two-
>way pipe to
> enable fetching data via a URL, drawing the screen, and setting the
>cursor.
>
> Thanks to Viewpoint Research for funding this effort.
> This VM had limited distribution.
>
> sqMacOpenGL.c - remove BROWSERPLUGIN
> sqMacUnixFileInterface.c - needed include for sqUnixCharConv.h
> sqMacHostWindow.c - remove BROWSERPLUGIN
> sqMacMain.c - remove BROWSERPLUGIN, add browser pipe logic,
> rearrange startup to handle startup with out window for
>browser support.
> sqMacMemory.c - remove BROWSERPLUGIN
> sqMacTime.c - remove BROWSERPLUGIN
> sqMacUIAppleEvents.c - remove BROWSERPLUGIN
> sqMacUIEventsUniversal.c - remove BROWSERPLUGIN, expose some
>internals so new browser
> support code can call or access.
> sqMacUnixCommandLineInterface.c - add headfull cmd for browser testing
> sqMacUnixExernalPrims.c - remove BROWSERPLUGIN
> sqMacWIndowUnversial.c - remove BROWSERPLUGIN, changes for browser
>support,
> assume window is hidden which is different from being headless.
> sqNamedPrims.h - remove BROWSERPLUGIN
> sqPlatformSpecific.h - remove BROWSERPLUGIN, add URL_FETCH
> npSqueak - Directory, add plugin for browser into source tree
> sqMacNSPLuginUILogic2.c - new file to replace sqmacNSPluginUILogic.c
> sqMacNSPLuginUILogic2.h - new file to replace sqmacNSPluginUILogic2.c
>
>
>3.8.13.b4  Headless support
> sqMacMain.c
> headless, set background to false if not headless.
> alter uuid returned to signify which VM this is
>
> info.plist
> swap buttons to ensure cmd/opt of trackpad is right
> Add LSBackgroundOnly to yes i
>
> sqMacEventsUniversal.c
> headless support
>
> sqMacUnixCommandLineInterface.c
> headless parm -headless added
>
> sqMacWindowUniversal.c
> headless support
>
> platforms/Cross/plugins/ExuperyPLugin created
>
>3.8.13.b4, b5, b6, b7
> Had limited distribution to test new button modification logic
>
>3.8.13.b3
> bitBlt>copyLoop changes, normally it prefetchs the next byte for
>barrel shifting 64 bits when copying from
> one form to another, and a dirty secret and old bug is that it
>reads one word past the end of the Form
> when it processes the last word in the Form. However when you use
>surfaces where the surface is
> allocated elsewhere not in object space and in fact say the
>allocated form is 2MB and the vm memory
> system makes the frame past the 2MB range non-readable, why then
>you die on a read protection failure.
> So alter the loop to consider if it's preload and the last line we
>don't do the pre-fetch because that could
> cause a read failure.
>3.8.13.b2
> Exupery support, via plugin and changes in the VM for Mac Intel,
>use merged VMMaker-Exupery change set
>
>3.8.13.b1
> Exupery support, via plugin and changes in the VM for Mac Intel.
> http://minnow.cc.gatech.edu/squeak/5672
>
>--
>========================================================================
>===
>John M. McIntosh <[hidden email]>
>Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
>========================================================================
>===

---------------------------------------------------------------------

>Date: Fri, 17 Nov 2006 13:53:04 -0500
>From: Frank Caggiano <[hidden email]>
>Subject: Re: [Squeakland] [BUG] Can't use Squeakland plugin very well
> from Firefox...
>To: Ned Konz <[hidden email]>
>Cc: [hidden email]
>Message-ID: <[hidden email]>
>Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
>
>On Nov 17, 2006, at 11:02, Ned Konz wrote:
>
>> Hi all,
>>
>> I just tried to use the Squeakland plugin on my Mac Mini. I'm running
>> the most recent version of Tiger (10.4.8), and I have a Squeakland
>> image
>> that I just downloaded.
>>
>> I'm using Firefox 2.0 as a browser.
>>
>> When I try to run the test project from the Squeakland website (or the
>> Weasel Essay):
>>
>> * I get a SyntaxError notification, with the text:
>>
>> 'Nothing more expected-><'
>>
>
>I'm getting the same error on a PowerPc G5  with 10.4.8 in both
>Firefox 2 and Safari.
>
>------------------------
>Frank Caggiano
>frankcag at crystal-objects dot com
>http://www.crystal-objects.com
>
>The best education for the best is the best education for all.
>                     Robert Maynard Hutchins

_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] Can't use Squeakland plugin very well from Firefox...

johnmci
People who want to test the latest version likely need to email me  
for instructions how to uninstalll the old version and
setup the new version. This is a beta version, and I suspect there  
are a number of fixes to be made before we
make it the production version. I'll note for example it will not yet  
do full screen mode in the browser because I've not added that  
feature yet.

On 18-Nov-06, at 3:55 PM, Ken G. Brown wrote:

> John McIntosh Posted this a couple days ago to Squeak-dev.
>    Ken
>
> ---------------------------------------------------------------------
> At 4:36 AM -0800 11/17/06, squeak-dev-
> [hidden email] wrote:
>> Date: Thu, 16 Nov 2006 22:18:06 -0800
>> From: John M McIntosh <[hidden email]>
>> Subject: mac carbon VM 3.8.14b3 pending
>> To: The general-purpose Squeak developers list
>> <[hidden email]>
>> Message-ID:
>> <[hidden email]>
>> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>>
>> I've posted a 3.8.14b3 Mac carbon VM to my ftp site and idisk for
>> testing.  Some notes are below, the big changes are for ppc, and
>> macIntel browser support (safari/firefix), headless support,
>> remapping of mouse buttons, and adding Exupery support for MacIntel.
>>
>> http://www.smalltalkconsulting.com/squeak.html

--
========================================================================
===
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
========================================================================
===


_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland