[Laszlo-dev] Candidate for 4.2.0.1: LPP-7575 - swf9: mousewheel not working in OS X

Max Carlson max at openlaszlo.org
Wed Jan 7 17:26:08 PST 2009


This change fixes the mousewheel and GenericPresentationType 
functionality in swf9.  Should be low-risk - you could take just the 
LzRuntime bit if you only want the mouse wheel fixed:

r12350 | max | 2009-01-07 16:43:59 -0800 (Wed, 07 Jan 2009) | 20 lines
Changed paths:
    M /openlaszlo/trunk/WEB-INF/lps/lfc/compiler/LzRuntime.lzs
    M /openlaszlo/trunk/WEB-INF/lps/lfc/core/PresentationTypes.lzs
    M /openlaszlo/trunk/WEB-INF/lps/lfc/services/LzUtils.lzs

Change 20090107-maxcarlson-t by maxcarlson at Bank.lan on 2009-01-07 
08:27:05 PST
     in /Users/maxcarlson/openlaszlo/trunk-clean
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix mousewheel in swf9

Bugs Fixed: LPP-7575 - swf9: mousewheel not working in OS X

Technical Reviewer: ptw
QA Reviewer: hminsky

Details: LzUtils.lzs - Add null arg to __unpackList() so it works with 
swf9. Use globalValue() to look up classes instead of __findClass().

PresentationTypes.lzs - Use globalValue() to look up classes instead of 
lz.Utils.__findClass() in GenericPresentationType.

LzRuntime.lzs - Add special case for 'lz' to ensure it's found - fixes 
the mouse wheel.

Tests: test/lfc/legals/keyboardandmouse.lzx runs in swf9 and in other 
runtimes. Testcase from LPP-2610 runs consistenty across runtimes.


More information about the Laszlo-dev mailing list