[Laszlo-checkins] r10171 - in openlaszlo/trunk/examples: . components mobile/clock musicdhtml xmldata

pbr@openlaszlo.org pbr at openlaszlo.org
Wed Jul 2 06:21:58 PDT 2008


Author: pbr
Date: 2008-07-02 06:21:54 -0700 (Wed, 02 Jul 2008)
New Revision: 10171

Modified:
   openlaszlo/trunk/examples/audio.lzx
   openlaszlo/trunk/examples/components/tree_example.lzx
   openlaszlo/trunk/examples/mobile/clock/clock-test.lzx
   openlaszlo/trunk/examples/modeexample.lzx
   openlaszlo/trunk/examples/musicdhtml/audiokernel.lzx
   openlaszlo/trunk/examples/xmldata/xmldata.lzx
Log:
/examples 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/examples/audio.lzx
===================================================================
--- openlaszlo/trunk/examples/audio.lzx	2008-07-02 13:17:33 UTC (rev 10170)
+++ openlaszlo/trunk/examples/audio.lzx	2008-07-02 13:21:54 UTC (rev 10171)
@@ -16,15 +16,15 @@
         <simplelayout axis="y" spacing="2" />
 
         <button text="Poof" width="100" height="30" 
-           onclick="LzAudio.playSound('poof');" />
+           onclick="lz.Audio.playSound('poof');" />
         <button text="Beep" width="100" height="30" 
-           onclick="LzAudio.playSound('beep');" />
+           onclick="lz.Audio.playSound('beep');" />
         <button text="Troll" width="100" height="30" 
-           onclick="LzAudio.playSound('troll');" />
+           onclick="lz.Audio.playSound('troll');" />
     </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 ****************************************************** -->
 <!-- @LZX_VERSION@                                                         -->

Modified: openlaszlo/trunk/examples/components/tree_example.lzx
===================================================================
--- openlaszlo/trunk/examples/components/tree_example.lzx	2008-07-02 13:17:33 UTC (rev 10170)
+++ openlaszlo/trunk/examples/components/tree_example.lzx	2008-07-02 13:21:54 UTC (rev 10171)
@@ -74,11 +74,11 @@
                     </handler>
                     <method name="viewInWindow" args="url">
                         if ($runtime == 'dhtml') {
-                            LzBrowser.loadURL(url,"Info","resizable=1,width=1000,height=700,left=0,top=0,screenX=0,screenY=0,menubar,location,status,scrollbars,toolbar,address");
+                            lz.Browser.loadURL(url,"Info","resizable=1,width=1000,height=700,left=0,top=0,screenX=0,screenY=0,menubar,location,status,scrollbars,toolbar,address");
                         } else {
-                            LzBrowser.loadJS('window.open("' + url + '","Info","resizable=1,width=1000,height=700,left=0,top=0,screenX=0,screenY=0,menubar,location,status,scrollbars,toolbar,address");');
+                            lz.Browser.loadJS('window.open("' + url + '","Info","resizable=1,width=1000,height=700,left=0,top=0,screenX=0,screenY=0,menubar,location,status,scrollbars,toolbar,address");');
                         }
-                        //LzBrowser.loadURL('javascript: var wptr = window.open("' + url + '","test","resizable=1,width=1000,height=700,left=0,top=0,screenX=0,screenY=0,menubar,location,status,scrollbars,toolbar,address"); wptr.focus(); void(0);');
+                        //lz.Browser.loadURL('javascript: var wptr = window.open("' + url + '","test","resizable=1,width=1000,height=700,left=0,top=0,screenX=0,screenY=0,menubar,location,status,scrollbars,toolbar,address"); wptr.focus(); void(0);');
                     </method>
                 </tree>
             </tree>

Modified: openlaszlo/trunk/examples/mobile/clock/clock-test.lzx
===================================================================
--- openlaszlo/trunk/examples/mobile/clock/clock-test.lzx	2008-07-02 13:17:33 UTC (rev 10170)
+++ openlaszlo/trunk/examples/mobile/clock/clock-test.lzx	2008-07-02 13:21:54 UTC (rev 10171)
@@ -23,11 +23,11 @@
              get's is not stored in internal variables causing two animations to occur. -->
         <handler name="oninit" reference="canvas">
            this.del = new LzDelegate ( this, "tick" );
-           LzTimer.addTimer( this.del, 1000 );
+           lz.Timer.addTimer( this.del, 1000 );
          </handler>
         <method name="tick" >
            this.onsecond.sendEvent();
-           LzTimer.addTimer( this.del, 1000 );
+           lz.Timer.addTimer( this.del, 1000 );
         </method>
     </node>
 

Modified: openlaszlo/trunk/examples/modeexample.lzx
===================================================================
--- openlaszlo/trunk/examples/modeexample.lzx	2008-07-02 13:17:33 UTC (rev 10170)
+++ openlaszlo/trunk/examples/modeexample.lzx	2008-07-02 13:21:54 UTC (rev 10171)
@@ -47,13 +47,13 @@
                     return true;
                 </method>
                 <method name="open">
-                    LzModeManager.makeModal( this );
+                    lz.ModeManager.makeModal( this );
                     this.bringToFront();
                     parent.bringToFront();
                     this.setAttribute('visible', true);
                 </method>
                 <method name="close">
-                    LzModeManager.release( this );
+                    lz.ModeManager.release( this );
                     setAttribute('visible', false);
                 </method>
 
@@ -98,20 +98,20 @@
                     if (!this.isopen) {
                         this.isopen=true;
                         tip.setAttribute('visible', true);
-                        LzModeManager.makeModal( this );
+                        lz.ModeManager.makeModal( this );
                         if (typeof(this.tabDel) == "undefined") {
                             this.tabDel = new LzDelegate( this , "releaseMode" );
                             this.clickDel = new LzDelegate( this , "checkForClick" );
                         }
-                        this.tabDel.register(LzKeys, "onkeydown");
-                        this.clickDel.register(LzGlobalMouse, "onmouseup");
+                        this.tabDel.register(lz.Keys, "onkeydown");
+                        this.clickDel.register(lz.GlobalMouse, "onmouseup");
                     }
                 </method>
                 <method name="close">
                     if (this.isopen) {
                         this.isopen = false;
                         tip.setAttribute('visible', false);
-                        LzModeManager.release( this );
+                        lz.ModeManager.release( this );
                         this.tabDel.unregisterAll();
                     }
                 </method>
@@ -194,18 +194,18 @@
                 <text width="240" bgcolor="white"
                         oninit="createDelegates();" >
                     <method name="createDelegates" >
-                        new LzDelegate( this , "globalMouseUp" , LzGlobalMouse ,
+                        new LzDelegate( this , "globalMouseUp" , lz.GlobalMouse ,
                                         "onmouseup" );
-                        new LzDelegate( this , "globalMouseDown" , LzGlobalMouse,
+                        new LzDelegate( this , "globalMouseDown" , lz.GlobalMouse,
                                         "onmousedown" );
-                        new LzDelegate( this , "globalMouseRollover" , LzGlobalMouse ,
+                        new LzDelegate( this , "globalMouseRollover" , lz.GlobalMouse ,
                                         "onmouseover" );
                         this.cleard = new LzDelegate( this , "cleartext" )
                     </method>
 
                     <method name="globalMouseUp" args="vc">
                         this.setText( "mouseup from " + vc );
-                        LzTimer.resetTimer( this.cleard , 3000 );
+                        lz.Timer.resetTimer( this.cleard , 3000 );
                     </method>
                     <method name="globalMouseDown" args="vc">
                         this.setText( "mousedown from " + vc );
@@ -213,7 +213,7 @@
 
                     <method name="globalMouseRollover" args="vc">
                         this.setText( "mouse over " + vc );
-                        LzTimer.resetTimer( this.cleard , 3000 );
+                        lz.Timer.resetTimer( this.cleard , 3000 );
                     </method>
 
                     <method name="cleartext" >
@@ -223,7 +223,7 @@
 
                 </text>
                 <text width="${parent.width-5}" multiline="true">
-                    note: the LzGlobalMouse service continues to send events
+                    note: the lz.GlobalMouse service continues to send events
                     even when someone has the mode, but only the view which
                     has the mode receives view events</text>
             </view>
@@ -249,16 +249,16 @@
             </view>
         </view>
         <method name="open">
-            LzModeManager.makeModal( this );
+            lz.ModeManager.makeModal( this );
             this.setAttribute('visible',  true );
             this.bringToFront();
-            LzFocus.setFocus(this);
+            lz.Focus.setFocus(this);
         </method>
 
         <method name="close">
             this.setAttribute('visible',  false );
-            LzFocus.setFocus(null);
-            LzModeManager.release( this );
+            lz.Focus.setFocus(null);
+            lz.ModeManager.release( this );
         </method>
 
         <method name="passModeEvent" args="event_name, view">

Modified: openlaszlo/trunk/examples/musicdhtml/audiokernel.lzx
===================================================================
--- openlaszlo/trunk/examples/musicdhtml/audiokernel.lzx	2008-07-02 13:17:33 UTC (rev 10170)
+++ openlaszlo/trunk/examples/musicdhtml/audiokernel.lzx	2008-07-02 13:21:54 UTC (rev 10171)
@@ -14,22 +14,22 @@
         </method>
         <handler name="onlastframe">
             //Debug.write("Got lastframe");
-            LzBrowser.callJS('setCanAttr', null, 'lastframe'); 
+            lz.Browser.callJS('setCanAttr', null, 'lastframe'); 
         </handler>
         <handler name="onstop">
             //Debug.write("Got stop");
         </handler>
         <handler name="onloadperc" args="l">
             //Debug.write("Got loadperc", l);
-            LzBrowser.callJS('setCanAttr', null, 'loadperc', l); 
+            lz.Browser.callJS('setCanAttr', null, 'loadperc', l); 
         </handler>
         <handler name="onframe" args="f">
             //Debug.write("Got frame", f);
-            LzBrowser.callJS('setCanAttr', null, 'frame', f); 
+            lz.Browser.callJS('setCanAttr', null, 'frame', f); 
         </handler>
         <handler name="ontotalframes" args="t">
             //Debug.write("Got totalframes", t);
-            LzBrowser.callJS('setCanAttr', null, 'totalframes', t); 
+            lz.Browser.callJS('setCanAttr', null, 'totalframes', t); 
         </handler>
     </view>
 </canvas>    

Modified: openlaszlo/trunk/examples/xmldata/xmldata.lzx
===================================================================
--- openlaszlo/trunk/examples/xmldata/xmldata.lzx	2008-07-02 13:17:33 UTC (rev 10170)
+++ openlaszlo/trunk/examples/xmldata/xmldata.lzx	2008-07-02 13:21:54 UTC (rev 10171)
@@ -172,7 +172,7 @@
                 ds.secure = true;
                 ds.secureport = secure.p.port.getText();
 
-                var url = new LzURL(LzBrowser.getLoadURL());
+                var url = new LzURL(lz.Browser.getLoadURL());
                 url.file = 'echo.jsp';
                 url.query = null;
                 url.protocol = 'https';



More information about the Laszlo-checkins mailing list