commons-scxml.git
3 months agoSCXML-285 Fix: Before executing invoke handlers after a macrostep all internal events... master
Ate Douma [Wed, 17 Oct 2018 22:52:51 +0000 (00:52 +0200)] 
SCXML-285 Fix: Before executing invoke handlers after a macrostep all internal events must have been processed

3 months agoSCXML-284: updating changes.xml
Woonsan Ko [Wed, 10 Oct 2018 18:59:13 +0000 (14:59 -0400)] 
SCXML-284: updating changes.xml

3 months agoMerge branch 'test-exceptions'
Woonsan Ko [Wed, 10 Oct 2018 18:55:43 +0000 (14:55 -0400)] 
Merge branch 'test-exceptions'

SCXML-284: Clear up exception handling in tests
This closes #4 from github. Thanks to Allon Mureinik.

3 months agoSCXML-284 Remove redundant throws declarations in tests 4/head
Allon Mureinik [Wed, 10 Oct 2018 16:50:17 +0000 (19:50 +0300)] 
SCXML-284 Remove redundant throws declarations in tests

3 months agoSCXML-284 Replace try-catch with assertThrows
Allon Mureinik [Wed, 10 Oct 2018 16:45:44 +0000 (19:45 +0300)] 
SCXML-284 Replace try-catch with assertThrows

Use JUnit Jupiter's new mechanism of assertThrows instead of try-catch
blocks in order to clean up the code and make it easier to follow.

Since the questionable piece of code is now run inside a lambda and is
caught by asserThrows itself, there's no need to declare these
exceptions in the throws clause of the mehod declarations, and they
were cleaned up to avoid adding compiler warnings.

3 months agoSCXML-284 Issue112Test#test01issue112 catch
Allon Mureinik [Wed, 10 Oct 2018 16:38:30 +0000 (19:38 +0300)] 
SCXML-284 Issue112Test#test01issue112 catch

In case an event can't be fired, something is wrong, and the test should
fail, not catch and ignore the exception.

3 months agoSCXML-283: improvement in changes about JUnit5 thanks to Allon Mureinik.
Woonsan Ko [Mon, 8 Oct 2018 13:58:01 +0000 (09:58 -0400)] 
SCXML-283: improvement in changes about JUnit5 thanks to Allon Mureinik.

3 months agoMerge branch 'junit-jupiter'
Woonsan Ko [Mon, 8 Oct 2018 13:43:56 +0000 (09:43 -0400)] 
Merge branch 'junit-jupiter'

SCXML-283: Upgrade testing framework to JUnit Jupiter.
This closes #3 from github. Thanks to Allon Mureinik.

3 months agoSCXML-283 Upgrade to JUnit Jupiter 3/head
Allon Mureinik [Thu, 4 Oct 2018 10:59:39 +0000 (13:59 +0300)] 
SCXML-283 Upgrade to JUnit Jupiter

This PR migrates the project to the modern JUnit Jupiter 5.3.1
testing framework.
Since JUnit Jupiter is not backwards compatible to JUnit 4.x, or even
JUnit Vintage 5.x, the patch is a tad large, although most of the
changes are just cosmetic.

1. Maven changes:
 a. org.junit.jupiter:junit-jupiter-api was added to provide the new
    APIs used.
 b. org.junit.jupiter:junit-jupiter-engine was added as a testing
    engine. Its presence allows maven-surefire-plugin to use the
    Jupiter provider in order to execute tests.
 c. junit:junit was removed, as it's no longer in suse.

2. Annotations:
 a. org.junit.jupiter.api.Test was used as a drop in replacement for
    org.juit.Test without arguments. See 3.b for handling of the
    @Test annotation with an "expected" argument.
 b. org.junit.jupiter.api.BeforeEach was used as an drop in
    replacement for org.junit.Before.
 c. org.junit.jupiter.api.AfterEach was used as a drop in replacement
    for org.junit.After.
 d. org.junit.jupiter.api.BeforeAll was used as a drop in replacement
    for org.junit.BeforeClass.
 e. org.junit.jupiter.api.AfterAll was used as a drop in replacement
    for org.junit.AfterClass.

3. Assertions:
 a. org.junit.jupiter.api.Assertions' methods were used as a drop in
    replacements for org.junit.Assert's methods with the same name in
    the simple case of an assertion without a message.
    In the case of an assertion with a message,
    org.junit.jupiter.api.Assertions' methods were used, but the
    argument order was changed - Assert's methods take the message as
    the first argument, while Assertions' methods take the message as
    the last argument.
 b. org.junit.jupiter.api.Assertions#assertThrows was used to assert
    a specific exception was thrown instead of an org.junit.Test
    annotation with an "expected" argument. This technique has a side
    bonus of making the tests slightly stricter, as now they assert the
    exception was thrown from a specific line and prevent false
    posivites where the test's "set-up" code accidentally threw that
    exception. The throws clauses of these methods were cleaned up from
    exceptions that can no longer be thrown in order to avoid
    compilation warnings.

3 months agoSCXML-283 org.apache.commons:commons-parent dependency
Allon Mureinik [Thu, 4 Oct 2018 11:04:03 +0000 (14:04 +0300)] 
SCXML-283 org.apache.commons:commons-parent dependency

Upgraded to the latest available org.apache.commons:commons-parent in
order to consume the latest maven-surefire-plugin required for the JUnit
Jupiter upgarde.

3 months agoSCXML-283 javadoc fix
Allon Mureinik [Thu, 4 Oct 2018 09:56:36 +0000 (12:56 +0300)] 
SCXML-283 javadoc fix

Fix org.apache.commons.scxml2.env.javascript tests' javadocs -
the test methods are clearly annotaed with JUnit 4 annotations, and
therefore these are not a JUnit 3 tests.

3 months agoSCXML-283 Remove unused main methods
Allon Mureinik [Thu, 4 Oct 2018 09:55:34 +0000 (12:55 +0300)] 
SCXML-283 Remove unused main methods

Remove unused main methods of in the
org.apache.commons.scxml2.env.javascript package. These tests do not
need tham, as they are run via maven-surefire-plugin which picks up
the annotated tests.

11 months agoupdate changes.xml for SCXML-279
Ate Douma [Sun, 21 Jan 2018 22:53:22 +0000 (23:53 +0100)] 
update changes.xml for SCXML-279

11 months agoSCXML-279 Only use default Jexl3 setting for silent (false) and strict (true), cleanu...
Ate Douma [Sun, 21 Jan 2018 22:46:17 +0000 (23:46 +0100)] 
SCXML-279 Only use default Jexl3 setting for silent (false) and strict (true), cleanup APIs accordingly

This drops the API changes from SCXML=258, allowing to run SCXML in strict mode (non-strict being the default)
which only was applicable for Jexl anyway.

This also removes the remaining flags in JexlEvaluator for dynamically setting silent/strict mode,
which were introduced in SCXML-183. Note that the upgrade to Jexl3 (see SCXML-254) already made these flags defunct.

12 months agoSCXML-278 Code cleanup and Java8 alignment
Ate Douma [Sun, 7 Jan 2018 15:26:10 +0000 (16:26 +0100)] 
SCXML-278 Code cleanup and Java8 alignment

- remove obsolete code, unused imports
- remove duplicate code, move repeated code up to parent class
- cleanup exception handling
- align with Java8, remove unnessesary type casting, make use of lamba's where useful
- fixup references to current/final SCXML spec urls
- apply protected, private, static, and/or final scoping of fields and methods where possible

12 months agocall static methods from static contexts
Dave Brosius [Sun, 24 Dec 2017 22:06:44 +0000 (17:06 -0500)] 
call static methods from static contexts

12 months agoremove collecting of attributes as they are not used
Dave Brosius [Sun, 24 Dec 2017 21:59:06 +0000 (16:59 -0500)] 
remove collecting of attributes as they are not used

12 months agobreak out of search loop after correct custom action is found
Dave Brosius [Sun, 24 Dec 2017 20:49:39 +0000 (15:49 -0500)] 
break out of search loop after correct custom action is found

13 months agoSCXML-276 Simplify and generalize reading and writing SCXML content and data element...
Ate Douma [Sun, 17 Dec 2017 23:22:05 +0000 (00:22 +0100)] 
SCXML-276 Simplify and generalize reading and writing SCXML content and data element body values

13 months agoSCXML-275 <content> expression evaluation must fallback to empty string on error...
Ate Douma [Sun, 17 Dec 2017 22:52:45 +0000 (23:52 +0100)] 
SCXML-275 <content> expression evaluation must fallback to empty string on error, see SCXML specification 5.6.2

13 months agoSCXML-274 Cleanup and fix namespace handling and writing, specifically (and only...
Ate Douma [Sun, 17 Dec 2017 22:51:27 +0000 (23:51 +0100)] 
SCXML-274 Cleanup and fix namespace handling and writing, specifically (and only needed) for custom Actions

Namespaces now only are recorded on the root SCXML element and for custom Actions.

For the latter a new CustomActionWrapper is introduced and the (currently only) Var Commons SCXML custom action
is now (during read) wrapped by it.
This now (also) allows using a namespace prefix other than the default 'cs'.

For Java based construction of a SCXML model using the Var action, a convenient CommonsSCXML class is added
which automatically registers the Commons SCXML namespace xmlns:cs="http://commons.apache.org/scxml".
This allows using the Var custom action 'naked' without need to wrap it with CustomActionWrapper before writing
the document with SCXMLWriter.

13 months agoSCXML-271 Support Groovy for running the SCXML IRP tests
Ate Douma [Mon, 11 Dec 2017 00:15:06 +0000 (01:15 +0100)] 
SCXML-271 Support Groovy for running the SCXML IRP tests

After adapting the confGroovy.xsl to use Groovy language specific constructs, all W3CTests passed, right away!

13 months agoSCXML-271 Support Groovy for running the SCXML IRP tests
Ate Douma [Sun, 10 Dec 2017 23:56:00 +0000 (00:56 +0100)] 
SCXML-271 Support Groovy for running the SCXML IRP tests

Initial copy of current confJexl.xsl, not yet adapted to Groovy language specifics

13 months agoSCXML-269 Add custom handling for injecting data in the Javascript engine (Nashorn)
Ate Douma [Sun, 10 Dec 2017 21:26:51 +0000 (22:26 +0100)] 
SCXML-269 Add custom handling for injecting data in the Javascript engine (Nashorn)

13 months agoSCXML-262 Support <script> loaded from external src
Ate Douma [Sun, 10 Dec 2017 20:46:08 +0000 (21:46 +0100)] 
SCXML-262 Support <script> loaded from external src

13 months agoSCXML-268 Support <donedata> and complete the handling of <final> and <finalize>
Ate Douma [Sun, 10 Dec 2017 20:43:49 +0000 (21:43 +0100)] 
SCXML-268 Support <donedata> and complete the handling of <final> and <finalize>

13 months agoSCXML-268 Support <donedata> and complete the handling of <final> and <finalize>
Ate Douma [Sun, 10 Dec 2017 20:42:09 +0000 (21:42 +0100)] 
SCXML-268 Support <donedata> and complete the handling of <final> and <finalize>

13 months agoSCXML-266 SCXMLSemantics#matchTransition - code flow bug
Ate Douma [Sun, 10 Dec 2017 17:22:22 +0000 (18:22 +0100)] 
SCXML-266 SCXMLSemantics#matchTransition - code flow bug

13 months agoSCXML-266 SCXMLSemantics#matchTransition - code flow bug
Ate Douma [Sun, 10 Dec 2017 17:04:41 +0000 (18:04 +0100)] 
SCXML-266 SCXMLSemantics#matchTransition - code flow bug

13 months agoSCXML-265 Support <invoke> namelist attribute
Ate Douma [Sun, 10 Dec 2017 16:55:39 +0000 (17:55 +0100)] 
SCXML-265 Support <invoke> namelist attribute

13 months agoSCXML-264 Support <invoke> with inline (<content> body) SCXML statemachine definition
Ate Douma [Sun, 10 Dec 2017 16:40:19 +0000 (17:40 +0100)] 
SCXML-264 Support <invoke> with inline (<content> body) SCXML statemachine definition

13 months agoSCXML-264 Support <invoke> with inline (<content> body) SCXML statemachine definition
Ate Douma [Sun, 10 Dec 2017 15:24:17 +0000 (16:24 +0100)] 
SCXML-264 Support <invoke> with inline (<content> body) SCXML statemachine definition

13 months agoSCXML-263 Javascript engine (Nashorn) cannot be shared between multiple SCXML instanc...
Ate Douma [Sun, 10 Dec 2017 14:33:02 +0000 (15:33 +0100)] 
SCXML-263 Javascript engine (Nashorn) cannot be shared between multiple SCXML instance executions

13 months agoSCXML-262 Support <script> loaded from external src
Ate Douma [Sun, 10 Dec 2017 04:00:38 +0000 (05:00 +0100)] 
SCXML-262 Support <script> loaded from external src

13 months agoSCXML-261 Support ".*" besides "*" as 'any' wildcard event descriptor
Ate Douma [Sun, 10 Dec 2017 03:42:38 +0000 (04:42 +0100)] 
SCXML-261 Support ".*" besides "*" as 'any' wildcard event descriptor

13 months agoSCXML-260 <foreach> must fail on using illegal item definition
Ate Douma [Sun, 10 Dec 2017 03:24:19 +0000 (04:24 +0100)] 
SCXML-260 <foreach> must fail on using illegal item definition

13 months agoSCXML-258 align JEXL and Javascript evaluator error handling with the Groovy evaluato...
Ate Douma [Sun, 10 Dec 2017 03:12:11 +0000 (04:12 +0100)] 
SCXML-258 align JEXL and Javascript evaluator error handling with the Groovy evaluator error handling

13 months agoSCXML-259 Complete implementation and handling of system variables _event and _ioproc...
Ate Douma [Sun, 10 Dec 2017 03:05:37 +0000 (04:05 +0100)] 
SCXML-259 Complete implementation and handling of system variables _event and _ioprocessors

13 months agoSCXML-259 Complete implementation and handling of system variables _event and _ioproc...
Ate Douma [Sun, 10 Dec 2017 03:04:13 +0000 (04:04 +0100)] 
SCXML-259 Complete implementation and handling of system variables _event and _ioprocessors

13 months agoSCXML-258 Add Evaluator strict mode (boolean) needed for Jexl to properly fail on...
Ate Douma [Sun, 10 Dec 2017 00:44:50 +0000 (01:44 +0100)] 
SCXML-258 Add Evaluator strict mode (boolean) needed for Jexl to properly fail on incorrect expressions

Also removed obsolete Evaluator.AssignType enum and parameters of the #evalAssign method, which no longer
are used/needed since dropping XPath support (SCXML-242)

13 months agoSCXML-254 replace deprecated IOUtils.closeQuietly(InputStream) with try-with-resource...
Ate Douma [Sun, 10 Dec 2017 00:23:36 +0000 (01:23 +0100)] 
SCXML-254 replace deprecated IOUtils.closeQuietly(InputStream) with try-with-resources block

13 months agoSCXML-257 <send> delay must support decimal values
Ate Douma [Sat, 9 Dec 2017 23:44:26 +0000 (00:44 +0100)] 
SCXML-257 <send> delay must support decimal values

This fixes 3 more W3C IRP tests

13 months agoupdate changes.xml for SCXML-256
Ate Douma [Sat, 9 Dec 2017 23:24:43 +0000 (00:24 +0100)] 
update changes.xml for SCXML-256

13 months agoSCXML-256 Add SCXMLExecutor.run() ans SCXMLSemantics.initialize(...) methods and...
Ate Douma [Sat, 9 Dec 2017 23:22:53 +0000 (00:22 +0100)] 
SCXML-256 Add SCXMLExecutor.run() ans SCXMLSemantics.initialize(...) methods and SCXML early/late binding

This fixes 6 SCXML IRP tests (both jexl and ecma)

13 months agoSCXML-255 fix missing )
Ate Douma [Sat, 9 Dec 2017 21:52:40 +0000 (22:52 +0100)] 
SCXML-255 fix missing )

13 months agoSCXML-255 Use jexl for SCXML specification IRP test verification
Ate Douma [Sat, 9 Dec 2017 21:26:04 +0000 (22:26 +0100)] 
SCXML-255 Use jexl for SCXML specification IRP test verification

Adapted the original confEcma.xsl in confJexl.xsl to produce Jexl datamodel based scxml test definitions.
Currently 98 Jexl tests pass, 70 failing (for ecmascript: 111 pass, 77 failing)

13 months agoSCXML-255 initial unmodified copy of W3C IRP confEcma.xsl to be adjusted for jexl
Ate Douma [Sat, 9 Dec 2017 20:19:43 +0000 (21:19 +0100)] 
SCXML-255 initial unmodified copy of W3C IRP confEcma.xsl to be adjusted for jexl

Origin: https://www.w3.org/Voice/2013/scxml-irp/confEcma.xsl
W3C 3-clause BSD License: http://www.w3.org/Consortium/Legal/2008/03-bsd-license

13 months agoSCXML-254 Update to current dependencies for groovy, commons-jexl, commons-io, jackson
Ate Douma [Sat, 9 Dec 2017 15:39:04 +0000 (16:39 +0100)] 
SCXML-254 Update to current dependencies for groovy, commons-jexl, commons-io, jackson

19 months ago(chore) adding commons.module.name to pom
Rob Tompkins [Sat, 3 Jun 2017 14:52:36 +0000 (10:52 -0400)] 
(chore) adding commons.module.name to pom

2 years agoSCXML-251: adding change info and contributor info, Tobias Lippert.
Woonsan Ko [Tue, 2 Aug 2016 22:52:03 +0000 (18:52 -0400)] 
SCXML-251: adding change info and contributor info, Tobias Lippert.

2 years agoSCXML-251: Correct indentation in test 2/head
Tobias Lippert [Mon, 1 Aug 2016 16:27:54 +0000 (18:27 +0200)] 
SCXML-251: Correct indentation in test

2 years agoSCXML-251: Changes after review
Tobias Lippert [Mon, 1 Aug 2016 16:23:59 +0000 (18:23 +0200)] 
SCXML-251: Changes after review

* Add test to parse expr attribute of data elements
* Handle non-strict parse configuration correctly
* Correct indentation

2 years agoSCXML-251: Parse src attribute of data elements
Tobias Lippert [Sun, 31 Jul 2016 17:41:22 +0000 (19:41 +0200)] 
SCXML-251: Parse src attribute of data elements

Also: reject data elements which have src and data defined.
According to the scmxl standard only src or data are allowed.

2 years agodisable JDK 8 javadoc doclint
Ate Douma [Mon, 1 Feb 2016 22:28:42 +0000 (23:28 +0100)] 
disable JDK 8 javadoc doclint

3 years agoSCXML-247: dedicated SCInstanceObjectInputStream to support proper dynamic class...
Ate Douma [Sat, 2 Jan 2016 22:20:46 +0000 (23:20 +0100)] 
SCXML-247: dedicated SCInstanceObjectInputStream to support proper dynamic class resolution in GroovyContext
- see https://issues.apache.org/jira/browse/SCXML-247 for details
- GroovyContext now can use the 'root' (SCInstance)ObjectInputStream for dynamic Groovy class resolving
- tested through SerializableInitialBaseScriptTest (unmodified, but again validates new implementation works too)

3 years agoSCXML-239: Groovy Context lose sync after serialize/deserialize of SCinstance
Ate Douma [Sat, 2 Jan 2016 20:51:31 +0000 (21:51 +0100)] 
SCXML-239: Groovy Context lose sync after serialize/deserialize of SCinstance
- see: https://issues.apache.org/jira/browse/SCXML-239 for details
- 'quick and dirty' fix: only use 'plain' SimpleContext for protected SCXMLSystemContext internal Context and (by default) for root Context
  This prevents custom variable (de)serialization logic as implemented in GroovyContext which causes 'disconnected' duplicate deserialization of the SCInstance Status object
- SCXML-247 will provide a more proper solution.

3 years agoupdate changes.xml for SCXML-245 and SCXML-246
Ate Douma [Sat, 2 Jan 2016 15:17:46 +0000 (16:17 +0100)] 
update changes.xml for SCXML-245 and SCXML-246

3 years agoSCXML-245: Reimplement Nashorn Javascript Evaluator
Ate Douma [Sat, 2 Jan 2016 15:11:30 +0000 (16:11 +0100)] 
SCXML-245: Reimplement Nashorn Javascript Evaluator
- See: https://issues.apache.org/jira/browse/SCXML-245 for details

3 years agoEnsure when entering state its context has been created and (nested) datamodel is...
Ate Douma [Sat, 2 Jan 2016 14:48:44 +0000 (15:48 +0100)] 
Ensure when entering state its context has been created and (nested) datamodel is cloned

3 years agoSCXML-246: Javascript engine requires global context execution
Ate Douma [Sat, 2 Jan 2016 14:44:55 +0000 (15:44 +0100)] 
SCXML-246: Javascript engine requires global context execution
- See: https://issues.apache.org/jira/browse/SCXML-246

3 years agoupdate groovy dependency to latest, drop no longer used commons-beanutils
Ate Douma [Sat, 2 Jan 2016 14:16:39 +0000 (15:16 +0100)] 
update groovy dependency to latest, drop no longer used commons-beanutils

3 years agofix EffectiveContextMap.entrySet using parent first merging of variables to ensure...
Ate Douma [Sat, 2 Jan 2016 14:12:21 +0000 (15:12 +0100)] 
fix EffectiveContextMap.entrySet using parent first merging of variables to ensure local variables 'shadow' parent variables

3 years agoignore generated w3c tests
Ate Douma [Tue, 29 Dec 2015 09:15:14 +0000 (10:15 +0100)] 
ignore generated w3c tests

3 years agoFor empty <data/> nodes don't store the parsed Node as value
Ate Douma [Tue, 29 Dec 2015 09:10:48 +0000 (10:10 +0100)] 
For empty <data/> nodes don't store the parsed Node as value

3 years agoWe shouldn't store Nashorn Global objects like Undefined in the context as those...
Ate Douma [Tue, 29 Dec 2015 09:09:10 +0000 (10:09 +0100)] 
We shouldn't store Nashorn Global objects like Undefined in the context as those are non-serializable. This needs a different and more transient solution through JSBindings instead

3 years agoSCXML-243: Remove XPath language support and cleanup engine implementation
Ate Douma [Mon, 28 Dec 2015 20:50:35 +0000 (21:50 +0100)] 
SCXML-243: Remove XPath language support and cleanup engine implementation
- cleanup/remove no longer supported/needed (xpath) tests
- a lot more ecmascript tests now pass (102/199)

3 years agoJavascript conditional expressions must be evaluated as (converted to) effective...
Ate Douma [Mon, 28 Dec 2015 20:45:01 +0000 (21:45 +0100)] 
Javascript conditional expressions must be evaluated as (converted to) effective boolean expression

3 years agoSupport Javascript (Nashorn) based arrays for foreach
Ate Douma [Mon, 28 Dec 2015 20:43:26 +0000 (21:43 +0100)] 
Support Javascript (Nashorn) based arrays for foreach

3 years agoSCXML-243: Remove XPath language support and cleanup engine implementation
Ate Douma [Mon, 28 Dec 2015 20:40:11 +0000 (21:40 +0100)] 
SCXML-243: Remove XPath language support and cleanup engine implementation
- drop all xpath usages and commons jxpath dependency
- also drop no longer needed Evaluator.evalLocation method
- use Evaluator.cloneData method for creating invoke/send payload data copy
- no longer support XML node 'as string' for expression result

3 years agoSCXML-242: Providing JSON base datamodel as replacement for XML/XPath
Ate Douma [Mon, 28 Dec 2015 09:23:09 +0000 (10:23 +0100)] 
SCXML-242: Providing JSON base datamodel as replacement for XML/XPath
- updating changes.xml

3 years agoSCXML-242: Providing JSON base datamodel as replacement for XML/XPath
Ate Douma [Sat, 26 Dec 2015 17:49:34 +0000 (18:49 +0100)] 
SCXML-242: Providing JSON base datamodel as replacement for XML/XPath
See: https://issues.apache.org/jira/browse/SCXML-242
- adding FasterXML Jackson as (default) json parser
- adding new ContentParser to encapsulate Data (content) parsing logic
- adding new AbstractBaseEvaluator for common new cloneData method
- replace all XML based datamodel examples with JSON and dropping all Data() and Location() usages
- dropping Data() and Location() implementations and related XPathBuiltin for Jexl, Javascript and Groovy languages
- deleting no longer relevant XPath based unit-tests

3 years agoupdate changes.xml for move to Java 8
Ate Douma [Wed, 23 Dec 2015 12:52:01 +0000 (13:52 +0100)] 
update changes.xml for move to Java 8

3 years agoSCXML-241: disable animal-sniffer as it doesn't have Java 8 support (will it ever?)
Ate Douma [Wed, 23 Dec 2015 12:45:23 +0000 (13:45 +0100)] 
SCXML-241: disable animal-sniffer as it doesn't have Java 8 support (will it ever?)

3 years agoSCXML-241: bump to latest parent pom and Java 8 minimum
Ate Douma [Wed, 23 Dec 2015 12:42:35 +0000 (13:42 +0100)] 
SCXML-241: bump to latest parent pom and Java 8 minimum

3 years agoIgnore IntelliJ project files
Ate Douma [Wed, 23 Dec 2015 12:14:33 +0000 (13:14 +0100)] 
Ignore IntelliJ project files

3 years agoMoved DOAP
Sebb [Wed, 9 Dec 2015 22:39:29 +0000 (22:39 +0000)] 
Moved DOAP

3 years agoSCXML-223 fixing scxml-eclipse sandbox project url
Woonsan Ko [Wed, 29 Jul 2015 14:23:10 +0000 (10:23 -0400)] 
SCXML-223 fixing scxml-eclipse sandbox project url

3 years agoSCXML-237 fix javadoc errors
Woonsan Ko [Sat, 25 Jul 2015 20:25:43 +0000 (16:25 -0400)] 
SCXML-237 fix javadoc errors

3 years agoSCXML-236 bump up the commons-parent version in order to update
Woonsan Ko [Wed, 22 Jul 2015 15:39:54 +0000 (11:39 -0400)] 
SCXML-236 bump up the commons-parent version in order to update
continuum integration link. Also, bump up signatures version to 1.1
because org.codehaus.mojo.signature:java16:1.0 cannot detect
javax.xml.stream.XMLInputFactory.

3 years agoAdd gitignore for target and site-content directory
Benedikt Ritter [Wed, 15 Jul 2015 07:28:12 +0000 (09:28 +0200)] 
Add gitignore for target and site-content directory

3 years agoSCXML-235 updating doap with git repo url
Woonsan Ko [Mon, 13 Jul 2015 14:42:21 +0000 (10:42 -0400)] 
SCXML-235 updating doap with git repo url

3 years agoSCXML-235 change the scm repository menu
Woonsan Ko [Sun, 12 Jul 2015 19:25:25 +0000 (15:25 -0400)] 
SCXML-235 change the scm repository menu

3 years agoSCXML-233 nashorn.global doesn't need to be put in context, which bothers serializati...
Woonsan Ko [Sun, 12 Jul 2015 17:09:00 +0000 (13:09 -0400)] 
SCXML-233 nashorn.global doesn't need to be put in context, which bothers serialization of the context instance. So, saving the nashorn.global only in Bindings.

3 years agoMerge branch 'SCXML-234_js_evaluator'
Woonsan Ko [Sun, 12 Jul 2015 14:59:24 +0000 (10:59 -0400)] 
Merge branch 'SCXML-234_js_evaluator'

3 years agoSCXML-234 adding changes.xml
Woonsan Ko [Sun, 12 Jul 2015 14:58:06 +0000 (10:58 -0400)] 
SCXML-234 adding changes.xml

3 years agoSCXML-234 fixing unit test failure in ScriptTest 1/head
Woonsan Ko [Sat, 11 Jul 2015 20:46:43 +0000 (16:46 -0400)] 
SCXML-234 fixing unit test failure in ScriptTest

3 years agoSCXML-234 adding a unit test to test JavaScriptEngine itself to validate if we can...
Woonsan Ko [Sat, 11 Jul 2015 20:00:52 +0000 (16:00 -0400)] 
SCXML-234 adding a unit test to test JavaScriptEngine itself to validate if we can have a common code to make it work in both Java 1.8 or earlier versions

3 years agoSCXML-234 adding a unit test to test JavaScriptEngine itself
Woonsan Ko [Sat, 11 Jul 2015 19:58:41 +0000 (15:58 -0400)] 
SCXML-234 adding a unit test to test JavaScriptEngine itself

3 years agochanging scm location info in the pom.xml
Woonsan Ko [Thu, 9 Jul 2015 21:48:46 +0000 (17:48 -0400)] 
changing scm location info in the pom.xml

3 years agoadding contributor info for SCXML-225 trunk
Woonsan Ko [Thu, 9 Apr 2015 16:27:10 +0000 (16:27 +0000)] 
adding contributor info for SCXML-225

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/scxml/trunk@1672412 13f79535-47bb-0310-9956-ffa450edef68

3 years agoupdating changes.xml for scxml 2.0
Woonsan Ko [Thu, 9 Apr 2015 14:36:30 +0000 (14:36 +0000)] 
updating changes.xml for scxml 2.0

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/scxml/trunk@1672367 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSCXML-227: Applying Michael Goerlich's patch with validating unit tests
Woonsan Ko [Thu, 9 Apr 2015 03:43:19 +0000 (03:43 +0000)] 
SCXML-227: Applying Michael Goerlich's patch with validating unit tests

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/scxml/trunk@1672236 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSCXML-225: applying Franck Foutou's patch. Also added a unit test for this patch.
Woonsan Ko [Fri, 13 Feb 2015 23:51:13 +0000 (23:51 +0000)] 
SCXML-225: applying Franck Foutou's patch. Also added a unit test for this patch.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/scxml/trunk@1659719 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSCXML-226: Support of special send target #_scxml_sessionid
Ate Douma [Thu, 12 Feb 2015 01:43:11 +0000 (01:43 +0000)] 
SCXML-226: Support of special send target #_scxml_sessionid
- enables w3c test 190 and 350

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/scxml/trunk@1659123 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSCXML-226: Support of special send target #_scxml_sessionid
Ate Douma [Thu, 12 Feb 2015 01:41:40 +0000 (01:41 +0000)] 
SCXML-226: Support of special send target #_scxml_sessionid

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/scxml/trunk@1659122 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSCXML-101: initialize and store the global (scxml) datamodel in the GlobalContext...
Ate Douma [Thu, 12 Feb 2015 01:30:48 +0000 (01:30 +0000)] 
SCXML-101: initialize and store the global (scxml) datamodel in the GlobalContext instead of the RootContext
- this might have some impact on external usages which assumed and (mis)used the RootContext to access the global datamodel variables, like several scxml unit tests

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/scxml/trunk@1659121 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSCXML-226: Support of special send targets #_parent and #_invokeid
Ate Douma [Thu, 12 Feb 2015 01:13:42 +0000 (01:13 +0000)] 
SCXML-226: Support of special send targets #_parent and #_invokeid
- support for #_invokeid, based upon a patch contributed by Michael Goerlich

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/scxml/trunk@1659117 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSCXML-226: Support of special send targets #_parent and #_invokeid
Ate Douma [Thu, 12 Feb 2015 01:05:40 +0000 (01:05 +0000)] 
SCXML-226: Support of special send targets #_parent and #_invokeid
- support for #_invokeid, based upon a patch contributed by Michael Goerlich

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/scxml/trunk@1659114 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSCXML-226: Support of special send targets #_parent and #_invokeid
Ate Douma [Wed, 11 Feb 2015 23:49:35 +0000 (23:49 +0000)] 
SCXML-226: Support of special send targets #_parent and #_invokeid
- partly based upon a patch contributed by Michael Goerlich

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/scxml/trunk@1659109 13f79535-47bb-0310-9956-ffa450edef68

3 years agoSCXML-101: add support for using a 'single' global Context, required for some of...
Ate Douma [Wed, 11 Feb 2015 22:51:56 +0000 (22:51 +0000)] 
SCXML-101: add support for using a 'single' global Context, required for some of the (datamodel specific) IRP tests of the W3C specification.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/scxml/trunk@1659105 13f79535-47bb-0310-9956-ffa450edef68