Change 20061203-papley-r by [EMAIL PROTECTED] on 2006-12-03
22:27:32 EST
in /Users/papley/src/svn/legals
Summary:
Latest resource loading code. Still several issues (see details).
New Features:
Bugs Fixed:
Technical Reviewer: (max, henry, tucker, ben)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
1. I had trouble with the html-response.xslt file that Max
made up. After I merged it with the current build,
documents would no longer completely load into the
browser, and typing anything in the LPS Debugger would
immediately cause the browser to reload the same URL with
all the arguments truncated from the end, i.e. a default
(swf8) version would come up. I reverted to the current
(2811) version and those symptoms go away, but I'm not
sure if some of Max's functionality is lost.
2. I seem to have a problem with large buffers
(i.e. StringBuffer sbuf[]). If I try to translate a
multiframe resource with 225 frames the output file (js
application) appears to be truncated (at least in Eclipse),
and the application doesn't run.
3. If I make a miniature version of the 225 frame resource
(logoXXXX.png) with only 5 frames, the application does
load and there are no loading or format errors that I
detect, but even so the sprite does not animate. I'm not
sure why.
4. On the plus side, I'm able to run
http://localhost:8080/legals/examples/components/
style_example.lzx?lzr=dhtml&debug=true
and it works very well, except once again there are
apparently some sprite problems. I get these messages in
the LPS Debugger:
no sprite on <<LzText#334| Error computing __String>>
no sprite on <<LzText#335| Error computing __String>>
no sprite on <<LzText#336| Error computing __String>>
5. Also on the plus side, I have a version of Eclipse project files
and support scripts for LPS which
seem really good; reliable, and easy to deal with. I haven't had
any significant problems with
going back and forth between ant and Eclipse in the last couple
of days.
I'll release those in a separate patch.
Tests:
http://localhost:8080/legals/examples/components/
style_example.lzx?lzr=dhtml&debug=true
http://localhost:8080/legals/examples/animation/simpletest.lzx?
lzr=dhtml&debug=true
Files:
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/server/src/org/openlaszlo/utils/FileUtils.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/ObjectWriter.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/DHTMLWriter.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/SWFWriter.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/FileResolver.java
A examples/animation/simpletest.lzx
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20061203-
papley-r.tar
Phillip G. Apley
Senior Software Engineer
Platform Team
Laszlo Systems, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
maynard: 978-298-5210
allston: 617-787-2831
cell: 617-283-1717
skype: phillipapley
aim: phillipapley
jabber: [EMAIL PROTECTED]
irc: [EMAIL PROTECTED]
icq: 258643767