(Note: I am checking this changeset in so further testing can be performed.)


Change philip-20130318-7Qh by philip@philip-i7-2 on 2013-03-18 14:16:19 EDT
    in /cygdrive/f/clients/laszlo/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk


Summary: Reduce need for unnecessary timer closures for IE


New Features:


Bugs Fixed: LPP-10322


Technical Reviewer: (pending)
QA Reviewer: dju
Doc Reviewer: (pending)


Documentation:


Release Notes:


Overview:
Add new versions of setTimeout that take a fixed number of arguments. This reduces the need for IE closures and should improve performance.
    


Details:
In the dhtml kernel, setTimeout() is redefined in LzTimeKernel.js to add a closure around the native setTimeout. This is necessary because, in IE, additional arguments are not supported. A closure is added to mimic the behavior on other browsers. Often, these additional closures are not needed because most use of setTimeout and setInterval do not take any arguments.


Tests:
calendar, component sampler (dhtml/swf). rte test app (/test/components/extensions/test/rte_test.lzx).


This changeset needs to be tested against webtop.


Files:
M       lps/components/extensions/html.lzx
M       lps/admin/dev-console.lzx.js
M       lps/admin/dev-console.lzx.swf
M       lps/admin/lps/includes/lfc/LFCdhtml.js
M       WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
M       WEB-INF/lps/lfc/kernel/dhtml/LzHTTPLoader.js
M       WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js
M       WEB-INF/lps/lfc/kernel/dhtml/lzsprite/LzSprite.js
M       WEB-INF/lps/lfc/kernel/dhtml/lzsprite/LzSprite-event.js
M       WEB-INF/lps/lfc/kernel/dhtml/lzsprite/LzSprite-resource.js
M       WEB-INF/lps/lfc/kernel/dhtml/LzTimeKernel.js
M       WEB-INF/lps/lfc/kernel/dhtml/LzFontManager.js
M       WEB-INF/lps/lfc/kernel/swf9/LzTimeKernel.as
M       WEB-INF/lps/lfc/kernel/LzIdleKernel.lzs
M       WEB-INF/lps/lfc/services/LzTimer.lzs



Changeset: http://svn.openlaszlo.org/openlaszlo/patches/philip-20130318-7Qh.tar






Reply via email to