Favicon

Re: For Review: Change 20080229-maxcarlson-Y Summary: Fix html tag for wmode window in IE

Change Verified

Max Carlson wrote:
> Change 20080229-maxcarlson-Y by maxcarlson <at> Roboto on 2008-02-29 
> 11:45:38 PST
>     in /Users/maxcarlson/openlaszlo/trunk-clean
>     for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Fix html tag for wmode window in IE
>
> New Features:
>
> Bugs Fixed: LPP-5482 - Issue running swf in wmode "window" when using 
> html tag
>
> Technical Reviewer: promanik
> QA Reviewer: lhenrywilkins <at> laszlosystems.com
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details: embednew.js - Add Lz[appname]._getSWFDiv() API for use by 
> iframemanager.
>
> iframemanager.js - Track __topiframe.  Call __refresh() when Flash 
> gets the focus, to ensure the iframe remains visible.
>
>
(Continue reading)

Favicon

Re: For Review: Change 20080229-maxcarlson-c Summary: Add API to enable/disable history for the html tag

Fix Verified

Max Carlson wrote:
> Change 20080229-maxcarlson-c by maxcarlson <at> Roboto on 2008-02-29 
> 12:04:27 PST
>     in /Users/maxcarlson/openlaszlo/trunk-clean
>     for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Add API to enable/disable history for the html tag
>
> New Features:
>
> Bugs Fixed: LPP-5530 - The history mechanism is incompatible with the 
> html tag
>
> Technical Reviewer: promanik
> QA Reviewer: lhenrywilkins <at> laszlosystems.com
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details: extensions/test/html.lzx - Add history attribute example.
>
> extensions/html.lzx - Add history attribute to html tag.  If true, 
> iframe chagnes will be added to the browser history.  If false, iframe 
> reloads are not added.
>
> iframemanager.js - Set frame name based on id if not specified.  Store 
(Continue reading)

Philip Romanik | 1 Mar 01:26
Favicon

Re: For Review: Change 20080229-maxcarlson-Y Summary: Fix html tag for wmode window in IE

Approved!


Change 20080229-maxcarlson-Y by maxcarlson <at> Roboto on 2008-02-29
11:45:38 PST
     in /Users/maxcarlson/openlaszlo/trunk-clean
     for http://svn.openlaszlo.org/openlaszlo/trunk
 
Summary: Fix html tag for wmode window in IE
 
New Features:
 
Bugs Fixed: LPP-5482 - Issue running swf in wmode "window" when using html tag
 
Technical Reviewer: promanik
QA Reviewer: lhenrywilkins <at> laszlosystems.com Doc Reviewer: (pending)
 
Documentation:
 
Release Notes:
 
Details: embednew.js - Add Lz[appname]._getSWFDiv() API for use by iframemanager.
 
iframemanager.js - Track __topiframe.  Call __refresh() when Flash gets the focus, to ensure the iframe remains visible.
 
 
Tests: See LPP-5482.
 
Files:
M      lps/includes/source/embednew.js
M      lps/includes/source/iframemanager.js
 
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080229-maxcarlson-Y.tar
Favicon

Re: For Review: Change 20080229-maxcarlson-S Summary: Fix html frame support with SSL.

Change Verified

Max Carlson wrote:
> Change 20080229-maxcarlson-S by maxcarlson <at> Roboto on 2008-02-29 
> 15:42:21 PST
>     in /Users/maxcarlson/openlaszlo/trunk-clean
>     for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Fix html frame support with SSL.
>
> New Features:
>
> Bugs Fixed: LPP-5532: Iframe in iframemanager.js causes unsecure items 
> warning in IE with SSL turned on
>
> Technical Reviewer: promanik
> QA Reviewer: lhenrywilkins <at> laszlosystems.com
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details: Sending on behalf of Lorien with blank.html deleted from svn, 
> and a minor typo fixed.
>
> Need to initialize iframes that are used in the history mechanism and 
> html tag to a value that will not be flagged as an unsecure item when 
> the app is running with SSL.  When no initial source value is set on 
> an iframe it defaults to about:blank, which in IE resolves to 
> http://about:blank even if the container page protocol is https.
>
> Setting the initial source to javascript:"" solves the problem.
> This change adds this initialization to the iframemanager, and changes 
> the mechanism used in lzhistory
> to be the one described above as it is a simpler solution. Previously 
> in lzhistory.js the iframe source
> was initialized to blank.html, which required a page called blank.html 
> be available when the script
> executes.
>
>
> Tests: This can be tested by running the test case at 
> lps/components/extensions/test/html-swf.jsp through
> SSL in IE 6.0. Before this fix in in place you will get an unsecure 
> content warning when the page loads.
>
> Files:
> D      lps/includes/blank.html
> M      lps/includes/source/lzhistory.js
> M      lps/includes/source/iframemanager.js
>
> Changeset: 
> http://svn.openlaszlo.org/openlaszlo/patches/20080229-maxcarlson-S.tar

Philip Romanik | 1 Mar 01:38
Favicon

Re: For Review: Change 20080229-maxcarlson-c Summary: Add API to enable/disable history for the html tag

Approved!

Change 20080229-maxcarlson-c by maxcarlson <at> Roboto on 2008-02-29
12:04:27 PST
     in /Users/maxcarlson/openlaszlo/trunk-clean
     for http://svn.openlaszlo.org/openlaszlo/trunk
 
Summary: Add API to enable/disable history for the html tag
 
New Features:
 
Bugs Fixed: LPP-5530 - The history mechanism is incompatible with the html tag
 
Technical Reviewer: promanik
QA Reviewer: lhenrywilkins <at> laszlosystems.com Doc Reviewer: (pending)
 
Documentation:
 
Release Notes:
 
Details: extensions/test/html.lzx - Add history attribute example.
 
extensions/html.lzx - Add history attribute to html tag.  If true, iframe chagnes will be added to the browser history.  If false, iframe reloads are not added.
 
iframemanager.js - Set frame name based on id if not specified.  Store frame names for lookup for in setSrc().
 
Tests: Change the history attribute in extensions/test/html.lzx to false and notice that reloading addresses doesn't add browser history entries.
 
Files:
M      lps/components/extensions/test/html.lzx
M      lps/components/extensions/html.lzx
M      lps/includes/source/iframemanager.js
 
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080229-maxcarlson-c.tar
Philip Romanik | 1 Mar 01:50
Favicon

[BULK] Re: For Review: Change 20080229-maxcarlson-S Summary: Fix html frame support with SSL

Approved!

Change 20080229-maxcarlson-S by maxcarlson <at> Roboto on 2008-02-29
15:42:21 PST
     in /Users/maxcarlson/openlaszlo/trunk-clean
     for http://svn.openlaszlo.org/openlaszlo/trunk
 
Summary: Fix html frame support with SSL.
 
New Features:
 
Bugs Fixed: LPP-5532: Iframe in iframemanager.js causes unsecure items warning in IE with SSL turned on
 
Technical Reviewer: promanik
QA Reviewer: lhenrywilkins <at> laszlosystems.com Doc Reviewer: (pending)
 
Documentation:
 
Release Notes:
 
Details: Sending on behalf of Lorien with blank.html deleted from svn, and a minor typo fixed.
 
Need to initialize iframes that are used in the history mechanism and html tag to a value that will not be flagged as an unsecure item when the app is running with SSL.  When no initial source value is set on an iframe it defaults to about:blank, which in IE resolves to http://about :blank even if the container page protocol is https.
 
Setting the initial source to javascript:"" solves the problem.
This change adds this initialization to the iframemanager, and changes the mechanism used in lzhistory to be the one described above as it is a simpler solution. Previously in lzhistory.js the iframe source was initialized to blank.html, which required a page called blank.html be available when the script executes.
 
 
Tests: This can be tested by running the test case at lps/components/ extensions/test/html-swf.jsp through SSL in IE 6.0. Before this fix in in place you will get an unsecure content warning when the page loads.
 
Files:
D      lps/includes/blank.html
M      lps/includes/source/lzhistory.js
M      lps/includes/source/iframemanager.js
 
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080229-maxcarlson-S.tar
Picon

Video Codecs. Repost

Hi All,

how can I choose a codec used to encode a video from the camera? Flash 9
support a number of them. Are there codec-related options?

Thank you

Philip Romanik | 1 Mar 16:01
Favicon

Re: For Review: Change 20080229-dda-j Summary: SWF9: Fix calling the compiler for Windows

This works fine. Thanks Don!

(will it do the right thing for cygwin users?)



Change 20080229-dda-j by dda <at> lester.local on 2008-02-29 13:10:08 EST
     in /Users/dda/laszlo/src/svn/openlaszlo/branches/devildogm
     for http://svn.openlaszlo.org/openlaszlo/branches/devildog
 
Summary: SWF9: Fix calling the compiler for Windows
 
New Features:
 
Bugs Fixed: LPP-5425
 
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
 
Documentation:
 
Release Notes:
 
Details:
     New code calls $FLEX_HOME/bin/compc.exe on Windows (rather than 
$FLEX_HOME/bin/compc)
     same for mxmlc.
 
Tests:
    Henry's hello
 
Files:
M      WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9External.java
 
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080229-dda-j.tar
 
 
 
--
 
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
 
voice: 617-547-7881
email: dda <at> ddanderson.com
www: http://www.ddanderson.com
 
 
 
 
Philip Romanik | 3 Mar 22:33
Favicon

Running swf9 on Windows

I solved my problem. Trying to run a swf9 app from Tomcat on Windows 
was giving me an error that FLEX_HOME was not defined. I found that I 
had to restart my machine in order for the environment variable to be 
seen. I updated the wiki page with this information.

I noticed that you have to specify a canvas width and height in order 
to display something in swf9.

For example, this app produces no output in swf9:

<canvas>
<text>Hello</text>
</canvas>

However, this app works as expected:

<canvas width="800" height="600">
<text>Hello</text>
</canvas>

Thanks!

Phil

Philip Romanik | 3 Mar 16:59
Favicon

For Review: Change 20080303-Philip-a. Summary: Data directory converted to as3

Change 20080303-Philip-a by Philip <at> Philip-DC on 2008-03-03 10:36:20 EST
     in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/branches/devildog
     for http://svn.openlaszlo.org/openlaszlo/branches/devildog

Summary: Data directory converted to as3

New Features:

Bugs Fixed:

Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
Data-related files have been converted to as3 and stored as .js files 
in the data directory. A few non-data files were modified as needed:

kernel/LzUtils.js
   Converted to class system and removed nested classes
core/LzDefs.js
   Changed lzutils to lzcoreutils to avoid name collision
core/dummyclasses.js
   Commented out stub files for data classes
core/LzNode.js
   Moved some variable definitions to base class (__LZvisDat, layouts).
   cloneManager variable changed to type LzDatapath.
   Added default value to deleteNode argument.
view/LaszloView.js
   Moved 2 variable defs to LzNode

Tests:
lzpix runs in dhtml/swf
smokecheck runs in dhtml/swf

Files:
A      WEB-INF/lps/lfc/kernel/LzUtils.js
M      WEB-INF/lps/lfc/kernel/Library.lzs
M      WEB-INF/lps/lfc/core/LzDefs.js
M      WEB-INF/lps/lfc/core/dummyclasses.js
M      WEB-INF/lps/lfc/core/LzNode.js
M      WEB-INF/lps/lfc/views/LzText.js
M      WEB-INF/lps/lfc/views/LaszloView.js
A      WEB-INF/lps/lfc/data/LzDataAttrBind.js
A      WEB-INF/lps/lfc/data/LzLazyReplicationManager.js
A      WEB-INF/lps/lfc/data/LzDataText.js
A      WEB-INF/lps/lfc/data/LzDataNode.js
A      WEB-INF/lps/lfc/data/LzDataProvider.js
A      WEB-INF/lps/lfc/data/LzDatapath.js
A      WEB-INF/lps/lfc/data/LzDatasource.js
A      WEB-INF/lps/lfc/data/LzParsedPath.js
A      WEB-INF/lps/lfc/data/LzParam.js
A      WEB-INF/lps/lfc/data/LzMiniNode.js
A      WEB-INF/lps/lfc/data/LzReplicationManager.js
A      WEB-INF/lps/lfc/data/LzDatapointer.js
A      WEB-INF/lps/lfc/data/LzDataRequest.js
A      WEB-INF/lps/lfc/data/LzDataElement.js
A      WEB-INF/lps/lfc/data/LZHTTPDataProvider.js
A      WEB-INF/lps/lfc/data/LzDataset.js
A      WEB-INF/lps/lfc/data/LzResizeReplicationManager.js
A      WEB-INF/lps/lfc/data/LzHTTPDataSource.js
M      WEB-INF/lps/lfc/data/Library.lzs

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080303-Philip-a.tar


Gmane