]> gerrit.simantics Code Review - simantics/platform.git/log
simantics/platform.git
6 years agoAdd DatabaseJob.inProgress() checking to certain UI-handlers 31/2431/2
jsimomaa [Thu, 8 Nov 2018 07:03:03 +0000 (09:03 +0200)]
Add DatabaseJob.inProgress() checking to certain UI-handlers

gitlab #186

Change-Id: Ib8d547a54ffefde6ebf887e162d3adc8479c6de4

6 years agoInitial support for concurrency in databoard, bindings and serializers 22/2422/4
jsimomaa [Tue, 6 Nov 2018 13:15:35 +0000 (15:15 +0200)]
Initial support for concurrency in databoard, bindings and serializers

* This fixes the parallellization problem in PlatformUtil.getAllGraphs
where parallel streams can now be used.
* VariableBinding is removed because it hasn't ever been used and it is
deadlock prone and not very useful
* Removed SerialisationSupport field from ResourceBinding as it has been
commented out for ages now. If we need this at some point, let's add it
back.

gitlab #180

Change-Id: Ic4240921b5e60ea8d642feb85e9608f936272190

6 years agoAdd org.eclipse.ui.monitoring to org.simantics.rcp feature 28/2428/2
Tuukka Lehtonen [Wed, 7 Nov 2018 12:18:53 +0000 (14:18 +0200)]
Add org.eclipse.ui.monitoring to org.simantics.rcp feature

This allows users to enable UI freeze analysis in products making it
easier for developers to analyze freezing problems without building
debug versions.

gitlab #183

Change-Id: I6eeac7371914cd60a1d58ddbc3c708678a0f7f2f

6 years agoFix ErrorLogger e.printStackTrace() calls to utilize Logger 25/2425/2
jsimomaa [Wed, 7 Nov 2018 09:23:34 +0000 (11:23 +0200)]
Fix ErrorLogger e.printStackTrace() calls to utilize Logger

gitlab #182

Change-Id: I5903cd25c70de18b4bf21714d4a1106ccf3dfed7

6 years agoChange L0.Value => L0.Property to fix variable exceptions 24/2424/2
jsimomaa [Wed, 7 Nov 2018 09:20:20 +0000 (11:20 +0200)]
Change L0.Value => L0.Property to fix variable exceptions

gitlab #181

Change-Id: Ie4896ad911681d6047f05002c2e2e1a96b1f5416

6 years agoAdded Simantics/Diagram/{withScale,transformElement,transformElements} 20/2420/1
Tuukka Lehtonen [Mon, 5 Nov 2018 23:54:38 +0000 (01:54 +0200)]
Added Simantics/Diagram/{withScale,transformElement,transformElements}

Also added some documentation to the SCL module.

gitlab #179

Change-Id: Ia00785d38036f640c7636d53fdc7fde102c38d65

6 years agoAdded support for creating markers and changing MDC in SCL logging 17/2417/1
Hannu Niemistö [Fri, 2 Nov 2018 14:13:48 +0000 (16:13 +0200)]
Added support for creating markers and changing MDC in SCL logging

gitlab #178

Change-Id: Id2996c969d3812a6ff9c20fca88307d629be7354

6 years agoMerge "Added inline filtering support for property name editing in UC editor"
Tuukka Lehtonen [Fri, 2 Nov 2018 13:59:52 +0000 (13:59 +0000)]
Merge "Added inline filtering support for property name editing in UC editor"

6 years agoAdded inline filtering support for property name editing in UC editor 13/2413/1
Tuukka Lehtonen [Fri, 2 Nov 2018 13:32:20 +0000 (15:32 +0200)]
Added inline filtering support for property name editing in UC editor

This makes it easier to implement filters like uppercasing and replacing
certain characters as one types.

gitlab #161

Change-Id: Ic7785c78d51660654e2afe26fd524a96179ceafc

6 years agoAdded first and last functions to MList module 12/2412/2
Tuukka Lehtonen [Fri, 2 Nov 2018 13:26:39 +0000 (15:26 +0200)]
Added first and last functions to MList module

gitlab #177

Change-Id: I6cdcbbbe91f5074747eba64a9439e4f3ed123d60

6 years agoAdd zeroturnaround to p2 site build's pom.xml 10/2410/3
Miro Richard Eklund [Fri, 2 Nov 2018 12:46:24 +0000 (14:46 +0200)]
Add zeroturnaround to p2 site build's pom.xml

Simantics p2 site now includes org.zeroturnaround:zt-exec
Added .target and .tpd definitions

gitlab #176
closes #176

Change-Id: I254712ce6cbed2d258cb6eb19f1d1b9882a87ad5

6 years agoMerge "Fixed invalid comparisons which were identified by Eclipse IDE 2018-09"
Tuukka Lehtonen [Tue, 30 Oct 2018 11:55:18 +0000 (11:55 +0000)]
Merge "Fixed invalid comparisons which were identified by Eclipse IDE 2018-09"

6 years agoFixed ComponentTypeCommands.setUnit to support unit == null 95/2395/2
Tuukka Lehtonen [Tue, 30 Oct 2018 11:14:56 +0000 (13:14 +0200)]
Fixed ComponentTypeCommands.setUnit to support unit == null

If unit is null, also L0X.HasUnit should be removed.

gitlab #161

Change-Id: I0e6ba32917e6281803c7bbe8b94832291e58db9a

6 years agoFixed invalid comparisons which were identified by Eclipse IDE 2018-09 93/2393/1
Tuukka Lehtonen [Tue, 30 Oct 2018 11:01:34 +0000 (13:01 +0200)]
Fixed invalid comparisons which were identified by Eclipse IDE 2018-09

gitlab #171

Change-Id: I357469f6cbef6c099e59d3a378ef531c0eca8e5f

6 years agoAdded missing Automatic-module-name headers and fixed split package 90/2390/2
Tuukka Lehtonen [Tue, 30 Oct 2018 10:02:32 +0000 (12:02 +0200)]
Added missing Automatic-module-name headers and fixed split package

org.simantics.jdbc and org.simantics.jdbc.ontology had a split package
problem with package org.simantics.jdbc. JDBCResource was moved to
org.simantics.jdbc.ontology as it should have been.

gitlab #125
gitlab #165

Change-Id: I308d53c968ba0812f86554e38b8bbd0b487434b6

6 years agoUtility for creating NodeContext with NodeType from SCL 86/2386/3
jsimomaa [Tue, 30 Oct 2018 09:05:32 +0000 (11:05 +0200)]
Utility for creating NodeContext with NodeType from SCL

gitlab #170

Change-Id: I88b163f6ca30d5dfebc42ff3aa590a7426614e48

6 years agoMerge "Variable optimizations for documents (Simupedia). There will be multiple incre...
Tuukka Lehtonen [Tue, 30 Oct 2018 08:12:50 +0000 (08:12 +0000)]
Merge "Variable optimizations for documents (Simupedia). There will be multiple incremental commits for this."

6 years agoAdded possibility to directly schedule filter setting type URI 81/2381/1
Tuukka Lehtonen [Tue, 30 Oct 2018 07:23:54 +0000 (09:23 +0200)]
Added possibility to directly schedule filter setting type URI

Also changed the typeURI load to directly set the filter text instead of
scheduling it to be set after a quiet time (500ms). This makes way for a
bit cleaner UI experience.

gitlab #140

Change-Id: If999ccf69182e56da2f520e2922ba2a7ed26ffdc

6 years agoVariable optimizations for documents (Simupedia). 80/2380/1
Antti Villberg [Tue, 30 Oct 2018 07:22:54 +0000 (09:22 +0200)]
Variable optimizations for documents (Simupedia).
There will be multiple incremental commits for this.

gitlab #169

Change-Id: Ia97ac85a5f83a52e24bb3147f0a9f9f294e2c87d

6 years agoAssertion template for L0.SCLValue 78/2378/1
Antti Villberg [Tue, 30 Oct 2018 06:40:11 +0000 (08:40 +0200)]
Assertion template for L0.SCLValue

gitlab #167

Change-Id: Id70da776333c56e70516a3449bdbff03df18fa40

6 years agoAdd missing grpc and aries spifly dependencies to simantics.target 73/2373/1
jsimomaa [Mon, 29 Oct 2018 12:48:05 +0000 (14:48 +0200)]
Add missing grpc and aries spifly dependencies to simantics.target

gitlab #166

Change-Id: Ifd26fc7f242d007a3194477bccd757aff34c4a83

6 years agoMerge "Added Automatic-module-name to all bundles for Java 9 JPMS compatibility"
Tuukka Lehtonen [Mon, 29 Oct 2018 11:14:28 +0000 (11:14 +0000)]
Merge "Added Automatic-module-name to all bundles for Java 9 JPMS compatibility"

6 years agoMerge "UI locking fixes for GraphExplorer implementations"
Tuukka Lehtonen [Sat, 27 Oct 2018 21:42:49 +0000 (21:42 +0000)]
Merge "UI locking fixes for GraphExplorer implementations"

6 years agoMerge "Refactoring of simulator toolkit"
Tuukka Lehtonen [Sat, 27 Oct 2018 21:24:35 +0000 (21:24 +0000)]
Merge "Refactoring of simulator toolkit"

6 years agoUI locking fixes for GraphExplorer implementations 69/2369/4
Tuukka Lehtonen [Sat, 27 Oct 2018 17:35:14 +0000 (20:35 +0300)]
UI locking fixes for GraphExplorer implementations

GraphExplorer implementations contained ExplorerState restore code that
was ran synchronously in the UI thread. It will possibly require DB read
transactions which locks the UI up. Persisted explorer state loading has
now been moved into a Job from GraphExplorer implementations and
GraphExplorerComposite.

Also contains fixes for doSetColumns of all graph explorer
implementations which was using a Map with the wrong keys.

gitlab #160

Change-Id: I879fe4a099db70d5d8bbba185b4dc9d745c80911

6 years agoRefactoring of simulator toolkit 64/2364/2
Antti Villberg [Fri, 26 Oct 2018 11:54:42 +0000 (14:54 +0300)]
Refactoring of simulator toolkit

gitlab #162

Change-Id: Id68f68667a1ad5840eccbd53a4b8ec81483c0cdb

6 years agoAdded editable unit for derived properties 70/2370/2
Tuukka Lehtonen [Sat, 27 Oct 2018 20:20:29 +0000 (23:20 +0300)]
Added editable unit for derived properties

gitlab #161

Change-Id: I81a7dc60fa0c4d4173dbfa128a509e7e2bfa18e9

6 years agoAdded Automatic-module-name to all bundles for Java 9 JPMS compatibility 68/2368/1
Tuukka Lehtonen [Sat, 27 Oct 2018 15:27:42 +0000 (18:27 +0300)]
Added Automatic-module-name to all bundles for Java 9 JPMS compatibility

gitlab #165

Change-Id: I3794e574412221557effd8c0dabf9e10dfa5bbe3

6 years agoOpenJ9 compatibility for SCL compiler's naming of ontology modules 67/2367/1
Tuukka Lehtonen [Sat, 27 Oct 2018 14:42:14 +0000 (17:42 +0300)]
OpenJ9 compatibility for SCL compiler's naming of ontology modules

The problem was these errors coming from ClassLoader.defineClassImpl
when the generated class name contained two '/' characters in a row:

java.lang.ClassFormatError: JVMCFRE068 class name is invalid;
class=scl/http_58_//Projects/Development_37_20Project/Model/SCLMain,
offset=0

More escaping was added to fix this.

gitlab #159

Change-Id: I01f8b17b1230cbf06051848b23c805e8d2d61c96

6 years agoMerge "New implementation NearestOwnerFinder of CommonDBUtils.getNearestOwner"
Tuukka Lehtonen [Fri, 26 Oct 2018 18:20:46 +0000 (18:20 +0000)]
Merge "New implementation NearestOwnerFinder of CommonDBUtils.getNearestOwner"

6 years agoNew implementation NearestOwnerFinder of CommonDBUtils.getNearestOwner 66/2366/1
Hannu Niemistö [Fri, 26 Oct 2018 13:19:20 +0000 (16:19 +0300)]
New implementation NearestOwnerFinder of CommonDBUtils.getNearestOwner

Deprecated CommonDBUtils.getNearestOwner and replaced most of its uses
by new methods in the class NearestOwnerFinder. Note that this modifies
the behavior in some previously unclear cases.

gitlab #163

Change-Id: Ic56671ee549765ce67fa574967c103f2ab7aac0e

6 years agoMerge "Prevent infinite recursion in getNearestOwner"
Tuukka Lehtonen [Thu, 25 Oct 2018 20:26:23 +0000 (20:26 +0000)]
Merge "Prevent infinite recursion in getNearestOwner"

6 years agoUse AlphaNum sorter in Symbol Library 58/2358/2
Marko Luukkainen [Thu, 25 Oct 2018 10:20:07 +0000 (13:20 +0300)]
Use AlphaNum sorter in Symbol Library

gitlab #158

Change-Id: I753ff1f6fcb0acda780f18645f489850147a5c4c
(cherry picked from commit 05269c19e7da21a4d1412c033c234d3baa97cc48)

6 years agoConnectionTool fixes for overlapping terminals 57/2357/1
Marko Luukkainen [Thu, 25 Oct 2018 10:11:25 +0000 (13:11 +0300)]
ConnectionTool fixes for overlapping terminals

gitlab #157

Change-Id: If011efcf774e18165e6ae1e62907dffe2c6a21f0
(cherry picked from commit 2deeabb9a7e3ff22bfd7abe2c7c812df9da45189)

6 years agoPrevent infinite recursion in getNearestOwner 49/2349/1
Hannu Niemistö [Wed, 24 Oct 2018 10:57:06 +0000 (13:57 +0300)]
Prevent infinite recursion in getNearestOwner

Change-Id: I58e0646daba1e41d9013085501bc1cee8fde1f13

6 years agoPossible variable browse without URI 48/2348/2
jsimomaa [Mon, 22 Oct 2018 11:56:44 +0000 (14:56 +0300)]
Possible variable browse without URI

gitlab #154

Change-Id: I394bac9a1aa74abeb5f261fa77cd08cbdf0b90ea

6 years agoFixed history data collection minmax stream updates and plot rendering 39/2339/1
Tuukka Lehtonen [Fri, 19 Oct 2018 12:22:27 +0000 (15:22 +0300)]
Fixed history data collection minmax stream updates and plot rendering

After commit 30ca6dab the chart was rendering all plots as SAMPLING
instead of LINE because the commit changed all stream items' endTime
update logic to actually for all streams instead of just the minmax
stream. The fix was to change the plot rendering to still render
diagonal lines instead of step functions regardless of of the start and
end time of each history stream value band are. The lines vs. sampling
settings is now solely based on the chart rendering preferences.

gitlab #35

Change-Id: I9f8872994870bdedbf0708bb77beceab1c884313

6 years agoMerge changes If756e157,I80cfb90e
Tuukka Lehtonen [Thu, 18 Oct 2018 13:27:45 +0000 (13:27 +0000)]
Merge changes If756e157,I80cfb90e

* changes:
  Support Json content as drop data in Graphical Debugger
  Support DnD from diagram to graphical debugger

6 years agoSupport Json content as drop data in Graphical Debugger 33/2333/1
Hannu Niemistö [Thu, 18 Oct 2018 11:58:26 +0000 (14:58 +0300)]
Support Json content as drop data in Graphical Debugger

gitlab #153

Change-Id: If756e157b7057534ea55a61745feb560904a64c0

6 years agoSupport DnD from diagram to graphical debugger 32/2332/1
Hannu Niemistö [Thu, 18 Oct 2018 10:15:31 +0000 (13:15 +0300)]
Support DnD from diagram to graphical debugger

Change-Id: I80cfb90e6f6a009c0fc4c6b84523c7bc7de05ff0

6 years agoFixed context menu popup location for HiDPI displays with display zoom 31/2331/1
Tuukka Lehtonen [Thu, 18 Oct 2018 10:49:37 +0000 (13:49 +0300)]
Fixed context menu popup location for HiDPI displays with display zoom

gitlab #152

Change-Id: If7ca761cf305daa4ecfd837af75c93eae285df1a

6 years agoFaster bounds calculation for zoom to selection and navigate to target 30/2330/1
Tuukka Lehtonen [Thu, 18 Oct 2018 10:45:45 +0000 (13:45 +0300)]
Faster bounds calculation for zoom to selection and navigate to target

gitlab #151

Change-Id: If72f62ea8c5ce4789bc8331eb598668091158ab6

6 years agoMade SCLExpressionIssueProvider component requests synchronous 29/2329/2
Hannu Niemistö [Thu, 18 Oct 2018 10:13:33 +0000 (13:13 +0300)]
Made SCLExpressionIssueProvider component requests synchronous

gitlab #149

Change-Id: I1104380dd544f3bc957cd008e46e9b284dd2f207

6 years agoAdded resourceId and GUID to diagram DnD content 28/2328/4
Hannu Niemistö [Thu, 18 Oct 2018 07:56:20 +0000 (10:56 +0300)]
Added resourceId and GUID to diagram DnD content

gitlab #150

Change-Id: I2a012199f5d7e11991b640d7187132e7b5f0d2f3

6 years agoMerge "Removed extra modules OntologyModule imported to namespace"
Tuukka Lehtonen [Thu, 18 Oct 2018 10:34:23 +0000 (10:34 +0000)]
Merge "Removed extra modules OntologyModule imported to namespace"

6 years agoRemoved extra modules OntologyModule imported to namespace 27/2327/2
Hannu Niemistö [Thu, 18 Oct 2018 07:49:37 +0000 (10:49 +0300)]
Removed extra modules OntologyModule imported to namespace

While fixing the problem, added some error logging in OntologyModule
implementation

gitlab #131

Change-Id: Ib36590f0901ed8a542afe4c9a225606c1f2109d8

6 years agoMerge "Log some information about missing property in SCLLabelRule"
Hannu Niemistö [Wed, 17 Oct 2018 11:57:58 +0000 (11:57 +0000)]
Merge "Log some information about missing property in SCLLabelRule"

6 years agoLog some information about missing property in SCLLabelRule 22/2322/1
Hannu Niemistö [Wed, 17 Oct 2018 10:16:47 +0000 (13:16 +0300)]
Log some information about missing property in SCLLabelRule

Change-Id: I6237c54f3760603a1184c015d81de99f1302a3ae

6 years agoFixed a typo in Viewpoint ontology 21/2321/1
Hannu Niemistö [Wed, 17 Oct 2018 10:14:46 +0000 (13:14 +0300)]
Fixed a typo in Viewpoint ontology

Change-Id: I0929253a6c8f7a4da0a19a73dd8e96c2a2696770

6 years agoFix org.simantics.scl.tutorial classpath and build.properties 19/2319/1
Tuukka Lehtonen [Wed, 17 Oct 2018 09:35:54 +0000 (12:35 +0300)]
Fix org.simantics.scl.tutorial classpath and build.properties

Removed source and bin directories from build path since there is no
source code in this bundle.

gitlab #138

Change-Id: I72cfc2a47d6a8d8b85239b4cec095160c7d9d107

6 years agoMerge "Use PossibleResource query to check if the project resource is present"
Tuukka Lehtonen [Wed, 17 Oct 2018 05:56:23 +0000 (05:56 +0000)]
Merge "Use PossibleResource query to check if the project resource is present"

6 years agoAdding column data to tooltip event could cause NPE 14/2314/1
Marko Luukkainen [Tue, 16 Oct 2018 07:28:07 +0000 (10:28 +0300)]
Adding column data to tooltip event could cause NPE

gitlab #146

Change-Id: I4ce48cc851638fd5cd38bab77763fdfec9c48ed9
(cherry picked from commit f024c0a7208e379a82f0ab51a71a123f9bb2a2bb)

6 years agoUse PossibleResource query to check if the project resource is present 12/2312/1
Jussi Koskela [Tue, 16 Oct 2018 07:19:18 +0000 (10:19 +0300)]
Use PossibleResource query to check if the project resource is present

Earlier implementation logged unnecessary ResourceNotFoundException when
creating the project resource for the first time in Platform startup.

gitlab #148

Change-Id: Ic75180dfdd88770f9a91a2468f639e59afea99e0

6 years agoFixed another source of deadlocks in DynamicExperimentThread. 10/2310/1
Reino Ruusu [Fri, 12 Oct 2018 11:39:29 +0000 (14:39 +0300)]
Fixed another source of deadlocks in DynamicExperimentThread.

gitlab #136

Change-Id: Iabeef360c93d617a38cbc7883533c3cb487ae6f2
(cherry picked from commit 685ae86876e6c246694bc6a94eac717ccb1e28cc)

6 years agoFixed NPE problems from ParentNode by reintroducing child map sentinels 07/2307/1
Tuukka Lehtonen [Thu, 11 Oct 2018 13:15:15 +0000 (16:15 +0300)]
Fixed NPE problems from ParentNode by reintroducing child map sentinels

gitlab #65

Change-Id: I63778c368f197a4b92e71c96a37fd569ad7cb51c

6 years agoMerge "Log an error if there are two resources with the same GUID."
Tuukka Lehtonen [Thu, 11 Oct 2018 12:52:33 +0000 (12:52 +0000)]
Merge "Log an error if there are two resources with the same GUID."

6 years agoRemoved graph compilation nature from org.simantics.jdbc 06/2306/2
Tuukka Lehtonen [Thu, 11 Oct 2018 12:45:24 +0000 (15:45 +0300)]
Removed graph compilation nature from org.simantics.jdbc

gitlab #125

Change-Id: Ia49ed5cba4c7a402f7b9ebf63497c6b9ead58945

6 years agoLog an error if there are two resources with the same GUID. 04/2304/1
Hannu Niemistö [Thu, 11 Oct 2018 12:28:13 +0000 (15:28 +0300)]
Log an error if there are two resources with the same GUID.

Change-Id: I377e9a68eda631efe7e78354cf2d3ee8e3756ce4

6 years agoExpose helpContextId resolving to other implementations 01/2301/2
Marko Luukkainen [Thu, 11 Oct 2018 11:13:14 +0000 (14:13 +0300)]
Expose helpContextId resolving to other implementations

gitlab #147

Change-Id: I34fd73a223a8ca00b89397f59870b6442411d4c6
(cherry picked from commit d3b12a1a36b0b89dc985fceb4fa02523aeb71ed4)

6 years agoAllow column specific tooltips in the GraphExplorer 00/2300/1
Marko Luukkainen [Thu, 11 Oct 2018 11:12:36 +0000 (14:12 +0300)]
Allow column specific tooltips in the GraphExplorer

gitlab #146

Change-Id: I8c07e3013783ffd31fba95391e0b8ba35b855b84
(cherry picked from commit d4cdaa8ea386ab9f6432854db9481f42c70983fd)

6 years agoFixed ProfileObserver to remove entry from correct map 97/2297/1
Jussi Koskela [Thu, 11 Oct 2018 06:57:48 +0000 (09:57 +0300)]
Fixed ProfileObserver to remove entry from correct map

gitlab #145

Change-Id: Iab891836783d5de591ec686577769ed480dd5752

6 years agoMerge "Use proper environment to resolve SCL types in ontology module"
Hannu Niemistö [Wed, 10 Oct 2018 06:53:07 +0000 (06:53 +0000)]
Merge "Use proper environment to resolve SCL types in ontology module"

6 years agoUse proper environment to resolve SCL types in ontology module 88/2288/3
Hannu Niemistö [Tue, 9 Oct 2018 07:35:43 +0000 (10:35 +0300)]
Use proper environment to resolve SCL types in ontology module

gitlab #131

Change-Id: I9b16546633d8d566cb3d38d48d609878e794eae3

6 years agoDeprecated methods in o.s.scl.compiler.Types class for parsing types 89/2289/1
Hannu Niemistö [Tue, 9 Oct 2018 12:15:12 +0000 (15:15 +0300)]
Deprecated methods in o.s.scl.compiler.Types class for parsing types

Change-Id: I7df83c111edb0267c59585cf0d5c544d0c985dbf

6 years agoMerge "Documented difference of RuntimeEnvironmentRequest and Runti...quest2"
Tuukka Lehtonen [Tue, 9 Oct 2018 10:48:21 +0000 (10:48 +0000)]
Merge "Documented difference of RuntimeEnvironmentRequest and Runti...quest2"

6 years agoMore debug information for BufferUnderflowException in ReadGraphImpl 87/2287/5
jsimomaa [Tue, 9 Oct 2018 07:32:06 +0000 (10:32 +0300)]
More debug information for BufferUnderflowException in ReadGraphImpl

gitlab #144

Change-Id: Idca98155061c535d54465e29f682694a6f7449d8

6 years agoDocumented difference of RuntimeEnvironmentRequest and Runti...quest2 86/2286/1
Hannu Niemistö [Tue, 9 Oct 2018 07:20:50 +0000 (10:20 +0300)]
Documented difference of RuntimeEnvironmentRequest and Runti...quest2

Removed also all cosmetic differences between the classes to make
comparison possible.

Change-Id: I83e96d09a6e33594a9076df83de887b733d4de46

6 years agoFixed Job to return Status.OK_STATUS instead of null 84/2284/1
Tuukka Lehtonen [Mon, 8 Oct 2018 18:33:55 +0000 (21:33 +0300)]
Fixed Job to return Status.OK_STATUS instead of null

gitlab #74
gitlab #143

Change-Id: Ib1c59eca854b6daafb21bad3aa90971deb8f5481

6 years agoPerformance improvements for ParentNode in scene graph 63/1963/9
jsimomaa [Fri, 27 Jul 2018 07:12:54 +0000 (10:12 +0300)]
Performance improvements for ParentNode in scene graph

gitlab #65

Change-Id: Ib1cb9da01e8531b1d9617f0696a20f806037dc38

6 years agoGoodbye db-client.log 76/2276/1
jsimomaa [Fri, 5 Oct 2018 06:34:59 +0000 (09:34 +0300)]
Goodbye db-client.log

gitlab #142

Change-Id: I9d4c076e608bf427933083dc277c5333dead9c93

6 years agoFixed Acorn MainProgram and GraphClientImpl2 to use Logger 75/2275/1
Tuukka Lehtonen [Thu, 4 Oct 2018 05:21:50 +0000 (08:21 +0300)]
Fixed Acorn MainProgram and GraphClientImpl2 to use Logger

Previously the t.printStackTrace() in MainProrgam.run caused an
unexpected error that killed MainProgram to go down the drain.

gitlab #141

Change-Id: If68244b0e0f029ca43bbc45159936d3d89e49262

6 years agoType specific graph explorer filter area 68/2268/2
Marko Luukkainen [Tue, 2 Oct 2018 09:15:16 +0000 (12:15 +0300)]
Type specific graph explorer filter area

gitlab #140

Change-Id: I62c0323cabfcf448f037f7cf3cc4fd3f7d2b65d6

6 years agoFixed StandardCopyHandler SWT threading regression 66/2266/2
Tuukka Lehtonen [Mon, 1 Oct 2018 19:19:11 +0000 (22:19 +0300)]
Fixed StandardCopyHandler SWT threading regression

IStatusLineManager is now invoked properly from the SWT thread again.

gitlab #74
gitlab #133

Change-Id: I8e4a9ad3fc26b4ab2a04ebe26c64114d12eda9a0

6 years agoHiDPI scaling for diagram ruler and model activity tracker 65/2265/1
Tuukka Lehtonen [Mon, 1 Oct 2018 17:20:30 +0000 (20:20 +0300)]
HiDPI scaling for diagram ruler and model activity tracker

gitlab #137

Change-Id: Icc3cf5cd828aa4580699dde01635b1ea669b0a0c

6 years agoMerge "Replaceable Defined Component Types fixes" private/balas2
Tuukka Lehtonen [Mon, 1 Oct 2018 10:46:09 +0000 (10:46 +0000)]
Merge "Replaceable Defined Component Types fixes"

6 years agoMerge "Fix to OrderedSetTemplate, preference for autocompletion"
Hannu Niemistö [Mon, 1 Oct 2018 10:44:28 +0000 (10:44 +0000)]
Merge "Fix to OrderedSetTemplate, preference for autocompletion"

6 years agoFix to OrderedSetTemplate, preference for autocompletion 63/2263/1
Hannu Niemistö [Mon, 1 Oct 2018 10:30:17 +0000 (13:30 +0300)]
Fix to OrderedSetTemplate, preference for autocompletion

gitlab #139

Change-Id: Ib7b811533cb16d59896f385b964d67b03909364a

6 years agoReplaceable Defined Component Types fixes 62/2262/1
Antti Villberg [Mon, 1 Oct 2018 10:24:20 +0000 (13:24 +0300)]
Replaceable Defined Component Types fixes

gitlab #83

Change-Id: I581cc150ec8d042868428c1d47da10a3864afca6

6 years agoString formatter property using SCL function instead of adapter 42/2242/5
Antti Villberg [Wed, 26 Sep 2018 07:31:36 +0000 (09:31 +0200)]
String formatter property using SCL function instead of adapter

gitlab #135

Change-Id: Ibecb72ea24a00112c49b8f381ad1fd9b7eee438f

6 years agoImport org.simantics.scl.tutorial from incubator SVN repo
Tuukka Lehtonen [Fri, 28 Sep 2018 12:41:34 +0000 (15:41 +0300)]
Import org.simantics.scl.tutorial from incubator SVN repo

gitlab #138

Change-Id: Ic3590a2992612847294a0db960e485dd3c7bbbf9

6 years agoFixed synchronousness problem in drag event transferable handling 54/2254/1
Tuukka Lehtonen [Fri, 28 Sep 2018 06:19:02 +0000 (09:19 +0300)]
Fixed synchronousness problem in drag event transferable handling

Previously handleEvent would post the event for asynchronous handling
while handling the drag starting via Transferable requires the drag to
be started synchronously within the AWT drag start event handler.

Added syncHandleEvent to AbstractEventHandler to support this.

gitlab #112

Change-Id: I694844fbfc1be74b9f6b620afc8fc441a0ab4d31

6 years agoFixed race condition in DynamicExperimentThread. 47/2247/1
Reino Ruusu [Wed, 26 Sep 2018 10:58:58 +0000 (13:58 +0300)]
Fixed race condition in DynamicExperimentThread.

gitlab #136

Change-Id: I533e274bef62e7ce939c9a67a37d8e86d6f38bce

6 years agoFix warnings from newly added code 46/2246/1
Tuukka Lehtonen [Wed, 26 Sep 2018 10:42:14 +0000 (13:42 +0300)]
Fix warnings from newly added code

gitlab #96

Change-Id: Id2d7791ff5e471727f5b11ca7430c32c2bee415c

6 years agoApply fix from TypeGroup to MappedTypeGroup also 44/2244/1
Tuukka Lehtonen [Wed, 26 Sep 2018 09:42:43 +0000 (12:42 +0300)]
Apply fix from TypeGroup to MappedTypeGroup also

gitlab #96

Change-Id: Icb0a82d14b0e5b8341e70b4f339e65245f8936ea

6 years agoFix diagram profiles to work with latest DB changes 41/2241/5
Antti Villberg [Wed, 26 Sep 2018 04:53:54 +0000 (06:53 +0200)]
Fix diagram profiles to work with latest DB changes

gitlab #96

Change-Id: I799c1f22422126290aed0868d6fe4ceed6bccaa9

6 years agoConnectionNode returns local bounds even if it has empty child nodes 39/2239/2
Tuukka Lehtonen [Tue, 25 Sep 2018 21:15:41 +0000 (00:15 +0300)]
ConnectionNode returns local bounds even if it has empty child nodes

This fixes a broken element selection case that came up in master, which
is an old problem but hasn't really surfaced before.

gitlab #134

Change-Id: I0bd3cb8beba9d3d5ccdcbf4b3f1b81d9910a575f

6 years agoMerge "Trying to wait for procedures"
Tuukka Lehtonen [Wed, 26 Sep 2018 08:28:27 +0000 (08:28 +0000)]
Merge "Trying to wait for procedures"

6 years agoTrying to wait for procedures 80/2080/10
Antti Villberg [Mon, 3 Sep 2018 07:03:29 +0000 (10:03 +0300)]
Trying to wait for procedures

gitlab #94

Change-Id: I42ad471de50553ed5be01dbc7f51452b1f9f6813

6 years agoMerge "Made spatial picking optimization optional for now"
Tuukka Lehtonen [Wed, 26 Sep 2018 06:37:15 +0000 (06:37 +0000)]
Merge "Made spatial picking optimization optional for now"

6 years agoMade spatial picking optimization optional for now 40/2240/2
Tuukka Lehtonen [Wed, 26 Sep 2018 05:24:14 +0000 (08:24 +0300)]
Made spatial picking optimization optional for now

R-tree -based element picking doesn't work for DnD monitors at the
moment, needs more work.

gitlab #66

Change-Id: Ia30243aa48fdd75d238e71422ec0aec358e46af9

6 years agoPrevent ConcurrentModificationException in StyledRouteGraphRenderer 38/2238/2
Tuukka Lehtonen [Tue, 25 Sep 2018 21:03:39 +0000 (00:03 +0300)]
Prevent ConcurrentModificationException in StyledRouteGraphRenderer

Fixed via ThreadLocal-based caching of reused data structures.

gitlab #132

Change-Id: I42a3d3a160f1f7a9ed30d10cca84e1dc5b6488fa

6 years agoInclude org.simantics.jdbc.feature in SDK repository
Tuukka Lehtonen [Tue, 25 Sep 2018 20:22:54 +0000 (23:22 +0300)]
Include org.simantics.jdbc.feature in SDK repository

gitlab #125

Change-Id: I285dbda38ac238002b7edf1c22340c2c96085f32

6 years agoMerge "Property following functions value and possibleValue to ontology modules"
Hannu Niemistö [Fri, 21 Sep 2018 21:19:21 +0000 (21:19 +0000)]
Merge "Property following functions value and possibleValue to ontology modules"

6 years agoProperty following functions value and possibleValue to ontology modules 20/2220/1
Hannu Niemistö [Fri, 21 Sep 2018 12:28:44 +0000 (15:28 +0300)]
Property following functions value and possibleValue to ontology modules

gitlab #131

Change-Id: I407c7ab8a0c1a7e547c240ea36ab9b8c53298cfe

6 years agoMerge "Reading background color of a ICanvasContext with SCL"
Marko Luukkainen [Fri, 21 Sep 2018 09:22:43 +0000 (09:22 +0000)]
Merge "Reading background color of a ICanvasContext with SCL"

6 years agoReading background color of a ICanvasContext with SCL 05/2205/2
Marko Luukkainen [Wed, 19 Sep 2018 19:41:44 +0000 (22:41 +0300)]
Reading background color of a ICanvasContext with SCL

refs #127

Change-Id: I58fd39f4df42643a7aac7441a55c89b6f693cd8d

6 years agoMerge "New parametrisation of OpenDiagramFromConfigurationAdapter.openEditor"
Tuukka Lehtonen [Thu, 20 Sep 2018 15:01:26 +0000 (15:01 +0000)]
Merge "New parametrisation of OpenDiagramFromConfigurationAdapter.openEditor"

6 years agoNew parametrisation of OpenDiagramFromConfigurationAdapter.openEditor 12/2212/2
Tuukka Lehtonen [Thu, 20 Sep 2018 12:53:35 +0000 (15:53 +0300)]
New parametrisation of OpenDiagramFromConfigurationAdapter.openEditor

The new method allows giving Resource model and RVI arguments for
ResourceEditorInput2 externally.

gitlab #130

Change-Id: I1c70e2e7548047a376b4a8b0f3797a70564f0dc0

6 years agoFixed NPE from ConnectionPointNameStyle.applyStyleForNode 11/2211/2
Tuukka Lehtonen [Thu, 20 Sep 2018 12:45:46 +0000 (15:45 +0300)]
Fixed NPE from ConnectionPointNameStyle.applyStyleForNode

gitlab #129

Change-Id: I7d5f3be3cc695e5a6e8f9cf131fcc24b275a5e85

6 years agoMerge "Added a class listing the reserved words of SCL language"
Tuukka Lehtonen [Thu, 20 Sep 2018 12:46:12 +0000 (12:46 +0000)]
Merge "Added a class listing the reserved words of SCL language"