]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
12 years ago"Simantics 1.8.1 branching from branches/simantics-1.8@26338 to branches/simantics... simantics-1.8.1
lehtonen [Fri, 23 Nov 2012 12:16:02 +0000 (12:16 +0000)]
"Simantics 1.8.1 branching from branches/simantics-1.8@26338 to branches/simantics-1.8.1 on 2012-11-23. refs #3865"

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

12 years agoNew method for changing model init values without compiling the model:
lempinen [Thu, 25 Oct 2012 06:41:15 +0000 (06:41 +0000)]
New method for changing model init values without compiling the model:

1. A full .mo file is created from the model, containing all required class definitions
2. Simulation files are created from the full model .mo (including init.xml)
3. Variables of the old init.xml are replaced with variables from the new init.xml

In addition, spreadsheet cell values can also be changed without having to recompile the model

(refs #3811)

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

12 years agorefs #3805
luukkainen [Tue, 23 Oct 2012 13:44:50 +0000 (13:44 +0000)]
refs #3805

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

12 years agoRemoved duplicate initialization and added a check to setting the value of time varia...
lempinen [Tue, 23 Oct 2012 07:15:04 +0000 (07:15 +0000)]
Removed duplicate initialization and added a check to setting the value of time variable. Time variable is added only in sysdyn. (fixes #3803)

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

12 years agoignore .sdf (refs #3803)
lempinen [Tue, 23 Oct 2012 07:00:49 +0000 (07:00 +0000)]
ignore .sdf (refs #3803)

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

12 years agoissue decorations null check (refs #3789)
lempinen [Mon, 22 Oct 2012 11:34:03 +0000 (11:34 +0000)]
issue decorations null check (refs #3789)

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

12 years agoWorkbenchSelectionElement in nodeType (refs #3799)
lempinen [Mon, 22 Oct 2012 11:23:23 +0000 (11:23 +0000)]
WorkbenchSelectionElement in nodeType (refs #3799)

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

12 years ago* Optimized simulation result read: All results are still read from file in one chunk...
miettinen [Fri, 19 Oct 2012 10:29:43 +0000 (10:29 +0000)]
* Optimized simulation result read: All results are still read from file in one chunk, but are processed further (made into recordings) only upon request. (refs #3709)
* The Save result button makes recordings out of all variables that not yet have those.
* Save result is run in its own job.
* A few null-checks added.

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

12 years agoAdded a null check to selection processor. (fixes #3796)
lempinen [Fri, 19 Oct 2012 07:31:15 +0000 (07:31 +0000)]
Added a null check to selection processor. (fixes #3796)

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

12 years agoissue decorations to old sysdyn model browser (fixes #3789)
lempinen [Wed, 17 Oct 2012 09:29:17 +0000 (09:29 +0000)]
issue decorations to old sysdyn model browser (fixes #3789)

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

12 years agoAdded batch validation to import process. The imported model is validated after impor...
lempinen [Tue, 16 Oct 2012 11:48:51 +0000 (11:48 +0000)]
Added batch validation to import process. The imported model is validated after import. Other issue-issues were fixed when import was not allowed to write to immutable resources #3785 (fixes #3017)

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

12 years agoImmutable resources were modified during import (refs #3785)
lempinen [Tue, 16 Oct 2012 10:16:33 +0000 (10:16 +0000)]
Immutable resources were modified during import (refs #3785)

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

12 years agoBetter issues. Added new issue types and remove issue sources from module types....
lempinen [Mon, 15 Oct 2012 12:31:49 +0000 (12:31 +0000)]
Better issues. Added new issue types and remove issue sources from module types. (refs #3017)

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

12 years ago* Fixing ctrl+space problem in text feed assist (refs #3697)
miettinen [Mon, 15 Oct 2012 10:39:00 +0000 (10:39 +0000)]
* Fixing ctrl+space problem in text feed assist (refs #3697)
* When the selection is chosen in text feed assist box with enter, the equation validation is run.

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

12 years agoChanged sysdyn result reader to buffered reader. Removed line counting of result...
miettinen [Mon, 15 Oct 2012 07:23:14 +0000 (07:23 +0000)]
Changed sysdyn result reader to buffered reader. Removed line counting of result file for .mat files. (refs #3699)

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

12 years agoIgnored .suo and .user files. (refs #3777)
lempinen [Fri, 12 Oct 2012 06:34:58 +0000 (06:34 +0000)]
Ignored .suo and .user files. (refs #3777)

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

12 years agoIgnored and deleted several unnecessary files. (refs #3777)
lempinen [Fri, 12 Oct 2012 06:29:27 +0000 (06:29 +0000)]
Ignored and deleted several unnecessary files. (refs #3777)

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

12 years agoValves are recognized in dependencies view to affect Stocks. (fixes #3707)
lempinen [Thu, 11 Oct 2012 09:52:25 +0000 (09:52 +0000)]
Valves are recognized in dependencies view to affect Stocks. (fixes #3707)

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

12 years agoChanged RelatedOrderedSetElementsAccessor to return an empty list if the Element...
lempinen [Thu, 11 Oct 2012 06:38:02 +0000 (06:38 +0000)]
Changed RelatedOrderedSetElementsAccessor to return an empty list if the Element has no statements (i.e. it has been removed). (fixes #3771)

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

12 years agoFixed plugin name reference (refs #3763)
lempinen [Wed, 10 Oct 2012 11:42:29 +0000 (11:42 +0000)]
Fixed plugin name reference (refs #3763)

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

12 years agoEnumeration issue source for checking that an enumeration is not empty (refs #3048)
lempinen [Wed, 10 Oct 2012 10:32:47 +0000 (10:32 +0000)]
Enumeration issue source for checking that an enumeration is not empty (refs #3048)

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

12 years agoChanged the location of FMU JNI control (refs #3763)
lempinen [Wed, 10 Oct 2012 10:29:45 +0000 (10:29 +0000)]
Changed the location of FMU JNI control (refs #3763)

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

12 years agoRemoved fmu handling from modelica plugins (refs #3763)
lempinen [Wed, 10 Oct 2012 10:26:28 +0000 (10:26 +0000)]
Removed fmu handling from modelica plugins (refs #3763)

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

12 years agofmu me win32 libraries (refs #3763)
lempinen [Wed, 10 Oct 2012 10:25:07 +0000 (10:25 +0000)]
fmu me win32 libraries (refs #3763)

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

12 years agoShare project "org.simantics.fmu.me.win32" into "https://www.simantics.org/svn/simantics"
lempinen [Wed, 10 Oct 2012 10:24:43 +0000 (10:24 +0000)]
Share project "org.simantics.fmu.me.win32" into "https://www.simantics.org/svn/simantics"

(refs #3763)

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

12 years agoorg.simantics.fmu to svn (refs #3763)
lempinen [Wed, 10 Oct 2012 10:22:34 +0000 (10:22 +0000)]
org.simantics.fmu to svn (refs #3763)

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

12 years agoShare project "org.simantics.fmu" into "https://www.simantics.org/svn/simantics"
lempinen [Wed, 10 Oct 2012 10:19:41 +0000 (10:19 +0000)]
Share project "org.simantics.fmu" into "https://www.simantics.org/svn/simantics"

(refs #3763)

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

12 years agoAdded an override to remove() that removes the HoverTextNode event handler from event...
lempinen [Wed, 10 Oct 2012 06:03:53 +0000 (06:03 +0000)]
Added an override to remove() that removes the HoverTextNode event handler from event handlers. (fixes #3762)

    @Override
    public void remove() {
        super.remove();
        removeEventHandler(this);
    }

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

12 years agoWhen the diagram loses focus and a text element is being edited, the element edition...
miettinen [Thu, 27 Sep 2012 09:31:57 +0000 (09:31 +0000)]
When the diagram loses focus and a text element is being edited, the element edition is ended, and thus a possible label change saved (refs #3643).

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

12 years agoRight-click paste allowed when no diagram elements is selected. For some reason,...
miettinen [Wed, 26 Sep 2012 13:17:18 +0000 (13:17 +0000)]
Right-click paste allowed when no diagram elements is selected. For some reason, this does not work always. (refs #3648)

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

12 years agoRename behind F2 and right mouse click (refs #3649)
miettinen [Wed, 26 Sep 2012 11:36:25 +0000 (11:36 +0000)]
Rename behind F2 and right mouse click (refs #3649)

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

12 years agoCopy, Cut, Paste under right click above sysdyn components and modules (refs #3647...
miettinen [Tue, 25 Sep 2012 11:37:28 +0000 (11:37 +0000)]
Copy, Cut, Paste under right click above sysdyn components and modules (refs #3647 #3648 # 3650).

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