commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbe...@apache.org
Subject svn commit: r985381 - in /commons/sandbox/gsoc/2010/scxml-js/trunk: ./ src/site/ src/site/resources/ src/site/resources/css/ src/site/resources/images/ src/site/resources/scxml-js/ src/site/resources/scxml-js/lib/ src/site/resources/scxml-js/src/ src/s...
Date Fri, 13 Aug 2010 22:07:15 GMT
Author: jbeard
Date: Fri Aug 13 22:07:14 2010
New Revision: 985381

URL: http://svn.apache.org/viewvc?rev=985381&view=rev
Log:
Added content for website.

Added:
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/css/
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/css/status.css   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/images/
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/images/drag_and_drop.svg   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/build   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/demo   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/lib/
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/lib/js   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/src/
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/src/javascript   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/src/xslt   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop.xml   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop2.xml   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop3.xml   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/index.html
      - copied, changed from r984132, commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/index.xml
      - copied, changed from r984132, commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.html   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.xml   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/hierarchical-layout/
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/hierarchical-layout/index.xml
      - copied, changed from r984132, commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/sandbox/
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/sandbox/index.html
      - copied, changed from r984132, commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/index.xml
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/sandbox/index.xml
      - copied, changed from r984132, commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/guide.xml   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/status.xml   (with props)
Modified:
    commons/sandbox/gsoc/2010/scxml-js/trunk/.gitignore
    commons/sandbox/gsoc/2010/scxml-js/trunk/pom.xml
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/index.xml

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/.gitignore
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/.gitignore?rev=985381&r1=985380&r2=985381&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/.gitignore (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/.gitignore Fri Aug 13 22:07:14 2010
@@ -12,3 +12,4 @@ tmp*
 Session.vim
 *.bak
 test/out.js
+target

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/pom.xml?rev=985381&r1=985380&r2=985381&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/pom.xml (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/pom.xml Fri Aug 13 22:07:14 2010
@@ -24,6 +24,8 @@
     <version>9</version>
   </parent>
 
+
+
   <name>Commons SCXML JavaScript (Sandbox)</name>
   <groupId>commons-scxml</groupId>
   <artifactId>commons-scxml-js</artifactId>
@@ -82,6 +84,16 @@
     <commons.jira.pid>12310492</commons.jira.pid>
   </properties> 
 
+ <build>
+   <plugins>
+     <plugin>
+       <groupId>org.apache.maven.plugins</groupId>
+       <artifactId>maven-site-plugin</artifactId>
+       <version>2.1.1</version>
+     </plugin>
+   </plugins>
+ </build>
+
   <reporting>
     <plugins>
       <plugin>

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/css/status.css
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/css/status.css?rev=985381&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/css/status.css (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/css/status.css Fri Aug 13 22:07:14 2010
@@ -0,0 +1,16 @@
+td.supported {
+	background-color : green;
+}
+
+td.not_supported {
+	background-color : red;
+}
+
+td.incomplete {
+	background-color : yellow;
+}
+
+th.subheading {
+	text-align : center;	
+	background-color : #999;
+}

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/css/status.css
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/images/drag_and_drop.svg
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/images/drag_and_drop.svg?rev=985381&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/images/drag_and_drop.svg (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/images/drag_and_drop.svg Fri Aug 13 22:07:14 2010
@@ -0,0 +1,340 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   color-rendering="auto"
+   color-interpolation="auto"
+   text-rendering="auto"
+   stroke-miterlimit="10"
+   shape-rendering="auto"
+   font-weight="normal"
+   font-style="normal"
+   font-size="12"
+   image-rendering="auto"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.47 r22583"
+   width="544.86035"
+   height="74.136719"
+   sodipodi:docname="drag_and_drop.svg"
+   style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;font-family:Dialog">
+  <metadata
+     id="metadata75">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="640"
+     inkscape:window-height="504"
+     id="namedview73"
+     showgrid="false"
+     inkscape:zoom="0.22425739"
+     inkscape:cx="362.54724"
+     inkscape:cy="-475.87978"
+     inkscape:window-x="0"
+     inkscape:window-y="24"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg2" />
+  <!--Generated by the Batik Graphics2D SVG Generator-->
+  <defs
+     id="genericDefs">
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 0.5 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="1 : 0.5 : 1"
+       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+       id="perspective77" />
+  </defs>
+  <g
+     id="g5"
+     transform="translate(-9.5,-36.363281)">
+    <g
+       font-size="14"
+       transform="translate(160,40)"
+       text-rendering="geometricPrecision"
+       color-rendering="optimizeQuality"
+       image-rendering="optimizeSpeed"
+       color-interpolation="linearRGB"
+       id="g7"
+       style="font-size:14px;fill:#ffffff;stroke:#ffffff;font-family:sans-serif">
+      <rect
+         x="0"
+         y="0"
+         width="89"
+         rx="15"
+         ry="15"
+         height="39"
+         id="rect9"
+         style="opacity:0;stroke:none" />
+      <rect
+         x="0"
+         y="0"
+         width="89"
+         rx="15"
+         ry="15"
+         height="39"
+         id="rect11"
+         style="fill:none;stroke:#000000" />
+      <text
+         x="35"
+         xml:space="preserve"
+         y="26"
+         id="text13"
+         style="fill:#000000;stroke:none">idle</text>
+      <rect
+         x="0"
+         y="0"
+         transform="translate(-150,0)"
+         width="99"
+         rx="15"
+         ry="15"
+         height="39"
+         id="rect15"
+         style="opacity:0;stroke:none" />
+      <rect
+         x="0"
+         y="0"
+         transform="translate(-150,0)"
+         width="99"
+         rx="15"
+         ry="15"
+         height="39"
+         id="rect17"
+         style="fill:none;stroke:#000000" />
+      <text
+         x="7"
+         xml:space="preserve"
+         y="26"
+         transform="translate(-150,0)"
+         id="text19"
+         style="fill:#000000;stroke:none">initial_default</text>
+      <rect
+         x="0"
+         y="0"
+         transform="translate(210,0)"
+         width="99"
+         rx="15"
+         ry="15"
+         height="39"
+         id="rect21"
+         style="opacity:0;stroke:none" />
+      <rect
+         x="0"
+         y="0"
+         transform="translate(210,0)"
+         width="99"
+         rx="15"
+         ry="15"
+         height="39"
+         id="rect23"
+         style="fill:none;stroke:#000000" />
+      <text
+         x="21"
+         xml:space="preserve"
+         y="26"
+         transform="translate(210,0)"
+         id="text25"
+         style="fill:#000000;stroke:none">dragging</text>
+      <line
+         transform="translate(230,-10)"
+         x1="80"
+         x2="120"
+         y1="30"
+         y2="30"
+         id="line27"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(230,-10)"
+         x1="120"
+         x2="120"
+         y1="30"
+         y2="80"
+         id="line29"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(230,-10)"
+         x1="120"
+         x2="75"
+         y1="80"
+         y2="80"
+         id="line31"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(230,-10)"
+         x1="75"
+         x2="30"
+         y1="80"
+         y2="80"
+         id="line33"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(230,-10)"
+         x1="30"
+         x2="30"
+         y1="80"
+         y2="50"
+         id="line35"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(230,-10)"
+         x1="80"
+         x2="92"
+         y1="30"
+         y2="24"
+         id="line37"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(230,-10)"
+         x1="80"
+         x2="92"
+         y1="30"
+         y2="36"
+         id="line39"
+         style="fill:none;stroke:#000000" />
+      <text
+         x="79"
+         xml:space="preserve"
+         y="77"
+         transform="translate(230,-10)"
+         id="text41"
+         style="fill:#000000;stroke:none">mousemove</text>
+      <line
+         transform="translate(-80,-30)"
+         x1="80"
+         x2="55"
+         y1="50"
+         y2="50"
+         id="line43"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(-80,-30)"
+         x1="55"
+         x2="30"
+         y1="50"
+         y2="50"
+         id="line45"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(-80,-30)"
+         x1="79"
+         x2="67"
+         y1="50"
+         y2="56"
+         id="line47"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(-80,-30)"
+         x1="79"
+         x2="67"
+         y1="50"
+         y2="44"
+         id="line49"
+         style="fill:none;stroke:#000000" />
+      <text
+         x="46"
+         xml:space="preserve"
+         y="47"
+         transform="translate(-80,-30)"
+         id="text51"
+         style="fill:#000000;stroke:none">init</text>
+      <line
+         transform="translate(60,-40)"
+         x1="150"
+         x2="90"
+         y1="50"
+         y2="50"
+         id="line53"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(60,-40)"
+         x1="90"
+         x2="30"
+         y1="50"
+         y2="50"
+         id="line55"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(60,-40)"
+         x1="149"
+         x2="137"
+         y1="50"
+         y2="56"
+         id="line57"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(60,-40)"
+         x1="149"
+         x2="137"
+         y1="50"
+         y2="44"
+         id="line59"
+         style="fill:none;stroke:#000000" />
+      <text
+         x="49"
+         xml:space="preserve"
+         y="47"
+         transform="translate(60,-40)"
+         id="text61"
+         style="fill:#000000;stroke:none">mousedown</text>
+      <line
+         transform="translate(60,-20)"
+         x1="30"
+         x2="90"
+         y1="50"
+         y2="50"
+         id="line63"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(60,-20)"
+         x1="90"
+         x2="150"
+         y1="50"
+         y2="50"
+         id="line65"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(60,-20)"
+         x1="30"
+         x2="42"
+         y1="50"
+         y2="44"
+         id="line67"
+         style="fill:none;stroke:#000000" />
+      <line
+         transform="translate(60,-20)"
+         x1="30"
+         x2="42"
+         y1="50"
+         y2="56"
+         id="line69"
+         style="fill:none;stroke:#000000" />
+      <text
+         x="59"
+         xml:space="preserve"
+         y="47"
+         transform="translate(60,-20)"
+         id="text71"
+         style="fill:#000000;stroke:none">mouseup</text>
+    </g>
+  </g>
+</svg>

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/images/drag_and_drop.svg
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/build
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/build?rev=985381&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/build (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/build Fri Aug 13 22:07:14 2010
@@ -0,0 +1 @@
+link ../../../../build
\ No newline at end of file

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/build
------------------------------------------------------------------------------
    svn:special = *

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/demo
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/demo?rev=985381&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/demo (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/demo Fri Aug 13 22:07:14 2010
@@ -0,0 +1 @@
+link ../../../../demo/
\ No newline at end of file

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/demo
------------------------------------------------------------------------------
    svn:special = *

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/lib/js
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/lib/js?rev=985381&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/lib/js (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/lib/js Fri Aug 13 22:07:14 2010
@@ -0,0 +1 @@
+link ../../../../../lib/js/
\ No newline at end of file

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/lib/js
------------------------------------------------------------------------------
    svn:special = *

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/src/javascript
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/src/javascript?rev=985381&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/src/javascript (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/src/javascript Fri Aug 13 22:07:14 2010
@@ -0,0 +1 @@
+link ../../../../javascript/
\ No newline at end of file

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/src/javascript
------------------------------------------------------------------------------
    svn:special = *

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/src/xslt
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/src/xslt?rev=985381&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/src/xslt (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/src/xslt Fri Aug 13 22:07:14 2010
@@ -0,0 +1 @@
+link ../../../../xslt/
\ No newline at end of file

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/resources/scxml-js/src/xslt
------------------------------------------------------------------------------
    svn:special = *

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml?rev=985381&r1=985380&r2=985381&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml Fri Aug 13 22:07:14 2010
@@ -16,20 +16,37 @@
  * limitations under the License.
 -->
 <project name="Commons SCXML JS">
-  <body>
+	<body>
 
-    <menu name="Commons SCXML JS">
-      <item name="Overview"    href="/index.html"/>
-      <item name="Wiki"        href="http://wiki.apache.org/commons/SCXML/HomePage"/>
-    </menu>
-    
-    <menu name="Development">
-      <item name="History"                 href="/changes-report.html"/>
-      <item name="Mailing Lists"           href="/mail-lists.html"/>
-      <item name="Issue Tracking"          href="/issue-tracking.html"/>
-      <item name="Team"                    href="/team-list.html"/>
-      <item name="Source Repository"       href="/source-repository.html"/>
-    </menu>
+		<menu name="Commons scxml-js">
+			<item name="Overview" href="/index.html"/>
+			<item name="User Guide" href="/guide.html"/>
+			<item name="Implementation Status" href="/status.html"/>
+			<item name="Wiki" href="http://wiki.apache.org/commons/SCXML/HomePage"/>
+		</menu>
 
-  </body>
+		<menu name="Demos" collapse="true">
+			<item name="Code Generation" collapse="false">
+				<item name="Sandbox" href="/demo/sandbox/index.html"/>
+				<item name="Graphical Layout" collapse="true" href="/demo/hierarchical-layout/index.html"></item>
+			</item>
+			<item name="UI Behaviour" collapse="false">
+				<item name="Drag-and-Drop" collapse="true" href="/demo/drag-and-drop/index.html">
+					<item name="First Demo" href="/demo/drag-and-drop/drag-and-drop.html"/>
+					<item name="Second Demo" href="/demo/drag-and-drop/drag-and-drop2.html"/>
+					<item name="Third Demo" href="/demo/drag-and-drop/drag-and-drop3.html"/>
+				</item>
+				<item name="Drawing Tool" href="/demo/drawing-tool/index.html"/>
+			</item>
+		</menu>
+	
+		<menu name="Development">
+			<item name="History" href="/changes-report.html"/>
+			<item name="Mailing Lists" href="/mail-lists.html"/>
+			<item name="Issue Tracking" href="/issue-tracking.html"/>
+			<item name="Team" href="/team-list.html"/>
+			<item name="Source Repository" href="/source-repository.html"/>
+		</menu>
+
+	</body>
 </project>

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop.xml?rev=985381&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop.xml (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop.xml Fri Aug 13 22:07:14 2010
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<document>
+  <properties>
+    <title>Commons scxml-js Drag-and-Drop Behaviour Demonstration 1</title>
+    <author email="jbeard@apache.org">Jacob Beard</author>
+  </properties>
+
+  <body>
+	<section name="Overview">
+		<p>
+			This demo illustrates a technique to faciliate 
+			authoring of SVG documents with inline, declarative behavioural descriptions
+			using SCXML. It mixes XHTML, SVG, and SCXML content into a single XHTML compound document. 
+		</p>
+
+		<p>
+			A script is then used to perform the following steps:
+		</p>
+		<ol>
+			
+			<li> The document is searched for scxml elements </li>
+			<li> scxml elements are compiled locally to create JavaScript constructor functions using the scxml-js compiler</li>
+			<li> Statechart instances are created from the compiled statechart constructor functions</li>
+			<li> Event listeners are attached to the parent node of the scxml elements, in order to send DOM events to the associated compiled statechart instance for processing </li>
+			<li>In this way, the statechart instance is able to react directly to UI events, and perform actions such as manipulate the DOM</li>
+		</ol>
+		
+	</section>
+
+	<section name="Supported Browsers">
+		<p>
+			To view this demo, you need a Web browser that supports SVG.
+		</p>
+		<p>
+			This demo has been tested in Firefox 3.6.8, Opera 10.6, and Chromium 5 on Ubuntu 10.04.
+		</p>
+	</section>
+	<section name="Link to Demo">
+		<p>
+			<a href="/scxml-js/demo/drag-and-drop/drag-and-drop.xhtml">Go to demo.</a>
+		</p>
+	</section>
+  </body>
+</document>
+
+
+
+

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop2.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop2.xml?rev=985381&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop2.xml (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop2.xml Fri Aug 13 22:07:14 2010
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<document>
+  <properties>
+    <title>Commons scxml-js Drag-and-Drop Behaviour Demonstration 2</title>
+    <author email="jbeard@apache.org">Jacob Beard</author>
+  </properties>
+
+  <body>
+	<section name="Overview">
+		<p>
+			This demo is like <a href="/demo/drag-and-drop/drag-and-drop.html">Drag-and-Drop Behaviour Demonstration 1</a>, 
+			except that it illustrates how one may create state
+			machines and DOM elements dynamically and procedurally, as opposed to
+			declaratively. In this example, each
+			dynamically-created element will be associated with a single state machine
+			instance. 
+		</p>
+	</section>
+	<section name="Supported Browsers">
+		<p>
+			To view this demo, you need a Web browser that supports SVG.
+		</p>
+		<p>
+			This demo has been tested in Firefox 3.6.8, Opera 10.6, and Chromium 5 on Ubuntu 10.04.
+		</p>
+	</section>
+	<section name="Link to Demo">
+		<p>
+			<a href="/scxml-js/demo/drag-and-drop/drag-and-drop2.xhtml">Go to demo.</a>
+		</p>
+		
+	</section>
+  </body>
+</document>

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop3.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop3.xml?rev=985381&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop3.xml (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop3.xml Fri Aug 13 22:07:14 2010
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<document>
+  <properties>
+    <title>Commons scxml-js Drag-and-Drop Behaviour Demonstration 3</title>
+    <author email="jbeard@apache.org">Jacob Beard</author>
+  </properties>
+
+  <body>
+	<section name="Overview">
+		<p>
+			This demo is like <a href="/demo/drag-and-drop/drag-and-drop2.html">Drag-and-Drop Behaviour Demonstration 2</a>, 
+			except that it, rather than compile the SCXML document locally, in the browser,
+			it uses JavaScript code that has been compiled ahead of time. 
+		</p>
+		<p>
+			Also, this demo uses an SVG document, as opposed to an XHTML
+			document with embedded SVG. An XHTML context was used before, because scxml-js
+			has a dependency on RequireJS, which currently does not work in the context of
+			SVG documents. To compile SCXML documents in the browser, then, mean that an
+			HTML context was required.  However, compiled target code does not have a
+			dependency on RequireJS, so it was possible to use a pure SVG document without
+			the HTML context.
+		</p>
+
+	</section>
+
+	<section name="Supported Browsers">
+		<p>
+			To view this demo, you need a Web browser that supports SVG.
+		</p>
+		<p>
+			This demo has been tested in Firefox 3.6.8, Opera 10.6, and Chromium 5 on Ubuntu 10.04.
+		</p>
+	</section>
+	<section name="Link to Demo">
+		<p>
+			<a href="/scxml-js/demo/drag-and-drop/drag-and-drop3.svg">Go to demo.</a>
+		</p>
+	</section>
+  </body>
+</document>
+

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop3.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/index.html (from r984132, commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml)
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/index.html?p2=commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/index.html&p1=commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml&r1=984132&r2=985381&rev=985381&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/index.html Fri Aug 13 22:07:14 2010
@@ -15,21 +15,26 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
 -->
-<project name="Commons SCXML JS">
+<document>
+  <properties>
+    <title>scxml-js Graphical Layout Demonstration</title>
+    <author email="jbeard@apache.org">Jacob Beard</author>
+  </properties>
+
   <body>
+	<section name="Commons scxml-js Graphical Layout Demonstration">
+		<p>
+			This demo illustrates the graphical layout component in
+			scxml-js. This component takes SCXML documents and applies graphical layout
+			algorithms in order to generate readable SVG documents. This is used
+			to facilitate in-browser graphical debugging.
+		</p>
+		<p>
+			<a href="/scxml-js/demo/hierarchical-layout/test_with_dom.html">Go to demo.</a>
+		</p>
+	</section>
+  </body>
+</document>
+
 
-    <menu name="Commons SCXML JS">
-      <item name="Overview"    href="/index.html"/>
-      <item name="Wiki"        href="http://wiki.apache.org/commons/SCXML/HomePage"/>
-    </menu>
-    
-    <menu name="Development">
-      <item name="History"                 href="/changes-report.html"/>
-      <item name="Mailing Lists"           href="/mail-lists.html"/>
-      <item name="Issue Tracking"          href="/issue-tracking.html"/>
-      <item name="Team"                    href="/team-list.html"/>
-      <item name="Source Repository"       href="/source-repository.html"/>
-    </menu>
 
-  </body>
-</project>

Copied: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/index.xml (from r984132, commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml)
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/index.xml?p2=commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/index.xml&p1=commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml&r1=984132&r2=985381&rev=985381&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/index.xml Fri Aug 13 22:07:14 2010
@@ -15,21 +15,24 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
 -->
-<project name="Commons SCXML JS">
+<document>
+  <properties>
+    <title>Commons scxml-js Drag-and-Drop Behaviour Demonstrations</title>
+    <author email="jbeard@apache.org">Jacob Beard</author>
+  </properties>
+
   <body>
+	<section name="Commons scxml-js Drag-and-Drop Behaviour Demonstrations">
+		<p>
+			These demos illustrate how the following simple SCXML model of drag-and-drop behaviour 
+			can be used to add interactivity to an SVG-based user interface.
+		</p>
+		<p style="text-align:center">
+			<object data="../../images/drag_and_drop.svg" type="image/svg+xml" width="544" height="90">drag_and_drop.svg</object>
+		</p>
+	</section>
+  </body>
+</document>
+
 
-    <menu name="Commons SCXML JS">
-      <item name="Overview"    href="/index.html"/>
-      <item name="Wiki"        href="http://wiki.apache.org/commons/SCXML/HomePage"/>
-    </menu>
-    
-    <menu name="Development">
-      <item name="History"                 href="/changes-report.html"/>
-      <item name="Mailing Lists"           href="/mail-lists.html"/>
-      <item name="Issue Tracking"          href="/issue-tracking.html"/>
-      <item name="Team"                    href="/team-list.html"/>
-      <item name="Source Repository"       href="/source-repository.html"/>
-    </menu>
 
-  </body>
-</project>

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.html
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.html?rev=985381&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.html (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.html Fri Aug 13 22:07:14 2010
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<document>
+  <properties>
+    <title>Commons scxml-js Drag-and-Drop Behaviour Demonstration 3</title>
+    <author email="jbeard@apache.org">Jacob Beard</author>
+  </properties>
+
+  <body>
+	<section name="Commons scxml-js Drag-and-Drop Behaviour Demonstration 3">
+		<p>
+			This demo is like <a href="/demo/drag-and-drop/drag-and-drop2.html">Drag-and-Drop Behaviour Demonstration 2</a>, 
+			except that it, rather than compile the SCXML document locally, in the browser,
+			it uses JavaScript code that has been compiled ahead of time. 
+		</p>
+		<p>
+			Also, this demo uses an SVG document, as opposed to an XHTML
+			document with embedded SVG. An XHTML context was used before, because scxml-js
+			has a dependency on RequireJS, which currently does not work in the context of
+			SVG documents. To compile SCXML documents in the browser, then, mean that an
+			HTML context was required.  However, compiled target code does not have a
+			dependency on RequireJS, so it was possible to use a pure SVG document without
+			the HTML context.
+		</p>
+
+
+		<p>
+			<a href="/scxml-js/demo/drag-and-drop/drag-and-drop3.svg">Go to demo.</a>
+		</p>
+		
+	</section>
+  </body>
+</document>
+
+

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.xml?rev=985381&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.xml (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.xml Fri Aug 13 22:07:14 2010
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<document>
+  <properties>
+    <title>Commons scxml-js Drawing Tool Demonstration</title>
+    <author email="jbeard@apache.org">Jacob Beard</author>
+  </properties>
+
+	<body>
+	<section name="Commons scxml-js Drawing Tool Demonstration">
+		<p>
+			This demo shows how complex user interface behavioural requirements may be
+			described and implemented using SCXML. The goal was to
+			implement a subset of Inkscape's functionality, and to realize its behavioural
+			requirements, which were obtained through observation (as opposed to analyzing
+			at the code). 
+		</p>
+
+	</section>
+	<section name="Natural-language Specification of a Subset of Inkscape's Behaviour">
+		<subsection name="Drawing Tool Context">
+<p>
+				There is a canvas, a toolbar, rotation and scale handles. Rectangles and ellipses can be drawn on the canvas.
+</p>
+
+<p>
+				The toolbar has three buttons corresponding to different tools: a tool for drawing rects, a tool for drawing ellipses, and a tool for transforming them.
+</p>
+
+<p>
+				Tools are selected by clicking buttons on a toolbar.
+</p>
+
+<p>
+				Only one tool can be selected at a time. 
+</p>
+
+<p>
+				Rects and ellipses (nodes) can be selected or not selected. When selected, they are surrounded by a dashed rect.
+</p>
+
+		</subsection>
+		<subsection name="When Transform Tool is Selected">
+<p>
+					If there are selected nodes, then either the rotate or translate handles will be visible, and will eb psoitioned on the aggregate bbox of all selected nodes; otherwise, if no nodes are selected, then neither rotate nor transform handles will be shown.
+</p>
+
+<p>
+					Dragging rotation handle rotates the nodes about the center point of their aggregate bbox. On mouseup, handle positions are reset.
+</p>
+<p>
+					Dragging scale handle scales the nodes.
+</p>
+<p>
+					Dragging selected node results in all selected nodes being dragged.
+</p>
+<p>
+					Dragging non-selected node results in node being selected, and all other nodes being deselected.
+</p>
+<p>
+					Dragging (no shift) on canvas results in marquee being drawn, all nodes inside of marquee being selected, and all other nodes being deselected,
+</p>
+<p>
+					Dragging (with shift) on canvas results in marquee being drawn, all nodes inside of marquee being selected (added to selection). 
+</p>
+
+<p>
+					Mouseclick (no shift) on selected node results in rotation/scale handles being toggled.
+</p>
+
+<p>
+					Dragging node (no shift) will deselect other nodes, drag the node, and select this node.
+</p>
+<p>
+					Dragging node (with shift) has same effect as dragging on canvas.
+</p>
+
+<p>
+					Additionally, when no nodes are selected, and nodes are first selected, then the scale rotation handles will be shown first
+						UNLESS, the last time nodes were selected, rotation handles were shown when they were deselected; 
+							AND, the way the nodes are being selected now is via a drag (not a click)
+</p>
+
+				</subsection>
+	
+				<subsection name="When Rect or Ellipse Drawing Tools are Selected">
+				
+<p>
+					Rotate and translate handles will never be visible.
+</p>
+<p>
+					When only one node is selected, then that node's resize/roundness controls will be shown.
+</p>
+
+<p>
+					Mouseclick (no shift) on selected node HAS NO EFFECT.
+</p>
+
+<p>
+					Dragging (on canvas, rect, wherever) results in a new element being draw, created and selected. On mouseup, all other elements are deselect.
+</p>
+				</subsection>
+
+				<subsection name="Behaviour Common to both Rect/Ellipse Drawing tool and Transform Tool">
+
+<p>
+					Mouseclick (no shift) on canvas results in all nodes being selected.
+</p>
+<p>
+					Mouseclick (with shift) on node results in node's selection state being toggled.
+</p>
+
+<p>
+					Mouseclick (no shift) on non-selected node results in node being selected, and all other nodes being deselected.
+</p>
+
+<p>
+					Ctrl+A selects all
+</p>
+<p>
+					Delete deletes selected nodes (and deselects them in the process, natch)
+</p>
+				</subsection>
+
+		</section>
+		<section name="SCXML Implementation of UI Behaviour">
+			<p>
+				The SCXML representation of this behaviour can be found <a href="/scxml-js/demo/drawing-tool/behaviour/canvas.xml">here</a>.
+			</p>
+		</section>
+
+		<section name="Supported Browsers">
+			<p>
+				To view this demo, you need a Web browser that supports SVG.
+			</p>
+			<p>
+				This demo has been tested in Firefox 3.6.8, Opera 10.6, and Chromium 5 on Ubuntu 10.04.
+			</p>
+		</section>
+		<section name="Link to Demo">
+			<p>
+				<a href="/scxml-js/demo/drawing-tool/drawing-tool-precompiled.html">Go to demo.</a>
+			</p>
+		</section>
+	</body>
+</document>
+
+

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drawing-tool/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/hierarchical-layout/index.xml (from r984132, commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml)
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/hierarchical-layout/index.xml?p2=commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/hierarchical-layout/index.xml&p1=commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml&r1=984132&r2=985381&rev=985381&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/hierarchical-layout/index.xml Fri Aug 13 22:07:14 2010
@@ -15,21 +15,36 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
 -->
-<project name="Commons SCXML JS">
-  <body>
+<document>
+  <properties>
+    <title>scxml-js Graphical Layout Demonstration</title>
+    <author email="jbeard@apache.org">Jacob Beard</author>
+  </properties>
 
-    <menu name="Commons SCXML JS">
-      <item name="Overview"    href="/index.html"/>
-      <item name="Wiki"        href="http://wiki.apache.org/commons/SCXML/HomePage"/>
-    </menu>
-    
-    <menu name="Development">
-      <item name="History"                 href="/changes-report.html"/>
-      <item name="Mailing Lists"           href="/mail-lists.html"/>
-      <item name="Issue Tracking"          href="/issue-tracking.html"/>
-      <item name="Team"                    href="/team-list.html"/>
-      <item name="Source Repository"       href="/source-repository.html"/>
-    </menu>
+  <body>
+	<section name="Overview">
+		<p>
+			This demo illustrates the graphical layout component in
+			scxml-js. This component takes SCXML documents and applies graphical layout
+			algorithms in order to generate readable SVG documents. This is used
+			to facilitate in-browser graphical debugging.
+		</p>
+	</section>
 
+	<section name="Supported Browsers">
+		<p>
+			To view this demo, you need a Web browser that supports SVG.
+		</p>
+		<p>
+			This demo has been tested in Firefox 3.6.8, Opera 10.6, and Chromium 5 on Ubuntu 10.04.
+		</p>
+	</section>
+	<section name="Link to Demo">
+		<p>
+			<a href="/scxml-js/demo/hierarchical-layout/test_with_dom.html">Go to demo.</a>
+		</p>
+	</section>
   </body>
-</project>
+</document>
+
+

Copied: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/sandbox/index.html (from r984132, commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/index.xml)
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/sandbox/index.html?p2=commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/sandbox/index.html&p1=commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/index.xml&r1=984132&r2=985381&rev=985381&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/index.xml (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/sandbox/index.html Fri Aug 13 22:07:14 2010
@@ -56,3 +56,4 @@
 
   </body>
 </document>
+

Copied: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/sandbox/index.xml (from r984132, commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml)
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/sandbox/index.xml?p2=commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/sandbox/index.xml&p1=commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml&r1=984132&r2=985381&rev=985381&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/site.xml (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/sandbox/index.xml Fri Aug 13 22:07:14 2010
@@ -15,21 +15,29 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
 -->
-<project name="Commons SCXML JS">
-  <body>
-
-    <menu name="Commons SCXML JS">
-      <item name="Overview"    href="/index.html"/>
-      <item name="Wiki"        href="http://wiki.apache.org/commons/SCXML/HomePage"/>
-    </menu>
-    
-    <menu name="Development">
-      <item name="History"                 href="/changes-report.html"/>
-      <item name="Mailing Lists"           href="/mail-lists.html"/>
-      <item name="Issue Tracking"          href="/issue-tracking.html"/>
-      <item name="Team"                    href="/team-list.html"/>
-      <item name="Source Repository"       href="/source-repository.html"/>
-    </menu>
+<document>
+  <properties>
+    <title>scxml-js Sandbox Demonstration</title>
+    <author email="jbeard@apache.org">Jacob Beard</author>
+  </properties>
 
+  <body>
+	<section name="Overview">
+		<p>
+			This demo provdes a simple example of a web-based Graphical User Interface
+			that uses the SCXMLCompiler front-end. 
+		</p>
+	</section>
+	<section name="Supported Browsers">
+		<p>
+			This demo has been tested in recent Firefox, Opera, Safari, Chrome and Internet Explorer 8 on Windows XP.
+		</p>
+	</section>
+	<section name="Link to Demo">
+		<p>
+			<a href="/scxml-js/demo/sandbox/sandbox.html">Go to demo.</a>
+		</p>
+	</section>
   </body>
-</project>
+</document>
+

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/guide.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/guide.xml?rev=985381&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/guide.xml (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/guide.xml Fri Aug 13 22:07:14 2010
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<document>
+  <properties>
+    <title>User Guide</title>
+    <author email="jbeard@apache.org">Jacob Beard</author>
+  </properties>
+
+  <body>
+
+<section name="Requirements">
+
+<p>
+Ant and Java
+</p>
+
+</section>
+
+
+<section name="Installation">
+
+<p>
+Follow <a href="/source-repository.html">these instructions</a> to check scxml-js out of SVN.
+</p>
+
+<p>
+To use scxml-js, you must first download the dependencies. Run:
+</p>
+
+<source>
+ant -f getDeps.xml
+</source>
+
+You must then preprocess the stylesheets. Run:
+
+<source>
+./build.sh preprocessStylesheets
+</source>
+
+</section>
+
+<section name="Running the Compiler">
+
+<source>
+./run.sh [options] file1 file2 ...
+</source>
+
+<p>
+A summary of available options are as follows:
+</p>
+
+<source>
+- backend	Statechart implementation technique. Currently one of {switch | table | state}
+- noForEach	Assume that the target environment does not have an Array.forEach method
+- noIndexOf	Assume that the target environment does not have an Array.indexOf method
+- noMap		Assume that the target environment does not have an Array.map method
+- ie		The equivalent of -noForEach -noIndexOf -noMap
+- beautify	Will run generated code through a beautifier.
+- log		Will enable logging in generated code.
+- verbose	Will enable verbose logging in the compiler.
+</source>
+
+<p>
+For example, you might run the following:
+</p>
+
+<source>
+./run.sh --backend state --beautify --ie test/kitchen_sink/KitchenSink.xml > KitchenSinkIE.js
+</source>
+
+</section>
+
+<section name="Using scxml-js">
+
+<p>
+<a href="http://www.svgopen.org/2010/papers/45-Developing_a_StatecharttoECMAScript_Compiler_Optimized_for_SVG_User_Interface_Development_for_the_World_Wide_Web/index.html#S5.">This paper</a> provides an overview of the different ways in which scxml-js may be used.
+</p>
+
+<p>
+The demos also provide full examples.
+</p>
+
+</section>
+
+  </body>
+</document>
+
+
+

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/guide.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/index.xml?rev=985381&r1=985380&r2=985381&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/index.xml (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/index.xml Fri Aug 13 22:07:14 2010
@@ -18,7 +18,7 @@
 <document>
   <properties>
     <title>Overview</title>
-    <author email="dev AT commons DOT apache DOT org">Apache Commons Development Team</author>
+    <author email="jbeard@apache.org">Jacob Beard</author>
   </properties>
 
   <body>
@@ -54,5 +54,15 @@
     </p>
     </section>
 
+	<section name="Related Work on Developing User Interfaces with Statecharts">
+
+		<ul>
+		<li>	<a  href="http://svgopen.org/2010/papers/45-Developing_a_StatecharttoECMAScript_Compiler_Optimized_for_SVG_User_Interface_Development_for_the_World_Wide_Web/index.html">Developing a Statechart-to-ECMAScript Compiler Optimized for SVG User Interface Development for the World Wide Web (Article)</a></li>
+			<li><a  href="http://svgopen.org/2009/papers/36-Modelling_the_Reactive_Behaviour_of_SVGbased_Scoped_User_Interfaces_with_Hierarchicallylinked_Statecharts/">Modelling the Reactive Behaviour of SVG-based Scoped User Interfaces with Hierarchically-linked Statecharts (Article)</a></li>
+			<li><a  href="http://www.amazon.com/Constructing-User-Interface-Statecharts-Horrocks/dp/0201342782">Constructing the User Interface with Statecharts (Book)</a></li>
+			<li><a  href="http://www.amazon.com/Practical-Statecharts-Quantum-Programming-Embedded/dp/1578201101">Practical Statecharts in C/C++: Quantum Programming for Embedded Systems (Book)</a></li>
+		</ul>
+	</section>
+
   </body>
 </document>

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/status.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/status.xml?rev=985381&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/status.xml (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/status.xml Fri Aug 13 22:07:14 2010
@@ -0,0 +1,227 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<document>
+  <properties>
+    <title>Implementation Status</title>
+    <author email="jbeard@apache.org">Jacob Beard</author>
+  </properties>
+
+  <head>
+	<link rel="stylesheet" href="./css/status.css" type="text/css" media="all" />
+  </head>
+
+  <body>
+	<section name="Implementation Status">
+		<p>
+			The following table attempts to rate scxml-js's level of conformance to the SCXML specification.
+		</p>
+
+		<table>
+			<thead>
+				<tr>
+					<th>Tag Name</th><th>Support Status</th><th>Notes</th>
+				</tr>
+			</thead>
+			<tbody>
+				<tr> <th colspan="3" class="subheading"> Core Module </th></tr>
+				<tr>
+					<td>scxml</td>
+					<td class="incomplete">	</td>	
+					<td>@binding is not supported (always "early").</td>	
+				</tr>
+				<tr>
+					<td>state</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>transition</td>
+					<td class="incomplete">	</td>	
+					<td>Does not support transitions without targets.</td>	
+				</tr>
+				<tr>
+					<td>parallel</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>initial</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>final</td>
+					<td class="incomplete">	</td>	
+					<td>Does not send final event. Right now, treated like a normal state.</td>	
+				</tr>
+				<tr>
+					<td>donedata</td>
+					<td class="not_supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>content</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>onentry</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>onexit</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>history</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+
+				<tr> <th colspan="3" class="subheading">  Executable Content  </th> </tr>
+				<tr>
+					<td>raise</td>
+					<td class="not_supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>if</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>elseif</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>else</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>log</td>
+					<td class="supported">	</td>	
+					<td>Uses console.log API</td>	
+				</tr>
+
+				<tr> <th colspan="3" class="subheading">  External Communications Module  </th> </tr>
+				<tr>
+					<td>send</td>
+					<td class="incomplete">	</td>	
+					<td>Sending events via HTTP to Commons SCXML statechart instances has not been tested. Also, sending events based on session id is not supported.</td>	
+				</tr>
+				<tr>
+					<td>cancel</td>
+					<td class="not_supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>invoke</td>
+					<td class="not_supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>finalize</td>
+					<td class="not_supported">	</td>	
+					<td>	</td>	
+				</tr>
+
+				<tr> <th colspan="3" class="subheading">  Data Module  </th> </tr>
+				<tr>
+					<td>datamodel</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>data</td>
+					<td class="incomplete">	</td>	
+					<td>@src is not supported</td>	
+				</tr>
+				<tr>
+					<td>assign</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>validate</td>
+					<td class="not_supported">	</td>	
+					<td>	</td>	
+				</tr>
+				<tr>
+					<td>param</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+
+				<tr> <th colspan="3" class="subheading">  Script Module  </th> </tr>
+				<tr>
+					<td>script</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+
+				<tr> <th colspan="3" class="subheading">  Additional Requirements  </th> </tr>
+				<tr>
+					<td>The In() predicate</td>
+					<td class="supported">	</td>	
+					<td>	</td>	
+				</tr>
+
+				<tr> <th colspan="3" class="subheading">  Other  </th> </tr>
+				<tr> 
+					<td>  Referencing External Files  </td> 
+					<td class="not_supported"></td>
+					<td></td>
+				</tr>
+
+
+				<tr> 
+					<td>  SCXML Events  </td> 
+
+					<td class="supported"></td>
+					<td>Regarding performance, in the current implementation, dispatch of events whose names do not include "." character should be faster than events whose names do include the "." character.</td>
+				</tr>
+
+				<tr> 
+					<td>  System Variables  </td> 
+
+					<td class="incomplete"></td>
+					<td>Statechart instances are not assigned a session id.</td>
+				</tr>
+				<tr> 
+					<td>  The Internal Structure of Events  </td> 
+					<td class="supported"></td>
+					<td></td>
+				</tr>
+			</tbody>
+		</table>
+
+	</section>
+
+	<section name="Other Limitations">
+		<ul>
+			<li>XML IDs must be legal JavaScript identifiers</li>
+		</ul>
+	</section>
+  </body>
+</document>
+
+

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/status.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message