]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
11 years agoAbout dialog for 1.7. This should actually work. (refs #3646) simantics-1.9
lempinen [Thu, 7 Mar 2013 12:56:44 +0000 (12:56 +0000)]
About dialog for 1.7. This should actually work. (refs #3646)

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

11 years agoVersion updates to plugins (refs #3646)
lempinen [Tue, 5 Mar 2013 13:19:36 +0000 (13:19 +0000)]
Version updates to plugins (refs #3646)

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

11 years agocquery update to simantics-1.9 branch (refs #3646)
lempinen [Tue, 5 Mar 2013 10:30:39 +0000 (10:30 +0000)]
cquery update to simantics-1.9 branch (refs #3646)

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

11 years ago"Simantics 1.9 release branching from trunk@26950 to branches/simantics-1.9 on 2013...
lehtonen [Sun, 3 Mar 2013 13:13:51 +0000 (13:13 +0000)]
"Simantics 1.9 release branching from trunk@26950 to branches/simantics-1.9 on 2013-03-03. refs #4142"

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

11 years agoFixed brekage that occurred in Sysdyn after multiline support modifications were...
lehtonen [Tue, 1 Jan 2013 21:58:52 +0000 (21:58 +0000)]
Fixed brekage that occurred in Sysdyn after multiline support modifications were made to TextNode.
Sysdyn contains scene graph node implementations that are inherited from TextNode and those were broken by r26561.

refs #3924

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

12 years agoDelete expression was still using OrderedSet. Removed all references to ordered sets...
lempinen [Thu, 20 Dec 2012 12:26:26 +0000 (12:26 +0000)]
Delete expression was still using OrderedSet. Removed all references to ordered sets (and also commented references to ordered sets) (fixes #3905)

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

12 years agoFixed save in DelayExpression. Simple copy&paste error. (fixes #3904)
lempinen [Thu, 20 Dec 2012 11:53:04 +0000 (11:53 +0000)]
Fixed save in DelayExpression. Simple copy&paste error. (fixes #3904)

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

12 years agoSet up org.simantics.sysdyn.feature build properties to bundle JRE when building...
lehtonen [Tue, 18 Dec 2012 08:12:00 +0000 (08:12 +0000)]
Set up org.simantics.sysdyn.feature build properties to bundle JRE when building with buckminster on Jenkins.

fixes #3900

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

12 years ago-XX:MaxPermSize=192 for sysdyn product launch arguments.
lehtonen [Tue, 18 Dec 2012 08:11:08 +0000 (08:11 +0000)]
-XX:MaxPermSize=192 for sysdyn product launch arguments.

fixes #3899

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

12 years agoBuild preparations (refs #3646)
lempinen [Fri, 14 Dec 2012 13:41:33 +0000 (13:41 +0000)]
Build preparations (refs #3646)

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

12 years agoNull check for lazy result reading (refs #3709)
lempinen [Tue, 11 Dec 2012 07:19:31 +0000 (07:19 +0000)]
Null check for lazy result reading (refs #3709)

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

12 years agoNull checks for lazy result reading save (refs #3709)
miettinen [Mon, 10 Dec 2012 10:41:12 +0000 (10:41 +0000)]
Null checks for lazy result reading save (refs #3709)

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

12 years agoOptimized simulation result read: Fixing results saving bug (refs #3709)
miettinen [Mon, 10 Dec 2012 09:07:47 +0000 (09:07 +0000)]
Optimized simulation result read: Fixing results saving bug (refs #3709)

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

12 years ago* Optimized simulation result read: The result file is indexed after running the...
miettinen [Fri, 7 Dec 2012 12:12:13 +0000 (12:12 +0000)]
* Optimized simulation result read: The result file is indexed after running the simulation; only the 'time' variable and parameters are read straight after the simulation. (refs #3709)
* Fixing a bug of output interval rounding up instead of rounding to the nearest.

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

12 years agoRemoved forgotten debug prints (refs #3708)
lempinen [Wed, 5 Dec 2012 13:34:43 +0000 (13:34 +0000)]
Removed forgotten debug prints (refs #3708)

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

12 years agoFixed copy issues. Changed ordered sets from sysdyn ontology to lists and added requi...
lempinen [Wed, 5 Dec 2012 12:15:42 +0000 (12:15 +0000)]
Fixed copy issues. Changed ordered sets from sysdyn ontology to lists and added required migration steps and tools for old models (refs #3708)

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

12 years agoReverted documentation changes away from trunk (refs #3884)
lempinen [Fri, 30 Nov 2012 11:18:45 +0000 (11:18 +0000)]
Reverted documentation changes away from trunk (refs #3884)

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

12 years agoFixed parameter reading and changing for 1.9 OpenModelica release. (fixes #3884)
lempinen [Fri, 30 Nov 2012 11:05:03 +0000 (11:05 +0000)]
Fixed parameter reading and changing for 1.9 OpenModelica release. (fixes #3884)

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

12 years agoRemoved spreadsheet remover and improved sheet handling (refs #3473)
lempinen [Wed, 28 Nov 2012 09:24:26 +0000 (09:24 +0000)]
Removed spreadsheet remover and improved sheet handling (refs #3473)

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

12 years agoFixed Sysdyn DiagramViewer after changes to the generic DiagramViewer in r26467.
lehtonen [Tue, 27 Nov 2012 21:43:02 +0000 (21:43 +0000)]
Fixed Sysdyn DiagramViewer after changes to the generic DiagramViewer in r26467.

refs #3863

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

12 years agoRemoved immediate text edit activation on element select. (fixes #3880)
lempinen [Tue, 27 Nov 2012 12:10:20 +0000 (12:10 +0000)]
Removed immediate text edit activation on element select. (fixes #3880)

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

12 years agoRemoved unnecessary hover hint listener code from TextElementNoBounds completely.
lehtonen [Tue, 27 Nov 2012 09:28:18 +0000 (09:28 +0000)]
Removed unnecessary hover hint listener code from TextElementNoBounds completely.
They were implemented incorrectly and caused problems in TextNode and should not be there at all.

refs #3877

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

12 years agoMigration for all imports: model, module and function library (fixes #3037)
lempinen [Tue, 27 Nov 2012 06:41:35 +0000 (06:41 +0000)]
Migration for all imports: model, module and function library (fixes #3037)

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

12 years agoVersion migration support to sysdyn. Changes paths in .tg files to enable importing...
lempinen [Mon, 26 Nov 2012 12:11:17 +0000 (12:11 +0000)]
Version migration support to sysdyn. Changes paths in .tg files to enable importing to a newer database. (fixes #3037)

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

12 years agoEnsured that all module configuration definitions are written into the declaration...
lempinen [Mon, 26 Nov 2012 12:09:18 +0000 (12:09 +0000)]
Ensured that all module configuration definitions are written into the declaration part of a model (fixes #3875)

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

12 years agoMoved calculating ranges to a different place and changed it to use synchronized...
lempinen [Mon, 26 Nov 2012 12:07:29 +0000 (12:07 +0000)]
Moved calculating ranges to a different place and changed it to use synchronized query. (fixes #3874)

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

12 years agoSpecial paste -option to diagram context menu (fixes #783)
lempinen [Fri, 23 Nov 2012 08:51:42 +0000 (08:51 +0000)]
Special paste -option to diagram context menu (fixes #783)

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

12 years agoSeparate name caches for each diagram configuration. Previously sysdyn model had...
lempinen [Thu, 22 Nov 2012 08:39:04 +0000 (08:39 +0000)]
Separate name caches for each diagram configuration. Previously sysdyn model had only one cache for the whole model. The cache was created from the first diagram configuration that was opened. (fixes #3773)

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