Henry -
I have instrumented the script compiler to capture its source
and resulting binary each time it is called. I only do this
for SWF7/8. Then I did a clean build and webdeploy
and load the simple application, in two trees - before (z0)
and after (z1) my changes. There are some 200 compiles,
and they match up until about compilation 28. Then
the *source* input is quite different between the two runs. Needless
to say, I get differences in output. Is this to be expected -
are there timing differences or subtleties in the UI interaction
that would cause such a difference? I'm going to run this
again both ways to see if it is consistent. I'm attaching the two
source files -
again the differences seem to have to do with basefocusview --
I'll also try removing the repeated include line and see if that
makes a difference.
- Don
#file base/basefocusview.lzx
#line 23
LzInstantiateView({name: 'class',
attrs: {parent: "view", initobj: {attrs: {$delegates: ["onstop", "stopanim",
null, "onfocus", "$m2_$base$2Fbasefocusview$2Elzx_260_62_reference",
#file base/basefocusview.lzx
#line 260
function $m2_$base$2Fbasefocusview$2Elzx_260_62_reference
(
#file base/basefocusview.lzx
#line 260
v
) {
#pragma 'withThis'
return (#beginAttribute
#file base/basefocusview.lzx
#line 260
LzFocus
#endAttribute
)
}], $events: ["ontarget", "onactive"],
$m1_$base$2Fbasefocusview$2Elzx_152_51_reference:
#file base/basefocusview.lzx
#line 152
function $m1_$base$2Fbasefocusview$2Elzx_152_51_reference
(
#file base/basefocusview.lzx
#line 152
#file base/basefocusview.lzx
#line 152
) {
#beginContent
#pragma 'methodName=$m1_$base$2Fbasefocusview$2Elzx_152_51_reference'
#pragma 'withThis'
#file base/basefocusview.lzx
#line 152
#endContent
}, $m2_$base$2Fbasefocusview$2Elzx_260_62_reference:
#file base/basefocusview.lzx
#line 260
function $m2_$base$2Fbasefocusview$2Elzx_260_62_reference
(
#file base/basefocusview.lzx
#line 260
v
) {
#beginContent
#pragma 'methodName=$m2_$base$2Fbasefocusview$2Elzx_260_62_reference'
#pragma 'withThis'
#file base/basefocusview.lzx
#line 260
this.setActive( LzFocus.focuswithkey );
if ( v ) {
this.doFocus( v );
} else {
this.reset();
if (this.active) {
this.setActive(false);
}
}
#endContent
}, $setters: {active:
#file base/basefocusview.lzx
#line 27
function $base$2Fbasefocusview$2Elzx_27_79_active_onset (active) {
#pragma 'withThis'
#file base/basefocusview.lzx
#line 27
setActive(active)
}, target:
#file base/basefocusview.lzx
#line 29
function $base$2Fbasefocusview$2Elzx_29_79_target_onset (target) {
#pragma 'withThis'
#file base/basefocusview.lzx
#line 29
setTarget(target)
}}, _animatorcounter:
#beginAttribute
#file base/basefocusview.lzx
#line 34
0
#endAttribute
, _dbg_filename:
#beginAttribute
#file base/basefocusview.lzx
#line 23
"base/basefocusview.lzx"
#endAttribute
, _dbg_lineno:
#beginAttribute
#file base/basefocusview.lzx
#line 23
23
#endAttribute
, _delayfadeoutDL:
#beginAttribute
#file base/basefocusview.lzx
#line 48
null
#endAttribute
, _dofadeout:
#beginAttribute
#file base/basefocusview.lzx
#line 50
false
#endAttribute
, _heightdel:
#beginAttribute
#file base/basefocusview.lzx
#line 46
null
#endAttribute
, _nexttarget:
#beginAttribute
#file base/basefocusview.lzx
#line 38
null
#endAttribute
, _onstopdel:
#beginAttribute
#file base/basefocusview.lzx
#line 52
null
#endAttribute
, _widthdel:
#beginAttribute
#file base/basefocusview.lzx
#line 44
null
#endAttribute
, _xydelegate:
#beginAttribute
#file base/basefocusview.lzx
#line 42
null
#endAttribute
, active:
#beginAttribute
#file base/basefocusview.lzx
#line 27
false
#endAttribute
, doFocus:
#file base/basefocusview.lzx
#line 73
function doFocus
(
#file base/basefocusview.lzx
#line 73
v
) {
#beginContent
#pragma 'methodName=doFocus'
#pragma 'withThis'
#file base/basefocusview.lzx
#line 73
// if the focus was about to fade,then Don't
this._dofadeout = false;
// bring the focus brackets to the front
this.bringToFront();
// clear out constraints from last target
if ( this.target ) this.setTarget( null )
// Make sure this focusview is visible if it is active
this.setVisible( this.active );
// store the target that the focusview will be constrained to when
// it stops animating.
this._nexttarget = v;
if ( visible ) {
// increment a counter each time the focus is called
// and decrement it on the onstop of the animations
// this will be used to determine if the user has stopped
/// tabbing long enough to fade out the focusoverlay
this._animatorcounter += 1;
// animate the focusoverlay to the new target and
var rct = null;
var nx; var ny; var nw; var nh;
if ( v['getFocusRect'] ) rct = v.getFocusRect();
if ( rct ) {
nx = rct[0]; ny = rct[1]; nw = rct[2]; nh = rct[3];
} else {
nx = v.getAttributeRelative('x', canvas);
ny = v.getAttributeRelative('y', canvas);
nw = v.getAttributeRelative( 'width', canvas );
nh = v.getAttributeRelative( 'height', canvas );
}
var anm = this.animate('x', nx, duration);
this.animate( 'y', ny, duration);
this.animate( 'width', nw, duration);
this.animate( 'height',nh , duration);
// fade in the brackets to balance out the fade out
if (this.sprite && this.sprite['quirks'] &&
this.sprite.quirks['minimize_opacity_changes']) {
this.setVisible(true);
} else {
this.animate('opacity', 1, 500);
}
// register a delegate for the end of these animations
if ( !this._onstopdel ) this._onstopdel = new LzDelegate(
this, 'stopanim' )
this._onstopdel.register( anm, 'onstop' );
}
if ( this._animatorcounter < 1) {
this.setTarget(this._nexttarget);
var rct = null;
var nx; var ny; var nw; var nh;
if ( v['getFocusRect'] ) rct = v.getFocusRect();
if ( rct ) {
nx = rct[0]; ny = rct[1]; nw = rct[2]; nh = rct[3];
} else {
nx = v.getAttributeRelative('x', canvas);
ny = v.getAttributeRelative('y', canvas);
nw = v.getAttributeRelative( 'width', canvas );
nh = v.getAttributeRelative( 'height', canvas );
}
this.setX( nx );
this.setY( ny );
this.setWidth( nw );
this.setHeight( nh );
}
#endContent
}, duration:
#beginAttribute
#file base/basefocusview.lzx
#line 31
400
#endAttribute
, fadeout:
#file base/basefocusview.lzx
#line 171
function fadeout
(
#file base/basefocusview.lzx
#line 171
) {
#beginContent
#pragma 'methodName=fadeout'
#pragma 'withThis'
#file base/basefocusview.lzx
#line 171
if (_dofadeout) {
if (this.sprite && this.sprite['quirks'] &&
this.sprite.quirks['minimize_opacity_changes']) {
this.setVisible(false);
} else {
this.animate( 'opacity' ,0 , 500);
}
}
this._delayfadeoutDL.unregisterAll();
#endContent
}, followHeight:
#file base/basefocusview.lzx
#line 249
function followHeight
(
#file base/basefocusview.lzx
#line 249
) {
#beginContent
#pragma 'methodName=followHeight'
#pragma 'withThis'
#file base/basefocusview.lzx
#line 249
var rct = null;
if ( target['getFocusRect'] ) rct = target.getFocusRect();
if ( rct ) {
this.setHeight( rct[3] );
} else {
this.setHeight( this.target.height );
}
#endContent
}, followWidth:
#file base/basefocusview.lzx
#line 238
function followWidth
(
#file base/basefocusview.lzx
#line 238
) {
#beginContent
#pragma 'methodName=followWidth'
#pragma 'withThis'
#file base/basefocusview.lzx
#line 238
var rct = null;
if ( target['getFocusRect'] ) rct = target.getFocusRect();
if ( rct ) {
this.setWidth( rct[2] );
} else {
this.setWidth( this.target.width );
}
#endContent
}, followXY:
#file base/basefocusview.lzx
#line 225
function followXY
(
#file base/basefocusview.lzx
#line 225
) {
#beginContent
#pragma 'methodName=followXY'
#pragma 'withThis'
#file base/basefocusview.lzx
#line 225
var rct = null;
if ( target['getFocusRect'] ) rct = target.getFocusRect();
if ( rct ) {
this.setX( rct[0] );
this.setY( rct[1] );
} else {
this.setX( this.target.getAttributeRelative('x', canvas) );
this.setY( this.target.getAttributeRelative('y', canvas) );
}
#endContent
}, initstage:
#beginAttribute
#file base/basefocusview.lzx
#line 23
"late"
#endAttribute
, options: {ignorelayout: true}, reset:
#file base/basefocusview.lzx
#line 55
function reset
(
#file base/basefocusview.lzx
#line 55
) {
#beginContent
#pragma 'methodName=reset'
#pragma 'withThis'
#file base/basefocusview.lzx
#line 55
this.setX(0);
this.setY(0);
this.setWidth( canvas.width );
this.setHeight( canvas.height );
setTarget( null );
#endContent
}, setActive:
#file base/basefocusview.lzx
#line 64
function setActive
(
#file base/basefocusview.lzx
#line 64
isactive
) {
#beginContent
#pragma 'methodName=setActive'
#pragma 'withThis'
#file base/basefocusview.lzx
#line 64
this.active = isactive;
if (this.onactive) this.onactive.sendEvent(isactive);
#endContent
}, setTarget:
#file base/basefocusview.lzx
#line 183
function setTarget
(
#file base/basefocusview.lzx
#line 183
newtarget
) {
#beginContent
#pragma 'methodName=setTarget'
#pragma 'withThis'
#file base/basefocusview.lzx
#line 183
this.target = newtarget;
if ( !this._xydelegate ) {
this._xydelegate = new LzDelegate(this, "followXY");
} else {
this._xydelegate.unregisterAll();
}
if ( !this._widthdel ) {
this._widthdel = new LzDelegate(this, "followWidth");
} else {
this._widthdel.unregisterAll();
}
if ( !this._heightdel ) {
this._heightdel = new LzDelegate(this, "followHeight");
} else {
this._heightdel.unregisterAll();
}
if (this.target == null) return;
// make sure that this focusoverlay is aware
// when the target or any of its parents move.
var p = newtarget;
var i = 0;
while ( p != canvas ) {
this._xydelegate.register(p, 'onx');
this._xydelegate.register(p, 'ony');
p = p.immediateparent;
i++;
}
this._widthdel.register(newtarget, 'onwidth');
this._heightdel.register(newtarget, 'onheight');
followXY();
followWidth();
followHeight();
#endContent
}, stopanim:
#file base/basefocusview.lzx
#line 153
function stopanim
(
#file base/basefocusview.lzx
#line 153
) {
#beginContent
#pragma 'methodName=stopanim'
#pragma 'withThis'
#file base/basefocusview.lzx
#line 153
this._animatorcounter -= 1;
if ( this._animatorcounter < 1 ) {
// user has stopped tabbing for a bit,
// so wait one second and fade out the focusoverlay
// make sur the dofadeout flag is set. If the user
// tabs before the timer executes then the focusoveraly
// will not fade out.
this._dofadeout = true;
if ( !this._delayfadeoutDL )
this._delayfadeoutDL = new LzDelegate(this,'fadeout');
LzTimer.addTimer( this._delayfadeoutDL, 1000 );
this.setTarget( _nexttarget );
this._onstopdel.unregisterAll();
}
#endContent
}, target:
#beginAttribute
#file base/basefocusview.lzx
#line 29
null
#endAttribute
, visible:
#beginAttribute
#file base/basefocusview.lzx
#line 23
false
#endAttribute
}, name: "basefocusview"}}}, 1);
#file base/basefocusview.lzo
#line 41
#file base/basefocusview.lzo
#line 41
LzInstantiateView({name:"class",attrs:{parent:"view",initobj:{attrs:{$delegates:["onstop","stopanim",null,"onfocus","$m2_$basefocusview$2Elzx_260_62_reference",function($1){with(this){return
LzFocus}}],$events:["ontarget","onactive"],$m1_$basefocusview$2Elzx_152_51_reference:function(){},$m2_$basefocusview$2Elzx_260_62_reference:function($1){with(this){this.setActive(LzFocus.focuswithkey);if($1){this.doFocus($1)}else{this.reset();if(this.active){this.setActive(false)}}}},$setters:{active:function($1){with(this){setActive($1)}},target:function($1){with(this){setTarget($1)}}},_animatorcounter:0,_delayfadeoutDL:null,_dofadeout:false,_heightdel:null,_nexttarget:null,_onstopdel:null,_widthdel:null,_xydelegate:null,active:false,doFocus:function($1){with(this){this._dofadeout=false;this.bringToFront();if(this.target){this.setTarget(null)};this.setVisible(this.active);this._nexttarget=$1;if(visible){this._animatorcounter+=1;var
$2=null;var $3;var $4;var $5;var
$6;if($1["getFocusRect"]){$2=$1.getFocusRect()};if($2){$3=$2[0];$4=$2[1];$5=$2[2];$6=$2[3]}else{$3=$1.getAttributeRelative("x",canvas);$4=$1.getAttributeRelative("y",canvas);$5=$1.getAttributeRelative("width",canvas);$6=$1.getAttributeRelative("height",canvas)};var
$7=this.animate("x",$3,duration);this.animate("y",$4,duration);this.animate("width",$5,duration);this.animate("height",$6,duration);if(this.sprite&&this.sprite["quirks"]&&this.sprite.quirks["minimize_opacity_changes"]){this.setVisible(true)}else{this.animate("opacity",1,500)};if(!this._onstopdel){this._onstopdel=new
LzDelegate(this,"stopanim")};this._onstopdel.register($7,"onstop")};if(this._animatorcounter<1){this.setTarget(this._nexttarget);var
$2=null;var $3;var $4;var $5;var
$6;if($1["getFocusRect"]){$2=$1.getFocusRect()};if($2){$3=$2[0];$4=$2[1];$5=$2[2];$6=$2[3]}else{$3=$1.getAttributeRelative("x",canvas);$4=$1.getAttributeRelative("y",canvas);$5=$1.getAttributeRelative("width",canvas);$6=$1.getAttributeRelative("height",canvas)};this.setX($3);this.setY($4);this.setWidth($5);this.setHeight($6)}}},duration:400,fadeout:function(){with(this){if(_dofadeout){if(this.sprite&&this.sprite["quirks"]&&this.sprite.quirks["minimize_opacity_changes"]){this.setVisible(false)}else{this.animate("opacity",0,500)}};this._delayfadeoutDL.unregisterAll()}},followHeight:function(){with(this){var
$1=null;if(target["getFocusRect"]){$1=target.getFocusRect()};if($1){this.setHeight($1[3])}else{this.setHeight(this.target.height)}}},followWidth:function(){with(this){var
$1=null;if(target["getFocusRect"]){$1=target.getFocusRect()};if($1){this.setWidth($1[2])}else{this.setWidth(this.target.width)}}},followXY:function(){with(this){var
$1=null;if(target["getFocusRect"]){$1=target.getFocusRect()};if($1){this.setX($1[0]);this.setY($1[1])}else{this.setX(this.target.getAttributeRelative("x",canvas));this.setY(this.target.getAttributeRelative("y",canvas))}}},initstage:"late",options:{ignorelayout:true},reset:function(){with(this){this.setX(0);this.setY(0);this.setWidth(canvas.width);this.setHeight(canvas.height);setTarget(null)}},setActive:function($1){this.active=$1;if(this.onactive){this.onactive.sendEvent($1)}},setTarget:function($1){with(this){this.target=$1;if(!this._xydelegate){this._xydelegate=new
LzDelegate(this,"followXY")}else{this._xydelegate.unregisterAll()};if(!this._widthdel){this._widthdel=new
LzDelegate(this,"followWidth")}else{this._widthdel.unregisterAll()};if(!this._heightdel){this._heightdel=new
LzDelegate(this,"followHeight")}else{this._heightdel.unregisterAll()};if(this.target==null){return};var
$2=$1;var
$3=0;while($2!=canvas){this._xydelegate.register($2,"onx");this._xydelegate.register($2,"ony");$2=$2.immediateparent;$3++};this._widthdel.register($1,"onwidth");this._heightdel.register($1,"onheight");followXY();followWidth();followHeight()}},stopanim:function(){with(this){this._animatorcounter-=1;if(this._animatorcounter<1){this._dofadeout=true;if(!this._delayfadeoutDL){this._delayfadeoutDL=new
LzDelegate(this,"fadeout")};LzTimer.addTimer(this._delayfadeoutDL,1000);this.setTarget(_nexttarget);this._onstopdel.unregisterAll()}}},target:null,visible:false},name:"basefocusview"}}},1);LzInstantiateView({name:"class",attrs:{parent:"basefocusview",initobj:{attrs:{bounce:function(){with(this){this.animate("offset",12,duration/2);this.animate("offset",5,duration)}},doFocus:function($1){with(this){super.doFocus($1);if(visible){this.bounce()}}},"extends":"basefocusview",offset:5},children:[{attrs:{$refs:{x:(function(){var
$lzsc$f=function(){with(this){this.setAttribute("x",-classroot.offset)}};$lzsc$f.dependencies=function(){with(this){return
[classroot,"offset"]}};return $lzsc$f})(),y:(function(){var
$lzsc$f=function(){with(this){this.setAttribute("y",-classroot.offset)}};$lzsc$f.dependencies=function(){with(this){return
[classroot,"offset"]}};return
$lzsc$f})()},name:"topleft"},children:[{attrs:{opacity:0.25,resource:"lzfocusbracket_topleft_shdw_rsrc",x:1,y:1},name:"view"},{attrs:{resource:"lzfocusbracket_topleft_rsrc"},name:"view"}],name:"view"},{attrs:{$refs:{x:(function(){var
$lzsc$f=function(){with(this){this.setAttribute("x",parent.width-width+classroot.offset)}};$lzsc$f.dependencies=function(){with(this){return
[parent,"width",this,"width",classroot,"offset"]}};return
$lzsc$f})(),y:(function(){var
$lzsc$f=function(){with(this){this.setAttribute("y",-classroot.offset)}};$lzsc$f.dependencies=function(){with(this){return
[classroot,"offset"]}};return
$lzsc$f})()},name:"topright"},children:[{attrs:{opacity:0.25,resource:"lzfocusbracket_topright_shdw_rsrc",x:1,y:1},name:"view"},{attrs:{resource:"lzfocusbracket_topright_rsrc"},name:"view"}],name:"view"},{attrs:{$refs:{x:(function(){var
$lzsc$f=function(){with(this){this.setAttribute("x",-classroot.offset)}};$lzsc$f.dependencies=function(){with(this){return
[classroot,"offset"]}};return $lzsc$f})(),y:(function(){var
$lzsc$f=function(){with(this){this.setAttribute("y",parent.height-height+classroot.offset)}};$lzsc$f.dependencies=function(){with(this){return
[parent,"height",this,"height",classroot,"offset"]}};return
$lzsc$f})()},name:"bottomleft"},children:[{attrs:{opacity:0.25,resource:"lzfocusbracket_bottomleft_shdw_rsrc",x:1,y:1},name:"view"},{attrs:{resource:"lzfocusbracket_bottomleft_rsrc"},name:"view"}],name:"view"},{attrs:{$refs:{x:(function(){var
$lzsc$f=function(){with(this){this.setAttribute("x",parent.width-width+classroot.offset)}};$lzsc$f.dependencies=function(){with(this){return
[parent,"width",this,"width",classroot,"offset"]}};return
$lzsc$f})(),y:(function(){var
$lzsc$f=function(){with(this){this.setAttribute("y",parent.height-height+classroot.offset)}};$lzsc$f.dependencies=function(){with(this){return
[parent,"height",this,"height",classroot,"offset"]}};return
$lzsc$f})()},name:"bottomright"},children:[{attrs:{opacity:0.25,resource:"lzfocusbracket_bottomright_shdw",x:1,y:1},name:"view"},{attrs:{resource:"lzfocusbracket_bottomright_rsrc"},name:"view"}],name:"view"}],name:"focusoverlay"}}},1)
On Sep 24, 2007, at 8:15 PM, Henry Minsky wrote:
The LZX preprocessor is supposed to keep track of <include>'ed
libraries and only include them once. Not impossible that it's broken,
but I bet if you remove duplicated line that you won't see any
different output.
On 9/24/07, Donald Anderson <[EMAIL PROTECTED]> wrote:
I have no idea if this is relevant, but since I'm looking at
names with 'basefocusview', I see that base/style.lzx has
a repeated include line:
<library>
<include href="base/colors.lzx"/>
<include href="base/basefocusview.lzx"/>
<include href="base/basefocusview.lzx"/>
<include href="base/componentmanager.lzx"/>
On Sep 24, 2007, at 6:42 PM, Henry Minsky wrote:
I'm wondering if a unique id identifier for a constraint function is
getting re-used, thus
bashing some constraint function with another one...
On 9/24/07, P T Withington <[EMAIL PROTECTED]> wrote:
Well Henry is right, that looks like a constraint dependency
computation that is getting messed up. This is done at the end of
translateFunctionInternal, you'll see that it visits the statements
in the function to compute the dependencies.
Don't yet see how your changes could affect that though...
On 2007-09-24, at 17:22 EDT, Donald Anderson wrote:
Thanks Tucker - Finally, I'm seeing a difference,
118011c118011
< function2 () (r:1='this', r:2='_root')
---
function2 () (r:1='this')
118014,118018c118014
< push 'offset', 'classroot'
< getVariable
< push 'width', r:this, 'width', 'parent'
< getVariable
< push 6
---
push 0
I'm on it....
- Don
On Sep 24, 2007, at 3:38 PM, P T Withington wrote:
Don, if you have access to Windows and Mac, you should try
fetching the test app with wget as follows:
wget 'http://127.0.0.1:8080/trunk/.../whatever.lzx?
lzt=swf&debug=true&lzr=swf7&lzbacktrace=false'
lzt=swf will cause the actual swf file to be delivered. lzr=swf7
means compile for swf7 (so you can change that to swf8 if that is
where the bug is), debug=true, backtrace=false should be self-
explanatory. Note you have to quote the URL to escape the &'s
from the shell.
If you can fetch the file from your Mac server and from your
Windows server, you should be able to compare the resulting swfs
to see if they are the same or not.
On 2007-09-24, at 15:02 EDT, Donald Anderson wrote:
Benjamin,
On my OSX setup (which does not exhibit the error), I have:
[echo] Ant project:lps on Mac OS X 10.4.10 ppc
[echo] ant.home: /usr/local/src/ant/apache-ant-1.6.5
[echo] JRE: 1.4.2_12 (Apple Computer, Inc.)
[echo] JAVA_HOME: /System/Library/Frameworks/
JavaVM.framework/Versions/1.4.2/home/
[echo] LPS Version: 4.1.x Latest
[echo] LPS_HOME: /Users/clients/laszlo/src/svn/
openlaszlo/trunk
[echo] LZ_VENDOR_ROOT: /Users/clients/laszlo/src/svn/
vendor
[echo] LZ_TOOLS_ROOT: /Users/clients/laszlo/src/svn/
tools/trunk
[echo] LZ_INSTALLS_ROOT: /Users/dda/laszlo/lib
[echo] server.home: /Users/dda/laszlo/lib/jakarta-
tomcat-5.0.30
[echo] lps.branch: trunk
[echo] platform: is macosx
[echo] Skipping prefetch is true
[echo] Skipping wrappertest is ${skip.wrappertest}
[echo] Skipping doc is ${skip.doc}
I'm looking into comparing the output binaries now (since I have
a Windows box that does
have the error) -- the ones I've looked at so far in lfc
appear to be the same (modulo UUID variable names, which I'm
dealing with now).
- Don
On Sep 24, 2007, at 2:24 PM, Benjamin Shine wrote:
keywords: "supposed to be".
Different versions of java have different versions of standard
libraries, so we can see different behaviors in binaries built
on different machines (with different java versions) and
binaries executing on different machines (with different java
versions), because we use some libraries at platform-compile-
time and other libraries at app-compile-time.
Don's new to the party, so he might have a slightly different
setup that we haven't figured out yet.
Don, when you start a compile, what does the init task echo?
Something like:
slim:~/src/svn/openlaszlo/trunk ben$ ant build
Buildfile: build.xml
build-opt:
init:
[echo] Ant project:lps on Mac OS X 10.4.10 i386
[echo] ant.home: /Users/ben/lib/apache-ant-1.6.5
[echo] JRE: 1.5.0_07 (Apple Computer, Inc.)
[echo] JAVA_HOME: /Library/Java/Home
[echo] LPS Version: 4.1.x Latest
[echo] LPS_HOME: /Users/ben/src/svn/openlaszlo/trunk
[echo] LZ_VENDOR_ROOT: /Users/ben/src/svn/vendor
[echo] LZ_TOOLS_ROOT: /Users/ben/src/svn/tools/trunk
[echo] LZ_INSTALLS_ROOT: /Users/ben/lib
[echo] server.home: /Users/ben/lib/jakarta-
tomcat-5.0.30
[echo] lps.branch: trunk
[echo] platform: is macosx
[echo] Skipping prefetch is true
[echo] Skipping wrappertest is ${skip.wrappertest}
[echo] Skipping doc is ${skip.doc}
On Sep 24, 2007, at 9:53 AM, P T Withington wrote:
This is strange. I think I would start by wget-ing the SWF on
each platform and use flash to compare the binaries. I can't
guess how the compiler could work differently on the two
platforms -- Java is supposed to be portable, right?
On Sep 24, 2007, at 11:22 AM, "Henry Minsky"
<[EMAIL PROTECTED]> wrote:
The bug looks a little to me like constraint functions are
broken; the debugger
window relies on lots of constraints to size the various
views
to their
parent's width and height, so if those are broken, I think
that is the
effect you might see.
On 9/24/07, Donald Anderson <[EMAIL PROTECTED]> wrote:
I finally got a Windows environment going, and can see the
problem.
I have confirmed it shows up in #6548 and that it does
not in
#6547.
I built in two different fresh directories to avoid any
cache
problems.
For me it is Windows only, doesn't show if the server is
OSX.
Back in my (broken) trunk on Windows, I replaced the source
files
that I had changed with
the old (6547) versions, and I still see the problem
(after a
clean
build). I guess I have
to create a new trunk directory for each test to reliably
avoid cache
issues...?
This may be some hard slogging today to get this.
- Don
On Sep 24, 2007, at 9:42 AM, André Bargull wrote:
I got that error when I compiled the first time to the new
trunk.
So I don't see how Windows could be involved into this
issue.
In addition to that, trunk works for me in rev. #6539,
therefore
this is most likely linked to rev. #6548.
This is my current trunk history:
1. #6548 or #6550 => first time I've checked out, must have
been
either 6548 or 6550; trunk was erroneous for me
2. #6529 => switched to first changeset of Don, recompiled
everything => no errors
3. #6548 => switched to the second changeset of Don,
recompiled
everything => got theses errors
4. #6539 => switched back to the previous revision => no
errors
I can switch to #6548 or later, compile a simple
application, and
send it to you. So we can check if this is related to
Windows,
FlashPlayer or whatever...
André
P T Withington wrote:
Is it possible that this is related to Windows'
penchant for
hanging on to old files? Did you stop/start your tomcat,
clear
your caches and all that mumbo when you updated? I don't
see the
error either....
On 2007-09-23, at 13:01 EDT, Philip Romanik wrote:
Hi Don,
I just tried this on XP (FF1.5 browser) and I see the
same
behavior that Andre reported.
Phil
Hi Andre,
I'm running on Mac OSX, and I've tried Safari and
Firefox
and
they work for me.
That is, I get a full debugger window, and can type in
Debug.versionInfo() and get results.
(I'm new to the laszlo environment, so that's about
all I
know
how to do in the framework).
I ran an IE6 browser on WinXP against my server
(still on
Mac)
and still no problem.
Attached is a screen shot of that, in case I'm not doing
something obvious to you.
This is troubling, I'd expect a compiler issue would
give
a more
consistent disaster.
Phil -- you run on WinXP, can you try a fresh trunk and
see if
you get the same problem that Andre has? Thanks.
- Don
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
Voice: 617-547-7881
Email: [EMAIL PROTECTED]
WWW: http://www.ddanderson.com
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
Voice: 617-547-7881
Email: [EMAIL PROTECTED]
WWW: http://www.ddanderson.com
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
Voice: 617-547-7881
Email: [EMAIL PROTECTED]
WWW: http://www.ddanderson.com
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
Voice: 617-547-7881
Email: [EMAIL PROTECTED]
WWW: http://www.ddanderson.com
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
Voice: 617-547-7881
Email: [EMAIL PROTECTED]
WWW: http://www.ddanderson.com