[Laszlo-dev] For Review: Change 20080701-dda-M Summary: Add script for converting 'new classname' => 'new lz.classname' in .lzx fils

Donald Anderson dda at ddanderson.com
Tue Jul 1 11:15:59 PDT 2008


Note - this changeset modified from before.
Phil requested handling LzAudio => lz.Audio, so he gets to review,
Tucker, you're off the hook unless you want to take a look.

Note the script name has changed (convert_required.pl).



Change 20080701-dda-M by dda at lester.local on 2008-07-01 10:35:26 EDT
     in /Users/dda/laszlo/src/svn/openlaszlo/trunk-doc2
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Add script for converting 'new classname' => 'new  
lz.classname' in .lzx fils

New Features:

Bugs Fixed:

Technical Reviewer: promanik (pending)
QA Reviewer: seba.wagner at gmail.com (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
     Script selectively converts 'new' and 'instanceof'.
     Changeset modified to also map LzAudio => lz.Audio, etc.
     Since this does more than instantiation, and handles all
     required changes, changed the name to convert_required.pl

     Documentation about usage and implementation should
     be fully contained in script.

Tests:
    1) ran builtin test cases:
       $ perl WEB-INF/lps/server/bin/convert_required.pl -t
       compared changes to test files via:
       $ sdiff /tmp/convtest{,.bak}

    2) ran on some 'real' files:
      $ cd test; perl ../WEB-INF/lps/server/bin/convert_required.pl  
`grep -l new *.lzx`
      compared changes made.

Files:
A      WEB-INF/lps/server/bin/convert_required.pl

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080701-dda-M.tar



--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-547-7881
email: dda at ddanderson.com
www: http://www.ddanderson.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080701/90b75f9f/attachment-0001.html


More information about the Laszlo-dev mailing list