Change hqm-20100929-t2N by [email protected] on 2010-09-29 18:16:30 EDT
    in /Users/hqm/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary:  Add OSX Dashboard widget support

New Features:

Bugs Fixed:

Technical Reviewer: max
QA Reviewer: ptw
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:

Add support for generating OSX dashboard widget format for HTML5 apps


Details:

Write out Info.plist file and Default.png and Icon.png files into archive.

Note: we could also support SWF apps maybe, if we use specify the optional 
plugin info in
the plist file.

The content in an OSX Dashboard zip file is written with an extra
level of directory hierarchy, so the content all goes into a top level
directory named <APP_SOURCE_DIR>.wdgt.  This makes it suitable to directly
install as a OSX Dashboard widget.

Tests:

+ load 
http://localhost:8080/trunk-clean/examples/contactlist/contactlist.lzx?lzoptions=runtime(dhtml)

+ Click SOLO deploy button, select Apple Dashboard Widget as output format

+ download the zip file, and unzip into a directory named ~/Library/Widgets

+ double click the contactslist.wdgt file in the finder to install dashboard 
widget


Files:
M       WEB-INF/lps/server/src/org/openlaszlo/utils/DeployMain.java
M       WEB-INF/lps/server/src/org/openlaszlo/utils/DeploySOLOSWF.java
M       WEB-INF/lps/server/src/org/openlaszlo/utils/DeployUtils.java
M       WEB-INF/lps/server/src/org/openlaszlo/utils/DeploySOLODHTML.java
M       lps/admin/solo-deploy.jsp
M       lps/admin/solo-dhtml-deploy.jsp


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/hqm-20100929-t2N.tar

Reply via email to