smc.git
6 years agoFixed forward declaration problems in C variant. master
Heiko Janker [Tue, 18 Dec 2012 13:55:01 +0000 (14:55 +0100)]
Fixed forward declaration problems in C variant.

7 years agoA patch for static memory allocation in the C++ variant
Martin Hoffmann [Tue, 17 Apr 2012 11:37:48 +0000 (13:37 +0200)]
A patch for static memory allocation in the C++ variant

7 years agofix 3513161 : ctxt detection in guard (for C) master.orig
fperrad [Tue, 10 Apr 2012 19:25:35 +0000 (19:25 +0000)]
fix 3513161 : ctxt detection in guard (for C)

7 years agofix 3476060 : generate both C functions and macros
fperrad [Sat, 28 Jan 2012 18:03:02 +0000 (18:03 +0000)]
fix 3476060 : generate both C functions and macros

7 years agoCheck in for SMC v. 6.1.0
cwrapp [Sun, 20 Nov 2011 16:29:50 +0000 (16:29 +0000)]
Check in for SMC v. 6.1.0

7 years agoCheck in for SMC v. 6.1.0
cwrapp [Sun, 20 Nov 2011 15:07:52 +0000 (15:07 +0000)]
Check in for SMC v. 6.1.0

7 years agoCheck in for SMC v. 6.1.0
cwrapp [Sun, 20 Nov 2011 14:58:32 +0000 (14:58 +0000)]
Check in for SMC v. 6.1.0

8 years agotypo
fperrad [Sat, 23 Apr 2011 13:14:54 +0000 (13:14 +0000)]
typo

8 years agoclean up CVS change log
fperrad [Sat, 23 Apr 2011 13:13:05 +0000 (13:13 +0000)]
clean up CVS change log

8 years agoadded second example
nitin-nizhawan [Wed, 16 Feb 2011 18:25:10 +0000 (18:25 +0000)]
added second example

8 years agoadded prototype channing to allow instanceof operator to work
nitin-nizhawan [Wed, 16 Feb 2011 18:02:01 +0000 (18:02 +0000)]
added prototype channing to allow instanceof operator to work

8 years agominor changes
nitin-nizhawan [Wed, 16 Feb 2011 18:00:30 +0000 (18:00 +0000)]
minor changes

8 years agocorrected some build errors
nitin-nizhawan [Mon, 14 Feb 2011 21:29:56 +0000 (21:29 +0000)]
corrected some build errors

8 years agoadded JS code generator
nitin-nizhawan [Mon, 14 Feb 2011 19:15:33 +0000 (19:15 +0000)]
added JS code generator

8 years agoadded generator class for JavaScript
nitin-nizhawan [Mon, 14 Feb 2011 18:32:04 +0000 (18:32 +0000)]
added generator class for JavaScript

8 years agoadded statemap for JavaScript
nitin-nizhawan [Mon, 14 Feb 2011 18:31:24 +0000 (18:31 +0000)]
added statemap for JavaScript

8 years agoAdded example 1 for JavaScript
nitin-nizhawan [Mon, 14 Feb 2011 18:30:39 +0000 (18:30 +0000)]
Added example 1 for JavaScript

8 years agoC: refactor when package
fperrad [Wed, 1 Dec 2010 15:29:09 +0000 (15:29 +0000)]
C: refactor when package

8 years agoPerl: fix when package
fperrad [Wed, 1 Dec 2010 14:40:21 +0000 (14:40 +0000)]
Perl: fix when package

8 years agotypo
fperrad [Sat, 27 Nov 2010 14:46:06 +0000 (14:46 +0000)]
typo

8 years agorefactor Lua generation (compat 5.2)
fperrad [Sun, 21 Nov 2010 18:46:31 +0000 (18:46 +0000)]
refactor Lua generation (compat 5.2)

8 years agorefactor C generation
fperrad [Tue, 21 Sep 2010 08:15:20 +0000 (08:15 +0000)]
refactor C generation

8 years agoremove \r from debug message
fperrad [Sat, 11 Sep 2010 19:15:57 +0000 (19:15 +0000)]
remove \r from debug message

8 years agoremove \r from debug message
fperrad [Sat, 11 Sep 2010 19:09:38 +0000 (19:09 +0000)]
remove \r from debug message

8 years agouse the same message in all language
fperrad [Sat, 11 Sep 2010 18:55:55 +0000 (18:55 +0000)]
use the same message in all language

8 years agoPerl: better form of new
fperrad [Mon, 30 Aug 2010 13:39:37 +0000 (13:39 +0000)]
Perl: better form of new

8 years agoLua: refactor without package.seeall
fperrad [Sun, 22 Aug 2010 21:12:09 +0000 (21:12 +0000)]
Lua: refactor without package.seeall

9 years agofix #3007678
fperrad [Thu, 27 May 2010 10:15:36 +0000 (10:15 +0000)]
fix #3007678

9 years agofix #3003558
fperrad [Wed, 19 May 2010 09:08:17 +0000 (09:08 +0000)]
fix #3003558

9 years agoadd TransitionUndefinedException toString
fperrad [Wed, 17 Mar 2010 13:13:29 +0000 (13:13 +0000)]
add TransitionUndefinedException toString

9 years agoadd TransitionUndefinedException constructor
fperrad [Tue, 16 Mar 2010 16:43:58 +0000 (16:43 +0000)]
add TransitionUndefinedException constructor

9 years agofix Scala runtime library
fperrad [Mon, 15 Mar 2010 21:18:01 +0000 (21:18 +0000)]
fix Scala runtime library

9 years agofix indent with -g1
fperrad [Mon, 15 Mar 2010 16:46:11 +0000 (16:46 +0000)]
fix indent with -g1

9 years agofix indentation
fperrad [Mon, 15 Mar 2010 13:15:54 +0000 (13:15 +0000)]
fix indentation

9 years agofix multi guard
fperrad [Mon, 15 Mar 2010 13:15:03 +0000 (13:15 +0000)]
fix multi guard

9 years agoNew representation of the Default state. The result is full UML.
fperrad [Mon, 8 Mar 2010 17:02:40 +0000 (17:02 +0000)]
New representation of the Default state. The result is full UML.

9 years agofix reflect
fperrad [Sat, 6 Mar 2010 13:30:34 +0000 (13:30 +0000)]
fix reflect

9 years agoAllows property with Groovy, Lua, Perl, Python, Ruby & Scala
fperrad [Fri, 5 Mar 2010 21:29:53 +0000 (21:29 +0000)]
Allows property with Groovy, Lua, Perl, Python, Ruby & Scala

9 years agofix property with Graph & Table
fperrad [Wed, 3 Mar 2010 19:18:40 +0000 (19:18 +0000)]
fix property with Graph & Table

9 years agofix 2950619 : make distinction between source filename (*.sm) and target filename.
fperrad [Mon, 15 Feb 2010 18:03:17 +0000 (18:03 +0000)]
fix 2950619 : make distinction between source filename (*.sm) and target filename.

9 years agoAdd SmcOptions.java to source list.
cwrapp [Mon, 21 Dec 2009 14:32:17 +0000 (14:32 +0000)]
Add SmcOptions.java to source list.

9 years agoCreated separate tar and zip file lists.
cwrapp [Fri, 18 Dec 2009 15:51:32 +0000 (15:51 +0000)]
Created separate tar and zip file lists.

9 years ago6.0.1 Testing completed.
cwrapp [Thu, 17 Dec 2009 21:16:32 +0000 (21:16 +0000)]
6.0.1 Testing completed.

9 years agoTesting complete.
cwrapp [Thu, 17 Dec 2009 19:51:41 +0000 (19:51 +0000)]
Testing complete.

9 years agorework on 2718892
fperrad [Sat, 28 Nov 2009 10:02:57 +0000 (10:02 +0000)]
rework on 2718892

9 years agoCorrected getTransitions method generation.
cwrapp [Fri, 27 Nov 2009 19:45:39 +0000 (19:45 +0000)]
Corrected getTransitions method generation.

9 years agoCorrect TargetLanguage.GRAPH source file name definition.
cwrapp [Fri, 27 Nov 2009 19:44:39 +0000 (19:44 +0000)]
Correct TargetLanguage.GRAPH source file name definition.

9 years agoImplemented feature req. #2718892 for Lua, Perl, PHP, Python, Ruby &Scala
fperrad [Fri, 27 Nov 2009 17:19:20 +0000 (17:19 +0000)]
Implemented feature req. #2718892 for Lua, Perl, PHP, Python, Ruby &Scala

9 years agoFixed problem between %fsmclass and sm file names.
cwrapp [Wed, 25 Nov 2009 22:30:18 +0000 (22:30 +0000)]
Fixed problem between %fsmclass and sm file names.

9 years agoCorrected getStates.
cwrapp [Wed, 25 Nov 2009 15:09:45 +0000 (15:09 +0000)]
Corrected getStates.

9 years agoInitial check in.
cwrapp [Wed, 25 Nov 2009 01:28:50 +0000 (01:28 +0000)]
Initial check in.

9 years agoImproved explanation of debug output feature.
cwrapp [Tue, 24 Nov 2009 21:04:56 +0000 (21:04 +0000)]
Improved explanation of debug output feature.

9 years agoImproved release explanation.
cwrapp [Tue, 24 Nov 2009 21:00:08 +0000 (21:00 +0000)]
Improved release explanation.

9 years agoInitial check in.
cwrapp [Tue, 24 Nov 2009 20:46:50 +0000 (20:46 +0000)]
Initial check in.

9 years agov. 6.0.1 update
cwrapp [Tue, 24 Nov 2009 20:42:38 +0000 (20:42 +0000)]
v. 6.0.1 update

9 years agofix C generation
fperrad [Mon, 2 Nov 2009 09:57:43 +0000 (09:57 +0000)]
fix C generation

9 years ago1. Started implementation of feature request #2718920.
kgreg99 [Tue, 6 Oct 2009 15:31:59 +0000 (15:31 +0000)]
1. Started implementation of feature request #2718920.
    1.1 Added method boolean isStatic() to SmcAction class. It returns false now, but is handled in following language generators: C#, C++, java, php, VB. Instance identificator is not added in case it is set to true.
2. Resolved confusion in "emtyStateStack" keyword handling. This keyword was not handled in the same way in all the generators. I added method boolean isEmptyStateStack() to SmcAction class. This method is used instead of different string comparisons here and there. Also the generated method name is fixed, not to depend on name supplied in the input sm file.

9 years agoFeature request #2865719 implemented.
kgreg99 [Mon, 5 Oct 2009 13:54:45 +0000 (13:54 +0000)]
Feature request #2865719 implemented.
Added method "passParameter" to SmcCSharpGenerator class. It shall be used to generate C# code if a transaction parameter shall be passed to another method. It preserves "ref" and "out" modifiers.

9 years agoFix #2845447 : remove useless package name
fperrad [Mon, 5 Oct 2009 12:57:23 +0000 (12:57 +0000)]
Fix #2845447 : remove useless package name

9 years agoImplemented feature req. #2718941 - user defined generated class name.
kgreg99 [Sat, 12 Sep 2009 21:44:49 +0000 (21:44 +0000)]
Implemented feature req. #2718941 - user defined generated class name.
A new statement was added to the syntax: %fsmclass class_name
It is optional. If not used, generated class is called as before "XxxContext" where Xxx is context class name as entered via %class statement.
If used, generated class is called asrequested.
Following language generators are touched:
c, c++, java, c#, objc, lua, groovy, scala, tcl, VB
This feature is not tested yet !
Maybe it will be necessary to modify also the output file name.

9 years agoBug #2857745 resolved. Messages are printed not in case of an error but if there...
kgreg99 [Sat, 12 Sep 2009 21:26:58 +0000 (21:26 +0000)]
Bug #2857745 resolved. Messages are printed not in case of an error but if there are any.

9 years agoChecking in fixes for 1944542, 1983929, 2731415, 2803547 and feature 2797126.
cwrapp [Sat, 5 Sep 2009 15:39:16 +0000 (15:39 +0000)]
Checking in fixes for 1944542198392927314152803547 and feature 2797126.

10 years agoRelease 6 compiler.
cwrapp [Sat, 16 May 2009 15:43:46 +0000 (15:43 +0000)]
Release 6 compiler.

10 years agoRemoved VB from lib release, superceded by DotNot.
cwrapp [Sat, 16 May 2009 15:42:03 +0000 (15:42 +0000)]
Removed VB from lib release, superceded by DotNot.

10 years agoRelease 6 release comments added.
cwrapp [Sat, 16 May 2009 15:40:42 +0000 (15:40 +0000)]
Release 6 release comments added.

10 years agoRelease 6 code comments added.
cwrapp [Sat, 16 May 2009 15:40:06 +0000 (15:40 +0000)]
Release 6 code comments added.

10 years agoCorrected isInTransition.
cwrapp [Sat, 25 Apr 2009 14:29:10 +0000 (14:29 +0000)]
Corrected isInTransition.

10 years agoRemoved context class initial state constructor as Tcl does not support multiple...
cwrapp [Sat, 25 Apr 2009 14:25:40 +0000 (14:25 +0000)]
Removed context class initial state constructor as Tcl does not support multiple constructors.

10 years agoThis file is generated by SMC.
cwrapp [Sat, 25 Apr 2009 12:48:55 +0000 (12:48 +0000)]
This file is generated by SMC.

10 years agoAdded enterStartState method
fperrad [Thu, 23 Apr 2009 13:12:07 +0000 (13:12 +0000)]
Added enterStartState method

10 years agoAdded enterStartState method
fperrad [Wed, 22 Apr 2009 20:26:29 +0000 (20:26 +0000)]
Added enterStartState method

10 years agoUpdate metainfo
fperrad [Wed, 22 Apr 2009 20:21:42 +0000 (20:21 +0000)]
Update metainfo

10 years agoPass initial state to FSMContext constructor
fperrad [Wed, 22 Apr 2009 20:19:57 +0000 (20:19 +0000)]
Pass initial state to FSMContext constructor

10 years agoAdded enterStartState method
fperrad [Wed, 22 Apr 2009 19:40:07 +0000 (19:40 +0000)]
Added enterStartState method

10 years agoAdded enterStartState method
fperrad [Wed, 22 Apr 2009 19:07:03 +0000 (19:07 +0000)]
Added enterStartState method

10 years agoPass initial state to FSMContext constructor
fperrad [Wed, 22 Apr 2009 19:05:38 +0000 (19:05 +0000)]
Pass initial state to FSMContext constructor
Version 1.01

10 years agoAdded call to enterStartState before issuing first FSM transition.
cwrapp [Sun, 19 Apr 2009 14:39:47 +0000 (14:39 +0000)]
Added call to enterStartState before issuing first FSM transition.

10 years agoAdd initial state to FSMContext constructor. Removed call to start state Entry method.
cwrapp [Sun, 19 Apr 2009 14:37:45 +0000 (14:37 +0000)]
Add initial state to FSMContext constructor. Removed call to start state Entry method.

10 years agoAdd initial state to FSMContext constructor. Added enterStartState method to applicat...
cwrapp [Sun, 19 Apr 2009 14:35:04 +0000 (14:35 +0000)]
Add initial state to FSMContext constructor. Added enterStartState method to application FSMContext subclass.

10 years agoPass initial state to FSMContext initializer. Added enterStartState method.
cwrapp [Sat, 11 Apr 2009 14:31:20 +0000 (14:31 +0000)]
Pass initial state to FSMContext initializer. Added enterStartState method.

10 years agoAdded initial state argument to initializer.
cwrapp [Sat, 11 Apr 2009 14:30:08 +0000 (14:30 +0000)]
Added initial state argument to initializer.

10 years agoAdded called to enterStartState.
cwrapp [Sat, 11 Apr 2009 14:28:00 +0000 (14:28 +0000)]
Added called to enterStartState.

10 years agoAdded lib/statemap.h back.
cwrapp [Sat, 11 Apr 2009 13:13:14 +0000 (13:13 +0000)]
Added lib/statemap.h back.

10 years agoCorrected raw mode 3 to handle multiple argument template/generic declarations.
cwrapp [Sat, 11 Apr 2009 13:11:12 +0000 (13:11 +0000)]
Corrected raw mode 3 to handle multiple argument template/generic declarations.

10 years agoPass initial state to FSMContext constructor. Moved calling initial state to enterSta...
cwrapp [Sat, 11 Apr 2009 13:08:23 +0000 (13:08 +0000)]
Pass initial state to FSMContext constructor. Moved calling initial state to enterStartState.

10 years agoAdded FSMContext initial state constructor.
cwrapp [Sat, 11 Apr 2009 13:07:23 +0000 (13:07 +0000)]
Added FSMContext initial state constructor.

10 years agoAdded enterStartState call.
cwrapp [Sat, 11 Apr 2009 13:04:15 +0000 (13:04 +0000)]
Added enterStartState call.

10 years agoAdded initial state constructor.
cwrapp [Fri, 10 Apr 2009 14:07:00 +0000 (14:07 +0000)]
Added initial state constructor.

10 years agoSet initial state via initializer.
cwrapp [Fri, 10 Apr 2009 14:02:10 +0000 (14:02 +0000)]
Set initial state via initializer.

10 years ago1. Patch for bug #2679204. Source code was compared to SmcJavaGenerator. At the end...
kgreg99 [Mon, 30 Mar 2009 21:23:47 +0000 (21:23 +0000)]
1. Patch for bug #2679204. Source code was compared to SmcJavaGenerator. At the end of function Visit(SmcGuard ... ) the condition to emit Entry() code was changed. Notice: there are other disimilarities in checking conditions in that function !

10 years ago1. Patch for bug #2722356. Variable stateStack_ is initialized in the constructor...
kgreg99 [Mon, 30 Mar 2009 19:05:44 +0000 (19:05 +0000)]
1. Patch for bug  #2722356. Variable stateStack_ is initialized in the constructor and not by the first "push". This prevents an unhandled exception in EmptyStateStack() without pushing a state.

10 years agoCorrected keyword misspelling.
cwrapp [Sat, 28 Mar 2009 11:56:00 +0000 (11:56 +0000)]
Corrected keyword misspelling.

10 years agoC : the function Context_EnterStartState is generated only if FSM hasEntryActions
fperrad [Fri, 27 Mar 2009 15:26:50 +0000 (15:26 +0000)]
C : the function Context_EnterStartState is generated only if FSM hasEntryActions

10 years agoignore *Context.java
fperrad [Fri, 27 Mar 2009 14:44:12 +0000 (14:44 +0000)]
ignore *Context.java

10 years agoAdded F. Perrad changes back in.
cwrapp [Fri, 27 Mar 2009 09:41:07 +0000 (09:41 +0000)]
Added F. Perrad changes back in.

10 years agoRemoved final from context class. Cleaned up push transition code.
cwrapp [Mon, 16 Mar 2009 19:46:25 +0000 (19:46 +0000)]
Removed final from context class. Cleaned up push transition code.

10 years agoCorrected isLoopback.
cwrapp [Mon, 16 Mar 2009 19:45:26 +0000 (19:45 +0000)]
Corrected isLoopback.

10 years agoRemoving generated files from repository.
cwrapp [Mon, 16 Mar 2009 15:54:01 +0000 (15:54 +0000)]
Removing generated files from repository.

10 years ago.cvsignore
fperrad [Mon, 9 Mar 2009 10:27:06 +0000 (10:27 +0000)]
.cvsignore

10 years agoremove forgotten file
fperrad [Mon, 9 Mar 2009 10:20:37 +0000 (10:20 +0000)]
remove forgotten file