]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
12 years agoMerge until trunk@25835 to branches/simantics-1.7 on 2012-09-23. refs #3688 simantics-1.7 simantics-1.7
lehtonen [Sat, 22 Sep 2012 21:40:55 +0000 (21:40 +0000)]
Merge until trunk@25835 to branches/simantics-1.7 on 2012-09-23. refs #3688

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

12 years agoMerge until trunk@25830 to branches/simantics-1.7 on 2012-09-22. refs #3688
lehtonen [Fri, 21 Sep 2012 23:10:43 +0000 (23:10 +0000)]
Merge until trunk@25830 to branches/simantics-1.7 on 2012-09-22. refs #3688

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

12 years agoIcons + splash screen + product definitions
luukkainen [Fri, 21 Sep 2012 10:37:14 +0000 (10:37 +0000)]
Icons + splash screen + product definitions

#fixes #3728

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

12 years agoMerge until trunk@25793 to branches/simantics-1.7 on 2012-09-20. refs #3688
lehtonen [Thu, 20 Sep 2012 14:47:14 +0000 (14:47 +0000)]
Merge until trunk@25793 to branches/simantics-1.7 on 2012-09-20. refs #3688

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

12 years agoMerge until trunk@25787 to branches/simantics-1.7 on 2012-09-20. refs #3688
lehtonen [Thu, 20 Sep 2012 13:02:48 +0000 (13:02 +0000)]
Merge until trunk@25787 to branches/simantics-1.7 on 2012-09-20. refs #3688

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

12 years agoMatFileReader.toString() now prints filename.
luukkainen [Thu, 20 Sep 2012 12:51:24 +0000 (12:51 +0000)]
MatFileReader.toString() now prints filename.

refs #3722

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

12 years agoAdded value types to issue descriptions (fixes #3710)
lempinen [Fri, 14 Sep 2012 15:35:58 +0000 (15:35 +0000)]
Added value types to issue descriptions (fixes #3710)

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

12 years agoFixed getting simulation playback time for diagram visualizations (refs #3701)
lempinen [Fri, 14 Sep 2012 12:54:35 +0000 (12:54 +0000)]
Fixed getting simulation playback time for diagram visualizations (refs #3701)

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

12 years agoFixed problem with getting time from playback experiments. No variable had #time...
lempinen [Fri, 14 Sep 2012 12:47:36 +0000 (12:47 +0000)]
Fixed problem with getting time from playback experiments. No variable had #time# property. Added the property to experiment runs and modified chart datasets to ask for that value. (fixes #3701)

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

12 years agoFixing my mistake, before it causes any more troubles. Changed the version number...
lempinen [Fri, 14 Sep 2012 10:43:56 +0000 (10:43 +0000)]
Fixing my mistake, before it causes any more troubles. Changed the version number again, this time to 0.0. (refs #3702)

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

12 years agoFont-context menu fixed. Updated Diagram ontology version number. (fixes #3702)
lempinen [Fri, 14 Sep 2012 10:37:44 +0000 (10:37 +0000)]
Font-context menu fixed. Updated Diagram ontology version number. (fixes #3702)

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

12 years agoModelled property tabs for SVG (svg code) and Document (css code) selections. (refs...
lempinen [Wed, 12 Sep 2012 07:27:43 +0000 (07:27 +0000)]
Modelled property tabs for SVG (svg code) and Document (css code) selections. (refs #3511)

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

12 years agoImproving the content assist in text fields (refs #2969):
miettinen [Tue, 11 Sep 2012 10:11:18 +0000 (10:11 +0000)]
Improving the content assist in text fields (refs #2969):
* ESC no longer destroys all changes if pressed when the popup box is open
* The equation doesn't need to be delimited by whitespace to make the auto completion work.
* The cursor is put in between the parenthesis of functions
* Variables are on top of the list
Small fix to completion processor in the charts: '_' character is now allowed too

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

12 years agoFix: When a proposed completion is selected in a text field, the autosave is not...
miettinen [Tue, 11 Sep 2012 06:10:47 +0000 (06:10 +0000)]
Fix: When a proposed completion is selected in a text field, the autosave is not initiated when the selection is accepted with enter. (refs #2969)

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

12 years agoMerge until trunk@25704 to branches/simantics-1.7 on 2012-09-10. refs #3688
lehtonen [Mon, 10 Sep 2012 14:12:13 +0000 (14:12 +0000)]
Merge until trunk@25704 to branches/simantics-1.7 on 2012-09-10. refs #3688

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

12 years agoAssister in equation writing: While the user is typing an equation, the text field...
miettinen [Mon, 10 Sep 2012 11:40:31 +0000 (11:40 +0000)]
Assister in equation writing: While the user is typing an equation, the text field anticipates the input and presents the allowed variables and functions in a popup box. Ctrl+space opens the popup box with all allowed functions and variables. (refs #2969)

ESC and ENTER do not yet work properly, and the completion fails also if the equation is written without whitespaces between tokens.

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

12 years agousing long to calculate offsets.
luukkainen [Fri, 7 Sep 2012 10:56:54 +0000 (10:56 +0000)]
using long to calculate offsets.

refs #3692

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

12 years agoChanged relations SYSDYN.Variable.expressions and SYSDYN.Variable.arrayIndexes to...
lempinen [Fri, 7 Sep 2012 07:58:15 +0000 (07:58 +0000)]
Changed relations SYSDYN.Variable.expressions and SYSDYN.Variable.arrayIndexes to subrelations of L0.IsComposedOf. Remover can now delete SYSDYN.Expressions and SYSDYN.ArrayIndexes along with the rest of the variable. (refs #3651)

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

12 years agoRemoved debug prints (refs #3690)
lempinen [Fri, 7 Sep 2012 07:21:29 +0000 (07:21 +0000)]
Removed debug prints (refs #3690)

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

12 years agoFound more issues caused by version changes (refs #3684)
lempinen [Thu, 6 Sep 2012 12:57:26 +0000 (12:57 +0000)]
Found more issues caused by version changes (refs #3684)

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

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 ago"Simantics 1.7 internal release branching from trunk@25417 to branches/simantics...
lehtonen [Mon, 13 Aug 2012 08:45:13 +0000 (08:45 +0000)]
"Simantics 1.7 internal release branching from trunk@25417 to branches/simantics-1.7 on 2012-08-13. refs #3593"

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