[Laszlo-checkins] r10173 - in openlaszlo/trunk/lps/components: av base charts/addon charts/barchart charts/common charts/styles debugger extensions extensions/av extensions/views incubator incubator/opttree incubator/rich-text incubator/test incubator/tooltip incubator/validators lz lztest lzunit queens-charts/shared rpc utils/diagnostic utils/diagnostic/inspector utils/performance utils/replicator utils/traits
pbr@openlaszlo.org
pbr at openlaszlo.org
Wed Jul 2 06:39:27 PDT 2008
Author: pbr
Date: 2008-07-02 06:39:00 -0700 (Wed, 02 Jul 2008)
New Revision: 10173
Modified:
openlaszlo/trunk/lps/components/av/videoslider.lzx
openlaszlo/trunk/lps/components/av/videovolumebutton.lzx
openlaszlo/trunk/lps/components/base/basebutton.lzx
openlaszlo/trunk/lps/components/base/basebuttonrepeater.lzx
openlaszlo/trunk/lps/components/base/basecombobox.lzx
openlaszlo/trunk/lps/components/base/basecomponent.lzx
openlaszlo/trunk/lps/components/base/basedatacombobox.lzx
openlaszlo/trunk/lps/components/base/basedatepicker.lzx
openlaszlo/trunk/lps/components/base/basefocusview.lzx
openlaszlo/trunk/lps/components/base/baseformitem.lzx
openlaszlo/trunk/lps/components/base/basegrid.lzx
openlaszlo/trunk/lps/components/base/basegridrow.lzx
openlaszlo/trunk/lps/components/base/baselist.lzx
openlaszlo/trunk/lps/components/base/baselistitem.lzx
openlaszlo/trunk/lps/components/base/basescrollbar.lzx
openlaszlo/trunk/lps/components/base/basetabs.lzx
openlaszlo/trunk/lps/components/base/basetrackgroup.lzx
openlaszlo/trunk/lps/components/base/basetree.lzx
openlaszlo/trunk/lps/components/base/basewindow.lzx
openlaszlo/trunk/lps/components/base/componentmanager.lzx
openlaszlo/trunk/lps/components/base/datalistselector.lzx
openlaszlo/trunk/lps/components/base/style.lzx
openlaszlo/trunk/lps/components/charts/addon/zoomarea.lzx
openlaszlo/trunk/lps/components/charts/barchart/barchartplotarea.lzx
openlaszlo/trunk/lps/components/charts/common/dataseries.lzx
openlaszlo/trunk/lps/components/charts/common/tickmarklabel.lzx
openlaszlo/trunk/lps/components/charts/styles/defaultchartstyle.lzx
openlaszlo/trunk/lps/components/debugger/debugger.lzx
openlaszlo/trunk/lps/components/debugger/remoteserver.lzx
openlaszlo/trunk/lps/components/extensions/av/mediastream.lzx
openlaszlo/trunk/lps/components/extensions/av/microphone.lzx
openlaszlo/trunk/lps/components/extensions/html.lzx
openlaszlo/trunk/lps/components/extensions/views/richinputtext.lzx
openlaszlo/trunk/lps/components/incubator/baseslider.lzx
openlaszlo/trunk/lps/components/incubator/colorslider.lzx
openlaszlo/trunk/lps/components/incubator/draglib.lzx
openlaszlo/trunk/lps/components/incubator/lzeditcombobox.lzx
openlaszlo/trunk/lps/components/incubator/opttree/baseopttreenode.lzx
openlaszlo/trunk/lps/components/incubator/opttree/opttree.lzx
openlaszlo/trunk/lps/components/incubator/rich-text/richedittext.lzx
openlaszlo/trunk/lps/components/incubator/rich-text/richtexteditarea.lzx
openlaszlo/trunk/lps/components/incubator/rich-text/scrollrichedittext.lzx
openlaszlo/trunk/lps/components/incubator/stylishbutton.lzx
openlaszlo/trunk/lps/components/incubator/test/domapi-test.lzx
openlaszlo/trunk/lps/components/incubator/test/draglib-test.lzx
openlaszlo/trunk/lps/components/incubator/test/ulink-test.lzx
openlaszlo/trunk/lps/components/incubator/tooltip/tooltip.lzx
openlaszlo/trunk/lps/components/incubator/tooltipmanager.lzx
openlaszlo/trunk/lps/components/incubator/ulink.lzx
openlaszlo/trunk/lps/components/incubator/validators/timevalidator.lzx
openlaszlo/trunk/lps/components/lz/datepicker.lzx
openlaszlo/trunk/lps/components/lz/gridcolumn.lzx
openlaszlo/trunk/lps/components/lz/gridtext.lzx
openlaszlo/trunk/lps/components/lz/listitem.lzx
openlaszlo/trunk/lps/components/lz/menu.lzx
openlaszlo/trunk/lps/components/lz/modaldialog.lzx
openlaszlo/trunk/lps/components/lz/mr-ed.lzx
openlaszlo/trunk/lps/components/lz/simpletext.lzx
openlaszlo/trunk/lps/components/lz/tabelement.lzx
openlaszlo/trunk/lps/components/lz/tree.lzx
openlaszlo/trunk/lps/components/lztest/lztestmanager.lzx
openlaszlo/trunk/lps/components/lzunit/lzunit.lzx
openlaszlo/trunk/lps/components/queens-charts/shared/chartzoomer.lzx
openlaszlo/trunk/lps/components/queens-charts/shared/wholepie.lzx
openlaszlo/trunk/lps/components/rpc/ajax.lzx
openlaszlo/trunk/lps/components/utils/diagnostic/frametimer.lzx
openlaszlo/trunk/lps/components/utils/diagnostic/inittimer.lzx
openlaszlo/trunk/lps/components/utils/diagnostic/inspector/colormenu.lzx
openlaszlo/trunk/lps/components/utils/diagnostic/inspector/inspector.lzx
openlaszlo/trunk/lps/components/utils/performance/measure.lzx
openlaszlo/trunk/lps/components/utils/replicator/lazyreplicator.lzx
openlaszlo/trunk/lps/components/utils/traits/cssable.lzx
Log:
/lps/components 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/lps/components/av/videoslider.lzx
===================================================================
--- openlaszlo/trunk/lps/components/av/videoslider.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/av/videoslider.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -1,5 +1,5 @@
<!-- 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 ************************************************** -->
@@ -63,10 +63,10 @@
this.trackingDelegate =
new LzDelegate(this, "handleTracking");
}
- LzIdle.onidle.addDelegate(
+ lz.Idle.onidle.addDelegate(
this.trackingDelegate);
} else {
- LzIdle.onidle.removeDelegate(
+ lz.Idle.onidle.removeDelegate(
this.trackingDelegate);
}
]]>
Modified: openlaszlo/trunk/lps/components/av/videovolumebutton.lzx
===================================================================
--- openlaszlo/trunk/lps/components/av/videovolumebutton.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/av/videovolumebutton.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -1,5 +1,5 @@
<!-- 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 ************************************************** -->
@@ -127,11 +127,11 @@
this.trackingDelegate =
new LzDelegate(this, "_handleIdle");
}
- LzIdle.onidle.addDelegate(this.trackingDelegate);
+ lz.Idle.onidle.addDelegate(this.trackingDelegate);
this._handleIdle();
} else {
if (this.trackingDelegate != null) {
- LzIdle.onidle.removeDelegate(this.trackingDelegate);
+ lz.Idle.onidle.removeDelegate(this.trackingDelegate);
this.trackingDelegate.unregisterAll();
}
}
Modified: openlaszlo/trunk/lps/components/base/basebutton.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basebutton.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/basebutton.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -86,7 +86,7 @@
else this.showUp();
]]> </method>
- <handler args="m" name="onmode" reference="LzModeManager">
+ <handler args="m" name="onmode" reference="lz.ModeManager">
<![CDATA[
if ( m && ( this._msdown || this._msin ) &&
!this.childOf( m ) ){
Modified: openlaszlo/trunk/lps/components/base/basebuttonrepeater.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basebuttonrepeater.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/basebuttonrepeater.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -22,7 +22,7 @@
next = 50;
this.onmousestilldown.sendEvent();
}
- LzTimer.resetTimer( this.stillDownDelegate, next );
+ lz.Timer.resetTimer( this.stillDownDelegate, next );
}
</method>
@@ -34,12 +34,12 @@
if (!this.stillDownDelegate) {
this.stillDownDelegate = new LzDelegate( this, "stillDownEventGenerator");
}
- LzTimer.addTimer( this.stillDownDelegate, 500 );
+ lz.Timer.addTimer( this.stillDownDelegate, 500 );
</handler>
<!--- @keywords private -->
<handler name= "onmouseup">
this.isMouseDown=false;
- LzTimer.removeTimer( this.stillDownDelegate );
+ lz.Timer.removeTimer( this.stillDownDelegate );
</handler>
<doc>
@@ -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 ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/base/basecombobox.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basecombobox.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/basecombobox.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -97,9 +97,9 @@
// a modal view).
this.setOpen(false);
if (!editable) {
- return LzFocus.getNext(bkgnd);
+ return lz.Focus.getNext(bkgnd);
} else {
- return LzFocus.getNext(interior.cbtext);
+ return lz.Focus.getNext(interior.cbtext);
}
</method>
@@ -246,7 +246,7 @@
</handler>
<method name="getPrevSelection">
- return LzFocus.getPrev(parent);
+ return lz.Focus.getPrev(parent);
</method>
<method name="getFocusRect" >
@@ -389,7 +389,7 @@
<!--- @keywords private -->
<handler name="onblur" >
- if ( LzFocus.getFocus() != this.interior.cbtext )
+ if ( lz.Focus.getFocus() != this.interior.cbtext )
this.setOpen(false);
</handler>
@@ -425,10 +425,10 @@
// anItem has been selected so update the input text field
this.selected = v;
if (v) this.setText(v.text);
- if (this.editable && LzFocus.getFocus() == this.interior.cbtext) {
+ if (this.editable && lz.Focus.getFocus() == this.interior.cbtext) {
_fixseldel.start = 0;
_fixseldel.end = v.text.length;
- LzIdle.callOnIdle( _fixseldel );
+ lz.Idle.callOnIdle( _fixseldel );
}
@@ -509,11 +509,11 @@
}
if (open) { // open combox
if (this.isopen) return; // tends to get called more than once, esp when
- LzModeManager.makeModal( this );
+ lz.ModeManager.makeModal( this );
this.cblist.bringToFront();
this.cblist.setAttribute('visible', true);
- LzFocus.setFocus(this.cblist, withkey);
+ lz.Focus.setFocus(this.cblist, withkey);
this.isopen = true;
if (this['onisopen']) this.onisopen.sendEvent(true);
@@ -521,14 +521,14 @@
if (!this['isopen']) return;
this.isopen = false;
- LzModeManager.release( this );
+ lz.ModeManager.release( this );
this.cblist.setAttribute('visible', false);
if (this['onisopen']) this.onisopen.sendEvent(false);
- if ( LzFocus.getFocus() == this.cblist ) {
+ if ( lz.Focus.getFocus() == this.cblist ) {
if (!editable) {
- LzFocus.setFocus(bkgnd, withkey);
+ lz.Focus.setFocus(bkgnd, withkey);
} else {
- LzFocus.setFocus(interior.cbtext, withkey);
+ lz.Focus.setFocus(interior.cbtext, withkey);
}
}
}
@@ -655,7 +655,7 @@
interior.cbtext.setAttribute('visible', this._enabled);
if (!this._enabled) {
if (interior._dsblfield == null) {
- var t = new LzText(interior,
+ var t = new lz.text(interior,
{ name: '_dsblfield', x: 2, y: 1,
width:interior.width, height:interior.height,
fgcolor:this['style'] ? this.style.textdisabledcolor : null});
Modified: openlaszlo/trunk/lps/components/base/basecomponent.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basecomponent.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/basecomponent.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -206,7 +206,7 @@
<!--- @access private -->
<method name="_setDoesEnter" args="doe">
this.doesenter = doe;
- if ( LzFocus.getFocus() == this ){
+ if ( lz.Focus.getFocus() == this ){
lz._componentmanager.service.checkDefault( this );
}
</method>
@@ -214,7 +214,7 @@
<!--- this method can be called to force the default
button to update -->
<method name="updateDefault">
- lz._componentmanager.service.checkDefault( LzFocus.getFocus() );
+ lz._componentmanager.service.checkDefault( lz.Focus.getFocus() );
</method>
<!--- if null, the style is set to the inherited style from the parent
Modified: openlaszlo/trunk/lps/components/base/basedatacombobox.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basedatacombobox.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/basedatacombobox.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -133,7 +133,7 @@
data.
@keywords private -->
<method name="_updateSelectionOnData" ><![CDATA[
- var dp = new LzDatapointer(this);
+ var dp = new lz.datapointer(this);
var arr = dp.xpathQuery(this.itemdatapath);
if (arr != null) {
@@ -203,7 +203,7 @@
@keywords private -->
<method name="_updateSelectionByIndex"
args="index,dontSetValue,isinitvalue"><![CDATA[
- var dp = new LzDatapointer(this);
+ var dp = new lz.datapointer(this);
var nodes = dp.xpathQuery(this.itemdatapath);
if (! (nodes instanceof Array)) nodes = [nodes];
@@ -290,7 +290,7 @@
// add in a white view to reduce the visual effect of the
// list items appearing as they are created
var tmp = new lz[icn](cblist, { name:'item' });
- new LzDatapath(tmp, { pooling: true });
+ new lz.datapath(tmp, { pooling: true });
this._cblist = cblist;
@@ -354,28 +354,28 @@
if (open) { // open combox
if (this.isopen) return; // tends to get called more than once
- LzModeManager.makeModal( this );
+ lz.ModeManager.makeModal( this );
this._setupcblist();
this._cblist.bringToFront();
this._cblist.setAttribute('visible', true);
- LzFocus.setFocus( this._cblist, false );
+ lz.Focus.setFocus( this._cblist, false );
this.isopen = true;
if (this['onisopen']) this.onisopen.sendEvent(true);
} else { // close combox
if (!this.isopen) return;
- LzModeManager.release( this );
+ lz.ModeManager.release( this );
if (!this['isopen']) return;
this._cblist.setAttribute("visible", false);
this.isopen = false;
if (this['onisopen']) this.onisopen.sendEvent(false);
- if ( LzFocus.getFocus() === this._cblist ) {
+ if ( lz.Focus.getFocus() === this._cblist ) {
if ( this.focusable ) {
- LzFocus.setFocus( this, false );
+ lz.Focus.setFocus( this, false );
}
}
}
@@ -489,7 +489,7 @@
@param Object value: the value of the item to select. -->
<method name="getItemIndex" args="value"><![CDATA[
var index = -1;
- var dp = new LzDatapointer(this);
+ var dp = new lz.datapointer(this);
var nodes = dp.xpathQuery(this.itemdatapath);
if (nodes != null) {
if (! (nodes instanceof Array)) nodes = [nodes];
@@ -557,7 +557,7 @@
// we can change the focus. (focus is normally not allowed to escape from
// a modal view).
this.setAttribute("isopen", false);
- return LzFocus.getNext(this);
+ return lz.Focus.getNext(this);
]]></method>
<!--- since we are not focusable, this provides an api for asking what child to send focus
@@ -582,11 +582,11 @@
<!--- @keywords private -->
<handler name="onfocus"><![CDATA[
- // LzFocus.lastfocus is the blurred view
- if ( LzFocus.lastfocus !== this._cblist ||
+ // lz.Focus.lastfocus is the blurred view
+ if ( lz.Focus.lastfocus !== this._cblist ||
(this._cblist != null && this._cblist.attachtarget !== this) ) {
if (this.oncombofocus) {
- this.oncombofocus.sendEvent(LzFocus.lastfocus);
+ this.oncombofocus.sendEvent(lz.Focus.lastfocus);
}
}
]]></handler>
@@ -599,7 +599,7 @@
}
// destroy floating list when we lose focus
if (this._cblist != null &&
- LzFocus.lastfocus !== this) {
+ lz.Focus.lastfocus !== this) {
this._teardowncblist();
}
}
@@ -636,7 +636,7 @@
<attribute name="menuclassname" value="floatinglist" type="string"/>
<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/lps/components/base/basedatepicker.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basedatepicker.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/basedatepicker.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -544,13 +544,13 @@
this.showingdate.setYear( this.showingyear );
</handler>
- <handler name="onkeydown" reference="LzKeys" args="k">
+ <handler name="onkeydown" reference="lz.Keys" args="k">
if ( content.hasfocus ) {
this.handleKeyDown(k);
}
</handler>
- <handler name="onkeyup" reference="LzKeys" args="k">
+ <handler name="onkeyup" reference="lz.Keys" args="k">
if ( content.hasfocus ) {
this.handleKeyUp(k);
}
Modified: openlaszlo/trunk/lps/components/base/basefocusview.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basefocusview.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/basefocusview.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -143,7 +143,7 @@
this._dofadeout = true;
if ( !this._delayfadeoutDL )
this._delayfadeoutDL = new LzDelegate(this,'fadeout');
- LzTimer.addTimer( this._delayfadeoutDL, 1000 );
+ lz.Timer.addTimer( this._delayfadeoutDL, 1000 );
this.setTarget( _nexttarget );
this._onstopdel.unregisterAll();
}
@@ -240,8 +240,8 @@
</method>
<!--- @keywords private -->
- <handler args="v" name="onfocus" reference="LzFocus">
- this.setActive( LzFocus.focuswithkey );
+ <handler args="v" name="onfocus" reference="lz.Focus">
+ this.setActive( lz.Focus.focuswithkey );
if ( v ) {
this.doFocus( v );
} else {
Modified: openlaszlo/trunk/lps/components/base/baseformitem.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/baseformitem.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/baseformitem.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -187,7 +187,7 @@
Debug.format("WARNING: submitname not given for object %w (baseformitem.toXML)\n", this);
}
}
- return (LzBrowser.xmlEscape(this.submitname) + "=\"" + LzBrowser.xmlEscape(val) + '"');
+ return (lz.Browser.xmlEscape(this.submitname) + "=\"" + lz.Browser.xmlEscape(val) + '"');
</method>
<doc>
<tag name="shortdesc"><text>an abstract class for components which are used in a form</text></tag>
Modified: openlaszlo/trunk/lps/components/base/basegrid.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basegrid.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/basegrid.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -412,7 +412,7 @@
this.bgcolor1 != null;
var r = new _rowclass ( content.rowparent , initArgs, cells , true );
- new LzDatapath( r , { replication : "lazy" ,
+ new lz.datapath( r , { replication : "lazy" ,
xpath : this.contentdatapath ,
spacing : this.spacing } );
Modified: openlaszlo/trunk/lps/components/base/basegridrow.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basegridrow.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/basegridrow.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -73,8 +73,8 @@
//this forces the next row to be in view, if possible
//it's called only for its for side effect
parent.classroot.getItemAt( n + 1 );
- var dir = LzKeys.isKeyDown( 'shift' ) ? -1 : 1;
- if ( LzFocus.lastfocus && LzFocus.lastfocus.childOf( this ) ){
+ var dir = lz.Keys.isKeyDown( 'shift' ) ? -1 : 1;
+ if ( lz.Focus.lastfocus && lz.Focus.lastfocus.childOf( this ) ){
//because we can't tell if this is getting the focus as a
//result of tab or shift-tab, we need to check the key ourselves
//don't get confused by shift key!
@@ -84,13 +84,13 @@
var nextsel = dir == 1? this.getNextSelection() :
this.getPrevSelection();
}
- LzFocus.setFocus( nextsel );
+ lz.Focus.setFocus( nextsel );
]]>
</handler>
<method name="getPrevSelection">
<![CDATA[
- var n = LzFocus.getPrev( this );
+ var n = lz.Focus.getPrev( this );
if ( n && n.childOf(this ) ) return n;
else {
return getAdjacentRow( 1 ) || n;
@@ -99,7 +99,7 @@
</method>
<method name="getNextSelection">
<![CDATA[
- var n = LzFocus.getNext( this );
+ var n = lz.Focus.getNext( this );
if ( n && n.childOf(this ) ) return n;
else {
return getAdjacentRow( 1 ) || n;
@@ -137,7 +137,7 @@
</method>
<handler name="onclick">
- LzFocus.setFocus( ownerGrid );
+ lz.Focus.setFocus( ownerGrid );
this.select();
</handler>
Modified: openlaszlo/trunk/lps/components/base/baselist.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/baselist.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/baselist.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -240,10 +240,10 @@
var s = sel[0];
next = this._selector.getNextSubview(s, dir);
}
- var current_focus = LzFocus.getFocus();
+ var current_focus = lz.Focus.getFocus();
select(next);
if (s && current_focus && current_focus.childOf(s)) {
- LzFocus.setFocus(next);
+ lz.Focus.setFocus(next);
} ]]>
</method>
Modified: openlaszlo/trunk/lps/components/base/baselistitem.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/baselistitem.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/baselistitem.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -35,7 +35,7 @@
} else if (this._parentcomponent.dataoption == "pooling") {
data_args.pooling = true;
}
- new LzDatapath ( this, data_args );
+ new lz.datapath ( this, data_args );
}
</method>
@@ -74,7 +74,7 @@
super._doMousedown(ignore);
if (!this.focusable && this._parentcomponent &&
this._parentcomponent.focusable) {
- LzFocus.setFocus(this._parentcomponent, false); // false => focus from mouse
+ lz.Focus.setFocus(this._parentcomponent, false); // false => focus from mouse
}
]]> </method>
Modified: openlaszlo/trunk/lps/components/base/basescrollbar.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basescrollbar.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/basescrollbar.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -129,7 +129,7 @@
var subcount = immediateparent.subviews.length;
for (var i = 0; i < subcount; i++) {
var s = immediateparent.subviews[i];
- if (s instanceof LzView) {
+ if (s instanceof lz.view) {
if (! (s instanceof lz.basescrollbar )){
// first non-scrollbar view is the scrolltarget
if (!this.scrolltarget) this.scrolltarget = s;
@@ -163,9 +163,9 @@
this._mwDeactivateDel = new LzDelegate( this , "deactivateMouseWheel",
this.focusview, this.mousewheelevent_off);
- if (this.usemousewheel && LzKeys["mousewheeldelta"] != null) {
+ if (this.usemousewheel && lz.Keys["mousewheeldelta"] != null) {
this._mwUpdateDel = new LzDelegate( this , "mousewheelUpdate",
- LzKeys, "onmousewheeldelta");
+ lz.Keys, "onmousewheeldelta");
}
}
Modified: openlaszlo/trunk/lps/components/base/basetabs.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basetabs.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/basetabs.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -361,7 +361,7 @@
if (this.visibility != "collapse") {
data_args.datacontrolsvisibility = (this.visibility == "collapse");
}
- new LzDatapath ( this, data_args );
+ new lz.datapath ( this, data_args );
}
</method>
Modified: openlaszlo/trunk/lps/components/base/basetrackgroup.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basetrackgroup.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/basetrackgroup.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -78,15 +78,15 @@
<method name="init" >
super.init.apply(this, arguments);
- LzTrack.register( this.boundsref, this._boundstrackgroup );
+ lz.Track.register( this.boundsref, this._boundstrackgroup );
</method>
<!--- @keywords private -->
<method name="destroy" ><![CDATA[
this.setTracking(false);
- //LzTrack.unregisterAll(this._trackgroup);//LPP-4429: we would call this if it was implemented
- LzTrack.unregister(this.boundsref, this._boundstrackgroup);
+ //lz.Track.unregisterAll(this._trackgroup);//LPP-4429: we would call this if it was implemented
+ lz.Track.unregister(this.boundsref, this._boundstrackgroup);
if (this._destroyDL) {
this._destroyDL.unregisterAll();
@@ -127,13 +127,13 @@
this.tracking = istracking;
if ( this.isinited ) {
if ( istracking ) {
- // have global LzTrack service activate this group
- LzTrack.activate(this._trackgroup)
- LzTrack.activate(this._boundstrackgroup)
+ // have global lz.Track service activate this group
+ lz.Track.activate(this._trackgroup)
+ lz.Track.activate(this._boundstrackgroup)
} else {
- // have global LzTrack service deactivate this group
- LzTrack.deactivate(this._trackgroup)
- LzTrack.deactivate(this._boundstrackgroup)
+ // have global lz.Track service deactivate this group
+ lz.Track.deactivate(this._trackgroup)
+ lz.Track.deactivate(this._boundstrackgroup)
}
}
if ( this.ontracking ) this.ontracking.sendEvent( istracking );
@@ -161,7 +161,7 @@
<!--- @keywords private -->
<handler name="onaddsubview" args="v"><![CDATA[
- LzTrack.register( v, this._trackgroup );
+ lz.Track.register( v, this._trackgroup );
if (this.activateevents) {
var actDel = this._activateDL;
var actEvt = this.activateevents;
@@ -180,7 +180,7 @@
<!--- @keywords private -->
<handler name="onremovesubview" args="v"><![CDATA[
- LzTrack.unregister( v, this._trackgroup );
+ lz.Track.unregister( v, this._trackgroup );
if (this.activateevents) {
var actDel = this._activateDL;
var actEvt = this.activateevents;
@@ -207,7 +207,7 @@
// the mouse has just exiting the bounding rect defined by
// the bounds ref. Report these events to the bounds ref.
if ( this.tracking ) {
- LzTimer.addTimer( this._repeattrackDL,this.trackingrate );
+ lz.Timer.addTimer( this._repeattrackDL,this.trackingrate );
}
var mx = this.boundsref.getMouse('x');
var my = this.boundsref.getMouse('y');
Modified: openlaszlo/trunk/lps/components/base/basetree.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basetree.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/basetree.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -416,7 +416,7 @@
if (ftRoot.focusselect) {
useFocusOverlay = false;
}
- LzFocus.setFocus(focusedTree.item, useFocusOverlay);
+ lz.Focus.setFocus(focusedTree.item, useFocusOverlay);
ftRoot.setAttribute("_lastfocused", focusedTree);
if (ftRoot.focusselect) focusedTree.setAttribute("selected", true);
if (ftRoot.autoscroll) focusedTree.doAutoScroll(ftRoot);
Modified: openlaszlo/trunk/lps/components/base/basewindow.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/basewindow.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/basewindow.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -303,7 +303,7 @@
if (!this.mousedel) {
this.mousedel = new LzDelegate(this, '_checkmouse');
}
- this.mousedel.register(LzGlobalMouse, 'onmousedown');
+ this.mousedel.register(lz.GlobalMouse, 'onmousedown');
} else {
if (this.mousedel) this.mousedel.unregisterAll();
setAttribute('state', 2);
@@ -337,7 +337,7 @@
if (v == null || v == this) return;
// check if a modal dialog is frontmost
- if (LzModeManager.hasMode( this )) return;
+ if (lz.ModeManager.hasMode( this )) return;
var foundwindow = v.searchParents('haswindowfocus');
if (foundwindow != null) {
Modified: openlaszlo/trunk/lps/components/base/componentmanager.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/componentmanager.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/componentmanager.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -58,13 +58,13 @@
<attribute name="_lastkeydown" value="0"/>
<!--- @keywords private -->
<attribute name="upkeydel" value="null"/>
- <handler name="onkeydown" reference="LzKeys" method="dispatchKeyDown" />
+ <handler name="onkeydown" reference="lz.Keys" method="dispatchKeyDown" />
<method name="dispatchKeyDown" args="key">
<![CDATA[
var callupdel = false;
if ( key == 32 ){
this.lastsdown = null;
- var foc = LzFocus.getFocus();
+ var foc = lz.Focus.getFocus();
if ( foc instanceof lz.basecomponent ){
foc.doSpaceDown();
this.lastsdown = foc;
@@ -78,7 +78,7 @@
if (callupdel) {
if (!this.upkeydel) this.upkeydel = new LzDelegate(this, 'dispatchKeyTimer');
this._lastkeydown = key;
- LzTimer.addTimer( this.upkeydel, 50 );
+ lz.Timer.addTimer( this.upkeydel, 50 );
}
]]>
</method>
@@ -105,7 +105,7 @@
var buts = this.defaults;
who = who || canvas;
- var mode = LzModeManager.getModalView();
+ var mode = lz.ModeManager.getModalView();
for ( var i = 0 ; i < buts.length ; i++ ){
var tbut = buts[ i ];
@@ -147,7 +147,7 @@
<![CDATA[
if ( !this.defaults ) this.defaults = [];
this.defaults.push( who );
- this.checkDefault( LzFocus.getFocus() );
+ this.checkDefault( lz.Focus.getFocus() );
]]>
</method>
@@ -157,21 +157,21 @@
for ( var i = 0; i < this.defaults.length; i++ ){
if ( this.defaults[ i ] == who ) {
this.defaults.splice( i , 1 );
- this.checkDefault( LzFocus.getFocus() );
+ this.checkDefault( lz.Focus.getFocus() );
return;
}
}
]]>
</method>
- <handler name="onfocus" method="checkDefault" reference="LzFocus"/>
+ <handler name="onfocus" method="checkDefault" reference="lz.Focus"/>
<method name="checkDefault" args="who">
<![CDATA[
if ( ! ( who instanceof lz.basecomponent ) ||
! who.doesenter ){
- if ( ( who instanceof LzInputText ) &&
+ if ( ( who instanceof lz.inputtext ) &&
who.multiline ){
who = null;
} else {
@@ -193,12 +193,12 @@
]]>
</method>
- <handler name="onmode" args="who=null" reference="LzModeManager">
+ <handler name="onmode" args="who=null" reference="lz.ModeManager">
//if the mode changes, and the focussed view is in the mode
//it'll clear it (and change the focus)
- //however, if the focussed view was already null, the LzFocus
+ //however, if the focussed view was already null, the lz.Focus
//will not notify us of a focus change (because it hasn't)
- if ( LzFocus.getFocus() == null ){
+ if ( lz.Focus.getFocus() == null ){
this.checkDefault( null );
}
</handler>
Modified: openlaszlo/trunk/lps/components/base/datalistselector.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/datalistselector.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/datalistselector.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -143,7 +143,7 @@
</method>
<method name="findIndex" args="s"> <![CDATA[
if ( ! immediateparent.subviews[0].cloneManager ) {
- if (s instanceof LzView) {
+ if (s instanceof lz.view) {
return (immediateparent.subviews[0] == s ? 0 : -1);
} else {
return (immediateparent.subviews[0].datapath.p == s.p ? 0 : -1);
@@ -151,7 +151,7 @@
}
var target_element;
- if (s instanceof LzView) {
+ if (s instanceof lz.view) {
target_element = s.datapath.p;
} else {
target_element = s.p;
Modified: openlaszlo/trunk/lps/components/base/style.lzx
===================================================================
--- openlaszlo/trunk/lps/components/base/style.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/base/style.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -113,9 +113,9 @@
if (this.onstylechanged) this.onstylechanged.sendEvent(this);
]]> </method>
- <!--- returns a new style object which is based on this one
+ <!--- returns a new lz.style object which is based on this one
with only specified attributes modified
- <br/>param dictionary args: the attributes for the new style
+ <br/>param dictionary args: the attributes for the new lz.style
-->
<method name="extend" args="args">
var temp = {};
@@ -160,7 +160,7 @@
(<varname>whitestyle</varname>, <varname>silverstyle</varname>,
<varname>bluestyle</varname>, <varname>greenstyle</varname>,
<varname>goldstyle</varname>, and <varname>purplestyle</varname>).
- You may create an instance of one of these, create a new style, or
+ You may create an instance of one of these, create a new lz.style, or
create an instance with one or more modified attributes.</p>
<p>Different styles may be used in different parts of an application,
Modified: openlaszlo/trunk/lps/components/charts/addon/zoomarea.lzx
===================================================================
--- openlaszlo/trunk/lps/components/charts/addon/zoomarea.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/charts/addon/zoomarea.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -80,7 +80,7 @@
this.selectionDel = new LzDelegate(this, 'adjustSize');
}
this.selectionDel.unregisterAll();
- this.selectionDel.register(LzIdle, 'onidle');
+ this.selectionDel.register(lz.Idle, 'onidle');
this.setAttribute("selecting", true);
]]>
</method>
@@ -88,7 +88,7 @@
<!--- @private keyword
start finish selection
-->
- <handler name="onmouseup" reference="LzGlobalMouse" args="who">
+ <handler name="onmouseup" reference="lz.GlobalMouse" args="who">
<![CDATA[
if(!this.selecting) return;
Modified: openlaszlo/trunk/lps/components/charts/barchart/barchartplotarea.lzx
===================================================================
--- openlaszlo/trunk/lps/components/charts/barchart/barchartplotarea.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/charts/barchart/barchartplotarea.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -88,4 +88,4 @@
* X_LZ_COPYRIGHT_END
****************************************************** -->
<!-- @LZX_VERSION@
- -->
\ No newline at end of file
+ -->
Modified: openlaszlo/trunk/lps/components/charts/common/dataseries.lzx
===================================================================
--- openlaszlo/trunk/lps/components/charts/common/dataseries.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/charts/common/dataseries.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -317,11 +317,11 @@
var ds = canvas["legendds"];
if(!canvas["legendds"])
{
- ds = new LzDataset(canvas, { name: "legendds"});
+ ds = new lz.dataset(canvas, { name: "legendds"});
canvas["legendds"] = ds;
} else {
dscounter++;
- ds = new LzDataset(canvas, { name: "legendds"+dscounter});
+ ds = new lz.dataset(canvas, { name: "legendds"+dscounter});
canvas["legendds"+dscounter] = ds;
}
Modified: openlaszlo/trunk/lps/components/charts/common/tickmarklabel.lzx
===================================================================
--- openlaszlo/trunk/lps/components/charts/common/tickmarklabel.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/charts/common/tickmarklabel.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -25,8 +25,8 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN
***************************************************
-* Copyright 2001-2005 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@ -->
\ No newline at end of file
+<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/charts/styles/defaultchartstyle.lzx
===================================================================
--- openlaszlo/trunk/lps/components/charts/styles/defaultchartstyle.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/charts/styles/defaultchartstyle.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -83,9 +83,9 @@
</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
****************************************************** -->
<!-- @LZX_VERSION@
- -->
\ No newline at end of file
+ -->
Modified: openlaszlo/trunk/lps/components/debugger/debugger.lzx
===================================================================
--- openlaszlo/trunk/lps/components/debugger/debugger.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/debugger/debugger.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -190,7 +190,7 @@
this.lineheight = text.getTextHeight()+4;
this.setAttribute("smallInputAreaHeight", this.lineheight + 16);
this.inspectDel = new LzDelegate(this, "inspectObject");
- this.inspectDel.register(LzGlobalMouse, "onmousedown");
+ this.inspectDel.register(lz.GlobalMouse, "onmousedown");
this.moveCaretDel = new LzDelegate(this, 'sendCaretToEOL');
this.restoreDebuggerState()
]]>
@@ -287,7 +287,7 @@
<![CDATA[
var loadobj = new LoadVars();
loadobj.onData = this.checkServerResponseHandler;
- var reqstr = LzBrowser.toAbsoluteURL( "__dbgprobe.lzx?lzt=stat", false );
+ var reqstr = lz.Browser.toAbsoluteURL( "__dbgprobe.lzx?lzt=stat", false );
loadobj.sendAndLoad(reqstr , loadobj, "POST" );
]]>
</method>
@@ -403,14 +403,14 @@
<method name="stuffInput" args="str">
var infield = this.bottom.center.input;
- LzFocus.setFocus(infield);
+ lz.Focus.setFocus(infield);
infield.setText(str);
- LzTimer.addTimer(this.moveCaretDel, 1);
+ lz.Timer.addTimer(this.moveCaretDel, 1);
</method>
<method name="sendCaretToEOL">
var infield = this.bottom.center.input;
- LzFocus.setFocus(infield);
+ lz.Focus.setFocus(infield);
var content = infield.getText();
infield.setSelection(content.length, content.length);
</method>
@@ -611,7 +611,7 @@
</method>
<method name="inspectObject" args="obj">
- if (LzKeys.isKeyDown('capslock')) {
+ if (lz.Keys.isKeyDown('capslock')) {
// force and ID, so the object can be inspected
var id = this.IDForObject(obj, true);
this.displayResult(obj);
@@ -729,7 +729,7 @@
<method name="appname">
<![CDATA[
- var url = LzBrowser.getBaseURL();
+ var url = lz.Browser.getBaseURL();
var i = url.lastIndexOf("/");
url = url.substring(i+1);
return url;
Modified: openlaszlo/trunk/lps/components/debugger/remoteserver.lzx
===================================================================
--- openlaszlo/trunk/lps/components/debugger/remoteserver.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/debugger/remoteserver.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -20,7 +20,7 @@
*****************************************************************************/
//* A_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. *
//* A_LZ_COPYRIGHT_END ********************************************************
@@ -154,7 +154,7 @@
// @keywords private
//=============================================================================
__LzDebug.openConsoleConnection = function () {
- this.write("Application: "+LzBrowser.getLoadURLAsLzURL()+" connected to debug console.");
+ this.write("Application: "+lz.Browser.getLoadURLAsLzURL()+" connected to debug console.");
this.receivingLC = new LocalConnection();
// Set up RPC functions:
Modified: openlaszlo/trunk/lps/components/extensions/av/mediastream.lzx
===================================================================
--- openlaszlo/trunk/lps/components/extensions/av/mediastream.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/extensions/av/mediastream.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -814,7 +814,7 @@
}
this._timedel.unregisterAll();
- this._timedel.register(LzIdle, "onidle");
+ this._timedel.register(lz.Idle, "onidle");
]]>
</method>
@@ -833,7 +833,7 @@
<!--- Update the time, progress and fps attributes.
@keywords private -->
<method name="_updateTime" args="v"><![CDATA[
- // don't update if new mediastream about to start
+ // don't update if new lz.mediastream about to start
if (this._pendingstreamname != "") {
return;
}
Modified: openlaszlo/trunk/lps/components/extensions/av/microphone.lzx
===================================================================
--- openlaszlo/trunk/lps/components/extensions/av/microphone.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/extensions/av/microphone.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -121,7 +121,7 @@
//Debug.write("microphone onactive", this, "onlevel", this.onlevel, "active", this.active);
if (this.onlevel) {
if (this.active && this.capturing) {
- this._leveldel.register(LzIdle, "onidle");
+ this._leveldel.register(lz.Idle, "onidle");
} else {
this._leveldel.unregisterAll();
this.setAttribute("level", 0);
Modified: openlaszlo/trunk/lps/components/extensions/html.lzx
===================================================================
--- openlaszlo/trunk/lps/components/extensions/html.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/extensions/html.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -15,28 +15,28 @@
lz.embed.iframemanager = {
owners: {}
,create: function(owner, name, scrollbars) {
- LzBrowser.callJS('lz.embed.iframemanager.create', function (id) {
+ lz.Browser.callJS('lz.embed.iframemanager.create', function (id) {
lz.embed.iframemanager.owners[id] = owner;
owner.setiframeid(id);
}, canvas.id, name, scrollbars);
}
,setPosition: function(id, x, y, width, height, v, z) {
- LzBrowser.callJS('lz.embed.iframemanager.setPosition', null, id, x, y, width, height, v, z);
+ lz.Browser.callJS('lz.embed.iframemanager.setPosition', null, id, x, y, width, height, v, z);
}
,setSrc: function(id, src, history) {
- LzBrowser.callJS('lz.embed.iframemanager.setSrc', null, id, src, history);
+ lz.Browser.callJS('lz.embed.iframemanager.setSrc', null, id, src, history);
}
,setVisible: function(id, v) {
- LzBrowser.callJS('lz.embed.iframemanager.setVisible', null, id, v);
+ lz.Browser.callJS('lz.embed.iframemanager.setVisible', null, id, v);
}
,bringToFront: function(id) {
- LzBrowser.callJS('lz.embed.iframemanager.bringToFront', null, id);
+ lz.Browser.callJS('lz.embed.iframemanager.bringToFront', null, id);
}
,sendToBack: function(id) {
- LzBrowser.callJS('lz.embed.iframemanager.sendToBack', null, id);
+ lz.Browser.callJS('lz.embed.iframemanager.sendToBack', null, id);
}
,scrollBy: function(id, x, y) {
- LzBrowser.callJS('lz.embed.iframemanager.scrollBy', null, id, x, y);
+ lz.Browser.callJS('lz.embed.iframemanager.scrollBy', null, id, x, y);
}
,__gotload: function(id) {
if (lz.embed.iframemanager.owners[id]) lz.embed.iframemanager.owners[id].__gotload();
@@ -173,7 +173,7 @@
<switch>
<when runtime="dhtml">
<attribute name="_mouseisdown" value="false"/>
- <handler name="onmouseover" reference="LzGlobalMouse" args="e">
+ <handler name="onmouseover" reference="lz.GlobalMouse" args="e">
<![CDATA[
if (! this['iframeid']) return;
if (e == this && this._mouseisdown == false) {
@@ -181,10 +181,10 @@
}
]]>
</handler>
- <handler name="onmousedown" reference="LzGlobalMouse" args="e">
+ <handler name="onmousedown" reference="lz.GlobalMouse" args="e">
if (e == this) this._mouseisdown = true;
</handler>
- <handler name="onmouseup" reference="LzGlobalMouse" args="e">
+ <handler name="onmouseup" reference="lz.GlobalMouse" args="e">
if (e == this) this._mouseisdown = false;
</handler>
</when>
Modified: openlaszlo/trunk/lps/components/extensions/views/richinputtext.lzx
===================================================================
--- openlaszlo/trunk/lps/components/extensions/views/richinputtext.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/extensions/views/richinputtext.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -84,7 +84,7 @@
if (this.multiline && this.scroll == 0 ) {
var scrolldel = new LzDelegate(this.sprite, "__LZforceScrollAttrs");
- _root.LzIdle.callOnIdle(scrolldel);
+ _root.lz.Idle.callOnIdle(scrolldel);
}
// @event ontext: Sent whenever the text in the field changes.
Modified: openlaszlo/trunk/lps/components/incubator/baseslider.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/baseslider.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/baseslider.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -184,7 +184,7 @@
* Math.pow(10,parent.parent.precision) ) / Math.pow(10,parent.parent.precision) ;
//only adjust value if user is dragging or left or right key is pressed
- if (thedragstate.applied || LzKeys.isKeyDown("leftarrow") || LzKeys.isKeyDown("rightarrow") ) {
+ if (thedragstate.applied || lz.Keys.isKeyDown("leftarrow") || lz.Keys.isKeyDown("rightarrow") ) {
parent.parent.setValue(val);
}
</method>
Modified: openlaszlo/trunk/lps/components/incubator/colorslider.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/colorslider.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/colorslider.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -91,7 +91,7 @@
</class>
</library>
<!-- * 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@ -->
\ No newline at end of file
+<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/incubator/draglib.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/draglib.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/draglib.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -22,14 +22,14 @@
</example>
The object that you want to accept a drop action, needs to register with
- LzTrack using the same group as is declared in the dragimage.
+ lz.Track using the same group as is declared in the dragimage.
<example executable="false">
<class name="droptarget">
...
<method name="init">
super.init();
- LzTrack.register(this, 'target');
+ lz.Track.register(this, 'target');
</method>
<handler name="onmousetrackover">
@@ -128,7 +128,7 @@
if (this.xdoffset == null) this.xdoffset = xoffset;
if (this.ydoffset == null) this.ydoffset = yoffset;
ds.setAttribute('applied', true);
- LzTrack.activate(this.dropgroup);
+ lz.Track.activate(this.dropgroup);
</method>
<!--- called to stop the drag action, called by checkdrag. If this is
@@ -144,7 +144,7 @@
this._onstopdel.register( anm, 'onstop' );
}
ds.setAttribute('applied', false);
- LzTrack.deactivate(this.dropgroup);
+ lz.Track.deactivate(this.dropgroup);
</method>
<!--- @keywords private -->
<method name="hideme">
Modified: openlaszlo/trunk/lps/components/incubator/lzeditcombobox.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/lzeditcombobox.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/lzeditcombobox.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -36,7 +36,7 @@
if (this.isinited) {
this.editbkgnd.textfield.setText(v);
- // LzFocus.setFocus(this.editbkgnd.textfield);
+ // lz.Focus.setFocus(this.editbkgnd.textfield);
var index = this.editbkgnd.textfield.text.length;
this.editbkgnd.textfield.setSelection(index,index);
}
Modified: openlaszlo/trunk/lps/components/incubator/opttree/baseopttreenode.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/opttree/baseopttreenode.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/opttree/baseopttreenode.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -30,7 +30,7 @@
if ( !this.startdragdel ){
this.startdragdel = new LzDelegate( this, 'startDrag' );
}
- LzTimer.resetTimer( startdragdel, startdragdelay);
+ lz.Timer.resetTimer( startdragdel, startdragdelay);
this._ix = this.getMouse( 'x' );
this._iy = this.getMouse( 'y' );
</handler>
@@ -43,7 +43,7 @@
</method>
<handler name="onmouseup">
- LzTimer.removeTimer( startdragdel );
+ lz.Timer.removeTimer( startdragdel );
if ( dragging ){
parent.endDrag( this );
this.setAttribute( "dragging", false );
Modified: openlaszlo/trunk/lps/components/incubator/opttree/opttree.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/opttree/opttree.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/opttree/opttree.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -241,7 +241,7 @@
<method name="drag" args="on">
if ( on ){
- movedel.register( LzIdle, "onidle" );
+ movedel.register( lz.Idle, "onidle" );
} else {
movedel.unregisterAll();
this.setAttribute('visible', false );
@@ -311,7 +311,7 @@
dragged.datapath.setPointer( dragdata );
dragged.bringToFront();
- dragupdel.register( LzIdle, "onidle" );
+ dragupdel.register( lz.Idle, "onidle" );
_clicker.drag( true );
</method>
Modified: openlaszlo/trunk/lps/components/incubator/rich-text/richedittext.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/rich-text/richedittext.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/rich-text/richedittext.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -11,7 +11,7 @@
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2005 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2005-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
-<!-- @LZX_VERSION@ -->
\ No newline at end of file
+<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/incubator/rich-text/richtexteditarea.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/rich-text/richtexteditarea.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/rich-text/richtexteditarea.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -192,7 +192,7 @@
// _caretmove() because caret focus hasn't been set in
// richinput area yet.
//------------------------------------------------------------
- LzIdle.callOnIdle(this._caretMoveDel);
+ lz.Idle.callOnIdle(this._caretMoveDel);
if ((! this.isHTML) && this._field.getSelectionSize() == -1)
{
@@ -208,7 +208,7 @@
indicates that the selection has changed.
@param view who: the element being moused down on
-->
- <handler name="onmousedown" reference="LzGlobalMouse" args="who"><![CDATA[
+ <handler name="onmousedown" reference="lz.GlobalMouse" args="who"><![CDATA[
if ((who != null) && (this._containsView(who))) {
// the mouse went down on a child of me
// Debug.info("mousedown on child of me, this is %w, who is %#w", this, who);
@@ -232,7 +232,7 @@
is there a mousedown/mouseup pair in progress?
@param view who: the current mousedown element (ben shine)
-->
- <handler name="onmouseup" reference="LzGlobalMouse" args="who"><![CDATA[
+ <handler name="onmouseup" reference="lz.GlobalMouse" args="who"><![CDATA[
if (this._fieldhasfocus) {
// Debug.write("onmouseup, field has focus, who is ", who);
@@ -273,7 +273,7 @@
<!--- Save selected region. -->
<method name="saveSelectionRegion"><![CDATA[
- if (LzFocus.getFocus() == this._field) {
+ if (lz.Focus.getFocus() == this._field) {
var selpos = this._field.getSelectionPosition();
var selsize = this._field.getSelectionSize();
if( selpos >= 0 && selsize >= 0){
@@ -368,7 +368,7 @@
}
// After the formatting has been completed, need to wait a frame to
// restore the selection.
- LzIdle.callOnIdle(this._selectiondel);
+ lz.Idle.callOnIdle(this._selectiondel);
</method>
<!--- Initialize the selection region on focus event -->
@@ -377,7 +377,7 @@
if (! this['_focusseldel']) {
this._focusseldel = new LzDelegate(this, '_focussel');
}
- LzIdle.callOnIdle(this._focusseldel);
+ lz.Idle.callOnIdle(this._focusseldel);
</method>
<method name="setSelection" args="ns,ne">
@@ -474,7 +474,7 @@
@access private -->
<method name="_focussel">
// We really should have focus now!
- var havelzfocus = (LzFocus.getFocus() == this._field);
+ var havelzfocus = (lz.Focus.getFocus() == this._field);
if (havelzfocus) {
var len = this.getText().length;
// move the insertion point to the beginning of the text
Modified: openlaszlo/trunk/lps/components/incubator/rich-text/scrollrichedittext.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/rich-text/scrollrichedittext.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/rich-text/scrollrichedittext.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -92,7 +92,7 @@
// Store a link to the enclosing rich text edit area deep in this
// swf sprite, so that we can do a clever fix for LPP-4396,
// "clicking bold moves insertion point."
- // See the LzModeManager.rawMouseEvent handler defined in
+ // See the lz.ModeManager.rawMouseEvent handler defined in
// richtexteditarea.lzx to see how we use this breadcrumb.
this.sprite.__LZtextclip.__LZrte = this.parent;
</method>
Modified: openlaszlo/trunk/lps/components/incubator/stylishbutton.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/stylishbutton.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/stylishbutton.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -152,38 +152,38 @@
super.init();
if (showleftedge) {
- new LzView(this, {name: "left", resource: this.leftresource, pixellock: true});
+ new lz.view(this, {name: "left", resource: this.leftresource, pixellock: true});
this.setTint(this.left, this.tint);
this.left.sendToBack();
}
if (showrightedge) {
- new LzView(this, {name: "right", resource: this.rightresource, pixellock: true});
+ new lz.view(this, {name: "right", resource: this.rightresource, pixellock: true});
this.setTint(this.right, this.tint);
this.right.sendToBack();
}
if (iconname) {
- new LzView(this, {name: "icon", resource: iconname + "_icon_rsc", pixellock: true});
+ new lz.view(this, {name: "icon", resource: iconname + "_icon_rsc", pixellock: true});
}
// We always have a middle.
middle.setAttribute('resource', middleresource);
if (showleftborder) {
- new LzView(this, {name: "leftborder", bgcolor: white,
+ new lz.view(this, {name: "leftborder", bgcolor: white,
width: 1, y : 1, height: this.height-2,
pixellock: true});
}
if (showrightborder) {
- new LzView(this, {name: "rightborder", bgcolor: black,
+ new lz.view(this, {name: "rightborder", bgcolor: black,
width: 1, y : 0, height: this.height-2,
pixellock: true})
}
if (text != "") {
- new LzText(this, {name: "txt", text: text, fgcolor: fontcolor, resize: true, fontsize: fontsize});
+ new lz.text(this, {name: "txt", text: text, fgcolor: fontcolor, resize: true, fontsize: fontsize});
}
this.setTint(this.middle, this.tint);
Modified: openlaszlo/trunk/lps/components/incubator/test/domapi-test.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/test/domapi-test.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/test/domapi-test.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -1,5 +1,5 @@
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2005 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2005-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
@@ -77,7 +77,7 @@
// NOTE: parent=null seems to default to parent=canvas, so
// there's no way to test this but maybe no way to create
// the situation anyway.
- //new LzView(null, {id: 'testGlobal3'});
+ //new lz.view(null, {id: 'testGlobal3'});
//assertEquals(null, document.getElementById('testGlobal3'));
// verify that created elements with a global binding but
Modified: openlaszlo/trunk/lps/components/incubator/test/draglib-test.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/test/draglib-test.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/test/draglib-test.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -16,7 +16,7 @@
<text text="${parent.text}"/>
<method name="init">
super.init();
- LzTrack.register(this, 'target');
+ lz.Track.register(this, 'target');
</method>
<handler name="onmousetrackover">
Modified: openlaszlo/trunk/lps/components/incubator/test/ulink-test.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/test/ulink-test.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/test/ulink-test.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -1,5 +1,5 @@
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2005 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2005-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
@@ -48,4 +48,4 @@
<text>(Note that the link above does not change when you hover over it.)</text>
</vbox>
-</canvas>
\ No newline at end of file
+</canvas>
Modified: openlaszlo/trunk/lps/components/incubator/tooltip/tooltip.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/tooltip/tooltip.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/tooltip/tooltip.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -62,7 +62,7 @@
this._lastmousey = canvas.getMouse('y');
this.lasttime = new Date();
- LzIdle.callOnIdle(this._checkdel);
+ lz.Idle.callOnIdle(this._checkdel);
}
]]>
</method>
@@ -83,7 +83,7 @@
if (timediff > 500) {
this.showTip();
} else {
- LzIdle.callOnIdle(this._checkdel);
+ lz.Idle.callOnIdle(this._checkdel);
}
</method>
Modified: openlaszlo/trunk/lps/components/incubator/tooltipmanager.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/tooltipmanager.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/tooltipmanager.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -82,13 +82,13 @@
var timerDelegate = new LzDelegate( this, "showTooltip",component,"name");
this.setAttribute("__timerDelegate",timerDelegate);
this.setAttribute("__currentComponent",component);
- LzTimer.addTimer( timerDelegate, this.delay );
+ lz.Timer.addTimer( timerDelegate, this.delay );
</method>
<method name="doMouseout" args="component">
this.setAttribute("__currentComponent",[]);
var timerDelegate = this.__timerDelegate;
- LzTimer.removeTimer(timerDelegate);
+ lz.Timer.removeTimer(timerDelegate);
this.setAttribute("__timerDelegate",[]);
this.destroyTooltip(component);
</method>
Modified: openlaszlo/trunk/lps/components/incubator/ulink.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/ulink.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/ulink.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -31,7 +31,7 @@
<attribute name="text" type="html"/>
<!--- The URL target. -->
<attribute name="href" type="string"/>
- <!--- Where the target opens. See LzBrowser.loadURL for
+ <!--- Where the target opens. See lz.Browser.loadURL for
a list of values. -->
<attribute name="target" type="string" value="_new"/>
@@ -46,7 +46,7 @@
</handler>
<handler name="onclick">
- LzBrowser.loadURL(this.href, this.target)
+ lz.Browser.loadURL(this.href, this.target)
</handler>
<method name="makeTags" args="tags"><![CDATA[
Modified: openlaszlo/trunk/lps/components/incubator/validators/timevalidator.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/validators/timevalidator.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/incubator/validators/timevalidator.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -221,7 +221,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@ -->
\ No newline at end of file
+<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/lz/datepicker.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/datepicker.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/lz/datepicker.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -249,7 +249,7 @@
this.expandFromIcon();
//workaround for setFocus bug
this._ignoreKeyUp = true;
- LzFocus.setFocus( this.content );
+ lz.Focus.setFocus( this.content );
}
</method>
@@ -482,11 +482,11 @@
</method>
<method name="doEnterUp">
this.buttonpush();
- LzFocus.next();
+ lz.Focus.next();
</method>
<method name="doSpaceUp">
super.doSpaceUp();
- LzFocus.next();
+ lz.Focus.next();
</method>
<handler name="onclick">
Modified: openlaszlo/trunk/lps/components/lz/gridcolumn.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/gridcolumn.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/lz/gridcolumn.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -86,8 +86,8 @@
name="resizer"
clickable="$once{parent.resizable}"
cursor="colResize"
- onmousedown="LzCursor.lock();parent.rs.setAttribute('applied', true)"
- onmouseup="LzCursor.unlock();parent.rs.setAttribute('applied', false)" >
+ onmousedown="lz.Cursor.lock();parent.rs.setAttribute('applied', true)"
+ onmouseup="lz.Cursor.unlock();parent.rs.setAttribute('applied', false)" >
<view resource="resources/grid/column_resize_top.swf"/>
<view resource="resources/grid/column_resize_mid.swf"
stretches="height"/>
Modified: openlaszlo/trunk/lps/components/lz/gridtext.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/gridtext.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/lz/gridtext.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -61,7 +61,7 @@
<method name="startEditing" args="ignore" >
immediateparent.select();
this.setAttribute( 'editing' , true );
- LzFocus.setFocus( editbox );
+ lz.Focus.setFocus( editbox );
</method>
<text visible="${!parent.editing}" width="${parent.width}"
@@ -119,7 +119,7 @@
}
</method>
<handler name="onfocus">
- this.globalMouseDel.register( LzGlobalMouse,
+ this.globalMouseDel.register( lz.GlobalMouse,
"onmousedown" );
</handler>
<handler name="onblur">
@@ -134,7 +134,7 @@
<handler name="onkeyup" args="k">
if ( k == 13 ){
parent.setAttribute( "editing" , false );
- LzFocus.setFocus(parent.immediateparent.ownerGrid);
+ lz.Focus.setFocus(parent.immediateparent.ownerGrid);
}
</handler>
</edittext>
Modified: openlaszlo/trunk/lps/components/lz/listitem.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/listitem.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/lz/listitem.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -60,7 +60,7 @@
<!--- @keywords private -->
<handler name="ontrackgroup" reference="immediateparent.classroot" args="tg" >
// TODO: check to see if this is working?
- LzTrack.register(this,tg);
+ lz.Track.register(this,tg);
</handler>
<!--- @keywords private -->
Modified: openlaszlo/trunk/lps/components/lz/menu.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/menu.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/lz/menu.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -420,11 +420,11 @@
if ( doopen ) {
this._doshowsubmenu = true;
if (!this.showsubmenu_del) this.showsubmenu_del = new LzDelegate(this,'showSubmenu');
- LzTimer.addTimer( this.showsubmenu_del, delaytime );
+ lz.Timer.addTimer( this.showsubmenu_del, delaytime );
} else {
this._doshowsubmenu = false;
if (!this.hidesubmenu_del) this.hidesubmenu_del = new LzDelegate(this,'hideSubmenu');
- LzTimer.addTimer( this.hidesubmenu_del, delaytime );
+ lz.Timer.addTimer( this.hidesubmenu_del, delaytime );
}
</method>
@@ -761,7 +761,7 @@
if ( this.opened == isopened ) return;
this.opened = isopened;
if ( isopened ){
- LzModeManager.makeModal( this );
+ lz.ModeManager.makeModal( this );
this.flist.bringToFront();
this.flist.setHilite(null);
@@ -769,7 +769,7 @@
this.flist._updateifsubmenu = true;
this.flist.setAttribute('visible', true);
} else {
- LzModeManager.release( this );
+ lz.ModeManager.release( this );
this.flist.setHilite(null);
this.flist.setAttribute('tracking',false);
this.flist.setAttribute('visible', false);
Modified: openlaszlo/trunk/lps/components/lz/modaldialog.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/modaldialog.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/lz/modaldialog.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -51,15 +51,15 @@
//need to show this before taking the mode, so that any default
//buttons contained by the this window will get hasdefault=true
this.setAttribute('visible', true );
- LzModeManager.makeModal( this );
+ lz.ModeManager.makeModal( this );
this.bringToFront();
</method>
<!--- Closes the dialog. -->
<method name="close">
this.setAttribute('visible', false );
- LzFocus.clearFocus();
- LzModeManager.release( this );
+ lz.Focus.clearFocus();
+ lz.ModeManager.release( this );
</method>
<!--- @keywords private -->
Modified: openlaszlo/trunk/lps/components/lz/mr-ed.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/mr-ed.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/lz/mr-ed.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -8,7 +8,7 @@
if (this.running == 1) {
this.setSource( urls[ urlnum ] );
this.urlnum = ( this.urlnum + 1 ) % this.urls.length;
- LzTimer.resetTimer( this.timedel, 6000 );
+ lz.Timer.resetTimer( this.timedel, 6000 );
}
</method>
@@ -20,12 +20,12 @@
if ( this.visible ){
this.running = 1;
this.advance();
- LzTimer.addTimer( this.timedel, 6000 );
+ lz.Timer.addTimer( this.timedel, 6000 );
this.audio.play();
} else {
this.running = 0;
this.setAttribute('visible', false);
- LzTimer.removeTimer( this.timedel );
+ lz.Timer.removeTimer( this.timedel );
this.stop();
this.audio.stop();
}
Modified: openlaszlo/trunk/lps/components/lz/simpletext.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/simpletext.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/lz/simpletext.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -66,7 +66,7 @@
<!--- @keywords private -->
<handler name="onfocus" >
//this.input.onfocus.sendEvent();
- LzFocus.setFocus(this.input);
+ lz.Focus.setFocus(this.input);
</handler>
<!--- @keywords private -->
Modified: openlaszlo/trunk/lps/components/lz/tabelement.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/tabelement.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/lz/tabelement.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -81,7 +81,7 @@
</handler>
<handler name="onclick">
classroot.parent.openTab(classroot,true);
- LzFocus.setFocus( this.classroot , false );
+ lz.Focus.setFocus( this.classroot , false );
</handler>
</basebutton>
<view name="header" width="100%" height="100%" >
Modified: openlaszlo/trunk/lps/components/lz/tree.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lz/tree.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/lz/tree.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -71,8 +71,8 @@
this.changeFocus();
this.setAttribute('selected', true);
if (! this.isleaf) {
- if (! LzKeys.isKeyDown("control") &&
- ! LzKeys.isKeyDown("shift")) {
+ if (! lz.Keys.isKeyDown("control") &&
+ ! lz.Keys.isKeyDown("shift")) {
this.setAttribute("open", ! this.open);
}
}
Modified: openlaszlo/trunk/lps/components/lztest/lztestmanager.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lztest/lztestmanager.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/lztest/lztestmanager.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -76,11 +76,11 @@
}
function setupServerLogging() {
- // TODO: enable this once LzBrowser is working in swf9
+ // TODO: enable this once lz.Browser is working in swf9
if ($swf9) {
return;
}
- var lzurl = LzBrowser.getLoadURLAsLzURL();
+ var lzurl = lz.Browser.getLoadURLAsLzURL();
// strip initial "/legals/" from path, to make it relative to LPS servlet base
if (lzurl.path) {
this.testpath = lzurl.path.substring(lzurl.path.substring(1).indexOf("/")+2) + lzurl.file;
@@ -97,13 +97,13 @@
return;
}
// compute the base directory of the current app
- 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 query = "logfile="+escape(logfile)+"&msg="+escape(msg);
- var reqstr = LzBrowser.toAbsoluteURL( base+"/test/lzunit/Logger.jsp?"+query, false );
+ var reqstr = lz.Browser.toAbsoluteURL( base+"/test/lzunit/Logger.jsp?"+query, false );
//Debug.write("sendServerLogCommand", reqobj, reqstr);
var tloader = new LzHTTPLoader(this, false);
tloader.open ("GET" , reqstr, /* username */ null, /* password */ null);
Modified: openlaszlo/trunk/lps/components/lzunit/lzunit.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lzunit/lzunit.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/lzunit/lzunit.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -1025,7 +1025,7 @@
readout.setAttribute("bgcolor", red);
}
// TODO: [2002-11-10 ptw] setAttribute("text", ...) does not work?
- readout.setAttribute("text", LzBrowser.xmlEscape(this.toString()));
+ readout.setAttribute("text", lz.Browser.xmlEscape(this.toString()));
]]>
</method>
@@ -1106,13 +1106,13 @@
<method name="sendLogData" args="logfile,msg">
<![CDATA[
// compute the base directory of the current app
- 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 query = "logfile="+escape(logfile)+"&msg="+escape(msg);
- var reqstr = LzBrowser.toAbsoluteURL( base+"/test/lzunit/Logger.jsp?"+query, false );
+ var reqstr = lz.Browser.toAbsoluteURL( base+"/test/lzunit/Logger.jsp?"+query, false );
//Debug.debug("sendServerLogCommand", reqobj, reqstr);
var tloader = new LzHTTPLoader(this, false);
tloader.open ("GET" , reqstr, /* username */ null, /* password */ null);
@@ -1171,7 +1171,7 @@
super.init();
this.tests = [];
initSuite()
- var lzurl = LzBrowser.getLoadURLAsLzURL();
+ var lzurl = lz.Browser.getLoadURLAsLzURL();
// strip the deployment name from the path
this.testpath = lzurl.path.substring(lzurl.path.substring(1).indexOf("/")+2) + lzurl.file;
@@ -1210,7 +1210,7 @@
}
this.nextCase++
var del = new LzDelegate(this, "initSuite")
- LzIdle.callOnIdle(del)
+ lz.Idle.callOnIdle(del)
}
</method>
@@ -1278,7 +1278,7 @@
this.ontestfinish.sendEvent([tc[i],this.result.numFailures() > 0 ? 'fail' : 'pass']);
}
var c = new LzDelegate( this , "runNextTest" )
- LzIdle.callOnIdle(c);
+ lz.Idle.callOnIdle(c);
// This fix papers over a difference between swf and dhtml, and I'm not sure
// why this fixes it. In dhtml, without this change, the control panel
// becomes invisible when the tests fail, but in swf, we don't see that problem.
Modified: openlaszlo/trunk/lps/components/queens-charts/shared/chartzoomer.lzx
===================================================================
--- openlaszlo/trunk/lps/components/queens-charts/shared/chartzoomer.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/queens-charts/shared/chartzoomer.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -101,4 +101,4 @@
* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
-<!-- @LZX_VERSION@ -->
\ No newline at end of file
+<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/queens-charts/shared/wholepie.lzx
===================================================================
--- openlaszlo/trunk/lps/components/queens-charts/shared/wholepie.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/queens-charts/shared/wholepie.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -166,7 +166,7 @@
<!--- Start checking to see what wedge we're over.
(I borrowed this from Ming's TROWE code, with some modifications.) -->
<handler name="onmouseover">
- this.checkwedgeoverdel.register(LzIdle, "onidle");
+ this.checkwedgeoverdel.register(lz.Idle, "onidle");
</handler>
<!--- End checking to see what wedge we're over -->
Modified: openlaszlo/trunk/lps/components/rpc/ajax.lzx
===================================================================
--- openlaszlo/trunk/lps/components/rpc/ajax.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/rpc/ajax.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -29,7 +29,7 @@
<handler name="oninit">
if (this.dataset == null) {
- this.dataset = new LzDataset(this);
+ this.dataset = new lz.dataset(this);
}
this.dataset.getresponseheaders = true;
@@ -207,7 +207,7 @@
<programlisting>
<script>
function loadXMLDoc(url) {
- var req = new XMLHttpRequest();
+ var req = new lz.XMLHttpRequest();
req.onreadystatechange = processReqChange;
req.open("GET", url, true);
req.setRequestHeader('X-Test', 'one');
Modified: openlaszlo/trunk/lps/components/utils/diagnostic/frametimer.lzx
===================================================================
--- openlaszlo/trunk/lps/components/utils/diagnostic/frametimer.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/utils/diagnostic/frametimer.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -17,7 +17,7 @@
<attribute name="lasttime" value="0"/>
<handler name="oninit">
- var d = new LzDelegate( this , "tellTime", LzIdle, "onidle" );
+ var d = new LzDelegate( this , "tellTime", lz.Idle, "onidle" );
this.bringToFront();
</handler>
<method name="tellTime" args="t">
Modified: openlaszlo/trunk/lps/components/utils/diagnostic/inittimer.lzx
===================================================================
--- openlaszlo/trunk/lps/components/utils/diagnostic/inittimer.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/utils/diagnostic/inittimer.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -4,7 +4,7 @@
<class name="inittimer" bgcolor="white" visible="true" options="ignorelayout">
<handler name="oninit" reference="canvas">
var d = new LzDelegate( mytext , "tellTime" );
- LzIdle.callOnIdle( d );
+ lz.Idle.callOnIdle( d );
this.bringToFront();
</handler>
<text id="mytext" resize="true">
Modified: openlaszlo/trunk/lps/components/utils/diagnostic/inspector/colormenu.lzx
===================================================================
--- openlaszlo/trunk/lps/components/utils/diagnostic/inspector/colormenu.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/utils/diagnostic/inspector/colormenu.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -43,11 +43,11 @@
this.setY(newy - 5);
this.bringToFront();
this.setAttribute('visible', true);
- LzTrack.activate('mymenu');
+ lz.Track.activate('mymenu');
</method>
<method name="close">
this.setAttribute('visible', false);
- LzTrack.deactivate('mymenu');
+ lz.Track.deactivate('mymenu');
</method>
<simplelayout axis="x"/>
<colorspot mycolor="0x0000ff"/>
Modified: openlaszlo/trunk/lps/components/utils/diagnostic/inspector/inspector.lzx
===================================================================
--- openlaszlo/trunk/lps/components/utils/diagnostic/inspector/inspector.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/utils/diagnostic/inspector/inspector.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -41,7 +41,7 @@
<attribute name="editing" value="false"/>
<handler name="onclick">
setAttribute('editing', true);
- LzFocus.setFocus(editbox);
+ lz.Focus.setFocus(editbox);
</handler>
<text visible="${!parent.editing}" resize="true" name="t"
y="$once{ parent.height /2 - this.height/2}"
@@ -57,7 +57,7 @@
super.init();
</method>
<handler name="onfocus">
- this.globalMouseDel.register( LzGlobalMouse,
+ this.globalMouseDel.register( lz.GlobalMouse,
"onmousedown" );
</handler>
<handler name="onblur">
@@ -106,7 +106,7 @@
onclick="classroot.toggle()"
onmouseover="parent.setBGColor(0xddddff)"
onmouseout="parent.setBGColor(null)"/>
- <state applied="${classroot.reference instanceof LzView}">
+ <state applied="${classroot.reference instanceof lz.view}">
<colorbox y="1" obj="classroot.reference"/>
<propedit text="${classroot.reference.x}" obj="classroot.reference" prop="x"/>
<propedit text="${classroot.reference.y}" obj="classroot.reference" prop="y"/>
Modified: openlaszlo/trunk/lps/components/utils/performance/measure.lzx
===================================================================
--- openlaszlo/trunk/lps/components/utils/performance/measure.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/utils/performance/measure.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -277,7 +277,7 @@
Measurement.prototype.background = function () {
this.delegate = new LzDelegate(this, 'measureStep' ,
- LzIdle , "onidle" );
+ lz.Idle , "onidle" );
}
Measurement.prototype.measureStep = function () {
@@ -316,7 +316,7 @@
</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 ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/trunk/lps/components/utils/replicator/lazyreplicator.lzx
===================================================================
--- openlaszlo/trunk/lps/components/utils/replicator/lazyreplicator.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/utils/replicator/lazyreplicator.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -116,7 +116,7 @@
//no change
if ( offset == 0 && newlength == oldlength ) return;
- //_root.LzInstantiator.enableDataReplicationQueuing( );
+ //_root.lz.Instantiator.enableDataReplicationQueuing( );
var oldclones = this.clones;
//TODO: instead of allocating a new array, use two arrays and
//ping-pong
@@ -170,7 +170,7 @@
while ( oldclones.length ) oldclones.pop();
this.__emptyArray = oldclones;
- //_root.LzInstantiator.clearDataReplicationQueue( );
+ //_root.lz.Instantiator.clearDataReplicationQueue( );
]]>
</method>
Modified: openlaszlo/trunk/lps/components/utils/traits/cssable.lzx
===================================================================
--- openlaszlo/trunk/lps/components/utils/traits/cssable.lzx 2008-07-02 13:26:28 UTC (rev 10172)
+++ openlaszlo/trunk/lps/components/utils/traits/cssable.lzx 2008-07-02 13:39:00 UTC (rev 10173)
@@ -1,4 +1,4 @@
-<!-- Copyright 2007 Laszlo Systems -->
+<!-- Copyright 2007-2008 Laszlo Systems -->
<library>
<!-- [todo: max 2-13-2007] moved to bottom of LzNode until <mixin/> is available-->
<script when="immediate">
@@ -36,7 +36,7 @@
//
// Special case font color. See LPP-436, LPP-553.
//
- if (this instanceof LzText) {
+ if (this instanceof lz.text) {
var n = Number(v);
this.setColor(n); // must be a color
}
More information about the Laszlo-checkins
mailing list