Author: jbeard
Date: Thu Mar 17 16:22:26 2011
New Revision: 1082578
URL: http://svn.apache.org/viewvc?rev=1082578&view=rev
Log:
Hooked bash-based compilation into unit test process, and updated README.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/README.txt
commons/sandbox/
Author: jbeard
Date: Thu Mar 17 16:22:11 2011
New Revision: 1082577
URL: http://svn.apache.org/viewvc?rev=1082577&view=rev
Log:
Added Ant task to use the bash+xsltproc based front-end. This is useful,
because this is the fastest frontend: about 40 times faster than the
Rhino-based fronten
Author: jbeard
Date: Thu Mar 17 16:21:56 2011
New Revision: 1082576
URL: http://svn.apache.org/viewvc?rev=1082576&view=rev
Log:
Fixed bug where preempted basic states were not being generated correctly for
each transition. The LCA of the transition was being used, but really this
should
Author: jbeard
Date: Thu Mar 17 16:21:40 2011
New Revision: 1082575
URL: http://svn.apache.org/viewvc?rev=1082575&view=rev
Log:
Fixed bug where preempted basic states were not being generated correctly for
each transition. The LCA of the transition was being used, but really this
should
Author: jbeard
Date: Thu Mar 17 16:21:16 2011
New Revision: 1082574
URL: http://svn.apache.org/viewvc?rev=1082574&view=rev
Log:
Small bug fix in which conditionals were not being properly processed. All unit
tests now pass.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/
Author: jbeard
Date: Thu Mar 17 16:20:57 2011
New Revision: 1082573
URL: http://svn.apache.org/viewvc?rev=1082573&view=rev
Log:
Added code to allow rooting at an arbitrary node, as specified by an id.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/scxml-to-dot.xsl
Modi
Author: jbeard
Date: Thu Mar 17 16:20:44 2011
New Revision: 1082571
URL: http://svn.apache.org/viewvc?rev=1082571&view=rev
Log:
Added ability to accept parameters to make chart less verbose.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/scxml-to-dot.xsl
Modified:
com
Author: jbeard
Date: Thu Mar 17 16:20:26 2011
New Revision: 1082570
URL: http://svn.apache.org/viewvc?rev=1082570&view=rev
Log:
Generate dots for default states.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/scxml-to-dot.xsl
Modified:
commons/sandbox/gsoc/2010/scxm
Author: jbeard
Date: Thu Mar 17 16:20:10 2011
New Revision: 1082569
URL: http://svn.apache.org/viewvc?rev=1082569&view=rev
Log:
Added ability to parameterize depth of states generated.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/scxml-to-dot.xsl
Modified:
com
Author: jbeard
Date: Thu Mar 17 16:19:56 2011
New Revision: 1082568
URL: http://svn.apache.org/viewvc?rev=1082568&view=rev
Log:
Added some styling.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/scxml-to-dot.xsl
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/
Author: jbeard
Date: Thu Mar 17 16:19:40 2011
New Revision: 1082566
URL: http://svn.apache.org/viewvc?rev=1082566&view=rev
Log:
Added script text to multitransition table.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/scxml-to-dot.xsl
Modified:
commons/sandbox/gsoc/
Author: jbeard
Date: Thu Mar 17 16:19:25 2011
New Revision: 1082565
URL: http://svn.apache.org/viewvc?rev=1082565&view=rev
Log:
Moved out ugly code that generates transitions table.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/scxml-to-dot.xsl
Modified:
commons/san
Author: jbeard
Date: Thu Mar 17 16:19:06 2011
New Revision: 1082564
URL: http://svn.apache.org/viewvc?rev=1082564&view=rev
Log:
Added support for commands in generated output.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/scxml-to-dot.xsl
Modified:
commons/sandbox/
Author: jbeard
Date: Thu Mar 17 16:18:48 2011
New Revision: 1082563
URL: http://svn.apache.org/viewvc?rev=1082563&view=rev
Log:
Added better handling of static reactions.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/util/scxml-to-dot.xsl
Modified:
commons/sandbox/gsoc/
Author: jbeard
Date: Thu Mar 17 16:18:30 2011
New Revision: 1082561
URL: http://svn.apache.org/viewvc?rev=1082561&view=rev
Log:
Started work on scxml-to-dot.xsl, which take scxml documents and converts them
to dot files for the purposes of generating graphical representations.
A
Author: jbeard
Date: Thu Mar 17 16:18:15 2011
New Revision: 1082560
URL: http://svn.apache.org/viewvc?rev=1082560&view=rev
Log:
Fixed small bug in demo where textContent dom attribute was being used instead
of value.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/demo/hierarch
Author: jbeard
Date: Thu Mar 17 16:18:01 2011
New Revision: 1082559
URL: http://svn.apache.org/viewvc?rev=1082559&view=rev
Log:
Fixed bug where an unnecessary inner conditional statement was being generated.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backend
Author: jbeard
Date: Thu Mar 17 16:17:40 2011
New Revision: 1082558
URL: http://svn.apache.org/viewvc?rev=1082558&view=rev
Log:
Fixed bug with flattening algorithm.
Added:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/positionTransitionsAfterSubstates.xsl
(with p
Author: jbeard
Date: Thu Mar 17 16:17:22 2011
New Revision: 1082556
URL: http://svn.apache.org/viewvc?rev=1082556&view=rev
Log:
Added support for static reactions (targetless transitions in SCXML spec).
Added unit test for this. Passes state pattern, but not enumerated patterns.
The reason
Author: jbeard
Date: Thu Mar 17 16:17:01 2011
New Revision: 1082555
URL: http://svn.apache.org/viewvc?rev=1082555&view=rev
Log:
Updated run.{sh,bat} so that they can be run from an external directory.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/run.bat
commons/sandbox/gsoc/
Author: jbeard
Date: Thu Mar 17 16:16:47 2011
New Revision: 1082554
URL: http://svn.apache.org/viewvc?rev=1082554&view=rev
Log:
Parameterized name of statechart construtor function base name.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backend
Author: jbeard
Date: Thu Mar 17 16:16:31 2011
New Revision: 1082553
URL: http://svn.apache.org/viewvc?rev=1082553&view=rev
Log:
Removed call to sys.exit in SCXMLCompiler.py
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/python/scxml/cgf/SCXMLCompiler.py
Modified:
commons/san
Author: jbeard
Date: Fri Dec 3 09:16:28 2010
New Revision: 1041742
URL: http://svn.apache.org/viewvc?rev=1041742&view=rev
Log:
Fixed bug where destroyed state would not be honored if called using
synchronous API.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backend
Author: jbeard
Date: Fri Dec 3 09:16:45 2010
New Revision: 1041743
URL: http://svn.apache.org/viewvc?rev=1041743&view=rev
Log:
Added simple support for passing parameters on scxml send using made-up,
non-scxml-compliant API.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/
Author: jbeard
Date: Fri Dec 3 09:15:36 2010
New Revision: 1041741
URL: http://svn.apache.org/viewvc?rev=1041741&view=rev
Log:
Created shell script to call python frontend.
Added:
commons/sandbox/gsoc/2010/scxml-js/trunk/py-run.sh (with props)
Added: commons/sandbox/gsoc/2010/scxm
Author: jbeard
Date: Fri Dec 3 09:14:29 2010
New Revision: 1041739
URL: http://svn.apache.org/viewvc?rev=1041739&view=rev
Log:
Refactored python frontend based on API change.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/python/scxml/cgf/SCXMLCompiler.py
Modified:
com
Author: jbeard
Date: Mon Nov 22 11:42:12 2010
New Revision: 1037679
URL: http://svn.apache.org/viewvc?rev=1037679&view=rev
Log:
Fixed bug where history state without default transition would not generate
default transition action. Fixed this by adding another transformation which
would a
Author: jbeard
Date: Sun Nov 21 16:05:00 2010
New Revision: 1037488
URL: http://svn.apache.org/viewvc?rev=1037488&view=rev
Log:
Intermediate commit. Python and JavaScript frontends should be connected with
new dependency resolution targets. Next step is to test it.
Added:
commons/san
Author: jbeard
Date: Sun Nov 21 16:08:49 2010
New Revision: 1037494
URL: http://svn.apache.org/viewvc?rev=1037494&view=rev
Log:
Removed test_with_xsltproc.sh. This file no longer needed, as we now generate a
bash backend module.
Removed:
commons/sandbox/gsoc/2010/scxml-js/trunk/
Author: jbeard
Date: Sun Nov 21 16:07:51 2010
New Revision: 1037493
URL: http://svn.apache.org/viewvc?rev=1037493&view=rev
Log:
Changed some paths around so python fronend works.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/python/scxml/cgf/backends/js
(contents, props cha
Author: jbeard
Date: Sun Nov 21 16:07:12 2010
New Revision: 1037491
URL: http://svn.apache.org/viewvc?rev=1037491&view=rev
Log:
All tests pass for the JavaScript frontend. Still need to test the python
frontend.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/build-common
Author: jbeard
Date: Sun Nov 21 16:06:12 2010
New Revision: 1037490
URL: http://svn.apache.org/viewvc?rev=1037490&view=rev
Log:
Intermediate commit. State pattern passes all unit tests. Switch and table
patterns are broken.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/build-common
Author: jbeard
Date: Sun Nov 21 15:54:44 2010
New Revision: 1037485
URL: http://svn.apache.org/viewvc?rev=1037485&view=rev
Log:
Manually removing src/python/scxml/cgf/backends/js, which will hopefully fix
conflict preventing proper dcommit with git-svn.
Removed:
commons/sandbox/gsoc/
Author: jbeard
Date: Sun Nov 21 15:45:23 2010
New Revision: 1037484
URL: http://svn.apache.org/viewvc?rev=1037484&view=rev
Log:
Intermediate commit. Correct mdoule paths are now passed to generated requirejs
modules.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/build-common
Author: jbeard
Date: Sun Nov 21 15:42:22 2010
New Revision: 1037481
URL: http://svn.apache.org/viewvc?rev=1037481&view=rev
Log:
Intermediate (broken) commit. Includes the following changes:
* initial stylesheet that gets passed into topo-sort.xsl is treated specially
as source in the styles
Author: jbeard
Date: Sun Nov 21 15:40:20 2010
New Revision: 1037480
URL: http://svn.apache.org/viewvc?rev=1037480&view=rev
Log:
Added src/python/scxml/cgf/target symlink, which was needed to provide access
to built xsl resources from python modules.
Added topo-sort.xsl and custom depend
Author: jbeard
Date: Sun Nov 21 15:44:25 2010
New Revision: 1037482
URL: http://svn.apache.org/viewvc?rev=1037482&view=rev
Log:
Intermediate commit. Primarily added new tasks to build.
Added:
commons/sandbox/gsoc/2010/scxml-js/trunk/lib/java/maven-ant-tasks-2.1.1.jar
commons/san
Propchange:
commons/sandbox/gsoc/2010/scxml-js/trunk/demo/drawing-tool/build/canvas.js
--
svn:eol-style = native
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/demo/drag-and-drop/drag-and-drop.xml
U
Author: jbeard
Date: Sun Nov 21 15:35:14 2010
New Revision: 1037479
URL: http://svn.apache.org/viewvc?rev=1037479&view=rev
Log:
Made more changes to site.
Added:
commons/sandbox/gsoc/2010/scxml-js/trunk/demo/drawing-tool/build/
commons/sandbox/gsoc/2010/scxml-js/trunk/demo/drawing-
Author: jbeard
Date: Thu Nov 11 09:24:08 2010
New Revision: 1033852
URL: http://svn.apache.org/viewvc?rev=1033852&view=rev
Log:
Updated location of resources on site so that demos will work. Before, I had to
run a script to update some paths before uploading to the site, but this was
bri
Author: jbeard
Date: Tue Nov 9 16:51:02 2010
New Revision: 1033088
URL: http://svn.apache.org/viewvc?rev=1033088&view=rev
Log:
Fixed typo in README.txt. Updated website from README.txt
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/README.txt
commons/sandbox/gsoc/2010/scxml-js/t
Author: jbeard
Date: Tue Nov 9 16:44:26 2010
New Revision: 1033084
URL: http://svn.apache.org/viewvc?rev=1033084&view=rev
Log:
Deleted old and unused build-related files.
Removed:
commons/sandbox/gsoc/2010/scxml-js/trunk/Makefile
commons/sandbox/gsoc/2010/scxml-js/trunk/buil
Author: jbeard
Date: Tue Nov 9 16:33:31 2010
New Revision: 1033071
URL: http://svn.apache.org/viewvc?rev=1033071&view=rev
Log:
Tried instructions from a clean checkout. Needed to add task to maven to
process the XSLT stylesheets. Now everything is working well.
Modified:
commons/san
Author: jbeard
Date: Tue Nov 9 16:31:12 2010
New Revision: 1033066
URL: http://svn.apache.org/viewvc?rev=1033066&view=rev
Log:
Removed now-defunct getDeps.xml
Removed:
commons/sandbox/gsoc/2010/scxml-js/trunk/getDeps.xml
Author: jbeard
Date: Tue Nov 9 16:29:00 2010
New Revision: 1033065
URL: http://svn.apache.org/viewvc?rev=1033065&view=rev
Log:
Fixed small bug in build-common.xml that was causing requirejs files to be
overwritten on a clean checkout.
Modified:
commons/sandbox/gsoc/2010/scxml-js/t
Author: jbeard
Date: Tue Nov 9 16:32:57 2010
New Revision: 1033068
URL: http://svn.apache.org/viewvc?rev=1033068&view=rev
Log:
Updated run.sh and pom.xml so that now maven -q is used as the frontend. Works
well on linux, and should make constructing a new batch frontend a trivial
Author: jbeard
Date: Tue Nov 9 16:32:24 2010
New Revision: 1033067
URL: http://svn.apache.org/viewvc?rev=1033067&view=rev
Log:
Updated pom.xml so that it copies dependencies into local lib/java dir, where
they can be referenced by run.sh. Unfortunately, due to version numbers being a
par
Author: jbeard
Date: Sun Nov 7 09:42:29 2010
New Revision: 1032249
URL: http://svn.apache.org/viewvc?rev=1032249&view=rev
Log:
Added license text to python files.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/setup.py
commons/sandbox/gsoc/2010/scxml-js/trunk/src/python/s
Author: jbeard
Date: Sun Nov 7 09:41:31 2010
New Revision: 1032248
URL: http://svn.apache.org/viewvc?rev=1032248&view=rev
Log:
Changed the listener code in order to fix a bug where onentry listeners were
not being called when transitioning from history states. The solution was to
move
Author: jbeard
Date: Sun Nov 7 09:41:02 2010
New Revision: 1032247
URL: http://svn.apache.org/viewvc?rev=1032247&view=rev
Log:
Finishing previous commit. All tests pass for all strategies.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backend
Author: jbeard
Date: Sun Nov 7 09:40:10 2010
New Revision: 1032246
URL: http://svn.apache.org/viewvc?rev=1032246&view=rev
Log:
Fixed a problem with the way parallel states and preemption was being handled.
Refactored implementation to make it closer to the algorithm in the SCXML spec.
N
Author: jbeard
Date: Sun Nov 7 09:39:28 2010
New Revision: 1032245
URL: http://svn.apache.org/viewvc?rev=1032245&view=rev
Log:
Changed ant build to force preprocessing of stylesheets. Turned all unit tests
back on.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/build-common
Author: jbeard
Date: Sun Nov 7 09:39:04 2010
New Revision: 1032244
URL: http://svn.apache.org/viewvc?rev=1032244&view=rev
Log:
Fixed but with previous commit that was breaking unit tests.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backend
Author: jbeard
Date: Sun Nov 7 09:38:38 2010
New Revision: 1032243
URL: http://svn.apache.org/viewvc?rev=1032243&view=rev
Log:
Made changes to make python egg directly executable.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/setup.py
commons/sandbox/gsoc/2010/scxml-js/trunk
Author: jbeard
Date: Sun Nov 7 09:37:44 2010
New Revision: 1032242
URL: http://svn.apache.org/viewvc?rev=1032242&view=rev
Log:
Moved setup.py. Created test.py script to test it. Compilation using packed egg
now works well.
Added:
commons/sandbox/gsoc/2010/scxml-js/trunk/setup.py (
Author: jbeard
Date: Sun Nov 7 09:37:05 2010
New Revision: 1032240
URL: http://svn.apache.org/viewvc?rev=1032240&view=rev
Log:
Added setup.py to allow creation of python eggs.
Added:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/python/setup.py (with props)
Added: commons/sandbox/
Author: jbeard
Date: Sun Nov 7 09:36:15 2010
New Revision: 1032239
URL: http://svn.apache.org/viewvc?rev=1032239&view=rev
Log:
Python frontend now generating code.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/python/scxml/cgf/SCXMLCompiler.py
commons/sandbox/gsoc/2010/s
Author: jbeard
Date: Sun Nov 7 09:35:39 2010
New Revision: 1032238
URL: http://svn.apache.org/viewvc?rev=1032238&view=rev
Log:
Added command-line option parsing.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/python/scxml/cgf/SCXMLCompiler.py
Modified:
commons/sandbox/gsoc/
Author: jbeard
Date: Sun Nov 7 09:34:08 2010
New Revision: 1032237
URL: http://svn.apache.org/viewvc?rev=1032237&view=rev
Log:
Preliminary check-in of python front-end. Untested, although most seems
syntactically correct.
Added:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/py
Author: jbeard
Date: Sun Nov 7 09:32:12 2010
New Revision: 1032236
URL: http://svn.apache.org/viewvc?rev=1032236&view=rev
Log:
Added code to support cancel element. It is now possible to cancel delayed
events based on the id of the send element.
Modified:
commons/sandbox/gsoc/2010/s
Author: jbeard
Date: Sun Nov 7 09:13:25 2010
New Revision: 1032233
URL: http://svn.apache.org/viewvc?rev=1032233&view=rev
Log:
Fixed behaviour of send with delay. GEN still broken and needs to be fixed.
cancel needs to be implemented as well.
Modified:
commons/sandbox/gsoc/2010/scxm
Author: jbeard
Date: Sun Sep 12 23:48:46 2010
New Revision: 996398
URL: http://svn.apache.org/viewvc?rev=996398&view=rev
Log:
Refactored maven.compile.classpath to be maven.runtime.classpath. Made all
previous compile-time dependencies runtime dependencies, as I felt this was
more accu
Author: jbeard
Date: Sun Sep 12 19:41:05 2010
New Revision: 996376
URL: http://svn.apache.org/viewvc?rev=996376&view=rev
Log:
Added selenium java driver to dependencies. Unit testing with selenium from ant
script now works.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/build-common
Author: jbeard
Date: Wed Sep 8 02:10:09 2010
New Revision: 993580
URL: http://svn.apache.org/viewvc?rev=993580&view=rev
Log:
run-unit-tests-with-rhino ant task now works, in addition to the maven build.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/build-common.xml
commons/san
Author: jbeard
Date: Mon Sep 6 23:52:42 2010
New Revision: 993181
URL: http://svn.apache.org/viewvc?rev=993181&view=rev
Log:
Added assembly configuration files, and changed mvn-ant-build
download-dependencies task to download requirejs.
Added:
commons/sandbox/gsoc/2010/scxml-js/trunk
Author: jbeard
Date: Mon Sep 6 23:52:17 2010
New Revision: 993180
URL: http://svn.apache.org/viewvc?rev=993180&view=rev
Log:
Updated pom.xml with assembly info.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/pom.xml
Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/pom.xml
URL:
Author: jbeard
Date: Sat Aug 28 19:15:31 2010
New Revision: 990418
URL: http://svn.apache.org/viewvc?rev=990418&view=rev
Log:
Added new target to auxiliary ant build to download dependencies. getDeps.xml
should be deleted soon.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/getDeps
Author: jbeard
Date: Sat Aug 28 19:15:24 2010
New Revision: 990417
URL: http://svn.apache.org/viewvc?rev=990417&view=rev
Log:
Started breaking out ant target dependencies, and placing them in their proper
maven lifecycles.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/mvn-ant-build
Author: jbeard
Date: Sat Aug 28 19:15:00 2010
New Revision: 990414
URL: http://svn.apache.org/viewvc?rev=990414&view=rev
Log:
Fixed broken link in site.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/site/xdoc/guide.xml
Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/
Author: jbeard
Date: Sat Aug 28 19:14:48 2010
New Revision: 990413
URL: http://svn.apache.org/viewvc?rev=990413&view=rev
Log:
Fixed bug in sandbox demo. DOM was being used incorrectly to read value out of
textArea element.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/demo/san
Author: jbeard
Date: Wed Aug 25 19:59:57 2010
New Revision: 989330
URL: http://svn.apache.org/viewvc?rev=989330&view=rev
Log:
These updates allow building the projects from Maven by delegating to Ant in
the compile phase. Created new bash script to run the compiled jar. Updated
modules path
Author: jbeard
Date: Mon Aug 23 19:46:08 2010
New Revision: 988285
URL: http://svn.apache.org/viewvc?rev=988285&view=rev
Log:
Added license text to build.xml
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/build.xml
Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/build.xml
URL:
Author: jbeard
Date: Mon Aug 23 19:46:02 2010
New Revision: 988284
URL: http://svn.apache.org/viewvc?rev=988284&view=rev
Log:
Added small file for ant-rhino-integration test.
Added:
commons/sandbox/gsoc/2010/scxml-js/trunk/test/ant-rhino-integration/require/hello.js
(with props)
A
Author: jbeard
Date: Mon Aug 23 19:45:54 2010
New Revision: 988283
URL: http://svn.apache.org/viewvc?rev=988283&view=rev
Log:
Removed small e4x reference in runner.js
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/runner.js
Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/runne
Author: jbeard
Date: Mon Aug 23 19:45:42 2010
New Revision: 988281
URL: http://svn.apache.org/viewvc?rev=988281&view=rev
Log:
Updated compile class and jar targets to use parameters.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/build.xml
Modified: commons/sandbox/gsoc/2010/scxm
Author: jbeard
Date: Mon Aug 23 19:45:33 2010
New Revision: 988280
URL: http://svn.apache.org/viewvc?rev=988280&view=rev
Log:
Moved selenium test out into a macro to allow better code reuse. Added new task
run-all-unit-tests to run unit tests with rhino, selenium tests with
ahead-of-
Author: jbeard
Date: Mon Aug 23 19:44:48 2010
New Revision: 988273
URL: http://svn.apache.org/viewvc?rev=988273&view=rev
Log:
Added some experiments for using Rhino's built-in load() function in Ant script
contexts, as well as importing RequireJS modules.
Added:
commons/sandbox/
Author: jbeard
Date: Mon Aug 23 19:45:04 2010
New Revision: 988275
URL: http://svn.apache.org/viewvc?rev=988275&view=rev
Log:
Fixed previous check-in. Asynchronous behaviour required blocking while loop.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/build.xml
Modified: commons/san
Author: jbeard
Date: Mon Aug 23 19:44:38 2010
New Revision: 988272
URL: http://svn.apache.org/viewvc?rev=988272&view=rev
Log:
Slight refactoring. Moved the property generation into a single central area.
This allowed the removal of the dependency between generate-unit-tests-html
task
Author: jbeard
Date: Mon Aug 23 19:44:18 2010
New Revision: 988270
URL: http://svn.apache.org/viewvc?rev=988270&view=rev
Log:
Intermediate commit. Shows that it is possible to compile all scxml unit tests.
Performance hit seems minimal. Next step will be running tests.
Modified:
com
Author: jbeard
Date: Mon Aug 23 19:44:07 2010
New Revision: 988269
URL: http://svn.apache.org/viewvc?rev=988269&view=rev
Log:
Created build.xml ant build file to replace the Makefile that I checked in
before. Right now, it includes tasks for building a single js file, class file,
and jar
Author: jbeard
Date: Fri Aug 20 02:02:23 2010
New Revision: 987365
URL: http://svn.apache.org/viewvc?rev=987365&view=rev
Log:
Added color-coding
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/doc/build.dot
Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/doc/build.dot
URL:
Author: jbeard
Date: Thu Aug 19 14:48:56 2010
New Revision: 987173
URL: http://svn.apache.org/viewvc?rev=987173&view=rev
Log:
Added facilities for compiling compiler to Java bytecode.
Makefile includes tasks to:
- compile with RequireJS (and optionally closure compiler), to crea
Author: jbeard
Date: Thu Aug 19 14:48:32 2010
New Revision: 987171
URL: http://svn.apache.org/viewvc?rev=987171&view=rev
Log:
Updated the xsl transformation frontend for Rhino to accept XML documents as
strings, as well as to use a more efficient Java transformation API.
Modified:
com
Author: jbeard
Date: Thu Aug 19 14:48:20 2010
New Revision: 987170
URL: http://svn.apache.org/viewvc?rev=987170&view=rev
Log:
Created new RequireJS compilation experiment.
Added:
commons/sandbox/gsoc/2010/scxml-js/trunk/test/rhino-jsc/conditional-require-hello-world/
commons/san
Author: jbeard
Date: Thu Aug 19 14:48:01 2010
New Revision: 987169
URL: http://svn.apache.org/viewvc?rev=987169&view=rev
Log:
Created Makefile, rather than using assorted shell scripts. Added new test to
show that receiving command-line arguments works in compiled code.
Added:
com
Author: jbeard
Date: Thu Aug 19 14:47:42 2010
New Revision: 987168
URL: http://svn.apache.org/viewvc?rev=987168&view=rev
Log:
Have begun experimenting to create a standalone executable. The idea is to use
Google's closure compiler (supported by RequireJs) to create a single script
Author: jbeard
Date: Tue Aug 17 16:46:51 2010
New Revision: 986389
URL: http://svn.apache.org/viewvc?rev=986389&view=rev
Log:
Updated the options that the compiler is able to take. --ie now aliases only to
noIndexOf
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/s
Author: jbeard
Date: Tue Aug 17 16:46:58 2010
New Revision: 986390
URL: http://svn.apache.org/viewvc?rev=986390&view=rev
Log:
Updated .gitignore
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/.gitignore
Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/.gitignore
URL:
Author: jbeard
Date: Tue Aug 17 16:46:16 2010
New Revision: 986387
URL: http://svn.apache.org/viewvc?rev=986387&view=rev
Log:
Updated unit tests not to use Array.map internally.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/test/conditional_transition/scripts/unitTest.js
com
Author: jbeard
Date: Tue Aug 17 16:46:25 2010
New Revision: 986388
URL: http://svn.apache.org/viewvc?rev=986388&view=rev
Log:
Changed noIndexOf so that it does not add alter Array.prototype, but instead
provides a function indexOf as a private method in the statechart constructor
func
Author: jbeard
Date: Tue Aug 17 16:45:58 2010
New Revision: 986386
URL: http://svn.apache.org/viewvc?rev=986386&view=rev
Log:
Removed reference to Array.some in favor of for loop.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractStatechartGenerator
Author: jbeard
Date: Tue Aug 17 16:45:45 2010
New Revision: 986385
URL: http://svn.apache.org/viewvc?rev=986385&view=rev
Log:
Removed references to Array.map in favor of for loop.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backend
Author: jbeard
Date: Tue Aug 17 16:45:19 2010
New Revision: 986382
URL: http://svn.apache.org/viewvc?rev=986382&view=rev
Log:
Intermediate commit. Removing functional methods (forEach,map,filter and some)
and replacing them with for loops, which are faster.
This commit will break support fo
Author: jbeard
Date: Tue Aug 17 16:45:33 2010
New Revision: 986384
URL: http://svn.apache.org/viewvc?rev=986384&view=rev
Log:
Replaced functional filter expression.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractStatechartGenerator.xsl
Modified:
com
Author: jbeard
Date: Tue Aug 17 16:45:05 2010
New Revision: 986381
URL: http://svn.apache.org/viewvc?rev=986381&view=rev
Log:
Added option preserve_newlines to the call to js_beautifier in SCXMLCompiler.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml
Author: jbeard
Date: Tue Aug 17 16:44:57 2010
New Revision: 986380
URL: http://svn.apache.org/viewvc?rev=986380&view=rev
Log:
Removed reference to util module, which was deleted last commit.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/build.js
Modified: commons/sandbox/gsoc/
Author: jbeard
Date: Tue Aug 17 16:44:47 2010
New Revision: 986378
URL: http://svn.apache.org/viewvc?rev=986378&view=rev
Log:
Refactoring: removed util.js and its references, as last remaining method
toJsArray, could be expressed more succintly using new js idiom
Array.prototype.slice.
Author: jbeard
Date: Mon Aug 16 16:01:08 2010
New Revision: 986001
URL: http://svn.apache.org/viewvc?rev=986001&view=rev
Log:
Fixed bug where parameters were not being used in in-browser XSL transformation
in IE. Neededto use new, different ActiveX-based APIs. This may not be the
Author: jbeard
Date: Mon Aug 16 05:42:28 2010
New Revision: 985795
URL: http://svn.apache.org/viewvc?rev=985795&view=rev
Log:
Previous change made generated code use Array.filter method, which broke IE.
Added new compatibility code. All ahead-of-time, in-browser unit tests pass, as
wel
1 - 100 of 317 matches
Mail list logo