[Laszlo-checkins] r6879 - in openlaszlo/branches/paperpie: . WEB-INF/lps/lfc/data WEB-INF/lps/lfc/debugger WEB-INF/lps/lfc/debugger/platform/dhtml WEB-INF/lps/lfc/debugger/platform/swf WEB-INF/lps/lfc/kernel/dhtml WEB-INF/lps/lfc/kernel/swf WEB-INF/lps/server/src/org/openlaszlo/compiler WEB-INF/lps/server/src/org/openlaszlo/sc WEB-INF/lps/templates demos/calendar/calendardata docs/src/developers lps/components/extensions lps/includes/source test/data test/lfc/data
ben@openlaszlo.org
ben at openlaszlo.org
Tue Oct 16 19:38:47 PDT 2007
Author: ben
Date: 2007-10-16 19:38:34 -0700 (Tue, 16 Oct 2007)
New Revision: 6879
Modified:
openlaszlo/branches/paperpie/
openlaszlo/branches/paperpie/WEB-INF/lps/lfc/data/LzHTTPDataProvider.lzs
openlaszlo/branches/paperpie/WEB-INF/lps/lfc/data/LzReplicationManager.lzs
openlaszlo/branches/paperpie/WEB-INF/lps/lfc/debugger/LzDebug.lzs
openlaszlo/branches/paperpie/WEB-INF/lps/lfc/debugger/platform/dhtml/LzDebug.js
openlaszlo/branches/paperpie/WEB-INF/lps/lfc/debugger/platform/swf/LzDebug.as
openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/dhtml/LzHTTPLoader.js
openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js
openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/swf/LzHTTPLoader.as
openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/swf/LzLoader.lzs
openlaszlo/branches/paperpie/WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
openlaszlo/branches/paperpie/WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptGenerator.java
openlaszlo/branches/paperpie/WEB-INF/lps/templates/html-response.xslt
openlaszlo/branches/paperpie/WEB-INF/lps/templates/html-response_jp.xslt
openlaszlo/branches/paperpie/build.xml
openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-1-01.xml
openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-10-01.xml
openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-11-01.xml
openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-12-01.xml
openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-2-01.xml
openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-3-01.xml
openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-4-01.xml
openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-5-01.xml
openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-6-01.xml
openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-7-01.xml
openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-8-01.xml
openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-9-01.xml
openlaszlo/branches/paperpie/docs/src/developers/debugging.dbk
openlaszlo/branches/paperpie/docs/src/developers/designers.dbk
openlaszlo/branches/paperpie/docs/src/developers/developers_guide_preface.dbk
openlaszlo/branches/paperpie/docs/src/developers/views.dbk
openlaszlo/branches/paperpie/lps/components/extensions/drawview.lzx
openlaszlo/branches/paperpie/lps/includes/source/lzhistory.js
openlaszlo/branches/paperpie/test/data/sleep.jsp
openlaszlo/branches/paperpie/test/lfc/data/testheaderresponse.lzx
Log:
Merged revisions 6797-6798,6800-6829,6831-6877 via svnmerge from
http://svn.openlaszlo.org/openlaszlo/trunk
...............
r6801 | ben | 2007-10-10 16:46:07 -0700 (Wed, 10 Oct 2007) | 2173 lines
Blocked revisions 6505,6575,6796-6797 via svnmerge
................
r6505 | ben | 2007-09-16 14:18:38 -0700 (Sun, 16 Sep 2007) | 1 line
Creating paperpie branch for work on doctools
................
r6575 | ben | 2007-09-24 17:04:34 -0700 (Mon, 24 Sep 2007) | 1 line
Changing version names and numbers, and turning up the maximum memory for the java doc build step, which speeds it up an awful lot.
................
r6796 | ben | 2007-10-10 15:33:26 -0700 (Wed, 10 Oct 2007) | 3 lines
Initialized merge tracking via "svnmerge" with revisions "1-6504" from
http://svn.openlaszlo.org/openlaszlo/trunk
................
r6797 | ben | 2007-10-10 16:17:04 -0700 (Wed, 10 Oct 2007) | 2154 lines
Merged revisions 6505-6796 via svnmerge from
http://svn.openlaszlo.org/openlaszlo/trunk
................
r6506 | ben | 2007-09-16 14:46:02 -0700 (Sun, 16 Sep 2007) | 1 line
Updating build.properties to 4.1.x.0
................
r6520 | ptw | 2007-09-19 09:56:48 -0700 (Wed, 19 Sep 2007) | 13 lines
Change 20070918-ptw-k by ptw at dueling-banjos.local on 2007-09-18 18:21:53 EDT
in /Users/ptw/OpenLaszlo/ringding
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Tweak output of Debug.bugReport
Details:
Use Debug.inspect, not inspectInternal so the 'hotlink' markup is hidden.
Tests:
IWFM
................
r6521 | lou | 2007-09-19 10:13:30 -0700 (Wed, 19 Sep 2007) | 24 lines
Change 20070919-lou-isO2ST by lou at lou-laptop on 2007-09-19 05:45:28 AST
in /home/lou/src/svn/openlaszlo/trunk/docs/src/developers
for http://svn.openlaszlo.org/openlaszlo/trunk/docs/src/developers
Summary: fix LPP-4529
New Features: spell-checked file
Bugs Fixed:
Technical Reviewer: Benjamin Shine
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests:
................
r6522 | lou | 2007-09-19 10:20:19 -0700 (Wed, 19 Sep 2007) | 24 lines
Change 20070919-lou-idaGli by lou at lou-laptop on 2007-09-19 07:07:29 AST
in /home/lou/src/svn/openlaszlo/trunk/docs/src/developers
for http://svn.openlaszlo.org/openlaszlo/trunk/docs/src/developers
Summary: fix LPP-3826
New Features:
Bugs Fixed: LPP-3826 changes that made sense, and corrected many spelling errors
Technical Reviewer: Benjamine Shine
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests:
................
r6529 | dda | 2007-09-19 13:26:31 -0700 (Wed, 19 Sep 2007) | 46 lines
Change 20070919-dda-f by dda at freddie.local on 2007-09-19 13:41:48 EDT
in /Users/dda/laszlo/src/svn/openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/sc
for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/sc
Summary: generatePredictableTemps option for script compiler
New Features:
added new option generatePredictableTemps that allows for direct comparison
of compiler outputs.
Bugs Fixed:
Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
The new option, is specified to the compiler like this:
--option generatePredictableTemps=true
Note that this option is *not* the default, nor is it recommended for anyone
that is not doing side-by-side tests of the compiler. When used, it may
in fact *break* functionality. It provides some capabilities to assist
in internal testing, and specifically for testing the refactoring work.
When this is option is set, variables that normally use a UUID-like naming (for uniqueness between runs)
are changed to have predictable names, that is names that will be identical each time
the compiler is rerun. Such predictable names (like "$lzsc$1", "$lzsc$2", etc.) will
collide with the same names used in other compilations that appear in the same applications,
which may cause problems at runtime. This option uses a simple increment to generate
names. Seeding the random number generator with a fixed value, like 0, would also work
but the output will appear more obfuscated.
The intention is that this option can be used when making an architectural or 'cleanup'
change to the compiler that is not intended to change any behavior. When this change
is done, a suitably complete test input can be fed to the old and new compiler, both
with the generatePredictableTemps option, and comparisons of outputs can be made directly.
Tests:
................
r6531 | max | 2007-09-19 15:32:07 -0700 (Wed, 19 Sep 2007) | 28 lines
Change 20070919-maxcarlson-Z by maxcarlson at plastik on 2007-09-19 09:23:44 PDT
in /Users/maxcarlson/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix history for swf7
New Features:
Bugs Fixed: LPP-4746 - Javascript errors when using the history mechanism in swf7
Technical Reviewer: promanik
QA Reviewer: ben
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: LzHistory.as - Fix braino - use correct callJS() API.
embednew.js - Add 'loaded' property that is set to true when applications are loaded. Use loaded property to decide when apps are ready to receive events.
lzhistory.js - Add explicit scope for all methods, properties in Lz.history.set()
Tests: http://localhost:8080/trunk/test/history/history.lzx?lzr=swf7 no longer warns
................
r6533 | lou | 2007-09-19 17:11:42 -0700 (Wed, 19 Sep 2007) | 24 lines
Change 20070919-lou-If2BNY by lou at lou-laptop on 2007-09-19 15:27:06 AST
in /home/lou/src/svn/openlaszlo/trunk/docs/src/developers
for http://svn.openlaszlo.org/openlaszlo/trunk/docs/src/developers
Summary: spell check dguide
New Features:
Bugs Fixed: LPP-4754
Technical Reviewer: Benjamin Shine
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details: These are the files that actually had spelling errors
Tests:
................
r6539 | lou | 2007-09-20 03:17:33 -0700 (Thu, 20 Sep 2007) | 24 lines
Change 20070919-lou-Ccvkux by lou at lou-laptop on 2007-09-19 20:26:11 AST
in /home/lou/src/svn/openlaszlo/trunk/WEB-INF/lps/lfc/views
for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc/views
Summary: fix comment in source for addProxyPolicy
New Features:
Bugs Fixed: LPP-1552: doc for LzView.addProxyPolicy is wrong
Technical Reviewer: (pending)
QA Reviewer: Phil
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Tests:
................
r6548 | dda | 2007-09-21 10:54:15 -0700 (Fri, 21 Sep 2007) | 67 lines
Change 20070919-dda-V by dda at freddie.local on 2007-09-19 17:35:41 EDT
in /Users/dda/laszlo/src/svn/openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/sc
for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/sc
Summary: script compiler refactoring
New Features:
No externally visible changes. A rearrangement of source code to allow for better
sharing between modules, and separation of most of the platform independent parts of the compiler.
This more easily allows various future work (e.g. SWF9) to proceed in parallel with
general maintenance changes.
Bugs Fixed:
Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Added a new class CommonGenerator that is the base class of
JavascriptGenerator and CodeGenerator. Methods from the two
subclasses that are textually the same, or can be easily coerced
to be the same are now only in CommonGenerator.
Data members and internal classes that are identical are
also now in the base class.
To get even greater sharing, many methods (like virtually all the
visit* methods) that had signature changes in JavascriptGenerator
(that is, they return 'SimpleNode' rather than void), have changed
across the board to return SimpleNode. That is, these functions return
the possibly modified node that is visited. In the CodeGenerator class, this
concept is generally not used, so even though this class plays by the
same rules, return values from such methods are ultimately ignored.
But this gives a lot more code sharing and many more functions could be moved
to CommonGenerator.
Likewise, methods that visit expressions that used to be declared
returning boolean in CodeGenerator now must return SimpleNode.
The backwards-seeming translation is that 'true' corresponds to null,
and false corresponds to the existing node. Doing it this way
gets the maximum code sharing, it clearly reflects the way that
the code was originally transformed after splitting.
CommonGenerator also implements a new interface: ASTVisitor, which is
the union of all the visit* methods (returning a SimpleNode, of
course). This allows methods in CommonGenerator (esp. visitStatement)
to freely call any other visit* method, whether or not it is actually
defined in CommonGenerator.
Most of these changes listed above are almost mechanical using the
indicated strategy; only occasionally were small (equivalent) coding
changes introduced, and then only if a method was otherwise identical.
More elaborate code sharing is possible, and was attempted, but
such changes tended to inhibit overall readability and maintainability.
Tests:
built all files in lps/includes/lfc with the previous compiler (without
these changes) using the flags "--option generatePredictableTemps=true".
built the same files with the new compiler (with these changes).
All *.js files compare exactly, all *.lzl files were disassembled,
and the output from that compares exactly.
................
r6550 | lou | 2007-09-21 12:11:51 -0700 (Fri, 21 Sep 2007) | 24 lines
Change 20070920-lou-pl9JDK by lou at lou-laptop on 2007-09-20 07:30:05 AST
in /home/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: spell check tutorials
New Features:
Bugs Fixed: LPP-4761 spell check tutorial portion of the dguide
Technical Reviewer: Benjamin Shine
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests:
................
r6559 | bargull | 2007-09-23 01:14:57 -0700 (Sun, 23 Sep 2007) | 28 lines
Change 20070922-bargull-0 by bargull at dell--p4--2-53 on 2007-09-22 22:15:29
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: basewindow must include basecomponent
New Features:
Bugs Fixed:
LPP-4758 "basewindow must include basecomponent"
Technical Reviewer: max
QA Reviewer: promanik
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Applications which use solely basewindow do not compile without this change.
Just added the include-tag for basecomponent.lzx in basewindow.lzx
Tests:
see testcase at LPP-4758
................
r6568 | ben | 2007-09-24 11:59:55 -0700 (Mon, 24 Sep 2007) | 44 lines
Change 20070923-ben-l by ben at slim.local on 2007-09-23 15:15:48 PDT
in /Users/ben/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Add iPhone-specific hints to lzt=html wrapper to make iPhone apps look nice
New Features: apps are not zoomable or scalable with two-finger scaling on the iPhone
Bugs Fixed:
Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
As described in http://weblog.openlaszlo.org/archives/2007/07/our-first-iphone-app/
OpenLaszlo apps can look pretty decent on the iPhone just by adding a single
line to the html wrapper.
To see it in action, check out and run...
http://svn.openlaszlo.org/labs/newsmatch/
with and without this patch applied, with lzt=html. index.html,
in that directory, has links to the apps with the correct
query args, lzr=dhtml&lzt=html.
Without this patch, the app is scaled down to too small on the iPhone,
and the user can zoom and pan. With this patch, it appears at a good
size and is not zoomable. However, it is still pannable; I'm not sure
how to stop that.
This meta tag should be ignored by all other browsers. It is
a very small download cost.
Release Notes:
This change makes it possible to get apps to look right
on the iPhone without hand-editing wrappers.
Details:
Tests:
(see above, with newsmatch-labs)
................
r6582 | jcrowley | 2007-09-25 00:19:25 -0700 (Tue, 25 Sep 2007) | 44 lines
Change 20070920-jcrowley-8 by jcrowley at doctormanhattan.mshome.net on 2007-09-20 21:06:57 EDT
in /Users/jcrowley/src/svn/openlaszlo/trunk-two
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Update data tests to include dataloaders, remove
<datasource>, and more
New Features:
Bugs Fixed: LPP-4677 - Update data tests to include dataloaders,
remove <datasource>, and more
Technical Reviewer: henry
QA Reviewer: ben
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: This provides fixes for existing tests
and adds a couple other tests for new
dataprovider components. I'm working
on more tests for these, but this is
what I have so far.
You *might* get an error or failure with
clientcachebreaker, but it doesn't fail
consistently. I believe this is due to
the nature of the test. I think it fails
for me maybe once out of every five runs.
There were no tests of datasource that
I could find. (It was mentioned but
never instantiated anywhere.) So that
part of the bug is kind of N/A.
More extensive tests hopefully
forthcoming. I'll file a separate bug
for extending the testing.
Tests: Run all tests in test/lfc/data/
................
r6587 | ptw | 2007-09-25 09:36:15 -0700 (Tue, 25 Sep 2007) | 19 lines
Change 20070925-ptw-7 by ptw at dueling-banjos.local on 2007-09-25 09:38:45 EDT
in /Users/ptw/OpenLaszlo/ringding
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix merge error in r6548
Bugs Fixed:
LPP-4786 'Script compiler needs refactoring before SWF9 work can begin'
Technical Reviewer: dda at ddanderson.com (Message-Id: <C4801539-C2A3-403E-968B-1059AD82FA4C at ddanderson.com>)
QA Reviewer: jcrowley (pending)
Details:
Assertion left in common path that is supposed to only be in subclass.
Tests:
ant clean build will now build without assertion
................
r6589 | ptw | 2007-09-25 12:53:25 -0700 (Tue, 25 Sep 2007) | 26 lines
Change 20070925-ptw-2 by ptw at dueling-banjos.local on 2007-09-25 11:56:09 EDT
in /Users/ptw/OpenLaszlo/ringding-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix SWF constraint lossage in r6548
Bugs Fixed:
LPP-4786 'Script compiler needs refactoring before SWF9 work can begin'
Technical Reviewer: dda at ddanderson.com (Message-Id: <24816C7A-777A-4188-9872-A5313BFD19F6 at ddanderson.com>)
QA Reviewer: hminsky (pending)
Doc Reviewer: (pending)
Details:
The remodularization tripped up the SWF Generator because it was
analyzing the constraint body _after_ it had been optimized to
inline the setAttribute call. Move the dependency analyzer to the
top of translateFunctionInternal, as is done in Javascript
Generator.
Tests:
Enabling ReferenceGenerator.debugConstraints shows that
constraints are actually being processed. smokecheck.lzx passes
in SWF now, and the SWF debugger window shows up again.
................
r6595 | max | 2007-09-25 15:04:25 -0700 (Tue, 25 Sep 2007) | 26 lines
Change 20070925-maxcarlson-7 by maxcarlson at plastik on 2007-09-25 13:55:11 PDT
in /Users/maxcarlson/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix xoffset and yoffset
New Features:
Bugs Fixed: LPP-4778 - "LzView#setX(..)" and "LzView#setY(..)" optimization breaks xoffset / yoffset
Technical Reviewer: promanik
QA Reviewer: bargull
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: lztest-view.lzx - add test for x/yoffset and one with rotation.
LaszloView.lzs - Add correct initial values for _x, _y, _width, _height. Add argument to setX/setY() to override cached values. setRotation/setXOffset/setYOffset() call setX/setY() with force set to true.
Tests: Run updated lztest-view.lzx with and without the changes to LaszloView.lzs. You should see the test fail without the LaszloView changes. Tested in swf7/8/dhtml.
................
r6602 | max | 2007-09-25 17:22:21 -0700 (Tue, 25 Sep 2007) | 24 lines
Change 20070925-maxcarlson-g by maxcarlson at plastik on 2007-09-25 15:42:07 PDT
in /Users/maxcarlson/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix stretches
New Features:
Bugs Fixed: LPP-4778 - "LzView#setX(..)" and "LzView#setY(..)" optimization breaks xoffset / yoffset
Technical Reviewer: promanik
QA Reviewer: andrebargull at aol.com
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Shouldn't have set defaults for _x/y/width/height.
Tests: http://localhost:8080/trunk/examples/components/style_example.lzx runs correctly
................
r6604 | max | 2007-09-25 19:10:53 -0700 (Tue, 25 Sep 2007) | 24 lines
Change 20070925-maxcarlson-d by maxcarlson at plastik on 2007-09-25 16:15:32 PDT
in /Users/maxcarlson/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix explicit replicator
New Features:
Bugs Fixed: LPP-4664 - test/explicit-replicators/replicator.lzx visually deletes last two items when the second-to-last item is clicked and ...
Technical Reviewer: hminsky
QA Reviewer: andrebargull at aol.com
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Per abargull and hminsky's suggestions, changed this._pointer.p to this.dataset for clarity, added destroy() to prevent memory leaks, _updateChildren() deals with a single node correctly, createChildren() calls super.createChildren(), __adjustVisibleClones() uses this.container instead of this.parent to lock/unlock layouts.
Tests: See LPP-4664.
................
r6608 | lou | 2007-09-26 02:38:21 -0700 (Wed, 26 Sep 2007) | 24 lines
Change 20070921-lou-l9Z4aa by lou at lou-laptop on 2007-09-21 14:17:20 AST
in /home/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: correct minor doc issues
New Features:
Bugs Fixed: LPP-4762, fix minor issues (mostly typos) reported by user
Technical Reviewer: Ben Shine
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests:
................
r6609 | lou | 2007-09-26 02:39:27 -0700 (Wed, 26 Sep 2007) | 25 lines
Change 20070925-lou-PdNB5U by lou at lou-laptop on 2007-09-25 10:31:35 AST
in /home/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Update to performance chapter of dguide
New Features:
Bugs Fixed: LPP-1048: IDs vs names
Technical Reviewer: Ben Shine
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests: Added the information from the JIRA bug. I pretty much
copied the text as is (I don't know JavaScript).
................
r6612 | lou | 2007-09-26 04:46:33 -0700 (Wed, 26 Sep 2007) | 25 lines
Change 20070926-lou-YHeW1d by lou at lou-laptop on 2007-09-26 05:49:05 AST
in /home/lou/src/svn/openlaszlo/trunk/docs/src/developers
for http://svn.openlaszlo.org/openlaszlo/trunk/docs/src/developers
Summary: LPP-4762: minor doc changes based on user input
New Features: This file should have gotten checked in with change
20070921-lou-l9Z4aa; I left it out by mistake.
Bugs Fixed:
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests:
................
r6623 | lou | 2007-09-26 14:47:35 -0700 (Wed, 26 Sep 2007) | 24 lines
Change 20070926-lou-FCWTJO by lou at lou-laptop on 2007-09-26 12:53:34 AST
in /home/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: check the dguide for correct descriptions of whitespace
New Features:
Bugs Fixed: LPP-984 check the data and solo chapters for correct descriptions of whitespace and trimwhitespace
Technical Reviewer: Ben Shine
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests:
................
r6630 | max | 2007-09-26 18:41:06 -0700 (Wed, 26 Sep 2007) | 26 lines
Change 20070925-maxcarlson-3 by maxcarlson at plastik on 2007-09-25 17:03:02 PDT
in /Users/maxcarlson/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Make drawviews resize.
New Features:
Bugs Fixed: LPP-3905 - Changes on width/height must be propagated down to the HTML-canvas in DHTML
Technical Reviewer: promanik
QA Reviewer: andrebargull at aol.com
Doc Reviewer: (pending)
Documentation: Drawviews now resize when the width or height are changed. In DHTML, the drawview will be cleared so it must be redrawn whenever the oncanvas event is sent.
Release Notes:
Details: drawview.lzx - In _buildcanvas(), if the canvas exists it is resized and the oncontext event is sent because it will be cleared. For IE, the canvas must be completely destroyed and rebuilt. setWidth() and setHeight() call _buildcanvas() whenever a valid height and width are set.
roundrect.lzx - Clear cached color state when oncontext is sent to ensure canvas state is reset properly.
Tests: http://localhost:8080/trunk/lps/components/incubator/test/test-roundrectbutton.lzx?lzr=dhtml now resizes beyond 100 pixels in IE and firefox.
................
r6631 | max | 2007-09-26 18:43:06 -0700 (Wed, 26 Sep 2007) | 24 lines
Change 20070925-maxcarlson-m by maxcarlson at plastik on 2007-09-25 17:31:46 PDT
in /Users/maxcarlson/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: text inside a combobox should not resize
New Features:
Bugs Fixed: LPP-4787 - text inside a combobox should not resize
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Set text resize to false. False used to be the default in 3.x.
Tests: See LPP-4787.
................
r6637 | jcrowley | 2007-09-26 21:20:51 -0700 (Wed, 26 Sep 2007) | 59 lines
Change 20070926-jcrowley-r by jcrowley at doctormanhattan.mshome.net on 2007-09-26 05:45:59 EDT
in /Users/jcrowley/src/svn/openlaszlo/trunk-a
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: maxlength doesn't work for LzText (NOTE: also fixed
for inputtext)
New Features:
Bugs Fixed: LPP-2208 - maxlength doesn't work for LzText
Technical Reviewer: pbr
QA Reviewer: max
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Added a check for maxlength to setText() functions
in both LzText and LzInputText. Also fixed it for
initial text construction. If maxlength is set,
text will not exceed the length, even with setText().
(Before this, it would catch it with inputtext,
but only when one entered text into the box.
setText() would ignore it.)
Tests: Run the following:
<canvas width="500" height="500">
<simplelayout axis="y"/>
<text id="tx1" text="This text shouldn't be truncated."/>
<text id="tx2" text="This text should be truncated after 12 characters." maxlength="12"/>
<inputtext id="tx3" text="Type something here fdafda." maxlength="20" width="300"
bgcolor="0xDDFFDD"/>
<button
onclick="tx1.setText('This text is pretty long, but it should be fine.')">
Click here to set the first text element using setText()
</button>
<button
onclick="tx2.setText('This text is much longer than the allowed limit of twelve characters.')">
Click here to set the second text element using setText()
</button>
<button
onclick="tx3.setText('This text is much longer than the allowed limit of twenty characters.')">
Click here to set the inputtext using setText()
</button>
</canvas>
This also passes smokecheck, and actually clears up
a failure in the lztest-text test.
................
r6640 | ptw | 2007-09-27 05:20:32 -0700 (Thu, 27 Sep 2007) | 16 lines
Change 20070926-ptw-p by ptw at dueling-banjos.local on 2007-09-26 17:30:12 EDT
in /Users/ptw/OpenLaszlo/ringding
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Declare clonenumber
Bugs Fixed:
LPP-4793 'Using clonenumber emits warning when using replicator'
Technical Reviewer: hminsky (pending)
QA Reviewer: pablo (Message-ID: <Pine.OSX.4.64.0709261631480.11512 at pkang-mac.local>)
Tests:
Bug test case no longer gives a warning
................
r6643 | lou | 2007-09-27 10:59:50 -0700 (Thu, 27 Sep 2007) | 24 lines
Change 20070927-lou-v6tk4a by lou at lou-laptop on 2007-09-27 13:59:34 AST
in /home/lou/src/svn/openlaszlo/trunk/docs/src/developers/programs
for http://svn.openlaszlo.org/openlaszlo/trunk/docs/src/developers/programs
Summary:
New Features:
Bugs Fixed:
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Tests:
................
r6644 | lou | 2007-09-27 11:01:43 -0700 (Thu, 27 Sep 2007) | 24 lines
Change 20070927-lou-3dtDKq by lou at lou-laptop on 2007-09-27 14:01:01 AST
in /home/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary:
New Features:
Bugs Fixed:
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Tests:
................
r6645 | pbr | 2007-09-27 13:15:21 -0700 (Thu, 27 Sep 2007) | 30 lines
Change 20070926-Philip-4 by Philip at Philip-DC on 2007-09-26 20:26:00 EDT
in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: DHTML: onkeyup/onkeydown sent twice
New Features:
Bugs Fixed: LPP-4267
Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
There are two code paths that are generating onkeyup/onkeydown events in dhtml (The details are in LPP-4267). I modified LzInputTextSprite.js to not generate onkeyup/onkeydown. It still generates onchange though. The path that generates onkeyup/onkeydown is in LzKeys, the same as swf.
Tests:
See LPP-4267. With this change, a single keyup/keydown is generated for each key click/release.
smokecheck.lzx
Files:
M WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070926-Philip-4.tar
................
r6649 | jcrowley | 2007-09-27 15:30:49 -0700 (Thu, 27 Sep 2007) | 29 lines
Change 20070920-jcrowley-Y by jcrowley at doctormanhattan.mshome.net on 2007-09-20 21:28:58 EDT
in /Users/jcrowley/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Introduction->Form example does not work correctly
New Features:
Bugs Fixed: LPP-4763 - Introduction->Form example does not work correctly
Technical Reviewer: ben
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: A quick fix to prevent objects behind a view from
being clickable.
Tests: Run laszlo-explorer -> laszlo-in-ten -> introduction ->
form. Enter your name, select a new name, click
the submit button. Click around in the box. Note
that the objects behind this view that were still
clickable when the view was visible are no longer
so.
................
r6650 | jcrowley | 2007-09-27 15:34:07 -0700 (Thu, 27 Sep 2007) | 26 lines
Change 20070921-jcrowley-P by jcrowley at doctormanhattan.mshome.net on 2007-09-21 18:37:01 EDT
in /Users/jcrowley/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Calendar: Event info bar clipped at left of canvas
New Features:
Bugs Fixed: LPP-4692 - Calendar: Event info bar clipped at
left of canvas
Technical Reviewer: pbr
QA Reviewer: ben
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Something was clipping when it shouldn't have been.
Tests: Run Calendar demo in DHTML and Flash; click on an
event on Sunday; notice that the event info bar is
no longer clipped on the left.
................
r6651 | jcrowley | 2007-09-27 15:52:59 -0700 (Thu, 27 Sep 2007) | 33 lines
Change 20070926-jcrowley-K by jcrowley at doctormanhattan.mshome.net on 2007-09-26 04:47:38 EDT
in /Users/jcrowley/src/svn/openlaszlo/trunk-a
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Local datasets do not work in datacomboboxes;
datacombobox getText() missing
New Features:
Bugs Fixed: LPP-3811 - Local datasets do not work in datacomboboxes
LPP-4468 - datacombobox getText() missing
Technical Reviewer: pbr
QA Reviewer: ben
Doc Reviewer:
Documentation:
Release Notes:
Details: Andre Bargull - LPP-3811. Implemented his change
to basedatacombobox. (This was still pending review;
ignore pending changeset 20070814-jcrowley-n.)
Chris Bartak - LPP-4468. Implemented his change
to add getText() to datacombobox.
Tests: For LPP-3811:
[Removed this code due to a complaint from SVN about line
ending styles being inconsistent.]
................
r6652 | dda | 2007-09-27 15:53:32 -0700 (Thu, 27 Sep 2007) | 201 lines
Change 20070921-dda-l by dda at freddie.local on 2007-09-21 17:52:38 EDT
in /Users/dda/laszlo/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix script compiler switch stack mixup in default label
New Features:
Bugs Fixed: LPP-3023
Technical Reviewer: ptw
QA Reviewer: henry
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
The problem is in the script compiler, specifically for the SW7/8 code generator.
When creating a jump table (a series of comparisons to jump to the case labels),
each jump action leaves a value at the top of the stack that must be popped as the
first action of the case label. However, default was handled differently.
The extra value was popped first and the jump to the default label is made,
so the default label did not pop as its first action.
Here's the problem. When case labels are joined with the default label like this:
case 10:
case 11:
default:
// do something...
the code generator attempts to share the code, but the stack levels are mismatched.
One solution is to force the default label to be the last and insert the extra pop
for the case labels only:
case 10:
case 11:
pop stack
// fall through
default:
I opted for a simpler solution, to guarantee that stack levels are always the same.
During the jump table, we avoid popping the stack before the default jump. We must
take care that if there is no default label, the stack is popped before the jump table
completes and we jump to the end of the switch code block.
With this approach, we now always emit a pop as the first action of a default
label, like every other case label. This allows case labels to be easily
joined whether or not they represent the default case.
I don't believe there is any performance impact: we are doing the same number of pops
at runtime (well, one extra that is needed to fix the buggy situation), and the
overall code size should be the same.
Tests:
Ran test listed in LPP-3023 and made sure it is now correct, both with debug and no debug.
Enhanced the app to test a number of other corner cases for default labels and verified
the output, again with/without debug. App included here:
<canvas>
<class name="switcher" extends="text">
<method name="testSwitch" args="val">
var result = "none";
switch (val) {
case 1:
result = "case 1";
break;
case 2:
case 3:
// if you uncomment the true below both 2 and 3 work
// true;
default:
// if you remove the default: above 2 and 3 also work
result = "default";
break;
}
this.setText(this.name + ": " + result);
</method>
<method name="testSwitchDefaultBreak" args="val">
var result = "none";
switch (val) {
case 1:
result = "case 1";
break;
case 2:
case 3:
// if you uncomment the true below both 2 and 3 work
// true;
default:
break;
}
this.setText(this.name + ": " + result);
</method>
<method name="testSwitchDefaultNoBreak" args="val">
var result = "none";
switch (val) {
case 1:
result = "case 1";
break;
case 2:
case 3:
// if you uncomment the true below both 2 and 3 work
// true;
default:
}
this.setText(this.name + ": " + result);
</method>
<method name="testSwitchNoDefault" args="val">
var result = "none";
switch (val) {
case 1:
result = "case 1";
break;
case 2:
case 3:
// if you uncomment the true below both 2 and 3 work
// true;
}
this.setText(this.name + ": " + result);
</method>
</class>
<simplelayout />
<switcher name="switch1" />
<switcher name="switch2" />
<switcher name="switch3" />
<switcher name="switch4" />
<switcher name="switch11" />
<switcher name="switch21" />
<switcher name="switch31" />
<switcher name="switch41" />
<switcher name="switch12" />
<switcher name="switch22" />
<switcher name="switch32" />
<switcher name="switch42" />
<switcher name="switch13" />
<switcher name="switch23" />
<switcher name="switch33" />
<switcher name="switch43" />
<text name="switch5">
<method name="otherSwitch" args="val">
var result = "none";
switch (val) {
case 1:
result = "case 1";
break;
case 2:
case 3:
// if you uncomment the true below both 2 and 3 work
// true;
default:
// if you remove the default: above 2 and 3 also work
result = "default";
break;
}
this.setText(this.name + ": " + result);
</method>
</text>
<text name="switch6">
<method name="nonSwitch" args="val">
var result = "none";
if (val == 1) {
result = "case 1";
} else {
result = "default";
}
this.setText(this.name + ": " + result);
</method>
</text>
<text name="switch7">
</text>
<script>
// the first case works
switch1.testSwitch(1);
// the default case works;
switch2.testSwitch(5);
// using 2 or 3 appears to work but breaks all method calls
switch3.testSwitch(2);
// none of these locally defined calls work
switch4.testSwitch(1);
switch11.testSwitchDefaultBreak(1);
switch21.testSwitchDefaultBreak(5);
switch31.testSwitchDefaultBreak(2);
switch41.testSwitchDefaultBreak(1);
switch12.testSwitchDefaultNoBreak(1);
switch22.testSwitchDefaultNoBreak(5);
switch32.testSwitchDefaultNoBreak(2);
switch42.testSwitchDefaultNoBreak(1);
switch13.testSwitchNoDefault(1);
switch23.testSwitchNoDefault(5);
switch33.testSwitchNoDefault(2);
switch43.testSwitchNoDefault(1);
switch5.otherSwitch(1);
switch6.nonSwitch(1);
switch7.setText(this.name + ": " + "test");
</script>
</canvas>
................
r6654 | jcrowley | 2007-09-27 16:06:22 -0700 (Thu, 27 Sep 2007) | 44 lines
Change 20070927-jcrowley-v by jcrowley at doctormanhattan.mshome.net on 2007-09-27 19:04:11 EDT
in /Users/jcrowley/src/svn/openlaszlo/trunk-a
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: [repackaging to be checked into trunk; this was sent out from legals as
20070814-jcrowley-S, and was approved by Ben] datagrid: If the columns are
not updatable, it's impossible to select a row.
New Features:
Bugs Fixed: LPP-4201 - datagrid: If the columns are not updatable, it's impossible to
select a row.
Technical Reviewer: bshine
QA Reviewer: max
Doc Reviewer:
Documentation:
Release Notes:
Details: Ben and I weren't _entirely_ sure what this one meant, but I'm
pretty sure I figured it out. I made it so that one can
select the text in a given row, without the row having to be
editable. All you have to do is specify selectable="true" on
the gridtext element, as with any other text element.
Tests: Run the following example:
<canvas width="800" height="400" bgcolor="0xEAEAEA">
<dataset name="contactsData" request="true" type="http" src="http:contactsdata.xml"/>
<grid name="foo" datapath="contactsData:/*" sizetoheader="false" selectable="true">
<gridtext editable="false" width="50" datapath="position()" sortable="false">
No.
</gridtext>
<gridtext editable="false" selectable="true" datapath="@firstname">First</gridtext>
<gridtext editable="false" selectable="true" datapath="@lastname">Last</gridtext>
<gridtext editable="false" datapath="@displayname">Full Name</gridtext>
</grid>
</canvas>
Note that you can now select the text in the row.
................
r6655 | pbr | 2007-09-27 16:14:14 -0700 (Thu, 27 Sep 2007) | 45 lines
Change 20070926-Philip-0 by Philip at Philip-DC on 2007-09-26 13:49:59 EDT
in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix reference to hasNoDelegates in LzModeManager
New Features:
Bugs Fixed: LPP-4389, LPP-2564
Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
This bug is already fixed because hasNoDelegates has been removed.
However, it is still referenced in LzModeManager.lzs. I changed the reference to getDelegateCount() as recommended in LPP-4389.
Tests:
This test continues to work properly. Double clicking will produce a debug message.
<canvas height="500" debug="true" >
<view width="40" height="40" bgcolor="0xEAEAEA" clickable="true" >
<handler name="oninit" >
var del = new LzDelegate( this, "handleDblClick", this, "ondblclick" );
del.unregisterFrom( this.ondblclick );
del.register( this, "ondblclick" );
</handler>
<method name="handleDblClick" >
Debug.write( "handleDblClick" );
</method>
</view>
</canvas>
Files:
M WEB-INF/lps/lfc/services/LzModeManager.lzs
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070926-Philip-0.tar
................
r6664 | hqm | 2007-09-28 07:37:40 -0700 (Fri, 28 Sep 2007) | 24 lines
Change 20070928-hqm-2 by hqm at IBM-2E06404CB67 on 2007-09-28 10:36:46 EDT
in /cygdrive/c/users/hqm/openlaszlo/trunk/demos/weather
for http://svn.openlaszlo.org/openlaszlo/trunk/demos/weather
Summary: uncomment weather canvas size
New Features:
Bugs Fixed:LPP-4782
Technical Reviewer: josh
QA Reviewer: amy
Doc Reviewer:
Documentation:
Release Notes:
Details:
Tests:
................
r6670 | lou | 2007-09-28 11:14:47 -0700 (Fri, 28 Sep 2007) | 24 lines
Change 20070928-lou-m1pLMm by lou at lou-laptop on 2007-09-28 14:10:42 AST
in /home/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: change type for stretches from Boolean to String
New Features:
Bugs Fixed:LPP-4193
Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer:
Documentation:
Release Notes:
Details: also enclosed in quotes width, height, and both
Tests:
................
r6676 | jcrowley | 2007-09-28 13:26:36 -0700 (Fri, 28 Sep 2007) | 36 lines
Change 20070928-jcrowley-u by jcrowley at doctormanhattan.mshome.net on 2007-09-28 16:24:50 EDT
in /Users/jcrowley/src/svn/openlaszlo/trunk-a
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: [repackaging for trunk - this was approved by Phil]
DHTML calendar demo wigs out on opening Event Info
New Features:
Bugs Fixed: LPP-4175 - DHTML calendar demo wigs out on opening
Event Info
Technical Reviewer: pbr
QA Reviewer: max
Doc Reviewer:
Documentation:
Release Notes:
Details: I found a larger bug with this one, which was auto-
assigned to Tucker. It's LPP-4499. The issue here is
really that calling LzFocus.setFocus() on something
off-canvas in DHTML will slide the canvas over so that
the focused item is visible. I worked around it in
this case by moving it into an onstop event for one
of the animators called by the same method, to ensure
it didn't get called until after the object was fully
on-screen.
Tests: Run modified Calendar versus unmodified in DHTML; note
the modified version doesn't slide over all crazy-like
when the info panel is opened by clicking the 'i' on
a selected event tag.
................
r6683 | max | 2007-09-28 15:02:38 -0700 (Fri, 28 Sep 2007) | 33 lines
Change 20070928-maxcarlson-r by maxcarlson at plastik on 2007-09-28 13:30:10 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: One more time: Hand marge r6661 from wafflecone to trunk
New Features:
Bugs Fixed:
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: LzHistory.as - Use correct syntax for LzBrowser.callJS(). Clear out old __lzloading code. Initialize persistence and add explicit callback to Lz.history in receiveHistory().
LzHistory.js - Clear out old __lzloading code.
LaszloCanvas.lzs - Rely on browser history event callbacks to initialize history state instead of explicit call at canvas init time.
embednew.js - Clean up extra window.onload event, comments. Set Lz.loaded to true when load is finished. Use anonymous function in _callMethodSWF() to prevent overwrites.
lzhistory.js - Store and reset the document title in IE to keep the window title from changing. Make init code more specific to each browser. Use Lz.callMethod() to set the history state instead of calling dojo.flash.comm. Don't set top.location.hash to '#0' in IE - use '#' instead. Add __receivedhistory() callback to receive history from Flash.
flash.js - Ensure callback methods are executed in the proper scope for flash < 8.
Tests: http://localhost:8080/trunk/test/history/history.lzx in dhtml, swf7 and 8 in Firefox mac, IE 6/7 and Safari 2.
................
r6684 | max | 2007-09-28 15:25:28 -0700 (Fri, 28 Sep 2007) | 44 lines
Recorded merge of revisions 6661 via svnmerge from
http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
........
r6661 | max | 2007-09-27 22:30:20 -0700 (Thu, 27 Sep 2007) | 38 lines
Change 20070927-maxcarlson-6 by maxcarlson at plastik on 2007-09-27 18:44:35 PDT
in /Users/maxcarlson/openlaszlo/wafflecone
for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
Summary: UPDATED: Fix history in swf7/8 and dhtml
New Features:
Bugs Fixed: LPP-4746 - Javascript errors when using the history mechanism in swf7, LPP-4731 - reloading browser page causes history to trigger "back" action
Technical Reviewer: promanik
QA Reviewer: lhenrywilkins at laszlosystems.com
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: LzSprite.js - Do callback to _ready when canvas initializes.
LzHistory.as - Use correct syntax for LzBrowser.callJS(). Clear out old __lzloading code.
LzBrowser.as - Reset __jscallback to null when there is no callback.
LzHistory.js - Clear out old __lzloading code.
LaszloCanvas.lzs - Rely on browser history event callbacks to initialize history state instead of explicit call at canvas init time.
embednew.js - Hand merge changes related to onloaded from trunk.
lzhistory.js - Store and reset the document title in IE to keep the window title from changing.
flash.js - Ensure callback methods are executed in the proper scope for flash < 8.
Tests: http://localhost:8080/trunk/test/history/history.lzx in dhtml, swf7 and 8 in Firefox mac, IE 6/7 and Safari 2. Also tested webtop and verified that both bugs are fixed in future/lzmail/main.lzx - I used r11 of uicontroller.lzx to bring back the history functionality.
........
................
r6687 | hqm | 2007-09-28 17:17:41 -0700 (Fri, 28 Sep 2007) | 34 lines
Change 20070928-hqm-4 by hqm at IBM-2E06404CB67 on 2007-09-28 20:15:33 EDT
in /cygdrive/c/users/hqm/openlaszlo/trunk2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: disable compiler warning for duplicate resource name
New Features:
Bugs Fixed: LPP-4615
Technical Reviewer: ptw
QA Reviewer: pkang
Doc Reviewer:
Documentation:
Release Notes:
Details:
remove the warning for duplicated resource, for now.
There are a couple of proposals for adding a flag to resource
declaration which permits overrides explicitly.
This patch is just a temporary solution for now.
Tests:
test/compiler_errors/duplicate-resource.lzx
................
r6707 | hqm | 2007-10-01 14:14:24 -0700 (Mon, 01 Oct 2007) | 34 lines
Change 20071001-hqm-0 by hqm at IBM-2E06404CB67 on 2007-10-01 13:24:07 EDT
in /cygdrive/c/users/hqm/openlaszlo/trunk2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: allow dhtml as default runtime
New Features:
Bugs Fixed: LPP-3705
Technical Reviewer: pbr
QA Reviewer: ptw
Doc Reviewer: jrs
Documentation:
Release Notes:
Details:
Assign default runtime from one place (LPS.java), and assume runtime default if no 'lzr'
query arg is supplied in RESPONDERObject.java for lzt=object requests
Tests:
restart tomcat, and see if apps come up as DHTML by default with no lzr arg, and with lzt=html queries
................
r6715 | max | 2007-10-02 16:03:03 -0700 (Tue, 02 Oct 2007) | 43 lines
ehange 20071002-maxcarlson-a by maxcarlson at plastik on 2007-10-02 11:15:45 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix html tag
New Features:
Bugs Fixed: LPP-4784 - OL4.0.5, <html> tag and SWF : http://www.openlaszlo.org/lps4/lps/components/extensions/test/html-swf.jsp NOT WOKING
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: DojoExternalInterface.as - Better debugging info, make sure resultsChecker function is named, clear out _root._callbackID when done looking for results.
Library.lzs - Add default values for _root._currenthistory and _root._callbackID to prevent exceptions in IE.
LzHistory.as - Use _root._currenthistory to communicate current history state in swf7 to prevent concurrency issues calling into/out of flash simultaneously.
LaszloCanvas.lzs - Set canvas id passed in to init arguments.
test/html.lzx - Use w3.org as default URL to prevent runtime exceptions - openlaszlo.org fails to run some javascript when laoded in an iframe.
html-swf.js - Update to new wrapper format.
html.lzx - Pass in canvas id for callbacks. Add support for sendToBack(). Always update position when iframeid is set.
embednew.js - Pass id into flashargs to set canvas.id.
lzhistory.js - Watch _currenthistory for history state changes for swf7 in _checklocationhash(). __setFlash() only sets history state if _callbackID is null. Otherwise it waits 10ms.
iframemanager.js - Reorder init(). Add support for sendToBack().
dev-console.lzx.swf - Rebuild with default values for _root._currenthistory and _root. _callbackID to prevent exceptions in IE.
Tests: http://localhost:8080/trunk-clean/lps/components/extensions/test/html-swf.jsp and http://localhost:8080/trunk-clean/lps/components/extensions/test/html.zlx run in swf7, swf8 and dhtml. http://localhost:8080/trunk-clean/test/history/history.lzx passes in swf7, swf8 and dhtml. Tested under IE 6, 7 and Firefox 2 OS X.
................
r6726 | hqm | 2007-10-04 15:49:36 -0700 (Thu, 04 Oct 2007) | 41 lines
Change 20071004-hqm-2 by hqm at IBM-2E06404CB67 on 2007-10-04 18:43:58 EDT
in /cygdrive/c/users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: replace jing validator with something better
New Features:
Bugs Fixed: LPP-4644
and other bugs too numerous to mention
Technical Reviewer: ptw
QA Reviewer: pbr
Doc Reviewer:
Documentation:
Release Notes:
Details:
removed JING RNG parser and validator, and all code in ViewSchema which uses it.
All validation is done from the lps/schema/lfc.lzx file now,
all validity checks done in updateschema or during compilation by
NodeModel and friends.
The "validate" flag is deprecated (we should warn for that I guess),
and can be removed at some point.
Tests:
compiled demos, examples/components, smokecheck, webtop lzmail app
ant runlzunit
tested test cases in test/compiler_errors
................
r6727 | hqm | 2007-10-04 15:59:29 -0700 (Thu, 04 Oct 2007) | 1 line
forgot this with 6726
................
r6729 | max | 2007-10-04 16:51:40 -0700 (Thu, 04 Oct 2007) | 34 lines
Change 20071004-maxcarlson-x by maxcarlson at plastik on 2007-10-04 12:49:38 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix Mode manager and LzText/Inputtext modality
New Features:
Bugs Fixed: LPP-3948 - LzModeManager and selectable LzText (real problem comes with edittext)
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: LzTextSprite.js - Expose and set selectable attribute.
LzInputTextSprite.js - Don't become editable when selectable != true.
LzModeManager.lzs - Ensure mView.passModeEvent() exists before calling it.
LzInputText.lzs - Register for LzModeManager.onmode event. Ensure inputtext doesn't become selectable if it isn't inside the view that has modality applied.
LzText.lzs - Set selectable attribute in setSelectable().
edittext.lzx - Add support setSelection(), applyData(), updateData() and getValue().
Tests: See LPP-3948. Testcase passes in flash and DHTML.
................
r6731 | hqm | 2007-10-04 17:11:31 -0700 (Thu, 04 Oct 2007) | 27 lines
Change 20071004-hqm-8 by hqm at IBM-2E06404CB67 on 2007-10-04 19:22:03 EDT
in /cygdrive/c/users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix a couple of warnings that now show up in dmoes
New Features:
Bugs Fixed:
Technical Reviewer: pbr
QA Reviewer: jsundman
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
These views should not have been named "frame", as it aliases an attribute of view.
Changed name of view to "myframe"
Tests:
................
r6736 | pbr | 2007-10-05 12:51:02 -0700 (Fri, 05 Oct 2007) | 48 lines
Also see LPP-1636
Change 20071005-Philip-6 by Philip at Philip-DC on 2007-10-05 13:42:37 EDT
in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Pass arguments intact to Windows scripts
New Features:
Bugs Fixed: LPP-4843
Technical Reviewer: ptw
QA Reviewer: hqm
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Arguments were not being transferred intact to java. The old scripts
used %1,%2,... to refer to arguments. However, Windows thinks that
--runtime=swf7 is two argument, "--runtime" and "swf7". The only fix
I found is to pass the arguments intact using %*.
Tests:
lzc,lzdc,lzmc pass arguments the same way. Tested on lzc. From the
windows command prompt:
- lzc --runtime=swf8 testfile.lzx
This command should product a file pbr113.lzr=swf8.swf
- lzc "--runtime=swf8" testfile.lzx
This should work the same as the first case. This makes sure that
people that are already escaping the argument can continue to do so.
Files:
M WEB-INF/lps/server/bin/lzc.bat
M WEB-INF/lps/server/bin/lzdc.bat
M WEB-INF/lps/server/bin/lzmc.bat
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20071005-Philip-6.tar
................
r6740 | lou | 2007-10-06 07:38:01 -0700 (Sat, 06 Oct 2007) | 24 lines
Change 20071003-lou-c4MZCf by lou at lou-laptop on 2007-10-03 11:19:29 AST
in /home/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Differential debugging SWF and DHTML
New Features:
Bugs Fixed: LPP-4824
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details: Added section 4.1 Differential debugging SWF and DHTML to the data tutorial.
Tests:
................
r6741 | lou | 2007-10-06 07:39:16 -0700 (Sat, 06 Oct 2007) | 20 lines
Change 20071003-lou-pXqghd by lou at lou-laptop on 2007-10-03 10:03:33 AST
in /home/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Added Debug.bugReport() description
New Features:
Bugs Fixed: LPP-4798
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Details: Add section 1.6 Generating a bug report to the Debugging chapter.
Tests:
................
r6742 | lou | 2007-10-06 07:45:37 -0700 (Sat, 06 Oct 2007) | 24 lines
Change 20070928-lou-msVzZQ by lou at lou-laptop on 2007-09-28 13:31:10 AST
in /home/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary:
New Features: replace references to Deployer's Guide to Administrator's Guide
Bugs Fixed: LPP-4819 dguide: references to Deployer's Guide shoud be Administrator's guide
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests:
................
r6743 | lou | 2007-10-06 07:52:15 -0700 (Sat, 06 Oct 2007) | 24 lines
Change 20070928-lou-lvSbjV by lou at lou-laptop on 2007-09-28 14:05:16 AST
in /home/lou/src/svn/openlaszlo/trunk/docs/src
for http://svn.openlaszlo.org/openlaszlo/trunk/docs/src
Summary: Function.apply and Function.call now listed as supported
New Features: change table so that Function.apply and Function.call are now supported
Bugs Fixed: LPP-4338
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests:
................
r6747 | lou | 2007-10-07 12:15:53 -0700 (Sun, 07 Oct 2007) | 25 lines
Change 20071007-lou-A by lou at loumac.local on 2007-10-07 14:56:08 AST
in /Users/lou/src/svn/openlaszlo/trunk/docs
for http://svn.openlaszlo.org/openlaszlo/trunk/docs
Summary: fix typos in language preliminaries chapter of dguide
New Features:
Bugs Fixed: LPP-4847
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: OpenLaszlo entirely case-sensitive. -> OpenLaszlo is entirely case-sensitive.
Fix 2 broken xrefs (these show up as ??? in the html file)
Tests:
................
r6749 | lou | 2007-10-07 15:53:03 -0700 (Sun, 07 Oct 2007) | 24 lines
Change 20071007-lou-8 by lou at loumac.local on 2007-10-07 17:54:39 AST
in /Users/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Add Firebug array note to the debugging chapter of the dguide
New Features: Also changed references to FireFox and FireBug to Firefox and Firebug
Bugs Fixed: LPP-4846: explain arrays in Firebug debugger
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests:
................
r6760 | jcrowley | 2007-10-08 13:45:40 -0700 (Mon, 08 Oct 2007) | 30 lines
Change 20071008-jcrowley-W by jcrowley at doctormanhattan.mshome.net on 2007-10-08 13:56:28 EDT
in /Users/jcrowley/src/svn/openlaszlo/trunk-b
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Components hierarchy browser should link to the right page in
the reference
New Features:
Bugs Fixed: LPP-4555 - Components hierarchy browser should link to the
right page in the reference
Technical Reviewer: pbr
QA Reviewer: ben
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Fixed the links, many were outdated and the request
mechanism was kind of broken.
Tests: Run the components hierarchy; note that clicking all the
links in the modified version takes you to the appropriate
pages, whereas the links in an unmodified version will
result in 404 errors or simply taking you to the refguide
index.
................
r6761 | lou | 2007-10-08 14:47:08 -0700 (Mon, 08 Oct 2007) | 24 lines
Change 20071008-lou-j by lou at loumac.local on 2007-10-08 11:45:31 AST
in /Users/lou/src/svn/openlaszlo/trunk/docs/src
for http://svn.openlaszlo.org/openlaszlo/trunk/docs/src
Summary: Add section 4. Component auto-include to Designing Custom Components chapter of the dguide
New Features:
Bugs Fixed: LPP-1083: setting up component auto-include
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests:
................
r6769 | jcrowley | 2007-10-09 09:37:23 -0700 (Tue, 09 Oct 2007) | 153 lines
Change 20071009-jcrowley-z by jcrowley at doctormanhattan.mshome.net on 2007-10-09 12:34:27 EDT
in /Users/jcrowley/src/svn/openlaszlo/trunk-f
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: (Already approved by Phil; am integrating into a different
local branch before checking in.) long comobox does not
render properly on firefox 2.0
New Features:
Bugs Fixed: LPP-4192 - long comobox does not render properly on
firefox 2.0
Technical Reviewer: pbr
QA Reviewer: henry
Doc Reviewer:
Documentation:
Release Notes:
Details: This one wasn't really that much of a bug, since
you can set limits on the list size and give it
a scrollbar if you have to clip it, but I thought
there should still be some kind of check to make
sure it's not longer than the canvas. I added
attribute 'sizetocanvas', default true, to set
the number of visible elements in an expanded
list to fit the list on the canvas. In the likely
rare event one wants to let the list spill off the
canvas, they can always set sizetocanvas to false.
Tests: Run:
<canvas>
<combobox id="serviceCombo"
width="130"
defaulttext="choose one..." editable="false" enabled="true">
<textlistitem datapath="services:/services/service" text="$path{'@name'}"
value="$path{'@value'}"/>
</combobox>
<dataset name="services">
<services>
<service name="adamsboswe" value="adamsboswe"/>
<service name="323iactive" value="323iactive"/>
<service name="aecom" value="aecom"/>
<service name="1stomni" value="1stomni"/>
<service name="acisol" value="acisol"/>
<service name="ares" value="ares"/>
<service name="180solutio" value="180solutio"/>
<service name="ameris" value="ameris"/>
<service name="11below" value="11below"/>
<service name="advcommerc" value="advcommerc"/>
<service name="alloy" value="alloy"/>
<service name="abnerherrm" value="abnerherrm"/>
<service name="active" value="active"/>
<service name="activewind" value="activewind"/>
<service name="aei" value="aei"/>
<service name="adelante" value="adelante"/>
<service name="3spn" value="3spn"/>
<service name="ampere" value="ampere"/>
<service name="abundant" value="abundant"/>
<service name="advantage" value="advantage"/>
<service name="aethionsi" value="aethionsi"/>
<service name="altrec" value="altrec"/>
<service name="arin" value="arin"/>
<service name="aplia" value="aplia"/>
<service name="ailiant" value="ailiant"/>
<service name="about" value="about"/>
<service name="amerisec" value="amerisec"/>
<service name="alorica" value="alorica"/>
<service name="americasho" value="americasho"/>
<service name="americanap" value="americanap"/>
<service name="anomaly" value="anomaly"/>
<service name="anyware" value="anyware"/>
<service name="aloricaden" value="aloricaden"/>
<service name="appdiscove" value="appdiscove"/>
<service name="alpaul" value="alpaul"/>
<service name="advpersonn" value="advpersonn"/>
<service name="accesscomm" value="accesscomm"/>
<service name="absclothin" value="absclothin"/>
<service name="ainet" value="ainet"/>
<service name="aismedia" value="aismedia"/>
<service name="americom" value="americom"/>
<service name="accessline" value="accessline"/>
<service name="altntech" value="altntech"/>
<service name="apex" value="apex"/>
<service name="adinfuse" value="adinfuse"/>
<service name="actsgroup" value="actsgroup"/>
<service name="alliance" value="alliance"/>
<service name="alphazeta" value="alphazeta"/>
<service name="akamai" value="akamai"/>
<service name="aitcc" value="aitcc"/>
<service name="accellion" value="accellion"/>
<service name="accor" value="accor"/>
<service name="agile" value="agile"/>
<service name="alta" value="alta"/>
<service name="apptrix" value="apptrix"/>
<service name="arcap" value="arcap"/>
<service name="addante" value="addante"/>
<service name="3amlabs" value="3amlabs"/>
<service name="altadisusa" value="altadisusa"/>
<service name="amgen" value="amgen"/>
<service name="SJC-Lab" value="SJC-Lab"/>
<service name="accel" value="accel"/>
<service name="americanto" value="americanto"/>
<service name="apple" value="apple"/>
<service name="aci" value="aci"/>
<service name="accipiter" value="accipiter"/>
<service name="adpinvest" value="adpinvest"/>
<service name="acsonline" value="acsonline"/>
<service name="1ix" value="1ix"/>
<service name="aas" value="aas"/>
<service name="altoh" value="altoh"/>
<service name="adaptivepa" value="adaptivepa"/>
<service name="abs" value="abs"/>
<service name="aim2game" value="aim2game"/>
<service name="areatech" value="areatech"/>
<service name="appiq" value="appiq"/>
<service name="advancedac" value="advancedac"/>
<service name="1stfinanci" value="1stfinanci"/>
<service name="aig" value="aig"/>
<service name="800one" value="800one"/>
<service name="aptela" value="aptela"/>
<service name="activegrou" value="activegrou"/>
<service name="apress" value="apress"/>
<service name="3eco" value="3eco"/>
<service name="allrecipes" value="allrecipes"/>
<service name="amselect" value="amselect"/>
<service name="alpine" value="alpine"/>
<service name="argis" value="argis"/>
<service name="3dblinds" value="3dblinds"/>
<service name="ardennes" value="ardennes"/>
<service name="003realty" value="003realty"/>
<service name="amgenuk" value="amgenuk"/>
<service name="adaptec" value="adaptec"/>
<service name="aonwarrant" value="aonwarrant"/>
<service name="adpark" value="adpark"/>
<service name="apartment" value="apartment"/>
<service name="arenaone" value="arenaone"/>
<service name="adchemy" value="adchemy"/>
<service name="2wire" value="2wire"/>
<service name="advancecab" value="advancecab"/>
</services>
</dataset>
</canvas>
In both modified and unmodified branches. Note that in unmodified,
it spills off into forever. In modified, it stops just before, and
there's a scrollbar. (If one explicitly sets the number of visible
elements, it'll override this.)
................
r6779 | ptw | 2007-10-10 05:29:01 -0700 (Wed, 10 Oct 2007) | 27 lines
Change 20071009-ptw-M by ptw at dueling-banjos.local on 2007-10-09 18:28:50 EDT
in /Users/ptw/OpenLaszlo/ringding-2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Re-enable Monitor messages
Bugs Fixed:
LPP-4855 'Debug.monitor does not appear to be working'
Technical Reviewer: max (pending)
QA Reviewer: sosullivan (pending)
Details:
LzDebug: Add MONITOR and TRACE as valid message levels
kernel.*: If message type does not have a valid level, always
print it.
LzMonitor, LzTrace: Give constructors a name.
Tests:
lzx> Debug.monitor(canvas, 'version')
lzx> canvas.version=888
MONITOR @simple.lzx#1: [845525.00] Debug.doEval: #canvas.version: '4.1.x.0' -> 888
888
................
r6782 | hqm | 2007-10-10 05:59:30 -0700 (Wed, 10 Oct 2007) | 26 lines
Change 20071010-hqm-4 by hqm at IBM-2E06404CB67 on 2007-10-10 08:57:32 EDT
in /cygdrive/c/users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: remove debugging info that got included by mistake in r6726
New Features:
Bugs Fixed:
Technical Reviewer: hqm
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Debug.info statements are adding noise to the output, should be
conditionalized to some high level
Tests:
................
r6783 | max | 2007-10-10 08:50:36 -0700 (Wed, 10 Oct 2007) | 24 lines
Change 20071009-maxcarlson-B by maxcarlson at plastik on 2007-10-09 15:20:56 PDT
in /Users/maxcarlson/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Add stub methods for view.getNextSelection() and getPrevSelection() for documentation
New Features:
Bugs Fixed: LPP-2041 - getNextSelection() and getPrevSelection() not documented in LzView reference page
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Add stub methods and documentation for getNextSelection() and getPrevSelection().
Tests: Tabbing and selection in http://localhost:8080/trunk/examples/components/style_example.lzx?lzr=dhtml and http://localhost:8080/trunk/examples/components/style_example.lzx work as before.
................
r6785 | ptw | 2007-10-10 09:43:37 -0700 (Wed, 10 Oct 2007) | 20 lines
Change 20071001-ptw-m by ptw at dueling-banjos.local on 2007-10-01 19:55:05 EDT
in /Users/ptw/OpenLaszlo/ringding-2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Remove old .make trampolines
Bugs Fixed:
LPP-4181 'Remove vestigial .make methods from built-ins'
Technical Reviewer: hminsky (Message-ID: <8c61fad60710100555y17b972e9j1d2fb8f0e74a2eee at mail.gmail.com>)
QA Reviewer: promanik (Message-Id: <20071010131315.AEC3497209 at hemicuda.laszlosystems.com>)
Details:
We decided we don't need to rewrite all new calls to .make calls,
so these old trampolines can be removed.
Tests:
smokecheck in SWF and DHTML, calendar, amazon
................
r6789 | hqm | 2007-10-10 11:20:57 -0700 (Wed, 10 Oct 2007) | 27 lines
Change 20071010-hqm-0 by hqm at IBM-2E06404CB67 on 2007-10-10 14:18:54 EDT
in /cygdrive/c/users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: comment out diagnostic info in lzpix app
New Features:
Bugs Fixed: LPP-4779
Technical Reviewer: jcrowley
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
The inittimer and lps version widgets are commented out. if someone needs them
they should conditionally put instantiate them for internal releases, per tucker's suggestion
Tests:
................
................
...............
r6815 | max | 2007-10-11 15:23:38 -0700 (Thu, 11 Oct 2007) | 24 lines
Change 20071010-maxcarlson-6 by maxcarlson at 112.8.224.10.in-addr.arpa on 2007-10-10 08:53:05 PDT
in /Users/maxcarlson/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Hide drawviews when height/width < 0
New Features:
Bugs Fixed: LPP-4863 - dhtml drawview should hide when width and/or height are < 0
Technical Reviewer: andrebargull at aol.com
QA Reviewer: promanik
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Keep track of whether drawview is currently hidden. Reset state when shown.
Tests: See LPP-4863 for a testcase. Tested under IE 7 and firefox dhtml and swf.
...............
r6822 | lou | 2007-10-12 09:41:09 -0700 (Fri, 12 Oct 2007) | 24 lines
Change 20071012-lou-i by lou at loumac.local on 2007-10-12 12:40:27 AST
in /Users/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary:
New Features:
Bugs Fixed:
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Tests:
...............
r6826 | max | 2007-10-12 13:15:12 -0700 (Fri, 12 Oct 2007) | 24 lines
Change 20071011-maxcarlson-v by maxcarlson at Plastik.local on 2007-10-11 18:18:38 PDT
in /Users/maxcarlson/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Enable inputtext selection in IE.
New Features:
Bugs Fixed: LPP-4170 - Edittext does not allow mouse to highlight entered text in dhtml
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Manually enable/disable document.onselectstart when an inputtext is shown/hidden.
Tests: This allows text to be selected in most cases, but there are still issues when tabbing between fields - these were there before. Think of this as a first step.
...............
r6832 | max | 2007-10-12 17:40:36 -0700 (Fri, 12 Oct 2007) | 24 lines
Change 20071011-maxcarlson-L by maxcarlson at Plastik.local on 2007-10-11 18:40:49 PDT
in /Users/maxcarlson/openlaszlo/trunk/WEB-INF/lps/lfc
for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc
Summary: Enable global sursor management in DHTML
New Features:
Bugs Fixed: LPP-4250 - "LzMouseKernel#setCursorGlobal(..)" should affect more than only clickable-views (DHTML)
Technical Reviewer: promanik
QA Reviewer: a.bargull at intensis.de
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Applied suggested patch from LPP-4250
Tests: See LPP-4250.
...............
r6835 | ptw | 2007-10-12 20:17:21 -0700 (Fri, 12 Oct 2007) | 42 lines
Change 20071012-ptw-d by ptw at dueling-banjos.local on 2007-10-12 18:31:24 EDT
in /Users/ptw/OpenLaszlo/ringding-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Make backtrace work in <script> on DHTML
Bugs Fixed:
LPP-4850: 'Backtrace failing to run under DHTML'
Technical Reviewer: dda at ddanderson.com (pending)
QA Reviewer: max (Message-ID: <4710154E.3080009 at openlaszlo.org>)
Details:
Fix JavascriptGenerator to not emit bactrace prefix until _after_
var declarations are emitted.
Tests:
<canvas>
<script>
var bar = "Hello";
var foo = LzBrowser.getInitArg('bar');
Debug.debug('foo', foo, 'bar', bar);
</script>
</canvas>
yields:
DEBUG @lpp-4850.lzx#5: foo Hello bar Hello
lzx> Debug.inspect(DEBUG @lpp-4850.lzx#5: foo Hello bar Hello\n)
?\194?\171#LzDebug#1#0| DEBUG @lpp-4850.lzx#5: foo Hello bar Hello\n?\194?\187 {
backtrace: lpp-4850.lzx#2/62 <- initialize <- lz.script <- makeChild <- makeSomeVie...
file: 'lpp-4850.lzx'
line: 5
message: 'foo Hello bar Hello\n'
}
DEBUG @lpp-4850.lzx#5: foo Hello bar Hello\n
lzx>
Also ran smokecheck in SWF and DHTML.
...............
r6843 | lou | 2007-10-15 08:06:55 -0700 (Mon, 15 Oct 2007) | 25 lines
Change 20071015-lou-Y by lou at loumac.local on 2007-10-15 10:02:32 AST
in /Users/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix broken links in dguide preface
New Features:
Bugs Fixed: LPP-4897
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation: fix links in:
1.1. Audience and rationale for this book, last para
1.4. Related documentation, last para
1.5. Suggested reading paths, 3rd para
Also in sect 1.5, fixed
Then read the rest of ???
...............
r6845 | ben | 2007-10-15 11:28:13 -0700 (Mon, 15 Oct 2007) | 24 lines
Change 20071015-ben-j by ben at slim.local on 2007-10-15 11:27:27 PDT
in /Users/ben/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Make sure that lfc.lzx gets added to the distro
Technical Reviewer: minsky
QA Reviewer: mkratt
Documentation:
The file lfc.lzx was added to the schema directory. It needs to be in
schema/ when live code looks for it. In particular, laszlo-explorer
looks for it. Without this fix, the nightly deployment of trunk is broken,
with this error:
Error: home/laszlo/opt/apache-tomcat-5.5.23-labs/webapps/trunk-nightly/laszlo-explorer/explore-nav.lzx: file not found: /home/laszlo/opt/apache-tomcat-5.5.23-labs/webapps/trunk-nightly/WEB-INF/lps/schema/lfc.lzx (No such file or directory)
This change makes sure the lfc.lzx file is tucked into the distro.
Tests:
Run a nightly build of trunk, deploy it, visit
http://labs.openlaszlo.org/trunk-nightly/laszlo-explorer/index.jsp?lzr=swf7
and the left-nav should work.
...............
r6855 | hqm | 2007-10-15 19:36:23 -0700 (Mon, 15 Oct 2007) | 42 lines
Change 20071015-hqm-2 by hqm at IBM-2E06404CB67 on 2007-10-15 16:39:47 EDT
in /cygdrive/c/users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix dataset timeout event callback
New Features:
Bugs Fixed: LPP-4881
Technical Reviewer: andre
QA Reviewer: pkang
Doc Reviewer:
Documentation:
Release Notes:
Details:
The code in LzHttpDataProvider which dispatched on the datarequest
status type was
always calling loadResponse, which always set the requests status to
error if data was null.
Modified the code in LzHttpDataProcider.loadTimeout to just directly
call the onstatus event
iinstead of calling loadResponse.
DHTML timeout checking code rewritten by andre to be more efficient
Tests:
test/lfc/data/alldata.lzx
amazon app
calendar app
smokecheck
...............
r6856 | hqm | 2007-10-15 19:46:17 -0700 (Mon, 15 Oct 2007) | 35 lines
Change 20071015-hqm-2 by hqm at IBM-2E06404CB67 on 2007-10-15 22:43:03 EDT
in /cygdrive/c/users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: remove canvas_debug flag from LFC wrapper xslt
New Features:
Bugs Fixed: LPP-4066
Technical Reviewer: max
QA Reviewer:
Doc Reviewer:
Documentation:
Release Notes:
Details:
This flag is superseded by the canvas XML "lfc" attribute which is computed by
the compiler in Canvas.java Canvas.getXML() method.
The DHTML embed wrapper already uses this value to fetch the LFC. So this
change is to remove the canvas_debug query arg from the xslt template file
for lzt=html
Tests:
the usual demo apps, in dhtml
...............
r6857 | ptw | 2007-10-15 20:33:27 -0700 (Mon, 15 Oct 2007) | 64 lines
Change 20070930-ptw-P by ptw at dueling-banjos.local on 2007-09-30 18:01:29 EDT
in /Users/ptw/OpenLaszlo/ringding-2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Don't trust length as an indicator of array elements
Bugs Fixed:
LPP-4441 'Debugger misbehaves when debugging objects with "length" attribute.'
Technical Reviewer: a.bargull at intensis.de (Message-ID: <470410E4.4070002 at intensis.de>)
QA Reviewer: hminsky (pending)
Doc Reviewer: jsundman (pending)
Documentation:
NOTE: If you have Firebug enabled in Firefox, the LZX debugger echos
all messages to the Firebug console, preserving objects. The Firebug
debugger will attempt to interpret an object with a `length` field as
an array and try to print every array element. This may cause a
'Script Running Slowly' error. Disabling Firebug will prevent that.
Details:
Don't trust length to indicate how many properties are in an
object (or elements in an array). Instead, get the properties
from the object using `for ... in`. We still present any object
with a `length` property that is non-negative as an array, but we
won't try to iterate through the entire array. This is useful for
sparse arrays, but also for objects that just happen to have a
non-negative length property.
LzDebug.lzs: Added Debug.objectOwnProperties that gets the names
of all the 'own' properties of the object. If the object has a
non-negative `length` property, accumulate the properties that are
between 0 and that length in a separate list of indices.
LzDebug.{as,js}: Use that to print and inspect objects and arrays
without falling into the trap of iterating from 0 to length.
Basically, the old presentation style is preserved, but we iterate
_only_ over the properties the object actually has.
Tests:
lzx> Debug.write({1: 'one', 97: 'ninety-seven', a: 'eh?', floogle: 'snort', length: 100000000, __proto__: {bar: 'bletch'}})
?\194?\171Object(100000000)#127| [..., one, ..., ninety-seven]?\194?\187
lzx> Debug.inspect([..., one, ..., ninety-seven])
?\194?\171Object(100000000)#127| [..., one, ..., ninety-seven]?\194?\187 {
a: 'eh?'
floogle: 'snort'
length: 100000000
1: 'one'
97: 'ninety-seven'
}
[..., one, ..., ninety-seven]
lzx> Debug.write({length:'0'})
{length: 0}
lzx> Debug.write({length:0})
?\194?\171Object(0)#174| []?\194?\187
lzx>
Above completes without "Script Running Slowly". Tested in SWF
and DHTML (with Firebug disabled, see Documentation NOTE above).
smokecheck passes in DHTML and SWF (which tests Debug.format,
which uses __String, showing that the expected presentation is preserved).
...............
r6863 | lou | 2007-10-16 04:43:52 -0700 (Tue, 16 Oct 2007) | 24 lines
Change 20071016-lou-L by lou at loumac.local on 2007-10-16 07:39:54 AST
in /Users/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix broken link in dguide
New Features:
Bugs Fixed: LPP-4896
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation: fixed broken link in Chapter 3. OpenLaszlo for Designers, section 7, last paragraph
Release Notes:
Details:
Tests:
...............
r6865 | hqm | 2007-10-16 08:11:11 -0700 (Tue, 16 Oct 2007) | 1 line
typo got into this file in r6276
...............
r6866 | hqm | 2007-10-16 08:13:12 -0700 (Tue, 16 Oct 2007) | 1 line
modified sleep test jsp to not output any intermediate data
...............
r6867 | lou | 2007-10-16 10:58:44 -0700 (Tue, 16 Oct 2007) | 24 lines
Change 20071016-lou-X by lou at loumac.local on 2007-10-16 13:50:37 AST
in /Users/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: document pixel lock
New Features: Add section 3.4. Pixel locking to Chapter 26. Views
Bugs Fixed: LPP-992
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests:
...............
r6868 | jcrowley | 2007-10-16 11:41:59 -0700 (Tue, 16 Oct 2007) | 35 lines
Change 20071016-jcrowley-p by jcrowley at doctormanhattan.mshome.net on 2007-10-16 00:50:56 EDT
in /Users/jcrowley/src/svn/openlaszlo/trunk-a
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Some Calendar bug fixes
New Features:
Bugs Fixed: LPP-4880 - Calendar demo needs Note, Location and
Attendee data to be able to perform test cases relying
on that data
LPP-4900 - Calendar - No data for 2008
Technical Reviewer: pbr
QA Reviewer: ben
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Created data for the Calendar demo for 2008.
Added data entries for notes, location, and attendees
so that this data will be reflected in the Calendar
for use in testing.
Tests: Run Calendar in DHTML or SWF. Note that there is
now data for 2008, and that the data contains
information for any combination of notes, location,
or attendees. (You can still edit data using the
info panel using "Apply", as before.)
...............
r6873 | hqm | 2007-10-16 13:34:46 -0700 (Tue, 16 Oct 2007) | 28 lines
Change 20071016-hqm-4 by hqm at IBM-2E06404CB67 on 2007-10-16 15:19:46 EDT
in /cygdrive/c/users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix for DHTML replication bug
New Features:
Bugs Fixed: LPP-4893
Technical Reviewer: andre
QA Reviewer: ptw
Doc Reviewer:
Documentation:
check for null dependencies function before calling it
Release Notes:
Details:
Tests:
test case from bug, smokecheck, amazon app
...............
r6874 | hqm | 2007-10-16 13:41:26 -0700 (Tue, 16 Oct 2007) | 30 lines
Change 20071016-hqm-2 by hqm at IBM-2E06404CB67 on 2007-10-16 16:35:26 EDT
in /cygdrive/c/users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix for DHTML replication bug
New Features:
Bugs Fixed: LPP-4893
Technical Reviewer: andre
QA Reviewer: ptw
Doc Reviewer:
Documentation:
check for null dependencies function before calling it
Release Notes:
Details:
Need to do the same check for xpath case as datapath case
Tests:
test case from bug, smokecheck, amazon app
...............
r6877 | max | 2007-10-16 14:26:24 -0700 (Tue, 16 Oct 2007) | 23 lines
Change 20071015-maxcarlson-v by maxcarlson at plastik on 2007-10-15 21:12:58 PDT
in /Users/maxcarlson/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: UPDATED: Fix display of small applications in IE7
New Features:
Bugs Fixed: LPP-4884
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Reconfigure the styling of iframes so it no longer breaks IE 7.
Tests: Small applications display in IE 7 again in the laszlo explorer, http://192.168.1.122:8080/wafflecone/examples/contactlist/contactlist.lzx and contactlist.html no longer show an iframe.
...............
Property changes on: openlaszlo/branches/paperpie
___________________________________________________________________
Name: svnmerge-blocked
- /openlaszlo/branches/wafflecone:5808,5811,5813,6069,6206,6214-6215,6266,6369,6432,6452 /openlaszlo/trunk:3893,3953,4394,4462,4468,4472,5086,5172,5204,5210,5332
+ /openlaszlo/branches/paperpie:6505,6575,6796-6797 /openlaszlo/branches/wafflecone:5808,5811,5813,6069,6206,6214-6215,6266,6369,6432,6452 /openlaszlo/trunk:3893,3953,4394,4462,4468,4472,5086,5172,5204,5210,5332
Name: svnmerge-integrated
- /openlaszlo/branches/wafflecone:1-5746,5818-6068,6070-6205,6207-6213,6216-6265,6267-6368,6370-6431,6433-6450,6497 /openlaszlo/trunk:1-6796
+ /openlaszlo/branches/wafflecone:1-5746,5818-6068,6070-6205,6207-6213,6216-6265,6267-6368,6370-6431,6433-6450,6497 /openlaszlo/trunk:1-6877
Modified: openlaszlo/branches/paperpie/WEB-INF/lps/lfc/data/LzHTTPDataProvider.lzs
===================================================================
--- openlaszlo/branches/paperpie/WEB-INF/lps/lfc/data/LzHTTPDataProvider.lzs 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/WEB-INF/lps/lfc/data/LzHTTPDataProvider.lzs 2007-10-17 02:38:34 UTC (rev 6879)
@@ -201,7 +201,7 @@
function loadTimeout( loader, data ) {
var dreq = loader.dataRequest;
dreq.status = LzDataRequest.TIMEOUT;
- loader.owner.loadResponse( dreq, data );
+ dreq.onstatus.sendEvent( dreq );
}
function setRequestError (dreq, msg) {
@@ -220,6 +220,7 @@
// all its values.
var content = null;
+
if (data == null) {
this.setRequestError(dreq, "client could not parse XML from server");
dreq.onstatus.sendEvent( dreq );
Modified: openlaszlo/branches/paperpie/WEB-INF/lps/lfc/data/LzReplicationManager.lzs
===================================================================
--- openlaszlo/branches/paperpie/WEB-INF/lps/lfc/data/LzReplicationManager.lzs 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/WEB-INF/lps/lfc/data/LzReplicationManager.lzs 2007-10-17 02:38:34 UTC (rev 6879)
@@ -207,7 +207,7 @@
hadxpathconstraint = true;
this.__LZpreventXPathUpdate = true;
- this.applyConstraint( 'xpath', cons, this._t() );
+ this.applyConstraint( 'xpath', cons, this._t != null ? this._t() : [] );
this.__LZpreventXPathUpdate = false;
} else if ( odp._instanceAttrs.$refs && odp._instanceAttrs.$refs.xpath ){
//<view><datapath xpath="${ ... }"/>
@@ -219,7 +219,7 @@
hadxpathconstraint = true;
this.__LZpreventXPathUpdate = true;
- this.applyConstraint( 'xpath', cons, this._t() );
+ this.applyConstraint( 'xpath', cons, this._t != null ? this._t() : [] );
this.__LZpreventXPathUpdate = false;
}
Modified: openlaszlo/branches/paperpie/WEB-INF/lps/lfc/debugger/LzDebug.lzs
===================================================================
--- openlaszlo/branches/paperpie/WEB-INF/lps/lfc/debugger/LzDebug.lzs 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/WEB-INF/lps/lfc/debugger/LzDebug.lzs 2007-10-17 02:38:34 UTC (rev 6879)
@@ -464,20 +464,23 @@
};
/**
- * Fills two arrays with the object's own properties. If the object has a
- * 'length' property (i.e., might be intended as an Array), numeric
- * names that fall between 0 and the value of length are added to the
- * `indices` array, otherwise they are added to the `names` array. If
- * either array is null, those properties will be omitted altogether.
- * @param obj:Object the object to examine
- * @param names:Array the array to append names to
- * @param indices:Array the array to append indices to
- * @param limit:Number don't accumulate more than this many properties
- * (used to limit computation on large objects), default Infinity
+ * Fills two arrays with the object's own properties. If the object
+ * has a non-negative integer 'length' property (i.e., might be
+ * intended as an Array), numeric names that fall between 0 and the
+ * value of length are added to the `indices` array, otherwise they
+ * are added to the `names` array. If either array is null, those
+ * properties will be omitted altogether. @param obj:Object the
+ * object to examine @param names:Array the array to append names to
+ * @param indices:Array the array to append indices to @param
+ * limit:Number don't accumulate more than this many properties (used
+ * to limit computation on large objects), default Infinity
*/
Debug.objectOwnProperties = function (obj, names, indices, limit) {
if (!limit) { limit = Infinity; };
- var alen = (('length' in obj) && (! isNaN(obj.length)) && (obj.length >= 0)) ? obj.length : false;
+ // Check for 'array-ness'
+ var alen = (('length' in obj) &&
+ (Math.floor(obj.length) === obj.length) &&
+ (obj.length >= 0)) ? obj.length : false;
var hopp = 'hasOwnProperty' in obj;
var proto = (('__proto__' in obj) ? obj.__proto__ :
(('constructor' in obj) ? obj.constructor.prototype : false));
@@ -487,7 +490,10 @@
// Heuristic to find getter slots (there is no way to ask if a
// property is a getter)
(proto && (obj[key] !== proto[key]))) {
- if ((alen != false) && (! isNaN(key)) && (0 <= key) && (key < alen)) {
+ if ((alen != false) &&
+ // Only `==` here because all keys are strings
+ (Math.floor(key) == key) &&
+ (0 <= key) && (key < alen)) {
if (indices) {
// Ensure indices are numbers, not strings
indices.push(Number(key));
Modified: openlaszlo/branches/paperpie/WEB-INF/lps/lfc/debugger/platform/dhtml/LzDebug.js
===================================================================
--- openlaszlo/branches/paperpie/WEB-INF/lps/lfc/debugger/platform/dhtml/LzDebug.js 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/WEB-INF/lps/lfc/debugger/platform/dhtml/LzDebug.js 2007-10-17 02:38:34 UTC (rev 6879)
@@ -282,40 +282,13 @@
else if (thing instanceof String) {
// handled above, but don't fall into array
}
- // Print arrays (actually, anything with a numeric length
- // property) in abbreviated format (what about arrays that have
- // non-numeric props?)
- else if ((typeof(thing.length) == 'number')) {
- // No pretty for subclasses or non-arrays
- if (thing.constructor !== Array) {
- pretty = (! unique);
- }
- var ellip = true;
- var tl = thing.length
- // Don't accumulate beyond limit
- for (var e = 0; (e < tl) && (s.length < limit); e++) {
- // skip non-existent elements
- if ((typeof(thing[e]) == 'undefined')) {
- if (ellip) {
- s += '..., ';
- ellip = false;
- }
- } else {
- ellip = true;
- // TODO: [2005-06-22 ptw] Use __String in case element is huge
- s += String(thing[e]) + ', ';
- }
- }
- if (s != '')
- s = s.substring(0, s.length - 2);
- s = '[' + s + ']';
- }
// If it has a user-defined toString method, use that, but defend
// against broken methods
// TODO [2006-04-11 ptw] try/catch around user method calls
- else if ((thing['toString']) &&
- (this.toString instanceof Function) &&
+ else if (('toString' in thing) &&
+ (thing.toString instanceof Function) &&
(thing.toString !== Object.prototype.toString) &&
+ (thing.toString !== Array.prototype.toString) &&
(typeof(thing.toString()) != 'undefined') &&
(thing.toString() != 'undefined')) {
// No pretty for these, you don't know if the user toString is
@@ -323,42 +296,68 @@
pretty = (! unique);
s = String(thing);
}
- // Print unidentified objects as abbreviated list of props
+ // Print unidentified objects and arrays as abbreviated list of props
else {
- // No pretty for subclasses or non-objects
- if ((! thing instanceof Object) || (thing.constructor !== Object)) {
+ var names = [];
+ // Treat any object with a non-negative integer length as an array
+ var indices = (('length' in thing) &&
+ (Math.floor(thing.length) === thing.length) &&
+ (thing.length >= 0)) ? [] : null;
+
+ this.objectOwnProperties(thing, names, indices, limit);
+ if (indices) { indices.sort(); }
+
+ // No pretty for subclasses or non-objects or array-like objects
+ // that are not Arrays.
+ if (! (indices ?
+ ((thing instanceof Array) && (thing.constructor === Array)) :
+ ((thing instanceof Object) && (thing.constructor === Object)))) {
pretty = (! unique);
}
- var ellip = true;
- for (var e in thing) {
- var v = thing[e];
- var tv = typeof(v);
- var dtv = this.__typeof(v);
- // Don't enumerate inherited props, unless you can't tell
- // (i.e., __proto__ chain is broken
- // Ignore "empty" properties and methods, ignore internal
- // slots and slots that have an internal type
- if (((! (thing instanceof Object)) || thing.hasOwnProperty(e)) &&
- (tv != 'undefined') &&
- (tv != 'function') &&
- (('' + v) != '') &&
- (! this.internalProperty(e)) &&
- (! this.internalProperty(dtv))) {
- ellip = true;
- // TODO: [2005-06-22 ptw] Use __String in case element is huge
- s += '' + e + ': ' + String(v) + ', ';
- } else {
- if (ellip) {
+ if (indices) {
+ // Present as an array, Don't accumulate beyond limit
+ var next = 0;
+ for (var i = 0; (i < indices.length) && (s.length < limit); i ++) {
+ var key = indices[i];
+ if (key != next) {
s += '..., ';
- ellip = false;
}
+ // TODO: [2005-06-22 ptw] Use __String in case element is huge
+ s += String(thing[key]) + ', ';
+ next = key + 1;
}
- // Don't accumulate beyond limit
- if (s.length > limit) break;
+ if (s != '')
+ s = s.substring(0, s.length - 2);
+ s = '[' + s + ']';
+ } else {
+ var ellip = true;
+ // Present as an object, Don't accumulate beyond limit
+ for (var i = 0; (i < names.length) && (s.length < limit); i ++) {
+ var e = names[i];
+ var v = thing[e];
+ var tv = typeof(v);
+ var dtv = this.__typeof(v);
+ // Ignore "empty" properties and methods, ignore internal
+ // slots and slots that have an internal type
+ if ((tv != 'undefined') &&
+ (tv != 'function') &&
+ (('' + v) != '') &&
+ (! this.internalProperty(e)) &&
+ (! this.internalProperty(dtv))) {
+ ellip = true;
+ // TODO: [2005-06-22 ptw] Use __String in case element is huge
+ s += '' + e + ': ' + String(v) + ', ';
+ } else {
+ if (ellip) {
+ s += '..., ';
+ ellip = false;
+ }
+ }
+ }
+ if (s != '')
+ s = s.substring(0, s.length - 2);
+ s = '{' + s + '}';
}
- if (s != '')
- s = s.substring(0, s.length - 2);
- s = '{' + s + '}';
}
} else {
// Shouldn't ever get here
@@ -445,8 +444,12 @@
// Print properties with abbreviated length
this.printLength = this.inspect.printLength;
- var keys = [];
- var arraylen = typeof(obj.length) == 'number' ? obj.length : null;
+ var names = [];
+ // Treat any object with a non-negative integer length as an array
+ var indices = (('length' in obj) &&
+ (Math.floor(obj.length) === obj.length) &&
+ (obj.length >= 0)) ? [] : null;
+
if (si) {
// print unenumerable properties of ECMA objects
// TODO: [2006-04-11 ptw] enumerate Global/Number/Math/Regexp
@@ -454,78 +457,59 @@
for (var p in {callee: true, length: true, constructor: true, prototype: true}) {
try {
if (hasProto && obj.hasOwnProperty(p)) {
- keys.push(p);
+ names.push(p);
}
} catch (e) {};
}
}
- for (var key in obj) {
- // Print only local slots
- try {
- if ((! hasProto) ||
- obj.hasOwnProperty(key) ||
- // or getter slots (this is a heuristic -- there is no way to
- // ask if a property is a getter)
- (function () { try { return obj[key] } catch (e) {} })() !==
- (function () { try { return obj.constructor.prototype[key] } catch (e) {} })()
- ) {
- // Print array slots later, in order
- if (arraylen && (key >= 0) && (key < arraylen)) {
- } else if (si ||
- ((! this.internalProperty(key)) &&
- // Only show slots with internal type if showing
- // internals
- (! this.internalProperty(this.__typeof(obj[key]))))) {
- keys.push(key);
- }
- }
- } catch (e) {};
- }
- keys.sort(function (a, b) {
- var al = a.toLowerCase();
- var bl = b.toLowerCase();
- return (al > bl) - (al < bl);
- });
+ this.objectOwnProperties(obj, names, indices);
+
+ names.sort(function (a, b) {
+ var al = a.toLowerCase();
+ var bl = b.toLowerCase();
+ return (al > bl) - (al < bl);
+ });
+ if (indices) { indices.sort(); }
var description = "";
- var kl = keys.length;
+ var nnames = names.length;
var val;
var wid = 0;
- // Align all keys if annotating 'weight'
+ // Align all names if annotating 'weight'
if (this.markGeneration > 0) {
- for (var i = 0; i < kl; i++) {
- var kil = keys[i].length;
- if (kil > wid) { wid = kil; }
+ for (var i = 0; i < nnames; i++) {
+ var keywidth = names[i].length;
+ if (keywidth > wid) { wid = keywidth; }
}
}
- if (arraylen) {
- var kil = ('' + arraylen).length;
- if (kil > wid) { wid = kil; }
+ if (indices) {
+ var keywidth = ('' + obj.length).length;
+ if (keywidth > wid) { wid = keywidth; }
}
var last;
- for (var i = 0; i < kl; i++) {
- var key = keys[i];
+ for (var i = 0; i < nnames; i++) {
+ var key = names[i];
// Some runtimes duplicate inherited slots
if (key != last) {
last = key;
val = obj[key];
- description += ' ' + this.computeSlotDescription(obj, key, val, wid) + '\n';
+ if (si ||
+ ((! this.internalProperty(key)) &&
+ // Only show slots with internal type if showing
+ // internals
+ (! this.internalProperty(this.__typeof(val))))) {
+ description += ' ' + this.computeSlotDescription(obj, key, val, wid) + '\n';
+ }
}
}
- if (arraylen &&
- // Don't print the characters of a string
- (! ((typeof obj == 'string') || (obj instanceof String)))) {
- for (var key = 0; key < arraylen; key++) {
- // Skip non-existent elements, but don't bother with ellipses,
- // since we are displaying the key here
- if ((! hasProto) ||
- obj.hasOwnProperty(key)) {
- val = obj[key];
- if(typeof(val) != 'undefined') {
- description += ' ' + this.computeSlotDescription(obj, key, val, wid) + '\n';
- }
- }
+ if (indices) {
+ for (var i = 0; i < indices.length; i++) {
+ var key = indices[i];
+ val = obj[key];
+ // Don't bother with ellipses, since we are displaying the key
+ // here
+ description += ' ' + this.computeSlotDescription(obj, key, val, wid) + '\n';
}
}
} finally {
Modified: openlaszlo/branches/paperpie/WEB-INF/lps/lfc/debugger/platform/swf/LzDebug.as
===================================================================
--- openlaszlo/branches/paperpie/WEB-INF/lps/lfc/debugger/platform/swf/LzDebug.as 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/WEB-INF/lps/lfc/debugger/platform/swf/LzDebug.as 2007-10-17 02:38:34 UTC (rev 6879)
@@ -225,12 +225,12 @@
}
}
return null;
-}
+};
/**
* @access private
*/
- Debug.__String = function (thing, pretty, limit, unique) {
+Debug.__String = function (thing, pretty, limit, unique) {
switch (arguments.length) {
case 1:
pretty = this.printPretty;
@@ -343,38 +343,12 @@
else if (thing instanceof String) {
// handled above, but don't fall into array
}
- // Print arrays (actually, anything with a numeric length
- // property) in abbreviated format (what about arrays that have
- // non-numeric props?)
- else if (typeof(thing.length) == 'number') {
- // No pretty for subclasses or non-arrays
- if (op !== Array.prototype) {
- pretty = (! unique);
- }
- var ellip = true;
- var tl = thing.length
- // Don't accumulate beyond limit
- for (var e = 0; (e < tl) && (s.length < limit); e++) {
- // skip non-existent elements
- if (typeof(thing[e]) == 'undefined') {
- if (ellip) {
- s += '..., ';
- ellip = false;
- }
- } else {
- ellip = true;
- // TODO: [2005-06-22 ptw] Use __String in case element is huge
- s += String(thing[e]) + ', ';
- }
- }
- if (s != '')
- s = s.substring(0, s.length - 2);
- s = '[' + s + ']';
- }
// If it has a user-defined toString method, use that, but defend
// against broken methods
- else if ((thing['toString'] instanceof Function) &&
+ else if (('toString' in thing) &&
+ (thing.toString instanceof Function) &&
(thing.toString !== Object.prototype.toString) &&
+ (thing.toString !== Array.prototype.toString) &&
(typeof(thing.toString()) != 'undefined') &&
(thing.toString() != 'undefined')) {
// No pretty for these, you don't know if the user toString is
@@ -382,42 +356,68 @@
pretty = (! unique);
s = String(thing);
}
- // Print unidentified objects as abbreviated list of props
+ // Print unidentified objects and arrays as abbreviated list of props
else {
- // No pretty for subclasses or non-objects
- if (op !== Object.prototype) {
+ var names = [];
+ // Treat any object with a non-negative integer length as an array
+ var indices = (('length' in thing) &&
+ (Math.floor(thing.length) === thing.length) &&
+ (thing.length >= 0)) ? [] : null;
+
+ this.objectOwnProperties(thing, names, indices, limit);
+ if (indices) { indices.sort(); }
+
+ // No pretty for subclasses or non-objects or array-like objects
+ // that are not Arrays.
+ if (! (indices ?
+ ((thing instanceof Array) && (thing.constructor === Array)) :
+ ((thing instanceof Object) && (thing.constructor === Object)))) {
pretty = (! unique);
}
- var ellip = true;
- for (var e in thing) {
- var v = thing[e];
- var tv = typeof(v);
- var dtv = this.__typeof(v);
- // Don't enumerate inherited props, unless you can't tell
- // (i.e., __proto__ chain is broken
- // Ignore "empty" properties and methods, ignore internal
- // slots and slots that have an internal type
- if (((! (thing instanceof Object)) || thing.hasOwnProperty(e)) &&
- (tv != 'undefined') &&
- (tv != 'function') &&
- (('' + v) != '') &&
- (! this.internalProperty(e)) &&
- (! this.internalProperty(dtv))) {
- ellip = true;
- // TODO: [2005-06-22 ptw] Use __String in case element is huge
- s += '' + e + ': ' + String(v) + ', ';
- } else {
- if (ellip) {
+ if (indices) {
+ // Present as an array, Don't accumulate beyond limit
+ var next = 0;
+ for (var i = 0; (i < indices.length) && (s.length < limit); i ++) {
+ var key = indices[i];
+ if (key != next) {
s += '..., ';
- ellip = false;
}
+ // TODO: [2005-06-22 ptw] Use __String in case element is huge
+ s += String(thing[key]) + ', ';
+ next = key + 1;
}
- // Don't accumulate beyond limit
- if (s.length > limit) break;
+ if (s != '')
+ s = s.substring(0, s.length - 2);
+ s = '[' + s + ']';
+ } else {
+ var ellip = true;
+ // Present as an object, Don't accumulate beyond limit
+ for (var i = 0; (i < names.length) && (s.length < limit); i ++) {
+ var e = names[i];
+ var v = thing[e];
+ var tv = typeof(v);
+ var dtv = this.__typeof(v);
+ // Ignore "empty" properties and methods, ignore internal
+ // slots and slots that have an internal type
+ if ((tv != 'undefined') &&
+ (tv != 'function') &&
+ (('' + v) != '') &&
+ (! this.internalProperty(e)) &&
+ (! this.internalProperty(dtv))) {
+ ellip = true;
+ // TODO: [2005-06-22 ptw] Use __String in case element is huge
+ s += '' + e + ': ' + String(v) + ', ';
+ } else {
+ if (ellip) {
+ s += '..., ';
+ ellip = false;
+ }
+ }
+ }
+ if (s != '')
+ s = s.substring(0, s.length - 2);
+ s = '{' + s + '}';
}
- if (s != '')
- s = s.substring(0, s.length - 2);
- s = '{' + s + '}';
}
} else {
// Shouldn't ever get here
@@ -511,42 +511,25 @@
ASSetPropFlags(obj, null, 0, 1);
}
- var keys = [];
- var arraylen = typeof(obj.length) == 'number' ? obj.length : null;
+ var names = [];
+ // Treat any object with a non-negative integer length as an array
+ var indices = (('length' in obj) &&
+ (Math.floor(obj.length) === obj.length) &&
+ (obj.length >= 0)) ? [] : null;
+
if (si) {
// print 'invisible' properties of MovieClip's
if (obj instanceof MovieClip) {
for (var p in {_x: 0, _y: 0, _visible: true, _xscale: 100,
_yscale: 100, _opacity: 100, _rotation: 0,
_currentframe: 1}) {
- keys.push(p);
+ names.push(p);
}
}
}
- for (var key in obj) {
- // Print only local slots
- if ((! hasProto) ||
- obj.hasOwnProperty(key) ||
- // attached movie clips don't show up as 'hasOwnProperty' (but
- // hasOwnProperty is more accurate -- consider if an instance
- // copies a prototype property)
- (obj[key] !== obj.__proto__[key]) ||
- // or getter slots (this is a heuristic -- there is no way to
- // ask if a property is a getter)
- (obj.__proto__.hasOwnProperty(key) &&
- (typeof(obj.__proto__[key]) == 'undefined'))
- ) {
- // Print array slots later, in order
- if (arraylen && (key >= 0) && (key < arraylen)) {
- } else if (si ||
- ((! this.internalProperty(key)) &&
- // Only show slots with internal type if showing
- // internals
- (! this.internalProperty(this.__typeof(obj[key]))))) {
- keys.push(key);
- }
- }
- }
+
+ this.objectOwnProperties(obj, names, indices);
+
if (si) {
// Reset the enumerability
// Make everything unenumerable, and then expose your saved list
@@ -554,42 +537,53 @@
ASSetPropFlags(obj, enumerableSlots, 0, 1);
}
- keys.sort(function (a, b) {
+ names.sort(function (a, b) {
var al = a.toLowerCase();
var bl = b.toLowerCase();
return (al > bl) - (al < bl);
});
+ if (indices) { indices.sort(); }
var description = "";
- var kl = keys.length;
+ var nnames = names.length;
var val;
var wid = 0;
- // Align all keys if annotating 'weight'
+ // Align all names if annotating 'weight'
if (this.markGeneration > 0) {
- for (var i = 0; i < kl; i++) {
- var kil = keys[i].length;
- if (kil > wid) { wid = kil; }
+ for (var i = 0; i < nnames; i++) {
+ var keywidth = names[i].length;
+ if (keywidth > wid) { wid = keywidth; }
}
}
- if (arraylen) {
- var kil = ('' + arraylen).length;
- if (kil > wid) { wid = kil; }
+ if (indices) {
+ var keywidth = ('' + obj.length).length;
+ if (keywidth > wid) { wid = keywidth; }
}
// indent
wid = (wid + 2)
- for (var i = 0; i < kl; i++) {
- var key = keys[i];
- val = obj[key];
- description += this.computeSlotDescription(obj, key, val, wid);
+ var last;
+ for (var i = 0; i < nnames; i++) {
+ var key = names[i];
+ // Some runtimes duplicate inherited slots
+ if (key != last) {
+ last = key;
+ val = obj[key];
+ if (si ||
+ ((! this.internalProperty(key)) &&
+ // Only show slots with internal type if showing
+ // internals
+ (! this.internalProperty(this.__typeof(val))))) {
+ description += this.computeSlotDescription(obj, key, val, wid);
+ }
+ }
}
- if (arraylen) {
- for (var key = 0; key < arraylen; key++) {
+ if (indices) {
+ for (var i = 0; i < indices.length; i++) {
+ var key = indices[i];
val = obj[key];
- // Skip non-existent elements, but don't bother with ellipses,
- // since we are displaying the key here
- if (typeof(val) != 'undefined') {
- description += this.computeSlotDescription(obj, key, val, wid);
- }
+ // Don't bother with ellipses, since we are displaying the key
+ // here
+ description += this.computeSlotDescription(obj, key, val, wid);
}
}
Modified: openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/dhtml/LzHTTPLoader.js
===================================================================
--- openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/dhtml/LzHTTPLoader.js 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/dhtml/LzHTTPLoader.js 2007-10-17 02:38:34 UTC (rev 6879)
@@ -14,6 +14,8 @@
this.options = {parsexml: true};
this.requestheaders = {};
this.requestmethod = LzHTTPLoader.GET_METHOD;
+
+ this.__loaderid = LzHTTPLoader.loaderIDCounter++;
}
// Default callback handlers
@@ -61,8 +63,10 @@
LzHTTPLoader.prototype.abort = function () {
if (this.req) {
- this.req.cancel();
- // [todo hqm 2006-07 ] +++ abort timeout timer
+ this.__abort = true;
+ this.req.abort();
+ this.req = null;
+ this.removeTimeout(this);
}
}
@@ -113,10 +117,16 @@
// headers can be a hashtable or null
LzHTTPLoader.prototype.open = function (method, url, username, password) {
- {
+ if (this.req) {
+ Debug.warn("pending request for id=%s", this.__loaderid);
+ }
+
+ {
#pragma "passThrough=true"
this.req = window.XMLHttpRequest? new XMLHttpRequest(): new ActiveXObject("Microsoft.XMLHTTP");
}
+ this.__abort = false;
+ this.__timeout = false;
this.requesturl = url;
this.requestmethod = method;
@@ -189,7 +199,9 @@
// holds list of outstanding data requests, to handle timeouts
-LzHTTPLoader.activeRequests = [];
+//LzHTTPLoader.activeRequests = [];
+LzHTTPLoader.activeRequests = {};
+LzHTTPLoader.loaderIDCounter = 0;
// Default infinite timeout
LzHTTPLoader.prototype.timeout = Infinity;
@@ -199,49 +211,64 @@
// [todo hqm 2006-07] Should we have an API method for setting LzLoader timeout?
}
-// Set up a pending timeout for a dataset.
+// Set up a pending timeout for a loader.
+/*
LzHTTPLoader.prototype.setupTimeout = function (obj, duration) {
var endtime = (new Date()).getTime() + duration;
LzHTTPLoader.activeRequests.push(obj, endtime);
setTimeout("LzHTTPLoader.__LZcheckXMLHTTPTimeouts()", duration);
}
+*/
+LzHTTPLoader.prototype.setupTimeout = function (obj, duration) {
+ var endtime = (new Date()).getTime() + duration;
+ //obj.__loaderid = LzHTTPLoader.loaderIDCounter++;//uncomment to give LzHTTPLoader-instance a new loader-id
+ var lid = obj.__loaderid;
-// Remove a dataset from the timeouts list.
+ LzHTTPLoader.activeRequests[lid] = [obj, endtime];
+ var timeoutid = setTimeout("LzHTTPLoader.__LZcheckXMLHTTPTimeouts(" + lid + ")", duration);
+ LzHTTPLoader.activeRequests[lid][2] = timeoutid;
+}
+
+// Remove a loader from the timeouts list.
LzHTTPLoader.prototype.removeTimeout = function (target) {
- var activeReqs = LzHTTPLoader.activeRequests;
- LzHTTPLoader.activeRequests = [];
- // copy every dataset in the list except for the target
- for (var i = 0; i < activeReqs.length; i+=2) {
- var dset = activeReqs[i];
- var dstimeout = activeReqs[i+1];
- if (dset != target) {
- LzHTTPLoader.activeRequests.push(dset, dstimeout);
+ var lid = target.__loaderid;
+ //Debug.write("remove timeout for id=%s", lid);
+ if (lid != null) {
+ var reqarr = LzHTTPLoader.activeRequests[lid];
+ if (reqarr && reqarr[0] === target) {
+ clearTimeout(reqarr[2]);
+ delete LzHTTPLoader.activeRequests[lid];
}
}
}
// Check if any outstanding requests have timed out.
-LzHTTPLoader.__LZcheckXMLHTTPTimeouts = function () {
- var activeReqs = LzHTTPLoader.activeRequests;
- LzHTTPLoader.activeRequests = [];
- for (var i = 0; i < activeReqs.length; i+=2) {
- var loader = activeReqs[i];
- var dstimeout = activeReqs[i+1];
+LzHTTPLoader.__LZcheckXMLHTTPTimeouts = function (lid) {
+ var req = LzHTTPLoader.activeRequests[lid];
+ if (req) {
var now = (new Date()).getTime();
- if (now > dstimeout) {
+ var loader = req[0];
+ var dstimeout = req[1];
+ //Debug.write("diff %d", now - dstimeout);
+ if (now >= dstimeout) {
+ //Debug.write("timeout for %s", lid);
+ delete LzHTTPLoader.activeRequests[lid];
+ loader.__timeout = true;
if (loader.req) {
loader.req.abort();
}
- this.req = null;
+ loader.req = null;
loader.loadTimeout(loader, null);
} else {
// if it hasn't timed out, add it back to the list for the future
- LzHTTPLoader.activeRequests.push(loader, dstimeout);
+ //Debug.write("recheck timeout");
+ var timeoutid = setTimeout("LzHTTPLoader.__LZcheckXMLHTTPTimeouts(" + lid + ")", now - dstimeout);
+ req[2] = timeoutid;
}
}
}
-
+
LzHTTPLoader.prototype.getElapsedTime = function () {
return ((new Date()).getTime() - this.gstart);
}
@@ -267,45 +294,58 @@
var __pthis__ = this;
this.req.onreadystatechange = function () {
if (__pthis__.req == null) { return; }
-
+ //Debug.write("readyState=%d", __pthis__.req.readyState);
if (__pthis__.req.readyState == 4) {
- // only if "OK"
- if (__pthis__.req.status == 200 || __pthis__.req.status == 304) {
- var elt = null;
- var xml = __pthis__.req.responseXML;
- __pthis__.responseXML = xml;
- var lzxdata = null;
- if (xml != null && parsexml) {
- var nodes = __pthis__.req.responseXML.childNodes;
- // find first content (type == 1) child node
- for (var i = 0; i < nodes.length; i++) {
- var child = nodes.item(i);
- if (child.nodeType == 1) {
- elt = child;
- break;
+ if (__pthis__.__timeout) {
+ //Debug.write("timeout for id=%s, xhr=%w", __pthis__.__loaderid, __pthis__.req);
+ } else if (__pthis__.__abort) {
+ //Debug.write("abort for id=%s, xhr=%w", __pthis__.__loaderid, __pthis__.req);
+ } else {
+ try {
+ // only if "OK"
+ //Debug.write("status=%d", __pthis__.req.status);
+ if (__pthis__.req.status == 200 || __pthis__.req.status == 304) {
+ var elt = null;
+ var xml = __pthis__.req.responseXML;
+ __pthis__.responseXML = xml;
+ var lzxdata = null;
+ if (xml != null && parsexml) {
+ var nodes = __pthis__.req.responseXML.childNodes;
+ // find first content (type == 1) child node
+ for (var i = 0; i < nodes.length; i++) {
+ var child = nodes.item(i);
+ if (child.nodeType == 1) {
+ elt = child;
+ break;
+ }
+ }
+ lzxdata = LzXMLTranslator.copyXML(elt,
+ __pthis__.options.trimwhitespace,
+ __pthis__.options.nsprefix);
}
+
+ __pthis__.responseText = __pthis__.req.responseText;
+ __pthis__.removeTimeout(__pthis__);
+
+
+
+ /**** DEBUGGING
+ var xmlSerializer = new XMLSerializer();
+ var markup = xmlSerializer.serializeToString(elt);
+ Debug.write("loadXMLDoc", elt, markup, d.serialize());
+ *** /DEBUGGING
+ */
+ __pthis__.req = null;
+ __pthis__.loadSuccess(__pthis__, lzxdata);
+ } else {
+ __pthis__.req = null;
+ __pthis__.loadError(__pthis__, null);
}
- lzxdata = LzXMLTranslator.copyXML(elt,
- __pthis__.options.trimwhitespace,
- __pthis__.options.nsprefix);
+ } catch (e) {
+ //if you abort a request, readyState will be set to 4,
+ //but reading status will result in an exception (at least in Firefox).
+ //Debug.write("catched error: %s", e);
}
-
- __pthis__.responseText = __pthis__.req.responseText;
- __pthis__.removeTimeout(__pthis__);
-
-
-
- /**** DEBUGGING
- var xmlSerializer = new XMLSerializer();
- var markup = xmlSerializer.serializeToString(elt);
- Debug.write("loadXMLDoc", elt, markup, d.serialize());
- *** /DEBUGGING
- */
- __pthis__.req = null;
- __pthis__.loadSuccess(__pthis__, lzxdata);
- } else {
- __pthis__.req = null;
- __pthis__.loadError(__pthis__, null);
}
}
};
@@ -319,6 +359,8 @@
this.req.send(postbody);
}
// Set up the timeout
- this.setupTimeout(this, this.timeout);
+ if (isFinite(this.timeout)) {
+ this.setupTimeout(this, this.timeout);
+ }
}
Modified: openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
===================================================================
--- openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js 2007-10-17 02:38:34 UTC (rev 6879)
@@ -119,6 +119,8 @@
this.__LZinputclickdiv.appendChild(this.__LzInputDiv);
}
//Debug.write('show');
+ // turn on selection in IE
+ document.onselectstart = null;
}
LzInputTextSprite.prototype.__hideIfNotFocused = function(eventname, target) {
@@ -179,6 +181,8 @@
}
this.__LZdiv.appendChild(this.__LzInputDiv);
//Debug.write('hide');
+ // turn off selection in IE
+ document.onselectstart = LzTextSprite.prototype.__cancelhandler;
}
LzInputTextSprite.prototype.gotBlur = function() {
Modified: openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js
===================================================================
--- openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js 2007-10-17 02:38:34 UTC (rev 6879)
@@ -92,6 +92,9 @@
}
var n = LzSprite.prototype.__defaultStyles.hyphenate(n);
LzSprite.prototype.__setCSSClassProperty('.lzclickdiv', 'cursor', n);
+ LzSprite.prototype.__setCSSClassProperty('.lzdiv', 'cursor', n);
+ LzSprite.prototype.__setCSSClassProperty('.lzcanvasdiv', 'cursor', n);
+ LzSprite.prototype.__setCSSClassProperty('.lzcanvasclickdiv', 'cursor', n);
}
/**
@@ -106,6 +109,9 @@
}
if ( LzMouseKernel.__amLocked ) return;
LzSprite.prototype.__setCSSClassProperty('.lzclickdiv', 'cursor', LzMouseKernel.__showhand);
+ LzSprite.prototype.__setCSSClassProperty('.lzdiv', 'cursor', 'default');
+ LzSprite.prototype.__setCSSClassProperty('.lzcanvasdiv', 'cursor', 'default');
+ LzSprite.prototype.__setCSSClassProperty('.lzcanvasclickdiv', 'cursor', 'default');
}
/**
Modified: openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/swf/LzHTTPLoader.as
===================================================================
--- openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/swf/LzHTTPLoader.as 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/swf/LzHTTPLoader.as 2007-10-17 02:38:34 UTC (rev 6879)
@@ -34,9 +34,9 @@
// Default callback handlers
-LzHTTPLoader.prototype._loadSuccessHandler = function (data) {this.loadSuccess(this,data);}
-LzHTTPLoader.prototype._loadErrorHandler = function (data) { this.loadError(this,data);}
-LzHTTPLoader.prototype._loadTimeoutHandler = function (data) { this.loadTimeout(this,data);}
+LzHTTPLoader.prototype._loadSuccessHandler = function (data) { this.loadSuccess(this,data); }
+LzHTTPLoader.prototype._loadErrorHandler = function (data) { this.loadError (this,data); }
+LzHTTPLoader.prototype._loadTimeoutHandler = function (data) { this.loadTimeout(this,data); }
LzHTTPLoader.GET_METHOD = "GET";
LzHTTPLoader.POST_METHOD = "POST";
Modified: openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/swf/LzLoader.lzs
===================================================================
--- openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/swf/LzLoader.lzs 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/WEB-INF/lps/lfc/kernel/swf/LzLoader.lzs 2007-10-17 02:38:34 UTC (rev 6879)
@@ -144,7 +144,7 @@
// object. This can happen if a serverless data load timed out in
// the LFC, but eventually returned something via the
// LoadVars.sendAndLoad() callback.
- if (loadobj.loaded) {
+ if (loadobj.loaded && loadobj.valid) {
if ($debug) {
Debug.warn("%w.returnData: %w already loaded",
this, loadobj);
@@ -399,7 +399,7 @@
}
if (loadobj) {
this.unload(loadobj);
- if (this.ontimeout.ready) this.ontimeout.sendEvent( loadobj.reqobj);
+ if (this.ontimeout.ready) this.ontimeout.sendEvent();
}
}
Modified: openlaszlo/branches/paperpie/WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
===================================================================
--- openlaszlo/branches/paperpie/WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java 2007-10-17 02:38:34 UTC (rev 6879)
@@ -334,8 +334,18 @@
// <dataset> tags that are not top level datasets.
if (elt.getName().equals("dataset")) {
+ boolean contentIsLiteralXMLData = true;
String datafromchild = elt.getAttributeValue("datafromchild");
- if (! "true".equals(datafromchild)) {
+ String src = elt.getAttributeValue("src");
+ String type = elt.getAttributeValue("type");
+
+ if ((type != null && (type.equals("soap") || type.equals("http")))
+ || (src != null && XMLUtils.isURL(src))
+ || "true".equals(datafromchild)) {
+ contentIsLiteralXMLData = false;
+ }
+
+ if (contentIsLiteralXMLData) {
// Default to legacy behavior, treat all children as XML literal data.
attrs.put("initialdata", getDatasetContent(elt, env));
includeChildren = false;
Modified: openlaszlo/branches/paperpie/WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptGenerator.java
===================================================================
--- openlaszlo/branches/paperpie/WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptGenerator.java 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptGenerator.java 2007-10-17 02:38:34 UTC (rev 6879)
@@ -1317,10 +1317,6 @@
List newBody = new ArrayList();
- // FIXME: (LPP-2075) [2006-05-19 ptw] Wrap body in try and make
- // suffix be a finally clause, so suffix will not be skipped by
- // inner returns.
- newBody.addAll(prefix);
int activationObjectSize = 0;
if (scriptElement) {
@@ -1343,6 +1339,13 @@
newBody.add(parseFragment(code));
}
}
+
+ // Cf. LPP-4850: Prefix has to come after declarations (above).
+ // FIXME: (LPP-2075) [2006-05-19 ptw] Wrap body in try and make
+ // suffix be a finally clause, so suffix will not be skipped by
+ // inner returns.
+ newBody.addAll(prefix);
+
// Now emit functions in the activation context
// Note: variable has already been declared so assignment does the
// right thing (either assigns to global or local
Modified: openlaszlo/branches/paperpie/WEB-INF/lps/templates/html-response.xslt
===================================================================
--- openlaszlo/branches/paperpie/WEB-INF/lps/templates/html-response.xslt 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/WEB-INF/lps/templates/html-response.xslt 2007-10-17 02:38:34 UTC (rev 6879)
@@ -134,7 +134,7 @@
<xsl:when test="/canvas/@runtime = 'dhtml'">
<div id="lzsplash" style="z-index: 10000000; top: 0; left: 0; width: {$canvaswidth}; height: {$canvasheight}; position: fixed; display: table"><p style="display: table-cell; vertical-align: middle;"><img src="{/canvas/request/@lps}/lps/includes/spinner.gif" style="display: block; margin: 20% auto"/></p></div>
<script type="text/javascript">
- Lz.dhtmlEmbed({url: '<xsl:value-of select="/canvas/request/@url"/>?lzt=object<xsl:value-of select="/canvas/request/@query_args"/>&_canvas_debug=<xsl:value-of select="/canvas/@debug"/>', bgcolor: '<xsl:value-of select="/canvas/@bgcolor"/>', width: '<xsl:value-of select="/canvas/@width"/>', height: '<xsl:value-of select="/canvas/@height"/>', id: '<xsl:value-of select="/canvas/@id"/>'});
+ Lz.dhtmlEmbed({url: '<xsl:value-of select="/canvas/request/@url"/>?lzt=object<xsl:value-of select="/canvas/request/@query_args"/>', bgcolor: '<xsl:value-of select="/canvas/@bgcolor"/>', width: '<xsl:value-of select="/canvas/@width"/>', height: '<xsl:value-of select="/canvas/@height"/>', id: '<xsl:value-of select="/canvas/@id"/>'});
Lz.<xsl:value-of select="/canvas/@id"/>.onload = function loaded() {
var s = document.getElementById('lzsplash');
if (s) LzSprite.prototype.__discardElement(s);
Modified: openlaszlo/branches/paperpie/WEB-INF/lps/templates/html-response_jp.xslt
===================================================================
--- openlaszlo/branches/paperpie/WEB-INF/lps/templates/html-response_jp.xslt 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/WEB-INF/lps/templates/html-response_jp.xslt 2007-10-17 02:38:34 UTC (rev 6879)
@@ -132,7 +132,7 @@
<xsl:when test="/canvas/@runtime = 'dhtml'">
<div id="lzsplash" style="z-index: 10000000; top: 0; left: 0; width: {$canvaswidth}; height: {$canvasheight}; position: fixed; display: table"><p style="display: table-cell; vertical-align: middle;"><img src="{/canvas/request/@lps}/lps/includes/spinner.gif" style="display: block; margin: 20% auto"/></p></div>
<script type="text/javascript">
- Lz.dhtmlEmbed({url: '<xsl:value-of select="/canvas/request/@url"/>?lzt=object<xsl:value-of select="/canvas/request/@query_args"/>&_canvas_debug=<xsl:value-of select="/canvas/@debug"/>', bgcolor: '<xsl:value-of select="/canvas/@bgcolor"/>', width: '<xsl:value-of select="/canvas/@width"/>', height: '<xsl:value-of select="/canvas/@height"/>', id: '<xsl:value-of select="/canvas/@id"/>'});
+ Lz.dhtmlEmbed({url: '<xsl:value-of select="/canvas/request/@url"/>?lzt=object<xsl:value-of select="/canvas/request/@query_args"/>', bgcolor: '<xsl:value-of select="/canvas/@bgcolor"/>', width: '<xsl:value-of select="/canvas/@width"/>', height: '<xsl:value-of select="/canvas/@height"/>', id: '<xsl:value-of select="/canvas/@id"/>'});
Lz.<xsl:value-of select="/canvas/@id"/>.onload = function loaded() {
var s = document.getElementById('lzsplash');
if (s) LzSprite.prototype.__discardElement(s);
Modified: openlaszlo/branches/paperpie/build.xml
===================================================================
--- openlaszlo/branches/paperpie/build.xml 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/build.xml 2007-10-17 02:38:34 UTC (rev 6879)
@@ -116,6 +116,7 @@
<include name="WEB-INF/web.xml"/>
<include name="WEB-INF/classes/**"/>
<include name="${webapp-lps-home}/schema/lzx.rng" />
+ <include name="${webapp-lps-home}/schema/lfc.lzx" />
<include name="${webapp-lps-home}/schema/preprocess.xsl" />
<include name="${webapp-lps-home}/templates/**" />
<include name="${webapp-lps-home}/misc/**" />
Modified: openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-1-01.xml
===================================================================
--- openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-1-01.xml 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-1-01.xml 2007-10-17 02:38:34 UTC (rev 6879)
@@ -12,6 +12,9 @@
<start year="2007" month="1" day="19" hour="9" />
<end year="2007" month="1" day="19" hour="16" />
<category value="holiday"/>
+ <notes value="Live in harmony with all of mankind"/>
+ <location value="All over the world"/>
+ <attendees value="Everyone"/>
</event>
</day19>
<day1>
@@ -21,6 +24,8 @@
<start year="2007" month="1" day="1" hour="1" minute="0"/>
<end year="2007" month="1" day="1" hour="23" minute="0"/>
<category/>
+ <notes value="Wake up to a brand new year."/>
+ <location value="Time, more than space, really..."/>
</event>
</day1>
@@ -32,6 +37,9 @@
<end year="2007" month="1" day="15" hour="16" minute="1"/>
<category/>
<uid/>
+ <notes value="What about Bob?"/>
+ <location value="The lake house"/>
+ <attendees value="Family, Bob"/>
</event>
<event>
<summary value="Meeting"/>
@@ -40,6 +48,9 @@
<end year="2007" month="1" day="15" hour="17" minute="30"/>
<category/>
<uid/>
+ <notes value="Try to duck out, if possible, for the doctor's appointment."/>
+ <location value="The office"/>
+ <attendees value="Phyllis, Dwight, David, Ryan, Angela, Pam, Jim, Andy, Kevin"/>
</event>
<event>
<summary value="Pick up kids"/>
@@ -48,6 +59,9 @@
<end year="2007" month="1" day="15" hour="18" minute="0"/>
<category/>
<uid/>
+ <notes value="Stop for ice cream on the way home."/>
+ <location value="School"/>
+ <attendees value="The kids"/>
</event>
<event>
<summary value="Send letter"/>
@@ -56,6 +70,8 @@
<end year="2007" month="1" day="15" hour="14" minute="2"/>
<category/>
<uid/>
+ <notes value="Don't forget to put on enough postage. It's kind of heavy."/>
+ <location value="The mailbox"/>
</event>
<event>
<summary value="Call Irene"/>
@@ -64,6 +80,7 @@
<end year="2007" month="1" day="15" hour="10" minute="12"/>
<category/>
<uid/>
+ <notes value="More phone tag..."/>
</event>
</day15>
<day2>
@@ -74,6 +91,9 @@
<end year="2007" month="1" day="2" hour="10" minute="30"/>
<category/>
<uid/>
+ <notes value="This is only a test."/>
+ <location value="The test site."/>
+ <attendees value="Crash test dummies"/>
</event>
<event>
<summary value="A longer event to show wrapping"/>
@@ -82,6 +102,9 @@
<end year="2007" month="1" day="2" hour="15" minute="12"/>
<category/>
<uid/>
+ <notes value="This is another test."/>
+ <location value="The test site."/>
+ <attendees value="Taller crash test dummies"/>
</event>
<event>
<summary value="Go to new office"/>
@@ -90,6 +113,9 @@
<end year="2007" month="1" day="2" hour="8" minute="12"/>
<category/>
<uid/>
+ <notes value="Bring gifts for the new employees"/>
+ <location value="The new office"/>
+ <attendees value="The new crew"/>
</event>
</day2>
<day6>
@@ -100,6 +126,9 @@
<end year="2007" month="1" day="6" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="Bring treats"/>
+ <location value="The conference room with the weird smell in the carpets"/>
+ <attendees value="Laura, Keith, Tori, The Other Keith, Marty, Wanda, Herman, Olivia"/>
</event>
<event>
<summary value="Lunch with kids"/>
@@ -108,6 +137,9 @@
<end year="2007" month="1" day="6" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Feed them healthy food."/>
+ <location value="Inn of the Seventh Ray"/>
+ <attendees value="The kids, possibly Olivia"/>
</event>
<event>
<summary value="Pick up car"/>
@@ -116,16 +148,21 @@
<end year="2007" month="1" day="6" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="It was towed again."/>
+ <location value="The impound lot"/>
</event>
</day6>
<day30>
<event>
- <summary value="Happy birthday bob!"/>
- <comment value="Happy birthday bob!"/>
+ <summary value="Happy birthday Bob!"/>
+ <comment value="Happy birthday Bob!"/>
<start year="2007" month="1" day="30" hour="3" minute="30"/>
<end year="2007" month="1" day="30" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="Bring him that DVD set he wanted"/>
+ <location value="Bob's place"/>
+ <attendees value="Bob, etc."/>
</event>
<event>
<summary value="Good evening"/>
@@ -134,6 +171,8 @@
<end year="2007" month="1" day="30" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Have a good evening, at whatever cost."/>
+ <location value="Anywhere"/>
</event>
<event>
<summary value="Another example event"/>
@@ -142,6 +181,9 @@
<end year="2007" month="1" day="30" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Another example note"/>
+ <location value="Another example location"/>
+ <attendees value="Another example attendee"/>
</event>
</day30>
<day18>
@@ -152,6 +194,8 @@
<end year="2007" month="1" day="18" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="Wait a second... how DO we do it back home?"/>
+ <location value="Somewhere other than back home"/>
</event>
<event>
<summary value="Text wrapping for dummies class"/>
@@ -160,6 +204,9 @@
<end year="2007" month="1" day="18" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Making a note"/>
+ <location value="There"/>
+ <attendees value="People"/>
</event>
<event>
<summary value="Conference"/>
@@ -168,6 +215,9 @@
<end year="2007" month="1" day="18" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Meet with people about the imminent bee threat."/>
+ <location value="Josephine Welsch Conference Center for the Arts and Sciences"/>
+ <attendees value="Everyone concerned with bees"/>
</event>
</day18>
</month1>
Modified: openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-10-01.xml
===================================================================
--- openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-10-01.xml 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-10-01.xml 2007-10-17 02:38:34 UTC (rev 6879)
@@ -14,6 +14,9 @@
<end year="2007" month="10" day="15" hour="14" minute="2"/>
<category/>
<uid/>
+ <notes value="Remember to bring Dana's briefcase."/>
+ <location value="Harrington Convention Center"/>
+ <attendees value="Richard, Dana, Michael, Keith, Severin, George"/>
</event>
<event>
<summary value="Call Arnold about fiscal plan"/>
@@ -22,6 +25,9 @@
<end year="2007" month="10" day="15" hour="10" minute="12"/>
<category/>
<uid/>
+ <notes value="He had to leave the office last time, but promised he'd be back."/>
+ <location value="Arnold's office"/>
+ <attendees value="Arnold, Robert, Edward, Linda"/>
</event>
</day15>
<day2>
@@ -32,6 +38,8 @@
<end year="2007" month="10" day="2" hour="10" minute="30"/>
<category/>
<uid/>
+ <notes value="Don't forget your passport this time."/>
+ <location value="SFO"/>
</event>
<event>
<summary value="Verify delivery of book order for book club"/>
@@ -40,6 +48,7 @@
<end year="2007" month="10" day="2" hour="15" minute="12"/>
<category/>
<uid/>
+ <notes value="Flow My Tears, the Policeman Said"/>
</event>
</day2>
<day6>
@@ -50,14 +59,20 @@
<end year="2007" month="10" day="6" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="Stress the importance of ten and two."/>
+ <location value="Manhattan Driving Center"/>
+ <attendees value="Kim, Piotr, Nell, Irfaan, Trevor, Sylvia"/>
</event>
<event>
- <summary value="Pizza with kids"/>
- <comment value="Lunch with kids"/>
+ <summary value="Pizza with Kids"/>
+ <comment value="Lunch with Kids"/>
<start year="2007" month="10" day="6" hour="12" minute="12"/>
<end year="2007" month="10" day="6" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Get them to try anchovies. They're actually tasty."/>
+ <location value="The Hall"/>
+ <attendees value="Dave, Kevin, Mark, Bruce, Scott"/>
</event>
</day6>
<day11>
@@ -67,6 +82,8 @@
<start year="2007" month="10" day="11" hour="9"/>
<end year="2007" month="10" day="11" hour="10"/>
<category value="holiday"/>
+ <notes value="Do I get today off? I should call and check."/>
+ <location value="America"/>
</event>
</day11>
<day12>
@@ -77,6 +94,8 @@
<end year="2007" month="10" day="12" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="Might want to get it washed, too."/>
+ <location value="McGinty's Automotive"/>
</event>
<event>
<summary value="Write blog entry"/>
@@ -85,6 +104,7 @@
<end year="2007" month="10" day="12" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Remember to mention what Joe said. It was hilarious."/>
</event>
</day12>
<day21>
@@ -95,6 +115,9 @@
<end year="2007" month="10" day="21" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Bring the shells and the rigatoni."/>
+ <location value="The Lutz's"/>
+ <attendees value="Karen, Jeff, Anna, the kids"/>
</event>
<event>
<summary value="Pick up car"/>
@@ -103,6 +126,8 @@
<end year="2007" month="10" day="21" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Hopefully it'll be fixed by five..."/>
+ <location value="McGinty's Automotive"/>
</event>
</day21>
<day30>
@@ -113,6 +138,9 @@
<end year="2007" month="10" day="30" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="See if you can get him the coatamundi he always wanted."/>
+ <location value="Dad's place"/>
+ <attendees value="Dad, Anna, the kids, Joe, Jess, Peter, Gary"/>
</event>
<event>
<summary value="Surfs up"/>
@@ -121,6 +149,8 @@
<end year="2007" month="10" day="30" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Remember to take your cell phone out of your pocket before you go swimming this time."/>
+ <location value="The Ocean"/>
</event>
</day30>
<day31>
@@ -130,6 +160,8 @@
<start year="2007" month="10" day="31" hour="9"/>
<end year="2007" month="10" day="31" hour="10"/>
<category value="holiday"/>
+ <notes value="Remember the clock in the bathroom."/>
+ <attendees value="Nearly everyone in the U.S. except Arizona"/>
</event>
<event>
<summary value="Halloween"/>
@@ -137,6 +169,9 @@
<start year="2007" month="10" day="31" hour="9"/>
<end year="2007" month="10" day="31" hour="10"/>
<category value="holiday"/>
+ <notes value="Dress up like a herring."/>
+ <location value="Party at Josephine's"/>
+ <attendees value="Igor, his baying hounds, the Crypt Keeper Five, the Wolf Man, Dracula and his son"/>
</event>
</day31>
<day18>
@@ -147,6 +182,8 @@
<end year="2007" month="10" day="18" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Time permitting, they will also teach us how to swaddle it."/>
+ <location value="Text Headquarters, Louisiana"/>
</event>
<event>
<summary value="Walk the dog"/>
@@ -155,6 +192,9 @@
<end year="2007" month="10" day="18" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="It's our yearly standing appointment."/>
+ <location value="Outside"/>
+ <attendees value="Me and the dog"/>
</event>
</day18>
</month10>
Modified: openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-11-01.xml
===================================================================
--- openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-11-01.xml 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-11-01.xml 2007-10-17 02:38:34 UTC (rev 6879)
@@ -13,6 +13,8 @@
<end year="2007" month="11" day="14" hour="17" minute="30"/>
<category/>
<uid/>
+ <notes value="Bring the new shoes."/>
+ <location value="Charles Atlas Universe Gym"/>
</event>
<event>
<summary value="photo shoot"/>
@@ -21,6 +23,9 @@
<end year="2007" month="11" day="14" hour="10" minute="12"/>
<category/>
<uid/>
+ <notes value="Make them wear the especially goofy outfits."/>
+ <location value="The Alps"/>
+ <attendees value="Camera crew, models, safety experts"/>
</event>
</day14>
<day2>
@@ -31,6 +36,8 @@
<end year="2007" month="11" day="2" hour="10" minute="30"/>
<category/>
<uid/>
+ <notes value="Applying Derrida to Pollack"/>
+ <location value="MOMA"/>
</event>
</day2>
<day6>
@@ -41,6 +48,8 @@
<end year="2007" month="11" day="6" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="Chop them into tiny pieces, as is our custom."/>
+ <location value="The Ribbon Chopper's Guild"/>
</event>
<event>
<summary value="Governor's Luncheon"/>
@@ -49,16 +58,20 @@
<end year="2007" month="11" day="6" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Remind him to start the reactor."/>
+ <location value="Patrick's"/>
</event>
</day6>
<day30>
<event>
- <summary value="Pick-up Movie DVDs"/>
+ <summary value="Pick-up DVDs"/>
<comment value="Pick-up movies"/>
<start year="2007" month="11" day="30" hour="12" minute="12"/>
<end year="2007" month="11" day="30" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="...and then set them back down again."/>
+ <location value="The DVD Shelf"/>
</event>
<event>
<summary value="Another example event"/>
@@ -67,6 +80,9 @@
<end year="2007" month="11" day="30" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Here is where I would be putting notes, were this a real event."/>
+ <location value="This could be taking place anywhere!"/>
+ <attendees value="People could be there."/>
</event>
</day30>
<day12>
@@ -77,6 +93,9 @@
<end year="2007" month="11" day="12" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Is this a metaphor for something?"/>
+ <location value="Heartache Hill"/>
+ <attendees value="Me and my broken heart. Oh, and Elvis."/>
</event>
</day12>
<day1>
@@ -87,6 +106,9 @@
<end year="2007" month="11" day="1" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Oh, you can't be serious."/>
+ <location value="The English Channel"/>
+ <attendees value="other swimmers"/>
</event>
</day1>
<day18>
@@ -97,6 +119,9 @@
<end year="2007" month="11" day="18" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="But... but I just swam the English Channel!"/>
+ <location value="Everest, I guess"/>
+ <attendees value="Soreness, Exhaustion"/>
</event>
<event>
<summary value="Sail across Pacific"/>
@@ -105,6 +130,9 @@
<end year="2007" month="11" day="18" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="I suppose if they airlift me from the top of Everest, I might be able to make the boat..."/>
+ <location value="The Pacific Ocean"/>
+ <attendees value="A medical team and a bunch of massage therapists, hopefully."/>
</event>
</day18>
</month11>
Modified: openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-12-01.xml
===================================================================
--- openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-12-01.xml 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-12-01.xml 2007-10-17 02:38:34 UTC (rev 6879)
@@ -13,6 +13,9 @@
<end year="2007" month="12" day="22" hour="16" minute="1"/>
<category/>
<uid/>
+ <notes value="Ask him about the imminent bee threat."/>
+ <location value="The mall"/>
+ <attendees value="The President, a bunch of other people"/>
</event>
<event>
<summary value="Meeting with heads of state"/>
@@ -21,6 +24,8 @@
<end year="2007" month="12" day="22" hour="17" minute="30"/>
<category/>
<uid/>
+ <notes value="Ask them about the imminent bee threat."/>
+ <location value="The convention center"/>
</event>
<event>
<summary value="Pick up Nobel Prize"/>
@@ -29,6 +34,7 @@
<end year="2007" month="12" day="22" hour="18" minute="0"/>
<category/>
<uid/>
+ <notes value="Make speech about the imminent bee threat."/>
</event>
</day22>
<day5>
@@ -39,6 +45,9 @@
<end year="2007" month="12" day="5" hour="10" minute="30"/>
<category/>
<uid/>
+ <notes value="Talk about how they saved that child."/>
+ <location value="Westvale Community Medical Center"/>
+ <attendees value="hospital staff, community"/>
</event>
<event>
<summary value="Lead campaign to bring enduring world peace"/>
@@ -47,6 +56,9 @@
<end year="2007" month="12" day="5" hour="15" minute="12"/>
<category/>
<uid/>
+ <notes value="Solve the imminent bee threat."/>
+ <location value="All over the world"/>
+ <attendees value="Everyone, everywhere"/>
</event>
</day5>
<day14>
@@ -57,6 +69,8 @@
<end year="2007" month="12" day="14" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Buy them things that they will enjoy."/>
+ <location value="The mall"/>
</event>
</day14>
<day10>
@@ -67,6 +81,8 @@
<end year="2007" month="12" day="10" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="It has to be really catchy, and easy to remember."/>
+ <location value="The recording studio"/>
</event>
<event>
<summary value="Host the Tonight Show"/>
@@ -75,6 +91,9 @@
<end year="2007" month="12" day="10" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Make people aware of the imminent bee threat."/>
+ <location value="NBC Studios"/>
+ <attendees value="A live studio audience"/>
</event>
<event>
<summary value="Walk the dog"/>
@@ -83,6 +102,9 @@
<end year="2007" month="12" day="10" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Walk him around the block a few times."/>
+ <location value="The neighborhood"/>
+ <attendees value="Me and the dog"/>
</event>
</day10>
<day31>
@@ -93,6 +115,9 @@
<end year="2007" month="12" day="31" hour="20" minute="0"/>
<category/>
<uid/>
+ <notes value="Order the slow-cooked pork"/>
+ <location value="Chez Panisse"/>
+ <attendees value="Anna, Jeff, Cobra Commander, Chuck Norris, Miles Davis"/>
</event>
<event>
<summary value="Attend Masquerade Ball"/>
@@ -101,8 +126,8 @@
<end year="2007" month="12" day="31" hour="23" minute="0"/>
<category/>
<uid/>
+ <notes value="Hide your face so the world will never find you."/>
</event>
-
</day31>
</month12>
</year2007>
Modified: openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-2-01.xml
===================================================================
--- openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-2-01.xml 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-2-01.xml 2007-10-17 02:38:34 UTC (rev 6879)
@@ -12,6 +12,7 @@
<start year="2007" month="2" day="14" hour="9" />
<end year="2007" month="2" day="14" hour="16" />
<category value="holiday"/>
+ <notes value="Bring in valentines to the office. Make reservations at Daioh."/>
</event>
</day14>
<day15>
@@ -22,6 +23,9 @@
<end year="2007" month="2" day="15" hour="16" minute="1"/>
<category/>
<uid/>
+ <notes value="Bring that book he wanted to borrow."/>
+ <location value="That one restaurant. It's written down in your PDA."/>
+ <attendees value="Lyndon"/>
</event>
<event>
<summary value="Meeting"/>
@@ -30,6 +34,9 @@
<end year="2007" month="2" day="15" hour="17" minute="30"/>
<category/>
<uid/>
+ <notes value="Make them laugh."/>
+ <location value="The conference room with the green walls..."/>
+ <attendees value="Kevin, Martha, Jim, Steven, Eric, Joan, Gina"/>
</event>
<event>
<summary value="Pick up kids"/>
@@ -38,6 +45,9 @@
<end year="2007" month="2" day="15" hour="18" minute="0"/>
<category/>
<uid/>
+ <notes value="Don't forget!"/>
+ <location value="School"/>
+ <attendees value="The kids"/>
</event>
<event>
<summary value="Send letter"/>
@@ -46,6 +56,8 @@
<end year="2007" month="2" day="15" hour="14" minute="2"/>
<category/>
<uid/>
+ <notes value="Fan letter to Harrison Ford"/>
+ <location value="The mailbox"/>
</event>
<event>
<summary value="Call Irene"/>
@@ -54,6 +66,7 @@
<end year="2007" month="2" day="15" hour="10" minute="12"/>
<category/>
<uid/>
+ <notes value="Still haven't gotten a hold of her..."/>
</event>
</day15>
<day2>
@@ -64,6 +77,9 @@
<end year="2007" month="2" day="2" hour="10" minute="30"/>
<category/>
<uid/>
+ <notes value="Testing"/>
+ <location value="The testing range"/>
+ <attendees value="Testers"/>
</event>
<event>
<summary value="A longer event to show wrapping"/>
@@ -72,6 +88,9 @@
<end year="2007" month="2" day="2" hour="15" minute="12"/>
<category/>
<uid/>
+ <notes value="Testing again"/>
+ <location value="The other, larger testing range"/>
+ <attendees value="More testers"/>
</event>
<event>
<summary value="Go to new office"/>
@@ -80,6 +99,9 @@
<end year="2007" month="2" day="2" hour="8" minute="12"/>
<category/>
<uid/>
+ <notes value="It's there, might as well go."/>
+ <location value="The new office"/>
+ <attendees value="Joe, Gary, Fred, Ralph, Wilma, Gina, Ann, Amelia"/>
</event>
</day2>
<day6>
@@ -90,6 +112,9 @@
<end year="2007" month="2" day="6" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="So many meetings!"/>
+ <location value="The conference room with the weird door in the corner that nobody can open"/>
+ <attendees value="Fred, Michelle, Horace, Uhura, Wendy, Mitch, Celia"/>
</event>
<event>
<summary value="Lunch with kids"/>
@@ -98,6 +123,9 @@
<end year="2007" month="2" day="6" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="They did well in school."/>
+ <location value="That really fancy place"/>
+ <attendees value="The kids"/>
</event>
<event>
<summary value="Pick up car"/>
@@ -106,6 +134,8 @@
<end year="2007" month="2" day="6" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="In the shop yet again..."/>
+ <location value="McGinty's Automotive"/>
</event>
</day6>
<day12>
@@ -116,6 +146,9 @@
<end year="2007" month="2" day="12" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="This is the one to plan what we're supposed to talk about in the next meeting."/>
+ <location value="The conference room with the scary artwork on the ceiling"/>
+ <attendees value="Steve, Laura, Kevin, Bob, Lily, Mikaylah, Gina, Yun"/>
</event>
<event>
<summary value="Lunch with kids"/>
@@ -124,6 +157,9 @@
<end year="2007" month="2" day="12" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="We had to postpone on the 6th"/>
+ <location value="Azalia's Cafe"/>
+ <attendees value="The kids"/>
</event>
<event>
<summary value="Pick up car"/>
@@ -132,6 +168,8 @@
<end year="2007" month="2" day="12" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="It wasn't ready yet."/>
+ <location value="McGinty's Automotive"/>
</event>
</day12>
<day21>
@@ -142,6 +180,9 @@
<end year="2007" month="2" day="21" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="After planning what we were supposed to talk about, we now have to plan when to talk about it."/>
+ <location value="The other conference room, with the wet floors from the leaky pipe."/>
+ <attendees value="Shen, Clarice, Jojo, Rick, Mickey, Aram, Irfaan, Laura"/>
</event>
<event>
<summary value="Lunch with kids"/>
@@ -150,6 +191,9 @@
<end year="2007" month="2" day="21" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="It was such a good time, we decided to do it again"/>
+ <location value="Azalia's Cafe"/>
+ <attendees value="The kids"/>
</event>
<event>
<summary value="Pick up car"/>
@@ -158,16 +202,22 @@
<end year="2007" month="2" day="21" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="It STILL wasn't ready. Something's fishy..."/>
+ <location value="McGinty's Automotive"/>
+ <attendees value="My lawyer"/>
</event>
</day21>
<day30>
<event>
- <summary value="Happy birthday bob!"/>
- <comment value="Happy birthday bob!"/>
+ <summary value="Happy birthday Bob!"/>
+ <comment value="Happy birthday Bob!"/>
<start year="2007" month="2" day="30" hour="3" minute="30"/>
<end year="2007" month="2" day="30" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="Hey wait a minute... didn't Bob already HAVE a birthday recently?"/>
+ <location value="Bob's place"/>
+ <attendees value="Bob, etc."/>
</event>
<event>
<summary value="Good evening"/>
@@ -176,6 +226,7 @@
<end year="2007" month="2" day="30" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="It will probably only turn out to be mediocre."/>
</event>
<event>
<summary value="Another example event"/>
@@ -184,6 +235,9 @@
<end year="2007" month="2" day="30" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Another example note."/>
+ <location value="Another example location"/>
+ <attendees value="Another example attendee"/>
</event>
</day30>
<day18>
@@ -194,6 +248,9 @@
<end year="2007" month="2" day="18" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="(Try to get in touch with someone from back home to remind you how they do it there.)"/>
+ <location value="Somewhere other than back home"/>
+ <attendees value="People other than those back home"/>
</event>
<event>
<summary value="Text wrapping for dummies class"/>
@@ -202,6 +259,9 @@
<end year="2007" month="2" day="18" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="I have to go again because I still can't figure it out."/>
+ <location value="Mars"/>
+ <attendees value="A bunch of people who can't grasp text wrapping."/>
</event>
<event>
<summary value="Conference"/>
@@ -210,6 +270,9 @@
<end year="2007" month="2" day="18" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="The 2007 Comic Convention"/>
+ <location value="The Jack Kirby Memorial Convention Hall"/>
+ <attendees value="Comics Fans"/>
</event>
</day18>
</month2>
Modified: openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-3-01.xml
===================================================================
--- openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-3-01.xml 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-3-01.xml 2007-10-17 02:38:34 UTC (rev 6879)
@@ -13,6 +13,8 @@
<end year="2007" month="3" day="14" hour="16" minute="1"/>
<category/>
<uid/>
+ <location value="That neat sushi place"/>
+ <attendees value="Jane, possibly Phil"/>
</event>
<event>
<summary value="Meeting with Steve"/>
@@ -21,6 +23,9 @@
<end year="2007" month="3" day="14" hour="17" minute="30"/>
<category/>
<uid/>
+ <notes value="Remember the presentation packet"/>
+ <location value="Steve's office"/>
+ <attendees value="Steve"/>
</event>
<event>
<summary value="Pick up kids"/>
@@ -29,6 +34,9 @@
<end year="2007" month="3" day="14" hour="18" minute="0"/>
<category/>
<uid/>
+ <notes value="Try to get out of work early..."/>
+ <location value="School"/>
+ <attendees value="The kids"/>
</event>
<event>
<summary value="Send letter to Mom"/>
@@ -37,6 +45,8 @@
<end year="2007" month="3" day="14" hour="14" minute="2"/>
<category/>
<uid/>
+ <notes value="Tell her about the pregnancy."/>
+ <location value="The post office"/>
</event>
<event>
<summary value="Call Irene"/>
@@ -45,6 +55,7 @@
<end year="2007" month="3" day="14" hour="10" minute="12"/>
<category/>
<uid/>
+ <notes value="Yet more phone tag..."/>
</event>
</day14>
<day2>
@@ -55,6 +66,9 @@
<end year="2007" month="3" day="2" hour="10" minute="30"/>
<category/>
<uid/>
+ <notes value="Something very special is going to take place."/>
+ <location value="A special location"/>
+ <attendees value="Special people"/>
</event>
<event>
<summary value="A longer event to show wrapping"/>
@@ -63,6 +77,9 @@
<end year="2007" month="3" day="2" hour="15" minute="12"/>
<category/>
<uid/>
+ <notes value="Some longer notes to show some wrapping as well, since this event seems to be about demonstrating wrapping."/>
+ <location value="The wrapping place"/>
+ <attendees value="Wrappers"/>
</event>
<event>
<summary value="Go to new office"/>
@@ -71,6 +88,9 @@
<end year="2007" month="3" day="2" hour="8" minute="12"/>
<category/>
<uid/>
+ <notes value="It's really not that new anymore, at this point."/>
+ <location value="The new office"/>
+ <attendees value="Coworkers"/>
</event>
</day2>
<day6>
@@ -81,6 +101,9 @@
<end year="2007" month="3" day="6" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="We need to revise our plan."/>
+ <location value="The meeting room with the carousel in the middle"/>
+ <attendees value="Garrett, Joan, Sylvia, Gloria, Jarod, Micha, Pele"/>
</event>
<event>
<summary value="Lunch with kids"/>
@@ -89,6 +112,9 @@
<end year="2007" month="3" day="6" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Children need food to function."/>
+ <location value="Chipotle"/>
+ <attendees value="The kids"/>
</event>
<event>
<summary value="Pick up car"/>
@@ -97,16 +123,22 @@
<end year="2007" month="3" day="6" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="It's still broken."/>
+ <location value="McGinty Automotive"/>
+ <attendees value="My lawyer, again"/>
</event>
</day6>
<day30>
<event>
- <summary value="Happy birthday bob!"/>
- <comment value="Happy birthday bob!"/>
+ <summary value="Happy birthday Bob!"/>
+ <comment value="Happy birthday Bob!"/>
<start year="2007" month="3" day="30" hour="3" minute="30"/>
<end year="2007" month="3" day="30" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="A different Bob this time."/>
+ <location value="Bob's place"/>
+ <attendees value="Bob and everybody else"/>
</event>
<event>
<summary value="Good evening"/>
@@ -115,6 +147,7 @@
<end year="2007" month="3" day="30" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Not a bad evening."/>
</event>
<event>
<summary value="Another example event"/>
@@ -123,16 +156,21 @@
<end year="2007" month="3" day="30" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Another example note"/>
+ <location value="Another example location"/>
+ <attendees value="Another example attendee list"/>
</event>
</day30>
<day12>
<event>
- <summary value="Happy birthday bob!"/>
- <comment value="Happy birthday bob!"/>
+ <summary value="Happy birthday Bob!"/>
+ <comment value="Happy birthday Bob!"/>
<start year="2007" month="3" day="12" hour="3" minute="30"/>
<end year="2007" month="3" day="12" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="Okay, this is really starting to get suspicious. Bob's had about three birthdays in the last six months."/>
+ <location value="Bob's house"/>
</event>
<event>
<summary value="Good evening"/>
@@ -149,16 +187,22 @@
<end year="2007" month="3" day="12" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Another example note"/>
+ <location value="Another example location"/>
+ <attendees value="Another example attendee list"/>
</event>
</day12>
<day1>
<event>
- <summary value="Happy birthday bob!"/>
- <comment value="Happy birthday bob!"/>
+ <summary value="Happy birthday Bob!"/>
+ <comment value="Happy birthday Bob!"/>
<start year="2007" month="3" day="1" hour="3" minute="30"/>
<end year="2007" month="3" day="1" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="Hrmm, another birthday for Bob."/>
+ <location value="Bob's house"/>
+ <attendees value="Bob and other people invited to the party"/>
</event>
<event>
<summary value="Good evening"/>
@@ -175,6 +219,9 @@
<end year="2007" month="3" day="1" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Another example note"/>
+ <location value="Another example location"/>
+ <attendees value="Another example attendee list"/>
</event>
</day1>
<day17>
@@ -184,16 +231,21 @@
<start year="2007" month="3" day="17" hour="9" />
<end year="2007" month="3" day="17" hour="16" />
<category value="holiday"/>
+ <notes value="Wear that green shirt."/>
+ <location value="Sullivan's Pub"/>
</event>
</day17>
<day16>
<event>
- <summary value="Happy birthday bob!"/>
- <comment value="Happy birthday bob!"/>
+ <summary value="Happy birthday Gina!"/>
+ <comment value="Happy birthday Gina!"/>
<start year="2007" month="3" day="16" hour="3" minute="30"/>
<end year="2007" month="3" day="16" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="Get her that cat."/>
+ <location value="Gina's apartment"/>
+ <attendees value="Gina et al"/>
</event>
<event>
<summary value="Good evening"/>
@@ -210,6 +262,9 @@
<end year="2007" month="3" day="16" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Another example note"/>
+ <location value="Another example location"/>
+ <attendees value="Another example attendee list"/>
</event>
</day16>
<day18>
@@ -220,6 +275,9 @@
<end year="2007" month="3" day="18" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="The way we do it back home is superior to the way it is done here."/>
+ <location value="Somewhere other than back home"/>
+ <attendees value="People other than those back home"/>
</event>
<event>
<summary value="Text wrapping for dummies class"/>
@@ -228,6 +286,9 @@
<end year="2007" month="3" day="18" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="I'm really ashamed of my inability to comprehend text wrapping."/>
+ <location value="The Wrapping Institute for Dummies"/>
+ <attendees value="Text-wrapping dummies"/>
</event>
<event>
<summary value="Conference"/>
@@ -236,6 +297,9 @@
<end year="2007" month="3" day="18" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Give a talk on emerging technologies"/>
+ <location value="The Mickey French Conference Center"/>
+ <attendees value="Tech experts"/>
</event>
</day18>
</month3>
Modified: openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-4-01.xml
===================================================================
--- openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-4-01.xml 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-4-01.xml 2007-10-17 02:38:34 UTC (rev 6879)
@@ -13,6 +13,9 @@
<end year="2007" month="4" day="22" hour="16" minute="1"/>
<category/>
<uid/>
+ <notes value="Stop at the shoe store along the way to pick up a new pair."/>
+ <location value="The Italian place over on 3rd Ave"/>
+ <attendees value="Masha"/>
</event>
<event>
<summary value="Meeting with Amy"/>
@@ -21,6 +24,9 @@
<end year="2007" month="4" day="22" hour="17" minute="30"/>
<category/>
<uid/>
+ <notes value="Bring the activity report."/>
+ <location value="Amy's office"/>
+ <attendees value="Amy"/>
</event>
<event>
<summary value="Pick up kids"/>
@@ -29,6 +35,9 @@
<end year="2007" month="4" day="22" hour="18" minute="0"/>
<category/>
<uid/>
+ <notes value="Bring them some water."/>
+ <location value="The soccer field"/>
+ <attendees value="The kids"/>
</event>
<event>
<summary value="Send letter"/>
@@ -37,6 +46,8 @@
<end year="2007" month="4" day="22" hour="14" minute="2"/>
<category/>
<uid/>
+ <notes value="The one to Gary Busey."/>
+ <location value="The post office"/>
</event>
<event>
<summary value="Call Steve"/>
@@ -45,6 +56,7 @@
<end year="2007" month="4" day="22" hour="10" minute="12"/>
<category/>
<uid/>
+ <notes value="Get his number from Jerry."/>
</event>
</day22>
<day5>
@@ -55,6 +67,9 @@
<end year="2007" month="4" day="5" hour="10" minute="30"/>
<category/>
<uid/>
+ <notes value="A test note"/>
+ <location value="A test location"/>
+ <attendees value="A test attendee"/>
</event>
<event>
<summary value="A longer event to show wrapping"/>
@@ -63,6 +78,9 @@
<end year="2007" month="4" day="5" hour="15" minute="12"/>
<category/>
<uid/>
+ <notes value="Longer notes this time, to show wrapping. This should be long enough."/>
+ <location value="A much longer location list, to demonstrate that this field also wraps."/>
+ <attendees value="There are so many people coming to this thing that the text ends up wrapping."/>
</event>
<event>
<summary value="Go to new office"/>
@@ -71,6 +89,9 @@
<end year="2007" month="4" day="5" hour="8" minute="12"/>
<category/>
<uid/>
+ <notes value="Bring the fresh carrots for everyone."/>
+ <location value="The new office"/>
+ <attendees value="All the coworkers"/>
</event>
</day5>
<day14>
@@ -81,32 +102,33 @@
<end year="2007" month="4" day="14" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="We need to plan the upcoming quarter's strategies."/>
+ <location value="The conference room that hasn't been painted yet"/>
+ <attendees value="Carol, Hans, Pamela, Helga, Bart, Yun"/>
</event>
<event>
- <summary value="Lunch with kids"/>
- <comment value="Lunch with kids"/>
- <start year="2007" month="4" day="14" hour="12" minute="12"/>
- <end year="2007" month="4" day="14" hour="13" minute="12"/>
- <category/>
- <uid/>
- </event>
- <event>
<summary value="Pick up car"/>
<comment value="Pick up car"/>
<start year="2007" month="4" day="14" hour="12" minute="12"/>
<end year="2007" month="4" day="14" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="If this thing keeps breaking, I'm going to have to sue old Jack McGinty."/>
+ <location value="McGinty Automotive"/>
+ <attendees value="My lawyer"/>
</event>
</day14>
<day10>
<event>
- <summary value="Happy birthday bob!"/>
- <comment value="Happy birthday bob!"/>
+ <summary value="Happy birthday Bob!"/>
+ <comment value="Happy birthday Bob!"/>
<start year="2007" month="4" day="10" hour="3" minute="30"/>
<end year="2007" month="4" day="10" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="We need to figure out how to confront Bob about all these birthdays he keeps having throughout the year."/>
+ <location value="Bob's house"/>
+ <attendees value="Everyone"/>
</event>
<event>
<summary value="Good evening"/>
@@ -123,6 +145,9 @@
<end year="2007" month="4" day="10" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Another example note"/>
+ <location value="Another example location"/>
+ <attendees value="Another example attendee"/>
</event>
</day10>
<day30>
@@ -133,6 +158,9 @@
<end year="2007" month="4" day="30" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="It is superior to the way it is done elsewhere."/>
+ <location value="Somewhere"/>
+ <attendees value="People"/>
</event>
<event>
<summary value="Text wrapping for dummies class"/>
@@ -141,6 +169,9 @@
<end year="2007" month="4" day="30" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="I just can't get the hang of this."/>
+ <location value="The Intensive Text Wrapping Seminar"/>
+ <attendees value="Text dummies"/>
</event>
<event>
<summary value="Conference"/>
@@ -149,6 +180,9 @@
<end year="2007" month="4" day="30" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="The 2007 World Science Fiction Convention"/>
+ <location value="The Anaheim Convention Center"/>
+ <attendees value="Science Fiction fans"/>
</event>
</day30>
</month4>
Modified: openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-5-01.xml
===================================================================
--- openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-5-01.xml 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-5-01.xml 2007-10-17 02:38:34 UTC (rev 6879)
@@ -11,12 +11,17 @@
<comment value="Discuss Project Schedules."/>
<start year="2007" month="5" day="1" hour="9"/>
<end year="2007" month="5" day="1" hour="10"/>
+ <notes value="Bring the agenda for the upcoming year."/>
+ <location value="The big conference room, with the desks"/>
+ <attendees value="Entire company"/>
</event>
<event>
<summary value="Zero Martini Lunch"/>
<comment value="Birthday Celebration"/>
<start year="2007" month="5" day="1" hour="1"/>
<end year="2007" month="5" day="1" hour="3"/>
+ <location value="Tako"/>
+ <attendees value="Eric, Georgia, Harriet, Kim, Billy, Rhonda, Chow, Gethsemane, Gertrude, Marcus"/>
</event>
</day1>
<day5>
@@ -26,6 +31,9 @@
<start year="2007" month="5" day="5" hour="9"/>
<end year="2007" month="5" day="5" hour="11"/>
<category value="holiday"/>
+ <notes value="Invite Linda and Larry over for margaritas"/>
+ <location value="Our place"/>
+ <attendees value="Linda, Larry"/>
</event>
</day5>
<day9>
@@ -35,6 +43,7 @@
<start year="2007" month="5" day="9" hour="9"/>
<end year="2007" month="5" day="9" hour="16"/>
<category value="holiday"/>
+ <notes value="Ask mom if she got that thing you sent her."/>
</event>
<event>
<summary value="Lunch at Sushi Groove"/>
@@ -42,6 +51,9 @@
<start year="2007" month="5" day="9" hour="2"/>
<end year="2007" month="5" day="9" hour="4"/>
<category value="holiday"/>
+ <notes value="Get the dynamite roll."/>
+ <location value="Sushi Groove"/>
+ <attendees value="Mom, the kids, Sharon"/>
</event>
</day9>
<day24>
@@ -51,6 +63,8 @@
<start year="2007" month="5" day="19" hour="9"/>
<end year="2007" month="5" day="24" hour="16"/>
<category value="holiday"/>
+ <notes value="Call Steve up in Montreal."/>
+ <location value="Canada"/>
</event>
</day24>
<day16>
@@ -59,12 +73,16 @@
<comment value="Comic Book Conference"/>
<start year="2007" month="5" day="16" hour="9"/>
<end year="2007" month="5" day="16" hour="12"/>
+ <notes value="Bring copy of Watchmen to get signed."/>
+ <location value="Los Angeles"/>
</event>
<event>
<summary value="Telephone Meeting"/>
<comment value="Call 555-1212, East Coast Clients"/>
<start year="2007" month="5" day="16" hour="2"/>
<end year="2007" month="5" day="16" hour="3"/>
+ <notes value="Take some allergy pills so your voice doesn't crack on the phone."/>
+ <attendees value="East Coast Clients"/>
</event>
</day16>
<day30>
@@ -74,6 +92,7 @@
<start year="2007" month="5" day="30" hour="9"/>
<end year="2007" month="5" day="30" hour="16"/>
<category value="holiday"/>
+ <notes value="Pick up some small plastic U.S. flags."/>
</event>
</day30>
<day31>
@@ -83,6 +102,7 @@
<start year="2007" month="5" day="31" hour="9"/>
<end year="2007" month="5" day="31" hour="16"/>
<category value="holiday"/>
+ <notes value="Try to get around to finally mowing the lawn."/>
</event>
</day31>
</month5>
Modified: openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-6-01.xml
===================================================================
--- openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-6-01.xml 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-6-01.xml 2007-10-17 02:38:34 UTC (rev 6879)
@@ -11,12 +11,18 @@
<comment value="Discuss Agenda for next project."/>
<start year="2007" month="6" day="2" hour="10"/>
<end year="2007" month="6" day="2" hour="12"/>
+ <notes value="We should try sending something else to Mars."/>
+ <location value="Lunar Base 9"/>
+ <attendees value="Astronauts and essential NASA personnel"/>
</event>
<event>
<summary value="Online Conference"/>
<comment value="Demostrate Mars Rover to the President"/>
<start year="2007" month="6" day="2" hour="3"/>
<end year="2007" month="6" day="2" hour="4"/>
+ <notes value="Call about the sandwiches. I'm sure the president will be hungry after his long trip to the moon."/>
+ <location value="Lunar Base 9, Conference room Clarke"/>
+ <attendees value="President, essential NASA personnel"/>
</event>
</day2>
<day12>
@@ -25,12 +31,17 @@
<comment value="Discuss mission to Mars."/>
<start year="2007" month="6" day="12" hour="10"/>
<end year="2007" month="6" day="12" hour="12"/>
+ <notes value="Try to get Jake to greenlight deploying the Mars space station."/>
+ <location value="Lunar Base 9, Conference room Asimov"/>
</event>
<event>
<summary value="Product Demo"/>
<comment value="Demostrate Laszlo to new customers"/>
<start year="2007" month="6" day="12" hour="2"/>
<end year="2007" month="6" day="12" hour="5"/>
+ <notes value="Show off the LZPix demo."/>
+ <location value="Olive Martini conference room"/>
+ <attendees value="New customers, Antun, David"/>
</event>
</day12>
<day14>
@@ -40,6 +51,7 @@
<start year="2007" month="6" day="14" hour="10"/>
<end year="2007" month="6" day="14" hour="12"/>
<category value="holiday"/>
+ <notes value="Order flag from Amazon."/>
</event>
</day14>
<day20>
@@ -49,6 +61,7 @@
<start year="2007" month="6" day="20" hour="10"/>
<end year="2007" month="6" day="20" hour="12"/>
<category value="holiday"/>
+ <notes value="Ask dad if he got that thing you sent him."/>
</event>
<event>
<summary value="Summer Solstice"/>
@@ -65,6 +78,7 @@
<start year="2007" month="6" day="24" hour="10"/>
<end year="2007" month="6" day="24" hour="12"/>
<category value="holiday"/>
+ <notes value="Look up on Wikipedia how to celebrate this."/>
</event>
</day24>
</month6>
Modified: openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-7-01.xml
===================================================================
--- openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-7-01.xml 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-7-01.xml 2007-10-17 02:38:34 UTC (rev 6879)
@@ -12,6 +12,7 @@
<start year="2007" month="7" day="1" hour="9"/>
<end year="2007" month="7" day="1" hour="11"/>
<category value="holiday"/>
+ <notes value="Call Cousin Eddie in Toronto and wish him a happy Canada Day."/>
</event>
</day1>
<day4>
@@ -21,6 +22,7 @@
<start year="2007" month="7" day="4" hour="9"/>
<end year="2007" month="7" day="4" hour="11"/>
<category value="holiday"/>
+ <notes value="Don't forget to buy some fireworks."/>
</event>
</day4>
<day5>
@@ -30,6 +32,8 @@
<start year="2007" month="7" day="5" hour="9"/>
<end year="2007" month="7" day="5" hour="11"/>
<category value="holiday"/>
+ <notes value="Symbolically throw some tea into the ocean in celebration."/>
+ <location value="Boston Harbor"/>
</event>
</day5>
<day9>
@@ -38,12 +42,18 @@
<comment value="Creating your own Blog."/>
<start year="2007" month="7" day="9" hour="9"/>
<end year="2007" month="7" day="9" hour="11"/>
+ <notes value="Get the fried Twinkie for dessert."/>
+ <location value="Lulu's"/>
+ <attendees value="Anyone who wants to come"/>
</event>
<event>
<summary value="Meeting"/>
- <comment value="Scheduel Review"/>
+ <comment value="Schedule Review"/>
<start year="2007" month="7" day="9" hour="1"/>
<end year="2007" month="7" day="9" hour="2"/>
+ <notes value="Bring review worksheets"/>
+ <location value="Conference Room Delta"/>
+ <attendees value="Marketing Unit"/>
</event>
</day9>
<day17>
@@ -52,12 +62,18 @@
<comment value="Party!"/>
<start year="2007" month="7" day="17" hour="2"/>
<end year="2007" month="7" day="17" hour="4"/>
+ <notes value="Send Sarah that painting you bought her."/>
+ <location value="Sarah's place"/>
+ <attendees value="All of Sarah's friends"/>
</event>
<event>
<summary value="Dinner with Eric"/>
<comment value="Dinner at Aqua"/>
<start year="2007" month="7" day="17" hour="7"/>
<end year="2007" month="7" day="17" hour="10"/>
+ <notes value="Show Eric the watch you found."/>
+ <location value="Aqua"/>
+ <attendees value="Eric"/>
</event>
</day17>
<day21>
@@ -66,12 +82,18 @@
<comment value="Overview of all Project Scedules"/>
<start year="2007" month="7" day="21" hour="10"/>
<end year="2007" month="7" day="21" hour="11"/>
+ <notes value="Bring schedule."/>
+ <location value="The big conference room"/>
+ <attendees value="Whole company"/>
</event>
<event>
<summary value="Project Review"/>
<comment value="End of Project Review"/>
<start year="2007" month="7" day="21" hour="1"/>
<end year="2007" month="7" day="21" hour="5"/>
+ <notes value="Bring project examples and summary."/>
+ <location value="Smaller conference room"/>
+ <attendees value="Project team"/>
</event>
</day21>
<day23>
@@ -80,6 +102,9 @@
<comment value="Celebrating Pablo's Bday in the Kitchen"/>
<start year="2007" month="7" day="23" hour="9"/>
<end year="2007" month="7" day="23" hour="10"/>
+ <notes value="Don't forget Pablo's birthday present."/>
+ <location value="The kitchen"/>
+ <attendees value="Pablo et al"/>
</event>
</day23>
</month7>
Modified: openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-8-01.xml
===================================================================
--- openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-8-01.xml 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-8-01.xml 2007-10-17 02:38:34 UTC (rev 6879)
@@ -17,6 +17,9 @@
<start year="2007" month="8" day="6" hour="6" />
<end year="2007" month="8" day="6" hour="9" />
<category value="holiday"/>
+ <notes value="Hooray! Mail is launched!"/>
+ <location value="The Pub"/>
+ <attendees value="Everyone who can come"/>
</event>
</day6>
@@ -27,6 +30,7 @@
<start year="2007" month="8" day="2" hour="9" />
<end year="2007" month="8" day="2" hour="10" />
<category value="holiday"/>
+ <notes value="Call Billy in Vancouver and wish him a happy Civic Holiday."/>
</event>
</day2>
<day14>
@@ -36,6 +40,9 @@
<start year="2007" month="8" day="14" hour="9" />
<end year="2007" month="8" day="14" hour="10" />
<category value="holiday"/>
+ <notes value="Remember to bring swim trunks."/>
+ <location value="Swim Club"/>
+ <attendees value="Swim team"/>
</event>
</day14>
<day19>
@@ -45,6 +52,9 @@
<start year="2007" month="8" day="19" hour="1" />
<end year="2007" month="8" day="19" hour="3" />
<category value="holiday"/>
+ <notes value="Happy birthday, Laszlo!"/>
+ <location value="The kitchen"/>
+ <attendees value="Laszlo et al"/>
</event>
</day19>
</month8>
Modified: openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-9-01.xml
===================================================================
--- openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-9-01.xml 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/demos/calendar/calendardata/vcal_2007-9-01.xml 2007-10-17 02:38:34 UTC (rev 6879)
@@ -12,6 +12,9 @@
<start year="2007" month="9" day="10" hour="9"/>
<end year="2007" month="9" day="10" hour="10"/>
<category value="holiday"/>
+ <notes value="Hope everyone recognizes it as the masterpiece it is."/>
+ <location value="Mann's Chinese Theater"/>
+ <attendees value="Anyone with an invite"/>
</event>
</day10>
<day22>
@@ -30,6 +33,7 @@
<start year="2007" month="9" day="16" hour="9"/>
<end year="2007" month="9" day="16" hour="10"/>
<category value="holiday"/>
+ <notes value="Ketiva ve-chatima tovah!"/>
</event>
</day16>
@@ -41,6 +45,7 @@
<end year="2007" month="9" day="2" hour="10" minute="30"/>
<category/>
<uid/>
+ <location value="The county courthouse"/>
</event>
<event>
<summary value="Meet with investors"/>
@@ -49,6 +54,9 @@
<end year="2007" month="9" day="2" hour="8" minute="12"/>
<category/>
<uid/>
+ <notes value="Bring presentation on fiscal overview and analysis."/>
+ <location value="Jan's office"/>
+ <attendees value="Investors, marketing team"/>
</event>
</day2>
<day6>
@@ -58,6 +66,7 @@
<start year="2007" month="9" day="6" hour="9"/>
<end year="2007" month="9" day="6" hour="10"/>
<category value="holiday"/>
+ <notes value="Get some stuff done around the house."/>
</event>
<event>
<summary value="customer meeting"/>
@@ -66,6 +75,8 @@
<end year="2007" month="9" day="6" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="Bring demonstration of new product"/>
+ <location value="Smaller conference room"/>
</event>
<event>
<summary value="Lunch with Mark"/>
@@ -74,6 +85,9 @@
<end year="2007" month="9" day="6" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="This is the only day Mark has available for a while, so don't cancel."/>
+ <location value="Coogie's"/>
+ <attendees value="Mark, etc."/>
</event>
</day6>
<day15>
@@ -84,14 +98,20 @@
<end year="2007" month="9" day="15" hour="16" minute="1"/>
<category/>
<uid/>
+ <notes value="Tucker's car is in the shop, and he needs to be picked up."/>
+ <location value="Giru-Vegan"/>
+ <attendees value="Tucker, etc."/>
</event>
<event>
<summary value="Dentist visit"/>
- <comment value="Dentis visit"/>
+ <comment value="Dentist visit"/>
<start year="2007" month="9" day="15" hour="16" minute="30"/>
<end year="2007" month="9" day="15" hour="17" minute="30"/>
<category/>
<uid/>
+ <notes value="Ask someone for a ride, because it'll probably be hard to drive after the wisdom tooth removal."/>
+ <location value="Dr. Hammacher's office"/>
+ <attendees value="Me, eventually minus a few teeth."/>
</event>
</day15>
<day18>
@@ -102,6 +122,9 @@
<end year="2007" month="9" day="18" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Need to bring a fresh towel, and wash the one that's in the locker. Remember."/>
+ <location value="Gold's"/>
+ <attendees value="The whole gang"/>
</event>
<event>
<summary value="XML Conference"/>
@@ -110,6 +133,8 @@
<end year="2007" month="9" day="18" hour="13" minute="12"/>
<category/>
<uid/>
+ <notes value="Show everyone nifty Laszlo apps."/>
+ <location value="The San Francisco Expo Hall"/>
</event>
</day18>
<day30>
@@ -120,6 +145,9 @@
<end year="2007" month="9" day="30" hour="5" minute="30"/>
<category/>
<uid/>
+ <notes value="Don't forget Marlena's gift. It's in the trunk."/>
+ <location value="The kitchen"/>
+ <attendees value="Everyone"/>
</event>
</day30>
<day25>
Modified: openlaszlo/branches/paperpie/docs/src/developers/debugging.dbk
===================================================================
--- openlaszlo/branches/paperpie/docs/src/developers/debugging.dbk 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/docs/src/developers/debugging.dbk 2007-10-17 02:38:34 UTC (rev 6879)
@@ -232,7 +232,14 @@
<para>Evaluating <literal>Debug.write(<varname>object</varname>)</literal>, where
<literal><varname>object</varname></literal> is an expression that evaluates to a
JavaScript object, displays an <indexterm significance="preferred"><primary>inspectable representation</primary></indexterm><glossterm>inspectable representation</glossterm>
-of the object in the debugger. Clicking on an
+of the object in the debugger (not the actual object). Long objects are abbreviated based on the value of <literal>Debug.printLength</literal> (see <xref linkend="configuring-debugger"/>). Abbreviated objects are shown enclosed in double angle quotes, with an ellipsis indicating abbreviation like this:
+</para>
+<literal><blockquote><para>«object...»</para></blockquote></literal>
+<para>If you inspect the abbreviated output, it will print the full object. </para>
+
+
+<para>
+Clicking on an
inspectable object displays its non-private properties and their
values. Those values which are objects are also displayed as
inspectable objects, so that they can be clicked on as well.</para>
@@ -301,7 +308,7 @@
<para>
The compiler will omit those statements when you compile without debugging.
</para>
-<para/></section></section><section><title>Configuring the Debugger</title>
+<para/></section></section><section id="configuring-debugger"><title>Configuring the Debugger</title>
<para/><section><title>Debugger Window Position</title>
<para>By default, the debugger comes up over the top left corner of your
@@ -477,7 +484,9 @@
</para>
<para>
When you're compiling to DHTML, you generally use a two-step/two debugger process. It is always a good practice for you to have Firebug, because the OpenLaszlo debugger does not catch _all_ errors (it would be too much overhead to do so). We try to make our code debuggable in Firebug, as much as possible, but there are several limitations:</para>
-<itemizedlist spacing="compact"><listitem><para>Firebug does not know about our class system, so it cannot display our objects as intelligently as our debugger, and </para></listitem><listitem><para>Firebug does not understand OpenLaszlo #file and #line declarations, so it cannot give as accurate error locations as our debugger does. </para></listitem></itemizedlist>
+<itemizedlist spacing="compact"><listitem><para>Firebug does not know about our class system, so it cannot display our
+objects as intelligently as our debugger, and </para></listitem><listitem><para>Firebug does not understand
+OpenLaszlo #file and #line declarations, so it cannot give as accurate error locations as our debugger does. </para></listitem></itemizedlist>
<!-- added not about script running slowly error to fix JIRA-LPP-4846, IORIO 7 oct 2007 -->
<note><para>If you have Firebug enabled in Firefox, the LZX debugger echos
@@ -498,8 +507,11 @@
<para>
In JavaScript you are allowed to ask for a non-existent slot, but not for a slot on something that is not an object. Therefore, don't say <literal>foo.bar</literal> unless you know that foo is an object. If you know foo is either an object or null, you can say <literal>if (foo)</literal> before you say <literal>foo.bar</literal>. If you don't even know that, you would need to say <literal>if (foo instanceof Object)</literal>.
</para>
+ <!-- added "has no properties" error to fix JIRA-LPP-4861, IORIO 12 oct 2007 -->
<para condition="dhtml">
- Furthermore, in DHTML you cannot reference a non-existent variable. Therefore you should declare all your variables. In SWF, you could get by without declaring them, and they would just appear to be `undefined`, in DHTML, it is an error to refer to foo if you have not first said <literal>var foo</literal>.
+ Furthermore, in DHTML you cannot reference a non-existent variable. Therefore you should declare all your
+ variables. In SWF, you could get by without declaring them, and they would just appear to be `undefined`, in
+ DHTML, you will get a "has no properties" error if you refer to foo and you have not first said <literal>var foo</literal>.
</para>
<para>
If you are trying to make some legacy code work, you can ask <literal>if ('foo' in global)</literal> to see if foo had been declared, but that's sloppy. It's better to inspect your code to make sure that all variables are initialized before they're referenced. Even if you're not planning to compile to DHTML, you should use the more conservative style, as this will enhance maintainability and allow you to retarget for DHTML in the future if you decide to do so.
Modified: openlaszlo/branches/paperpie/docs/src/developers/designers.dbk
===================================================================
--- openlaszlo/branches/paperpie/docs/src/developers/designers.dbk 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/docs/src/developers/designers.dbk 2007-10-17 02:38:34 UTC (rev 6879)
@@ -132,8 +132,9 @@
which includes accented European characters. The Bitstream font Vera was released as an open source font for the Gnome Project.
The Ultra Pixel font Verity was built by Christopher Lowery using technology produced by Truth in Design.</para>
<para>
-For more on fonts, see <ulink url="../guide/fonts.html" type="laszlo-dguide">The Developer's Guide</ulink>
-</para>
+<!-- fix broken link per LPP-4896, IORIO 15 oct 2007 -->
+<!-- change title per LPP-4804, IORIO 15 oct 2007 -->
+For more on fonts, see <ulink url="../developers/fonts.html" type="laszlo-dguide">OpenLaszlo Application Developer's Guide</ulink>.</para>
<para/></section><section><title>OpenLaszlo Components Design Guide</title>
<para>For details on designing user-interface components in OpenLaszlo, see
Modified: openlaszlo/branches/paperpie/docs/src/developers/developers_guide_preface.dbk
===================================================================
--- openlaszlo/branches/paperpie/docs/src/developers/developers_guide_preface.dbk 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/docs/src/developers/developers_guide_preface.dbk 2007-10-17 02:38:34 UTC (rev 6879)
@@ -66,14 +66,14 @@
with the concepts of object-oriented programming as implemented in
languages such as Java, C++, or JavaScript, and with the fundamentals
of XML data formats.</para>
-
+<!-- fix broken links per LPP-4897, IORIO 15 oct 2007 -->
<para>We also hope that this guide will be accessible to web
developers who know HTML and CSS but haven't yet worked with object
oriented languages, and to developers and designers familiar with
Flash or FlashMX. If this describes you, you may have a little
homework to do outside the scope of this book, but in general you
should have no trouble becoming a fluent LZX developer. A good place
-for you to start learning would be with the <ulink url="../guide/" type="laszlo-dguide">tutorials</ulink>.</para>
+for you to start learning would be with the <ulink url="../developers/" type="laszlo-dguide">tutorials</ulink>.</para>
<para/></section><section><title>On Runtimes and Deployment Modes and the "Core" API</title>
<para>
@@ -160,7 +160,9 @@
<itemizedlist spacing="compact"><listitem><para>The <ulink url="../reference/../reference/" type="laszlo-reference"><emphasis role="em">LZX Reference
Manual</emphasis></ulink>. This online, hyperlinked, comprehensive reference
for LZX contains entries for each LZX tag and API. Its format will
- be familiar to users of JavaDoc(tm) and similar systems. </para></listitem><listitem><para>The <ulink url="../guide/" type="laszlo-dguide">online tutorials</ulink> and sample
+ be familiar to users of JavaDoc(tm) and similar systems. </para></listitem>
+ <!-- fix broken link per LPP-4897, IORIO 15 oct 2007 -->
+ <listitem><para>The <ulink url="../developers/" type="laszlo-dguide">online tutorials</ulink> and sample
applications at <ulink url="http://www.laszlosystems.com/demos">http://www.laszlosystems.com/demos</ulink>
provide a hands-on instructional overview of the LZX language.</para></listitem></itemizedlist>
@@ -181,16 +183,17 @@
look up appropriate entries in the <emphasis role="em">Reference Manual.</emphasis> At that
point you'll know what further reading you need to do in this
guide.</para>
+<!-- fix broken link per LPP-4897, IORIO 15 oct 2007 -->
<para><emphasis role="em">Web/Flash developers with no Object-Oriented experience:</emphasis>
-We suggest that you start with the <ulink url="../guide/" type="laszlo-dguide">tutorials</ulink> in order to get a general feel for
+We suggest that you start with the <ulink url="../developers/" type="laszlo-dguide">tutorials</ulink> in order to get a general feel for
LZX programming. Don't worry about mastering the subjects they cover;
your goal is to begin to get comfortable with the language.</para>
<para>If you need to, learn the basics of
<ulink url="http://www.w3.org/XML/">XML</ulink>.</para>
+<!-- fix broken link per LPP-4897, IORIO 15 oct 2007 -->
+<para>Then read the rest of <xref linkend="program-development"/>.</para>
-<para>Then read the rest of <xref linkend="overview"/>.</para>
-
<para role="todo"><remark role="todo"><emphasis role="para-label">TODO: </emphasis>Work your way through a JavaScript tutorial
<remark role="todo">link</remark>. Caution: it makes sense to read the first four
chapters of this book before doing the JavaScript tutorial, because
Modified: openlaszlo/branches/paperpie/docs/src/developers/views.dbk
===================================================================
--- openlaszlo/branches/paperpie/docs/src/developers/views.dbk 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/docs/src/developers/views.dbk 2007-10-17 02:38:34 UTC (rev 6879)
@@ -612,9 +612,10 @@
</programlisting><?lzx-edit programs/views-$15.lzx></example?>
<para/></section><section><title>Offsets</title>
+<!-- fix typo "registration pointthat" LPP-4769 IORIO 12 oct 2007-->
<para>
Every view
-has an internal <glossterm>registration point</glossterm>that is at (0,0) by default, the upper left hand corner of the view.
+has an internal <glossterm>registration point</glossterm> that is at (0,0) by default, the upper left hand corner of the view.
This point
can be changed using the <indexterm><primary>xoffset</primary></indexterm><sgmltag class="attribute">xoffset</sgmltag> and <indexterm><primary>yoffset</primary></indexterm><sgmltag class="attribute">yoffset</sgmltag>
attributes. In short, the offset attributes are applied to the registration point of the view.
@@ -863,7 +864,22 @@
</view>
</canvas>
</programlisting><?lzx-edit programs/views-$20.lzx></example?>
-<para/></section></section><section><title>View Hierarchy</title>
+<para/></section>
+<section>
+<title>Pixel locking</title>
+<para>Subpixel positioning gets blurry lines and images, with more positioning possibilities. This makes it look worse
+for static images, and better for animation, and for drawing
+sets of evenly spaced images where the average spacing isn't an integral number of pixels. If you do something which causes a view
+to end up at a non-integer x and y position, setting <indexterm><primary>pixellock</primary></indexterm> to "true" will snap it the nearest
+integer values.</para>
+<para>pixellock intercedes between the communication between
+Laszlo and the flash player. It's important to have setAttribute actually
+set the value you pass it, especially for animators. </para>
+<note><para>If you set pixellock to "true" for a view, you must also set pixellock to "true" for all of that view's
+parents.</para></note>
+</section>
+</section>
+<section><title>View Hierarchy</title>
<para>Each view has a position in the <emphasis role="i">view hierarchy</emphasis>, that is, the tree structure of objects in which each view has
a parent, and, optionally, children and/or sibling views. In simple cases such as the following the relationship of
parents and children is obvious from their position in the code.</para>
@@ -1038,10 +1054,10 @@
<para>These concepts are explained in greater detail, and with several
more examples, in <xref linkend="class-inheritance"/>.</para>
<para role="fixme"><remark role="fixme"><emphasis role="para-label">FIXME: </emphasis>Creating an array of subviews</remark></para>
-
+<!-- fix typo "you when you need" LPP-4769 IORIO 12 oct 2007-->
<para/></section></section><section><title>Views and Nodes</title>
-<para>In LZX, the fundamental objects are called nodes. Nodes are abstract entities and as such they have no visual representation. Views are the most common kind of node, and in most cases
-you when you need a container object, you should use a view even though a node would work. In fact, although
+<para>In LZX, the fundamental objects are called nodes. Nodes are abstract entities and as such they have no visual
+representation. Views are the most common kind of node, and in most cases when you need a container object, you should use a view even though a node would work. In fact, although
you can use <indexterm><primary>node</primary></indexterm><sgmltag class="element"><node></sgmltag><remark role="fixme">[unknown tag]</remark>
<!--unknown tag: node-->
s for most of the abstract
Modified: openlaszlo/branches/paperpie/lps/components/extensions/drawview.lzx
===================================================================
--- openlaszlo/branches/paperpie/lps/components/extensions/drawview.lzx 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/lps/components/extensions/drawview.lzx 2007-10-17 02:38:34 UTC (rev 6879)
@@ -276,8 +276,8 @@
}
function _onconstruct(args) {
- var w = args ? args['width'] : this.width;
- var h = args ? args['height'] : this.height;
+ var w = Math.floor(args ? args['width'] : this.width);
+ var h = Math.floor(args ? args['height'] : this.height);
if (this['__id'] == null && w > 0 && h > 0) {
this._buildcanvas(w, h);
}
@@ -320,6 +320,7 @@
if (Lz.__BrowserDetect.isIE) {
// IE can take a while to start up.
+ this._hidden = false;
this.maxTries = 10;
this.__initie();
} else {
@@ -328,14 +329,32 @@
}
function setWidth(w) {
super.setWidth(w);
- if (this.height > 0) {
- this._buildcanvas(w, this.height);
+ w = Math.floor(w);
+ var h = Math.floor(this.height);
+ if (h > 0 && w > 0) {
+ this._buildcanvas(w, h);
+ if (this.__LZcanvas && this['_hidden']) {
+ this._hidden = false;
+ this.__LZcanvas.style.visibility = null;
+ }
+ } else if (this.__LZcanvas && this['_hidden'] != true) {
+ this._hidden = true;
+ this.__LZcanvas.style.visibility = "hidden";
}
}
function setHeight(h) {
super.setHeight(h);
- if (this.width > 0) {
- this._buildcanvas(this.width, h);
+ var w = Math.floor(this.width);
+ h = Math.floor(h);
+ if (w > 0 && h > 0) {
+ this._buildcanvas(w, h);
+ if (this.__LZcanvas && this['_hidden']) {
+ this._hidden = false;
+ this.__LZcanvas.style.visibility = null;
+ }
+ } else if (this.__LZcanvas && this['_hidden'] != true) {
+ this._hidden = true;
+ this.__LZcanvas.style.visibility = "hidden";
}
}
Modified: openlaszlo/branches/paperpie/lps/includes/source/lzhistory.js
===================================================================
--- openlaszlo/branches/paperpie/lps/includes/source/lzhistory.js 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/lps/includes/source/lzhistory.js 2007-10-17 02:38:34 UTC (rev 6879)
@@ -40,13 +40,17 @@
// use an iframe;
var i = document.createElement('iframe');
Lz.__setAttr(i, 'id', 'lzHistory');
- Lz.__setAttr(i, 'border', 0);
+ Lz.__setAttr(i, 'frameborder', 'no');
+ Lz.__setAttr(i, 'scrolling', 'no');
+ Lz.__setAttr(i, 'width', '0');
+ Lz.__setAttr(i, 'height', '0');
document.body.appendChild(i);
+ i = document.getElementById('lzHistory');
+ _this._iframe = i;
+ i.style.display = 'none';
i.style.position = 'absolute';
- i.style.display = 'none';
- i.style.left = '-1000px';
- _this._iframe = document.getElementById('lzHistory');
- var doc = _this._iframe.contentDocument || _this._iframe.contentWindow.document;
+ i.style.left = '-999px';
+ var doc = i.contentDocument || i.contentWindow.document;
doc.open();
doc.close();
//alert('currstate ' + currstate);
Modified: openlaszlo/branches/paperpie/test/data/sleep.jsp
===================================================================
--- openlaszlo/branches/paperpie/test/data/sleep.jsp 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/test/data/sleep.jsp 2007-10-17 02:38:34 UTC (rev 6879)
@@ -1,10 +1,4 @@
-<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
-* Use is subject to license terms. *
-* X_LZ_COPYRIGHT_END ****************************************************** -->
-<%@ page import="java.util.*,
- org.jdom.output.*"%>
-
+<%@ page import="java.util.*,org.jdom.output.*"%>
<%
int sec = 8;
String s = request.getParameter("s");
@@ -12,8 +6,6 @@
sec = Integer.parseInt(s);
}
int msec = sec * 1000;
- out.println("<br><b>sleeping for " + sec + " seconds...</b></br>");
- out.flush();
try {
Thread.sleep(msec);
} catch (Exception e) {
@@ -22,4 +14,11 @@
}
out.println("<br><b>done</b></br>");
out.flush();
+/* X_LZ_COPYRIGHT_BEGIN ***************************************************
+* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Use is subject to license terms. *
+* X_LZ_COPYRIGHT_END ******************************************************
+*/
+
+
%>
Modified: openlaszlo/branches/paperpie/test/lfc/data/testheaderresponse.lzx
===================================================================
--- openlaszlo/branches/paperpie/test/lfc/data/testheaderresponse.lzx 2007-10-17 02:30:16 UTC (rev 6878)
+++ openlaszlo/branches/paperpie/test/lfc/data/testheaderresponse.lzx 2007-10-17 02:38:34 UTC (rev 6879)
@@ -3,7 +3,7 @@
<dataset name="dsheaders" timeout="400000"
src="http:testdata.xml"
- proxied="xlxinherit"
+ proxied="inherit"
getresponseheaders="true"
onerror="Debug.write('testheaderresponse: dsheaders got onerror')"
ontimeout="Debug.write('testheaderresponse: dsheaders got ontimeout')"
More information about the Laszlo-checkins
mailing list