]> gerrit.simantics Code Review - simantics/platform.git/log
simantics/platform.git
7 years agoFixed target platform to contain bundles necessary to compile platform 23/923/4
Tuukka Lehtonen [Wed, 6 Sep 2017 09:42:57 +0000 (12:42 +0300)]
Fixed target platform to contain bundles necessary to compile platform

refs #7263

Change-Id: I08072031e6917f6de9e9d3c964ca62aad07b3a05

7 years agoInclude more stuff in target platform that is needed for 1.30.0 release 22/922/1
Tuukka Lehtonen [Wed, 6 Sep 2017 09:33:49 +0000 (12:33 +0300)]
Include more stuff in target platform that is needed for 1.30.0 release

refs #7263

Change-Id: Ia60994e87441c05ffb93e4c1f585f6bd1125997c

7 years agoFixed RVI.fromResourceFormat GUID RVI part parsing
Tuukka Lehtonen [Sat, 5 Aug 2017 08:56:17 +0000 (11:56 +0300)]
Fixed RVI.fromResourceFormat GUID RVI part parsing

The code was skipping over the first character of GUID RVI parts
producing invalid RVIs. This again resulted in the creation of invalid
subscriptions etc.

refs #7413

Change-Id: I755b79ca352355789846b2ff49858b757fea9c63
(cherry picked from commit 1051b77973cc1ff7363798f1fed018ddc356dc1d)

7 years agoAdded Simantics/Diagram#diagramsUnder to complement diagramsOf 08/808/1
Tuukka Lehtonen [Fri, 4 Aug 2017 21:31:43 +0000 (00:31 +0300)]
Added Simantics/Diagram#diagramsUnder to complement diagramsOf

refs #7410

Change-Id: Iab18ab1bf44e96decbc14de2a5289b51feca387f
(cherry picked from commit 159f9e3b618521c76a9dc6c8ffd94a7a3c35b82a)

7 years agoEXPERIMENT_STATE_READ needs to be triggered on state change 03/803/1
Antti Villberg [Thu, 3 Aug 2017 06:57:36 +0000 (09:57 +0300)]
EXPERIMENT_STATE_READ needs to be triggered on state change

refs #7407

Change-Id: I3ea065b9b822980a183048de910714cbf9321716
(cherry picked from commit 7ffbcb78ddb8c619bd5a88fbbcd6f079cc1684fc)

7 years agoSafer URI unescaping for CSVFormatter subscription CSV exporter 89/789/1
Tuukka Lehtonen [Wed, 2 Aug 2017 07:16:26 +0000 (10:16 +0300)]
Safer URI unescaping for CSVFormatter subscription CSV exporter

refs #7401

Change-Id: I9d2da9b6725a457abf62020870bdf5759350a079

7 years ago(refs #7371) Support expression cloning for ECHRSelect 86/786/1
Hannu Niemistö [Mon, 31 Jul 2017 15:12:18 +0000 (18:12 +0300)]
(refs #7371) Support expression cloning for ECHRSelect

Change-Id: Ie4ea77e03eccc3f59b7c0e27e0528527826df9e4
(cherry picked from commit 4ebc60b24db646dc2c64dd54190b029b8e28d030)

7 years agoConfigured release/1.30.0 branch for SDK builds.
Tuukka Lehtonen [Tue, 1 Aug 2017 14:45:41 +0000 (17:45 +0300)]
Configured release/1.30.0 branch for SDK builds.

refs #7263

7 years agoPrevent unnecessary exception logging in DescriptionTooltipRule 85/785/2
Tuukka Lehtonen [Tue, 1 Aug 2017 11:52:19 +0000 (14:52 +0300)]
Prevent unnecessary exception logging in DescriptionTooltipRule

refs #7393

Change-Id: Ifd473d11d0987f112c2bf616f2619d05cdf7c055

7 years agoCopy URI context menu action to Model Browser for development mode 31/731/4
jsimomaa [Thu, 20 Jul 2017 05:10:21 +0000 (08:10 +0300)]
Copy URI context menu action to Model Browser for development mode

The contribution is only visible if -dev argument has been specified,
i.e. org.eclipse.core.runtime.Platform.inDevelopmentMode() returns true.

It is also visible only when the input object is either a Resource or a
Variable.

refs #7372

Change-Id: Ie0a798f76a314da30cfd4023bb92f68ececd9f2a

7 years agoMerge "Improve PrettyPrintTG performance"
Tuukka Lehtonen [Tue, 1 Aug 2017 10:10:07 +0000 (13:10 +0300)]
Merge "Improve PrettyPrintTG performance"

7 years agoRelease engineering doc now reflects simupedia git move.
Tuukka Lehtonen [Tue, 1 Aug 2017 10:08:32 +0000 (13:08 +0300)]
Release engineering doc now reflects simupedia git move.

refs #7263

7 years agoImprove PrettyPrintTG performance 65/765/2
jsimomaa [Wed, 26 Jul 2017 06:40:35 +0000 (09:40 +0300)]
Improve PrettyPrintTG performance

refs #7383

Change-Id: I4c372679d1049d87a0c8c06ec18228ab826e1510

7 years agoFail safe import fixes made by Antti 17/717/3
jsimomaa [Mon, 17 Jul 2017 07:02:14 +0000 (10:02 +0300)]
Fail safe import fixes made by Antti

Fail safe import & pretty print fixes made by Antti and patch received
from Jussi

refs #7350 refs #7308 refs #7309

Change-Id: I63497ae3ac23f6cff579268e17e501b1647a74f3

7 years agoIgnore multiple modelled tests via context menu action 64/764/2
jsimomaa [Wed, 26 Jul 2017 06:26:25 +0000 (09:26 +0300)]
Ignore multiple modelled tests via context menu action

refs #7382

Change-Id: I8e6c5abddd51a75fad027283c3bc845817b634bd

7 years agoMerge "LabelDecorator.decorateLabel can return null"
Hannu Niemistö [Mon, 31 Jul 2017 06:29:21 +0000 (09:29 +0300)]
Merge "LabelDecorator.decorateLabel can return null"

7 years agoIssue context modelling enhancements 83/783/1
Antti Villberg [Mon, 31 Jul 2017 05:26:45 +0000 (08:26 +0300)]
Issue context modelling enhancements

refs #7391

Change-Id: Ib1ecb5f161cf85487ee5b6ff43f5640b645ca600

7 years agoConfigurability for Layer0 List modelling 82/782/1
Antti Villberg [Mon, 31 Jul 2017 05:25:41 +0000 (08:25 +0300)]
Configurability for Layer0 List modelling

refs #7390

Change-Id: Iaa0409642364c5e75de4b1bdac1efb281150a06a

7 years agoOpen diagram from issue 67/767/2
xsimomjan [Wed, 26 Jul 2017 10:42:20 +0000 (13:42 +0300)]
Open diagram from issue

refs #7385

Change-Id: I23b599ec2708146c7de19186576d5a0e8d80fc56

7 years agoMerge "JsonNode support with Data/Json"
Hannu Niemistö [Fri, 28 Jul 2017 10:00:11 +0000 (13:00 +0300)]
Merge "JsonNode support with Data/Json"

7 years agoJsonNode support with Data/Json 71/771/1
Antti Villberg [Thu, 27 Jul 2017 11:57:17 +0000 (14:57 +0300)]
JsonNode support with Data/Json

refs #7388

Change-Id: I602fd4a3ca3dfa8aac2eb873d4dbce79698b612f

7 years ago(refs #7386) Minor SCL tools improvements 68/768/3
Hannu Niemistö [Wed, 26 Jul 2017 11:10:42 +0000 (14:10 +0300)]
(refs #7386) Minor SCL tools improvements

* A new error type for failed imports that are shown only after other
errors and have their own icon
* Definition location for data type constructors
* Improved content assist for nested namespaces

Change-Id: Ie2a32f755a2487d8d969bb10c927b39e4d304165

7 years agoMerge "(refs #7384) Added SetUtils module with Set.fromList and Set.toList"
Hannu Niemistö [Wed, 26 Jul 2017 11:16:58 +0000 (14:16 +0300)]
Merge "(refs #7384) Added SetUtils module with Set.fromList and Set.toList"

7 years ago(refs #7384) Added SetUtils module with Set.fromList and Set.toList 66/766/1
Hannu Niemistö [Wed, 26 Jul 2017 07:20:08 +0000 (10:20 +0300)]
(refs #7384) Added SetUtils module with Set.fromList and Set.toList

Change-Id: I25e9808539a2093af62a686a9c3dd1332d3d7abf

7 years agoCombination of Simantics-platform related changes and fixes for district 47/747/5
jsimomaa [Fri, 5 May 2017 04:31:32 +0000 (07:31 +0300)]
Combination of Simantics-platform related changes and fixes for district

Some platform changes for district

Change-Id: Ib7aa44432f3e468ca11542debf33191b8403c742

Some more fixes to platform for district

Change-Id: Ifd718c20d5a98806e93c365b45ce3bdd003b4118

7 years ago(refs #7375) export visitors package 63/763/1
jsimomaa [Tue, 25 Jul 2017 17:52:40 +0000 (20:52 +0300)]
(refs #7375) export visitors package

Change-Id: Ic3e4199f2e3b0a657c57b62b43077319fd6a9717

7 years agoTreeGridWidget improvements 62/762/2
Antti Villberg [Tue, 25 Jul 2017 13:13:25 +0000 (16:13 +0300)]
TreeGridWidget improvements

refs #7381

Change-Id: I79a2650fef07142cc95c6bd31e901e062baeba75

7 years agoisImmutable can NPE 58/758/2
Antti Villberg [Mon, 24 Jul 2017 12:54:19 +0000 (15:54 +0300)]
isImmutable can NPE

refs #7380

Change-Id: I8b1eac67b58664f0986dfeea5315f791721d8393

7 years ago(refs #7375) Fixed implementation of collectEffects 59/759/1
Hannu Niemistö [Mon, 24 Jul 2017 14:36:55 +0000 (17:36 +0300)]
(refs #7375) Fixed implementation of collectEffects

Change-Id: I25ebbb6b35e8d1828f36da5c55de8763364c8dd3

7 years ago(refs #7375) Replaced collectVars method by a visitor 56/756/1
Hannu Niemistö [Mon, 24 Jul 2017 12:08:41 +0000 (15:08 +0300)]
(refs #7375) Replaced collectVars method by a visitor

Change-Id: I4838702fadeca47449433693dae9630d5cac895d

7 years ago(refs #7375) Replaced collectFreeVariables method by a visitor 55/755/2
Hannu Niemistö [Mon, 24 Jul 2017 11:19:26 +0000 (14:19 +0300)]
(refs #7375) Replaced collectFreeVariables method by a visitor

Change-Id: I89817b8a075d6261b351fbbd70c40d9f9ccc59cc

7 years agoMerge "(refs #7375) Replaced collectEffects by CollectEffectsVisitor"
Hannu Niemistö [Mon, 24 Jul 2017 10:52:26 +0000 (13:52 +0300)]
Merge "(refs #7375) Replaced collectEffects by CollectEffectsVisitor"

7 years agoPreventing unnecessary ModuleSource compilation in SCL-editor 48/748/3
jsimomaa [Sun, 23 Jul 2017 15:39:38 +0000 (18:39 +0300)]
Preventing unnecessary ModuleSource compilation in SCL-editor

Current toTextualModuleSource() is called quite extensively when
isModifiable() is called. The module source can be cached as the input
of the editor does not tend to change

refs #7369

Change-Id: I671af197750301f8bffbb9624f58c5bab656e08b

7 years ago(refs #7375) Replaced collectEffects by CollectEffectsVisitor 53/753/1
Hannu Niemistö [Mon, 24 Jul 2017 10:02:04 +0000 (13:02 +0300)]
(refs #7375) Replaced collectEffects by CollectEffectsVisitor

Change-Id: I41b489ad872140bf7a0f0a83714a50431b48c3a6

7 years agoMerge "possibleVariable into Simantics/Variables"
Hannu Niemistö [Mon, 24 Jul 2017 10:01:47 +0000 (13:01 +0300)]
Merge "possibleVariable into Simantics/Variables"

7 years agopossibleVariable into Simantics/Variables 52/752/1
Antti Villberg [Mon, 24 Jul 2017 09:45:09 +0000 (12:45 +0300)]
possibleVariable into Simantics/Variables

#7379

Change-Id: I2fdfb4ed186f08262d0f220f112a29f0f825c401

7 years agoMerge "(refs #7375) Replace collectRefs by CollectRefsVisitor"
Hannu Niemistö [Mon, 24 Jul 2017 09:08:59 +0000 (12:08 +0300)]
Merge "(refs #7375) Replace collectRefs by CollectRefsVisitor"

7 years ago(refs #7375) Replace collectRefs by CollectRefsVisitor 51/751/1
Hannu Niemistö [Mon, 24 Jul 2017 08:15:12 +0000 (11:15 +0300)]
(refs #7375) Replace collectRefs by CollectRefsVisitor

Change-Id: I77bf548a062bb365f43284778845678fb50341d5

7 years agoMerge "(refs #7375) Replaced forVariables by a visitor"
Hannu Niemistö [Mon, 24 Jul 2017 07:53:07 +0000 (10:53 +0300)]
Merge "(refs #7375) Replaced forVariables by a visitor"

7 years ago(refs #7375) Replaced forVariables by a visitor 50/750/1
Hannu Niemistö [Mon, 24 Jul 2017 07:34:38 +0000 (10:34 +0300)]
(refs #7375) Replaced forVariables by a visitor

Change-Id: I5737e75491a1341711f89fbcf9749ee88d953c92

7 years agoUse single SCLOsgi.MODULE_REPOSITORY for ModelledSTSTest.run() 49/749/1
jsimomaa [Mon, 24 Jul 2017 06:56:44 +0000 (09:56 +0300)]
Use single SCLOsgi.MODULE_REPOSITORY for ModelledSTSTest.run()

refs #7378

Change-Id: Ib4a2b38cad5dbb275c2bdc69e89879878da72605

7 years agoBuiltins and JavaModule SCL modules may leak memory 35/735/4
jsimomaa [Thu, 20 Jul 2017 13:17:36 +0000 (16:17 +0300)]
Builtins and JavaModule SCL modules may leak memory

Still needs a better fix though

refs #7352

Change-Id: I9206376349bedf4a92763094b2859230dbf69f77

7 years agoMerge "CHR query translation and support for assignment in CHR bodies"
Hannu Niemistö [Sat, 22 Jul 2017 20:39:41 +0000 (23:39 +0300)]
Merge "CHR query translation and support for assignment in CHR bodies"

7 years agoSet sonar project version to 1.30.
Tuukka Lehtonen [Fri, 21 Jul 2017 21:07:38 +0000 (00:07 +0300)]
Set sonar project version to 1.30.

7 years agoCHR query translation and support for assignment in CHR bodies 43/743/1
Hannu Niemistö [Fri, 21 Jul 2017 13:22:19 +0000 (16:22 +0300)]
CHR query translation and support for assignment in CHR bodies

refs #7377

Change-Id: Ia9adf1cf52670c7a5de50210d7c155ff8bc4bf8d

7 years ago(refs #7377) Refactoring CHR query parsing
Hannu Niemistö [Fri, 21 Jul 2017 11:06:25 +0000 (14:06 +0300)]
(refs #7377) Refactoring CHR query parsing

Change-Id: Ia0e2e4589180505c02fabeb5b1dd2267825e3255

7 years ago(refs #7375) Replaced ExpressionDecorator by ExpressionTransformer 37/737/1
Hannu Niemistö [Fri, 21 Jul 2017 08:00:46 +0000 (11:00 +0300)]
(refs #7375) Replaced ExpressionDecorator by ExpressionTransformer

Change-Id: I4396a632a63902afd38065834d9c96c159bba9c1

7 years agoSCL REST API server 34/734/6
jsimomaa [Thu, 20 Jul 2017 11:59:19 +0000 (14:59 +0300)]
SCL REST API server

refs #7374

Change-Id: I24cf990d717cdc6bb3fc5bc44d4afdd39aade864

7 years agoUncommon Acorn deadlock fix 32/732/2
jsimomaa [Thu, 20 Jul 2017 06:53:12 +0000 (09:53 +0300)]
Uncommon Acorn deadlock fix

refs #7373

Change-Id: Ica31908fca0b70da87bbcf75deb2476bdf305cde

7 years ago(refs #7374) Created CommandSessionWithModules 33/733/1
Hannu Niemistö [Thu, 20 Jul 2017 08:28:54 +0000 (11:28 +0300)]
(refs #7374) Created CommandSessionWithModules

Change-Id: I6706caaf92018e4ccbf4ad11bd9a58789085fb6a

7 years agoMerge "(refs #7371) Support for select keyword for CHR constraints"
Hannu Niemistö [Thu, 20 Jul 2017 07:47:57 +0000 (10:47 +0300)]
Merge "(refs #7371) Support for select keyword for CHR constraints"

7 years agoImplementing Java camelCase breaking in SCL module editor 24/724/3
jsimomaa [Tue, 18 Jul 2017 12:45:03 +0000 (15:45 +0300)]
Implementing Java camelCase breaking in SCL module editor

This feature enables the behavior familiar from Eclipse's Java-editor
where CTRL (SHIFT) + RIGHT_ARROW/LEFT_ARROW navigate text

[EDIT] add missing MANIFEST.MF

refs #7369

Change-Id: I7c9a37107ad9530bd421360fe35479960cce4d28

7 years ago(refs #7371) Support for select keyword for CHR constraints 26/726/2
Hannu Niemistö [Wed, 19 Jul 2017 10:42:20 +0000 (13:42 +0300)]
(refs #7371) Support for select keyword for CHR constraints

Change-Id: Ie23a1cd698b230f9be05ff38c937cfcbd13d658b

7 years agoMerge "AbstractCompileStructuralValueRequest uses wrong RuntimeEnvironment"
Jani Simomaa [Mon, 17 Jul 2017 19:17:55 +0000 (22:17 +0300)]
Merge "AbstractCompileStructuralValueRequest uses wrong RuntimeEnvironment"

7 years agoIncrease the version number of org.simantics.document.server.io 02/702/2
jsimomaa [Sat, 8 Jul 2017 07:36:49 +0000 (10:36 +0300)]
Increase the version number of org.simantics.document.server.io

Increase the version number to fix simupedia git build problems

refs #6712 refs #7019

Change-Id: I45cd2268b8e24aea479c1901c30984e5b4464251

7 years ago(refs #7365) Fixed the bug in the test CHR11.scl 16/716/1
Hannu Niemistö [Sun, 16 Jul 2017 10:32:05 +0000 (13:32 +0300)]
(refs #7365) Fixed the bug in the test CHR11.scl

Change-Id: I961c3ae92013ec4085fe61eee9021a3cc0aff6e4

7 years ago(refs #7365) Unit test for the bug 15/715/1
Hannu Niemistö [Thu, 13 Jul 2017 11:56:46 +0000 (14:56 +0300)]
(refs #7365) Unit test for the bug

"CHR constraint from an included ruleset is activated multiple times"

Change-Id: If24b6b3251ad563ccc8f9db9c97c71279f688325

7 years agoLabelDecorator.decorateLabel can return null 13/713/1
jsimomaa [Wed, 12 Jul 2017 13:43:40 +0000 (16:43 +0300)]
LabelDecorator.decorateLabel can return null

refs #7364

Change-Id: I3850429ed8a75b375f4f7f63b23bf95d9bf8e81f

7 years agoAbstractCompileStructuralValueRequest uses wrong RuntimeEnvironment 12/712/1
jsimomaa [Wed, 12 Jul 2017 11:18:41 +0000 (14:18 +0300)]
AbstractCompileStructuralValueRequest uses wrong RuntimeEnvironment

refs #7363

Change-Id: I4b60a5cc4aefc65c86b88ff93fe8951f40bd1238

7 years ago(refs #7362) Creation of new SCL modules in SCL module browser 11/711/1
Hannu Niemistö [Wed, 12 Jul 2017 07:59:06 +0000 (10:59 +0300)]
(refs #7362) Creation of new SCL modules in SCL module browser

Change-Id: Ieb99edbd22db8092edd62449b739f6ae2b5824ab

7 years agoMarkdown to HTML generator has now genration options 10/710/1
Hannu Niemistö [Tue, 11 Jul 2017 12:20:12 +0000 (15:20 +0300)]
Markdown to HTML generator has now genration options

Change-Id: Ifcb03519f497f32f2cbd870743ba3e349887cdab

7 years agoUpdated CommonMark specification, used only for tests 03/703/1
Hannu Niemistö [Sun, 9 Jul 2017 06:38:20 +0000 (09:38 +0300)]
Updated CommonMark specification, used only for tests

Change-Id: Ib1f51968ea008a36d1b1492c57d5b9750d29c1e0

7 years agoDynamic terminals and connections 83/683/1
jsimomaa [Fri, 7 Jul 2017 06:32:24 +0000 (09:32 +0300)]
Dynamic terminals and connections

Change-Id: I15242c8bf58a5b16529f924987fd8bf51cf69d0b

7 years agoMerge "OptionGroup: fixed Names field & ListItem disabled / selected flags"
Tuukka Lehtonen [Wed, 5 Jul 2017 08:05:47 +0000 (11:05 +0300)]
Merge "OptionGroup: fixed Names field & ListItem disabled / selected flags"

7 years agoOptionGroup: fixed Names field & ListItem disabled / selected flags 79/679/1
Marko Luukkainen [Wed, 5 Jul 2017 07:49:20 +0000 (10:49 +0300)]
OptionGroup: fixed Names field & ListItem disabled / selected flags

refs #7351

Change-Id: I5bcd192a1785eacdf9731d33d865981ad181d4e6

7 years agoMerge "Fixed diagram copy/paste implementations to re-identify diagram elements"
Tuukka Lehtonen [Wed, 5 Jul 2017 07:37:28 +0000 (10:37 +0300)]
Merge "Fixed diagram copy/paste implementations to re-identify diagram elements"

7 years agoMerge "Added memory leak test and fixed the leak by removing references"
Hannu Niemistö [Wed, 5 Jul 2017 07:33:25 +0000 (10:33 +0300)]
Merge "Added memory leak test and fixed the leak by removing references"

7 years agoFixed diagram copy/paste implementations to re-identify diagram elements 78/678/2
Tuukka Lehtonen [Tue, 4 Jul 2017 10:57:34 +0000 (13:57 +0300)]
Fixed diagram copy/paste implementations to re-identify diagram elements

Previously copying elements within or between diagram editors and also
copying diagrams in the model browser would preserve GUID identifiers
for the diagram ordered set structure itself and all its elements. The
correct behavior is now implemented which is to force the system to
generate new GUID identifiers for all copied structures that have
identifiers.

refs #7348

Change-Id: I811bb4a118ffb9321577ef46f6651459379cdd08

7 years ago(refs #7322) Implemented visitors for CHRStatement 77/677/1
Hannu Niemistö [Tue, 4 Jul 2017 10:15:25 +0000 (13:15 +0300)]
(refs #7322) Implemented visitors for CHRStatement

Change-Id: I2f1b3b48fbb2060ba894cf209a9053a42bdf6560

7 years agoAdded memory leak test and fixed the leak by removing references 76/676/1
Hannu Niemistö [Tue, 4 Jul 2017 09:44:40 +0000 (12:44 +0300)]
Added memory leak test and fixed the leak by removing references

refs #7352

Change-Id: Idc412759d49314f3226e6b1648881aaab8248fe9

7 years agoDelete temporary files after use in delayed writes and model TG export 69/669/3
Tuukka Lehtonen [Mon, 3 Jul 2017 21:09:51 +0000 (00:09 +0300)]
Delete temporary files after use in delayed writes and model TG export

Also, delayed writes no longer create temporary files for commits that
create under 512KB of committed data.

refs #7091
refs #7092

Change-Id: Iff75738b9cc41a52eb88df32b51ddc7cd8af812d

7 years agoFixed changes made in commit 3a10ce85. 75/675/2
Tuukka Lehtonen [Mon, 3 Jul 2017 20:46:20 +0000 (23:46 +0300)]
Fixed changes made in commit 3a10ce85.

refs #7339

Change-Id: Ib47a5eb67c83a716d82526a5f61c303d9e34f235

7 years agoMerge "Add hashcodes from URI's as id if no component is found for SVG print"
Tuukka Lehtonen [Mon, 3 Jul 2017 20:34:07 +0000 (23:34 +0300)]
Merge "Add hashcodes from URI's as id if no component is found for SVG print"

7 years agoAdd hashcodes from URI's as id if no component is found for SVG print 74/674/5
jsimomaa [Mon, 3 Jul 2017 18:46:33 +0000 (21:46 +0300)]
Add hashcodes from URI's as id if no component is found for SVG print

Change-Id: If278ef81d6006aff9ac487e2d34f014e0b671f28

7 years agoFixed ResourceEditorSupport.scheduleEditorClose wrong thread invocation 72/672/2
Tuukka Lehtonen [Mon, 3 Jul 2017 15:44:05 +0000 (18:44 +0300)]
Fixed ResourceEditorSupport.scheduleEditorClose wrong thread invocation

Now using safer means to gain access to an editor's containing shell
than previously.

refs #7349

Change-Id: I0c5ff9711703608fd34a17cc474ed9490e5ab4d5

7 years agoRouteGraphUtils.readConnectionStyle returns default value if necessary 71/671/2
Tuukka Lehtonen [Mon, 3 Jul 2017 15:39:32 +0000 (18:39 +0300)]
RouteGraphUtils.readConnectionStyle returns default value if necessary

Fixed problems in casting to BasicConnectionStyle introduced in commit
e571f799.

refs #7323

Change-Id: I22a74322c44764da6fba61d6af5c16a4f71c712e

7 years agoIgnore ModuleCompilationOptions 73/673/1
jsimomaa [Mon, 3 Jul 2017 18:24:36 +0000 (21:24 +0300)]
Ignore ModuleCompilationOptions

for now until UnsupportedOperationException in CHR is fixed..

Change-Id: I701cc6156a2f02b6eb2b5f84949f961a340dd286

7 years agoDiagram to SVG enhancements and stabilization 65/665/2
jsimomaa [Thu, 29 Jun 2017 11:06:32 +0000 (14:06 +0300)]
Diagram to SVG enhancements and stabilization

* Introducing the possibility to map component identifiers from default
to something else in order to stabilize SVG printing of same diagrams in
different databases

refs #7340

Change-Id: I2338703a4b0e04fe1680854f749c9e8a28db134e

7 years ago(refs #7346) Give a proper error message about unresolved relations 70/670/1
Hannu Niemistö [Mon, 3 Jul 2017 08:35:12 +0000 (11:35 +0300)]
(refs #7346) Give a proper error message about unresolved relations

Change-Id: I0819c0cbc1c58e1090ac79f8457bcf308796cd23

7 years agoReduce the amount of annoying Retry mutex acquire print 39/639/4
jsimomaa [Mon, 19 Jun 2017 05:43:05 +0000 (08:43 +0300)]
Reduce the amount of annoying Retry mutex acquire print

refs #7175

Change-Id: If9505ec6b79aeee38971f523bb6f1909493abd81

7 years agoMerge "View for used SCL expressions"
Tuukka Lehtonen [Fri, 30 Jun 2017 11:52:55 +0000 (14:52 +0300)]
Merge "View for used SCL expressions"

7 years agoView for used SCL expressions 68/668/2
jsimomaa [Fri, 30 Jun 2017 10:30:57 +0000 (13:30 +0300)]
View for used SCL expressions

refs #7344

Change-Id: Ic2e902fc9742afce80e1ead764528e8eb35704a6

7 years agoPolling and pollingfunction fixes 66/666/3
Miro Richard Eklund [Fri, 30 Jun 2017 09:04:33 +0000 (12:04 +0300)]
Polling and pollingfunction fixes

Added primitivevaluevariable and handles polling function issues.

Amend: Removed syserr printline and put stackstace to logger.

refs #7342

Change-Id: Iba326499fe5bc00d6a512fc290420ba735d62642

7 years agoLayer0Utils.addL0Identifier to prevent possible differentiation of code 64/664/2
jsimomaa [Thu, 29 Jun 2017 10:59:41 +0000 (13:59 +0300)]
Layer0Utils.addL0Identifier to prevent possible differentiation of code

refs #7339

Change-Id: Idfe7a61e1baacbeb782317f0cc0688ee5d0c4a9b

7 years agoUse parent name in JUnit STS test identifiers 63/663/2
jsimomaa [Thu, 29 Jun 2017 10:55:46 +0000 (13:55 +0300)]
Use parent name in JUnit STS test identifiers

Previous implementation groups all tests under
ModelledSTSTestRunner.class.getName() which is not desired with modelled
STS tests

refs #7338

Change-Id: Iead3594ef081fa82071ccc30a9f4a33dcd3d7ceb

7 years agoLayer0Utils.claimAdaptedValue does not support type adapting 62/662/1
jsimomaa [Thu, 29 Jun 2017 05:09:43 +0000 (08:09 +0300)]
Layer0Utils.claimAdaptedValue does not support type adapting

refs #7336

Change-Id: I31cf518661eaf30dd1484bdba812c4c3b0d9db4d

7 years agoCommonDBUtils possibleRelatedString/Integer were not "possible" 61/661/1
jsimomaa [Thu, 29 Jun 2017 05:04:38 +0000 (08:04 +0300)]
CommonDBUtils possibleRelatedString/Integer were not "possible"

refs #7335

Change-Id: Ia71f156e7c3b047582d5568343d8782003af7025

7 years agoFixing Shared libraries property tab to list shared libraries 58/658/1
jsimomaa [Wed, 28 Jun 2017 04:33:09 +0000 (07:33 +0300)]
Fixing Shared libraries property tab to list shared libraries

Due to changes made in #7303 shared libraries were not listed in Shared
libraries property tab

refs #7334

Change-Id: I0c7d33237157005d06ce70ee3968b781ab1207cd

7 years agoAdded two missing features to org.simantics.sdk feature 55/655/1
Tuukka Lehtonen [Tue, 27 Jun 2017 10:09:05 +0000 (13:09 +0300)]
Added two missing features to org.simantics.sdk feature

The two missing features are org.apache.lucene4 and com.lowagie.text
which are included by org.simantics.db.client org.simantics.modeling
features respectively.

refs #7332

Change-Id: I60265627d442ce62720c859b593feb207e679e0b

7 years agoAdded README for target platform definition files 54/654/1
Tuukka Lehtonen [Mon, 26 Jun 2017 14:49:55 +0000 (17:49 +0300)]
Added README for target platform definition files

refs #7263

Change-Id: Idc8b8a8d87cc1b38be8cd2b963ba577a2fa30b05

7 years agoMerge "Ordering of RouteGraphs RouteLines is nondeterministic"
Tuukka Lehtonen [Mon, 26 Jun 2017 06:20:15 +0000 (09:20 +0300)]
Merge "Ordering of RouteGraphs RouteLines is nondeterministic"

7 years agoAdded DirectorySizeTracker for tracking total size of a directory tree 53/653/2
Tuukka Lehtonen [Sun, 25 Jun 2017 22:45:02 +0000 (01:45 +0300)]
Added DirectorySizeTracker for tracking total size of a directory tree

The implementation is based on the Java 7 NIO WatchService API.

refs #7330

Change-Id: I257649ed1ea88f53f88c45ac3177dce544527ade

7 years agoOrdering of RouteGraphs RouteLines is nondeterministic 52/652/1
jsimomaa [Sat, 24 Jun 2017 19:30:24 +0000 (22:30 +0300)]
Ordering of RouteGraphs RouteLines is nondeterministic

refs #7320

Change-Id: Ibac54bc6d16578e812542360573cb0836db7deab

7 years agoFixed URIDocumentRequest to work also without IConsoleSupport. 50/650/1
Tuukka Lehtonen [Fri, 23 Jun 2017 07:52:31 +0000 (10:52 +0300)]
Fixed URIDocumentRequest to work also without IConsoleSupport.

refs #7329

Change-Id: Ie84d3ae1e2213fe7656c30e573f71bceda3c1b96

7 years agoAllow external customization fo TG Root type URIs. 49/649/1
Tuukka Lehtonen [Wed, 21 Jun 2017 20:57:13 +0000 (23:57 +0300)]
Allow external customization fo TG Root type URIs.

The customization happens by writing the type URIs into
TransferableGraphConfiguration2.RootSpec instances which then get
translated into TG Root identity definitions by
ModelTransferableGraphSource.

refs #7328

Change-Id: I3ba23ac39009ecc6486b4ef55ead4d5971e5f130
(manually picked from commit f0546930e05223a2575b37ff9a6de08322542b5c)

7 years ago(refs #7326) Better handling of exceptions in Java->SCL interface 46/646/1
Hannu Niemistö [Wed, 21 Jun 2017 13:23:47 +0000 (16:23 +0300)]
(refs #7326) Better handling of exceptions in Java->SCL interface

Change-Id: I31573bc72f48d601c7f92faa491e59594eefdf59

7 years ago(refs #7325) Fixed incorrect call of write in FilterCRWriter 45/645/1
Hannu Niemistö [Wed, 21 Jun 2017 12:19:19 +0000 (15:19 +0300)]
(refs #7325) Fixed incorrect call of write in FilterCRWriter

Change-Id: Ifecf88cd5239301b25a19846fec8fa39f6821857

7 years agoFixed org.simantics.data feature to include two missing dependencies 44/644/1
Tuukka Lehtonen [Tue, 20 Jun 2017 09:38:08 +0000 (12:38 +0300)]
Fixed org.simantics.data feature to include two missing dependencies

org.simantics.databoard depends on org.apache.commons.collections
[3.2.1,) and gnu.trove3.

refs #7324

Change-Id: Ie06ea17fc92a3df4ce584612a18748307ad7186b

7 years agoRouteGraphUtils.readConnectionStyle returns default value if necessary 43/643/1
Tuukka Lehtonen [Tue, 20 Jun 2017 06:29:08 +0000 (09:29 +0300)]
RouteGraphUtils.readConnectionStyle returns default value if necessary

Previously the code would crash with NPE if the ontology/model was not
created to contain STR.HasConnectionType information accordingly. Now it
will just return ExampleConnectionStyle if there is no modelled
information available.

refs #7323

Change-Id: I3d5b5ba6a4e615d7ae120e42aa003c787617b8d0

7 years agoPrint AssertionError to SCLReportingHandler
jsimomaa [Mon, 19 Jun 2017 13:30:03 +0000 (16:30 +0300)]
Print AssertionError to SCLReportingHandler

refs #7319

Change-Id: Idb97cbec59532d8a48db8f5e412a7df036a2c510