]> gerrit.simantics Code Review - simantics/platform.git/log
simantics/platform.git
5 years agoMinor refactorings related to SCL constructors 50/2150/1
HannuNiemistö [Sun, 9 Sep 2018 20:08:42 +0000 (23:08 +0300)]
Minor refactorings related to SCL constructors

* Moved recordFieldNames from SCLConstructor to SCLValue and renamed as
parameterNames
* Replaced String array fieldNames in SCLConstructor and Constructor by
more generic ComponentAcces array and renamed as componentAccesses.

gitlab #114

Change-Id: I4f8d59a2f028717b6777949c8d8fc6ec6d3b16e9

5 years agoAdded missing src folders and .keep files to 3 ontology plugins 49/2149/1
HannuNiemistö [Sat, 8 Sep 2018 17:48:43 +0000 (20:48 +0300)]
Added missing src folders and .keep files to 3 ontology plugins

Change-Id: I18e10137b10258be832e3fead67bb71f20cc2990

5 years agoDelayedWriteGraph denyValue should deny the value statement as well 47/2147/2
Jani Simomaa [Sat, 8 Sep 2018 05:32:00 +0000 (08:32 +0300)]
DelayedWriteGraph denyValue should deny the value statement as well

gitlab #113

Change-Id: I5913e3d888d10315fadb323dfffb585e22d68444

5 years agoRemove unnecessary System.out print from DynamicExperimentThread 25/2125/1
Marko Luukkainen [Thu, 6 Sep 2018 07:33:30 +0000 (10:33 +0300)]
Remove unnecessary System.out print from DynamicExperimentThread

gitlab #111

Change-Id: I987361fcce0cf53b058ece699a187b03cc068b6f

5 years agoUpdating Simantics SDK target platform after GPRC mess 13/2113/1
jsimomaa [Wed, 5 Sep 2018 07:31:15 +0000 (10:31 +0300)]
Updating Simantics SDK target platform after GPRC mess

gitlab #98

Change-Id: I1af2780a4905c000f33b8fc2dd5f96412e2f5a5d

5 years agoMerge branch 'master' of ssh://gerrit.simantics.org:29418/simantics/platform
Jani Simomaa [Wed, 5 Sep 2018 06:49:00 +0000 (09:49 +0300)]
Merge branch 'master' of ssh://gerrit.simantics.org:29418/simantics/platform

5 years agoAdd io.grpc to target platform (master)
jsimomaa [Mon, 3 Sep 2018 06:14:20 +0000 (09:14 +0300)]
Add io.grpc to target platform (master)

gitlab #98

Change-Id: Ic003cf62b3933de2b530ec9ebd5947e93e5ac853

Add io.grpc to target platform (master)
Change-Id: I6a163a3f3e3281ca8eb0bae7f01feb17bb445685

Make import com.sun optional in protobuf (for io.grpc)
Change-Id: I38fd280bc04d67511f89bc200b66d9946cb8f9de

Make io.grpc.context as fragment bundle to fix duplicate package name
Change-Id: Icd8ac3b4cda5d046a84e859e0c84fa036eb08f83

Make io.grpc.context as fragment bundle to fix duplicate package name
Change-Id: Ia90030494ac42aac193d5a852464823224540dcf

io.grpc.context version bump b001
Change-Id: Ib809fb444ffe075ecfed4da597b13936857593a3

Try to fix grpc work with OSGI via ARIES serviceloader
Change-Id: Id534a1da66c9593d4b514166ec916de069c717de

Try to fix grpc work with OSGI via ARIES serviceloader
Change-Id: I60a1f7d97ee1bcf745a47c8625bbaf373ee008c3

Still try to fix grpc work with OSGI via ARIES serviceloader
Change-Id: I7cef18eaa455fdfb90ba038783daf1b97e05f1cf

Still try to fix grpc work with OSGI via ARIES serviceloader
Change-Id: I9c9ca3ef96d2220362ad180201b893a3fb937d56

Still try to fix grpc work with OSGI via ARIES serviceloader
Change-Id: Ia8dbdcf48aaa9c9c31c9f0c44d9340dc41fad3e5

Still try to fix grpc to work with OSGI via ARIES serviceloader
Change-Id: I7c1230a7adf790233fb4e4ed59156e389cecab9d

Still try to fix grpc to work with OSGI via ARIES serviceloader
Change-Id: Idc7fdadec0214840787b9f7655a617f9222403e0

Starting to run out of options with this one...
Change-Id: I4815b0fee534baa14feb46c67f8332eaac53ebf8

Starting to run out of options with this one...
Change-Id: Id4a28c7d8565d163754624fc955be10895715aad

I think i got dis grpc finally figured out
Change-Id: Id4eaab14733253a685a8a33c51b2abcfe361ade7

I think i got dis grpc finally figured out part 2
Change-Id: I54e86963d4faacc4d3750530d558f2b64b640691

I think i got dis grpc finally figured out part: after this give up
Change-Id: I20b574bbb25ce143645b469d7944a282bffbc7f5

I think i got dis grpc finally figured out part: after this give up
Change-Id: If77df59d67623725210e9d4e74ed235c63d92905

5 years agoI think i got dis grpc finally figured out part: after this give up 09/2109/1
jsimomaa [Tue, 4 Sep 2018 14:13:42 +0000 (17:13 +0300)]
I think i got dis grpc finally figured out part: after this give up

gitlab #98

Change-Id: If77df59d67623725210e9d4e74ed235c63d92905

5 years agoI think i got dis grpc finally figured out part: after this give up 08/2108/1
jsimomaa [Tue, 4 Sep 2018 13:49:17 +0000 (16:49 +0300)]
I think i got dis grpc finally figured out part: after this give up

gitlab #98

Change-Id: I20b574bbb25ce143645b469d7944a282bffbc7f5

5 years agoI think i got dis grpc finally figured out part 2 07/2107/1
jsimomaa [Tue, 4 Sep 2018 13:32:31 +0000 (16:32 +0300)]
I think i got dis grpc finally figured out part 2

gitlab #98

Change-Id: I54e86963d4faacc4d3750530d558f2b64b640691

5 years agoI think i got dis grpc finally figured out 06/2106/1
jsimomaa [Tue, 4 Sep 2018 13:11:48 +0000 (16:11 +0300)]
I think i got dis grpc finally figured out

gitlab #98

Change-Id: Id4eaab14733253a685a8a33c51b2abcfe361ade7

5 years agoStarting to run out of options with this one... 05/2105/1
jsimomaa [Tue, 4 Sep 2018 12:59:43 +0000 (15:59 +0300)]
Starting to run out of options with this one...

gitlab #98

Change-Id: Id4a28c7d8565d163754624fc955be10895715aad

5 years agoStarting to run out of options with this one... 04/2104/1
jsimomaa [Tue, 4 Sep 2018 12:51:38 +0000 (15:51 +0300)]
Starting to run out of options with this one...

gitlab #98

Change-Id: I4815b0fee534baa14feb46c67f8332eaac53ebf8

5 years agoStill try to fix grpc to work with OSGI via ARIES serviceloader 03/2103/1
jsimomaa [Tue, 4 Sep 2018 11:17:39 +0000 (14:17 +0300)]
Still try to fix grpc to work with OSGI via ARIES serviceloader

gitlab #98

Change-Id: Idc7fdadec0214840787b9f7655a617f9222403e0

5 years agoStill try to fix grpc to work with OSGI via ARIES serviceloader 02/2102/1
jsimomaa [Tue, 4 Sep 2018 11:10:14 +0000 (14:10 +0300)]
Still try to fix grpc to work with OSGI via ARIES serviceloader

gitlab #98

Change-Id: I7c1230a7adf790233fb4e4ed59156e389cecab9d

5 years agoStill try to fix grpc work with OSGI via ARIES serviceloader 01/2101/1
jsimomaa [Tue, 4 Sep 2018 10:54:46 +0000 (13:54 +0300)]
Still try to fix grpc work with OSGI via ARIES serviceloader

gitlab #98

Change-Id: Ia8dbdcf48aaa9c9c31c9f0c44d9340dc41fad3e5

5 years agoStill try to fix grpc work with OSGI via ARIES serviceloader 99/2099/1
jsimomaa [Tue, 4 Sep 2018 10:05:54 +0000 (13:05 +0300)]
Still try to fix grpc work with OSGI via ARIES serviceloader

gitlab #98

Change-Id: I9c9ca3ef96d2220362ad180201b893a3fb937d56

5 years agoStill try to fix grpc work with OSGI via ARIES serviceloader 95/2095/1
jsimomaa [Tue, 4 Sep 2018 09:05:52 +0000 (12:05 +0300)]
Still try to fix grpc work with OSGI via ARIES serviceloader

gitlab #98

Change-Id: I7cef18eaa455fdfb90ba038783daf1b97e05f1cf

5 years agoTry to fix grpc work with OSGI via ARIES serviceloader 94/2094/1
jsimomaa [Tue, 4 Sep 2018 07:58:43 +0000 (10:58 +0300)]
Try to fix grpc work with OSGI via ARIES serviceloader

gitlab #98

Change-Id: I60a1f7d97ee1bcf745a47c8625bbaf373ee008c3

5 years agoTry to fix grpc work with OSGI via ARIES serviceloader 93/2093/1
jsimomaa [Tue, 4 Sep 2018 07:20:52 +0000 (10:20 +0300)]
Try to fix grpc work with OSGI via ARIES serviceloader

gitlab #98

Change-Id: Id534a1da66c9593d4b514166ec916de069c717de

5 years agoio.grpc.context version bump b001 92/2092/1
jsimomaa [Tue, 4 Sep 2018 05:34:42 +0000 (08:34 +0300)]
io.grpc.context version bump b001

gitlab #98

Change-Id: Ib809fb444ffe075ecfed4da597b13936857593a3

5 years agoMake io.grpc.context as fragment bundle to fix duplicate package name 90/2090/1
jsimomaa [Mon, 3 Sep 2018 13:57:37 +0000 (16:57 +0300)]
Make io.grpc.context as fragment bundle to fix duplicate package name

gitlab #98

Change-Id: Ia90030494ac42aac193d5a852464823224540dcf

5 years agoMake io.grpc.context as fragment bundle to fix duplicate package name 89/2089/1
jsimomaa [Mon, 3 Sep 2018 13:28:52 +0000 (16:28 +0300)]
Make io.grpc.context as fragment bundle to fix duplicate package name

gitlab #98

Change-Id: Icd8ac3b4cda5d046a84e859e0c84fa036eb08f83

5 years agoMake import com.sun optional in protobuf (for io.grpc) 88/2088/1
jsimomaa [Mon, 3 Sep 2018 11:03:35 +0000 (14:03 +0300)]
Make import com.sun optional in protobuf (for io.grpc)

gitlab #98

Change-Id: I38fd280bc04d67511f89bc200b66d9946cb8f9de

5 years agoAdd io.grpc to target platform (master) 83/2083/2
jsimomaa [Mon, 3 Sep 2018 08:09:31 +0000 (11:09 +0300)]
Add io.grpc to target platform (master)

gitlab #98

Change-Id: I6a163a3f3e3281ca8eb0bae7f01feb17bb445685

5 years agoAdd io.grpc to target platform (master) 79/2079/2
jsimomaa [Mon, 3 Sep 2018 06:14:20 +0000 (09:14 +0300)]
Add io.grpc to target platform (master)

gitlab #98

Change-Id: Ic003cf62b3933de2b530ec9ebd5947e93e5ac853

5 years agoAdded new diagram element transformation function rotateToNeighborSlope 72/2072/1
jsimomaa [Sat, 1 Sep 2018 12:12:15 +0000 (15:12 +0300)]
Added new diagram element transformation function rotateToNeighborSlope

gitlab #97

Change-Id: I0a86ea5c8bc3f5c6d3019715580e38cd1483d85b

5 years agoAdd progress monitoring for copying resources on desktop 83/1983/6
jsimomaa [Fri, 3 Aug 2018 10:22:24 +0000 (13:22 +0300)]
Add progress monitoring for copying resources on desktop

gitlab #74

Change-Id: Ia061109ef6553c1d148fcadd30b6622ea2b85bda

5 years agoRemove usage of deprecated SimanticsUI-methods 55/2055/1
jsimomaa [Thu, 30 Aug 2018 08:11:29 +0000 (11:11 +0300)]
Remove usage of deprecated SimanticsUI-methods

gitlab #95

Change-Id: Ia5a4dfc13d4a9ecce0b3182ee1b38f63fb67731d

5 years agoRestored MissingVariableException (String) constructor 53/2053/1
Tuukka Lehtonen [Thu, 30 Aug 2018 05:19:13 +0000 (08:19 +0300)]
Restored MissingVariableException (String) constructor

The previous change to this caused needless breakage with little gain.

gitlab #92

Change-Id: Ic7825a5bfdbcbe8438f70501eebd26c82d733bd7

5 years agoReplace instantiations of DatabaseException in indexing 47/2047/2
jsimomaa [Wed, 29 Aug 2018 12:09:46 +0000 (15:09 +0300)]
Replace instantiations of DatabaseException in indexing

gitlab #92

Change-Id: I95d64ec2c6bcda5fbc5a338fcb4d0ecc6a962f15

5 years agoToggleFocusabilityHandler now updates UI state on active part change 51/2051/1
Tuukka Lehtonen [Wed, 29 Aug 2018 17:57:57 +0000 (20:57 +0300)]
ToggleFocusabilityHandler now updates UI state on active part change

gitlab #93

Change-Id: I1e9fd3f5190149529d6b3f9882b238c62745c154

5 years agoReplace instantiations of DatabaseException with more specific 46/2046/5
jsimomaa [Wed, 29 Aug 2018 10:56:12 +0000 (13:56 +0300)]
Replace instantiations of DatabaseException with more specific

gitlab #92

Change-Id: I3030bdb2d02492783bda2ca8118c96b48b734c13

5 years agoPossibility to open SCL-modules from plug-in in JAR-file 96/1996/2
jsimomaa [Tue, 7 Aug 2018 11:03:55 +0000 (14:03 +0300)]
Possibility to open SCL-modules from plug-in in JAR-file

The real NPE problem was already fixed in c52bf8a8 by Hannu, but this
adds some SLF4J logging.

gitlab #77

Change-Id: I9ce2e1efca375046b0b5f8a5dd483e1e288d594a

5 years agoReplaceable Defined Component Types 11/2011/7
Antti Villberg [Fri, 17 Aug 2018 11:01:31 +0000 (14:01 +0300)]
Replaceable Defined Component Types

gitlab #83

Change-Id: I26ec5d8f6a66805999663e0856601e5ab2f98cb0

5 years agoMore SCL functions for experiment and run handling 40/2040/2
Antti Villberg [Tue, 28 Aug 2018 07:36:05 +0000 (10:36 +0300)]
More SCL functions for experiment and run handling

gitlab #91

Change-Id: I8ee4adbc8f375a7dc61df45e21f5ffe5582d84b8

5 years agoMerge changes I2aa561cb,I9eb9be8a
Tuukka Lehtonen [Tue, 28 Aug 2018 04:55:12 +0000 (04:55 +0000)]
Merge changes I2aa561cb,I9eb9be8a

* changes:
  Avoid unnecessary ElementClass validation work
  Switch MapList to use Java HashMap

5 years agoAvoid unnecessary ElementClass validation work 39/2039/1
Tuukka Lehtonen [Mon, 27 Aug 2018 21:21:33 +0000 (00:21 +0300)]
Avoid unnecessary ElementClass validation work

GraphToDiagramSynchronizer.SubstituteElementClassImpl can safely ignore
ElementClass validation checks which speeds loading up a bit for very
large diagrams.

gitlab #90

Change-Id: I2aa561cbad8de034362a4a298272d3faa8242537

5 years agoSwitch MapList to use Java HashMap 38/2038/1
Tuukka Lehtonen [Mon, 27 Aug 2018 21:17:48 +0000 (00:17 +0300)]
Switch MapList to use Java HashMap

Java HashMap is more efficient than Trove THashMap already in JDK 8.

gitlab #89

Change-Id: I9eb9be8a513ad1cd90b8f6f4a45aca99bba9234b

5 years agoMerge "Debug logging through SLF4J Logger for Expressions"
Tuukka Lehtonen [Mon, 27 Aug 2018 14:37:08 +0000 (14:37 +0000)]
Merge "Debug logging through SLF4J Logger for Expressions"

5 years agoMerge "Generic <String, Object> property map for tree node structure"
Tuukka Lehtonen [Mon, 27 Aug 2018 14:10:57 +0000 (14:10 +0000)]
Merge "Generic <String, Object> property map for tree node structure"

5 years agoMerge "Disabled BOOKKEEPING flag for normal use"
Tuukka Lehtonen [Mon, 27 Aug 2018 14:02:41 +0000 (14:02 +0000)]
Merge "Disabled BOOKKEEPING flag for normal use"

5 years agoDebug logging through SLF4J Logger for Expressions 36/2036/1
Tuukka Lehtonen [Mon, 27 Aug 2018 14:01:39 +0000 (17:01 +0300)]
Debug logging through SLF4J Logger for Expressions

gitlab #88

Change-Id: I7917e8a207e99bf92feab50291bcb3d85e108cf3

5 years agoGeneric <String, Object> property map for tree node structure 35/2035/1
Tuukka Lehtonen [Mon, 27 Aug 2018 14:00:02 +0000 (17:00 +0300)]
Generic <String, Object> property map for tree node structure

Allows requests generating these nodes to mark them with any data to be
used later in UI or elsewhere.

gitlab #87

Change-Id: Ifa0e0d6cd9be342057ff150e721cebe50105197f

5 years agoDisabled BOOKKEEPING flag for normal use 34/2034/1
Tuukka Lehtonen [Mon, 27 Aug 2018 13:54:12 +0000 (16:54 +0300)]
Disabled BOOKKEEPING flag for normal use

Also fixed all compilation warnings from the file.

gitlab #5

Change-Id: I5697ade4a1443df565dd19f78fa1ce044ae97169

5 years agoPerformance and resource consumption optimization for G2D picking 64/1964/9
jsimomaa [Fri, 27 Jul 2018 07:14:49 +0000 (10:14 +0300)]
Performance and resource consumption optimization for G2D picking

* Scene graph R-tree based spatial optimization of picked
  IElement-material resolution
* Parallel processing for both resolving the elements to pick and
  picking the elements
* Added INode -> IElement map management to ElementPainter to have the
  fastest possible means available in picking for getting from scene
  graph nodes to their corresponding IElement instances.

gitlab #66

Change-Id: I524da0c2695cdda2eb4f0a1fa318f48ff8fcff24

5 years agoFixed DirectQuerySupportImpl small cluster String value retrieval 27/2027/1
Tuukka Lehtonen [Fri, 24 Aug 2018 10:45:16 +0000 (13:45 +0300)]
Fixed DirectQuerySupportImpl small cluster String value retrieval

Previous too-optimized implementation had multiple flaws:
* Index calculation did not have enough parenthesis in it which meant
  that the value table index was sometimes calculated incorrectly.
  This lead to string literal values being read incorrectly.
* Did not take into account string literals longer than 127 characters
* Did not take into account that string literals are modified-utf-8
  encoded and simply decoded them as US-ASCII bytes. Essentially all
  resources with name containing special characters were indexed
  incorrectly up until now.

All of these flaws have been in the code for ages.

gitlab #86

Change-Id: I500114d3e2cff76370433b929ec8b8124659ce33

5 years agoRender last known value in time series chart hairline value tip 19/2019/2
Tuukka Lehtonen [Tue, 21 Aug 2018 15:54:52 +0000 (18:54 +0300)]
Render last known value in time series chart hairline value tip

Previously if a history item's data stream did not (yet) contain a value
with a timestamp >= than the chart hairline time, the value time on top
of the chart would not paint any value at all for that item. The best
thing the chart can do in such circumstances to prevent unwanted visual
skipping in the UI is to paint the last known sample's value regardless
of its endTime value.

gitlab #85

Change-Id: I362a19b8699c8c4a96240ddfc3fd68a91d6bbd06

5 years agoCheck if root allows paste only for non-null target root to prevent NPE 13/2013/3
Jussi Koskela [Mon, 20 Aug 2018 06:24:34 +0000 (09:24 +0300)]
Check if root allows paste only for non-null target root to prevent NPE

gitlab #84

Change-Id: I7d736e78928bc203bfb05e72af31e16d204bdc32

5 years agoFixes based on feedback 08/2008/2
Antti Villberg [Thu, 16 Aug 2018 07:30:24 +0000 (10:30 +0300)]
Fixes based on feedback

gitlab #5

Change-Id: I39ecea8bca9bc518ec746bf3e306aca09e9f9237

5 years agoImproved Bindings.getBinding(Class) caching for Datatype.class 10/2010/2
Tuukka Lehtonen [Fri, 17 Aug 2018 08:23:20 +0000 (11:23 +0300)]
Improved Bindings.getBinding(Class) caching for Datatype.class

Previously Datatype.class binding was never cached nor statically
constructed and made available as Bindings.DATATYPE which is only
sensible because Datatype class is a central building block of Databoard
and therefore its binding should also be readily available instead of
all clients having to request for it separately.

A weak hashmap cache was also added for signature strings in
BindingRequest because it was noticed that in conditions where code
makes a lot of requests for uncached binding, the cost of String
construction in BindingRequest.getSignature starts to dominate
cpu/memory costs. Two main problems in there were: constantly creating
new strings and using the very inefficient String.replaceAll instead of
String.replace(char, char).

gitlab #82

Change-Id: I50fbbc2bbe1e5d6b8b5864c3aed4c228022e66dc

5 years agoRest API for Historian data 96/1896/7
Marko Luukkainen [Wed, 4 Jul 2018 10:28:35 +0000 (13:28 +0300)]
Rest API for Historian data

gitlab #40

Change-Id: I4bc9cc2dec3d3c2dcf902d372fc895b073d5e767

5 years agoUpdated SDK target platform to include org.eclipse.jetty.servlets 07/2007/1
Tuukka Lehtonen [Tue, 14 Aug 2018 10:50:43 +0000 (13:50 +0300)]
Updated SDK target platform to include org.eclipse.jetty.servlets

gitlab #40
gitlab #81

Change-Id: I500ed8c006785c07852054ace1519046d9885687

5 years agoInclude org.eclipse.jetty.servlets in SDK external dependencies 06/2006/1
Tuukka Lehtonen [Tue, 14 Aug 2018 10:10:30 +0000 (13:10 +0300)]
Include org.eclipse.jetty.servlets in SDK external dependencies

This takes version 9.4.5.v20170502 which is the same as the Jetty
plug-ins provided by Eclipse RCP SDK the current SDK uses.

gitlab #81

Change-Id: Idb2f93f0d79fe3656fc745860d8e6ccce1bb1d1e

5 years agoUse given base name when exporting tg file along with shared library 98/1998/2
Jussi Koskela [Thu, 9 Aug 2018 10:22:16 +0000 (13:22 +0300)]
Use given base name when exporting tg file along with shared library

gitlab #79

Change-Id: I7cec6fe1546475a40de09514d8aeb8b219b290fa

5 years agoAttempt to fix regressions in new code base 92/1992/3
Antti Villberg [Sun, 5 Aug 2018 07:58:52 +0000 (10:58 +0300)]
Attempt to fix regressions in new code base

gitlab #5

Change-Id: I0a72d8f68f448b9b775deb403146947bac107049

5 years agoRemoved contact application support prints 88/1988/2
Miro Richard Eklund [Fri, 3 Aug 2018 13:05:09 +0000 (16:05 +0300)]
Removed contact application support prints

Unnecessary contact application support on error messages removed.

gitlab #76

Change-Id: I6f3940fa5443e52eb7c9e21c7578579158b468c3

5 years agoRemove duplicate InputChannel inner classes 82/1982/4
jsimomaa [Fri, 3 Aug 2018 07:48:11 +0000 (10:48 +0300)]
Remove duplicate InputChannel inner classes

gitlab #73

Change-Id: I5ef3948f8b3437345536bd7e121cb3443d8fe26f

5 years agoRemove error in ClusterChange isLoaded() 85/1985/1
Miro Richard Eklund [Fri, 3 Aug 2018 11:02:17 +0000 (14:02 +0300)]
Remove error in ClusterChange isLoaded()

gitlab #75

Change-Id: I2014788d390d581a9b185f2a25150619895f4acb

5 years agoAlways write model activation information in activations VG 81/1981/1
Tuukka Lehtonen [Fri, 3 Aug 2018 05:32:00 +0000 (08:32 +0300)]
Always write model activation information in activations VG

gitlab #72

Change-Id: Iae03fee489bfb3b50797dc2cd271e65ec535133a

5 years agoMerge "Multiple reader thread support for db client"
Tuukka Lehtonen [Fri, 3 Aug 2018 05:23:49 +0000 (05:23 +0000)]
Merge "Multiple reader thread support for db client"

5 years agoMultiple reader thread support for db client 69/1969/7
Antti Villberg [Fri, 27 Jul 2018 20:33:59 +0000 (23:33 +0300)]
Multiple reader thread support for db client

gitlab #5

Change-Id: Ia5c189525f2f8277bfc10234c41a1ae47082bb15

5 years agoNew splash.bmp with version 1.36.0
Tuukka Lehtonen [Thu, 2 Aug 2018 21:37:25 +0000 (00:37 +0300)]
New splash.bmp with version 1.36.0

gitlab #71

5 years agoSimplified release engineering instructions
Tuukka Lehtonen [Thu, 2 Aug 2018 21:09:58 +0000 (00:09 +0300)]
Simplified release engineering instructions

gitlab #71

5 years agoSimplify release branching as much as possible
Tuukka Lehtonen [Thu, 2 Aug 2018 20:55:38 +0000 (23:55 +0300)]
Simplify release branching as much as possible

Now the release-helper.sh script has a single action
branch-release that can be used to do everything related
to normal release branching except pushing the changes to
origin.

Also the action bump-master-version simplifies the version
bumping done for platform and simupedia master branches
after a release is branched.

gitlab #71

Change-Id: I71d7936a610b2f3a5228405680779bb3ae2e2ed7

5 years agoBumped master version to 1.36.0
Tuukka Lehtonen [Thu, 2 Aug 2018 20:51:59 +0000 (23:51 +0300)]
Bumped master version to 1.36.0

gitlab #71

5 years agoIConnectionPoint and canBeConnected-checking util to SCL 65/1965/4
jsimomaa [Fri, 27 Jul 2018 07:19:12 +0000 (10:19 +0300)]
IConnectionPoint and canBeConnected-checking util to SCL

gitlab #67

Change-Id: I7bcb4a3c415dd480cc7b4621ed6b18f1a277d83c

5 years agoFunctions for manipulating column beans 44/1944/3
Antti Villberg [Mon, 23 Jul 2018 18:50:47 +0000 (21:50 +0300)]
Functions for manipulating column beans

gitlab #51

Change-Id: I27a62a07324fa3dc48f5d80efa660881f85940a1

5 years agoSupport for multiple installable TG files in single bundle 43/1943/4
Antti Villberg [Mon, 23 Jul 2018 16:25:19 +0000 (19:25 +0300)]
Support for multiple installable TG files in single bundle

gitlab #50

Change-Id: Id3f11ec8fbc4a3276fe7c48e538996542e768312

5 years agoChange mode to operation in Spreadsheet when changing sheets 78/1978/1
Miro Richard Eklund [Tue, 31 Jul 2018 10:43:02 +0000 (13:43 +0300)]
Change mode to operation in Spreadsheet when changing sheets

gitlab #70

Change-Id: I0735e72d817b3d1c7287ecfe0c6e2473bac32a01

5 years agoAdded static handler without event as input to AssignSymbolGroupsHandler 77/1977/1
Miro Richard Eklund [Tue, 31 Jul 2018 10:39:19 +0000 (13:39 +0300)]
Added static handler without event as input to AssignSymbolGroupsHandler

This minor change is needed by sysdyn to be able to add Modules to
symbol groups.

gitlab #69

Change-Id: I7df2c397a299e1a49a7912809fa7773917e6cfe3

5 years agoMake transformChanged and dropQuality abstract in NavigationNode 72/1972/2
jsimomaa [Mon, 30 Jul 2018 08:18:24 +0000 (11:18 +0300)]
Make transformChanged and dropQuality abstract in NavigationNode

gitlab #63

Change-Id: Iac86a4a40292597408a78903a372ee779c93b111

5 years agoOption to disable duplicate MouseWheelMovedEvent in G2D EventQueue 62/1962/3
jsimomaa [Fri, 27 Jul 2018 07:09:16 +0000 (10:09 +0300)]
Option to disable duplicate MouseWheelMovedEvent in G2D EventQueue

gitlab #64

Change-Id: Ifda3fb71ac2ddc71fc94dfdc198841a55e166953

5 years agoMerge "ResourceSCLTextGridStyle for creating Resource-based monitors with SCL"
Jani Simomaa [Mon, 30 Jul 2018 05:27:38 +0000 (05:27 +0000)]
Merge "ResourceSCLTextGridStyle for creating Resource-based monitors with SCL"

5 years agoMerge changes I7cd072f0,I499dc390
Jani Simomaa [Mon, 30 Jul 2018 05:27:25 +0000 (05:27 +0000)]
Merge changes I7cd072f0,I499dc390

* changes:
  Add progress monitoring for DeleteHandler
  Improve performance of CommandMetadata (de)serialization

5 years agoAdd missing images back to SILK 68/1968/1
Miro Richard Eklund [Fri, 27 Jul 2018 15:08:34 +0000 (18:08 +0300)]
Add missing images back to SILK

The images are time with a rainbow and an italic font F, both used in
old versions of Sysdyn desktop.

gitlab #68

Change-Id: Ibc441c67f7599ea0a83940cbe2fa9ae240ea79d5

5 years agoCustomize NavigationNode for PanZoomRotateHandler 61/1961/2
jsimomaa [Fri, 27 Jul 2018 07:07:40 +0000 (10:07 +0300)]
Customize NavigationNode for PanZoomRotateHandler

gitlab #63

Change-Id: I127743304e9ebae068c961e9929a18fb17115a08

5 years agoResourceSCLTextGridStyle for creating Resource-based monitors with SCL 60/1960/1
jsimomaa [Fri, 27 Jul 2018 07:04:49 +0000 (10:04 +0300)]
ResourceSCLTextGridStyle for creating Resource-based monitors with SCL

gitlab #62

Change-Id: I17b33e561ff5194e8ebaaf4522d702b222e762cf

5 years agoAdd progress monitoring for DeleteHandler 59/1959/1
jsimomaa [Fri, 27 Jul 2018 07:02:50 +0000 (10:02 +0300)]
Add progress monitoring for DeleteHandler

Current implementation does not give any hints when deleting e.g. 10000
resources

gitlab #61

Change-Id: I7cd072f0adbfe02c9ee8f0e80350bec44a6e7c20

5 years agoImprove performance of CommandMetadata (de)serialization 58/1958/1
jsimomaa [Fri, 27 Jul 2018 06:59:25 +0000 (09:59 +0300)]
Improve performance of CommandMetadata (de)serialization

gitlab #60

Change-Id: I499dc390e84a733e9a890164695a79ad2a40e05f

5 years agoAdd max digits for ruler node for subclasses to override 57/1957/1
jsimomaa [Fri, 27 Jul 2018 06:51:11 +0000 (09:51 +0300)]
Add max digits for ruler node for subclasses to override

gitlab #59

Change-Id: I7063af75d8ae1190271386a8441b90ccec7342af

5 years agoPrevent paste to resources that are `L0.Entity_published` 53/1953/3
Jani Simomaa [Thu, 26 Jul 2018 09:30:57 +0000 (12:30 +0300)]
Prevent paste to resources that are `L0.Entity_published`

gitlab #57

Change-Id: Ie4728421bca56ba0c10ae03d08f99123faffa1f1

5 years agoUpdated file importer interface and fixed Spreadsheet import 50/1950/7
Miro Richard Eklund [Wed, 25 Jul 2018 12:56:46 +0000 (15:56 +0300)]
Updated file importer interface and fixed Spreadsheet import

Spreadsheet import through the generic file importer always failed,
since the books cannot be imported to Development Project. Now the
generic file interface takes this into account and provides the
selection as a resource. Currently only ExcelFileImport uses

Amend 1: Changed the way the selected resource is found
Amend 2: Take into account Tuukka's review comments (1,2,3 and 5)
Amend 3 and 4: Changes by Jani and Miro to fix some issues with the
interface

gitlab #53
gitlab #56

Change-Id: Ibfb9d54d8c36a3dc2aa7da8f1043613159ae8383

5 years agoSpreadsheet updates cell values properly 49/1949/1
Miro Richard Eklund [Wed, 25 Jul 2018 09:33:33 +0000 (12:33 +0300)]
Spreadsheet updates cell values properly

Cells referencing other cells weren't updated after change
"8c8283a01e63980527d605936286747006bea601" (see in History view), in
StandardNodeManager.java. I added a new setValue function that takes a
list of Nodes that need to be updated (removes them from valueCache),
which allows only specific cells to be updated when another cell is
updated.
I also removed invalidation code from Spreadsheet's "All.java" class and
added them to the value updated in SpreadsheetNodeManager, which
invalidates recursively the cells the use another cell.
I also made sure that SpreadsheetCells jave the same properties through
their life-cycle, rather than creating a properties map whenever the
properties are called.

gitlab #48
gitlab #54
gitlab #55

Change-Id: I125f644e014310937ed7697e9f44ec33825f9b0f

5 years agoSpreadsheet Fixes 33/1933/2
Miro Richard Eklund [Wed, 18 Jul 2018 11:12:05 +0000 (14:12 +0300)]
Spreadsheet Fixes

-Fix ArithmeticExpression + and - String cell value evaluation to check
for number properly.
-decodePossibleCellAbsolute by location rather than decodeCellAbsolute
in "getPossibleCellEditor" to avoid error being thrown unnecessarily
when trying to access cells by ID "Headers" (which is not a proper cell
ID)
-Update cell content expression after change rather than leaving the
default value.

gitlab #43
gitlab #44
gitlab #45

Change-Id: I8a89d86f6cdfd0651a36176a69066b8faa4faeac

5 years agoUtilities for listing of statements in DB 25/1925/4
Antti Villberg [Tue, 17 Jul 2018 09:49:35 +0000 (12:49 +0300)]
Utilities for listing of statements in DB

gitlab #42

Change-Id: I5d79c2542cffaff56cb6e6405c466e030115c7c3

5 years agoRe-export simulation.sequences in simulator.toolkit 40/1940/1
Antti Villberg [Fri, 20 Jul 2018 05:09:50 +0000 (08:09 +0300)]
Re-export simulation.sequences in simulator.toolkit

gitlab #49

Change-Id: I12435be168e141efb69691d1dbe3cf8a92c4f8bc

5 years agoMerge "Use Runtime.halt instead of System.exit in delayed shutdown"
Hannu Niemistö [Thu, 19 Jul 2018 11:18:29 +0000 (11:18 +0000)]
Merge "Use Runtime.halt instead of System.exit in delayed shutdown"

5 years agoUse Runtime.halt instead of System.exit in delayed shutdown 38/1938/1
Hannu Niemistö [Wed, 18 Jul 2018 10:26:07 +0000 (13:26 +0300)]
Use Runtime.halt instead of System.exit in delayed shutdown

Change-Id: I4c43ff1f73639948bcefa4bf3c41cf4a06ff6b95

5 years agoGetter for experiment from DynamicExperimentActionContext 37/1937/1
Antti Villberg [Thu, 19 Jul 2018 08:17:28 +0000 (11:17 +0300)]
Getter for experiment from DynamicExperimentActionContext

gitlab #47

Change-Id: I287952c70b5540b6ec4491cacba4a2804510b684

5 years agoMerge "Better emptying of trash bin"
Hannu Niemistö [Tue, 17 Jul 2018 10:29:50 +0000 (10:29 +0000)]
Merge "Better emptying of trash bin"

5 years agoMerge "Block external and excluded seeds in ConsistsOfProcess"
Hannu Niemistö [Tue, 17 Jul 2018 10:29:35 +0000 (10:29 +0000)]
Merge "Block external and excluded seeds in ConsistsOfProcess"

5 years agoBetter emptying of trash bin 22/1922/2
Antti Villberg [Tue, 17 Jul 2018 09:09:14 +0000 (12:09 +0300)]
Better emptying of trash bin

Statement removal was broken in write only request. TG remover did not
correctly manage internal resources. Added hardening against errors.

gitlab #32

Change-Id: I120fcbdb7077e0f037104331480a2b1ab090d798

5 years agoAdd workbenchselection json fetcher to SCL interface 08/1908/1
Miro Richard Eklund [Tue, 10 Jul 2018 14:42:14 +0000 (17:42 +0300)]
Add workbenchselection json fetcher to SCL interface

Requires some small refactoring changes to AdaptableHintContext and
classes using it, which is why so many files were affected.

gitlab #41

Change-Id: I35bc8abe9e1eca8ff34ee503925645ee14d41664

5 years agoBlock external and excluded seeds in ConsistsOfProcess 00/1900/1
Antti Villberg [Sat, 7 Jul 2018 06:11:52 +0000 (09:11 +0300)]
Block external and excluded seeds in ConsistsOfProcess

refs #14162

Change-Id: I3d8048ee763b5e41e0b9835afcb129ad50b88025

5 years agoForce platform shutdown after some delay when workbench is closed 93/1893/2
Hannu Niemistö [Mon, 2 Jul 2018 08:24:40 +0000 (11:24 +0300)]
Force platform shutdown after some delay when workbench is closed

gitlab #37

Change-Id: I6ab788e55824dbc3b2dd656cbb6ead407e35938a

5 years agoGraph debugger: handle case where assertions does not have predicate
Hannu Niemistö [Mon, 2 Jul 2018 09:24:27 +0000 (12:24 +0300)]
Graph debugger: handle case where assertions does not have predicate

gitlab #38

Change-Id: I85b9b2c014b44bcaec7cf3117b87df1215143435

5 years agoAdded safety to release-helper.sh
Tuukka Lehtonen [Sun, 1 Jul 2018 11:03:46 +0000 (14:03 +0300)]
Added safety to release-helper.sh

Change-Id: I4505f0e6c935a94ebd4a869e39455fe6ff10b91c

5 years agoHistory data collector did not collect min/max/avg values correctly 87/1887/3
Marko Luukkainen [Thu, 28 Jun 2018 13:25:55 +0000 (16:25 +0300)]
History data collector did not collect min/max/avg values correctly

gitlab #35

Change-Id: Iabc44ba0d8fb8a0348f27df07cd4d114975c4d0d

5 years agoSCL API for GraphFile plug-in. 83/1883/2
Marko Luukkainen [Thu, 28 Jun 2018 14:40:26 +0000 (17:40 +0300)]
SCL API for GraphFile plug-in.

gitlab #34

Change-Id: I81b9d41cfa392545df629bf9e7a6197c21effa58