]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
12 years agoMerge until trunk@25101 to branches/simantics-1.6 on 2012-06-05. refs #3455 simantics-1.6
lehtonen [Tue, 5 Jun 2012 10:30:28 +0000 (10:30 +0000)]
Merge until trunk@25101 to branches/simantics-1.6 on 2012-06-05. refs #3455

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/simantics-1.6@25107 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoMerge until trunk@25092 to branches/simantics-1.6 on 2012-06-01. refs #3455
lehtonen [Fri, 1 Jun 2012 12:22:30 +0000 (12:22 +0000)]
Merge until trunk@25092 to branches/simantics-1.6 on 2012-06-01. refs #3455

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/simantics-1.6@25093 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoSmall improvements: Alphabetic order for variables in model browser, module structure...
lempinen [Fri, 1 Jun 2012 11:33:44 +0000 (11:33 +0000)]
Small improvements: Alphabetic order for variables in model browser, module structure view displays where the selected variable is located in the module structure, game experiment progress displays the correct percentage when using output interval, withlookup expressions accept spreadsheet tables, modelicawriter uses model name instead of misguiding "Model_n", created a new "minmax" built-in function. (refs #3414)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@25091 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoSave modifications to expressions before displaying another expression for same varia...
lempinen [Wed, 30 May 2012 11:24:54 +0000 (11:24 +0000)]
Save modifications to expressions before displaying another expression for same variable. Previously users needed to explicitly press enter key. (refs #3478)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@25074 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoFixed the problem with multiple sheets. A return statement was called after the first...
lempinen [Wed, 30 May 2012 10:04:10 +0000 (10:04 +0000)]
Fixed the problem with multiple sheets. A return statement was called after the first sheet had been formatted => Other sheets did not know that values are read from them. (refs #3477)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@25071 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoAdded to CopyAdvisor interface the possibility to get a map from source resources...
lehtonen [Wed, 30 May 2012 08:54:27 +0000 (08:54 +0000)]
Added to CopyAdvisor interface the possibility to get a map from source resources to copied resource as output.

fixes #3480

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@25069 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoOutput interval created to ease the load for reading simulation results. Game experim...
lempinen [Wed, 30 May 2012 08:49:43 +0000 (08:49 +0000)]
Output interval created to ease the load for reading simulation results. Game experiments gain more from this modification than traditional simulations. Traditional simulations still initially read all results but save only part of it to memory. Reading is still slow, but displaying results is faster. (refs #3476)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@25068 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoImproved spreadsheet handling for 1.6: Model sheets can be used in module instances...
lempinen [Tue, 29 May 2012 09:18:27 +0000 (09:18 +0000)]
Improved spreadsheet handling for 1.6: Model sheets can be used in module instances. (refs #3414)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@25066 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoMerge until trunk@25061 to branches/simantics-1.6 on 2012-05-28. refs #3455
lehtonen [Mon, 28 May 2012 15:14:16 +0000 (15:14 +0000)]
Merge until trunk@25061 to branches/simantics-1.6 on 2012-05-28. refs #3455

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/simantics-1.6@25063 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoFixed automatic range formatting for cases where there are {something for i in Enum...
lempinen [Mon, 28 May 2012 08:35:23 +0000 (08:35 +0000)]
Fixed automatic range formatting for cases where there are {something for i in Enum} without [] brackets (refs #3414)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@25057 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoMerge until trunk@25054 to branches/simantics-1.6 on 2012-05-24. refs #3455
lehtonen [Mon, 28 May 2012 06:04:50 +0000 (06:04 +0000)]
Merge until trunk@25054 to branches/simantics-1.6 on 2012-05-24. refs #3455

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/simantics-1.6@25056 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoMerge until trunk@25052 to branches/simantics-1.6 on 2012-05-24. refs #3455
lehtonen [Mon, 28 May 2012 05:57:40 +0000 (05:57 +0000)]
Merge until trunk@25052 to branches/simantics-1.6 on 2012-05-24. refs #3455

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/simantics-1.6@25053 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoMerge until trunk@25047 to branches/simantics-1.6 on 2012-05-24. refs #3455
lehtonen [Thu, 24 May 2012 20:04:04 +0000 (20:04 +0000)]
Merge until trunk@25047 to branches/simantics-1.6 on 2012-05-24. refs #3455

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/simantics-1.6@25049 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoFixed sysdyn trunk build script to enable proper build workspace cleanup
lehtonen [Mon, 21 May 2012 11:39:56 +0000 (11:39 +0000)]
Fixed sysdyn trunk build script to enable proper build workspace cleanup

refs #3455

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@25024 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoImport and export of modules and function libraries (refs #3414)
lempinen [Mon, 21 May 2012 09:42:22 +0000 (09:42 +0000)]
Import and export of modules and function libraries (refs #3414)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@25023 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoTests for variable filtering with FMU (refs #3398)
lempinen [Fri, 18 May 2012 14:37:34 +0000 (14:37 +0000)]
Tests for variable filtering with FMU (refs #3398)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@25019 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoImport/Export update (refs #3414)
lempinen [Fri, 18 May 2012 14:08:09 +0000 (14:08 +0000)]
Import/Export update (refs #3414)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@25018 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoMerge until trunk@25005 to branches/simantics-1.6 on 2012-05-17. refs #3455
lehtonen [Thu, 17 May 2012 18:53:09 +0000 (18:53 +0000)]
Merge until trunk@25005 to branches/simantics-1.6 on 2012-05-17. refs #3455

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/simantics-1.6@25008 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoNew TG files compiled with the 1.11 graph compiler.
lehtonen [Wed, 16 May 2012 15:39:24 +0000 (15:39 +0000)]
New TG files compiled with the 1.11 graph compiler.

refs #3451

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24996 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoEditor name fixed to show "module name : module type name" instead of "module name...
lempinen [Wed, 16 May 2012 12:40:22 +0000 (12:40 +0000)]
Editor name fixed to show "module name : module type name" instead of "module name : module name". Took enumeration replacements into account in chart properties. (refs #3414)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24990 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoVariable filter for fmu simulation (refs #3398)
lempinen [Wed, 16 May 2012 11:33:51 +0000 (11:33 +0000)]
Variable filter for fmu simulation (refs #3398)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24983 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoDid not compile after change https://www.simantics.org/redmine/projects/simantics...
lehtonen [Tue, 15 May 2012 14:23:39 +0000 (14:23 +0000)]
Did not compile after change https://www.simantics.org/redmine/projects/simantics/repository/revisions/24974.

refs #3448

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24975 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoCombined libraries -> FMUSim.lib is not needed anymore (refs #3398)
lempinen [Mon, 14 May 2012 07:39:32 +0000 (07:39 +0000)]
Combined libraries -> FMUSim.lib is not needed anymore (refs #3398)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24960 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoC and C++ code in a visual studio 2010 solution for FMU simulation (refs #3398)
lempinen [Mon, 14 May 2012 07:31:23 +0000 (07:31 +0000)]
C and C++ code in a visual studio 2010 solution for FMU simulation (refs #3398)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24959 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agorefs #3441
villberg [Sat, 12 May 2012 06:55:45 +0000 (06:55 +0000)]
refs #3441

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24954 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agochanged splash screen and removed import mdl -option (refs #3414)
lempinen [Fri, 11 May 2012 12:57:33 +0000 (12:57 +0000)]
changed splash screen and removed import mdl -option (refs #3414)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24947 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoTest for simultaneous fmu simulation (refs #3398)
lempinen [Fri, 11 May 2012 06:38:26 +0000 (06:38 +0000)]
Test for simultaneous fmu simulation (refs #3398)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24941 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoSupport multiple simultaneous fmu simulations (refs #3398)
lempinen [Fri, 11 May 2012 06:27:37 +0000 (06:27 +0000)]
Support multiple simultaneous fmu simulations (refs #3398)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24940 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoFixed some deprecation warnings.
lehtonen [Fri, 11 May 2012 05:31:17 +0000 (05:31 +0000)]
Fixed some deprecation warnings.

refs #3431

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24937 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoImproved FMU control temp file handling (refs #3398)
lempinen [Thu, 10 May 2012 13:01:58 +0000 (13:01 +0000)]
Improved FMU control temp file handling (refs #3398)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24914 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoprevious commit contained unnecessary folders (refs #3398)
lempinen [Thu, 10 May 2012 12:51:49 +0000 (12:51 +0000)]
previous commit contained unnecessary folders (refs #3398)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24913 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoFMU tests
lempinen [Thu, 10 May 2012 12:49:40 +0000 (12:49 +0000)]
FMU tests

Share project "org.simantics.sysdyn.tests" into "https://www.simantics.org/svn/simantics" (refs #3398)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24912 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoFMU tests
lempinen [Thu, 10 May 2012 12:48:55 +0000 (12:48 +0000)]
FMU tests

Share project "org.simantics.sysdyn.tests" into "https://www.simantics.org/svn/simantics" (refs #3398)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24911 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoFixed a few hundred pointless warnings coming from all over the Simantics codebase.
lehtonen [Mon, 7 May 2012 08:51:56 +0000 (08:51 +0000)]
Fixed a few hundred pointless warnings coming from all over the Simantics codebase.
There's still a lot left.

refs #3363

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24878 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoAdd FMU libraries to build, synchronize result reading. (refs #3414)
lempinen [Thu, 3 May 2012 13:05:47 +0000 (13:05 +0000)]
Add FMU libraries to build, synchronize result reading. (refs #3414)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24864 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoPreparing for 1.6 release: Input/Output tab tweaks, diagram chart size tweak, better...
lempinen [Wed, 2 May 2012 07:18:12 +0000 (07:18 +0000)]
Preparing for 1.6 release: Input/Output tab tweaks, diagram chart size tweak, better module parameter handling (refs #3414)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24847 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoStep property controls to game experiment tab (refs #3398)
lempinen [Fri, 27 Apr 2012 09:00:22 +0000 (09:00 +0000)]
Step property controls to game experiment tab (refs #3398)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24831 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoRest of the files for OpenModelica 1.8.1 (refs #2925)
lempinen [Fri, 27 Apr 2012 06:56:55 +0000 (06:56 +0000)]
Rest of the files for OpenModelica 1.8.1 (refs #2925)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24829 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoDeleted OpenModelica 1.8.0 (refs #2925)
lempinen [Fri, 27 Apr 2012 06:47:43 +0000 (06:47 +0000)]
Deleted OpenModelica 1.8.0 (refs #2925)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24828 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoRemoved old OpenModelica 1.8.0 (refs #2925)
lempinen [Fri, 27 Apr 2012 06:36:15 +0000 (06:36 +0000)]
Removed old OpenModelica 1.8.0 (refs #2925)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24827 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoOpenModelica 1.8.1 (refs #2925)
lempinen [Fri, 27 Apr 2012 06:13:47 +0000 (06:13 +0000)]
OpenModelica 1.8.1 (refs #2925)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24826 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoAutomatically generated expression parser files. Not committed by eclipse svn. (refs...
lempinen [Thu, 26 Apr 2012 11:57:40 +0000 (11:57 +0000)]
Automatically generated expression parser files. Not committed by eclipse svn. (refs #3398)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24824 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoFMU export does not include the universal "time" variable. Added a "time" variable...
lempinen [Thu, 26 Apr 2012 11:56:34 +0000 (11:56 +0000)]
FMU export does not include the universal "time" variable. Added a "time" variable to each module instance. The same expression thus work with fmu and normal simulation. (refs #3398)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24823 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoSimulation controls for game experiments: Stepping, changing parameter values and...
lempinen [Thu, 26 Apr 2012 06:53:53 +0000 (06:53 +0000)]
Simulation controls for game experiments: Stepping, changing parameter values and reading results. (refs #3398)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24820 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years ago"Simantics 1.6 release branching from trunk@24777 to branches/simantics-1.6 on 2012...
lehtonen [Sun, 22 Apr 2012 18:46:55 +0000 (18:46 +0000)]
"Simantics 1.6 release branching from trunk@24777 to branches/simantics-1.6 on 2012-04-22. refs #3128"

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/simantics-1.6@24804 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoJNI interface and native libraries for FMU simulation. (refs #3398)
lempinen [Thu, 19 Apr 2012 10:57:26 +0000 (10:57 +0000)]
JNI interface and native libraries for FMU simulation. (refs #3398)

* Loads FMUs
* Simulates steps
* Changes parameter values
* Reads simulation results (subscribe to results)
* JNI interface for java handling

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24727 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoRFC Hannu, Tuukka
villberg [Tue, 17 Apr 2012 08:08:13 +0000 (08:08 +0000)]
RFC Hannu, Tuukka
refs #3386

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24697 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoThese need to be set public, so that functionality can be extended.
luukkainen [Fri, 13 Apr 2012 06:47:02 +0000 (06:47 +0000)]
These need to be set public, so that functionality can be extended.

refs #3376

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24668 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoSome workout with the issues.
villberg [Sat, 7 Apr 2012 05:09:53 +0000 (05:09 +0000)]
Some workout with the issues.
refs #3358

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24630 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoSupport line breaks in multiline comments (refs #2940)
lempinen [Thu, 29 Mar 2012 07:18:25 +0000 (07:18 +0000)]
Support line breaks in multiline comments (refs #2940)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24562 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agonull-check for resource selection processor. The processor did not work anymore with...
lempinen [Thu, 29 Mar 2012 06:44:24 +0000 (06:44 +0000)]
null-check for resource selection processor. The processor did not work anymore with the old model browser. (refs #2926)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24561 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoDisabled c-compiler optimization, cflags="-O0". Compiling a model is now faster....
lempinen [Thu, 29 Mar 2012 06:43:16 +0000 (06:43 +0000)]
Disabled c-compiler optimization, cflags="-O0". Compiling a model is now faster. (refs #2995)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24560 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoCleanup unused operation browser (refs #3329)
lempinen [Tue, 27 Mar 2012 10:49:44 +0000 (10:49 +0000)]
Cleanup unused operation browser (refs #3329)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24549 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoRemoved elements2 (refs #3329)
lempinen [Tue, 27 Mar 2012 09:17:59 +0000 (09:17 +0000)]
Removed elements2 (refs #3329)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24547 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoRemoved elements2 subpackages (refs #3329)
lempinen [Tue, 27 Mar 2012 09:16:37 +0000 (09:16 +0000)]
Removed elements2 subpackages (refs #3329)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24546 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoMoved contents of elements2 to elements. (refs #3329)
lempinen [Tue, 27 Mar 2012 09:05:33 +0000 (09:05 +0000)]
Moved contents of elements2 to elements. (refs #3329)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24545 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoRemoved unused code and disabled operating interfaces from model browser. (refs ...
lempinen [Tue, 27 Mar 2012 06:55:12 +0000 (06:55 +0000)]
Removed unused code and disabled operating interfaces from model browser. (refs #3329)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24541 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoAlmost completely functional model browser defined in sysdynmodelbrowserviewpoint...
lempinen [Tue, 27 Mar 2012 06:23:36 +0000 (06:23 +0000)]
Almost completely functional model browser defined in sysdynmodelbrowserviewpoint. The main thing missing is deleting module types and datasets and removing delete-option from nodes that can not / should not be deleted. (refs #2926)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24540 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoVariable-jööti. This can be dangerous.
villberg [Tue, 20 Mar 2012 12:52:19 +0000 (12:52 +0000)]
Variable-jööti. This can be dangerous.
refs #3246

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24487 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoMulti-line comments to symbols view. Font and text-size can be changed from context...
lempinen [Mon, 19 Mar 2012 14:15:43 +0000 (14:15 +0000)]
Multi-line comments to symbols view. Font and text-size can be changed from context menu. Element can be resized by dragging from its borders. (refs #2940)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24478 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoOverrides possible with expression that do not have references to other variables...
lempinen [Fri, 16 Mar 2012 09:10:34 +0000 (09:10 +0000)]
Overrides possible with expression that do not have references to other variables (sheets and enumerations allowed, so are function calls with no reference to time variable) (refs #2992)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24444 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoFirst take on module instances with individual parameter values. Applicable only...
lempinen [Tue, 13 Mar 2012 13:54:58 +0000 (13:54 +0000)]
First take on module instances with individual parameter values. Applicable only to parameters with one parameter expression. The values can only be numbers. (refs #2992)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24419 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoFont chooser to context menu of diagram elements, including dependencies. (refs ...
lempinen [Tue, 13 Mar 2012 07:12:22 +0000 (07:12 +0000)]
Font chooser to context menu of diagram elements, including dependencies. (refs #2959)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24416 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoFixes for connection ElementFactory implementations after change r24388
lehtonen [Fri, 9 Mar 2012 09:27:24 +0000 (09:27 +0000)]
Fixes for connection ElementFactory implementations after change r24388
which fixed the way ConnectionRequest invokes ElementFactory create/getClass methods.
The problem was caused by invalidly implemented create method which assumed that it receives an element instance,
not an element type as it should receive.

fixes #3276

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24392 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoAdded nebula tablecombo widget to sysdyn feature. Potentially fixes the build.
lehtonen [Fri, 9 Mar 2012 09:22:57 +0000 (09:22 +0000)]
Added nebula tablecombo widget to sysdyn feature. Potentially fixes the build.

fixes #3276

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24390 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoAttempts at lowering diagram and especially g2d ElementClass memory consumption by...
lehtonen [Fri, 9 Mar 2012 03:07:40 +0000 (03:07 +0000)]
Attempts at lowering diagram and especially g2d ElementClass memory consumption by caching ElementClass request results.

There are still plenty of equals/hashCode problems in the ElementClass instances constructed by different ElementFactory implementations.

refs #3275

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24388 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoRemoved an argument from CopyAdvisorUtil.copy4 in r24382. Modify sysdyn advisor accor...
lehtonen [Thu, 8 Mar 2012 11:33:35 +0000 (11:33 +0000)]
Removed an argument from CopyAdvisorUtil.copy4 in r24382. Modify sysdyn advisor accordingly.

refs #3272

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24383 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoChoose font and color for sysdyn elements (refs #2959)
lempinen [Mon, 5 Mar 2012 14:08:04 +0000 (14:08 +0000)]
Choose font and color for sysdyn elements (refs #2959)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24350 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoFirst implementation of font changing controls (refs #2959)
lempinen [Fri, 2 Mar 2012 14:35:05 +0000 (14:35 +0000)]
First implementation of font changing controls (refs #2959)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24332 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoHistory data support as history datasets in experiments. History datasets work like...
lempinen [Thu, 1 Mar 2012 07:47:57 +0000 (07:47 +0000)]
History data support as history datasets in experiments. History datasets work like saved results in charts and tables. (fixes #2952)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24316 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoHierarchy view displaying the full hierarchy of the model that can be reached with...
lempinen [Fri, 24 Feb 2012 13:57:00 +0000 (13:57 +0000)]
Hierarchy view displaying the full hierarchy of the model that can be reached with L0.ConsistsOf from selection (refs #2974)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24292 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoSimantics trunk has now moved to a new .tg (transferable graph) format (#3144).
lehtonen [Thu, 23 Feb 2012 16:31:13 +0000 (16:31 +0000)]
Simantics trunk has now moved to a new .tg (transferable graph) format (#3144).
Due to this, all .tg files must be recommitted.
Developer need to install the new version of the graph compiler which will be up on the web ASAP.
In the meantime, the required version of the graph compiler is available in SVN at
https://www.simantics.org/svn/simantics/ode/trunk/org.simantics.graph.updatesite.
This directory contains a P2 repository of the compiler which can be installed using
standard Eclipse installation features.

refs #3144

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24286 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoVariable filter for models. Filter is a regular expression string. (refs #3149)
lempinen [Thu, 23 Feb 2012 14:42:06 +0000 (14:42 +0000)]
Variable filter for models. Filter is a regular expression string. (refs #3149)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24280 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoExpression parser left out by eclipse svn (refs #2056)
lempinen [Thu, 23 Feb 2012 12:29:49 +0000 (12:29 +0000)]
Expression parser left out by eclipse svn (refs #2056)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24279 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoVariability for inputs (refs #2056)
lempinen [Thu, 23 Feb 2012 12:29:26 +0000 (12:29 +0000)]
Variability for inputs (refs #2056)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24278 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoAutomatic parameter declarations for all variables. Variability is not calculated...
lempinen [Thu, 23 Feb 2012 12:26:42 +0000 (12:26 +0000)]
Automatic parameter declarations for all variables. Variability is not calculated from one module to another: the variability of input variables is set manually. (refs #2056)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24277 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoImplemented DiagramEditor resource disposal/reinitialization based on Eclipse IPartLi...
lehtonen [Mon, 13 Feb 2012 07:52:33 +0000 (07:52 +0000)]
Implemented DiagramEditor resource disposal/reinitialization based on Eclipse IPartListener2
partHidden/partVisible callbacks.

The important developer-visible changes are:
* Diagram editor  should now use the class org.simantics.modeling.ui.diagramEditor.DiagramEditor as the editor class.
* DiagramEditor extension class attributes require a *viewer=clazz* argument after the *org.simantics.modeling.ui.diagramEditor.DiagramEditor:* class string, where clazz is something inherited from *org.simantics.modeling.ui.diagramEditor.DiagramViewer.
* DiagramViewer.getInputValidator() is now public
* Eclipse command handlers or any other code comparing EditorPart instances to *org.simantics.modeling.ui.diagramEditor.DiagramViewer* must be changed to compare to *org.simantics.modeling.ui.diagramEditor.DiagramEditor* and get the viewer through DiagramEditor.getViewer().

fixes #3213

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24212 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoAdded org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy
lehtonen [Wed, 8 Feb 2012 22:31:00 +0000 (22:31 +0000)]
Added org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy
to customize the comparisons performed by Eclipse's EditorManager when looking
for editor input matches in existing editor tabs.

Normally EditorManager matches the following data:
* IEditorInput.getName()
* IEditorInput.getPersistable().getFactoryId()
* IEditorInput.equals

With ResourceEditorInput and ResourceEditorInput2 it is not necessary to compare IEditorInput.getName, which currently causes problems since initializing a ResourceEditorInput will not initialize its name properly immediately. And anyway, it is better simply to match against input.equals since the a single resource
can only have a single name and the name stored in the editor is just redundant information. Only the input resource identification is important.

fixes #3207

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24182 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoAdded ExperimentsFolder contribution to sysdyn since it has previously been there...
lehtonen [Wed, 25 Jan 2012 16:38:40 +0000 (16:38 +0000)]
Added ExperimentsFolder contribution to sysdyn since it has previously been there and r24034 removed it.

refs #3153

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24035 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoChanged back to Redeclaration_replacedEnumeration_Inverse to avoid name conflicts...
lempinen [Wed, 25 Jan 2012 11:55:44 +0000 (11:55 +0000)]
Changed back to Redeclaration_replacedEnumeration_Inverse to avoid name conflicts. (refs #3151)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24027 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoVariable validator for chart configurations (refs #3082)
lempinen [Mon, 23 Jan 2012 15:18:33 +0000 (15:18 +0000)]
Variable validator for chart configurations (refs #3082)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24021 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoDrag & drop ordering for bar and pie chart series (refs #3082)
lempinen [Fri, 20 Jan 2012 12:46:06 +0000 (12:46 +0000)]
Drag & drop ordering for bar and pie chart series (refs #3082)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24015 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoIf xy chart has no selection, when variable is added, select the first range axis...
lempinen [Fri, 20 Jan 2012 12:37:30 +0000 (12:37 +0000)]
If xy chart has no selection, when variable is added, select the first range axis before applying add variable (refs #3082)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24014 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoChanged strengths in Redeclaration relations. If enumeration is removed, also redecla...
lempinen [Thu, 19 Jan 2012 13:46:16 +0000 (13:46 +0000)]
Changed strengths in Redeclaration relations. If enumeration is removed, also redeclaration is removed. If redeclaration is removed, enumeration is not removed. (refs #3130)

SYSDYN.Redeclaration <T L0.Entity
    >-- SYSDYN.Redeclaration.replacedEnumeration --> SYSDYN.Enumeration <R L0.IsRelatedTo : L0.TotalFunction
        L0.InverseOf SYSDYN.Redeclaration.replacedIn <R L0.DependsOn : L0.FunctionalRelation
    >-- SYSDYN.Redeclaration.replacingEnumeration --> SYSDYN.Enumeration <R L0.IsRelatedTo : L0.TotalFunction
        L0.InverseOf SYSDYN.Redeclaration.replacesEnumerationIn <R L0.DependsOn : L0.FunctionalRelation

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24006 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agochanged the declaration of Enum_size = Enum.size and Enum_elements = Enum.elements...
lempinen [Thu, 19 Jan 2012 13:18:03 +0000 (13:18 +0000)]
changed the declaration of Enum_size = Enum.size and Enum_elements = Enum.elements to Enumeration instead of Redeclaration. The parameters are now declared always once. (refs #3134)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24005 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoRemoved unnecessary documentation from openmodelica, fixed environment variable paths...
lempinen [Tue, 17 Jan 2012 07:02:28 +0000 (07:02 +0000)]
Removed unnecessary documentation from openmodelica, fixed environment variable paths. (refs #2925)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23993 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoDebug prints to openmodelica (refs #2925)
lempinen [Tue, 17 Jan 2012 06:05:30 +0000 (06:05 +0000)]
Debug prints to openmodelica (refs #2925)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23992 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoExpanded drop area for empty chart panels and chart panels with all minimized charts...
lempinen [Mon, 16 Jan 2012 14:19:06 +0000 (14:19 +0000)]
Expanded drop area for empty chart panels and chart panels with all minimized charts ( refs #3082 )

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23990 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoprint for debugging problems with simulations with jenkins-built versions (refs ...
lempinen [Mon, 16 Jan 2012 14:10:02 +0000 (14:10 +0000)]
print for debugging problems with simulations with jenkins-built versions (refs #2925)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23988 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoRemoved chart property option from trend view (refs #3082)
lempinen [Mon, 16 Jan 2012 13:15:33 +0000 (13:15 +0000)]
Removed chart property option from trend view (refs #3082)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23987 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoInclude openmodelica folder to build (refs #2925)
lempinen [Mon, 16 Jan 2012 13:11:21 +0000 (13:11 +0000)]
Include openmodelica folder to build (refs #2925)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23986 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoMissing files from 1.8.0 (refs #2925)
lempinen [Mon, 16 Jan 2012 12:33:54 +0000 (12:33 +0000)]
Missing files from 1.8.0 (refs #2925)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23984 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoLatest 1.8.0 nightly build (refs #2925)
lempinen [Mon, 16 Jan 2012 12:18:17 +0000 (12:18 +0000)]
Latest 1.8.0 nightly build (refs #2925)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23983 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoRemoved a broken commit (hopefully) (refs #2925)
lempinen [Mon, 16 Jan 2012 11:56:07 +0000 (11:56 +0000)]
Removed a broken commit (hopefully) (refs #2925)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23982 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoLatest 1.8.0 nightly build (refs #2925)
lempinen [Mon, 16 Jan 2012 08:34:43 +0000 (08:34 +0000)]
Latest 1.8.0 nightly build (refs #2925)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23977 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoTeemu did not commit graph.tg.
lehtonen [Thu, 12 Jan 2012 21:19:21 +0000 (21:19 +0000)]
Teemu did not commit graph.tg.
refs #3038

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23949 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoIn preparation for migration tools (refs #3038), all relations changed to start with...
lempinen [Thu, 12 Jan 2012 14:29:44 +0000 (14:29 +0000)]
In preparation for migration tools (refs #3038), all relations changed to start with a small letter, created with arrow syntax and located in proper places

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23940 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoRemoved ConnectionVariable, LiteralVariable, HasParameter and DirectedConnectionRelat...
niemisto [Thu, 12 Jan 2012 12:38:13 +0000 (12:38 +0000)]
Removed ConnectionVariable, LiteralVariable, HasParameter and DirectedConnectionRelation from Structural -ontology. They are now replaced by a direct HasDomain -statement from the relation to the type. DirectedConnectionRelation is replaced by ConnectionRelation. Also HasConnectionVariable is now replaced by HasConnectionPoint that points directly to the relation.

fixes #3080

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23933 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agorefs #3082
lempinen [Wed, 11 Jan 2012 13:15:18 +0000 (13:15 +0000)]
refs #3082
Bug fixes

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23916 ac1ea38d-2e2b-0410-8846-a27921b304fc

12 years agoFixed problems with saving withlookup expressions for usability tests.
lempinen [Wed, 11 Jan 2012 13:13:57 +0000 (13:13 +0000)]
Fixed problems with saving withlookup expressions for usability tests.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@23915 ac1ea38d-2e2b-0410-8846-a27921b304fc