]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
12 years agoUpdated TGRefactoring to use mappingSpec to enable more than just single name convers...
lempinen [Wed, 5 Sep 2012 07:05:44 +0000 (07:05 +0000)]
Updated TGRefactoring to use mappingSpec to enable more than just single name conversions. Now you can convert full URIs. (refs #3684)

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

12 years ago* Fix: only one dependency is dragged at a time (refs #753)
miettinen [Wed, 5 Sep 2012 06:08:28 +0000 (06:08 +0000)]
* Fix: only one dependency is dragged at a time (refs #753)
* If multiple dependencies are within the range, the preference is 1) selected dependency 2) the nearest dependency
* Changed the hitTest function tolerance to distance instead of the distance squared

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

12 years agoRefactoring tool for updating version numbers in old exported .tg:s for 1.7 release...
lempinen [Wed, 5 Sep 2012 05:10:25 +0000 (05:10 +0000)]
Refactoring tool for updating version numbers in old exported .tg:s for 1.7 release. (refs #3684)

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

12 years agoA very large commit, sorry about that. Ontology version bump and a lot of documentati...
lempinen [Wed, 5 Sep 2012 04:59:43 +0000 (04:59 +0000)]
A very large commit, sorry about that. Ontology version bump and a lot of documentation changes. Mainly: documentation using SCL, changed url format to url#document to support history. Session management for handling input contexts. (refs #3511)

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

12 years agoBumped os.jfreechart.ontology versions.
lehtonen [Tue, 4 Sep 2012 16:53:28 +0000 (16:53 +0000)]
Bumped os.jfreechart.ontology versions.

refs #3681

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

12 years agoReplaced reference to ISSUE.DependencyIssueSource with ISSUE.Sources.DependencyTrack...
lempinen [Mon, 3 Sep 2012 09:43:24 +0000 (09:43 +0000)]
Replaced reference to  ISSUE.DependencyIssueSource with ISSUE.Sources.DependencyTracker (refs #3666)

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

12 years agoFixes the power of symbols (^) validation bug in Equation tab. (refs #3573)
miettinen [Mon, 3 Sep 2012 07:51:59 +0000 (07:51 +0000)]
Fixes the power of symbols (^) validation bug in Equation tab. (refs #3573)

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

12 years agorefs #3674
luukkainen [Mon, 3 Sep 2012 07:32:32 +0000 (07:32 +0000)]
refs #3674

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

12 years agofixes #3673
luukkainen [Mon, 3 Sep 2012 07:23:30 +0000 (07:23 +0000)]
fixes #3673

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

12 years agoAdded a null check. Expression validation treats sheet references as sheet names...
lempinen [Fri, 31 Aug 2012 09:34:38 +0000 (09:34 +0000)]
Added a null check. Expression validation treats sheet references as sheet names, but they can also be actual functions. The validation did not take this into account. (fixes #3665)

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

12 years agorefs #3659
luukkainen [Thu, 30 Aug 2012 14:19:57 +0000 (14:19 +0000)]
refs #3659

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

12 years agoChanged the way terminal relations are created for new module types. The old way...
lempinen [Tue, 28 Aug 2012 08:12:14 +0000 (08:12 +0000)]
Changed the way terminal relations are created for new module types. The old way was to modify existing terminal relations, but now they are immutable, so new subrelations need to be created. (refs #3530)

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

12 years agoMake com.acme.movie and org.simantics.sysdyn.product builds roaming.
lehtonen [Tue, 21 Aug 2012 13:49:25 +0000 (13:49 +0000)]
Make com.acme.movie and org.simantics.sysdyn.product builds roaming.

fixes #3615

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

12 years agorefs #3607
villberg [Mon, 20 Aug 2012 06:32:03 +0000 (06:32 +0000)]
refs #3607

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

12 years agoWrapping FileInputStream to BufferedInputStream seems to increase performance.
luukkainen [Wed, 15 Aug 2012 14:47:42 +0000 (14:47 +0000)]
Wrapping FileInputStream to BufferedInputStream seems to increase performance.

refs #3544

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

12 years agoAbility to make skipped & partial reads for multiple items at the same time.
luukkainen [Tue, 7 Aug 2012 11:29:52 +0000 (11:29 +0000)]
Ability to make skipped & partial reads for multiple items at the same time.

refs #3544

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

12 years agoRevised IResourceEditorInput2.getRVI spec to allow null returned values.
lehtonen [Mon, 6 Aug 2012 12:33:51 +0000 (12:33 +0000)]
Revised IResourceEditorInput2.getRVI spec to allow null returned values.
Fixed many places to take into account that getRVI may return null now.

refs #3583

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

12 years agoSVG properties to property view (refs #3511)
lempinen [Fri, 3 Aug 2012 14:15:58 +0000 (14:15 +0000)]
SVG properties to property view (refs #3511)

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

12 years agoAdded prints to console to tell that mapping has failed. This does not fix the fact...
lempinen [Tue, 31 Jul 2012 06:58:45 +0000 (06:58 +0000)]
Added prints to console to tell that mapping has failed. This does not fix the fact that the mappings fail, but at least user knows that something is wrong. (refs #3580)

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

12 years agoGWT ListBox and related stuff. SCL commands that enable creating and "joinin" experim...
lempinen [Thu, 26 Jul 2012 12:27:26 +0000 (12:27 +0000)]
GWT ListBox and related stuff. SCL commands that enable creating and "joinin" experiments! (refs #3511)

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

12 years agoEach simulation run gets its own folder for simulation files and results. Function...
lempinen [Wed, 25 Jul 2012 15:27:25 +0000 (15:27 +0000)]
Each simulation run gets its own folder for simulation files and results. Function file handling changed so that function files are only updated when simulate is called from an experiment (in other words: function files may be outdated before simulation is run) (refs #3530)

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

12 years agoRemoving dependencies to experiment UI-concepts (i.e. Active experiment) from experim...
lempinen [Tue, 24 Jul 2012 10:02:07 +0000 (10:02 +0000)]
Removing dependencies to experiment UI-concepts (i.e. Active experiment) from experiments and results. Results should be experiment-specific.

The work is only half-way done.

Things still to come: move simulation files from model-specific folder to experiment specific folder to allow multiple simulations on same model. Remove all references to active experiment from everywhere else than sysdyn.ui. The concept is only valid in the workbench.

(refs #3530)

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

12 years agoDeprecated UIModelManager, ProjectElements and ProjectElementType.
lehtonen [Fri, 13 Jul 2012 13:00:02 +0000 (13:00 +0000)]
Deprecated UIModelManager, ProjectElements and ProjectElementType.
These will be removed from Simantics 1.8.

NewComponentTypeHandler, NewModelHandler and NewStateHandler, NewExperiment and NewState removed from os.modeling.ui.
Dummy model manager implementation was removed from SysdynProject - useless.

fixes #3566

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

12 years ago* Removed some contributions from ChartBrowseContext and ModelingBrowseContext:
lehtonen [Fri, 13 Jul 2012 11:15:18 +0000 (11:15 +0000)]
* Removed some contributions from ChartBrowseContext and ModelingBrowseContext:
** @VP.relationChildRuleWithFolder MOD.StructuralModel L0.ConsistsOf   CHART.Chart CBC.ChartsFolder
** @VP.relationChildRuleWithFolder MOD.StructuralModel L0.ConsistsOf   STR.ComponentType MBC.ComponentTypesFolder
** @VP.relationChildRuleWithFolder MOD.StructuralModel L0.ConsistsOf   MOD.Subscription MBC.SubscriptionsFolder
** @VP.relationChildRuleWithFolder MOD.StructuralModel L0.ConsistsOf DOC.Document MBC.DocumentsFolder
* Made sysdyn browse context rule contributions more SYSDYN.SysdynModel-specific to prevent sysdyn viewpoint from contributing excess baggage to other models

fixes #3564

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

12 years agoNew variables and properties. Values, times, active datasets, etc. with module/var...
lempinen [Thu, 12 Jul 2012 13:57:01 +0000 (13:57 +0000)]
New variables and properties. Values, times, active datasets, etc. with module/var#values#1.2 (refs #3530)

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

12 years agorefs #3544
luukkainen [Fri, 6 Jul 2012 12:28:23 +0000 (12:28 +0000)]
refs #3544

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

12 years agofixes #3544
luukkainen [Wed, 4 Jul 2012 12:31:28 +0000 (12:31 +0000)]
fixes #3544

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

12 years agoFunctions for enabling/disabling simulation control buttons (refs #3511)
lempinen [Wed, 4 Jul 2012 12:18:19 +0000 (12:18 +0000)]
Functions for enabling/disabling simulation control buttons (refs #3511)

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

12 years agoIgnore step commands while already stepping a simulation. Documentation cannot yet...
lempinen [Fri, 29 Jun 2012 12:19:55 +0000 (12:19 +0000)]
Ignore step commands while already stepping a simulation. Documentation cannot yet disable simulation buttons while simulating. (refs #3511)

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

12 years agoChart Items, valuesAndTimes -function, RootLayoutPanel instead of replacing stockList...
lempinen [Thu, 28 Jun 2012 12:45:17 +0000 (12:45 +0000)]
Chart Items, valuesAndTimes -function, RootLayoutPanel instead of replacing stockList content.. (refs #3511)

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

12 years agoRemoved duplicate result variables from sysdynmodel (refs #3530)
lempinen [Mon, 25 Jun 2012 06:01:59 +0000 (06:01 +0000)]
Removed duplicate result variables from sysdynmodel (refs #3530)

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

12 years agorefs #3530
villberg [Mon, 25 Jun 2012 05:57:17 +0000 (05:57 +0000)]
refs #3530

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

12 years agoChanged old HasHead and HasTail relations to Variable.HasHead and Variable.HasTail...
lempinen [Tue, 19 Jun 2012 13:05:04 +0000 (13:05 +0000)]
Changed old HasHead and HasTail relations to Variable.HasHead and Variable.HasTail. Importer changes these relations automatically for old files. (fixes #3525)

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

12 years agoDocument viewer displays the document of active document editor. (refs #3511)
lempinen [Mon, 18 Jun 2012 12:26:14 +0000 (12:26 +0000)]
Document viewer displays the document of active document editor. (refs #3511)

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

12 years agoChanged sysdyn to use new routing mode
niemisto [Mon, 18 Jun 2012 11:22:58 +0000 (11:22 +0000)]
Changed sysdyn to use new routing mode

refs #3279

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

12 years agoAdded a null-check to prevent crashing when fmu libraries cannot be found (refs ...
lempinen [Mon, 18 Jun 2012 08:35:15 +0000 (08:35 +0000)]
Added a null-check to prevent crashing when fmu libraries cannot be found (refs #3398)

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

12 years agoRemoved dependency to documentation. Documentation is still in incubation. (refs...
lempinen [Mon, 18 Jun 2012 08:33:07 +0000 (08:33 +0000)]
Removed dependency to documentation. Documentation is still in incubation. (refs #3511)

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

12 years agoRemoved dependency to documentation. Documentation is still in incubation. (refs...
lempinen [Mon, 18 Jun 2012 08:19:45 +0000 (08:19 +0000)]
Removed dependency to documentation. Documentation is still in incubation. (refs #3511)

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

12 years agoRemoved dependencies to documentation plugin (refs #3511)
lempinen [Fri, 15 Jun 2012 04:50:09 +0000 (04:50 +0000)]
Removed dependencies to documentation plugin (refs #3511)

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

12 years agoStarting with documentation plugin (refs #3511)
lempinen [Thu, 14 Jun 2012 07:55:43 +0000 (07:55 +0000)]
Starting with documentation plugin (refs #3511)

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

12 years agoAdded -data @noDefault to sysdyn.product to make the product ask for the workspace...
lehtonen [Wed, 6 Jun 2012 08:25:31 +0000 (08:25 +0000)]
Added -data @noDefault to sysdyn.product to make the product ask for the workspace to use from the user.

fixes #3491

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@25114 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 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 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 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 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