[Laszlo-checkins] r10174 - in openlaszlo/trunk/test: . accessibility charts/linechart coal components/base components/incubator components/lz components/lz/slider connection/history connection/noauth dhtml drawing events future history i18n leak lfc lfc/data lfc/legals lfc/legals/lzunit lfc/legals/perfs lfc/legals/testjscomm lfc/lztrack lfc/perf lztest perf/contacts performance rpc/xmlrpc rpc/xmlrpc/https smoke snippets solo style style/attrselector style/compiler style/constraints style/descendantselector style/elementselector style/errors style/idselector style/neighborhood style/parsertricks style/specificity style/test style/urlparam swf9 text tutorials/window video
pbr@openlaszlo.org
pbr at openlaszlo.org
Wed Jul 2 07:12:34 PDT 2008
Author: pbr
Date: 2008-07-02 07:11:34 -0700 (Wed, 02 Jul 2008)
New Revision: 10174
Modified:
openlaszlo/trunk/test/accessibility/accessibility.lzx
openlaszlo/trunk/test/accessibility/taborder.lzx
openlaszlo/trunk/test/accessibility/test-step1.lzx
openlaszlo/trunk/test/accessibility/test-step2.lzx
openlaszlo/trunk/test/accessibility/test-step3.lzx
openlaszlo/trunk/test/accessibility/test-step3a.lzx
openlaszlo/trunk/test/accessibility/test-step3b.lzx
openlaszlo/trunk/test/accessibility/test-step4.lzx
openlaszlo/trunk/test/accessibility/test-step5.lzx
openlaszlo/trunk/test/accessibility/test-step6.lzx
openlaszlo/trunk/test/accessibility/test-step7-screen2.lzx
openlaszlo/trunk/test/accessibility/test-step7.lzx
openlaszlo/trunk/test/charts/linechart/test_line_07.lzx
openlaszlo/trunk/test/client_availability.lzx
openlaszlo/trunk/test/client_availability_nopc.lzx
openlaszlo/trunk/test/coal/test-static.lzx
openlaszlo/trunk/test/components/base/lzunit-basedatacombobox.lzx
openlaszlo/trunk/test/components/incubator/test-roundrect.lzx
openlaszlo/trunk/test/components/incubator/test-roundrectbutton-simple.lzx
openlaszlo/trunk/test/components/lz/leak-components.lzx
openlaszlo/trunk/test/components/lz/leak-listitems.lzx
openlaszlo/trunk/test/components/lz/slider/slider.lzx
openlaszlo/trunk/test/components/lz/test-combo-mode.lzx
openlaszlo/trunk/test/components/lz/windowgrid.lzx
openlaszlo/trunk/test/connection/history/historylib.lzx
openlaszlo/trunk/test/connection/noauth/noauthlib.lzx
openlaszlo/trunk/test/constraints.lzx
openlaszlo/trunk/test/cursors.lzx
openlaszlo/trunk/test/dhtml/testDHTML.lzx
openlaszlo/trunk/test/doubleclick.lzx
openlaszlo/trunk/test/drawing/draggrad.lzx
openlaszlo/trunk/test/drawing/draw_rand.lzx
openlaszlo/trunk/test/drawing/line_play.lzx
openlaszlo/trunk/test/drawing/many_lines.lzx
openlaszlo/trunk/test/drawing/many_points.lzx
openlaszlo/trunk/test/events/handler.lzx
openlaszlo/trunk/test/future/soapdata.lzx
openlaszlo/trunk/test/handcursor.lzx
openlaszlo/trunk/test/history/history.lzx
openlaszlo/trunk/test/i18n/validate-jp.lzx
openlaszlo/trunk/test/leak/comboboxLeak.lzx
openlaszlo/trunk/test/leak/dataset_leak.lzx
openlaszlo/trunk/test/leak/many_leaks.lzx
openlaszlo/trunk/test/leak/view_leaks.lzx
openlaszlo/trunk/test/leak/windowLeak.lzx
openlaszlo/trunk/test/lfc/classroot.lzx
openlaszlo/trunk/test/lfc/data/datapointer.lzx
openlaszlo/trunk/test/lfc/data/datapointerServerless.lzx
openlaszlo/trunk/test/lfc/data/dataprovider-datacheck.lzx
openlaszlo/trunk/test/lfc/data/dataprovider-multirequest.lzx
openlaszlo/trunk/test/lfc/data/hardupdate.lzx
openlaszlo/trunk/test/lfc/data/namespace-solo.lzx
openlaszlo/trunk/test/lfc/data/namespace.lzx
openlaszlo/trunk/test/lfc/data/nonpoolingoptimization.lzx
openlaszlo/trunk/test/lfc/data/sendheaders.lzx
openlaszlo/trunk/test/lfc/data/stringxml.lzx
openlaszlo/trunk/test/lfc/data/testclientcachebreaker.lzx
openlaszlo/trunk/test/lfc/data/testgetmethod.lzx
openlaszlo/trunk/test/lfc/data/testgetmethodsolo.lzx
openlaszlo/trunk/test/lfc/data/testheaderresponse.lzx
openlaszlo/trunk/test/lfc/data/testhttpdata.lzx
openlaszlo/trunk/test/lfc/data/testpostmethod.lzx
openlaszlo/trunk/test/lfc/data/testpostmethodsolo.lzx
openlaszlo/trunk/test/lfc/data/testput.lzx
openlaszlo/trunk/test/lfc/data/testrawpost-solo.lzx
openlaszlo/trunk/test/lfc/data/testrawpost.lzx
openlaszlo/trunk/test/lfc/data/testsetheaders-solo.lzx
openlaszlo/trunk/test/lfc/data/testsetheaders.lzx
openlaszlo/trunk/test/lfc/data/whitespace.lzx
openlaszlo/trunk/test/lfc/forcereplication.lzx
openlaszlo/trunk/test/lfc/handcursor.lzx
openlaszlo/trunk/test/lfc/inittest.lzx
openlaszlo/trunk/test/lfc/legals/flicktest.lzx
openlaszlo/trunk/test/lfc/legals/idle.lzx
openlaszlo/trunk/test/lfc/legals/initarg.lzx
openlaszlo/trunk/test/lfc/legals/inline-data.lzx
openlaszlo/trunk/test/lfc/legals/keyboardandmouse.lzx
openlaszlo/trunk/test/lfc/legals/lzunit-lzunit.lzx
openlaszlo/trunk/test/lfc/legals/lzunit/library.lzx
openlaszlo/trunk/test/lfc/legals/lzunit/lzunit.lzx
openlaszlo/trunk/test/lfc/legals/perfs/create_resource_swf.lzx
openlaszlo/trunk/test/lfc/legals/perfs/create_swf.lzx
openlaszlo/trunk/test/lfc/legals/setters.lzx
openlaszlo/trunk/test/lfc/legals/testjscomm/copy-of-hello.lzx
openlaszlo/trunk/test/lfc/legals/timer.lzx
openlaszlo/trunk/test/lfc/legals/track.lzx
openlaszlo/trunk/test/lfc/loadchecker.lzx
openlaszlo/trunk/test/lfc/lztrack/depthbug.lzx
openlaszlo/trunk/test/lfc/lztrack/trackgroup.lzx
openlaszlo/trunk/test/lfc/lztrack/trackgroups.lzx
openlaszlo/trunk/test/lfc/lzunit-timer.lzx
openlaszlo/trunk/test/lfc/perf/cssperf.lzx
openlaszlo/trunk/test/lfc/perf/imageperformance.lzx
openlaszlo/trunk/test/lfc/perf/reporter.lzx
openlaszlo/trunk/test/lfc/perf/scaledfunctions.lzx
openlaszlo/trunk/test/lfc/perf/textperformance.lzx
openlaszlo/trunk/test/lfc/perf/timing-support.lzx
openlaszlo/trunk/test/lfc/perf/viewperf.lzx
openlaszlo/trunk/test/lfc/testdrop.lzx
openlaszlo/trunk/test/lfc/testfoc.lzx
openlaszlo/trunk/test/lfc/testmethoddepend.lzx
openlaszlo/trunk/test/lfc/testscriptinit.lzx
openlaszlo/trunk/test/lpp-1582.lzx
openlaszlo/trunk/test/lztest/lztest-lzbrowser.lzx
openlaszlo/trunk/test/lztest/lztest-lzdatapointer.lzx
openlaszlo/trunk/test/lztest/lztest-node-initsequence.lzx
openlaszlo/trunk/test/lztest/lztest-selftest.lzx
openlaszlo/trunk/test/lztest/lztest-view.lzx
openlaszlo/trunk/test/newviews.lzx
openlaszlo/trunk/test/perf/contacts/contacts.lzx
openlaszlo/trunk/test/perf/contacts/details.lzx
openlaszlo/trunk/test/performance/typeof-instance-of.lzx
openlaszlo/trunk/test/platform.lzx
openlaszlo/trunk/test/rpc/xmlrpc/https/meerkat.lzx
openlaszlo/trunk/test/rpc/xmlrpc/meerkat.lzx
openlaszlo/trunk/test/smoke/compiler.lzl
openlaszlo/trunk/test/smoke/lztext.lzl
openlaszlo/trunk/test/smoke/lzunit-test.lzl
openlaszlo/trunk/test/smoke/regression.lzl
openlaszlo/trunk/test/snippets/common-library.lzx
openlaszlo/trunk/test/snippets/css-library.lzx
openlaszlo/trunk/test/snippets/fontloader.lzx
openlaszlo/trunk/test/snippets/import-font.lzx
openlaszlo/trunk/test/snippets/import-resource.lzx
openlaszlo/trunk/test/snippets/layout-library.lzx
openlaszlo/trunk/test/snippets/script-library.lzx
openlaszlo/trunk/test/snippets/view-resource-library.lzx
openlaszlo/trunk/test/solo/loadmedia.lzx
openlaszlo/trunk/test/solo/nullbug.lzx
openlaszlo/trunk/test/style/attrselector/attrs.lzx
openlaszlo/trunk/test/style/attrselector/name-test.lzx
openlaszlo/trunk/test/style/compiler/stylesheetelement-test.lzx
openlaszlo/trunk/test/style/constraints/constraint-test.lzx
openlaszlo/trunk/test/style/constraints/contention.lzx
openlaszlo/trunk/test/style/constraints/main.lzx
openlaszlo/trunk/test/style/constraints/speedtest.lzx
openlaszlo/trunk/test/style/descendantselector/main.lzx
openlaszlo/trunk/test/style/elementselector/elementselector-test.lzx
openlaszlo/trunk/test/style/elementselector/specialclassnames-test.lzx
openlaszlo/trunk/test/style/errors/badcanvasattr.lzx
openlaszlo/trunk/test/style/errors/badcss.lzx
openlaszlo/trunk/test/style/errors/badexternalcss.lzx
openlaszlo/trunk/test/style/errors/cssfilenotfound.lzx
openlaszlo/trunk/test/style/idselector/ids.lzx
openlaszlo/trunk/test/style/metasuite.lzx
openlaszlo/trunk/test/style/neighborhood/kennedyfamily.lzx
openlaszlo/trunk/test/style/parsertricks/embeddedhtml-test.lzx
openlaszlo/trunk/test/style/parsertricks/import-test.lzx
openlaszlo/trunk/test/style/specificity/newspecificity.lzx
openlaszlo/trunk/test/style/test/test.lzx
openlaszlo/trunk/test/style/urlparam/paramifyme.lzx
openlaszlo/trunk/test/swf9/hello.lzx
openlaszlo/trunk/test/swf9/lzbrowser.lzx
openlaszlo/trunk/test/text/key_events.lzx
openlaszlo/trunk/test/text/mouse_events.lzx
openlaszlo/trunk/test/text/renderingcomparison.lzx
openlaszlo/trunk/test/traits.lzx
openlaszlo/trunk/test/tutorials/window/window.lzx
openlaszlo/trunk/test/video/test-camera-mute-multiple.lzx
openlaszlo/trunk/test/video/test-camera.lzx
openlaszlo/trunk/test/video/test-microphone-recording.lzx
Log:
/test checkin
Change 20080701-Philip-4 by Philip at Philip-DC on 2008-07-01 22:40:27 EDT
in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Removed deprecated service objects
New Features:
Bugs Fixed: LPP-6570
Technical Reviewer: max (or ptw)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
The 12 global deprecated service objects like LzTimer have been removed (use lz.Timer instead). I used Don's convert_required.pl app to convert most of the system files. I did the components, examples, demos, laszlo-explorer, and test directories. The changes were done in batches using:
find . -name '*.lzx' -exec perl
./WEB-INF/lps/server/bin/convert_required.pl {} \; find . -name '*.lzl' -exec perl ../WEB-INF/lps/server/bin/convert_required.pl {} \;
The deleted objects are: LzAudio, LzBrowser, LzCursor, LzFocus, LzGlobalMouse, LzHistory, LzIdle, LzInstantiator, LzKeys, LzModeManager, LzTimer, LzTrack.
I randomly looked at the converted files and everything looks good. I verified that the apps failed before I made the conversion and they function properly after the conversion.
Tests:
smokecheck in swf/dhtml
lzpix in swf/dhtml
lzproject in swf/dhtml
laszlo-explorer in dhtml and random selection of l-in-10 examples
Files:
M test/video/test-camera.lzx
M test/video/test-camera-mute-multiple.lzx
M test/video/test-microphone-recording.lzx
M test/cursors.lzx
M test/solo/nullbug.lzx
M test/solo/loadmedia.lzx
M test/queens-charts/barchart_example_03.lzx
M test/queens-charts/linechart_example_01.lzx
M test/queens-charts/linechart_example_02.lzx
M test/queens-charts/linechart_example_03.lzx
M test/queens-charts/piechart_example_01.lzx
M test/queens-charts/piechart_example_02.lzx
M test/queens-charts/piechart_example_03.lzx
M test/queens-charts/piechart_example_04.lzx
M test/queens-charts/piechart_example_05.lzx
M test/queens-charts/barchart_example_02.lzx
M test/constraints.lzx
M test/swf9/hello.lzx
M test/swf9/lzbrowser.lzx
M test/perf/contacts/contacts.lzx
M test/perf/contacts/details.lzx
M test/lztest/lztest-lzbrowser.lzx
M test/lztest/lztest-view.lzx
M test/lztest/lztest-lzdatapointer.lzx
M test/lztest/lztest-selftest.lzx
M test/lztest/lztest-node-initsequence.lzx
M test/components/lz/windowgrid.lzx
M test/components/lz/leak-components.lzx
M test/components/lz/slider/slider.lzx
M test/components/lz/leak-listitems.lzx
M test/components/lz/test-combo-mode.lzx
M test/components/incubator/test-roundrectbutton-simple.lzx
M test/components/incubator/test-roundrect.lzx
M test/components/base/lzunit-basedatacombobox.lzx
M test/drawing/draggrad.lzx
M test/drawing/line_play.lzx
M test/drawing/many_lines.lzx
M test/drawing/many_points.lzx
M test/drawing/draw_rand.lzx
M test/imgtag/imgtest.lzx
M test/imgtag/handtest/verti_space.lzx
M test/imgtag/handtest/err_no_multiline.lzx
M test/imgtag/handtest/horiz_space.lzx
M test/imgtag/handtest/many_images.lzx
M test/imgtag/handtest/runtime_local.lzx
M test/imgtag/handtest/float_left.lzx
M test/imgtag/handtest/basic.lzx
M test/imgtag/handtest/compiled_in.lzx
M test/imgtag/handtest/float_right.lzx
M test/imgtag/handtest/scaled_down.lzx
M test/imgtag/img-accessibility.lzx
M test/newviews.lzx
M test/doubleclick.lzx
M test/client_availability_nopc.lzx
M test/lpp-1582.lzx
M test/leak/many_leaks.lzx
M test/leak/windowLeak.lzx
M test/leak/comboboxLeak.lzx
M test/leak/view_leaks.lzx
M test/leak/dataset_leak.lzx
M test/text/renderingcomparison.lzx
M test/text/key_events.lzx
M test/text/mouse_events.lzx
M test/connection/history/historylib.lzx
M test/connection/noauth/noauthlib.lzx
M test/events/handler.lzx
M test/smoke/regression.lzl
M test/smoke/lztext.lzl
M test/smoke/lzunit-test.lzl
M test/smoke/compiler.lzl
M test/coal/test-static.lzx
M test/performance/typeof-instance-of.lzx
M test/history/history.lzx
M test/dhtml/testDHTML.lzx
M test/traits.lzx
M test/handcursor.lzx
M test/client_availability.lzx
M test/rpc/xmlrpc/https/meerkat.lzx
M test/rpc/xmlrpc/meerkat.lzx
M test/charts/linechart/test_line_07.lzx
M test/tutorials/window/window.lzx
M test/accessibility/test-step1.lzx
M test/accessibility/test-step2.lzx
M test/accessibility/test-step3.lzx
M test/accessibility/test-step3a.lzx
M test/accessibility/test-step4.lzx
M test/accessibility/test-step3b.lzx
M test/accessibility/test-step5.lzx
M test/accessibility/test-step6.lzx
M test/accessibility/test-step7-screen2.lzx
M test/accessibility/test-step7.lzx
M test/accessibility/accessibility.lzx
M test/accessibility/taborder.lzx
M test/platform.lzx
M test/future/soapdata.lzx
M test/i18n/validate-jp.lzx
M test/style/test/test.lzx
M test/style/urlparam/paramifyme.lzx
M test/style/elementselector/elementselector-test.lzx
M test/style/elementselector/specialclassnames-test.lzx
M test/style/idselector/ids.lzx
M test/style/neighborhood/kennedyfamily.lzx
M test/style/constraints/main.lzx
M test/style/constraints/contention.lzx
M test/style/constraints/speedtest.lzx
M test/style/constraints/constraint-test.lzx
M test/style/descendantselector/main.lzx
M test/style/compiler/stylesheetelement-test.lzx
M test/style/attrselector/attrs.lzx
M test/style/attrselector/name-test.lzx
M test/style/specificity/newspecificity.lzx
M test/style/parsertricks/import-test.lzx
M test/style/parsertricks/embeddedhtml-test.lzx
M test/style/errors/cssfilenotfound.lzx
M test/style/errors/badcanvasattr.lzx
M test/style/errors/badcss.lzx
M test/style/errors/badexternalcss.lzx
M test/style/metasuite.lzx
M test/lfc/testdrop.lzx
M test/lfc/testfoc.lzx
M test/lfc/testscriptinit.lzx
M test/lfc/lztrack/trackgroups.lzx
M test/lfc/lztrack/trackgroup.lzx
M test/lfc/lztrack/depthbug.lzx
M test/lfc/testmethoddepend.lzx
M test/lfc/inittest.lzx
M test/lfc/loadchecker.lzx
M test/lfc/perf/imageperformance.lzx
M test/lfc/perf/cssperf.lzx
M test/lfc/perf/textperformance.lzx
M test/lfc/perf/scaledfunctions.lzx
M test/lfc/perf/viewperf.lzx
M test/lfc/perf/timing-support.lzx
M test/lfc/perf/reporter.lzx
M test/lfc/forcereplication.lzx
M test/lfc/handcursor.lzx
M test/lfc/alignment.lzx
M test/lfc/legals/perfs/create_resource_swf.lzx
M test/lfc/legals/perfs/create_swf.lzx
M test/lfc/legals/track.lzx
M test/lfc/legals/lzunit-lzunit.lzx
M test/lfc/legals/idle.lzx
M test/lfc/legals/inline-data.lzx
M test/lfc/legals/flicktest.lzx
M test/lfc/legals/lzunit/library.lzx
M test/lfc/legals/lzunit/lzunit.lzx
M test/lfc/legals/testjscomm/copy-of-hello.lzx
M test/lfc/legals/timer.lzx
M test/lfc/legals/setters.lzx
M test/lfc/legals/keyboardandmouse.lzx
M test/lfc/legals/initarg.lzx
M test/lfc/data/namespace-solo.lzx
M test/lfc/data/testhttpdata.lzx
M test/lfc/data/testrawpost-solo.lzx
M test/lfc/data/testgetmethod.lzx
M test/lfc/data/sendheaders.lzx
M test/lfc/data/testsetheaders.lzx
M test/lfc/data/namespace.lzx
M test/lfc/data/testclientcachebreaker.lzx
M test/lfc/data/testheaderresponse.lzx
M test/lfc/data/testgetmethodsolo.lzx
M test/lfc/data/datapointerServerless.lzx
M test/lfc/data/whitespace.lzx
M test/lfc/data/testrawpost.lzx
M test/lfc/data/hardupdate.lzx
M test/lfc/data/dataprovider-multirequest.lzx
M test/lfc/data/testpostmethod.lzx
M test/lfc/data/stringxml.lzx
M test/lfc/data/testsetheaders-solo.lzx
M test/lfc/data/testput.lzx
M test/lfc/data/datapointer.lzx
M test/lfc/data/testpostmethodsolo.lzx
M test/lfc/data/nonpoolingoptimization.lzx
M test/lfc/data/dataprovider-datacheck.lzx
M test/lfc/lzunit-timer.lzx
M test/lfc/classroot.lzx
M test/snippets/fontloader.lzx
M test/snippets/import-font.lzx
M test/snippets/layout-library.lzx
M test/snippets/css-library.lzx
M test/snippets/common-library.lzx
M test/snippets/import-resource.lzx
M test/snippets/view-resource-library.lzx
M test/snippets/script-library.lzx
M WEB-INF/lps/lfc/services/LzTrack.lzs
M WEB-INF/lps/lfc/services/LzGlobalMouse.lzs
M WEB-INF/lps/lfc/services/LzKeys.lzs
M WEB-INF/lps/lfc/services/LzIdle.lzs
M WEB-INF/lps/lfc/services/LzCursor.lzs
M WEB-INF/lps/lfc/services/LzModeManager.lzs
M WEB-INF/lps/lfc/services/LzInstantiator.lzs
M WEB-INF/lps/lfc/services/LzFocus.lzs
M WEB-INF/lps/lfc/services/LzTimer.lzs
M WEB-INF/lps/lfc/services/LzBrowser.lzs
M WEB-INF/lps/lfc/services/LzHistory.lzs
M WEB-INF/lps/lfc/services/LzAudio.lzs
M lps/components/queens-charts/shared/wholepie.lzx
M lps/components/queens-charts/shared/chartzoomer.lzx
M lps/components/charts/styles/defaultchartstyle.lzx
M lps/components/charts/addon/zoomarea.lzx
M lps/components/charts/barchart/barchartplotarea.lzx
M lps/components/charts/common/tickmarklabel.lzx
M lps/components/charts/common/dataseries.lzx
M lps/components/debugger/debugger.lzx
M lps/components/debugger/remoteserver.lzx
M lps/components/rpc/ajax.lzx
M lps/components/lz/gridcolumn.lzx
M lps/components/lz/mr-ed.lzx
M lps/components/lz/modaldialog.lzx
M lps/components/lz/tabelement.lzx
M lps/components/lz/listitem.lzx
M lps/components/lz/simpletext.lzx
M lps/components/lz/tree.lzx
M lps/components/lz/menu.lzx
M lps/components/lz/datepicker.lzx
M lps/components/lz/gridtext.lzx
M lps/components/lztest/lztestmanager.lzx
M lps/components/lzunit/lzunit.lzx
M lps/components/incubator/tooltip/tooltip.lzx
M lps/components/incubator/baseslider.lzx
M lps/components/incubator/ulink.lzx
M lps/components/incubator/tooltipmanager.lzx
M lps/components/incubator/stylishbutton.lzx
M lps/components/incubator/validators/timevalidator.lzx
M lps/components/incubator/colorslider.lzx
M lps/components/incubator/test/draglib-test.lzx
M lps/components/incubator/test/ulink-test.lzx
M lps/components/incubator/test/domapi-test.lzx
M lps/components/incubator/draglib.lzx
M lps/components/incubator/opttree/baseopttreenode.lzx
M lps/components/incubator/opttree/opttree.lzx
M lps/components/incubator/lzeditcombobox.lzx
M lps/components/incubator/rich-text/richtexttoolbar.lzx
M lps/components/incubator/rich-text/scrollrichedittext.lzx
M lps/components/incubator/rich-text/richtexteditarea.lzx
M lps/components/incubator/rich-text/richedittext.lzx
M lps/components/extensions/html.lzx
M lps/components/extensions/av/microphone.lzx
M lps/components/extensions/av/mediastream.lzx
M lps/components/extensions/views/richinputtext.lzx
M lps/components/utils/performance/library.lzx
M lps/components/utils/performance/measure.lzx
M lps/components/utils/diagnostic/inittimer.lzx
M lps/components/utils/diagnostic/inspector/colormenu.lzx
M lps/components/utils/diagnostic/inspector/inspector.lzx
M lps/components/utils/diagnostic/frametimer.lzx
M lps/components/utils/replicator/lazyreplicator.lzx
M lps/components/utils/traits/cssable.lzx
M lps/components/av/videoslider.lzx
M lps/components/av/videovolumebutton.lzx
M lps/components/base/datalistselector.lzx
M lps/components/base/basebutton.lzx
M lps/components/base/basegridrow.lzx
M lps/components/base/basescrollbar.lzx
M lps/components/base/baselistitem.lzx
M lps/components/base/basetree.lzx
M lps/components/base/componentmanager.lzx
M lps/components/base/basecomponent.lzx
M lps/components/base/basebuttonrepeater.lzx
M lps/components/base/basewindow.lzx
M lps/components/base/basecombobox.lzx
M lps/components/base/basefocusview.lzx
M lps/components/base/basedatepicker.lzx
M lps/components/base/baselist.lzx
M lps/components/base/basetrackgroup.lzx
M lps/components/base/baseformitem.lzx
M lps/components/base/basegrid.lzx
M lps/components/base/basetabs.lzx
M lps/components/base/basedatacombobox.lzx
M lps/components/base/style.lzx
M laszlo-explorer/coverpages/welcome/welcome.lzx
M laszlo-explorer/coverpages/header/pageheader.lzx
M laszlo-explorer/inspector/colormenu.lzx
M laszlo-explorer/inspector/inspector.lzx
M laszlo-explorer/explore-nav.lzx
M demos/weather/weather.lzx
M demos/weatherblox/weather_component.lzx
M demos/amazon/amazon.lzx
M demos/amazon-soap/amazon.lzx
M demos/lzpix/classes.lzx
M demos/lzpix/app.lzx
M demos/lzpix/classes/test/test-dataman.lzx
M demos/lzpix/classes/photocollection.lzx
M demos/lzpix/classes/dataman.lzx
M demos/lzpix/classes/clipboardinterior.lzx
M demos/lzpix/classes/spinner.lzx
M demos/lzpix/classes/photo.lzx
M demos/lzpix/classes/linkbutton.lzx
M demos/lzpix/classes/draggedphotos.lzx
M demos/lzpix/classes/pivotlayout.lzx
M demos/lzpix/classes/clipboard.lzx
M demos/lzpix/classes/favorites.lzx
M demos/lzpix/views/details.lzx
M demos/lzpix/views/error.lzx
M demos/noughts/noughts.lzx
M demos/calendar/cal-button.lzx
M demos/calendar/infopanel.lzx
M demos/calendar/eventselector.lzx
M demos/calendar/gridsliderlayout.lzx
M demos/calendar/test-data.lzx
M demos/youtube/youtubeplayer.lzx
M demos/youtube/youtube.lzx
M demos/lzproject/lzx/lzproject/css/library.lzx
M demos/lzproject/lzx/lzproject/css/ApplicationColors.lzx
M demos/lzproject/lzx/lzproject/LZProject.lzx
M demos/lzproject/lzx/lzproject/modules/library.lzx
M demos/lzproject/lzx/lzproject/modules/DynamicApplicationSizer.lzx
M demos/lzproject/lzx/lzproject/modules/BackendService.lzx
M demos/lzproject/lzx/lzproject/modules/LoginScreen.lzx
M demos/lzproject/lzx/lzproject/modules/NewProjectWindow.lzx
M demos/lzproject/lzx/lzproject/modules/I18NFlag.lzx
M demos/lzproject/lzx/lzproject/modules/ServiceConnector.lzx
M demos/lzproject/lzx/lzproject/modules/UserCreateEditForm.lzx
M demos/lzproject/lzx/lzproject/modules/BackendModule.lzx
M demos/lzproject/lzx/lzproject/modules/BorderedBox.lzx
M demos/lzproject/lzx/lzproject/modules/TaskCreateEditForm.lzx
M demos/lzproject/lzx/lzproject/modules/ApplicationVisualizer.lzx
M demos/lzproject/lzx/lzproject/modules/Task.lzx
M demos/lzpixmobile/lib/navmanager.lzx
M demos/lzpixmobile/classes/photocollection.lzx
M demos/lzpixmobile/classes/dataman.lzx
M demos/lzpixmobile/classes/clipboardinterior.lzx
M demos/lzpixmobile/classes/spinner.lzx
M demos/lzpixmobile/classes/photo.lzx
M demos/lzpixmobile/classes/linkbutton.lzx
M demos/lzpixmobile/classes/draggedphotos.lzx
M demos/lzpixmobile/classes/clipboard.lzx
M demos/lzpixmobile/classes/pivotlayout.lzx
M demos/lzpixmobile/classes/favorites.lzx
M examples/components/tree_example.lzx
M examples/css/test-haze.lzx
M examples/css/test-chocolate.lzx
M examples/css/test-berry.lzx
M examples/xmldata/xmldata.lzx
M examples/mobile/clock/clock-test.lzx
M examples/musicdhtml/audiokernel.lzx
M examples/modeexample.lzx
M examples/audio.lzx
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080701-Philip-4.tar
Modified: openlaszlo/trunk/test/accessibility/accessibility.lzx
===================================================================
--- openlaszlo/trunk/test/accessibility/accessibility.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/accessibility/accessibility.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -2,12 +2,12 @@
<include href="base/basebutton.lzx"/>
<simplelayout spacing="4"/>
<handler name="oninit">
- //LzBrowser.setClipboard('foo!');
- var upddel = new LzDelegate(LzBrowser, 'updateAccessibility');
- LzTimer.addTimer(upddel, 500);
+ //lz.Browser.setClipboard('foo!');
+ var upddel = new LzDelegate(lz.Browser, 'updateAccessibility');
+ lz.Timer.addTimer(upddel, 500);
</handler>
<text>This page tests tab ordering and labeling of buttons</text>
- <text width="200" aasilent="true" oninit="this.setText('accessibility on: ' + LzBrowser.isAAActive())"/>
+ <text width="200" aasilent="true" oninit="this.setText('accessibility on: ' + lz.Browser.isAAActive())"/>
<text name="lastsel" width="200" aasilent="true"/>
<!-- this is the correct method -->
<view width="100" height="20" bgcolor="blue" aaname="aaaa" focusable="true" onclick="parent.lastsel.setText('aaaa')"/>
Modified: openlaszlo/trunk/test/accessibility/taborder.lzx
===================================================================
--- openlaszlo/trunk/test/accessibility/taborder.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/accessibility/taborder.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -2,6 +2,11 @@
<include href="base/basebutton.lzx"/>
<simplelayout spacing="4"/>
<text aatabindex="10">Tab ordering requires flash 8 or greater.</text>
- <text width="200" aatabindex="1" oninit="this.setText('accessibility on: ' + LzBrowser.isAAActive())"/>
+ <text width="200" aatabindex="1" oninit="this.setText('accessibility on: ' + lz.Browser.isAAActive())"/>
</canvas>
+<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
+* Copyright 2006-2008 Laszlo Systems, Inc. All Rights Reserved. *
+* Use is subject to license terms. *
+* X_LZ_COPYRIGHT_END ****************************************************** -->
+<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/accessibility/test-step1.lzx
===================================================================
--- openlaszlo/trunk/test/accessibility/test-step1.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/accessibility/test-step1.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,11 +1,11 @@
<canvas proxied="false" accessible="true" width="700">
<simplelayout spacing="4"/>
<handler name="oninit">
- var upddel = new LzDelegate(LzBrowser, 'updateAccessibility');
- LzTimer.addTimer(upddel, 500);
+ var upddel = new LzDelegate(lz.Browser, 'updateAccessibility');
+ lz.Timer.addTimer(upddel, 500);
</handler>
<vbox spacing="6" inset="12">
- <text aatabindex="1" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + LzBrowser.isAAActive())">
+ <text aatabindex="1" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + lz.Browser.isAAActive())">
Accessibility on
</text>
<hbox spacing="6">
@@ -19,7 +19,7 @@
</vbox>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2006-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/accessibility/test-step2.lzx
===================================================================
--- openlaszlo/trunk/test/accessibility/test-step2.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/accessibility/test-step2.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,11 +1,11 @@
<canvas proxied="false" accessible="true" width="700">
<simplelayout spacing="4"/>
<handler name="oninit">
- var upddel = new LzDelegate(LzBrowser, 'updateAccessibility');
- LzTimer.addTimer(upddel, 500);
+ var upddel = new LzDelegate(lz.Browser, 'updateAccessibility');
+ lz.Timer.addTimer(upddel, 500);
</handler>
<vbox spacing="6" inset="12">
- <text aatabindex="1" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + LzBrowser.isAAActive())">
+ <text aatabindex="1" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + lz.Browser.isAAActive())">
Accessibility on
</text>
<hbox spacing="6">
@@ -19,7 +19,7 @@
</vbox>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2006-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/accessibility/test-step3.lzx
===================================================================
--- openlaszlo/trunk/test/accessibility/test-step3.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/accessibility/test-step3.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -4,17 +4,17 @@
-->
<simplelayout spacing="4"/>
<handler name="oninit">
- var upddel = new LzDelegate(LzBrowser, 'updateAccessibility');
- LzTimer.addTimer(upddel, 500);
+ var upddel = new LzDelegate(lz.Browser, 'updateAccessibility');
+ lz.Timer.addTimer(upddel, 500);
</handler>
<method name="changeText">
text1.setText("Changed " + text1.getText());
text2.setText("Modified " + text2.getText());
text4.setText("Updated " + text4.getText());
- LzBrowser.updateAccessibility(); // trigger re-read
+ lz.Browser.updateAccessibility(); // trigger re-read
</method>
<vbox spacing="6" inset="12">
- <text aatabindex="1" id="text1" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + LzBrowser.isAAActive())">
+ <text aatabindex="1" id="text1" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + lz.Browser.isAAActive())">
Accessibility on
</text>
<hbox spacing="6">
@@ -36,7 +36,7 @@
</vbox>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2006-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/accessibility/test-step3a.lzx
===================================================================
--- openlaszlo/trunk/test/accessibility/test-step3a.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/accessibility/test-step3a.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -4,17 +4,17 @@
-->
<simplelayout spacing="4"/>
<handler name="oninit">
- var upddel = new LzDelegate(LzBrowser, 'updateAccessibility');
- LzTimer.addTimer(upddel, 500);
+ var upddel = new LzDelegate(lz.Browser, 'updateAccessibility');
+ lz.Timer.addTimer(upddel, 500);
</handler>
<method name="changeText">
text1.setText("Changed " + text1.getText());
text2.setText("Modified " + text2.getText());
text4.setText("Updated " + text4.getText());
- LzBrowser.updateAccessibility(); // trigger re-read
+ lz.Browser.updateAccessibility(); // trigger re-read
</method>
<vbox spacing="6" inset="12">
- <text aatabindex="1" id="text1" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + LzBrowser.isAAActive())">
+ <text aatabindex="1" id="text1" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + lz.Browser.isAAActive())">
Accessibility on
</text>
<hbox spacing="6">
@@ -30,7 +30,7 @@
<handler name="onclick">
//canvas.changeText();
var ctDel = new LzDelegate(canvas, 'changeText');
- LzTimer.addTimer(ctDel, 1000);
+ lz.Timer.addTimer(ctDel, 1000);
</handler>
</button>
</vbox>
Modified: openlaszlo/trunk/test/accessibility/test-step3b.lzx
===================================================================
--- openlaszlo/trunk/test/accessibility/test-step3b.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/accessibility/test-step3b.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -5,22 +5,22 @@
<attribute name="externalsig" value="null"/>
<handler name="onexternalsig">
canvas.changeText();
- var ctDel = new LzDelegate(LzBrowser, 'updateAccessibility');
- LzTimer.addTimer(ctDel, 1000);
+ var ctDel = new LzDelegate(lz.Browser, 'updateAccessibility');
+ lz.Timer.addTimer(ctDel, 1000);
</handler>
<simplelayout spacing="4"/>
<handler name="oninit">
- var upddel = new LzDelegate(LzBrowser, 'updateAccessibility');
- LzTimer.addTimer(upddel, 500);
+ var upddel = new LzDelegate(lz.Browser, 'updateAccessibility');
+ lz.Timer.addTimer(upddel, 500);
</handler>
<method name="changeText">
text1.setText("Changed " + text1.getText());
text2.setText("Modified " + text2.getText());
text4.setText("Updated " + text4.getText());
- LzBrowser.updateAccessibility(); // trigger re-read
+ lz.Browser.updateAccessibility(); // trigger re-read
</method>
<vbox spacing="6" inset="12">
- <text aatabindex="1" id="text1" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + LzBrowser.isAAActive())">
+ <text aatabindex="1" id="text1" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + lz.Browser.isAAActive())">
Accessibility on
</text>
<hbox spacing="6">
@@ -34,7 +34,7 @@
<button id="button1" aatabindex="5" focusable="true">
Button
<handler name="onclick">
- LzBrowser.loadJS('lzSetCanvasAttribute("externalsig", true)');
+ lz.Browser.loadJS('lzSetCanvasAttribute("externalsig", true)');
</handler>
</button>
</vbox>
Modified: openlaszlo/trunk/test/accessibility/test-step4.lzx
===================================================================
--- openlaszlo/trunk/test/accessibility/test-step4.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/accessibility/test-step4.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -4,17 +4,17 @@
-->
<simplelayout spacing="4"/>
<handler name="oninit">
- var upddel = new LzDelegate(LzBrowser, 'updateAccessibility');
- LzTimer.addTimer(upddel, 500);
+ var upddel = new LzDelegate(lz.Browser, 'updateAccessibility');
+ lz.Timer.addTimer(upddel, 500);
</handler>
<method name="changeText">
text1.setText("Changed " + text1.getText());
text2.setText("Modified " + text2.getText());
text4.setText("Updated " + text4.getText());
- LzBrowser.updateAccessibility(); // trigger re-read
+ lz.Browser.updateAccessibility(); // trigger re-read
</method>
<vbox spacing="6" inset="12">
- <text id="text1" aatabindex="2" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + LzBrowser.isAAActive())">
+ <text id="text1" aatabindex="2" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + lz.Browser.isAAActive())">
Accessibility on
</text>
<hbox spacing="6">
@@ -36,7 +36,7 @@
</vbox>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2006-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/accessibility/test-step5.lzx
===================================================================
--- openlaszlo/trunk/test/accessibility/test-step5.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/accessibility/test-step5.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -4,8 +4,8 @@
-->
<simplelayout spacing="4"/>
<handler name="oninit">
- var upddel = new LzDelegate(LzBrowser, 'updateAccessibility');
- LzTimer.addTimer(upddel, 500);
+ var upddel = new LzDelegate(lz.Browser, 'updateAccessibility');
+ lz.Timer.addTimer(upddel, 500);
</handler>
<method name="changeText">
text1.setText("Changed " + text1.getText());
@@ -16,10 +16,10 @@
text2.setAATabindex(3);
text1.setAATabindex(4);
button1.setAATabindex(5);
- LzBrowser.updateAccessibility(); // trigger re-read
+ lz.Browser.updateAccessibility(); // trigger re-read
</method>
<vbox spacing="6" inset="12">
- <text id="text1" aatabindex="2" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + LzBrowser.isAAActive())">
+ <text id="text1" aatabindex="2" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + lz.Browser.isAAActive())">
Accessibility on
</text>
<hbox spacing="6">
@@ -41,7 +41,7 @@
</vbox>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2006-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/accessibility/test-step6.lzx
===================================================================
--- openlaszlo/trunk/test/accessibility/test-step6.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/accessibility/test-step6.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -5,18 +5,18 @@
-->
<simplelayout spacing="4"/>
<handler name="oninit">
- var upddel = new LzDelegate(LzBrowser, 'updateAccessibility');
- LzTimer.addTimer(upddel, 500);
+ var upddel = new LzDelegate(lz.Browser, 'updateAccessibility');
+ lz.Timer.addTimer(upddel, 500);
</handler>
<method name="changeText">
text1.setText("Changed " + text1.getText());
text2.setText("Modified " + text2.getText());
text4.setText("Updated " + text4.getText());
button1.setAADescription("Changed Label");
- LzBrowser.updateAccessibility(); // trigger re-read
+ lz.Browser.updateAccessibility(); // trigger re-read
</method>
<vbox spacing="6" inset="12">
- <text id="text1" aatabindex="2" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + LzBrowser.isAAActive())">
+ <text id="text1" aatabindex="2" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + lz.Browser.isAAActive())">
Accessibility on
</text>
<hbox spacing="6">
@@ -38,7 +38,7 @@
</vbox>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2006-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/accessibility/test-step7-screen2.lzx
===================================================================
--- openlaszlo/trunk/test/accessibility/test-step7-screen2.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/accessibility/test-step7-screen2.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -2,7 +2,7 @@
<class name="screen2">
<vbox spacing="6" inset="12">
- <text id="text2_1" aatabindex="2" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + LzBrowser.isAAActive())">
+ <text id="text2_1" aatabindex="2" width="200" bgcolor="0xdeadbf" oninit="this.setText(this.getText() + ' ' + lz.Browser.isAAActive())">
Accessibility on
</text>
<hbox spacing="6">
@@ -26,7 +26,7 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2006-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/accessibility/test-step7.lzx
===================================================================
--- openlaszlo/trunk/test/accessibility/test-step7.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/accessibility/test-step7.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -3,15 +3,15 @@
<include href="test-step7-screen2.lzx"/>
<handler name="oninit">
- var upddel = new LzDelegate(LzBrowser, 'updateAccessibility');
- LzTimer.addTimer(upddel, 500);
+ var upddel = new LzDelegate(lz.Browser, 'updateAccessibility');
+ lz.Timer.addTimer(upddel, 500);
</handler>
<method name="nextscreen">
text2_1.setText(itext1_1.getText());
text2_4.setText(itext1_3.getText());
s2.setAttribute("visible", true);
s1.setAttribute("visible", false);
- LzBrowser.updateAccessibility();
+ lz.Browser.updateAccessibility();
</method>
<screen1 name="s1" visible="true"/>
@@ -19,7 +19,7 @@
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2006-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/charts/linechart/test_line_07.lzx
===================================================================
--- openlaszlo/trunk/test/charts/linechart/test_line_07.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/charts/linechart/test_line_07.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,6 +1,6 @@
<!-- * X_LZ_COPYRIGHT_BEGIN
***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved.
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
* Use is subject to license terms.
* X_LZ_COPYRIGHT_END
****************************************************** -->
@@ -43,4 +43,4 @@
y="40" bgcolor="0xEEEEE0" chart="${lnchart}" borderColor="0xA0A0A0" borderWidth="1"/>
</linechart>
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/client_availability.lzx
===================================================================
--- openlaszlo/trunk/test/client_availability.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/client_availability.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -443,7 +443,7 @@
</view> <!-- name=viewPicker -->
- <handler name="onkeyup" reference="LzKeys" args="k">
+ <handler name="onkeyup" reference="lz.Keys" args="k">
if ( k == 13 ) {
bSend.handler();
}
@@ -496,7 +496,7 @@
this.parent.shs.animate('rotation',6,800,true);
// Checks the time every second
- LzTimer.addTimer( del, 1000 );
+ lz.Timer.addTimer( del, 1000 );
</method>
</view>
Modified: openlaszlo/trunk/test/client_availability_nopc.lzx
===================================================================
--- openlaszlo/trunk/test/client_availability_nopc.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/client_availability_nopc.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -269,7 +269,7 @@
</view> <!-- viewChat -->
- <handler name="onkeyup" reference="LzKeys" args="k">
+ <handler name="onkeyup" reference="lz.Keys" args="k">
if ( k == 13 ) {
bSend.handler();
}
@@ -325,7 +325,7 @@
this.parent.shs.animate('rotation',6,800,true);
// Checks the time every second
- LzTimer.addTimer( del, 1000 );
+ lz.Timer.addTimer( del, 1000 );
</method>
</view>
Modified: openlaszlo/trunk/test/coal/test-static.lzx
===================================================================
--- openlaszlo/trunk/test/coal/test-static.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/coal/test-static.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,8 +1,8 @@
-<!-- Copyright 2007 Laszlo Systems -->
+<!-- Copyright 2007-2008 Laszlo Systems -->
<canvas>
<!-- based on diamond/client/framework/placementlayout.lzx -->
<script>
var o = {};
o.static = null; // this line gives a compilation error: test-static.lzx:7:11: Syntax error: the token "static" was not expected at this position.
</script>
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/components/base/lzunit-basedatacombobox.lzx
===================================================================
--- openlaszlo/trunk/test/components/base/lzunit-basedatacombobox.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/components/base/lzunit-basedatacombobox.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -13,7 +13,7 @@
<attribute name="_cbtext" value="$once{this._text}"/>
<view width="100%" height="20" focusable="false" bgcolor="#CCCCCC">
<handler name="onclick">
- LzFocus.setFocus(this,false);
+ lz.Focus.setFocus(this,false);
classroot.toggle()
</handler>
<handler name="onmouseout">
Modified: openlaszlo/trunk/test/components/incubator/test-roundrect.lzx
===================================================================
--- openlaszlo/trunk/test/components/incubator/test-roundrect.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/components/incubator/test-roundrect.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,9 +1,9 @@
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2007-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
<canvas>
<include href="incubator/roundrect.lzx" />
<roundrect height="20" />
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/components/incubator/test-roundrectbutton-simple.lzx
===================================================================
--- openlaszlo/trunk/test/components/incubator/test-roundrectbutton-simple.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/components/incubator/test-roundrectbutton-simple.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,9 +1,9 @@
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2007-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
<canvas>
<include href="incubator/roundrectbutton.lzx" />
<roundrectbutton text="eepish" height="20" />
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/components/lz/leak-components.lzx
===================================================================
--- openlaszlo/trunk/test/components/lz/leak-components.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/components/lz/leak-components.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -14,12 +14,12 @@
this.numtimes = 0;
this.itemclassname = whichclass;
</method>
- <handler name="onidle" reference="LzIdle"> <![CDATA[
+ <handler name="onidle" reference="lz.Idle"> <![CDATA[
if (start && (this.numtimes < this.limit || this.numitems>0)) {
if (this.numitems == 0) {
for (var i=0; i < 10; i ++) {
//itemlist[i] = new button(canvas, {text:'title', y:i*24, x:200});
- this.itemlist[i] = new global[this.itemclassname](canvas, {bgcolor:0x006600,
+ this.itemlist[i] = new lz[this.itemclassname](canvas, {bgcolor:0x006600,
width:100, height:22, y:i*24, x:300});
this.numitems ++;
}
Modified: openlaszlo/trunk/test/components/lz/leak-listitems.lzx
===================================================================
--- openlaszlo/trunk/test/components/lz/leak-listitems.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/components/lz/leak-listitems.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -14,7 +14,7 @@
this.numtimes = 0;
this.itemclassname = whichclass;
</method>
- <handler name="onidle" reference="LzIdle"> <![CDATA[
+ <handler name="onidle" reference="lz.Idle"> <![CDATA[
if (start && (this.numtimes < this.limit || this.numitems>0)) {
if (this.numitems == 0) {
for (var i=0; i < 10; i ++) {
Modified: openlaszlo/trunk/test/components/lz/slider/slider.lzx
===================================================================
--- openlaszlo/trunk/test/components/lz/slider/slider.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/components/lz/slider/slider.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -19,7 +19,7 @@
this.layout.lock();
for(var i = 0; i < this.numticks; i++)
{
- new tick(this);
+ new lz.tick(this);
}
this.layout.unlock();
]]>
Modified: openlaszlo/trunk/test/components/lz/test-combo-mode.lzx
===================================================================
--- openlaszlo/trunk/test/components/lz/test-combo-mode.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/components/lz/test-combo-mode.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -52,7 +52,7 @@
<!-- CANCEL BUTTON -->
<button x="65" y="80">Cancel
<handler name="onclick">
- LzModeManager.release( this.parent );
+ lz.ModeManager.release( this.parent );
this.parent.setBGColor(null);
</handler>
</button>
@@ -60,7 +60,7 @@
<!-- Save -->
<button name="Save" x="145" y="80">Make Modal
<handler name="onclick">
- LzModeManager.makeModal( this.parent );
+ lz.ModeManager.makeModal( this.parent );
this.parent.setBGColor(yellow);
</handler>
</button>
Modified: openlaszlo/trunk/test/components/lz/windowgrid.lzx
===================================================================
--- openlaszlo/trunk/test/components/lz/windowgrid.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/components/lz/windowgrid.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -153,7 +153,7 @@
<handler name="oninit">
del = new LzDelegate(this, "deleteSel" );
- LzKeys.callOnKeyCombo(del, ["delete"]);
+ lz.Keys.callOnKeyCombo(del, ["delete"]);
</handler>
<method name="deleteSel">
Modified: openlaszlo/trunk/test/connection/history/historylib.lzx
===================================================================
--- openlaszlo/trunk/test/connection/history/historylib.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/connection/history/historylib.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -205,7 +205,7 @@
</view>
- <handler name="onkeyup" reference="LzKeys" args="k">
+ <handler name="onkeyup" reference="lz.Keys" args="k">
if ( k == 13 ) {
canvas.enterfocus.send();
}
Modified: openlaszlo/trunk/test/connection/noauth/noauthlib.lzx
===================================================================
--- openlaszlo/trunk/test/connection/noauth/noauthlib.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/connection/noauth/noauthlib.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -7,7 +7,7 @@
<library>
- <handler name="onkeyup" reference="LzKeys" args="k">
+ <handler name="onkeyup" reference="lz.Keys" args="k">
if ( k == 13 ) {
bSend.send();
}
Modified: openlaszlo/trunk/test/constraints.lzx
===================================================================
--- openlaszlo/trunk/test/constraints.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/constraints.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -32,7 +32,7 @@
};
Debug.write("Expected '[object a],b,[object c],d,f.dependencies,12,14'");
Debug.write("got: ", test.dependencies());
- Debug.write("Expected 'LzIdle,onidle'");
+ Debug.write("Expected 'lz.Idle,onidle'");
Debug.write("got: ", LzView.prototype.getMouse.dependencies());
</script>
</canvas>
Modified: openlaszlo/trunk/test/cursors.lzx
===================================================================
--- openlaszlo/trunk/test/cursors.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/cursors.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -9,17 +9,17 @@
<resource name="wait" src="resources/png/cursor_wait.png"/>
<simplelayout spacing="10"/>
- <button onclick="LzCursor.showHandCursor(true)">Change default cursor for all buttons to hand (on by default)</button>
- <button onclick="LzCursor.showHandCursor(false)">Change default cursor for all buttons to default</button>
- <button onclick="LzCursor.setCursorGlobal('crosshair')">Turn on crosshairs</button>
- <button onclick="LzCursor.unlock()">Turn off crosshairs</button>
+ <button onclick="lz.Cursor.showHandCursor(true)">Change default cursor for all buttons to hand (on by default)</button>
+ <button onclick="lz.Cursor.showHandCursor(false)">Change default cursor for all buttons to default</button>
+ <button onclick="lz.Cursor.setCursorGlobal('crosshair')">Turn on crosshairs</button>
+ <button onclick="lz.Cursor.unlock()">Turn off crosshairs</button>
<view bgcolor="red" showhandcursor="false" clickable="true"><text>showhandcursor is false</text></view>
<view bgcolor="green" showhandcursor="true" clickable="true"><text>showhandcursor is true</text></view>
<view bgcolor="yellow" cursor="wait" clickable="true"><text>cursor is 'wait'</text></view>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/dhtml/testDHTML.lzx
===================================================================
--- openlaszlo/trunk/test/dhtml/testDHTML.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/dhtml/testDHTML.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -2,9 +2,9 @@
<view bgcolor="teal" height="80" width="${canvas.width}">
<simplelayout axis="x" spacing="20"/>
<button onclick="textBelow.setVisible( true ) ">Click me</button>
- <button onclick="LzBrowser.loadURL('javascript:positionHTMLArea(100, 100)')"
+ <button onclick="lz.Browser.loadURL('javascript:positionHTMLArea(100, 100)')"
text="Reposition HTML"/>
- <button onclick="LzBrowser.loadURL('javascript:setClippingRegion( 10, 250, 300, 80)')"
+ <button onclick="lz.Browser.loadURL('javascript:setClippingRegion( 10, 250, 300, 80)')"
text="Clip HTML"/>
</view>
@@ -13,6 +13,6 @@
</view>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/doubleclick.lzx
===================================================================
--- openlaszlo/trunk/test/doubleclick.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/doubleclick.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -13,7 +13,7 @@
doClick();
}
this.clicks++;
- LzTimer.addTimer(this.dblDel, 300);
+ lz.Timer.addTimer(this.dblDel, 300);
</handler>
<method name="clearClicks">
this.clicks=0;
Modified: openlaszlo/trunk/test/drawing/draggrad.lzx
===================================================================
--- openlaszlo/trunk/test/drawing/draggrad.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/drawing/draggrad.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -7,7 +7,7 @@
<attribute name="x1" type="number" value="75"/>
<attribute name="y1" type="number" value="75"/>
<attribute name="isRadial" type="boolean" value="true"/>
- <handler name="onidle" reference="LzIdle">
+ <handler name="onidle" reference="lz.Idle">
this.clear();
this.beginPath();
this.lineTo(this.width, 0);
Modified: openlaszlo/trunk/test/drawing/draw_rand.lzx
===================================================================
--- openlaszlo/trunk/test/drawing/draw_rand.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/drawing/draw_rand.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -48,12 +48,12 @@
<attribute name="iter" init="0"/>
-<handler name="onidle" reference="LzIdle">
+<handler name="onidle" reference="lz.Idle">
var myx=800*Math.random();
var myy=20 + 580*Math.random();
this.setAttribute("iter", ++this.iter);
parent.goo.setText("I:"+this.iter);
- var blah=new randView( null,{ width : (800 - myx)*Math.random(),
+ var blah=new lz.randView( null,{ width : (800 - myx)*Math.random(),
height : (580 - myy) * Math.random() ,
bgcolor : parseInt(0xffffff)*Math.random(),
//opacity : math.random(),
@@ -64,7 +64,7 @@
x:myx
});
del = new LzDelegate ( blah, "deleteNode");
- LzTimer.addTimer(del, 1000 );
+ lz.Timer.addTimer(del, 1000 );
</handler>
</view>
<text name="goo"/>
Modified: openlaszlo/trunk/test/drawing/line_play.lzx
===================================================================
--- openlaszlo/trunk/test/drawing/line_play.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/drawing/line_play.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -21,7 +21,7 @@
<handler name="oninit"><![CDATA[
for (var i=0; i != 360 ; i+=10){
- new doLine(canvas, {length: 100, startx: 100, starty:100, slope: i});
+ new lz.doLine(canvas, {length: 100, startx: 100, starty:100, slope: i});
}
]]>
</handler>
Modified: openlaszlo/trunk/test/drawing/many_lines.lzx
===================================================================
--- openlaszlo/trunk/test/drawing/many_lines.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/drawing/many_lines.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -22,12 +22,12 @@
<view onmousedown="this.dragger.apply()" onmouseup="this.dragger.remove()" bgcolor="green" width="${parent.width}" height="${parent.height}">
<dragstate name="dragger"/>
<attribute name="i" init="0"/>
-<handler name="onidle" reference="LzIdle">
+<handler name="onidle" reference="lz.Idle">
var myx=800*math.random();
var myy=20 + 580*math.random();
this.setAttribute("i", ++i);
parent.goo.setText("I:"+i);
- var blah=new drawme( this,{ width : (800 - myx)*math.random(),
+ var blah=new lz.drawme( this,{ width : (800 - myx)*math.random(),
height : (580 - myy) * math.random() ,
//bgcolor : parseInt(0xffffff)*math.random(),
//opacity : math.random(),
Modified: openlaszlo/trunk/test/drawing/many_points.lzx
===================================================================
--- openlaszlo/trunk/test/drawing/many_points.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/drawing/many_points.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -30,32 +30,32 @@
<simplelayout/>
<button>100 Lines
<handler name="onclick">
- new drawLines( canvas,{ it : 100, x:100 });
+ new lz.drawLines( canvas,{ it : 100, x:100 });
</handler>
</button>
<button>1000 Lines
<handler name="onclick">
- new drawLines( canvas,{ it : 1000, x:100, y:200});
+ new lz.drawLines( canvas,{ it : 1000, x:100, y:200});
</handler>
</button>
<button>10000 Lines
<handler name="onclick">
- new drawLines( canvas,{ it : 10000, x:100, y:400 });
+ new lz.drawLines( canvas,{ it : 10000, x:100, y:400 });
</handler>
</button>
<button>100 Rand
<handler name="onclick">
- new randOnly( canvas,{ it : 100, x:300 });
+ new lz.randOnly( canvas,{ it : 100, x:300 });
</handler>
</button>
<button>1000 Rand
<handler name="onclick">
- new randOnly( canvas,{ it : 1000, x:300, y:200});
+ new lz.randOnly( canvas,{ it : 1000, x:300, y:200});
</handler>
</button>
<button>10000 Rand
<handler name="onclick">
- new randOnly( canvas,{ it : 10000, x:300, y:400 });
+ new lz.randOnly( canvas,{ it : 10000, x:300, y:400 });
</handler>
</button>
</view>
Modified: openlaszlo/trunk/test/events/handler.lzx
===================================================================
--- openlaszlo/trunk/test/events/handler.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/events/handler.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -27,7 +27,7 @@
}
var mydel = new LzDelegate(myclosure, 'checkfoo');
- LzTimer.addTimer(mydel,300);
+ lz.Timer.addTimer(mydel,300);
]]>
@@ -50,7 +50,7 @@
}
var mydel = new LzDelegate(myclosure, 'checkfoo');
- LzTimer.addTimer(mydel,300);
+ lz.Timer.addTimer(mydel,300);
]]>
@@ -80,7 +80,7 @@
}
var mydel = new LzDelegate(myclosure, 'checkfoo');
- LzTimer.addTimer(mydel,300);
+ lz.Timer.addTimer(mydel,300);
]]>
@@ -99,7 +99,7 @@
}
}
var mydel = new LzDelegate(myclosure, 'sendonblah');
- LzTimer.addTimer(mydel,100);
+ lz.Timer.addTimer(mydel,100);
</handler>
@@ -128,7 +128,7 @@
}
var mydel = new LzDelegate(myclosure, 'checkfoo');
- LzTimer.addTimer(mydel,400);
+ lz.Timer.addTimer(mydel,400);
]]>
@@ -147,6 +147,6 @@
</TestSuite>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/future/soapdata.lzx
===================================================================
--- openlaszlo/trunk/test/future/soapdata.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/future/soapdata.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -22,7 +22,7 @@
<frame src="resources/swf/logo.swf" />
</resource>
- <class name="link" extends="text" fgcolor="blue" clickable="true" onmouseup="LzBrowser.loadURL(getText(), '_new')"/>
+ <class name="link" extends="text" fgcolor="blue" clickable="true" onmouseup="lz.Browser.loadURL(getText(), '_new')"/>
<class name="searchresult" extends="view" height="40" bgcolor="#ffffff" oninit="setColor()">
<text y="8" height="14" name="snippet" width="640" datapath="snippet/text()"/>
Modified: openlaszlo/trunk/test/handcursor.lzx
===================================================================
--- openlaszlo/trunk/test/handcursor.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/handcursor.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,7 +1,7 @@
<canvas debug="true" layout="axis:y; spacing: 5">
<checkbox value="true">Global hand cursor
<handler name="onvalue" args="v">
- LzCursor.showHandCursor(v);
+ lz.Cursor.showHandCursor(v);
</handler>
</checkbox>
<button showhandcursor="false">Toggle hand cursor
Modified: openlaszlo/trunk/test/history/history.lzx
===================================================================
--- openlaszlo/trunk/test/history/history.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/history/history.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,18 +1,18 @@
<canvas>
<simplelayout/>
- <text text="${LzHistory.offset}"/>
+ <text text="${lz.History.offset}"/>
<attribute name="foo" value="null"/>
<attribute name="bar" value="null"/>
<handler name="onfoo" args="f">
Debug.write('external call', f);
</handler>
<handler name="oninit">
- LzHistory.setPersist(true);
+ lz.History.setPersist(true);
</handler>
<class name="histinputtext" extends="inputtext">
<handler name="onblur">
- LzHistory.save(this.id, 'text', this.getText())
+ lz.History.save(this.id, 'text', this.getText())
</handler>
</class>
<histinputtext id="hist1">A value</histinputtext>
@@ -21,13 +21,13 @@
<text text="${canvas.bar}"/>
<view layout="axis: x">
- <button onclick="LzHistory.prev()">Prev</button>
- <button onclick="LzHistory.next()">Next</button>
- <button onclick="LzHistory.commit()">Save</button>
- <button onclick="LzHistory.clear()">Clear all</button>
+ <button onclick="lz.History.prev()">Prev</button>
+ <button onclick="lz.History.next()">Next</button>
+ <button onclick="lz.History.commit()">Save</button>
+ <button onclick="lz.History.clear()">Clear all</button>
</view>
- <button onclick="LzBrowser.loadJS('alert(\'hi folks!\');')">Call javaScript alert in browser</button>
+ <button onclick="lz.Browser.loadJS('alert(\'hi folks!\');')">Call javaScript alert in browser</button>
<!--view id="history">
<attribute name="persist" value="false"/>
@@ -40,12 +40,12 @@
if (! this._persistso) {
var lu = LZBrowser.getLoadUrlAsLzUrl();
lu.query = null;
- this._persistso = LzBrowser.getPersist('historystate');
+ this._persistso = lz.Browser.getPersist('historystate');
}
//this.__lzhistq = this._persistso.data;
}
</handler>
- <handler name="onhistory" args="o" reference="LzBrowser">
+ <handler name="onhistory" args="o" reference="lz.Browser">
//Debug.write('onhistory ', o);
o *= 1;
if (! o) o = 0;
@@ -77,7 +77,7 @@
if (! this._persistso) {
var lu = LZBrowser.getLoadUrlAsLzUrl();
lu.query = null;
- this._persistso = LzBrowser.getPersist('historystate');
+ this._persistso = lz.Browser.getPersist('historystate');
}
//Debug.write('_persistso: ', this._persistso);
//this._persistso.data = this.__lzhistq;
@@ -92,7 +92,7 @@
var o = this.offset + by;
if (0 >= o) o = 0;
//Debug.write('Move to: ', o);
- if (this.__lzhistq.length >= o) LzBrowser.setHistory(o);
+ if (this.__lzhistq.length >= o) lz.Browser.setHistory(o);
</method>
<method name="next">
this.move(1);
Modified: openlaszlo/trunk/test/i18n/validate-jp.lzx
===================================================================
--- openlaszlo/trunk/test/i18n/validate-jp.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/i18n/validate-jp.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -4,7 +4,7 @@
<simplelayout axis="y"/>
<edittext name="ed" >
- <handler name="onkeydown" reference="LzKeys" args="keycode">
+ <handler name="onkeydown" reference="lz.Keys" args="keycode">
<);
+ new lz[ this.newclass ]( this.content, this.newattrs ));
}]]>
</method>
<method name="deleteIt"><);
+ new lz[ this.newclass ]( this.content, this.newattrs ));
}]]>
</method>
<method name="deleteIt"><![CDATA[
@@ -413,12 +413,12 @@
var offset = Math.floor( this.getMouse( 'x' ) ) - 0.5;
this.dragc = new LzMouseConstraint( this ,
{ prop : 'x', offset:-offset } );
- LzCursor.lock();
+ lz.Cursor.lock();
</method>
<method name="stopDrag">
this.dragc.release();
- LzCursor.unlock();
+ lz.Cursor.unlock();
</method>
</class>
<view height="100">
Modified: openlaszlo/trunk/test/leak/view_leaks.lzx
===================================================================
--- openlaszlo/trunk/test/leak/view_leaks.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/leak/view_leaks.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,12 +1,12 @@
<canvas width="800" height="600">
<view>
<attribute name="i" value="0"/>
-<handler name="onidle" reference="LzIdle">
+<handler name="onidle" reference="lz.Idle">
var myx=800*Math.random();
var myy=20 + 580*Math.random();
this.setAttribute("i", ++i);
parent.goo.setText("I:"+i);
- var blah=new LzView( null,{ width : (800 - myx)*Math.random(),
+ var blah=new lz.view( null,{ width : (800 - myx)*Math.random(),
height : (580 - myy) * Math.random() ,
bgcolor : parseInt(0xffffff)*Math.random(),
//opacity : Math.random(),
@@ -17,7 +17,7 @@
x:myx
});
del = new LzDelegate ( blah, "destroy");
- LzTimer.addTimer(del, 1000 );
+ lz.Timer.addTimer(del, 1000 );
</handler>
</view>
<text name="goo"/>
@@ -44,7 +44,7 @@
parent.goo.setText("I:"+i);
var myx=800*math.random();
var myy=20 + 580*math.random();
- blah=new LzView( null,{ width : (800 - myx)*math.random(),
+ blah=new lz.view( null,{ width : (800 - myx)*math.random(),
height : (580 - myy) * math.random() ,
bgcolor : parseInt(0xffffff)*math.random(),
//opacity : math.random(),
@@ -53,17 +53,17 @@
x:myx
});
//blah.deleteNode();
- LzTimer.addTimer( del, 0 );
- LzTimer.addTimer( del2, 10 );
+ lz.Timer.addTimer( del, 0 );
+ lz.Timer.addTimer( del2, 10 );
</method>
- <handler name="onidle" reference="LzIdle" method="OI"/>
+ <handler name="onidle" reference="lz.Idle" method="OI"/>
<method name="OI">
var myx=800*math.random();
var myy=20 + 580*math.random();
this.setAttribute("i", ++i);
parent.goo.setText("I:"+i);
- var blah=new LzView( null,{ width : (800 - myx)*math.random(),
+ var blah=new lz.view( null,{ width : (800 - myx)*math.random(),
height : (580 - myy) * math.random() ,
bgcolor : parseInt(0xffffff)*math.random(),
//opacity : math.random(),
@@ -74,7 +74,7 @@
x:myx
});
var goo=new LzDelegate ( this, blah.setAttribute("height",10));
- LzTimer.addTimer( goo , 100 );
+ lz.Timer.addTimer( goo , 100 );
</method>
</view>-->
Modified: openlaszlo/trunk/test/leak/windowLeak.lzx
===================================================================
--- openlaszlo/trunk/test/leak/windowLeak.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/leak/windowLeak.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -5,7 +5,7 @@
<button>make 'em all
<handler name="onclick">
for ( var i=0; i!=30;++i){
- new foo( canvas,{ width : 200,
+ new lz.foo( canvas,{ width : 200,
height : 200 ,
y: i*10,
x: i*10,
Modified: openlaszlo/trunk/test/lfc/classroot.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/classroot.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/classroot.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -5,7 +5,7 @@
<!-- Laszlo Application Language (LZX) Example -->
<!-- -->
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!--=======================================================================-->
Modified: openlaszlo/trunk/test/lfc/data/datapointer.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/datapointer.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/datapointer.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -36,7 +36,7 @@
if ( this.waitcnt++ > 2000 ){
fail( "datapointer: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
}
Modified: openlaszlo/trunk/test/lfc/data/datapointerServerless.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/datapointerServerless.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/datapointerServerless.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -23,7 +23,7 @@
if ( this.waitcnt++ > 2000 ){
fail( "datapointerServerless: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
}
Modified: openlaszlo/trunk/test/lfc/data/dataprovider-datacheck.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/dataprovider-datacheck.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/dataprovider-datacheck.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -87,6 +87,6 @@
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
-* X_LZ_COPYRIGHT_END ****************************************************** -->
\ No newline at end of file
+* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/data/dataprovider-multirequest.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/dataprovider-multirequest.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/dataprovider-multirequest.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -85,6 +85,6 @@
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
-* X_LZ_COPYRIGHT_END ****************************************************** -->
\ No newline at end of file
+* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/data/hardupdate.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/hardupdate.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/hardupdate.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -24,15 +24,15 @@
var anode = testdat.getFirstChild();
anode.appendChild( new LzDataElement( 'r' ) );
assertEquals( 4, par.subviews.length );
- Debug.write ( (new LzDatapointer()).xpathQuery(
+ Debug.write ( (new lz.datapointer()).xpathQuery(
"testdat:/a[1]/*/../../a/name()" ).length );
testdat.appendChild( new LzDataElement( 'r' ) );
- Debug.write ( (new LzDatapointer()).xpathQuery(
+ Debug.write ( (new lz.datapointer()).xpathQuery(
"testdat:/a[1]/*/../../a/name()" ).length );
assertEquals( 4, par.subviews.length );
var nde = new LzDataElement( 'a' );
testdat.appendChild( nde );
- Debug.write ( (new LzDatapointer()).xpathQuery(
+ Debug.write ( (new lz.datapointer()).xpathQuery(
"testdat:/a[1]/*/../../a/name()" ).length );
assertEquals( 8, par.subviews.length );
</method>
@@ -40,6 +40,6 @@
</TestSuite>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/data/namespace-solo.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/namespace-solo.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/namespace-solo.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -25,7 +25,7 @@
if ( this.waitcnt++ > 2000 ){
fail( "namespace-solo: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
}
@@ -66,6 +66,6 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/data/namespace.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/namespace.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/namespace.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -55,7 +55,7 @@
if ( this.waitcnt++ > 2000 ){
fail( "namespace: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
}
@@ -120,6 +120,6 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/data/nonpoolingoptimization.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/nonpoolingoptimization.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/nonpoolingoptimization.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -49,7 +49,7 @@
</view>
- <handler name="onkeyup" reference="LzKeys" args="k">
+ <handler name="onkeyup" reference="lz.Keys" args="k">
if ( k == 13 ) {
send.enter();
}
Modified: openlaszlo/trunk/test/lfc/data/sendheaders.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/sendheaders.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/sendheaders.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -23,7 +23,7 @@
if ( this.waitcnt++ > 100 ){
fail( "sendheaders: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
}
@@ -49,6 +49,6 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/data/stringxml.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/stringxml.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/stringxml.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -34,6 +34,6 @@
</TestSuite>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
-* X_LZ_COPYRIGHT_END ****************************************************** -->
\ No newline at end of file
+* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/data/testclientcachebreaker.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testclientcachebreaker.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/testclientcachebreaker.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -36,7 +36,7 @@
if ( this.waitcnt++ > 720 ){
fail( "testclinetcachebreaker: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
}
@@ -57,7 +57,7 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/data/testgetmethod.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testgetmethod.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/testgetmethod.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -36,7 +36,7 @@
if ( this.waitcnt++ > 1000 ){
fail( "testgetmethod: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
Modified: openlaszlo/trunk/test/lfc/data/testgetmethodsolo.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testgetmethodsolo.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/testgetmethodsolo.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -36,7 +36,7 @@
if ( this.waitcnt++ > 1000 ){
fail( "testgetmethodsolo: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
Modified: openlaszlo/trunk/test/lfc/data/testheaderresponse.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testheaderresponse.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/testheaderresponse.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -35,7 +35,7 @@
if ( this.waitcnt++ > 2000 ){
fail( "testheaderresponse: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
}
Modified: openlaszlo/trunk/test/lfc/data/testhttpdata.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testhttpdata.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/testhttpdata.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -240,7 +240,7 @@
parent.img.loadImg( "matrix",
"http:../../../sample-apps/dashboard/media/video/matrix.swf");
var d = new LzDelegate( parent.img , "unload" );
- LzTimer.addTimer( d , 1000 );
+ lz.Timer.addTimer( d , 1000 );
</handler>
</button>
<checkbox name="ccheck">cache in client</checkbox>
Modified: openlaszlo/trunk/test/lfc/data/testpostmethod.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testpostmethod.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/testpostmethod.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -36,7 +36,7 @@
if ( this.waitcnt++ > 1000 ){
fail( "testgetmethodsolo: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
Modified: openlaszlo/trunk/test/lfc/data/testpostmethodsolo.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testpostmethodsolo.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/testpostmethodsolo.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -36,7 +36,7 @@
if ( this.waitcnt++ > 1000 ){
fail( "testgetmethodsolo: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
Modified: openlaszlo/trunk/test/lfc/data/testput.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testput.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/testput.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -40,7 +40,7 @@
if ( this.waitcnt++ > 2000 ){
fail( "testput: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
}
@@ -59,7 +59,7 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/data/testrawpost-solo.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testrawpost-solo.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/testrawpost-solo.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -40,7 +40,7 @@
if ( this.waitcnt++ > 2000 ){
fail( "testrawpost-solo: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
}
@@ -58,7 +58,7 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/data/testrawpost.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testrawpost.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/testrawpost.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -34,7 +34,7 @@
if ( this.waitcnt++ > 2000 ){
fail( "testrawpost: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
}
@@ -52,7 +52,7 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/data/testsetheaders-solo.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testsetheaders-solo.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/testsetheaders-solo.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -38,7 +38,7 @@
if ( this.waitcnt++ > 100 ){
fail( "testsetheaders: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
Modified: openlaszlo/trunk/test/lfc/data/testsetheaders.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testsetheaders.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/testsetheaders.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -37,7 +37,7 @@
if ( this.waitcnt++ > 1000 ){
fail( "testsetheaders: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
Modified: openlaszlo/trunk/test/lfc/data/whitespace.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/whitespace.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/data/whitespace.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -38,7 +38,7 @@
if ( this.waitcnt++ > 2000 ){
fail( "whitespace: Didn't get async data" );
} else {
- LzIdle.callOnIdle( this.t2del );
+ lz.Idle.callOnIdle( this.t2del );
}
return;
}
@@ -80,6 +80,6 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/forcereplication.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/forcereplication.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/forcereplication.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -27,7 +27,7 @@
</button>
<button> Poke replicated data
<handler name="onclick">
- var dp = new LzDatapointer( );
+ var dp = new lz.datapointer( );
dp.setPointer( parent.replParent.subviews[ 1 ].datapath.p );
dp.setNodeText( dp.getNodeText() + "+" );
dp.setPointer( parent.replParent.subviews[ 3 ].datapath.p );
@@ -58,7 +58,7 @@
</button>
<button> Poke replicated data
<handler name="onclick">
- var dp = new LzDatapointer( );
+ var dp = new lz.datapointer( );
dp.setPointer( parent.replParent.subviews[ 0 ].datapath.p );
dp.setNodeText( dp.getNodeText() + "+" );
dp.setPointer( parent.replParent.subviews[ 1 ].datapath.p );
@@ -101,7 +101,7 @@
</button>
<button> Poke replicated data
<handler name="onclick">
- var dp = new LzDatapointer( );
+ var dp = new lz.datapointer( );
dp.setPointer( parent.replParent.subviews[ 0 ].datapath.p );
dp.setNodeText( dp.getNodeText() + "+" );
dp.setPointer( parent.replParent.subviews[ 1 ].datapath.p );
Modified: openlaszlo/trunk/test/lfc/handcursor.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/handcursor.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/handcursor.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -4,13 +4,13 @@
<text width="100" align="center" valign="middle"
multiline="true">show hand cursor onclick</text>
<handler name="onclick">
- LzCursor.showHandCursor(true);
+ lz.Cursor.showHandCursor(true);
</handler>
</view>
<view width="100" height="100" bgcolor="red">
<text width="100" align="center" valign="middle">hide hand cursor onclick</text>
<handler name="onclick">
- LzCursor.showHandCursor(false);
+ lz.Cursor.showHandCursor(false);
</handler>
</view>
<view width="100" height="100" bgcolor="yellow">
Modified: openlaszlo/trunk/test/lfc/inittest.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/inittest.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/inittest.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -2,7 +2,7 @@
<simplelayout/>
<handler name="oninit" reference="canvas">
var d = new LzDelegate( timef , "tellTime" );
- LzIdle.callOnIdle( d );
+ lz.Idle.callOnIdle( d );
this.bringToFront();
//created nodes doesn't account for nodes created from script,
//so it isn't good for apps that make vnnodes from script
Modified: openlaszlo/trunk/test/lfc/legals/flicktest.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/flicktest.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/legals/flicktest.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -27,7 +27,7 @@
var xpad = 12;
var ypad = 30;
if (dset.lastloaded) dset.lastloaded.animate('opacity', 0, 500);
- dset.lastloaded = new LzView(canvas, {y: 20, width: 1000, height: 1000});
+ dset.lastloaded = new lz.view(canvas, {y: 20, width: 1000, height: 1000});
for (var j = 0; j < 5; j++) {
for (var i = 0; i < 4; i++) {
var photo = photos.childNodes[(j * rows) + i];
@@ -40,8 +40,8 @@
var id = photo.getAttr('id');
var url = this.getPhoto(server, id, secret, 't');
// the only switch for swf or dhtml runtime I could think of at the moment
- new imgfader( dset.lastloaded, { width: dim, height: dim, resource: url, y: y, x: x});
- //new LzText(canvas, { width: dim, height: dim, text: title, y: y+100, x: x});
+ new lz.imgfader( dset.lastloaded, { width: dim, height: dim, resource: url, y: y, x: x});
+ //new lz.text(canvas, { width: dim, height: dim, text: title, y: y+100, x: x});
}
}
}
Modified: openlaszlo/trunk/test/lfc/legals/idle.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/idle.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/legals/idle.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -7,7 +7,7 @@
<canvas>
<text>
- <handler name="onidle" reference="LzIdle">
+ <handler name="onidle" reference="lz.Idle">
this.setText(new Date());
</handler>
</text>
Modified: openlaszlo/trunk/test/lfc/legals/initarg.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/initarg.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/legals/initarg.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -8,7 +8,7 @@
<text width="400" multiline="true" height="40">Add a variable named qs to the browser url and its value should appear below</text>
<text name="foo"/>
<handler name="oninit">
- foo.setText( LzBrowser.getInitArg( "qs" ) );
+ foo.setText( lz.Browser.getInitArg( "qs" ) );
</handler>
<simplelayout/>
</canvas>
Modified: openlaszlo/trunk/test/lfc/legals/inline-data.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/inline-data.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/legals/inline-data.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,7 +1,7 @@
<canvas width="1200" height="600" proxied='false'>
<!--
/* X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ******************************************************/
-->
@@ -21,7 +21,7 @@
var txt = child.childNodes[0].nodeValue;
debug('txt = ', txt);
LzFactory.create(LzText, canvas, { width: 200, text: txt, y: y});
-// new LzText(canvas, { width: 200, text: txt, y: y});
+// new lz.text(canvas, { width: 200, text: txt, y: y});
}
}
]]>
Modified: openlaszlo/trunk/test/lfc/legals/keyboardandmouse.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/keyboardandmouse.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/legals/keyboardandmouse.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -25,25 +25,25 @@
<view>
<simplelayout/>
<text text="global mouse events turn green"/>
- <eventtester eventname="onmousedown" reference="LzGlobalMouse"/>
- <eventtester eventname="onmouseup" reference="LzGlobalMouse"/>
- <eventtester eventname="onmouseover" reference="LzGlobalMouse"/>
- <eventtester eventname="onmouseout" reference="LzGlobalMouse"/>
- <eventtester eventname="onclick" reference="LzGlobalMouse"/>
- <eventtester eventname="ondblclick" reference="LzGlobalMouse"/>
- <eventtester eventname="onmousedragin" reference="LzGlobalMouse"/>
- <eventtester eventname="onmousedragout" reference="LzGlobalMouse"/>
- <eventtester eventname="onmouseupoutside" reference="LzGlobalMouse"/>
- <eventtester eventname="onmousemove" reference="LzGlobalMouse" verbose="false"/>
+ <eventtester eventname="onmousedown" reference="lz.GlobalMouse"/>
+ <eventtester eventname="onmouseup" reference="lz.GlobalMouse"/>
+ <eventtester eventname="onmouseover" reference="lz.GlobalMouse"/>
+ <eventtester eventname="onmouseout" reference="lz.GlobalMouse"/>
+ <eventtester eventname="onclick" reference="lz.GlobalMouse"/>
+ <eventtester eventname="ondblclick" reference="lz.GlobalMouse"/>
+ <eventtester eventname="onmousedragin" reference="lz.GlobalMouse"/>
+ <eventtester eventname="onmousedragout" reference="lz.GlobalMouse"/>
+ <eventtester eventname="onmouseupoutside" reference="lz.GlobalMouse"/>
+ <eventtester eventname="onmousemove" reference="lz.GlobalMouse" verbose="false"/>
</view>
<view>
<simplelayout/>
<text text="keyboard events turn green"/>
- <eventtester eventname="onkeydown" reference="LzKeys"/>
- <eventtester eventname="onkeyup" reference="LzKeys"/>
- <eventtester eventname="onkeydown" reference="LzKeys" label="Shift key down" test="function (k) { if (k == 16) return true; }"/>
- <eventtester eventname="onkeydown" reference="LzKeys" label="Control key down" test="function (k) { if (k == 17) return true; }"/>
- <eventtester eventname="onmousewheeldelta" reference="LzKeys">
+ <eventtester eventname="onkeydown" reference="lz.Keys"/>
+ <eventtester eventname="onkeyup" reference="lz.Keys"/>
+ <eventtester eventname="onkeydown" reference="lz.Keys" label="Shift key down" test="function (k) { if (k == 16) return true; }"/>
+ <eventtester eventname="onkeydown" reference="lz.Keys" label="Control key down" test="function (k) { if (k == 17) return true; }"/>
+ <eventtester eventname="onmousewheeldelta" reference="lz.Keys">
<handler name="onvalue" args="v">
if (v == null) return;
this.setX(this.x + v);
Modified: openlaszlo/trunk/test/lfc/legals/lzunit/library.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/lzunit/library.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/legals/lzunit/library.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,9 +1,9 @@
<!--
/* X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ******************************************************/
-->
<library>
<include href="lzunit.lzx" />
-</library>
\ No newline at end of file
+</library>
Modified: openlaszlo/trunk/test/lfc/legals/lzunit/lzunit.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/lzunit/lzunit.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/legals/lzunit/lzunit.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,6 +1,6 @@
<!--
/* X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ******************************************************/
-->
@@ -418,4 +418,4 @@
</method>
</class>
-</library>
\ No newline at end of file
+</library>
Modified: openlaszlo/trunk/test/lfc/legals/lzunit-lzunit.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/lzunit-lzunit.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/legals/lzunit-lzunit.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,6 +1,6 @@
<!--
/* X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ******************************************************/
-->
@@ -43,4 +43,4 @@
// assertNotSame
</method>
</view>
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/lfc/legals/perfs/create_resource_swf.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/perfs/create_resource_swf.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/legals/perfs/create_resource_swf.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -27,7 +27,7 @@
var ts=(new Date()).getTime();
for ( var i=0; i<NUMSPRITES; i++ )
{
- new SpriteC (canvas);
+ new lz.SpriteC (canvas);
}
var ttaken = (new Date()).getTime() - ts;
Modified: openlaszlo/trunk/test/lfc/legals/perfs/create_swf.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/perfs/create_swf.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/legals/perfs/create_swf.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -12,7 +12,7 @@
var ts=(new Date()).getTime();
for ( var i=0; i<NUMSPRITES; i++ )
{
- new SpriteC (canvas);
+ new lz.SpriteC (canvas);
}
var ttaken = (new Date()).getTime() - ts;
Modified: openlaszlo/trunk/test/lfc/legals/setters.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/setters.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/legals/setters.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -64,7 +64,7 @@
<!--
-canvas = new LzCanvas({__LZproxied: "true", bgcolor: 16777215, build: "INTERNAL", embedfonts: true, fontname: "Verdana,Vera,sans-serif", fontsize: 11, fontstyle: "plain", height: "80%", lpsrelease: "Alpha", lpsversion: "3.2", runtime: "swf7", width: "100%"});
+canvas = new lz.canvas({__LZproxied: "true", bgcolor: 16777215, build: "INTERNAL", embedfonts: true, fontname: "Verdana,Vera,sans-serif", fontsize: 11, fontstyle: "plain", height: "80%", lpsrelease: "Alpha", lpsversion: "3.2", runtime: "swf7", width: "100%"});
LzInstantiateView({name: 'userclass',
attrs: {parent: "view",
@@ -87,3 +87,9 @@
-->
</canvas>
+<!--
+/* X_LZ_COPYRIGHT_BEGIN ***************************************************
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
+* Use is subject to license terms. *
+* X_LZ_COPYRIGHT_END ******************************************************/
+-->
Modified: openlaszlo/trunk/test/lfc/legals/testjscomm/copy-of-hello.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/testjscomm/copy-of-hello.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/legals/testjscomm/copy-of-hello.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -13,12 +13,12 @@
<attribute name="farb" value="" type="text"/>
<handler name="oninit">
// Test handling of early calls
- LzBrowser.callJS('getUserAgent', function (ua) { canvas.setAttribute('browser', ua) })
+ lz.Browser.callJS('getUserAgent', function (ua) { canvas.setAttribute('browser', ua) })
</handler>
<button>Test callJS queuing
<handler name="onclick">
- LzBrowser.callJS('getFoo', function (a) { if (a != 'foo') LzBrowser.loadJS('alert(\'warning: did not get foo: ' + a + '\')') });
- LzBrowser.callJS('getBar', function (a) { if (a != 'bar') LzBrowser.loadJS('alert(\'warning: did not get bar: ' + a + '\')') });
+ lz.Browser.callJS('getFoo', function (a) { if (a != 'foo') lz.Browser.loadJS('alert(\'warning: did not get foo: ' + a + '\')') });
+ lz.Browser.callJS('getBar', function (a) { if (a != 'bar') lz.Browser.loadJS('alert(\'warning: did not get bar: ' + a + '\')') });
</handler>
</button>
<simplelayout/>
@@ -27,7 +27,7 @@
<text text="${parent.foo}" width="100"/>
<text text="${parent.farb}" width="100"/>
<text name="stat" multiline="true" width="1000"/>
- <text oninit="this.setText('Flash player version: ' + LzBrowser.getVersion())" width="1000"/>
+ <text oninit="this.setText('Flash player version: ' + lz.Browser.getVersion())" width="1000"/>
<view name="aview" y="80" bgcolor="red" width="20" height="30">
<method name="testMethod" args="str, bool1, bool2, num1, num2, prop1, prop2">
Modified: openlaszlo/trunk/test/lfc/legals/timer.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/timer.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/legals/timer.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -14,7 +14,7 @@
var t = new Date();
info('update', t);
this.setText(t);
- LzTimer.addTimer(this.updateDel, 500);
+ lz.Timer.addTimer(this.updateDel, 500);
</method>
</text>
</canvas>
Modified: openlaszlo/trunk/test/lfc/legals/track.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/track.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/legals/track.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -13,7 +13,7 @@
x="2" y="2" width="18" height="18"/>
<handler name="oninit">
//info('colorspot.init', this.trackgroup);
- LzTrack.register(this, this.trackgroup);
+ lz.Track.register(this, this.trackgroup);
</handler>
<handler name="onmousetrackover">
//info('colorspot.onmousetrackover', this.trackgroup);
@@ -29,7 +29,7 @@
</class>
<view bgcolor="0x0000ff" width="20" height="20"
- onmousedown="this.colorpicker.setVisible(true); LzTrack.activate('mymenu');"
+ onmousedown="this.colorpicker.setVisible(true); lz.Track.activate('mymenu');"
onmouseup="this.colorpicker.setVisible(false); ">
<view name="colorpicker" visible="false" x="10" y="10">
<attribute name="trackgroup" value="mymenu" type="string"/>
Modified: openlaszlo/trunk/test/lfc/loadchecker.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/loadchecker.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/loadchecker.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -2,9 +2,9 @@
<class name="loadcheckcheckbox" extends="checkbox">
<attribute name="checkFor" when="once"/>
- <handler name="onidle" reference="LzIdle">
+ <handler name="onidle" reference="lz.Idle">
<![CDATA[
- var lzod = LzIdle.onidle.delegateList;
+ var lzod = lz.Idle.onidle.delegateList;
var sel = false;
for ( var i = 0;i < lzod.length; i++ ){
if( lzod[ i ] == checkFor.loader.loadChecker ){
@@ -24,14 +24,14 @@
<button text="load img" onclick="v2.setSource('t.jpg')"/>
<loadcheckcheckbox checkFor="v1">
- v1.loader.loadChecker registered with LzIdle
+ v1.loader.loadChecker registered with lz.Idle
</loadcheckcheckbox>
<loadcheckcheckbox checkFor="v2">
- v2.loader.loadChecker registered with LzIdle
+ v2.loader.loadChecker registered with lz.Idle
</loadcheckcheckbox>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/lztrack/depthbug.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/lztrack/depthbug.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/lztrack/depthbug.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,6 +1,6 @@
-<!-- Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. -->
+<!-- Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. -->
<canvas debug="true">
- <!-- Can't put bgcolor on the view b/c LzTrack doesn't work if there's
+ <!-- Can't put bgcolor on the view b/c lz.Track doesn't work if there's
no __LZmovieClipRef ;) LPP-1582 -->
<view name="a">
<handler name="onmousetrackover">
@@ -20,8 +20,8 @@
Debug.write( "Roll the mouse over the views; expect to see the correct"
+ "color name as you roll over each." );
a.bringToFront();
- LzTrack.register( a , "foo" );
- LzTrack.register( b , "foo" );
- LzTrack.activate( "foo" );
+ lz.Track.register( a , "foo" );
+ lz.Track.register( b , "foo" );
+ lz.Track.activate( "foo" );
</script>
</canvas>
Modified: openlaszlo/trunk/test/lfc/lztrack/trackgroup.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/lztrack/trackgroup.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/lztrack/trackgroup.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -9,22 +9,22 @@
<attribute name="trackgroup" type="string" value="${parent.trackgroup}"/>
<attribute name="mycolor" value="0x000099"/>
<handler name="oninit">
- Debug.write("LzTrack.register(" + this, this.trackgroup + ")");
- LzTrack.register(this, this.trackgroup);
+ Debug.write("lz.Track.register(" + this, this.trackgroup + ")");
+ lz.Track.register(this, this.trackgroup);
</handler>
<handler name="onmousedown">
if (canvas.myglobals.unregister) {
- Debug.write("LzTrack.unregister(" + this.trackgroup, this + ")");
+ Debug.write("lz.Track.unregister(" + this.trackgroup, this + ")");
this.setAttribute('mycolor', 0xaa0000);
- LzTrack.unregister(this, this.trackgroup);
+ lz.Track.unregister(this, this.trackgroup);
} else {
- Debug.write("LzTrack.activate(" + this.trackgroup + ")");
- LzTrack.activate(this.trackgroup);
+ Debug.write("lz.Track.activate(" + this.trackgroup + ")");
+ lz.Track.activate(this.trackgroup);
}
</handler>
<handler name="onmouseup">
- Debug.write("LzTrack.deactivate(" + this.trackgroup + ")");
- LzTrack.deactivate(this.trackgroup);
+ Debug.write("lz.Track.deactivate(" + this.trackgroup + ")");
+ lz.Track.deactivate(this.trackgroup);
</handler>
<handler name="onmousetrackover">
setAttribute('bgcolor', 0x00dd00);
Modified: openlaszlo/trunk/test/lfc/lztrack/trackgroups.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/lztrack/trackgroups.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/lztrack/trackgroups.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -8,8 +8,8 @@
<attribute name="trackgroup" type="string" value="${parent.trackgroup}"/>
<attribute name="mycolor" value="0x000099"/>
<handler name="oninit">
- Debug.write("LzTrack.register(" + this, this.trackgroup + ")");
- LzTrack.register(this, this.trackgroup);
+ Debug.write("lz.Track.register(" + this, this.trackgroup + ")");
+ lz.Track.register(this, this.trackgroup);
</handler>
<handler name="onmousetrackover">
setAttribute('bgcolor', 0x00dd00);
@@ -41,10 +41,10 @@
<handler name="onvalue" args="v">
if (v) {
Debug.write('activate: '+parent.trackgroup);
- LzTrack.activate(parent.trackgroup);
+ lz.Track.activate(parent.trackgroup);
} else {
Debug.write('deactivate: '+parent.trackgroup);
- LzTrack.deactivate(parent.trackgroup);
+ lz.Track.deactivate(parent.trackgroup);
}
</handler>
</checkbox>
@@ -62,20 +62,20 @@
<handler name="onvalue" args="v">
if (v) {
Debug.write('activate: twoA and twoB');
- LzTrack.activate("twoA");
- LzTrack.activate("twoB");
+ lz.Track.activate("twoA");
+ lz.Track.activate("twoB");
} else {
Debug.write('deactivate: twoA and twoB');
- LzTrack.deactivate("twoA");
- LzTrack.deactivate("twoB");
+ lz.Track.deactivate("twoA");
+ lz.Track.deactivate("twoB");
}
</handler>
</checkbox>
<view bgcolor="0xddddff" name="container" width="84">
<attribute name="trackgroup" value="twoA" type="string"/>
<handler name="oninit">
- Debug.write("LzTrack.register(" + this, this.trackgroup + ")");
- LzTrack.register(this, this.trackgroup);
+ Debug.write("lz.Track.register(" + this, this.trackgroup + ")");
+ lz.Track.register(this, this.trackgroup);
</handler>
<handler name="onmousetrackover">
setAttribute('bgcolor', 0xdddd00);
Modified: openlaszlo/trunk/test/lfc/lzunit-timer.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/lzunit-timer.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/lzunit-timer.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -27,11 +27,11 @@
<timertester name="tt1"/>
<method name="testAddRemove">
- assertEquals(0, LzTimer.countTimers(tt1.del1), "before add");
- var t1 = LzTimer.addTimer(tt1.del1, 10000);
- assertEquals(1, LzTimer.countTimers(tt1.del1), "after add");
- var td1 = LzTimer.removeTimer(tt1.del1);
- assertEquals(0, LzTimer.countTimers(tt1.del1), "after remove");
+ assertEquals(0, lz.Timer.countTimers(tt1.del1), "before add");
+ var t1 = lz.Timer.addTimer(tt1.del1, 10000);
+ assertEquals(1, lz.Timer.countTimers(tt1.del1), "after add");
+ var td1 = lz.Timer.removeTimer(tt1.del1);
+ assertEquals(0, lz.Timer.countTimers(tt1.del1), "after remove");
assertEquals(t1, td1, "same timer");
</method>
@@ -45,21 +45,21 @@
// test whether we get confused between delegates. Remove in
// opposite order to avoid false positive due to FIFI policy.
- assertEquals(0, LzTimer.countTimers(tt2.del1), "before add 1");
- assertEquals(0, LzTimer.countTimers(tt2.del2), "before add 2");
- var t1 = LzTimer.addTimer(tt2.del1, 10000);
- assertEquals(1, LzTimer.countTimers(tt2.del1), "after add 1,1");
- assertEquals(0, LzTimer.countTimers(tt2.del2), "after add 1,2");
- var t2 = LzTimer.addTimer(tt2.del2, 10000);
- assertEquals(1, LzTimer.countTimers(tt2.del1), "after add 2,1");
- assertEquals(1, LzTimer.countTimers(tt2.del2), "after add 2,2");
- var td2 = LzTimer.removeTimer(tt2.del2);
- assertEquals(1, LzTimer.countTimers(tt2.del1), "after remove 2,1");
- assertEquals(0, LzTimer.countTimers(tt2.del2), "after remove 2,2");
+ assertEquals(0, lz.Timer.countTimers(tt2.del1), "before add 1");
+ assertEquals(0, lz.Timer.countTimers(tt2.del2), "before add 2");
+ var t1 = lz.Timer.addTimer(tt2.del1, 10000);
+ assertEquals(1, lz.Timer.countTimers(tt2.del1), "after add 1,1");
+ assertEquals(0, lz.Timer.countTimers(tt2.del2), "after add 1,2");
+ var t2 = lz.Timer.addTimer(tt2.del2, 10000);
+ assertEquals(1, lz.Timer.countTimers(tt2.del1), "after add 2,1");
+ assertEquals(1, lz.Timer.countTimers(tt2.del2), "after add 2,2");
+ var td2 = lz.Timer.removeTimer(tt2.del2);
+ assertEquals(1, lz.Timer.countTimers(tt2.del1), "after remove 2,1");
+ assertEquals(0, lz.Timer.countTimers(tt2.del2), "after remove 2,2");
assertEquals(t2, td2, "same timer 2");
- var td1 = LzTimer.removeTimer(tt2.del1);
- assertEquals(0, LzTimer.countTimers(tt2.del1), "after remove 1,1");
- assertEquals(0, LzTimer.countTimers(tt2.del2), "after remove 1,2");
+ var td1 = lz.Timer.removeTimer(tt2.del1);
+ assertEquals(0, lz.Timer.countTimers(tt2.del1), "after remove 1,1");
+ assertEquals(0, lz.Timer.countTimers(tt2.del2), "after remove 1,2");
assertEquals(t1, td1, "same timer 1");
</method>
@@ -70,13 +70,13 @@
<timertester name="tt3"/>
<method name="testAddReset">
- assertEquals(0, LzTimer.countTimers(tt3.del1), "before add");
- var t1 = LzTimer.addTimer(tt3.del1, 10000);
- assertEquals(1, LzTimer.countTimers(tt3.del1), "after add");
- var t2 = LzTimer.resetTimer(tt3.del1, 10000);
- assertEquals(1, LzTimer.countTimers(tt3.del1), "after reset");
- var td1 = LzTimer.removeTimer(tt3.del1);
- assertEquals(0, LzTimer.countTimers(tt3.del1), "after remove");
+ assertEquals(0, lz.Timer.countTimers(tt3.del1), "before add");
+ var t1 = lz.Timer.addTimer(tt3.del1, 10000);
+ assertEquals(1, lz.Timer.countTimers(tt3.del1), "after add");
+ var t2 = lz.Timer.resetTimer(tt3.del1, 10000);
+ assertEquals(1, lz.Timer.countTimers(tt3.del1), "after reset");
+ var td1 = lz.Timer.removeTimer(tt3.del1);
+ assertEquals(0, lz.Timer.countTimers(tt3.del1), "after remove");
assertEquals(t2, td1, "same timer");
</method>
@@ -88,16 +88,16 @@
<method name="testMultiAddRemove2">
// test order of removal.
- assertEquals(0, LzTimer.countTimers(tt4.del1), "before add");
- var t1 = LzTimer.addTimer(tt4.del1, 10000);
- assertEquals(1, LzTimer.countTimers(tt4.del1), "after add 1");
- var t2 = LzTimer.addTimer(tt4.del1, 10000);
- assertEquals(2, LzTimer.countTimers(tt4.del1), "after add 2");
- var td1 = LzTimer.removeTimer(tt4.del1);
- assertEquals(1, LzTimer.countTimers(tt4.del1), "after remove 1");
+ assertEquals(0, lz.Timer.countTimers(tt4.del1), "before add");
+ var t1 = lz.Timer.addTimer(tt4.del1, 10000);
+ assertEquals(1, lz.Timer.countTimers(tt4.del1), "after add 1");
+ var t2 = lz.Timer.addTimer(tt4.del1, 10000);
+ assertEquals(2, lz.Timer.countTimers(tt4.del1), "after add 2");
+ var td1 = lz.Timer.removeTimer(tt4.del1);
+ assertEquals(1, lz.Timer.countTimers(tt4.del1), "after remove 1");
assertEquals(t1, td1, "same timer 1");
- var td2 = LzTimer.removeTimer(tt4.del1);
- assertEquals(0, LzTimer.countTimers(tt4.del1), "after remove 2");
+ var td2 = lz.Timer.removeTimer(tt4.del1);
+ assertEquals(0, lz.Timer.countTimers(tt4.del1), "after remove 2");
assertEquals(t2, td2, "same timer 2");
</method>
@@ -109,21 +109,21 @@
<method name="testMultiAddRemove3">
// test order of removal.
- assertEquals(0, LzTimer.countTimers(tt4.del1), "before add");
- var t1 = LzTimer.addTimer(tt4.del1, 10000);
- assertEquals(1, LzTimer.countTimers(tt4.del1), "after add 1");
- var t2 = LzTimer.addTimer(tt4.del1, 10000);
- assertEquals(2, LzTimer.countTimers(tt4.del1), "after add 2");
- var t3 = LzTimer.addTimer(tt4.del1, 10000);
- assertEquals(3, LzTimer.countTimers(tt4.del1), "after add 3");
- var td1 = LzTimer.removeTimer(tt4.del1);
- assertEquals(2, LzTimer.countTimers(tt4.del1), "after remove 1");
+ assertEquals(0, lz.Timer.countTimers(tt4.del1), "before add");
+ var t1 = lz.Timer.addTimer(tt4.del1, 10000);
+ assertEquals(1, lz.Timer.countTimers(tt4.del1), "after add 1");
+ var t2 = lz.Timer.addTimer(tt4.del1, 10000);
+ assertEquals(2, lz.Timer.countTimers(tt4.del1), "after add 2");
+ var t3 = lz.Timer.addTimer(tt4.del1, 10000);
+ assertEquals(3, lz.Timer.countTimers(tt4.del1), "after add 3");
+ var td1 = lz.Timer.removeTimer(tt4.del1);
+ assertEquals(2, lz.Timer.countTimers(tt4.del1), "after remove 1");
assertEquals(t1, td1, "same timer 1");
- var td2 = LzTimer.removeTimer(tt4.del1);
- assertEquals(1, LzTimer.countTimers(tt4.del1), "after remove 2");
+ var td2 = lz.Timer.removeTimer(tt4.del1);
+ assertEquals(1, lz.Timer.countTimers(tt4.del1), "after remove 2");
assertEquals(t2, td2, "same timer 2");
- var td3 = LzTimer.removeTimer(tt4.del1);
- assertEquals(0, LzTimer.countTimers(tt4.del1), "after remove 3");
+ var td3 = lz.Timer.removeTimer(tt4.del1);
+ assertEquals(0, lz.Timer.countTimers(tt4.del1), "after remove 3");
assertEquals(t3, td3, "same timer 3");
</method>
@@ -133,6 +133,6 @@
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2006-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/perf/cssperf.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/perf/cssperf.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/perf/cssperf.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -75,7 +75,7 @@
}
function makeSomeNodes() {
- new LzNode( subsubID );
+ new lz.node( subsubID );
}
addTest("lookupLotsOfProps", 10);
@@ -87,6 +87,6 @@
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/perf/imageperformance.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/perf/imageperformance.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/perf/imageperformance.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -13,11 +13,11 @@
<![CDATA[
function loadImages() {
- var iv = new LzView( canvas, { y : 200 });
+ var iv = new lz.view( canvas, { y : 200 });
iv.setSource('http:resources/marooned.png');
canvas.addSubview(iv);
- var cat = new LzView( canvas, { y : 150 });
+ var cat = new lz.view( canvas, { y : 150 });
cat.setSource("http:resources/sunnycat.jpg");
var w = cat.getWidth();
var h = cat.getHeight();
@@ -25,9 +25,9 @@
}
function scaleImages() {
- var v = new LzView( canvas, { y : 300, resource: "cave" });
+ var v = new lz.view( canvas, { y : 300, resource: "cave" });
canvas.addSubview(v);
- var bigView = new LzView( canvas, {
+ var bigView = new lz.view( canvas, {
y : 150, x : -300, y : 250,
resource: "cave",
width : 1211, height : 123, stretches : "both" });
@@ -35,8 +35,8 @@
}
function opaqueness() {
- var maroonPngView = new LzView( canvas, { resource : "maroonPng", y : 250, opacity : 0.3 });
- var maroonJpgView = new LzView( canvas, { resource : "maroonJpg", x: 270, y : 275, opacity : 0.3 });
+ var maroonPngView = new lz.view( canvas, { resource : "maroonPng", y : 250, opacity : 0.3 });
+ var maroonJpgView = new lz.view( canvas, { resource : "maroonJpg", x: 270, y : 275, opacity : 0.3 });
canvas.addSubview(maroonPngView);
canvas.addSubview(maroonJpgView);
}
@@ -55,6 +55,6 @@
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/perf/reporter.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/perf/reporter.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/perf/reporter.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,38 +1,38 @@
<library>
- <!-- Copyright 2006-2007 Laszlo Systems -->
+ <!-- Copyright 2006-2008 Laszlo Systems -->
<node id="reporter">
<method name="sendLogData" args="suitename">
<![CDATA[
// TODO: get webapp url from runtime
- var url = LzBrowser.getLoadURL();
+ var url = lz.Browser.getLoadURL();
var p1 = url.indexOf("/", 8);
var p2 = url.indexOf("/", p1+1);
var base = url.substring(0,p2);
var serverURL = base + "/test/lfc/perf/reporter.jsp";
var buildid = canvas.lpsbuild.split(" ")[0];
- var browserInfo = LzBrowser.urlEscape(LzBrowser.getVersion());
+ var browserInfo = lz.Browser.urlEscape(lz.Browser.getVersion());
for (var k in timingMeters) {
var meter = timingMeters[k];
// Debug.write("k %w", k);
// Debug.write("meter %w", meter);
var mean = meter.calcMean();
- var query = "testname="+LzBrowser.urlEscape(meter.name)
- + "&suitename=" + LzBrowser.urlEscape(suitename)
- + "&duration=" + LzBrowser.urlEscape(mean)
- + "&count=" + LzBrowser.urlEscape(meter.count)
- + "&min=" + LzBrowser.urlEscape(meter.min)
- + "&max=" + LzBrowser.urlEscape(meter.max)
- + "&uncertainty=" + LzBrowser.urlEscape(meter.calcUncertainty())
- + "&suiteName=" + LzBrowser.urlEscape(suitename)
- + "&runtime=" + LzBrowser.urlEscape(canvas.runtime)
- + "&debug=" + LzBrowser.urlEscape($debug)
- + "&buildid=" + LzBrowser.urlEscape(buildid)
- + "&builddate=" + LzBrowser.urlEscape(canvas.lpsbuilddate)
+ var query = "testname="+lz.Browser.urlEscape(meter.name)
+ + "&suitename=" + lz.Browser.urlEscape(suitename)
+ + "&duration=" + lz.Browser.urlEscape(mean)
+ + "&count=" + lz.Browser.urlEscape(meter.count)
+ + "&min=" + lz.Browser.urlEscape(meter.min)
+ + "&max=" + lz.Browser.urlEscape(meter.max)
+ + "&uncertainty=" + lz.Browser.urlEscape(meter.calcUncertainty())
+ + "&suiteName=" + lz.Browser.urlEscape(suitename)
+ + "&runtime=" + lz.Browser.urlEscape(canvas.runtime)
+ + "&debug=" + lz.Browser.urlEscape($debug)
+ + "&buildid=" + lz.Browser.urlEscape(buildid)
+ + "&builddate=" + lz.Browser.urlEscape(canvas.lpsbuilddate)
+ "&browserinfo=" + browserInfo
- + "&branch=" + LzBrowser.urlEscape("branches-wafflecone");
- query += "&debug=" + LzBrowser.urlEscape($debug)
+ + "&branch=" + lz.Browser.urlEscape("branches-wafflecone");
+ query += "&debug=" + lz.Browser.urlEscape($debug)
// Debug.write("sendLogData", query);
var completeURL = serverURL + "?" + query;
@@ -42,7 +42,7 @@
// In flash, loadURL opens multiple windows each time we call it, which we don't want.
// In dhtml, loadURL works properly.
- // LzBrowser.loadURL( completeURL, "perfresults");
+ // lz.Browser.loadURL( completeURL, "perfresults");
}
Modified: openlaszlo/trunk/test/lfc/perf/scaledfunctions.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/perf/scaledfunctions.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/perf/scaledfunctions.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2007 Laszlo Systems -->
+<!-- Copyright 2007-2008 Laszlo Systems -->
<canvas title="scaled functions performance">
<include href="timing-support.lzx"/>
@@ -184,4 +184,4 @@
]]></script>
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/lfc/perf/textperformance.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/perf/textperformance.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/perf/textperformance.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -10,20 +10,20 @@
<![CDATA[
function wrapText() {
- var tv = new LzText( canvas, { width: 300, height: 300, x: 300, multiline: true} );
+ var tv = new lz.text( canvas, { width: 300, height: 300, x: 300, multiline: true} );
tv.setAttribute("text", "All I want is a bit of regular expression support and math! That sort of thinking leads directly to perl. Perl has superpowers and was designed for just this sort of task, but I'm not a perl programmer, and I don't want to be. Sorry. Does that make me a bad person? Lazy, maybe: I'd rather spend my time learning and working with a language that I like. I'm not talking fundamental goodness here; I'm talking personal preference. I don't like the idioms of global variables with names like $_.");
canvas.addSubview(tv);
}
function bigText() {
- var bigtv = new LzText( canvas, { width: 300, height: 300, x: 300, y: 100} );
+ var bigtv = new lz.text( canvas, { width: 300, height: 300, x: 300, y: 100} );
bigtv.setAttribute("fontsize", 36);
bigtv.setAttribute("text", "anderson");
canvas.addSubview(bigtv);
}
function changeText() {
- var changingText = new LzText( canvas, { width: 300, height: 300, x: 300, y: 200} );
+ var changingText = new lz.text( canvas, { width: 300, height: 300, x: 300, y: 200} );
canvas.addSubview(changingText);
changingText.setText("Forget object serialization. Forget XSLT. Forget trend graphs of benchmarks over time. Just use plain old text files, and get the job done.");
changingText.setText("I'm trying to dynamicly generate textures based on a simulation of fluid flow, to make a cutting plane with a painterly representation. I want an imaging library... and I want to be able to develop on windows and linux. Nothing else will do. Meanwhile, I'm also trying to get GLSL going on my tablet. This is apparently a bit tricky. I'm kind of going in two directions at once: I could work on getting GLSL going on my tablet, and go straight to writing a shader to generate a texture dynamicly, or I could first generate the texture traditionally -- on the CPU, not the GPU. I imagine debugging will be much easier if I develop on the CPU first.");
@@ -95,6 +95,6 @@
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/perf/timing-support.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/perf/timing-support.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/perf/timing-support.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -134,7 +134,7 @@
testCollection.$title = title;
testCollection.$curtest = 0;
testCollection.$del = new LzDelegate( testCollection, '$doNext' ,
- LzIdle , "onidle" );
+ lz.Idle , "onidle" );
}
testCollection.$doNext = function (){
@@ -197,6 +197,6 @@
</script>
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/perf/viewperf.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/perf/viewperf.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/perf/viewperf.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -37,7 +37,7 @@
<![CDATA[
function newView() {
- var v = new LzView( canvas, { width: 100, height: 100, y: 200} );
+ var v = new lz.view( canvas, { width: 100, height: 100, y: 200} );
}
function newBusyView() {
@@ -45,7 +45,7 @@
}
function addViewsToCanvas() {
- var v = new LzView( canvas, { width: 100, height: 100, y: 200 } );
+ var v = new lz.view( canvas, { width: 100, height: 100, y: 200 } );
canvas.addSubview(v);
}
Modified: openlaszlo/trunk/test/lfc/testdrop.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/testdrop.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/testdrop.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,5 +1,5 @@
<canvas debug="true" height="500" width="500" >
- <class name="randv" oninit="LzTrack.register( this )">
+ <class name="randv" oninit="lz.Track.register( this )">
<attribute name="maxsize" value="100"/>
<attribute name="bgcolor" value="Math.random() * 0xFFFFFF" when="once"/>
<attribute name="x" value="Math.random()*(canvas.width-this.maxsize)" when="once"/>
@@ -9,8 +9,8 @@
</class>
<view>
<simplelayout/>
- <button onclick="LzTrack.activate()">Activate</button>
- <button onclick="LzTrack.deactivate()">Deactivate</button>
+ <button onclick="lz.Track.activate()">Activate</button>
+ <button onclick="lz.Track.deactivate()">Deactivate</button>
</view>
<randv/>
<randv/>
@@ -22,9 +22,9 @@
<randv/>
<randv/>
<randv/>
- <view name="redone" oninit="LzTrack.register( this )" bgcolor="red" width="40" height="40" x="110" y="10" />
+ <view name="redone" oninit="lz.Track.register( this )" bgcolor="red" width="40" height="40" x="110" y="10" />
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/testfoc.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/testfoc.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/testfoc.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -25,14 +25,14 @@
name="butt1">
<method name="switchFocusTrap" >
this.foctrap = this.foctrap == firstone ? secone : firstone;
- LzFocus.setFocusTrap( this.foctrap );
+ lz.Focus.setFocusTrap( this.foctrap );
Debug.write( "focus trap: " + this.foctrap );
</method>
</button>
- <button y="butt1.y+butt1.height" label="clear trap" onclick="LzFocus.clearFocusTrap()">
+ <button y="butt1.y+butt1.height" label="clear trap" onclick="lz.Focus.clearFocusTrap()">
</button>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/lfc/testmethoddepend.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/testmethoddepend.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/testmethoddepend.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -27,7 +27,7 @@
</box>
<box y="50" >
- <handler name="onidle" reference="LzIdle" >
+ <handler name="onidle" reference="lz.Idle" >
this.setAttributeRelative( "x" , trackbox );
</handler>
</box>
Modified: openlaszlo/trunk/test/lfc/testscriptinit.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/testscriptinit.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lfc/testscriptinit.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -18,7 +18,7 @@
<handler name="onclick">
names =[ "a" , "b" , "c" , "d" , "e" ];
for ( var i =0; i < names.length; i++ ){
- new slowinit( canvas , { name : names[ i ] } );
+ new lz.slowinit( canvas , { name : names[ i ] } );
}
</handler>
</button>
Modified: openlaszlo/trunk/test/lpp-1582.lzx
===================================================================
--- openlaszlo/trunk/test/lpp-1582.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lpp-1582.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,7 +1,7 @@
<canvas debug="true">
<handler name="oninit">
- LzTrack.register( testarea, "test" );
- LzTrack.activate( "test" );
+ lz.Track.register( testarea, "test" );
+ lz.Track.activate( "test" );
</handler>
<view name="testarea" width="100" height="100">
<handler name="onmousetrackover">
Modified: openlaszlo/trunk/test/lztest/lztest-lzbrowser.lzx
===================================================================
--- openlaszlo/trunk/test/lztest/lztest-lzbrowser.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lztest/lztest-lzbrowser.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -3,11 +3,11 @@
<script><![CDATA[
-var suiteLzBrowser = new LzTestSuite("LzBrowser suite");
+var suiteLzBrowser = new LzTestSuite("lz.Browser suite");
suiteLzBrowser.testVersion = function () {
- var theVersion = LzBrowser.getVersion();
- LzTestManager.assertNotNull(theVersion, "LzBrowser.getVersion");
+ var theVersion = lz.Browser.getVersion();
+ LzTestManager.assertNotNull(theVersion, "lz.Browser.getVersion");
}
suiteLzBrowser.addTest(suiteLzBrowser.testVersion);
@@ -19,7 +19,7 @@
</canvas>
<!--
/* X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ******************************************************/
-->
Modified: openlaszlo/trunk/test/lztest/lztest-lzdatapointer.lzx
===================================================================
--- openlaszlo/trunk/test/lztest/lztest-lzdatapointer.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lztest/lztest-lzdatapointer.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -12,7 +12,7 @@
function test_lzdatapointer_1() {
// Test behavior on undefined object
- var dp = new LzDatapointer();
+ var dp = new lz.datapointer();
LzTestManager.assertUndefined(dp.getNodeName(), 'getNodeName');
LzTestManager.assertUndefined(dp.getNodeAttributes(), 'getNodeAttributes');
@@ -27,7 +27,7 @@
function test_lzdatapointer_2() {
// Visual test. In debug mode each call should generate a warning.
// Removed tests run by test_lzdatapointer_1
- var dp = new LzDatapointer();
+ var dp = new lz.datapointer();
dp.setNodeName(null);
dp.setNodeAttribute(null, null);
dp.deleteNodeAttribute(null);
Modified: openlaszlo/trunk/test/lztest/lztest-node-initsequence.lzx
===================================================================
--- openlaszlo/trunk/test/lztest/lztest-node-initsequence.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lztest/lztest-node-initsequence.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -295,7 +295,7 @@
suite.addTest(mytest);
}
- LzTimer.addTimer(LzTestManager.startTestsDelegate, 2500);
+ lz.Timer.addTimer(LzTestManager.startTestsDelegate, 2500);
]]>
</handler>
Modified: openlaszlo/trunk/test/lztest/lztest-selftest.lzx
===================================================================
--- openlaszlo/trunk/test/lztest/lztest-selftest.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lztest/lztest-selftest.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -235,7 +235,7 @@
this.nullvar = null;
// TODO: [2005-11-02 ptw] (Flash 8) Fails in Flash 8.24
- var flashVersion = LzBrowser.getVersion();
+ var flashVersion = lz.Browser.getVersion();
if ((! flashVersion) || flashVersion < 8 || flashVersion > 10) {
LzTestManager.assertNotSame(NaN, NaN, "NaN !== NaN");
}
@@ -272,7 +272,7 @@
{instance: true, constructor: null},
{instance: 0, constructor: null},
{instance: "test", constructor: null},
- {instance: new LzNode(), constructor: LzNode}
+ {instance: new lz.node(), constructor: LzNode}
];
var types = [Array, Boolean, Date, Number, String];
@@ -336,7 +336,7 @@
</canvas>
<!--
/* X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ******************************************************/
-->
Modified: openlaszlo/trunk/test/lztest/lztest-view.lzx
===================================================================
--- openlaszlo/trunk/test/lztest/lztest-view.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/lztest/lztest-view.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -83,7 +83,7 @@
</handler>
<!-- Idle handler that will setup the next resource to load -->
- <handler name="onidle" reference="LzIdle">
+ <handler name="onidle" reference="lz.Idle">
if (view10changed) {
view10changed = false;
view10.setSource (view10resources[view10index][2]);
@@ -195,7 +195,7 @@
function waitfor(condition)
{
var del = new LzDelegate (null, condition, 'waitfordel');
- LzTimer.addTimer (del, 100);
+ lz.Timer.addTimer (del, 100);
}
Modified: openlaszlo/trunk/test/newviews.lzx
===================================================================
--- openlaszlo/trunk/test/newviews.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/newviews.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -7,7 +7,7 @@
<script>
views = new Array();
for (var i=0;i!=16;i++){
- views.push(new LzView(canvas,{width:10,height:10,x:i,y:i,bgcolor:i*16}));
+ views.push(new lz.view(canvas,{width:10,height:10,x:i,y:i,bgcolor:i*16}));
views[i].animateProps(1000);
views[i].setBGColor(0);
views[i].setWidth(0);
@@ -20,7 +20,7 @@
views[i].setAttribute("x",i*16);
}
for (var i=0;i!=16;i++){
- views.push(new LzView());
+ views.push(new lz.view());
views[i+16].animateProps(2000)
views[i+16].setBGColor(0);
@@ -49,7 +49,7 @@
</script>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
</canvas>
Modified: openlaszlo/trunk/test/perf/contacts/contacts.lzx
===================================================================
--- openlaszlo/trunk/test/perf/contacts/contacts.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/perf/contacts/contacts.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -55,12 +55,12 @@
var offset = Math.floor( this.getMouse( 'x' ) ) - 0.5;
this.dragc = new LzMouseConstraint( this ,
{ prop : 'x', offset:-offset } );
- LzCursor.lock();
+ lz.Cursor.lock();
</method>
<method name="stopDrag">
this.dragc.release();
- LzCursor.unlock();
+ lz.Cursor.unlock();
</method>
</class>
Modified: openlaszlo/trunk/test/perf/contacts/details.lzx
===================================================================
--- openlaszlo/trunk/test/perf/contacts/details.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/perf/contacts/details.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -338,7 +338,7 @@
name="webpage" datapath="@home_webpage"/>
<button name="Go" x="432" y="243" width="27"
label="Go"
- onclick="LzBrowser.loadURL( this.parent.webpage.getText() , 'browsewin' )" />
+ onclick="lz.Browser.loadURL( this.parent.webpage.getText() , 'browsewin' )" />
</view>
</tabview>
@@ -406,7 +406,7 @@
datapath="@work_webpage"/>
<button name="Go" x="432" y="243" width="27"
label="Go"
- onclick="LzBrowser.loadURL( this.parent.webpage.getText() , 'browsewin' )" />
+ onclick="lz.Browser.loadURL( this.parent.webpage.getText() , 'browsewin' )" />
</view>
</tabview>
Modified: openlaszlo/trunk/test/performance/typeof-instance-of.lzx
===================================================================
--- openlaszlo/trunk/test/performance/typeof-instance-of.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/performance/typeof-instance-of.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -10,7 +10,7 @@
function instanceOf() {
for (var i = 0; i < iterations; i++) {
- txt instanceof LzText;
+ txt instanceof lz.text;
}
}
@@ -22,7 +22,7 @@
function typeOfInstanceOf() {
for (var i = 0; i < iterations; i++) {
- typeof txt == 'object' && txt instanceof LzText;
+ typeof txt == 'object' && txt instanceof lz.text;
}
}
@@ -35,12 +35,12 @@
bar = '';
function instanceOfFail() {
for (var i = 0; i < iterations; i++) {
- bar instanceof LzText;
+ bar instanceof lz.text;
}
}
function typeOfInstanceOfFail() {
for (var i = 0; i < iterations; i++) {
- typeof bar == 'object' && bar instanceof LzText;
+ typeof bar == 'object' && bar instanceof lz.text;
}
}
Modified: openlaszlo/trunk/test/platform.lzx
===================================================================
--- openlaszlo/trunk/test/platform.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/platform.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -16,7 +16,7 @@
<attribute name="fpver" type="string"/>
<attribute name="testCount" type="number" value="0"/>
<handler name="oninit">
- this.setAttribute('fpver','fp'+parseInt(LzBrowser.getVersion()));
+ this.setAttribute('fpver','fp'+parseInt(lz.Browser.getVersion()));
</handler>
</node>
@@ -52,7 +52,7 @@
</state>
<method name="showText">
this.fadeDelegate = new LzDelegate( this, "autoSurf" );
- LzTimer.addTimer( this.surfDelegate, 1000 );
+ lz.Timer.addTimer( this.surfDelegate, 1000 );
</method>
<method name="autoSurf">
this.myText.animate( "opacity", 0.0, 1000 );
Modified: openlaszlo/trunk/test/rpc/xmlrpc/https/meerkat.lzx
===================================================================
--- openlaszlo/trunk/test/rpc/xmlrpc/https/meerkat.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/rpc/xmlrpc/https/meerkat.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -121,7 +121,7 @@
<!-- And finally, list of articles in the channel. -->
<datatree name="articles" datapath="element/item" bkg="white">
<statictext placement="item" x="25" y="25" width="300" multiline="true"
- onclick="LzBrowser.loadURL(this.datapath.xpathQuery('../link/text()'), '_blank')"
+ onclick="lz.Browser.loadURL(this.datapath.xpathQuery('../link/text()'), '_blank')"
onmouseover="setAttribute('fgcolor', blue)"
onmouseout="setAttribute('fgcolor', black)"
datapath="description/text()" />
@@ -136,9 +136,9 @@
height="$once{canvas.height}" bgcolor="white" opacity=".2">
<method name="setVisible" args="visible">
if (visible) {
- LzModeManager.makeModal(this);
+ lz.ModeManager.makeModal(this);
} else {
- LzModeManager.release(this);
+ lz.ModeManager.release(this);
}
super.setVisible(visible);
</method>
@@ -149,7 +149,7 @@
</view>
<view resource="../meerkat-powered.jpg" y="405"
- onclick="LzBrowser.loadURL('http://meerkat.oreillynet.com', '_blank')"/>
+ onclick="lz.Browser.loadURL('http://meerkat.oreillynet.com', '_blank')"/>
<!--
<button name="browse" text="Browse" x="100" y="405">
Modified: openlaszlo/trunk/test/rpc/xmlrpc/meerkat.lzx
===================================================================
--- openlaszlo/trunk/test/rpc/xmlrpc/meerkat.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/rpc/xmlrpc/meerkat.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -121,7 +121,7 @@
<!-- And finally, list of articles in the channel. -->
<datatree name="articles" datapath="element/item" bkg="white">
<statictext placement="item" x="25" y="25" width="300" multiline="true"
- onclick="LzBrowser.loadURL(this.datapath.xpathQuery('../link/text()'), '_blank')"
+ onclick="lz.Browser.loadURL(this.datapath.xpathQuery('../link/text()'), '_blank')"
onmouseover="setAttribute('fgcolor', blue)"
onmouseout="setAttribute('fgcolor', black)"
datapath="description/text()" />
@@ -136,9 +136,9 @@
height="$once{canvas.height}" bgcolor="white" opacity=".2">
<method name="setVisible" args="visible">
if (visible) {
- LzModeManager.makeModal(this);
+ lz.ModeManager.makeModal(this);
} else {
- LzModeManager.release(this);
+ lz.ModeManager.release(this);
}
super.setVisible(visible);
</method>
@@ -149,7 +149,7 @@
</view>
<view resource="meerkat-powered.jpg" y="405"
- onclick="LzBrowser.loadURL('http://meerkat.oreillynet.com', '_blank')"/>
+ onclick="lz.Browser.loadURL('http://meerkat.oreillynet.com', '_blank')"/>
<!--
<button name="browse" text="Browse" x="100" y="405">
Modified: openlaszlo/trunk/test/smoke/compiler.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/compiler.lzl 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/smoke/compiler.lzl 2008-07-02 14:11:34 UTC (rev 10174)
@@ -110,7 +110,7 @@
assertTrue(false, "Unknown $runtime " + $runtime);
}
// Verify runtime matches requested
- var url = LzBrowser.getLoadURLAsLzURL();
+ var url = lz.Browser.getLoadURLAsLzURL();
if (url.query != null) {
var query = LzParam.parseQueryString(url.query);
}
Modified: openlaszlo/trunk/test/smoke/lztext.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/lztext.lzl 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/smoke/lztext.lzl 2008-07-02 14:11:34 UTC (rev 10174)
@@ -20,7 +20,7 @@
<method name="testInputText">
// must be multiline for multiline getText() to work in DHTML
- var inp = new LzInputText(canvas, {x: 100, y: 100, width: 200, multiline: true});
+ var inp = new lz.inputtext(canvas, {x: 100, y: 100, width: 200, multiline: true});
inp.setText("foo\n\nbar");
// test getText() not eating newlines
assertEquals("foo\n\nbar", inp.getText());
Modified: openlaszlo/trunk/test/smoke/lzunit-test.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/lzunit-test.lzl 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/smoke/lzunit-test.lzl 2008-07-02 14:11:34 UTC (rev 10174)
@@ -243,7 +243,7 @@
assertSame(true, true, "true === true");
// TODO: [2005-11-02 ptw] (Flash 8) Fails in Flash 8.24
- var flashVersion = LzBrowser.getVersion();
+ var flashVersion = lz.Browser.getVersion();
if ((! flashVersion) || flashVersion < 8 || flashVersion > 10) {
assertNotSame(NaN, NaN, "NaN !== NaN");
}
@@ -278,7 +278,7 @@
{test: 'boolean Literal', instance: true, constructor: null},
{test: 'number Literal', instance: 0, constructor: null},
{test: 'string Literal', instance: "test", constructor: null},
- {test: 'new LzNode', instance: new LzNode(), constructor: LzNode}
+ {test: 'new lz.node', instance: new lz.node(), constructor: LzNode}
];
var types = [Array, Boolean, Date, Number, String];
@@ -446,7 +446,7 @@
expectedFailure = ef;
// TODO: [2005-11-02 ptw] (Flash 8) Fails in Flash 8.24
- var flashVersion = LzBrowser.getVersion();
+ var flashVersion = lz.Browser.getVersion();
var nexp = 27;
Modified: openlaszlo/trunk/test/smoke/regression.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/regression.lzl 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/smoke/regression.lzl 2008-07-02 14:11:34 UTC (rev 10174)
@@ -396,8 +396,8 @@
<method name="testNode">
assertTrue(myinstance instanceof lz.mynode);
- assertTrue(myinstance instanceof LzNode);
- assertFalse(myinstance instanceof LzView);
+ assertTrue(myinstance instanceof lz.node);
+ assertFalse(myinstance instanceof lz.view);
</method>
</class>
@@ -433,11 +433,11 @@
return true;
</method>
<method name="testNode">
- LzFocus.setFocus(view1)
- LzFocus.setFocus(view2)
- LzFocus.setFocus(view2)
- LzFocus.setFocus(view2)
- LzFocus.setFocus(view1)
+ lz.Focus.setFocus(view1)
+ lz.Focus.setFocus(view2)
+ lz.Focus.setFocus(view2)
+ lz.Focus.setFocus(view2)
+ lz.Focus.setFocus(view1)
assertArrayEquals(['onfocus', 'onblur'], view2.trace)
</method>
</class>
@@ -539,14 +539,14 @@
<class name="bug_1383" extends="TestCase">
<method name="testNode">
- var node = new LzNode();
- assertTrue(node instanceof LzNode);
- assertFalse(node instanceof LzView);
+ var node = new lz.node();
+ assertTrue(node instanceof lz.node);
+ assertFalse(node instanceof lz.view);
</method>
<method name="testView">
- var view = new LzView();
- assertTrue(view instanceof LzNode);
- assertTrue(view instanceof LzView);
+ var view = new lz.view();
+ assertTrue(view instanceof lz.node);
+ assertTrue(view instanceof lz.view);
</method>
</class>
@@ -581,7 +581,7 @@
<method name="test1">
assertEquals( 3 , ppar.pokeme.data );
var tnode = bug1485.childNodes[0].childNodes[2];
- var dp = new LzDatapointer( this , { p : tnode } );
+ var dp = new lz.datapointer( this , { p : tnode } );
ppar.datapath.setFromPointer( dp );
assertEquals( 6 , ppar.pokeme.data );
</method>
@@ -627,7 +627,7 @@
for (var i in this.subviews)
{
var child = this.subviews[i];
- assertTrue(child instanceof LzView);
+ assertTrue(child instanceof lz.view);
}
</method>
</class>
@@ -766,7 +766,7 @@
<![CDATA[
var d = "A!@#$%^&*() c";
- assertEquals(d, LzBrowser.urlUnescape(LzBrowser.urlEscape(d)))
+ assertEquals(d, lz.Browser.urlUnescape(lz.Browser.urlEscape(d)))
]]>
</method>
</class>
Modified: openlaszlo/trunk/test/snippets/common-library.lzx
===================================================================
--- openlaszlo/trunk/test/snippets/common-library.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/snippets/common-library.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -2,8 +2,13 @@
<script>
mynumber ++;
Debug.write("new common-library mynumber = ", mynumber);
- new LzText (canvas, {text: "new common-library.lzx "+mynumber});
+ new lz.text (canvas, {text: "new common-library.lzx "+mynumber});
</script>
</library>
+<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
+* Use is subject to license terms. *
+* X_LZ_COPYRIGHT_END ****************************************************** -->
+<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/snippets/css-library.lzx
===================================================================
--- openlaszlo/trunk/test/snippets/css-library.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/snippets/css-library.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -4,4 +4,9 @@
<text>Bar</text>
<text>Baz</text>
</view>
-</library>
\ No newline at end of file
+</library>
+<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
+* Use is subject to license terms. *
+* X_LZ_COPYRIGHT_END ****************************************************** -->
+<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/snippets/fontloader.lzx
===================================================================
--- openlaszlo/trunk/test/snippets/fontloader.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/snippets/fontloader.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -31,11 +31,11 @@
</method>
<method name="makeview" args="rname">
- var v = new LzView(canvas, {resource: rname});
+ var v = new lz.view(canvas, {resource: rname});
</method>
<method name="maketext" args="fname">
- var k = new LzText(canvas, {font: fname, fontsize: "26", text: "This is some Kentucky Text" });
+ var k = new lz.text(canvas, {font: fname, fontsize: "26", text: "This is some Kentucky Text" });
</method>
<!--
@@ -50,6 +50,6 @@
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/snippets/import-font.lzx
===================================================================
--- openlaszlo/trunk/test/snippets/import-font.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/snippets/import-font.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,5 +1,5 @@
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
@@ -7,7 +7,7 @@
<canvas>
<import name="lib" href="font-library.lzx" stage="late"
- onload="new LzText(canvas,{text: 'foobar', font: 'myfont'})"/>
+ onload="new lz.text(canvas,{text: 'foobar', font: 'myfont'})"/>
<text fontsize="20" font="myfont">This should issue a compiler warning that the font cannot be used in an import library</text>
</canvas>
Modified: openlaszlo/trunk/test/snippets/import-resource.lzx
===================================================================
--- openlaszlo/trunk/test/snippets/import-resource.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/snippets/import-resource.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -3,11 +3,11 @@
stage="late"
onload="canvas.doLoaded()"/>
<method name="doLoaded">
- new LzView(canvas, {resource: 'aswf'});
+ new lz.view(canvas, {resource: 'aswf'});
</method>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/snippets/layout-library.lzx
===================================================================
--- openlaszlo/trunk/test/snippets/layout-library.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/snippets/layout-library.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -3,4 +3,9 @@
<text>Foo</text>
<text>Bar</text>
<text>Baz</text>
-</library>
\ No newline at end of file
+</library>
+<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
+* Use is subject to license terms. *
+* X_LZ_COPYRIGHT_END ****************************************************** -->
+<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/snippets/script-library.lzx
===================================================================
--- openlaszlo/trunk/test/snippets/script-library.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/snippets/script-library.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -5,7 +5,12 @@
Debug.write('foo!');
}
- new LzView(canvas, {width: 50, height: 50, bgcolor: blah});
- new LzView(canvas, {width: 50, height: 50, bgcolor: canvas.greencolor});
+ new lz.view(canvas, {width: 50, height: 50, bgcolor: blah});
+ new lz.view(canvas, {width: 50, height: 50, bgcolor: canvas.greencolor});
</script>
</library>
+<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
+* Use is subject to license terms. *
+* X_LZ_COPYRIGHT_END ****************************************************** -->
+<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/snippets/view-resource-library.lzx
===================================================================
--- openlaszlo/trunk/test/snippets/view-resource-library.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/snippets/view-resource-library.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -4,6 +4,6 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
-* X_LZ_COPYRIGHT_END ****************************************************** -->
\ No newline at end of file
+* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/solo/loadmedia.lzx
===================================================================
--- openlaszlo/trunk/test/solo/loadmedia.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/solo/loadmedia.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -69,4 +69,4 @@
<!-- Space images from http://hubble.stsci.edu/ -->
<!-- see http://hubble.stsci.edu/copyright/copyright/ for copyright info -->
</canvas>
-<!-- copyright 2006 Laszlo Systems use subject to license -->
\ No newline at end of file
+<!-- copyright 2006-2008 Laszlo Systems use subject to license -->
Modified: openlaszlo/trunk/test/solo/nullbug.lzx
===================================================================
--- openlaszlo/trunk/test/solo/nullbug.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/solo/nullbug.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -8,7 +8,7 @@
<!--- @keywords private -->
<method name="init"> <![CDATA[
super.init();
- var ds = new LzDataset(
+ var ds = new lz.dataset(
null,
{ name : 'config_ds',
src : src,
Modified: openlaszlo/trunk/test/style/attrselector/attrs.lzx
===================================================================
--- openlaszlo/trunk/test/style/attrselector/attrs.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/attrselector/attrs.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2007 Laszlo Systems -->
+<!-- Copyright 2007-2008 Laszlo Systems -->
<library>
<stylesheet>
@@ -49,4 +49,4 @@
assertEquals( 0xbe6127, gDouggie.getAttribute("innercolor") );
</method>
</class>
-</library>
\ No newline at end of file
+</library>
Modified: openlaszlo/trunk/test/style/attrselector/name-test.lzx
===================================================================
--- openlaszlo/trunk/test/style/attrselector/name-test.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/attrselector/name-test.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. -->
+<!-- Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. -->
<library>
<!-- Remember: attribute selectors win over element selectors. -->
@@ -115,4 +115,4 @@
</class>
-</library>
\ No newline at end of file
+</library>
Modified: openlaszlo/trunk/test/style/compiler/stylesheetelement-test.lzx
===================================================================
--- openlaszlo/trunk/test/style/compiler/stylesheetelement-test.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/compiler/stylesheetelement-test.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2007 Laszlo Systems -->
+<!-- Copyright 2007-2008 Laszlo Systems -->
<library>
<stylesheet>
designerview {
@@ -79,4 +79,4 @@
</method>
</class>
-</library>
\ No newline at end of file
+</library>
Modified: openlaszlo/trunk/test/style/constraints/constraint-test.lzx
===================================================================
--- openlaszlo/trunk/test/style/constraints/constraint-test.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/constraints/constraint-test.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -115,4 +115,4 @@
</method>
</class>
</library>
-<!-- Copyright 2007 Laszlo Systems -->
\ No newline at end of file
+<!-- Copyright 2007-2008 Laszlo Systems -->
Modified: openlaszlo/trunk/test/style/constraints/contention.lzx
===================================================================
--- openlaszlo/trunk/test/style/constraints/contention.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/constraints/contention.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2007 Laszlo Systems Inc. -->
+<!-- Copyright 2007-2008 Laszlo Systems -->
<library>
<class name="mtext" extends="text" resize="false">
@@ -32,4 +32,4 @@
</class>
-</library>
\ No newline at end of file
+</library>
Modified: openlaszlo/trunk/test/style/constraints/main.lzx
===================================================================
--- openlaszlo/trunk/test/style/constraints/main.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/constraints/main.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2007 Laszlo Systems, Inc. All Rights Reserved. -->
+<!-- Copyright 2007-2008 Laszlo Systems -->
<canvas debug="true" bgcolor="#AAAAAA">
<include href="lzunit"/>
<script>
@@ -16,4 +16,4 @@
<ConstraintSpeedTestCase />
<CSSSubclassingTestCase />
</TestSuite>
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/style/constraints/speedtest.lzx
===================================================================
--- openlaszlo/trunk/test/style/constraints/speedtest.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/constraints/speedtest.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. -->
+<!-- Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. -->
<library>
<include href="lzunit" />
<stylesheet>
@@ -86,7 +86,7 @@
<method name="makeSomeNodes">
for ( var i = iter; i > 0; i-- ){
- new LzNode( subsubID );
+ new lz.node( subsubID );
}
assertEquals( iter, subsubID.subnodes.length );
Modified: openlaszlo/trunk/test/style/descendantselector/main.lzx
===================================================================
--- openlaszlo/trunk/test/style/descendantselector/main.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/descendantselector/main.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2007 Laszlo Systems, Inc. All Rights Reserved. -->
+<!-- Copyright 2007-2008 Laszlo Systems, Inc. All Rights Reserved. -->
<canvas debug="true" bgcolor="#AAAAAA">
<include href="lzunit"/>
<debug/>
@@ -16,4 +16,4 @@
<DescendantSelectorTestCase />
<ComplexDescendantSelectorTestCase />
</TestSuite>
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/style/elementselector/elementselector-test.lzx
===================================================================
--- openlaszlo/trunk/test/style/elementselector/elementselector-test.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/elementselector/elementselector-test.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. -->
+<!-- Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. -->
<library>
<stylesheet src="elementselectors.css" />
@@ -21,4 +21,4 @@
</method>
</class>
-</library>
\ No newline at end of file
+</library>
Modified: openlaszlo/trunk/test/style/elementselector/specialclassnames-test.lzx
===================================================================
--- openlaszlo/trunk/test/style/elementselector/specialclassnames-test.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/elementselector/specialclassnames-test.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -44,4 +44,4 @@
</method>
</class>
-</library>
\ No newline at end of file
+</library>
Modified: openlaszlo/trunk/test/style/errors/badcanvasattr.lzx
===================================================================
--- openlaszlo/trunk/test/style/errors/badcanvasattr.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/errors/badcanvasattr.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2006 Laszlo Systems -->
+<!-- Copyright 2007-2008 Laszlo Systems, Inc. All Rights Reserved. -->
<canvas cssfile="thisisbad.css">
<text text="this file tests what happens when we use a cssfile attribute on the canvas." />
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/style/errors/badcss.lzx
===================================================================
--- openlaszlo/trunk/test/style/errors/badcss.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/errors/badcss.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,7 +1,7 @@
-<!-- Copyright 2006 Laszlo Systems -->
+<!-- Copyright 2007-2008 Laszlo Systems, Inc. All Rights Reserved. -->
<canvas>
<text text="rrr this file tests what happens when we have an error in a styleddddddddsheet." />
<stylesheet>
this right here is not valid css
</stylesheet>
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/style/errors/badexternalcss.lzx
===================================================================
--- openlaszlo/trunk/test/style/errors/badexternalcss.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/errors/badexternalcss.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,5 +1,5 @@
-<!-- Copyright 2006 Laszlo Systems -->
+<!-- Copyright 2007-2008 Laszlo Systems, Inc. All Rights Reserved. -->
<canvas>
<text text="rrr this file tests what happens when we have an error in an external stylesheet xxx." />
<stylesheet src="bad.css" />
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/style/errors/cssfilenotfound.lzx
===================================================================
--- openlaszlo/trunk/test/style/errors/cssfilenotfound.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/errors/cssfilenotfound.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,5 +1,5 @@
-<!-- Copyright 2006 Laszlo Systems -->
+<!-- Copyright 2007-2008 Laszlo Systems, Inc. All Rights Reserved. -->
<canvas >
<stylesheet src="idontexist.css" />
<text text="this file tests what happens when we reference a css file that doesn't exist" />
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/style/idselector/ids.lzx
===================================================================
--- openlaszlo/trunk/test/style/idselector/ids.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/idselector/ids.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2007 Laszlo Systems -->
+<!-- Copyright 2007-2008 Laszlo Systems -->
<library>
<stylesheet src="ids.css" />
@@ -35,4 +35,4 @@
assertEquals( "find me please", gFindMe.getAttribute("miscdata"));
</method>
</class>
-</library>
\ No newline at end of file
+</library>
Modified: openlaszlo/trunk/test/style/metasuite.lzx
===================================================================
--- openlaszlo/trunk/test/style/metasuite.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/metasuite.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2007 Laszlo Systems -->
+<!-- Copyright 2007-2008 Laszlo Systems -->
<!--
Unified test suite for CSS. Currently executes 526 tests, all of which pass.
@@ -52,4 +52,4 @@
<SimpleTestCase />
</TestSuite>
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/style/neighborhood/kennedyfamily.lzx
===================================================================
--- openlaszlo/trunk/test/style/neighborhood/kennedyfamily.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/neighborhood/kennedyfamily.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,6 +1,6 @@
<!-- Test data. This represents the Kennedy dynasty, or at least, some of it.
This tree is mostly for testing parent/child/descendant/ancestor selectors. -->
-<!-- Copyright 2006 Laszlo Systems -->
+<!-- Copyright 2006-2008 Laszlo Systems -->
<street id="gEasyStreet">
<house id="gKennedyHouse">
<simplelayout axis="y" spacing="10" />
@@ -27,4 +27,4 @@
</person>
</person>
</house>
-</street>
\ No newline at end of file
+</street>
Modified: openlaszlo/trunk/test/style/parsertricks/embeddedhtml-test.lzx
===================================================================
--- openlaszlo/trunk/test/style/parsertricks/embeddedhtml-test.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/parsertricks/embeddedhtml-test.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -27,4 +27,4 @@
<text id="gRonny" width="200" height="100" text="$style{'miscdata'}"/>
<text id="gLinkToMothership" width="200" text="$style{'mothershiplink'}" />
</canvas>
-<!-- Copyright 2007 Laszlo Systems -->
\ No newline at end of file
+<!-- Copyright 2007-2008 Laszlo Systems -->
Modified: openlaszlo/trunk/test/style/parsertricks/import-test.lzx
===================================================================
--- openlaszlo/trunk/test/style/parsertricks/import-test.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/parsertricks/import-test.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2007 Laszlo Systems -->
+<!-- Copyright 2007-2008 Laszlo Systems -->
<!-- This file is to demonstrate the feature whereby a cssfile can
be included with @import
cf LPP-2702, and the CSS 2.1 spec at
@@ -37,4 +37,4 @@
</TestCase>
</TestSuite>
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/style/specificity/newspecificity.lzx
===================================================================
--- openlaszlo/trunk/test/style/specificity/newspecificity.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/specificity/newspecificity.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2007 Laszlo Systems -->
+<!-- Copyright 2007-2008 Laszlo Systems -->
<library>
<stylesheet>
/* 1 */
@@ -146,4 +146,4 @@
assertEquals( 11, n.value11 );
</method>
</class>
-</library>
\ No newline at end of file
+</library>
Modified: openlaszlo/trunk/test/style/test/test.lzx
===================================================================
--- openlaszlo/trunk/test/style/test/test.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/test/test.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2001-2006 Laszlo Systems, Inc. All Rights Reserved. -->
+<!-- Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. -->
<library>
<class name="testsuite">
<attribute name="timeout" value="3000"/>
@@ -28,7 +28,7 @@
}
//do this so that the call chain doesn't get confusingly
//deep
- LzIdle.callOnIdle( realstartdel );
+ lz.Idle.callOnIdle( realstartdel );
</method>
<method name="_reallyStart">
@@ -115,7 +115,7 @@
this.activity();
this.info( "Starting suite: " + s.name );
this.currsuite.nextTest();
- LzTimer.removeTimer( readydel );
+ lz.Timer.removeTimer( readydel );
</method>
@@ -135,7 +135,7 @@
this.log( "Finished suite: " + currsuite.name );
}
- LzTimer.removeTimer( timedel );
+ lz.Timer.removeTimer( timedel );
if ( readylist.length ) {
this._start( readylist.shift() );
@@ -143,7 +143,7 @@
this.currsuite= null;
for ( var i = 0; i < suites.length; i++ ){
if ( !suites[ i ].wasrun ){
- LzTimer.addTimer( readydel , maxReadyTime );
+ lz.Timer.addTimer( readydel , maxReadyTime );
return;
}
}
@@ -154,7 +154,7 @@
</method>
<method name="activity" args="s">
- LzTimer.resetTimer( timedel, currsuite.timeout );
+ lz.Timer.resetTimer( timedel, currsuite.timeout );
</method>
<method name="timedOut">
@@ -219,8 +219,8 @@
<method name="_finalize">
this._start = null;
this.done = null;
- LzTimer.removeTimer( timedel );
- LzTimer.removeTimer( readydel );
+ lz.Timer.removeTimer( timedel );
+ lz.Timer.removeTimer( readydel );
</method>
</node>
Modified: openlaszlo/trunk/test/style/urlparam/paramifyme.lzx
===================================================================
--- openlaszlo/trunk/test/style/urlparam/paramifyme.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/style/urlparam/paramifyme.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2006-2007 Laszlo Systems -->
+<!-- Copyright 2006-2008 Laszlo Systems -->
<!-- This file is to demonstrate the feature whereby a cssfile can
be specified as a http parameter. Run with ?cssfile=carla.css
to test this feature. cf LPP-2703.
@@ -25,4 +25,4 @@
</testsuite>
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/swf9/hello.lzx
===================================================================
--- openlaszlo/trunk/test/swf9/hello.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/swf9/hello.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -16,7 +16,7 @@
<handler name="oninit" >
var d = new LzDelegate( canvas.mytimer , "tellTime" );
- LzIdle.callOnIdle( d );
+ lz.Idle.callOnIdle( d );
</handler>
-->
@@ -31,7 +31,7 @@
<attribute name="somey" value="500"/>
<method name="showText" args="msg">
- new LzText(canvas, {x: 200, y: canvas.somey, text: msg});
+ new lz.text(canvas, {x: 200, y: canvas.somey, text: msg});
canvas.somey += 20;
</method>
Modified: openlaszlo/trunk/test/swf9/lzbrowser.lzx
===================================================================
--- openlaszlo/trunk/test/swf9/lzbrowser.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/swf9/lzbrowser.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -2,7 +2,7 @@
<button y="0">Alert
<handler name="onclick">
- LzBrowser.loadJS("alert('hello');", "_self");
+ lz.Browser.loadJS("alert('hello');", "_self");
</handler>
</button>
@@ -12,10 +12,10 @@
</method>
<handler name="oninit">
- status.append("LzBrowser.getVersion = " + LzBrowser.getVersion());
- status.append("LzBrowser.getLoadURL = " + LzBrowser.getLoadURL());
- status.append("LzBrowser.getInitArg('lzr') = " + LzBrowser.getInitArg('lzr'));
- status.append("LzBrowser.getLoadURLAsLzURL = " + LzBrowser.getLoadURLAsLzURL().toString());
+ status.append("lz.Browser.getVersion = " + lz.Browser.getVersion());
+ status.append("lz.Browser.getLoadURL = " + lz.Browser.getLoadURL());
+ status.append("lz.Browser.getInitArg('lzr') = " + lz.Browser.getInitArg('lzr'));
+ status.append("lz.Browser.getLoadURLAsLzURL = " + lz.Browser.getLoadURLAsLzURL().toString());
</handler>
</text>
Modified: openlaszlo/trunk/test/text/key_events.lzx
===================================================================
--- openlaszlo/trunk/test/text/key_events.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/text/key_events.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,9 +1,9 @@
<canvas debug="true">
-<!-- <handler name="onkeydown" reference="LzKeys" args="k">-->
-<!-- Debug.write("LzKeys onkeydown " + k );-->
+<!-- <handler name="onkeydown" reference="lz.Keys" args="k">-->
+<!-- Debug.write("lz.Keys onkeydown " + k );-->
<!-- </handler>-->
-<!-- <handler name="onkeyup" reference="LzKeys" args="k">-->
-<!-- Debug.write("LzKeys onkeyup " + k );-->
+<!-- <handler name="onkeyup" reference="lz.Keys" args="k">-->
+<!-- Debug.write("lz.Keys onkeyup " + k );-->
<!-- </handler>-->
<debug y="70"/>
<class name="myinput" extends="inputtext">
@@ -16,7 +16,7 @@
Debug.write('onkeyup '+ k + " " + this.name);
</handler>
<handler name="onkeydown" args="k">
- // shiftDown = LzKeys.isKeyDown("shift");
+ // shiftDown = lz.Keys.isKeyDown("shift");
Debug.write('onkeydown '+ k + " " + this.name);
//_root.debug.write("...shiftDown="+shiftDown);
</handler>
Modified: openlaszlo/trunk/test/text/mouse_events.lzx
===================================================================
--- openlaszlo/trunk/test/text/mouse_events.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/text/mouse_events.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,13 +1,13 @@
<canvas debug="true">
<simplelayout spacing="2"/>
- <handler name="onmousedown" reference="LzGlobalMouse" args="v">
- Debug.write('LzGlobalMouse onmousedown', v);
+ <handler name="onmousedown" reference="lz.GlobalMouse" args="v">
+ Debug.write('lz.GlobalMouse onmousedown', v);
</handler>
- <handler name="onmouseup" reference="LzGlobalMouse" args="v">
- Debug.write('LzGlobalMouse onmouseup', v);
+ <handler name="onmouseup" reference="lz.GlobalMouse" args="v">
+ Debug.write('lz.GlobalMouse onmouseup', v);
</handler>
- <handler name="onclick" reference="LzGlobalMouse" args="v">
- Debug.write('LzGlobalMouse onclick', v);
+ <handler name="onclick" reference="lz.GlobalMouse" args="v">
+ Debug.write('lz.GlobalMouse onclick', v);
</handler>
<inputtext bgcolor="#cccccc" clickable="false" >default input
<handler name="onmousedown" args="v">
@@ -35,7 +35,7 @@
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2007-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/test/text/renderingcomparison.lzx
===================================================================
--- openlaszlo/trunk/test/text/renderingcomparison.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/text/renderingcomparison.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,4 +1,4 @@
-<!-- Copyright 2007 Laszlo Systems -->
+<!-- Copyright 2007-2008 Laszlo Systems -->
<canvas title="rendering comparison" width="1100" height="100%">
<font src="helmetr.ttf" name="Helvetica" />
@@ -106,4 +106,4 @@
/>
</view>
</view>
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/test/traits.lzx
===================================================================
--- openlaszlo/trunk/test/traits.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/traits.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -1,5 +1,5 @@
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
@@ -53,7 +53,7 @@
<TestSuite>
<TestCase>
<method name="test0">
- var itC0 = new tc0();
+ var itC0 = new lz.tc0();
assertEquals( 1, itC0.foo );
assertEquals( 2, itC0.bar );
assertEquals( 3, itC0.baz );
@@ -62,7 +62,7 @@
<method name="test1">
assertEquals( 1, tc1.traits.length );
assertEquals( ta1, tc1.traits[0] );
- var itC1 = new tc1();
+ var itC1 = new lz.tc1();
assertEquals( 1, itC1.traits.length );
assertEquals( ta1, itC1.traits[0] );
assertEquals( 2, itC1.foo );
@@ -77,7 +77,7 @@
<method name="test2">
assertEquals( 1, tc2.traits.length );
assertEquals( ta2, tc2.traits[0] );
- var itC2 = new tc2();
+ var itC2 = new lz.tc2();
assertEquals( 1, itC2.traits.length );
assertEquals( ta2, itC2.traits[0] );
assertEquals( 3, itC2.foo );
@@ -93,7 +93,7 @@
assertEquals( 2, tc3.traits.length );
assertEquals( ta1, tc3.traits[0] );
assertEquals( ta2, tc3.traits[1] );
- var itC3 = new tc3();
+ var itC3 = new lz.tc3();
assertEquals( 2, itC3.traits.length );
assertEquals( ta1, itC3.traits[0] );
assertEquals( ta2, itC3.traits[1] );
@@ -111,7 +111,7 @@
assertEquals( 2, tc4.traits.length );
assertEquals( ta2, tc4.traits[0] );
assertEquals( ta1, tc4.traits[1] );
- var itC4 = new tc4();
+ var itC4 = new lz.tc4();
assertEquals( 2, itC4.traits.length );
assertEquals( ta2, itC4.traits[0] );
assertEquals( ta1, itC4.traits[1] );
Modified: openlaszlo/trunk/test/tutorials/window/window.lzx
===================================================================
--- openlaszlo/trunk/test/tutorials/window/window.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/tutorials/window/window.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -63,7 +63,7 @@
if ( !this.getAttribute('sizerDel') ) {
this.sizerDel = new LzDelegate( this, 'adjustSize',
- LzIdle, 'onidle' );
+ lz.Idle, 'onidle' );
}
</method>
@@ -107,6 +107,6 @@
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
Modified: openlaszlo/trunk/test/video/test-camera-mute-multiple.lzx
===================================================================
--- openlaszlo/trunk/test/video/test-camera-mute-multiple.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/video/test-camera-mute-multiple.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -78,7 +78,7 @@
<method name="makeWindow"><![CDATA[
var win =
- new camerawindow(
+ new lz.camerawindow(
this, {
name: "w" + global.wnum,
x: 10 + global.wnum * 200,
Modified: openlaszlo/trunk/test/video/test-camera.lzx
===================================================================
--- openlaszlo/trunk/test/video/test-camera.lzx 2008-07-02 13:39:00 UTC (rev 10173)
+++ openlaszlo/trunk/test/video/test-camera.lzx 2008-07-02 14:11:34 UTC (rev 10174)
@@ -43,7 +43,7 @@
var cname = a[i];
Debug.write("Camera device index", i, "name", cname);
var c =
- new camlistitem(
+ new lz.camlistitem(
this,
{text:cname, index:i});
Debug.write(c);
Modified: openlaszlo/trunk/test/video/test-microphone-recording.lzx
===================================================================
(Binary files differ)
More information about the Laszlo-checkins
mailing list