]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
11 years agoDisplay only allowed input variables in ModuleInputTab (fixes #4252) simantics-1.10
lempinen [Thu, 11 Apr 2013 12:27:27 +0000 (12:27 +0000)]
Display only allowed input variables in ModuleInputTab (fixes #4252)

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

11 years agoFirst take on sensitivity analysis charts. Uses the same controls as normal line...
lempinen [Thu, 11 Apr 2013 12:24:13 +0000 (12:24 +0000)]
First take on sensitivity analysis charts. Uses the same controls as normal line chart, but only one (non-array) variable works! (refs #4237)

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

11 years agoFirst take on sensitivity analysis charts. Uses the same controls as normal line...
lempinen [Thu, 11 Apr 2013 12:23:59 +0000 (12:23 +0000)]
First take on sensitivity analysis charts. Uses the same controls as normal line chart, but only one (non-array) variable works! (refs #4237)

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

11 years agoFirst take on normal distribution for sensitivity analysis (refs #4241)
lempinen [Thu, 11 Apr 2013 12:17:41 +0000 (12:17 +0000)]
First take on normal distribution for sensitivity analysis (refs #4241)

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

11 years agoFaster sensitivity analysis simulations and proper progress monitor (refs #4244)
lempinen [Thu, 11 Apr 2013 11:11:59 +0000 (11:11 +0000)]
Faster sensitivity analysis simulations and proper progress monitor (refs #4244)

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

11 years agoFirst iteration of sensitivity analysis which draws graphs and can be configured...
miettinen [Mon, 8 Apr 2013 08:57:26 +0000 (08:57 +0000)]
First iteration of sensitivity analysis which draws graphs and can be configured through the user interface. (refs #4177)

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

11 years agoThe single simulation results are now drawn in sensitivity analysis.
miettinen [Fri, 5 Apr 2013 07:34:59 +0000 (07:34 +0000)]
The single simulation results are now drawn in sensitivity analysis.
Added also two icons but they are not used currently. (refs #4177)

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

11 years agoRun multiple (3) similar simulations in Sensitivity analysis and save results in...
miettinen [Thu, 4 Apr 2013 08:46:16 +0000 (08:46 +0000)]
Run multiple (3) similar simulations in Sensitivity analysis and save results in their own files (refs #4177).

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

11 years agoFix for ColorPicker, this is only to clear errors, not to restore the desired functio...
miettinen [Wed, 3 Apr 2013 08:52:30 +0000 (08:52 +0000)]
Fix for ColorPicker, this is only to clear errors, not to restore the desired functionality (refs #4227).

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

11 years agoFixed broken variable shortcuts. The participant was using kpe.stateMask != SHIFT_DOW...
lempinen [Tue, 2 Apr 2013 07:09:09 +0000 (07:09 +0000)]
Fixed broken variable shortcuts. The participant was using kpe.stateMask != SHIFT_DOWN_MASK, which did not work anymore, since SHIFT_MASK has also been added to stateMask. Switched to use !kpe.isShiftDown(). (fixes #4221)

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

11 years agoFixed deadlock issues when game experiment is active and variable name has been chang...
lempinen [Tue, 26 Mar 2013 07:00:24 +0000 (07:00 +0000)]
Fixed deadlock issues when game experiment is active and variable name has been changed: better handling of exceptions in external reads . (fixes #4209)

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

11 years agoFixed compilation errors caused by changes in issues (fixes #4208)
lempinen [Tue, 26 Mar 2013 06:57:24 +0000 (06:57 +0000)]
Fixed compilation errors caused by changes in issues (fixes #4208)

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

11 years agoFixed non-compiling TGRefactoring after change r27196 in #4203.
lehtonen [Mon, 25 Mar 2013 19:53:42 +0000 (19:53 +0000)]
Fixed non-compiling TGRefactoring after change r27196 in #4203.

refs #4203

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

11 years agoRemoved no such variable error from module references. (refs #4194)
lempinen [Thu, 21 Mar 2013 11:57:57 +0000 (11:57 +0000)]
Removed no such variable error from module references. (refs #4194)

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

11 years agoOBJMap update to support recognizing if something has changed (refs #4183)
lempinen [Thu, 21 Mar 2013 11:36:14 +0000 (11:36 +0000)]
OBJMap update to support recognizing if something has changed (refs #4183)

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

11 years agoUse old FMU if nothing has been changed in variables, equations or other significant...
lempinen [Thu, 21 Mar 2013 11:29:37 +0000 (11:29 +0000)]
Use old FMU if nothing has been changed in variables, equations or other significant parts. (fixes #4183)

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

11 years agoRefactored import code to use MigrationUtils.importMigrated (fixes #4192)
lempinen [Thu, 21 Mar 2013 09:31:40 +0000 (09:31 +0000)]
Refactored import code to use MigrationUtils.importMigrated (fixes #4192)

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

11 years agoCopyright texts (refs #4180)
lempinen [Mon, 18 Mar 2013 08:34:42 +0000 (08:34 +0000)]
Copyright texts (refs #4180)

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

11 years agoRemoved accessor from a regular simulation result: divided SysdynResult into MemoryRe...
lempinen [Mon, 18 Mar 2013 08:13:19 +0000 (08:13 +0000)]
Removed accessor from a regular simulation result: divided SysdynResult into MemoryResult (without accessor, saveable to a file) and FileResult (read from a file and used with an accessor) (refs #4180)

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

11 years agoInitial version of the user interface for the sensitivity analysis simulation (refs...
miettinen [Fri, 15 Mar 2013 07:02:42 +0000 (07:02 +0000)]
Initial version of the user interface for the sensitivity analysis simulation (refs #4171). Currently there is little functionality under the interface.

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

11 years agoStore current valus from fmu to Game Experiment. This speeds up reading current value...
lempinen [Thu, 14 Mar 2013 14:58:27 +0000 (14:58 +0000)]
Store current valus from fmu to Game Experiment. This speeds up reading current values because you do not need the jni interface. (fixes #4175)

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

11 years agoFixed Sysdyn connection builder to work with the changes that have been made to Conne...
lehtonen [Mon, 11 Mar 2013 06:53:15 +0000 (06:53 +0000)]
Fixed Sysdyn connection builder to work with the changes that have been made to ConnectionBuilder.

refs #4114

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

11 years agoEven more awesome about dialog text. This time it might also work. (refs #3646)
lempinen [Thu, 7 Mar 2013 12:51:31 +0000 (12:51 +0000)]
Even more awesome about dialog text. This time it might also work. (refs #3646)

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

11 years agoAdded name validation for other elements than variable, module, and enumeration....
miettinen [Thu, 7 Mar 2013 11:32:41 +0000 (11:32 +0000)]
Added name validation for other elements than variable, module, and enumeration. (refs #4138 #4146)

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

11 years agoAwesome about dialog text (refs #3646)
lempinen [Tue, 5 Mar 2013 11:41:56 +0000 (11:41 +0000)]
Awesome about dialog text (refs #3646)

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

11 years agoVersion number updates (refs #3646)
lempinen [Tue, 5 Mar 2013 11:00:59 +0000 (11:00 +0000)]
Version number updates (refs #3646)

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

11 years agocquery update. Removed simantics-1.9 refernce from trunk (refs #3646)
lempinen [Tue, 5 Mar 2013 10:31:43 +0000 (10:31 +0000)]
cquery update. Removed simantics-1.9 refernce from trunk (refs #3646)

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

11 years agocquery update (refs #3646)
lempinen [Tue, 5 Mar 2013 09:53:12 +0000 (09:53 +0000)]
cquery update (refs #3646)

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

11 years agoAdded a check so that EquationTab does not create a default expression for variable...
lempinen [Fri, 1 Mar 2013 11:53:18 +0000 (11:53 +0000)]
Added a check so that EquationTab does not create a default expression for variable that has already been removed. (fixes #4137)

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

11 years agoDo not save expressions if they are not changed. (fixes #4136)
lempinen [Fri, 1 Mar 2013 10:38:51 +0000 (10:38 +0000)]
Do not save expressions if they are not changed. (fixes #4136)

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

11 years agoNullchecks to save() (refs #4133).
miettinen [Thu, 28 Feb 2013 11:40:45 +0000 (11:40 +0000)]
Nullchecks to save() (refs #4133).

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

11 years agoValidate the user defined function before saving it (refs #4133).
miettinen [Thu, 28 Feb 2013 11:15:56 +0000 (11:15 +0000)]
Validate the user defined function before saving it (refs #4133).

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

11 years agoReplaced "(" output_expression_list() ")" with "(" expression() ")". This allows...
lempinen [Thu, 28 Feb 2013 09:31:45 +0000 (09:31 +0000)]
Replaced "(" output_expression_list() ")" with "(" expression() ")". This allows equations like (1+2)^(1+1) but does not allow tuples (1,2,3)^(,,,). (fixes #3942)

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

11 years agoAdded the compiled ModelParser java files (refs #4064)
miettinen [Thu, 28 Feb 2013 07:16:46 +0000 (07:16 +0000)]
Added the compiled ModelParser java files (refs #4064)

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

11 years agoModelParser parses the inputs and outputs of user defined and shared functions. The...
miettinen [Thu, 28 Feb 2013 07:16:22 +0000 (07:16 +0000)]
ModelParser parses the inputs and outputs of user defined and shared functions. The inputs and outputs are written to the database to allow the completion processor and the function list in equation tab to show these functions and provide information of their parameters (refs #4064).

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

11 years agoNull check for saving equations before experiment actions. (refs #4130)
lempinen [Thu, 28 Feb 2013 06:52:31 +0000 (06:52 +0000)]
Null check for saving equations before experiment actions. (refs #4130)

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

11 years agoCheck that ExpressionComposite is not disposed before modifying it (fixes #4124)
lempinen [Tue, 26 Feb 2013 13:05:16 +0000 (13:05 +0000)]
Check that ExpressionComposite is not disposed before modifying it (fixes #4124)

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

11 years agoA HUGE improvement for fmu simulation. Instead of asking getRealValue(variable) for...
lempinen [Tue, 26 Feb 2013 12:53:52 +0000 (12:53 +0000)]
A HUGE improvement for fmu simulation. Instead of asking getRealValue(variable) for each variable, now we ask getRealValue(variable[]), which is very fast. (fixes #4123)

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

11 years agoMade sure that SWT fonts, images and colors are disposed correctly. (fixes #4105)
lempinen [Mon, 25 Feb 2013 09:49:27 +0000 (09:49 +0000)]
Made sure that SWT fonts, images and colors are disposed correctly. (fixes #4105)

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

11 years agoUpdated Font dialog to not use SWT graphics when possible. If SWT graphics are used...
lempinen [Mon, 25 Feb 2013 09:48:37 +0000 (09:48 +0000)]
Updated Font dialog to not use SWT graphics when possible. If SWT graphics are used, they are disposed correctly using LocalResourceManager. (fixes #4104)

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

11 years agoUpdated connect tool to use changed canConnect function interface (fixes #4116)
lempinen [Mon, 25 Feb 2013 09:46:29 +0000 (09:46 +0000)]
Updated connect tool to use changed canConnect function interface (fixes #4116)

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

11 years agoAdded monitor to MigrationUtils.importTo function call (fixes #4115)
lempinen [Mon, 25 Feb 2013 09:44:45 +0000 (09:44 +0000)]
Added monitor to MigrationUtils.importTo function call (fixes #4115)

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

11 years agoFixed SWT Color and Image leaks from ShortcutTab and CompletionProcessor (refs #4102...
miettinen [Fri, 22 Feb 2013 14:32:53 +0000 (14:32 +0000)]
Fixed SWT Color and Image leaks from ShortcutTab and CompletionProcessor (refs #4102 #4106).

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

11 years ago* Changed the order in which the functions are shown in ShortcutTabWidget and in...
miettinen [Thu, 21 Feb 2013 07:43:59 +0000 (07:43 +0000)]
* Changed the order in which the functions are shown in ShortcutTabWidget and in assistive text feed popup. (refs #3965)
* A bug fix.

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

11 years agoAdded the new function icons to the functions under the model browser as well (refs...
miettinen [Wed, 20 Feb 2013 12:17:18 +0000 (12:17 +0000)]
Added the new function icons to the functions under the model browser as well (refs #4086).

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

11 years agoAdded additionalProposalInfo to CompeltionProposals; in assistive text feed, when...
miettinen [Wed, 20 Feb 2013 11:19:53 +0000 (11:19 +0000)]
Added additionalProposalInfo to CompeltionProposals; in assistive text feed, when a function with a description is selected, a popup window will pop up on the right of the text feed assistant and print the description of the function. (refs #3965)

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

11 years agoAdding java files compiled from ModelParser.jj (refs #3965)
miettinen [Wed, 20 Feb 2013 11:03:24 +0000 (11:03 +0000)]
Adding java files compiled from ModelParser.jj (refs #3965)

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

11 years agoExportModule and ExportFunction used old transferable graph requests that did not...
lempinen [Wed, 20 Feb 2013 10:26:03 +0000 (10:26 +0000)]
ExportModule and ExportFunction used old transferable graph requests that did not work properly. Migrated them to using new ModelTransferableGraphRequest. (fixes #4081)

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

11 years agoA huge commit for Functions in equation tab (refs #4030) and expecially for Expressio...
miettinen [Tue, 19 Feb 2013 14:25:17 +0000 (14:25 +0000)]
A huge commit for Functions in equation tab (refs #4030) and expecially for Expression parser: built-in function arguments assistive text feed (refs #3965):
* Function parameters are shown in the text feed assistant and printed to the expression when the function is selected or when a function is selected in ShortcutTabWidget.
* Added almost all Modelica functions under the model browser, that is, those which seem to work correctly or might be useful. All functions have their interface variables defined in the database as well. Updated also the definitions of the built-in functions.
* Added the interfaces of built-in Modelica functions to be shown similarly to the Modelica codes of all other function.
* Created another representation for a Modelica function in another Function.java: it is used to store and provide with the name, the type, and the parameterlist of a modelica function, and can easily be expanded to do more such stuff as well.
* Added fun icons for different types of functions to the ShortcutTabWidget and the text feed assistant.
* In parsing modelica (user defined) functions, the interface variables are recognized. They are not yet used, though.
* Size of the modelica code viewer (or modelica interface) of a function in user defined or built-in functions is limited to the minimum of 150 px; otherwise the long lines in the description make the code / interface viewer disappear.
* Added auto-generated doc of ModelicaParser.

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

11 years agoParameters used the first two of all time values instead of using the first and the...
lempinen [Fri, 15 Feb 2013 15:01:30 +0000 (15:01 +0000)]
Parameters used the first two of all time values instead of using the first and the last value (refs #3983)

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

11 years agoFixed Stock initialization with single number fill(number, size) to use dynamic Enume...
lempinen [Fri, 15 Feb 2013 14:59:51 +0000 (14:59 +0000)]
Fixed Stock initialization with single number fill(number, size) to use dynamic EnumerationName.size instead of getting the size from the number of indexes defined to enumeration. This way it works also with overridden enumerations (fixes #4073)

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

11 years agoRemoved bin folder from svn. (refs #3878)
lempinen [Tue, 12 Feb 2013 12:08:29 +0000 (12:08 +0000)]
Removed bin folder from svn. (refs #3878)

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

11 years agoBetter logic and validation for user-selected OpenModelica (refs #4061)
lempinen [Tue, 12 Feb 2013 11:38:43 +0000 (11:38 +0000)]
Better logic and validation for user-selected OpenModelica (refs #4061)

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

11 years agoAdded missing OM version preference page (refs #4061)
lempinen [Tue, 12 Feb 2013 06:25:42 +0000 (06:25 +0000)]
Added missing OM version preference page (refs #4061)

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

11 years agoUsing Preferences and UI Preferences page to control OM version (refs #4061)
lempinen [Tue, 12 Feb 2013 06:20:52 +0000 (06:20 +0000)]
Using Preferences and UI Preferences page to control OM version (refs #4061)

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

11 years agoForgot to commit out document viewer (refs #4061)
lempinen [Mon, 11 Feb 2013 08:29:53 +0000 (08:29 +0000)]
Forgot to commit out document viewer (refs #4061)

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

11 years agoPreference pages for selecting OM version. This is difficult to use since preference...
lempinen [Mon, 11 Feb 2013 08:25:48 +0000 (08:25 +0000)]
Preference pages for selecting OM version. This is difficult to use since preference pages are UI components and Modelica should be headless. There needs to be changes in the Modelica interface. (refs #4061)

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

11 years agoNew OpenModelica 1.9 Beta 4. We will use this if the final release does not come...
lempinen [Fri, 8 Feb 2013 13:12:25 +0000 (13:12 +0000)]
New OpenModelica 1.9 Beta 4. We will use this if the final release does not come before Sysdyn release. (refs #3878)

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

11 years agoRemoved old OpenModelica 1.8.1 (refs #3878)
lempinen [Fri, 8 Feb 2013 12:58:23 +0000 (12:58 +0000)]
Removed old OpenModelica 1.8.1 (refs #3878)

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

11 years agoEnabled parameter overrides for normal experiments. A flattened model is created...
lempinen [Fri, 8 Feb 2013 12:50:49 +0000 (12:50 +0000)]
Enabled parameter overrides for normal experiments. A flattened model is created with OpenModelica 1.9 to find parameters, so also module instance parameters work automatically. (fixes #4060)

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

11 years agoTreat variables with pre() and delay() functions as continuous variables instead...
lempinen [Fri, 8 Feb 2013 12:38:33 +0000 (12:38 +0000)]
Treat variables with pre() and delay() functions as continuous variables instead of parameter variables (fixes #4059)

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

11 years agoUnused index variable is no longer marked as invalid index. (fixes #4058)
lempinen [Fri, 8 Feb 2013 12:35:45 +0000 (12:35 +0000)]
Unused index variable is no longer marked as invalid index. (fixes #4058)

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

11 years agoInputs do not display the name (UUID) of experiment runs as their parents (fixes...
lempinen [Fri, 8 Feb 2013 12:33:36 +0000 (12:33 +0000)]
Inputs do not display the name (UUID) of experiment runs as their parents (fixes #4057)

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

11 years agoExport model, module, and function library ask confirmation on overwriting an existin...
miettinen [Fri, 8 Feb 2013 10:23:27 +0000 (10:23 +0000)]
Export model, module, and function library ask confirmation on overwriting an existing file (refs #4021).

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

11 years agoFixing a bit more properly (refs #4048). It might work.
miettinen [Fri, 8 Feb 2013 06:36:01 +0000 (06:36 +0000)]
Fixing a bit more properly (refs #4048). It might work.

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

11 years ago* The sorting of variables in shortcut tab lost the data field. Now the data field...
miettinen [Fri, 8 Feb 2013 06:19:24 +0000 (06:19 +0000)]
* The sorting of variables in shortcut tab lost the data field. Now the data field is added in addition to the text field (refs #4048).
* Added polarity signs for dependencies whose one end is connected to a module, similarly to those that were connected to variables (refs #3940).
* Validating names of variables and module instances now checks also that there are no similarly named modules within the current model (or current module instance). Such invalid names are not accepted (#refs #3040).
* Validating names of variables and module instances now checks also that there are no similarly named module types defined in the model. Such invalid names are not accepted (#refs #680).

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

11 years agofixes #4053
luukkainen [Thu, 7 Feb 2013 13:35:25 +0000 (13:35 +0000)]
fixes #4053

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

11 years agofixes #4044
luukkainen [Thu, 31 Jan 2013 16:17:47 +0000 (16:17 +0000)]
fixes #4044

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

11 years agorefs #4043
luukkainen [Thu, 31 Jan 2013 14:24:43 +0000 (14:24 +0000)]
refs #4043

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

11 years agofixes #4041
luukkainen [Thu, 31 Jan 2013 11:24:48 +0000 (11:24 +0000)]
fixes #4041

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

11 years ago* Add the name of the item itself to the text feed assistant and the variable list...
miettinen [Wed, 30 Jan 2013 08:17:32 +0000 (08:17 +0000)]
* Add the name of the item itself to the text feed assistant and the variable list in the equation tab. (refs #4037)
* Reference to self in equation does not get the yellow underlining anymore ("No link to this variable"). (refs #4024)
* Sort items in shortcut tab
* Color time and self gray

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

11 years agoNew year (2013) to splash screen (refs #4035).
miettinen [Tue, 29 Jan 2013 12:47:01 +0000 (12:47 +0000)]
New year (2013) to splash screen (refs #4035).

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

11 years ago* Added "time" variable to text feed assistants: in expression editor, shortcut tab...
miettinen [Mon, 28 Jan 2013 11:53:32 +0000 (11:53 +0000)]
* Added "time" variable to text feed assistants: in expression editor, shortcut tab, and charts (refs #3990)
* Refactoring the deselecting in shortcutTabWidget: listeners changed to style definitions

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

11 years agoDisallowing variable names beginning with a number (refs #3939 #3945).
miettinen [Fri, 25 Jan 2013 11:24:22 +0000 (11:24 +0000)]
Disallowing variable names beginning with a number (refs #3939 #3945).

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

11 years agoShortcut tab in equation tab doesn't update the variable colors if there are syntax...
miettinen [Fri, 25 Jan 2013 10:31:02 +0000 (10:31 +0000)]
Shortcut tab in equation tab doesn't update the variable colors if there are syntax errors in the expression. That is, when the equation is being written, the list doesn't constantly go yellow and back to normal again (refs #3961).

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

11 years agoequals check did not expect null parameter.
luukkainen [Thu, 24 Jan 2013 13:31:26 +0000 (13:31 +0000)]
equals check did not expect null parameter.

refs #3988

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

11 years agoChanged the 'save equation when running simulation' feature implementation: The Equat...
miettinen [Thu, 24 Jan 2013 12:17:59 +0000 (12:17 +0000)]
Changed the 'save equation when running simulation' feature implementation: The EquationTab no longer uses keyboard focus to determine, if one of the simulate buttons are pressed. Instead, such simulation buttons that are desired to activate the saving are explicitly calling the save function of the EquationTab (refs #4009).

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

11 years ago* Add the saved simulation results under the experiment _after_ the respective Record...
miettinen [Tue, 22 Jan 2013 14:13:17 +0000 (14:13 +0000)]
* Add the saved simulation results under the experiment _after_ the respective RecordAccessors have been saved to file (refs #3958).
* Catching NPEs that are thrown if any "repeat" button is pressed consecutively (refs #4007).

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

11 years agoSimulate buttons save changes made in the model (refs #3960).
miettinen [Tue, 22 Jan 2013 07:11:22 +0000 (07:11 +0000)]
Simulate buttons save changes made in the model (refs #3960).
When pressing certain simulation buttons in toolbar, they acquire the focus which in turn causes focus listeners to save changes, e.g. in EquationTab. All buttons do not cause this effect.

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

11 years agoAfter copy, equations are changed to match the names of the copied variables. (fixes...
lempinen [Fri, 18 Jan 2013 12:08:58 +0000 (12:08 +0000)]
After copy, equations are changed to match the names of the copied variables. (fixes #3893)

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

11 years agoStringChooser for selecting objects with labels.
luukkainen [Fri, 18 Jan 2013 11:18:04 +0000 (11:18 +0000)]
StringChooser for selecting objects with labels.
Replaced TrackedText with StingChooser in Bar/PiePropertyComposite2.

refs #3988
fixes #3996

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

11 years agorefs #3996
luukkainen [Fri, 18 Jan 2013 08:32:42 +0000 (08:32 +0000)]
refs #3996

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

11 years agoSeparated fmu instantiation from initialization. Initial values can be changed after...
lempinen [Fri, 18 Jan 2013 08:22:44 +0000 (08:22 +0000)]
Separated fmu instantiation from initialization. Initial values can be changed after instantiation and before initialization with normal setRealValue, setBooleanValue, etc. If initialization has not been run after instantiation, and user tries to simulate steps, initialiation is run. (fixes #3909)

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

11 years agoReference to self no longer creates a "not connected" issue (fixes #3999)
lempinen [Fri, 18 Jan 2013 08:19:09 +0000 (08:19 +0000)]
Reference to self no longer creates a "not connected" issue (fixes #3999)

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

11 years agoReplaced awkward Pair construct with ChartVariable class.
luukkainen [Thu, 17 Jan 2013 16:14:59 +0000 (16:14 +0000)]
Replaced awkward Pair construct with ChartVariable class.

refs #3988

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

11 years agoTemporary UI for labels with separate rvi / labels.
luukkainen [Thu, 17 Jan 2013 13:58:35 +0000 (13:58 +0000)]
Temporary UI for labels with separate rvi / labels.

refs #3988

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

11 years agoInitial variable rvi / label separation. Work in progress...
luukkainen [Thu, 17 Jan 2013 13:57:47 +0000 (13:57 +0000)]
Initial variable rvi / label separation. Work in progress...

refs #3988

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

11 years agochart selection processor moved to jfreechart plug-in
luukkainen [Wed, 16 Jan 2013 16:12:55 +0000 (16:12 +0000)]
chart selection processor moved to jfreechart plug-in

refs #3988

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

11 years agochart component moved to jfreechart plug-in.
luukkainen [Wed, 16 Jan 2013 10:57:37 +0000 (10:57 +0000)]
chart component moved to jfreechart plug-in.

refs #3988

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

11 years agochart component moved to jfreechart plug-in.
luukkainen [Wed, 16 Jan 2013 10:53:01 +0000 (10:53 +0000)]
chart component moved to jfreechart plug-in.

refs #3988

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

11 years agochart component moved to jfreechart plug-in.
luukkainen [Wed, 16 Jan 2013 10:49:27 +0000 (10:49 +0000)]
chart component moved to jfreechart plug-in.

refs #3988

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

11 years agoMoved jfreechart related ontologies
luukkainen [Wed, 16 Jan 2013 10:47:57 +0000 (10:47 +0000)]
Moved jfreechart related ontologies

refs #3988

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

11 years agoSysdyn charts component as a separate plug-in.
luukkainen [Wed, 16 Jan 2013 10:42:17 +0000 (10:42 +0000)]
Sysdyn charts component as a separate plug-in.

refs #3988

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

11 years agoShare project "org.simantics.jfreechart" into "https://www.simantics.org/svn/simantics"
luukkainen [Wed, 16 Jan 2013 10:41:28 +0000 (10:41 +0000)]
Share project "org.simantics.jfreechart" into "https://www.simantics.org/svn/simantics"

refs #3988

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

11 years agoSmall memory leak fixed in redrawing the trend view (refs #3797).
miettinen [Tue, 15 Jan 2013 13:05:25 +0000 (13:05 +0000)]
Small memory leak fixed in redrawing the trend view (refs #3797).

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

11 years agoAllow function calls as enumeration indexes (fixes #3977)
lempinen [Fri, 11 Jan 2013 11:12:53 +0000 (11:12 +0000)]
Allow function calls as enumeration indexes (fixes #3977)

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

11 years agoValueIndexVariable provides the possibly changed value in game experiments without...
lempinen [Fri, 11 Jan 2013 10:57:03 +0000 (10:57 +0000)]
ValueIndexVariable provides the possibly changed value in game experiments without having to simulate steps. (fixes #3976)

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

11 years agoDependency node is a text node and it requires a string as text. Updated the string...
lempinen [Fri, 11 Jan 2013 10:42:09 +0000 (10:42 +0000)]
Dependency node is a text node and it requires a string as text. Updated the string to be empty instead of null, if polarity has not been set. (fixes #3975)

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

11 years agoPreparing for new OpenModelica release (refs #3878)
lempinen [Fri, 11 Jan 2013 10:35:59 +0000 (10:35 +0000)]
Preparing for new OpenModelica release (refs #3878)

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

11 years agoAsking OpenModelica version only upon running the first experiment after startup...
miettinen [Wed, 9 Jan 2013 10:14:07 +0000 (10:14 +0000)]
Asking OpenModelica version only upon running the first experiment after startup (refs #3941).

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