]> gerrit.simantics Code Review - simantics/platform.git/log
simantics/platform.git
6 years ago(refs #7606) Timing with task name (Debug module) 05/1205/1
Hannu Niemistö [Tue, 7 Nov 2017 14:01:58 +0000 (16:01 +0200)]
(refs #7606) Timing with task name (Debug module)

Change-Id: I05aee8105315ac0bb8f6eefdca52334b42ce3149

6 years ago(refs #7604) Improvements to graph handling in SCL source modules 02/1202/1
Hannu Niemistö [Mon, 6 Nov 2017 16:07:52 +0000 (18:07 +0200)]
(refs #7604) Improvements to graph handling in SCL source modules

This commit also improves exceptions printed by CommandSession.

Change-Id: Ifda4468ae31b8ea08656b2dd60f4255c19d11ee3

6 years agoFixed migrating import temporary folder creation to prevent name overlap 00/1200/1
Tuukka Lehtonen [Mon, 6 Nov 2017 10:53:36 +0000 (12:53 +0200)]
Fixed migrating import temporary folder creation to prevent name overlap

Previously model imports could fail if they were small and contained one
or more shared libraries imported at the same time because the imports
could be done within the same second which triggered the folder name
overlap.

refs #7603

Change-Id: I0f559f2fe2e7bdb1a8852e7cd7a74cecd7bb6055

6 years agoRemoved unnecessary getPossibleRepresents invocation 97/1197/2
Tuukka Lehtonen [Mon, 6 Nov 2017 07:04:40 +0000 (09:04 +0200)]
Removed unnecessary getPossibleRepresents invocation

refs #7525

Change-Id: I78dc128df39f74a7798705a2ebf21b7a5832256b

6 years ago(refs #7601) Wildcard syntax for SCL records 98/1198/2
Hannu Niemistö [Mon, 6 Nov 2017 08:14:39 +0000 (10:14 +0200)]
(refs #7601) Wildcard syntax for SCL records

Change-Id: Ia044ce4598d0897bbd7416527707b49211aba9e3

6 years agoUse java.file.nio API Files.createDirectories instead of File.mkdirs 96/1196/1
Tuukka Lehtonen [Sun, 5 Nov 2017 11:53:45 +0000 (13:53 +0200)]
Use java.file.nio API Files.createDirectories instead of File.mkdirs

This should at least provide better diagnostics in case of unexpected
failure.

refs #7600

Change-Id: Ib5fb10798257cd35d3d8c3c533574b17a62e715b

6 years agoSome fixes/cleanup for cluster table size caching logic. 95/1195/1
Tuukka Lehtonen [Sun, 5 Nov 2017 11:52:32 +0000 (13:52 +0200)]
Some fixes/cleanup for cluster table size caching logic.

The previous code was not keeping the cached size properly up-to-date
which resulted in the DB client thinking that the consumer cluster
memory size is larger than it actually is and eventually winding up in a
state where the LRU importanceMap is constantly almost empty and the
code keeps throwing away clusters whenever the next cluster is loaded
due the misconception of used cluster memory.

The code is still not perfect/totally functional - I was still able to
get the thrashing situation to reproduce with A6 model imports, but not
as heavily as originally. I was able to import models with much more
initial conditions stored than previously without these changes.

refs #7598

Change-Id: I039fa2062908c05a61efb28e695daec01afd1725

6 years agoClear subtask from progress monitor after TG to DB import completes 94/1194/1
Tuukka Lehtonen [Sun, 5 Nov 2017 11:33:07 +0000 (13:33 +0200)]
Clear subtask from progress monitor after TG to DB import completes

refs #7599

Change-Id: I991509752544bf85f1a054a46ad0411daec79027

6 years ago(refs #7597) Allow side-effects in the function given to indexBy 93/1193/2
Hannu Niemistö [Fri, 3 Nov 2017 15:08:20 +0000 (17:08 +0200)]
(refs #7597) Allow side-effects in the function given to indexBy

Change-Id: Id1f7f257b4b91dbcb47cea1d0f15350a1956ab17

6 years ago(refs #7595) Started SCL/Reflection module 91/1191/2
Hannu Niemistö [Fri, 3 Nov 2017 13:00:00 +0000 (15:00 +0200)]
(refs #7595) Started SCL/Reflection module

Change-Id: I9c7d798ddfb9d39a8dfc8f7bdd31eb2e3399a172

6 years agoProgress monitoring to users Pgraph compilation 81/1181/7
jsimomaa [Thu, 26 Oct 2017 09:15:24 +0000 (12:15 +0300)]
Progress monitoring to users Pgraph compilation

refs #7576

Change-Id: I98004732bb8d3e1171dbd846bd2c476e00fd9f72

6 years agoDefaultMouseListener was added twice in GraphExplorerComposite 86/1186/3
Tuukka Lehtonen [Fri, 3 Nov 2017 06:50:24 +0000 (08:50 +0200)]
DefaultMouseListener was added twice in GraphExplorerComposite

Changed ExpandNodeHandler double click action to perform its search for
editor adapters based on the input object provided in the double click
event instead of the NodeContext potentially contained by the input
object. This makes it use the same logic as OpenDefaultEditor adapter.

refs #7434

Change-Id: Ic22bbd98406f61df55817e76e5b2feabe0aedd5e

6 years agoAllow overriding issue hidden-ness/hiding logic in inheriting ontologies 85/1185/3
Tuukka Lehtonen [Thu, 2 Nov 2017 14:52:34 +0000 (16:52 +0200)]
Allow overriding issue hidden-ness/hiding logic in inheriting ontologies

Changed the way issues are modelled by adding two new
function-properties: hider & hidden. hider is used to change the
hidden-state of issues and hidden is used to query the state. This
allows e.g. fully variable-based dynamic issue hierarchies to support
hiding as well.

refs #7594

Change-Id: Ieba88fb4ffd3142dc4371fa941fd5f31d6eaf93f

6 years agoFixed SCLScriptAnnotationModel script validation threading 83/1183/1
Tuukka Lehtonen [Thu, 2 Nov 2017 13:37:32 +0000 (15:37 +0200)]
Fixed SCLScriptAnnotationModel script validation threading

Previously the code performed the script validation directly in the DB
listener thread, which is essentially QueryThread-0 without putting the
related ReadGraph into the current SCLContext while doing so. This
caused the validation code to crash because the validation code tries to
start a new database transaction from within the transaction thread
calling the listener.

The solution schedules the validation to a BUILD priority Job thread.

refs #7450

Change-Id: I01c030be032890638919c3800e04e14670f8726c

6 years agoFixed databoard set binding getAll indexing bug 82/1182/1
Tuukka Lehtonen [Thu, 2 Nov 2017 12:56:16 +0000 (14:56 +0200)]
Fixed databoard set binding getAll indexing bug

All *SetBindings were missing a simple i++ increment which caused
serialization of a TreeSet<..> structure to fail with NPE when the set
contained more than 1 elements.

refs #7592

Change-Id: Ic0f10324dfbfbafe527c624d7d092928a2f10bb7

6 years agoFixing wrong value types 76/1176/2
jsimomaa [Wed, 1 Nov 2017 07:48:36 +0000 (09:48 +0200)]
Fixing wrong value types

refs #7575

Change-Id: I53f96c6e0e5189df524cf20ef65f9d02ed4c9693

6 years agoAdd logging by default to adapters exception-methods 75/1175/4
jsimomaa [Wed, 1 Nov 2017 07:47:14 +0000 (09:47 +0200)]
Add logging by default to adapters exception-methods

refs #7581

Change-Id: I753043d4afc65318af59ff48e71485fc70b04dfe

6 years agoFixed problems in shared libraries view 74/1174/2
Jussi Koskela [Wed, 1 Nov 2017 07:42:24 +0000 (09:42 +0200)]
Fixed problems in shared libraries view

refs #7589

Change-Id: I1435330e0ce84118c246e4f99234a9e404fea6f4

6 years agoCreate separate requests for validating SCL values 77/1177/1
jsimomaa [Wed, 1 Nov 2017 08:25:36 +0000 (10:25 +0200)]
Create separate requests for validating SCL values

refs #7575

Change-Id: I47f9402407c0084e6a5f4859c7b05ef5557619b6

6 years agoRemoved a workaround converting universal variables to existential 73/1173/1
Hannu Niemistö [Wed, 1 Nov 2017 07:35:57 +0000 (09:35 +0200)]
Removed a workaround converting universal variables to existential

refs #7575

Change-Id: Ia43fb4d69ddd3798685557916c3d3bb907a6be18

6 years ago(refs #7588) Support for existential type variables with syntax ?v 71/1171/1
Hannu Niemistö [Wed, 1 Nov 2017 07:11:18 +0000 (09:11 +0200)]
(refs #7588) Support for existential type variables with syntax ?v

Change-Id: I418a9d260c02c7082e7a7359b90659ea2c3a96d4

6 years agoDon't recompile all expressions if only one is modified 69/1169/3
jsimomaa [Tue, 31 Oct 2017 10:54:21 +0000 (12:54 +0200)]
Don't recompile all expressions if only one is modified

in SCLExpressionIssueProvider

refs #7575

Change-Id: I5e27b164f79320ad6a54215f9aaef6dbe77f2fa5

6 years agoMore ValueType modifications to satisfy compilation of SCL-expressions 68/1168/2
jsimomaa [Tue, 31 Oct 2017 08:19:39 +0000 (10:19 +0200)]
More ValueType modifications to satisfy compilation of SCL-expressions

refs #7575

Change-Id: I7da9ab35813a47d5c27e98d9eca84d6cf6fc14f9

6 years agoMore DB ListenerAdapter abstract to force isDisposed implementation 67/1167/2
jsimomaa [Tue, 31 Oct 2017 06:14:30 +0000 (08:14 +0200)]
More DB ListenerAdapter abstract to force isDisposed implementation

This forces the user of the adapter to still handle the life-cycle of
the listener, which should never be neglected.

refs #7581

Change-Id: I1d30f6ed8b1a3d861185b7ea36ecbab38f07171a

6 years agoValueType modifications to satisfy compilation of SCL-expressions 66/1166/2
jsimomaa [Tue, 31 Oct 2017 05:44:32 +0000 (07:44 +0200)]
ValueType modifications to satisfy compilation of SCL-expressions

Also adding a validator for plain ServerSCLValueRequest (DOC.SCLValue)

refs #7575

Change-Id: Ib34fbd9c53ec2003680b9546e7344506100a01b0

6 years agoImproved tracking robustness with temporary files 65/1165/2
Tuukka Lehtonen [Mon, 30 Oct 2017 20:04:17 +0000 (22:04 +0200)]
Improved tracking robustness with temporary files

refs #7551

Change-Id: I51d36a7f5ad10d627d791638c4c6320a634ec0e8

6 years agoMerge "(refs #7586) Allow always conversion to Object in SCL-Java interface"
Hannu Niemistö [Mon, 30 Oct 2017 18:21:38 +0000 (20:21 +0200)]
Merge "(refs #7586) Allow always conversion to Object in SCL-Java interface"

6 years agoMerge "Change universal type variables to existential in requested value types"
Hannu Niemistö [Mon, 30 Oct 2017 17:41:45 +0000 (19:41 +0200)]
Merge "Change universal type variables to existential in requested value types"

6 years agoMerge "Remove http:.. prefix from logging in SCL"
Hannu Niemistö [Mon, 30 Oct 2017 17:41:02 +0000 (19:41 +0200)]
Merge "Remove http:.. prefix from logging in SCL"

6 years ago(refs #7586) Allow always conversion to Object in SCL-Java interface 64/1164/1
Hannu Niemistö [Mon, 30 Oct 2017 17:35:24 +0000 (19:35 +0200)]
(refs #7586) Allow always conversion to Object in SCL-Java interface

Change-Id: Ia35b1f4dd2b31fc1e218f0321acdd8ac72f03694

6 years ago(refs #7562) Better handling of exceptions in procedural modules 62/1162/3
Hannu Niemistö [Mon, 30 Oct 2017 17:02:03 +0000 (19:02 +0200)]
(refs #7562) Better handling of exceptions in procedural modules

Change-Id: I7f8f4c14d34afe781984f7b1f5b037bef87d3a85

6 years agoMerge "(refs #7585) Added MList.set"
Hannu Niemistö [Mon, 30 Oct 2017 17:29:39 +0000 (19:29 +0200)]
Merge "(refs #7585) Added MList.set"

6 years ago(refs #7585) Added MList.set 61/1161/1
Hannu Niemistö [Mon, 30 Oct 2017 16:56:39 +0000 (18:56 +0200)]
(refs #7585) Added MList.set

Change-Id: I05a1946d3dd00454a0f91ae34c807d53f5655a11

6 years agoChange universal type variables to existential in requested value types 60/1160/1
jsimomaa [Mon, 30 Oct 2017 14:14:49 +0000 (16:14 +0200)]
Change universal type variables to existential in requested value types

refs #7575

Change-Id: If6d1ce540b22b0bb34239427fbfe7579fc0413ae

6 years agoRemove http:.. prefix from logging in SCL 58/1158/3
jsimomaa [Mon, 30 Oct 2017 12:28:10 +0000 (14:28 +0200)]
Remove http:.. prefix from logging in SCL

refs #7549

Change-Id: Id730ceddab04756aabb3669edf2b93c15aac07f1

6 years agoAdd checking of expected type in SCL expressions to SCL issues view 59/1159/2
jsimomaa [Mon, 30 Oct 2017 12:31:32 +0000 (14:31 +0200)]
Add checking of expected type in SCL expressions to SCL issues view

refs #7575

Change-Id: Idb20ac002995052c21d5f32215f2f4d7009c1a4c

6 years agoSCL expressions to SCL Issues view 43/1143/11
jsimomaa [Thu, 26 Oct 2017 08:51:22 +0000 (11:51 +0300)]
SCL expressions to SCL Issues view

refs #7575

Change-Id: Ic962c2e77a02dec079e6e0b3d5225a62ad734cee

6 years agoMade DB ListenerAdapter abstract to force isDisposed implementation 51/1151/4
Tuukka Lehtonen [Fri, 27 Oct 2017 22:14:27 +0000 (01:14 +0300)]
Made DB ListenerAdapter abstract to force isDisposed implementation

This forces the user of the adapter to still handle the life-cycle of
the listener, which should never be neglected.

refs #7581

Change-Id: I1a54b3f130dfe5f82fcdf01eb799ac96b31e7636

6 years agoMeans to handle connection selections without configuration component 55/1155/1
Hannu Niemistö [Sat, 28 Oct 2017 22:11:15 +0000 (01:11 +0300)]
Means to handle connection selections without configuration component

refs #7583

Change-Id: I7e8f77aaf54156bdb187f3220d0191db0a77f7e8

6 years agoSVGNode assignments are not always applied in rendering 50/1150/4
Antti Villberg [Fri, 27 Oct 2017 17:15:15 +0000 (20:15 +0300)]
SVGNode assignments are not always applied in rendering

refs #7580

Change-Id: Ib9cc914ea37466825bbec964393083e17deab5b4

6 years agoStill minor cleanup for generic model import/export code 53/1153/2
Tuukka Lehtonen [Fri, 27 Oct 2017 23:26:31 +0000 (02:26 +0300)]
Still minor cleanup for generic model import/export code

refs #7572

Change-Id: I012071bcf94fd5e35485918c0ee6ca4096e47f1d

6 years agoMinor cleanup for performing default actions 54/1154/3
Tuukka Lehtonen [Fri, 27 Oct 2017 23:29:37 +0000 (02:29 +0300)]
Minor cleanup for performing default actions

refs #7575

Change-Id: I3bac53c06c89d5f1794876c365a0ea15e621dab2

6 years agoPrevent NPE in InvertBasicExpressionVisitor 52/1152/3
Tuukka Lehtonen [Fri, 27 Oct 2017 22:31:27 +0000 (01:31 +0300)]
Prevent NPE in InvertBasicExpressionVisitor

More specifically in method
possibleInvertibleExpressionReferencedProperty

refs #7582

Change-Id: Idf03985905b6b39ce74f885bab41eee3d14e552f

6 years agoFixed org.simantics.lz4 to use bundle data area when running in OSGi 49/1149/3
Tuukka Lehtonen [Fri, 27 Oct 2017 13:06:18 +0000 (16:06 +0300)]
Fixed org.simantics.lz4 to use bundle data area when running in OSGi

Previously org.simantics.lz4 would always extract the native LZ4 dynamic
library to java.io.tmpdir which is plain stupid. Now when running in
OSGi environment, we simply extract the file once to the data area and
reuse it from there.

Further development could even use the MD5 sum of the lz4 DLL to extract
every version of the DLL only once to java.io.tmpdir but I'm saving this
for later.

refs #7578

Change-Id: I50566999749b20cca6d56ab52e59101ec3a7b6f6

6 years agoNew graphSessionGarbageCollector.gc method with progress mon + ReadGraph 48/1148/1
Tuukka Lehtonen [Fri, 27 Oct 2017 12:58:26 +0000 (15:58 +0300)]
New graphSessionGarbageCollector.gc method with progress mon + ReadGraph

refs #7579

Change-Id: Id550fa67c90d1cf02d7b5f3e707b5e770dce9eae

6 years agoPrevent StringIndexOutOfBoundsException when resolving issue path 45/1145/1
Jussi Koskela [Thu, 26 Oct 2017 10:08:06 +0000 (13:08 +0300)]
Prevent StringIndexOutOfBoundsException when resolving issue path

refs #7577

Change-Id: Iaeac31b4d83a972fbcef8f3742321b9c0af219aa

6 years agoCollect model dependencies in reversed topological order 44/1144/1
Jussi Koskela [Thu, 26 Oct 2017 09:50:35 +0000 (12:50 +0300)]
Collect model dependencies in reversed topological order

The Previous implementation did not produce reversed topological order
for the following dependencies: Model->A, Model->B, A->B, if B was by
chance visited before A.

Also made the dependency collector public.

refs #7572

Change-Id: I4056edc6b011f76911932dea1f79404c96deaaab

6 years agoMerge "(refs #7574) Trivial implementation of resolve in EAmbigious"
Hannu Niemistö [Wed, 25 Oct 2017 11:13:27 +0000 (14:13 +0300)]
Merge "(refs #7574) Trivial implementation of resolve in EAmbigious"

6 years agoMerge "(refs #7573) Provide typeable with functions with three effects"
Hannu Niemistö [Wed, 25 Oct 2017 11:13:18 +0000 (14:13 +0300)]
Merge "(refs #7573) Provide typeable with functions with three effects"

6 years agoMerge "Add character highlighting to SCL module editor"
Hannu Niemistö [Wed, 25 Oct 2017 11:12:15 +0000 (14:12 +0300)]
Merge "Add character highlighting to SCL module editor"

6 years agoMerge "Support dependency embedding in generic model export/import"
Hannu Niemistö [Wed, 25 Oct 2017 11:12:02 +0000 (14:12 +0300)]
Merge "Support dependency embedding in generic model export/import"

6 years agoSupport dependency embedding in generic model export/import 40/1140/3
Antti Villberg [Tue, 24 Oct 2017 09:43:27 +0000 (12:43 +0300)]
Support dependency embedding in generic model export/import

refs #7572

Change-Id: Ia839aaecccf1a100b2141f518ad787d3f8d19884

6 years ago(refs #7574) Trivial implementation of resolve in EAmbigious 42/1142/2
Hannu Niemistö [Wed, 25 Oct 2017 08:20:06 +0000 (11:20 +0300)]
(refs #7574) Trivial implementation of resolve in EAmbigious

Change-Id: I0fb8abdb5e35d263d2c341183aff4c546b4efac6

6 years ago(refs #7573) Provide typeable with functions with three effects 41/1141/2
Hannu Niemistö [Wed, 25 Oct 2017 08:18:35 +0000 (11:18 +0300)]
(refs #7573) Provide typeable with functions with three effects

Change-Id: Ieb45cab86a20080ac3c453c6e5cf37edb665cad4

6 years ago(refs #7570) Don't write change metadata for virtual properties 38/1138/3
Hannu Niemistö [Fri, 20 Oct 2017 22:15:23 +0000 (01:15 +0300)]
(refs #7570) Don't write change metadata for virtual properties

Change-Id: Ib91b260eeba072a3e515fe3102ae98be521d90d4

6 years ago(refs #7571) Fixed incorrect handling of effects in edo 39/1139/1
Hannu Niemistö [Mon, 23 Oct 2017 16:05:30 +0000 (19:05 +0300)]
(refs #7571) Fixed incorrect handling of effects in edo

Change-Id: I6ba1b4d8690a726d08abf4be62309b51555f9743

6 years agoAdd character highlighting to SCL module editor 37/1137/1
jsimomaa [Mon, 23 Oct 2017 06:45:00 +0000 (09:45 +0300)]
Add character highlighting to SCL module editor

refs #7569

Change-Id: Ic97b0fc3a1c262cfe1a46a13a7ffc6462950a314

6 years agoSkip archive creation for P2-repository builds
Tuukka Lehtonen [Sat, 21 Oct 2017 10:19:15 +0000 (13:19 +0300)]
Skip archive creation for P2-repository builds

There is no point in creating an archive of the P2
repositories created for repository and product builds.
This shaves a few seconds off of the total SDK build time.

refs #7396

6 years ago(refs #7568) Reinitialize diagram editor when element is switched 35/1135/3
Hannu Niemistö [Fri, 20 Oct 2017 22:15:23 +0000 (01:15 +0300)]
(refs #7568) Reinitialize diagram editor when element is switched

Change-Id: Id8fe0e1b0704fae35336525263b76c7c540489f0

6 years agoMerge "(refs #7567) Added throw function to builtins"
Hannu Niemistö [Fri, 20 Oct 2017 08:53:07 +0000 (11:53 +0300)]
Merge "(refs #7567) Added throw function to builtins"

6 years ago(refs #7567) Added throw function to builtins 34/1134/1
Hannu Niemistö [Fri, 20 Oct 2017 08:02:08 +0000 (11:02 +0300)]
(refs #7567) Added throw function to builtins

Change-Id: I273e5c85b4a842e0ce4dc1603800742f9fbb6ea5

6 years agoWait for pending transactions when loading scene graph provider 32/1132/2
Jussi Koskela [Fri, 20 Oct 2017 06:18:21 +0000 (09:18 +0300)]
Wait for pending transactions when loading scene graph provider

Prior to this asynchronously applied styling was missing from exported
diagrams.

refs #7566

Change-Id: I2fd927ef2b65831fa9fc431a7430a2df7ac8ed6d

6 years agoDeclare asyncCount volatile since it is accessed from multiple threads 31/1131/1
Jussi Koskela [Fri, 20 Oct 2017 06:11:13 +0000 (09:11 +0300)]
Declare asyncCount volatile since it is accessed from multiple threads

refs #7565

Change-Id: Ibea9155356882beb74e330ec8ed8b03bee3cbb15

6 years agoMerge "Minor fix and optimization for exporting TG and Pgraph with sharedlib"
Tuukka Lehtonen [Thu, 19 Oct 2017 17:55:02 +0000 (20:55 +0300)]
Merge "Minor fix and optimization for exporting TG and Pgraph with sharedlib"

6 years agoMinor fix and optimization for exporting TG and Pgraph with sharedlib 27/1127/2
jsimomaa [Thu, 19 Oct 2017 05:50:48 +0000 (08:50 +0300)]
Minor fix and optimization for exporting TG and Pgraph with sharedlib

refs #7547

Change-Id: I99cd747639430fa195dafdd1923a3257eb72be43

6 years ago(refs #7562) Procedural SCL modules 25/1125/2
Hannu Niemistö [Wed, 18 Oct 2017 12:16:36 +0000 (15:16 +0300)]
(refs #7562) Procedural SCL modules

Change-Id: I299d723990673d945e67d46615edf90b55c6e8e6

6 years agoClosing svg tag not added by SCLScenegraph 21/1121/2
Jussi Koskela [Wed, 18 Oct 2017 10:56:29 +0000 (13:56 +0300)]
Closing svg tag not added by SCLScenegraph

refs #7558

Change-Id: If6ee7826972165584f93e2ee5acc60b1a9286324

6 years agoMerge "Generate tidier SVG from diagrams"
Tuukka Lehtonen [Wed, 18 Oct 2017 12:05:48 +0000 (15:05 +0300)]
Merge "Generate tidier SVG from diagrams"

6 years agoMerge "Workaround for missing selection highlights on SVG diagrams"
Hannu Niemistö [Wed, 18 Oct 2017 12:04:57 +0000 (15:04 +0300)]
Merge "Workaround for missing selection highlights on SVG diagrams"

6 years agoGenerate tidier SVG from diagrams 20/1120/5
Jussi Koskela [Wed, 18 Oct 2017 10:20:30 +0000 (13:20 +0300)]
Generate tidier SVG from diagrams

Also moved rendering hints to more appropriate class.

refs #7557

Change-Id: If97b08ae82db111858b8350266b446b56114a30b

6 years ago(refs #7561) Allow extra parameters to the application of type alias 24/1124/1
Hannu Niemistö [Wed, 18 Oct 2017 11:28:14 +0000 (14:28 +0300)]
(refs #7561) Allow extra parameters to the application of type alias

Change-Id: I02da6fe19a96d110bfcd43516c893fea40082cf1

6 years ago(refs #7560) Deprecated Extras/HashMap 23/1123/1
Hannu Niemistö [Wed, 18 Oct 2017 11:14:58 +0000 (14:14 +0300)]
(refs #7560) Deprecated Extras/HashMap

Change-Id: I52d47de5eb16ce29720fdcf346356d5940dbf403

6 years ago(refs #7559) Fixed location information for import declarations 22/1122/1
Hannu Niemistö [Wed, 18 Oct 2017 11:00:38 +0000 (14:00 +0300)]
(refs #7559) Fixed location information for import declarations

Change-Id: I4c8af1bf5cfef9ab7d65e06d95a7fa139b92eab9

6 years agoSceneGraph NodeEventHandler should work in headless environments 19/1119/3
jsimomaa [Tue, 17 Oct 2017 20:02:41 +0000 (23:02 +0300)]
SceneGraph NodeEventHandler should work in headless environments

refs #7556

Change-Id: I4c217d20cc1b96357276e72c59a228120ec5a607

6 years agoWorkaround for missing selection highlights on SVG diagrams 17/1117/1
Marko Luukkainen [Tue, 17 Oct 2017 13:59:35 +0000 (16:59 +0300)]
Workaround for missing selection highlights on SVG diagrams

refs #7555

Change-Id: I6ebd46e449f0cd165b9c2b49a95ddb9a62d63d15

6 years agoCluster loading problem fix made by Antti 16/1116/2
jsimomaa [Mon, 16 Oct 2017 20:31:41 +0000 (23:31 +0300)]
Cluster loading problem fix made by Antti

It was possible that at first a proxy cluster was created and that was
used after the initial cluster was created. Therefore ensure that
proxied clusters are actually loaded. More technical details from Antti

refs #7554

Change-Id: I2867eddb69addba7f24b7c5d1bd4825c94f7aa75

6 years agoMark Lucene Index Creator threads daemons 15/1115/2
Tuukka Lehtonen [Mon, 16 Oct 2017 20:07:53 +0000 (23:07 +0300)]
Mark Lucene Index Creator threads daemons

Also protect against a potential NPE in
IndexedRelationsSearcherBase.initializeIndexImpl.

refs #7553

Change-Id: I516eecfa758b532b824693e9c6a2449a18a65a69

6 years agoOnly validate adapter definitions against schema in development mode 14/1114/1
Tuukka Lehtonen [Mon, 16 Oct 2017 20:03:46 +0000 (23:03 +0300)]
Only validate adapter definitions against schema in development mode

refs #7552

Change-Id: I107e25931fecc922b73586b97ce9be1cda4ecb7a

6 years agoImproved tracking and disposal robustness of DirectorySizeTracker 13/1113/1
Tuukka Lehtonen [Mon, 16 Oct 2017 19:54:33 +0000 (22:54 +0300)]
Improved tracking and disposal robustness of DirectorySizeTracker

refs #7551

Change-Id: I2844c5d53a365d2f69aee169772e97e09dbda815

6 years agoAdding Marker-support to Logging-module 10/1110/2
jsimomaa [Mon, 16 Oct 2017 11:17:33 +0000 (14:17 +0300)]
Adding Marker-support to Logging-module

refs #7549

Change-Id: Iaaccb4eb6b127753b2f0fed261fef6e0e3821cff

6 years agoAdded Eclipse-BundleShape MANIFEST.MF directive where needed 11/1111/2
Tuukka Lehtonen [Mon, 16 Oct 2017 14:31:17 +0000 (17:31 +0300)]
Added Eclipse-BundleShape MANIFEST.MF directive where needed

refs #7550

Change-Id: Id2a86fae1c5b98e5cb740b2b09258dfeb2735034

6 years agoOption for exporting tg and pgraph with sharedlibrary 05/1105/2
jsimomaa [Fri, 13 Oct 2017 13:03:41 +0000 (16:03 +0300)]
Option for exporting tg and pgraph with sharedlibrary

refs #7547

Change-Id: I3cf58e84c05d2ea220bc41a47956c7c56142dca0

6 years agoDiagram to SVG was rendering removed elements 04/1104/1
Marko Luukkainen [Fri, 13 Oct 2017 12:04:53 +0000 (15:04 +0300)]
Diagram to SVG was rendering removed elements

fixes #7546

Change-Id: Icf6121c4d9792fc32b155bc2f68549e615970b7e

6 years agoConstantLabelDecorationRule to avoid Display in creating FontDescriptors 03/1103/1
jsimomaa [Fri, 13 Oct 2017 07:44:43 +0000 (10:44 +0300)]
ConstantLabelDecorationRule to avoid Display in creating FontDescriptors

refs #7545

Change-Id: I921a8f43129cb9710f6c5db0842c174ee802ab81

6 years agoFixed NPE in TimeSeriesEditor.ActiveRunListener 02/1102/2
Tuukka Lehtonen [Fri, 13 Oct 2017 06:08:57 +0000 (09:08 +0300)]
Fixed NPE in TimeSeriesEditor.ActiveRunListener

refs #7544

Change-Id: Id9ba7f7d698b3a98b44cae80173fb686971658c0

6 years agoMerge "possibleVariable from resource into SCL"
Tuukka Lehtonen [Thu, 12 Oct 2017 11:50:27 +0000 (14:50 +0300)]
Merge "possibleVariable from resource into SCL"

6 years agopossibleVariable from resource into SCL 01/1101/1
Antti Villberg [Thu, 12 Oct 2017 11:30:35 +0000 (14:30 +0300)]
possibleVariable from resource into SCL

refs #7543

Change-Id: Id0720a95bdc912043c2ecebe69ca7192098731ee

6 years agoConfigured platform build to produce pack200 artifacts
Tuukka Lehtonen [Thu, 12 Oct 2017 08:16:41 +0000 (11:16 +0300)]
Configured platform build to produce pack200 artifacts

This improves download times of platform artifacts from platform
sdk P2 repositories for all consumers.

refs #7396

6 years agoAdded qualifier to org.simantics.sdk version 96/1096/1
Tuukka Lehtonen [Wed, 11 Oct 2017 12:07:35 +0000 (15:07 +0300)]
Added qualifier to org.simantics.sdk version

This change was required to make the Simatnics SDK contents update after
the SDK contents are changed in some way. Otherwise local bundle pools
will not get updated easily.

refs #7542

Change-Id: I00d3df96eab2aedc690beb58551b4a71d537ad2c

6 years agoAdded .qualifier to feature version to force the features to update 95/1095/2
Tuukka Lehtonen [Wed, 11 Oct 2017 10:39:39 +0000 (13:39 +0300)]
Added .qualifier to feature version to force the features to update

The contents of the features have changed in the past but the version of
the feature has not updated so users' local bundle pools still contain
old version so the feature bundle.

This touches org.apache.lucene4 and com.lowagie.text features.

refs #7542

Change-Id: I2d5c50f0eaca55b907a0233c9e405e12a91aa336

6 years agoMerge "(refs #7541) Added support for module deprecation"
Hannu Niemistö [Wed, 11 Oct 2017 06:14:54 +0000 (09:14 +0300)]
Merge "(refs #7541) Added support for module deprecation"

6 years agoMerge "(refs #7508) Edo and modified mdo under edo feature"
Hannu Niemistö [Wed, 11 Oct 2017 06:14:46 +0000 (09:14 +0300)]
Merge "(refs #7508) Edo and modified mdo under edo feature"

6 years ago(refs #7541) Added support for module deprecation 94/1094/1
Hannu Niemistö [Tue, 10 Oct 2017 15:40:00 +0000 (18:40 +0300)]
(refs #7541) Added support for module deprecation

Change-Id: I61eac59be8891aabc00e0142f6ef812c6ddba922

6 years ago(refs #7508) Edo and modified mdo under edo feature 93/1093/2
Hannu Niemistö [Tue, 10 Oct 2017 14:56:31 +0000 (17:56 +0300)]
(refs #7508) Edo and modified mdo under edo feature

Change-Id: I37c9a0e09ef436f29a5fcd92d7f10f14671059c0

6 years agoMerge "Listenable queries in SCL"
Hannu Niemistö [Tue, 10 Oct 2017 13:42:06 +0000 (16:42 +0300)]
Merge "Listenable queries in SCL"

6 years agoListenable queries in SCL 92/1092/2
jsimomaa [Tue, 10 Oct 2017 04:44:30 +0000 (07:44 +0300)]
Listenable queries in SCL

refs #7540

Change-Id: Ibd25a6ac59316ad5a4876881a3af43551e740223

6 years agoSupport using a DB baseline for faster program startup. 08/508/7
Antti Villberg [Thu, 11 May 2017 13:19:58 +0000 (16:19 +0300)]
Support using a DB baseline for faster program startup.

Use by specifying the JVM argument

    -Dorg.simantics.db.baseline=<path to baseline zip file>

where the baseline zip file must contain two directories:
* db/ which contains the initial database version
* .metadata/.plugins/org.simantics.db.indexing which contains the
  initial database index

During baseline initialization, the specified zip file is extracted
directly at the root of the workspace directory.

The baseline file is hard-linked/copied under the workspace root as a
file called `.baseline`. If this file exists, it indicates that the
workspace has already been initialized from a baseline archive and
should not be initialized/updated anymore.

Limitations:
* Automatic ontology updates or installation of new ontology plugins is
  disabled when a database baseline is in use.

refs #7211

Change-Id: Id67156c65047b429af71e0eab83b31a5d2fd5117

6 years ago(refs #7536) Implemented deconstruct in CallJava for static fields 89/1089/3
Hannu Niemistö [Mon, 9 Oct 2017 20:53:31 +0000 (23:53 +0300)]
(refs #7536) Implemented deconstruct in CallJava for static fields

Allow use of uppercase static fields (and enums) imported from Java to
be used in pattern matching

Change-Id: Ifb647c18fe66904c190ffc3b27ca65e606333435

6 years agoAdd support for dependency changes in SCL 87/1087/3
Antti Villberg [Mon, 9 Oct 2017 17:28:00 +0000 (20:28 +0300)]
Add support for dependency changes in SCL

refs #7534

Change-Id: Ia5a28f64d5b9f3cec12642fcacd364db8e14db3a

6 years agoRemove merge semantics of CommandContext keys 86/1086/4
Antti Villberg [Mon, 9 Oct 2017 17:06:15 +0000 (20:06 +0300)]
Remove merge semantics of CommandContext keys

refs #7533

Change-Id: I2b1ff40aa64fbb10d215641962866dad634df472