simantics/platform.git
10 months 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

10 months 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

10 months 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

10 months 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"

10 months 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"

10 months 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

10 months 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

10 months 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

10 months 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

10 months 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

10 months 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

10 months 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

10 months 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

10 months 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

10 months 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

10 months 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"

10 months 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

10 months 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"

10 months 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

10 months 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

10 months 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

10 months 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"

10 months 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

10 months 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"

10 months 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

11 months 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"

11 months 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

11 months 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

11 months 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"

11 months agoAdded a class listing the reserved words of SCL language 09/2209/2
Hannu Niemistö [Thu, 20 Sep 2018 08:26:21 +0000 (11:26 +0300)]
Added a class listing the reserved words of SCL language

Change-Id: I22f9c0edd5b23bba9ae9c9cbc346d501972c87ef

11 months agoFixed the order of parameters in the transformation 10/2210/1
Jussi Koskela [Thu, 20 Sep 2018 11:22:25 +0000 (14:22 +0300)]
Fixed the order of parameters in the transformation

gitlab #128

Change-Id: If45204601f2bab283c537b58c25684fd0c3609f5

11 months agoFixed diagram mouse wheel zooming for HiDPI monitors with zoom 03/2203/1
Tuukka Lehtonen [Tue, 18 Sep 2018 21:45:25 +0000 (00:45 +0300)]
Fixed diagram mouse wheel zooming for HiDPI monitors with zoom

SWTMouseEventAdapter now upscales coordinates which previously were just
passed to G2D as SWT API coordinates, not pixel coordinates.

gitlab #119

Change-Id: Icd3e00d1e515007f8573f7910783762a26916615
(cherry picked from commit a45f69c08e4157a565cddce93bbf17aa64da2e2f)

11 months agoAdded new ExperimentRuns.createRun utility 00/2200/1
Tuukka Lehtonen [Tue, 18 Sep 2018 20:45:22 +0000 (23:45 +0300)]
Added new ExperimentRuns.createRun utility

The new method was added because more control was needed on whether
attachStateListener is invoked or not.

gitlab #126

Change-Id: I7132cb1bd2bd734403382b2d35c169510c8ea433
(cherry picked from commit 7903eb7d1e0e004cfa05a8775fda95e556b5727b)

11 months agoSimantics JDBC testing with access over Variable/StandardNodeManager 91/1891/3 feature/jdbc-simantics
jsimomaa [Sat, 30 Jun 2018 12:31:02 +0000 (15:31 +0300)]
Simantics JDBC testing with access over Variable/StandardNodeManager

gitlab #125

Change-Id: I8dc2cab179e941dca25a2683c1d4f444cb2ae904

11 months agoSmall fix for SWTDPIUtil to prevent uninitialized use 97/2197/2
Tuukka Lehtonen [Mon, 17 Sep 2018 12:34:42 +0000 (15:34 +0300)]
Small fix for SWTDPIUtil to prevent uninitialized use

gitlab #119

Change-Id: I27779078dca87927b9700a1acc3b26aed7cca308

11 months agoSmall but effective HiDPI fixes for platform G2D 95/2195/1
Tuukka Lehtonen [Sun, 16 Sep 2018 12:25:59 +0000 (15:25 +0300)]
Small but effective HiDPI fixes for platform G2D

* GalleryViewer now scales accoring to swt.autoScale setting
* SWTPopupMenuParticipant now properly downscales pixel coordinates to
  SWT API coordinates
* Default symbol title font size is now 12 which is more readable by
  default now that the font size is scaled more correctly than before

gitlab #119

Change-Id: I9ced77879e367efd905138798b18c3fb908e5b21

11 months agoAdded null check for getPossibleObject return value 93/2193/1
Tuukka Lehtonen [Fri, 14 Sep 2018 13:15:00 +0000 (16:15 +0300)]
Added null check for getPossibleObject return value

gitlab #124

Change-Id: Ia5deaafddd4f15c25351feed19d32b4634349544
(cherry picked from commit 74083d12acc3169cbeb36f39b3f4837ffdc34233)

11 months agoMerge "Added null check after getPossibleType(STR.Component)"
Tuukka Lehtonen [Fri, 14 Sep 2018 12:34:14 +0000 (12:34 +0000)]
Merge "Added null check after getPossibleType(STR.Component)"

11 months agoMerge "Expose History REST API implementation to other plug-ins"
Marko Luukkainen [Fri, 14 Sep 2018 10:43:53 +0000 (10:43 +0000)]
Merge "Expose History REST API implementation to other plug-ins"

11 months agoExpose History REST API implementation to other plug-ins 82/2182/1
Marko Luukkainen [Fri, 14 Sep 2018 10:28:55 +0000 (13:28 +0300)]
Expose History REST API implementation to other plug-ins

gitlab #123

Change-Id: If99ceb8b6c0349b4be57b8f9cd10e93abf5356e5

11 months agoFix Layer0 definitions that cause unnecessary warnings in SCLTypeUtils 81/2181/3
Tuukka Lehtonen [Fri, 14 Sep 2018 07:28:36 +0000 (10:28 +0300)]
Fix Layer0 definitions that cause unnecessary warnings in SCLTypeUtils

gitlab #120

Change-Id: I752331250a46f0e01f48ad128458460d3e9061cc

11 months agoAdded null check after getPossibleType(STR.Component) 80/2180/2
Tuukka Lehtonen [Thu, 13 Sep 2018 19:09:39 +0000 (22:09 +0300)]
Added null check after getPossibleType(STR.Component)

gitlab #118

Change-Id: I89c4f6921c1ee6c6decd833045e9856d4df52011

11 months agoNPE while recalculating title for CompatibilityPart 72/2172/2
jsimomaa [Thu, 13 Sep 2018 12:27:43 +0000 (15:27 +0300)]
NPE while recalculating title for CompatibilityPart

gitlab #117

Change-Id: Ie293c21c66a273ceb0b2fe3908168b6aebf9f347

11 months agoMerge "SCL-compiler should activate installed bundles"
Tuukka Lehtonen [Tue, 11 Sep 2018 05:12:03 +0000 (05:12 +0000)]
Merge "SCL-compiler should activate installed bundles"

11 months agoExport package org.simantics.scl.compiler.internal.codegen.continuations 56/2156/1
HannuNiemistö [Mon, 10 Sep 2018 12:43:26 +0000 (15:43 +0300)]
Export package org.simantics.scl.compiler.internal.codegen.continuations

The class Cont in the package is required to implement constructors
outside of compiler plugin.

gitlab #114

Change-Id: I7177b9562d12215ee6a62b9f055c9c069fb543d0

11 months agoMerge "Minor refactorings related to SCL constructors"
Tuukka Lehtonen [Mon, 10 Sep 2018 09:44:59 +0000 (09:44 +0000)]
Merge "Minor refactorings related to SCL constructors"

11 months agoMerge "Trigger all drag start events from single place"
Tuukka Lehtonen [Mon, 10 Sep 2018 09:43:40 +0000 (09:43 +0000)]
Merge "Trigger all drag start events from single place"

11 months agoSCL-compiler should activate installed bundles 52/2152/2
jsimomaa [Mon, 10 Sep 2018 07:23:04 +0000 (10:23 +0300)]
SCL-compiler should activate installed bundles

gitlab #115

Conflicts:
bundles/org.simantics.scl.osgi/src/org/simantics/scl/osgi/internal/BundleModuleSource.java

Change-Id: Ic6c3aa47386e462442285ef79749f27acaf541c9
(cherry picked from commit 7b50064579d979d2f3e8901bad32b219c5e1441d)

11 months agoTrigger all drag start events from single place 35/2135/5
Jussi Koskela [Thu, 6 Sep 2018 13:46:17 +0000 (16:46 +0300)]
Trigger all drag start events from single place

gitlab #112

Change-Id: Ifdde60194967fc80fbf0276c754af00e3c2a3ca2

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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"

11 months 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"

11 months 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"

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

12 months 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

12 months 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

12 months 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