simantics/platform.git
7 months agoSmall changes to synchronization base impl to allow extending it 39/3139/1
Tuukka Lehtonen [Wed, 21 Aug 2019 12:32:52 +0000 (15:32 +0300)]
Small changes to synchronization base impl to allow extending it

gitlab #356

Change-Id: I66327777c16645c582573df0f485d2c5452e088e

7 months agoFixed Simantics/Diagram/setElements to resolve attachment relations 28/3128/2
Tuukka Lehtonen [Tue, 20 Aug 2019 13:37:41 +0000 (16:37 +0300)]
Fixed Simantics/Diagram/setElements to resolve attachment relations

Resolution relies on using STR.HasAttachmentRelation information from
configuration connection relations.

For flags, it relies on flag type:
* Output = HasArrowConnector
* Input = HasPlainConnector

gitlab #352

Change-Id: I2a6f738f164141d688bd890f222ba9e8501aaeb2

7 months agoMerge "Initialize new cache in flush instead of setting it null"
Tuukka Lehtonen [Wed, 21 Aug 2019 09:49:28 +0000 (09:49 +0000)]
Merge "Initialize new cache in flush instead of setting it null"

7 months agoInitialize new cache in flush instead of setting it null 34/3134/2
Alpi Rimppi [Wed, 21 Aug 2019 09:26:26 +0000 (12:26 +0300)]
Initialize new cache in flush instead of setting it null

gitlab #353

Change-Id: Ib07b8c51c4adde6066ac4bf738bf067fec2249c9

7 months agoMerge "Imported ModuleRepository.flush from Java"
Tuukka Lehtonen [Wed, 21 Aug 2019 08:26:45 +0000 (08:26 +0000)]
Merge "Imported ModuleRepository.flush from Java"

7 months agoImported ModuleRepository.flush from Java 32/3132/2
Alpi Rimppi [Wed, 21 Aug 2019 07:50:07 +0000 (10:50 +0300)]
Imported ModuleRepository.flush from Java

Change-Id: Ib0d147925995508c21d4acee7c4355feabd10f1f

7 months agoMerge "Use trace level debug messages with ObjMap"
Tuukka Lehtonen [Wed, 21 Aug 2019 07:07:48 +0000 (07:07 +0000)]
Merge "Use trace level debug messages with ObjMap"

7 months agoMerge "Name clash in structural ontology"
Tuukka Lehtonen [Wed, 21 Aug 2019 07:04:42 +0000 (07:04 +0000)]
Merge "Name clash in structural ontology"

7 months agoUse trace level debug messages with ObjMap 30/3130/1
Marko Luukkainen [Wed, 21 Aug 2019 06:54:38 +0000 (09:54 +0300)]
Use trace level debug messages with ObjMap

gitlab #342

Change-Id: Ice0dc7d7891ee672515ad8bf11ccd50d7c3a5758

7 months agoName clash in structural ontology 25/3125/1
Antti Villberg [Tue, 20 Aug 2019 13:16:13 +0000 (16:16 +0300)]
Name clash in structural ontology

gitlab #350

Change-Id: Iaddf776424c58a3392078178e5cd9bf7c371f249

7 months agoFix to problems with outline view and SCL script editor. 22/3122/1
Reino Ruusu [Tue, 20 Aug 2019 11:43:21 +0000 (14:43 +0300)]
Fix to problems with outline view and SCL script editor.

gitlab #349

Change-Id: I93556f95471f63b8cc26d67d1e4daca48e32d062

7 months agoMerge "Fix binding instance for CompoundRelatedGetValue method."
Marko Luukkainen [Tue, 20 Aug 2019 09:43:52 +0000 (09:43 +0000)]
Merge "Fix binding instance for CompoundRelatedGetValue method."

7 months agoDB and Layer0 modifications for related issues 15/3115/4
Antti Villberg [Mon, 19 Aug 2019 08:26:51 +0000 (11:26 +0300)]
DB and Layer0 modifications for related issues

gitlab #347
gitlab #348

Change-Id: Ic5d2209d9865fc44583ea4814cc1d26d212a5f87

7 months agoFix binding instance for CompoundRelatedGetValue method. 21/3121/1
Reino Ruusu [Tue, 20 Aug 2019 08:07:04 +0000 (11:07 +0300)]
Fix binding instance for CompoundRelatedGetValue method.

gitlab #344

Change-Id: I899d10258c429e215c7c02f717e34631925ebc01

7 months agoFixed some issues in objmap2 09/3109/1
Reino Ruusu [Thu, 15 Aug 2019 12:40:16 +0000 (15:40 +0300)]
Fixed some issues in objmap2

gitlab #346

Change-Id: I37ca3edb171f5c88f9deac5f03ff29ecf8c28518

7 months agoSupport for linked lists in objmap2. 08/3108/1
Reino Ruusu [Thu, 15 Aug 2019 12:35:18 +0000 (15:35 +0300)]
Support for linked lists in objmap2.

gitlab #345

Change-Id: I7107ac75961602e74ed44b2c3d9867aefe7d29d8

7 months agoUse type reflection tools from databoard in objmap2. 05/3105/1
Reino Ruusu [Wed, 14 Aug 2019 15:30:18 +0000 (18:30 +0300)]
Use type reflection tools from databoard in objmap2.

gitlab #344

Change-Id: I489f462a0f1785bc52a7a7f94ff38f7cec612055

7 months agoMerge changes I764df2ec,Ieb979991
Tuukka Lehtonen [Wed, 14 Aug 2019 10:46:03 +0000 (10:46 +0000)]
Merge changes I764df2ec,Ieb979991

* changes:
  Switch from org.apache.log4j to org.slf4j.
  Added missing creation of RelatedElementRuleFactory.

7 months agoSwitch from org.apache.log4j to org.slf4j. 02/3102/1
Reino Ruusu [Wed, 14 Aug 2019 08:50:52 +0000 (11:50 +0300)]
Switch from org.apache.log4j to org.slf4j.

gitlab #342

Change-Id: I764df2ecf1e58a1529c0a4e46653054ff15a2de7

7 months agoAdded missing creation of RelatedElementRuleFactory. 01/3101/1
Reino Ruusu [Wed, 14 Aug 2019 08:34:15 +0000 (11:34 +0300)]
Added missing creation of RelatedElementRuleFactory.

Also checks for missing rule factories.

gitlab #341

Change-Id: Ieb9799910c3c32a7c49dfd9be496bb9afbca0ab5

7 months agoMerge "Defined L0.ValueType to make L0.Value(s) searchable from index"
Tuukka Lehtonen [Fri, 9 Aug 2019 19:33:45 +0000 (19:33 +0000)]
Merge "Defined L0.ValueType to make L0.Value(s) searchable from index"

7 months agoAdded anchors for SCL data types and classes in HTML documentation 85/3085/2
Tuukka Lehtonen [Fri, 9 Aug 2019 11:12:04 +0000 (14:12 +0300)]
Added anchors for SCL data types and classes in HTML documentation

* data Foo anchor: `data-Foo`
* class Bar anchor: `class-Bar`

Also changed data types, classes and values to have different background
coloring in the SCL HTML documentation for better readability.

gitlab #337

Change-Id: I731489cbb1a972dd6e2bc95645b66f41877e843d

7 months agoDefined L0.ValueType to make L0.Value(s) searchable from index 86/3086/1
Jussi Koskela [Fri, 9 Aug 2019 11:14:33 +0000 (14:14 +0300)]
Defined L0.ValueType to make L0.Value(s) searchable from index

gitlab #338

Change-Id: I2ceff6adbcd4d2967803e256c2988b3e85c6b77c

7 months agoListUtils.create(g,elements) creates a list without element inverses 83/3083/1
Marko Luukkainen [Fri, 9 Aug 2019 09:40:53 +0000 (12:40 +0300)]
ListUtils.create(g,elements) creates a list without element inverses

Added new ListUtils.createWithInverses for lists with default element
inverse relations.

gitlab #336

Change-Id: I246d5bb170ff91d8f59aa656d6b0279f9b2b11b1
(cherry picked from commit d17ee3b8f3720f59c08780ced525d670a83844b0)

7 months agoFixed combo box list to open properly when starting edit 81/3081/1
Jussi Koskela [Fri, 9 Aug 2019 08:18:53 +0000 (11:18 +0300)]
Fixed combo box list to open properly when starting edit

This order seems to work better than the old one.

gitlab #335

Change-Id: I22ed0fb0c41695b39ee88e6a9b6bc8bce16d6d0d

7 months agoFixed regression in enumeration value function definition 80/3080/1
Jussi Koskela [Fri, 9 Aug 2019 08:03:49 +0000 (11:03 +0300)]
Fixed regression in enumeration value function definition

Due to this bug editing enumeration values opened text editor instead of
combo box.

gitlab #334

Change-Id: Ibfb62068ebc15ed56bc7a42f8921cf907eb6a75e

7 months agoUse the same implementation to claim assertions in SCL and in Java 79/3079/1
Jussi Koskela [Fri, 9 Aug 2019 05:24:17 +0000 (08:24 +0300)]
Use the same implementation to claim assertions in SCL and in Java

SCL version of claimAssertion did not claim L0.InstanceOf L0.Assertion.

gitlab #332

Change-Id: Ia61ba82435429a190e444d14e57c8e7782d206dc

7 months agoFirst step to enable reading of cache when not writing 55/3055/1
Antti Villberg [Fri, 19 Jul 2019 10:27:54 +0000 (13:27 +0300)]
First step to enable reading of cache when not writing

gitlab #320

Change-Id: If12e55796207f0d08f46fc0670760c2937593e89

7 months agoMerge "Revert "First step to enable reading of cache when not writing""
Tuukka Lehtonen [Fri, 2 Aug 2019 19:24:10 +0000 (19:24 +0000)]
Merge "Revert "First step to enable reading of cache when not writing""

7 months agoRevert "First step to enable reading of cache when not writing" 54/3054/1
Tuukka Lehtonen [Fri, 2 Aug 2019 19:13:50 +0000 (19:13 +0000)]
Revert "First step to enable reading of cache when not writing"

This reverts commit cb12888f3415720276da57f2d162e13ea5b3f46c.

It causes an unexpected NPE during user component symbol
terminal population.

gitlab #320

Change-Id: I1adf19fadde29ad4127377606580aba4444f1eac

7 months agoMerge "Define actions already in L0"
Tuukka Lehtonen [Fri, 2 Aug 2019 12:27:24 +0000 (12:27 +0000)]
Merge "Define actions already in L0"

7 months agoMerge "First step to enable reading of cache when not writing"
Tuukka Lehtonen [Fri, 2 Aug 2019 12:16:55 +0000 (12:16 +0000)]
Merge "First step to enable reading of cache when not writing"

7 months agoAPI for creating a new File Document 52/3052/2
Antti Villberg [Fri, 2 Aug 2019 06:14:35 +0000 (09:14 +0300)]
API for creating a new File Document

gitlab #326

Change-Id: Ic22fcdc5600883eeb1469112f267a8f2c4df4e90

7 months agoDefine actions already in L0 53/3053/4
Antti Villberg [Fri, 2 Aug 2019 06:25:13 +0000 (09:25 +0300)]
Define actions already in L0

gitlab #327

Change-Id: Ia8ac62b8b6de90cc3e0b8e127a15d113f640270b

7 months agoFirst step to enable reading of cache when not writing 41/3041/2
Antti Villberg [Fri, 19 Jul 2019 10:27:54 +0000 (13:27 +0300)]
First step to enable reading of cache when not writing

gitlab #320

Change-Id: I3abe07cdce6c75d46dd1c537effe639734de627b

7 months agoSupport PreferredDiagramEditorID in OpenDiagramEditorFromConfiguration 51/3051/1
Jussi Koskela [Thu, 1 Aug 2019 10:42:45 +0000 (13:42 +0300)]
Support PreferredDiagramEditorID in OpenDiagramEditorFromConfiguration

gitlab #325

Change-Id: I95c7c075c3562410f5ba06c8785447f0cc53a860

7 months agoFixed filtering of connection points when any drilling is done 49/3049/1
Jussi Koskela [Tue, 30 Jul 2019 07:39:55 +0000 (10:39 +0300)]
Fixed filtering of connection points when any drilling is done

gitlab #324

Change-Id: Iad676ddea1ab4625f6bdc615dc83605707107260

7 months agoDon't abort typical sync on blocked template to instance connections 48/3048/1
Tuukka Lehtonen [Tue, 30 Jul 2019 07:01:10 +0000 (10:01 +0300)]
Don't abort typical sync on blocked template to instance connections

Currently typical synchronization has a validation step that aborts the
whole diagram synchronization if there is even a single connection
missing from the instance diagram that cannot be copied from the typical
template because another instance-specific connection has been made to
the same functional terminal where the template connection is supposed
to be connected.

This changes the synchronization to simply report these cases as
WARNINGS in the verbose synchronization log and continue the
synchronization.

gitlab #323

Change-Id: I7661f6f069666fb0e6f724e6d0006e6632f93567

8 months agoRevert removal of org.simantics.db.server inclusion 47/3047/1
Jussi Koskela [Mon, 29 Jul 2019 07:36:36 +0000 (10:36 +0300)]
Revert removal of org.simantics.db.server inclusion

gitlab #109

Change-Id: Ic61826b9a210fa2733cc5b11a9474cebff2f4e82

8 months agoRemoved deprecated ProCore matter to make the platform less heavy 46/3046/2
Tuukka Lehtonen [Fri, 21 Apr 2017 03:39:55 +0000 (06:39 +0300)]
Removed deprecated ProCore matter to make the platform less heavy

Removed:
* deprecated org.simantics.db.build.zip and related code.
* windows and linux procore executables from org.simantics.db.server
* org.simantics.db.procore.server.environment

In total almost 25MiB removed from the platform.

gitlab #109

Change-Id: I0b7532b0948676f925e0d0f619aadc5e06ea7ea1

8 months agoMerge "Move debugging options under DevelopmentKeys"
Tuukka Lehtonen [Tue, 23 Jul 2019 11:49:43 +0000 (11:49 +0000)]
Merge "Move debugging options under DevelopmentKeys"

8 months agoMerge "Improve utilities for invoking SCL from Java"
Tuukka Lehtonen [Tue, 23 Jul 2019 11:39:23 +0000 (11:39 +0000)]
Merge "Improve utilities for invoking SCL from Java"

8 months agoImprove utilities for invoking SCL from Java 38/3038/2
Antti Villberg [Fri, 19 Jul 2019 10:30:10 +0000 (13:30 +0300)]
Improve utilities for invoking SCL from Java

gitlab #321

Change-Id: Ia4130c541ac1515911c90483b528ad437bced6ae

8 months agoFix issue with updates of SCL module outline views. 34/3034/4
Reino Ruusu [Wed, 19 Jun 2019 08:26:47 +0000 (11:26 +0300)]
Fix issue with updates of SCL module outline views.

gitlab #317

Change-Id: Ia749729d4410f6deee9176d01f572768f959b88e

8 months agoMove debugging options under DevelopmentKeys 37/3037/1
Antti Villberg [Fri, 19 Jul 2019 09:05:48 +0000 (12:05 +0300)]
Move debugging options under DevelopmentKeys

gitlab #319

Change-Id: Iabeb7d88912781768d4ee13dd8ecb531d7a82215

8 months agoAdd default property page to StandardModelledView. 35/3035/3
Reino Ruusu [Thu, 20 Jun 2019 13:03:48 +0000 (16:03 +0300)]
Add default property page to StandardModelledView.

gitlab #318

Change-Id: I57e8bea646c4c4aa24bf16df7b2c298c764f4eed

8 months agoFixing several binding-related bugs 12/3012/5
JaniSimomaa [Thu, 11 Jul 2019 08:03:23 +0000 (11:03 +0300)]
Fixing several binding-related bugs

* @Optional annotation added duplicate annotations to BindingRequest for
certain classes
* @Identifier annotation was not actually removed from the
BindingRequest
* BindingRequest hashCode calculation used annotation args excluding the
ones possibly found from the clazz.getAnnotations()
* Prevent replacing existing bindings in BindingRepository.classMap

gitlab #313

Change-Id: I774649584c288c197f1f8ca6af78682b296b63d4

8 months agoLimit the amount of file names shown in the text widget. 11/3011/1
Marko Luukkainen [Tue, 9 Jul 2019 15:24:34 +0000 (18:24 +0300)]
Limit the amount of file names shown in the text widget.

Also, prevent updating text widget when user is editing it.

gitlab #311

Change-Id: I9be75957064680affea15344649fe2aa0f5b08d1

9 months agoPrevent unnecessary read transaction for synch master typical handle 59/2959/4
JaniSimomaa [Wed, 19 Jun 2019 11:11:48 +0000 (14:11 +0300)]
Prevent unnecessary read transaction for synch master typical handle

gitlab #310

Change-Id: I09105b310bc892604ddab1f661343d442538b83a

9 months agoRed background color & tooltip for invalid derived property expression 55/2955/3
JaniSimomaa [Wed, 19 Jun 2019 09:14:42 +0000 (12:14 +0300)]
Red background color & tooltip for invalid derived property expression

gitlab #309

Change-Id: I7a494c50f8cb1566043599cdeca49c51c9cee2eb

9 months agoFinally updated simantics.target after GRPC upgrade 97/2997/1
Tuukka Lehtonen [Wed, 19 Jun 2019 22:39:50 +0000 (01:39 +0300)]
Finally updated simantics.target after GRPC upgrade

gitlab #308

Change-Id: Ib3ab95dc3fb49d975667d3ab16cf2111a9850396

9 months agoUpdate to io.grcp 1.21.0 and protobuf 3.7.1 95/2995/3
Tuukka Lehtonen [Wed, 19 Jun 2019 22:21:44 +0000 (01:21 +0300)]
Update to io.grcp 1.21.0 and protobuf 3.7.1

Updated sdk build target platform to match updated external
dependencies.

gitlab #308

Change-Id: Id5b5fc548d545cff25f50607ca7af4a18faecec6

9 months agoUpdate to io.grcp 1.21.0 and protobuf 3.7.1 96/2996/1
Tuukka Lehtonen [Wed, 19 Jun 2019 22:00:59 +0000 (01:00 +0300)]
Update to io.grcp 1.21.0 and protobuf 3.7.1

Include 4.1.35.Final netty bundles in maven external dependencies to
keep netty in the same version that is included by GRPC 1.21.0 in the
third-party repository.

Also removed org.apache.xmlbeans and com.github.virtuald.curvesapi from
external maven dependencies since they are only needed by Apache POI
3.15.0 which is included in the manual external dependencies in the
third-party repository.

gitlab #308

Change-Id: I8c7eb2a14f4df585e735540945ade8a18859cb6a

9 months agoUpdate to io.grcp 1.21.0 and protobuf 3.7.1 58/2958/1
Marko Luukkainen [Wed, 19 Jun 2019 11:11:35 +0000 (14:11 +0300)]
Update to io.grcp 1.21.0 and protobuf 3.7.1

GRPC is available via third-party repo.

gitlab #308

Change-Id: I7b2005b46a752dc2f71061d6159d2353a8c5b770

9 months agoDo not allow pasting anything to simulation model instances 49/2949/1
Marko Luukkainen [Fri, 14 Jun 2019 12:54:15 +0000 (15:54 +0300)]
Do not allow pasting anything to simulation model instances

gitlab #307

Change-Id: Ia4573bb70f6abaec353598a414e291b3132fdabb
(cherry picked from commit 4c550efac39880a7b15803f035dae2448a1839c1)

9 months agoMerge "Define ConnectionRelationType to make searching of instances possible"
Tuukka Lehtonen [Thu, 13 Jun 2019 11:44:44 +0000 (11:44 +0000)]
Merge "Define ConnectionRelationType to make searching of instances possible"

9 months agoMerge "Fix endless loop in type inference for over-applied functions"
Tuukka Lehtonen [Thu, 13 Jun 2019 11:37:04 +0000 (11:37 +0000)]
Merge "Fix endless loop in type inference for over-applied functions"

9 months agoDefine ConnectionRelationType to make searching of instances possible 45/2945/1
Jussi Koskela [Thu, 13 Jun 2019 09:46:46 +0000 (12:46 +0300)]
Define ConnectionRelationType to make searching of instances possible

gitlab #305

Change-Id: I3a281af50719638d3b80a3bf5b6c96a0fb4c6021

9 months agoMerge "Support opening multiple selected objects from same diagram"
Tuukka Lehtonen [Wed, 12 Jun 2019 11:37:25 +0000 (11:37 +0000)]
Merge "Support opening multiple selected objects from same diagram"

9 months agoSupport opening multiple selected objects from same diagram 44/2944/1
jsimomaa [Wed, 12 Jun 2019 09:17:34 +0000 (12:17 +0300)]
Support opening multiple selected objects from same diagram

gitlab #304

Change-Id: I3a0c8b8ca9d01c672ba311f09b7faf9e7dfdc5fa

9 months agoFix endless loop in type inference for over-applied functions 42/2942/1
Reino Ruusu [Tue, 11 Jun 2019 13:57:07 +0000 (16:57 +0300)]
Fix endless loop in type inference for over-applied functions

gitlab #303

Change-Id: I5b7c4bc9dafc2cabcc5b152525824d7bc3432345

9 months agoRemove version identifier from the proposed name 41/2941/1
Jussi Koskela [Tue, 11 Jun 2019 06:24:38 +0000 (09:24 +0300)]
Remove version identifier from the proposed name

gitlab #301

Change-Id: I7d55a55d4102517011f871a5c8d2d9ed15da5a33

10 months agoMerge "Diagram loading concurrency problem with Sysdyn"
Marko Luukkainen [Wed, 29 May 2019 10:03:23 +0000 (10:03 +0000)]
Merge "Diagram loading concurrency problem with Sysdyn"

10 months agoDiagram loading concurrency problem with Sysdyn 10/2910/1
Antti Villberg [Tue, 28 May 2019 11:30:25 +0000 (14:30 +0300)]
Diagram loading concurrency problem with Sysdyn

gitlab #300

Change-Id: I6c92e9ac4d1628a25588d7b7005e5e9be967f700

10 months agogenerateProposition uses component type name 09/2909/1
Jani Mäkinen [Tue, 28 May 2019 09:36:07 +0000 (12:36 +0300)]
generateProposition uses component type name

gitlab #299

Change-Id: Iee27e31d6f8b954ffedc6f31817669dd06ba0a9d

10 months agoMerge "Allow overriding Open With menu's name"
Marko Luukkainen [Thu, 23 May 2019 10:56:15 +0000 (10:56 +0000)]
Merge "Allow overriding Open With menu's name"

10 months agoAllow overriding Open With menu's name 02/2902/2
Marko Luukkainen [Thu, 23 May 2019 10:43:44 +0000 (13:43 +0300)]
Allow overriding Open With menu's name

gitlab #297

Change-Id: I2781ea15feb329bb52b622d22a30894c8e3f98fb

10 months agoBumped master version to 1.40.0
Marko Luukkainen [Wed, 22 May 2019 07:41:40 +0000 (10:41 +0300)]
Bumped master version to 1.40.0

gitlab #296

10 months agoAllow batch issue validation to remove issues with disconnected context 99/2899/1
Tuukka Lehtonen [Thu, 16 May 2019 12:30:48 +0000 (15:30 +0300)]
Allow batch issue validation to remove issues with disconnected context

gitlab #295

Change-Id: I0ebfc37013c9c3e9636efab3ddbd68692b2a7056

10 months agoMerge "SCL functions for regular expression capturing groups"
Marko Luukkainen [Tue, 14 May 2019 12:46:08 +0000 (12:46 +0000)]
Merge "SCL functions for regular expression capturing groups"

10 months agoSCL functions for regular expression capturing groups 96/2896/2
Marko Luukkainen [Mon, 13 May 2019 10:38:50 +0000 (13:38 +0300)]
SCL functions for regular expression capturing groups

As a bonus, substring functions

gitlab #294

Change-Id: Id40103741d7fe92d823848339e8d1ca28e397fdd

10 months agoChanged scldoc output directory to target/scldoc 83/2883/1
Tuukka Lehtonen [Tue, 7 May 2019 12:43:04 +0000 (15:43 +0300)]
Changed scldoc output directory to target/scldoc

This allows mvn clean to clean previously generated scldoc also.

gitlab #293

Change-Id: Ifc53c7200ae1799cb19a736de9f26e125a6cc3c8

10 months agoExport all platform SCL documentation into HTML during test build 82/2882/1
Tuukka Lehtonen [Tue, 7 May 2019 12:27:35 +0000 (15:27 +0300)]
Export all platform SCL documentation into HTML during test build

org.simantics.scl.osgi.tests contains TestSCLOsgi which is now rigged to
export the HTML documentation at org.simantics.scl.osgi.tests/scldoc
which can then be published on the web by the CI system.

gitlab #293

Change-Id: I33311078d51d5da41d3afe07b53b63746c7938ec

10 months agoIndex query fixes after commit 5e340942 75/2875/1
Tuukka Lehtonen [Thu, 2 May 2019 13:00:54 +0000 (16:00 +0300)]
Index query fixes after commit 5e340942

* Remove excessive use of explicit Types/Names constants in search
  queries by using public static fields from Dependencies
* Added missing quoting to terms in index searches
* Use DependencyResources function where the Map returned by
  Dependencies is not needed
* Fixed some searches to be case-insensitive again

gitlab #291

Change-Id: I9faa2f89f956e1ebe36b5216e42be4d1852ae9df
(cherry picked from commit e23dba36)

10 months agoAdded Set End Time command and handler as an alternate stepping mode 70/2870/2
Tuukka Lehtonen [Thu, 2 May 2019 12:15:57 +0000 (15:15 +0300)]
Added Set End Time command and handler as an alternate stepping mode

Previously only duration-based simulation stepping mode was available.
These changes add another mode: simulate until an end time.

gitlab #292
APROS-15393

Change-Id: Ia08bbd04abb40a2718c63781a8318a40d616b711

11 months agoIndex tokenized lowercase versions of name and types for UI searches 67/2867/1
Jussi Koskela [Fri, 26 Apr 2019 08:31:36 +0000 (11:31 +0300)]
Index tokenized lowercase versions of name and types for UI searches

* Added support for different name/label in search parameter selection.
* Fixed resource search to form wildcard query separately for each term.
* Added utility methods to SearchQuery for lower/uppercasing the query

gitlab #291

Resolved conflicts from:
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/DependenciesRelation.java
bundles/org.simantics.debug.ui/src/org/simantics/debug/ui/SearchResourceDialog.java
bundles/org.simantics.document.linking.ui/src/org/simantics/document/linking/actions/SearchLinksAction.java
bundles/org.simantics.document.linking.ui/src/org/simantics/document/linking/function/SearchFunction.java
bundles/org.simantics.document.ui/src/org/simantics/document/ui/function/SearchFunction.java

Change-Id: I86fffd2ce272ac089e281348d8f5ac8aa2f9410a
(cherry picked from commit 4e7fd7de62f57825448d4dcc2636d0b59646a7ef)

11 months agoAlternative Namespace migration step for Shared Libs 65/2865/1
Marko Luukkainen [Tue, 23 Apr 2019 13:28:50 +0000 (16:28 +0300)]
Alternative Namespace migration step for Shared Libs

refs #290

Change-Id: Ieb18f5f958eb654ed19be2861ded64eb62ff5cb0
(cherry picked from commit a227f3a14d6c8046230e9aae77bba710c8372c4b)

11 months agoAdded missing 3rd party component licenses to the license list 58/2858/2
Tuukka Lehtonen [Thu, 18 Apr 2019 12:09:42 +0000 (15:09 +0300)]
Added missing 3rd party component licenses to the license list

* Caffeine
* PGJDBC-NG
* SnakeYAML
* ZT Process Executor
* Protocol Buffers
* gRPC-Java

Some more may still be missing.

gitlab #288

Change-Id: I9868c77c323572b3b78a20a0644083dd6a1b298c

11 months agoFix change of type in component property editor when range is present 54/2854/1
Reino Ruusu [Tue, 16 Apr 2019 13:54:50 +0000 (16:54 +0300)]
Fix change of type in component property editor when range is present

gitlab #285

Change-Id: Idee2893d334ea093147678c0cb4579bf9aaadc2c

11 months agoBumped master version to 1.39.0
Marko Luukkainen [Fri, 12 Apr 2019 12:37:06 +0000 (15:37 +0300)]
Bumped master version to 1.39.0

gitlab #287

11 months agoFix to handling of value access error reporting in synchronization. 49/2849/2
Reino Ruusu [Thu, 11 Apr 2019 13:56:15 +0000 (16:56 +0300)]
Fix to handling of value access error reporting in synchronization.

gitlab #286

Change-Id: I025541c35a9cf9667eaaf845b68451d1da3af6f3

11 months agoSynchronize ModelingUtils.fileDialog() to UI thread. 27/2827/2
Reino Ruusu [Mon, 1 Apr 2019 12:57:59 +0000 (15:57 +0300)]
Synchronize ModelingUtils.fileDialog() to UI thread.

gitlab #284

Change-Id: Ie76ba4cd255eb2371745ac9162d2a619527f7ad0

12 months agoMerge "Fix SCL SceneGraph is omitting graphical elements"
Marko Luukkainen [Fri, 29 Mar 2019 13:53:39 +0000 (13:53 +0000)]
Merge "Fix SCL SceneGraph is omitting graphical elements"

12 months agoFix SCL SceneGraph is omitting graphical elements 24/2824/2
Marko Luukkainen [Fri, 29 Mar 2019 10:47:11 +0000 (12:47 +0200)]
Fix SCL SceneGraph is omitting graphical elements

gitlab #283

Change-Id: I660a9344ebdcb9aef8adecd712025bd2a623de8d

12 months agoMerge "Improved logic to find imports/includes in SCLTextEditorEnvironement"
Marko Luukkainen [Fri, 29 Mar 2019 10:48:58 +0000 (10:48 +0000)]
Merge "Improved logic to find imports/includes in SCLTextEditorEnvironement"

12 months agoAllow overriding initContext of DiagramSceneGraphProvider 23/2823/1
Marko Luukkainen [Thu, 28 Mar 2019 17:39:49 +0000 (19:39 +0200)]
Allow overriding initContext of DiagramSceneGraphProvider

refs #282

Change-Id: I2f8db2fc60230cf6e24ed771ee1cfeb180e8c82a

12 months agoAllow "doNotSynchronizeOntologies" to work. 20/2820/1
Marko Luukkainen [Tue, 26 Mar 2019 13:27:55 +0000 (15:27 +0200)]
Allow "doNotSynchronizeOntologies" to work.

Additionally, using the flag bypasses shared library synchronisation.

Change-Id: I384a2f878483be25c92e9644113e4d5b2ae95bca

12 months agoMerge "Added effectful Kleisli composition to Prelude."
Tuukka Lehtonen [Sun, 24 Mar 2019 22:13:54 +0000 (22:13 +0000)]
Merge "Added effectful Kleisli composition to Prelude."

12 months agoAdded effectful Kleisli composition to Prelude. 15/2815/1
Reino Ruusu [Fri, 22 Mar 2019 12:51:03 +0000 (14:51 +0200)]
Added effectful Kleisli composition to Prelude.

gitlab #280

Change-Id: If7a721ef2508b84490304a8353b31e8de9f25d27

12 months agoImproved logic to find imports/includes in SCLTextEditorEnvironement 98/2798/1
Jussi Koskela [Thu, 21 Mar 2019 13:02:02 +0000 (15:02 +0200)]
Improved logic to find imports/includes in SCLTextEditorEnvironement

gitlab #268

Change-Id: I2030ed897474264b5c7e191b0f14a6cd769cd6e8

12 months agoPossibility to define label color decorator rules in SCL 94/2794/1
Jussi Koskela [Thu, 21 Mar 2019 10:48:21 +0000 (12:48 +0200)]
Possibility to define label color decorator rules in SCL

gitlab #279

Change-Id: I9e34cb3af0434492ec26795f4f044c4e2484ecce

12 months agoMerge "Make SCL compiler accept "." as a valid relative path in imports."
Hannu Niemistö [Wed, 20 Mar 2019 10:52:12 +0000 (10:52 +0000)]
Merge "Make SCL compiler accept "." as a valid relative path in imports."

12 months agoMake SCL compiler accept "." as a valid relative path in imports. 91/2791/1
Reino Ruusu [Wed, 20 Mar 2019 10:40:50 +0000 (12:40 +0200)]
Make SCL compiler accept "." as a valid relative path in imports.

gitlab #278

Change-Id: I8f74d26d15545f65400e9ba383fecb34a11be4c5

12 months agoFix server SCL handler value request for procedural user components 87/2787/2
jsimomaa [Tue, 19 Mar 2019 08:27:17 +0000 (10:27 +0200)]
Fix server SCL handler value request for procedural user components

gitlab #277

Change-Id: Iedfbcec6411f98a197eff947673c0400fcd0d4b8

12 months agoAlways show version label for non-initial versions. 86/2786/1
Reino Ruusu [Mon, 18 Mar 2019 16:24:27 +0000 (18:24 +0200)]
Always show version label for non-initial versions.

gitlab #276

Change-Id: I5c1c2ad67c1bf010ceb372d06203395c52e6ed71

12 months agoFix async NPE with GraphToDiagramSynchronizer 80/2780/2
jsimomaa [Sun, 17 Mar 2019 19:41:44 +0000 (21:41 +0200)]
Fix async NPE with GraphToDiagramSynchronizer

gitlab #275

Change-Id: I4e4baa18a9d2a14250498c1d1d3cf1d209dc94f3

12 months agoMerge "Fetch all audit logging events"
Jani Simomaa [Sat, 16 Mar 2019 14:48:34 +0000 (14:48 +0000)]
Merge "Fetch all audit logging events"

12 months agoFetch all audit logging events 79/2779/1
jsimomaa [Sat, 16 Mar 2019 14:44:10 +0000 (16:44 +0200)]
Fetch all audit logging events

gitlab #274

Change-Id: I50f7368d758a3bbac424506db65966062895a213

12 months agoAllow loading databoard serialized files with type adapting 78/2778/1
Marko Luukkainen [Fri, 15 Mar 2019 13:46:25 +0000 (15:46 +0200)]
Allow loading databoard serialized files with type adapting

refs #273

Change-Id: I8aeb070809910ae502ead24bcb87eeba3142bf22
(cherry picked from commit 4797ec6414d21a81c5e0b23bf8a48b356b6711c5)

12 months agoEnhancements to UC migration. 76/2776/1
Reino Ruusu [Thu, 14 Mar 2019 15:02:31 +0000 (17:02 +0200)]
Enhancements to UC migration.

gitlab #271
gitlab #272

Change-Id: Idefd29805e5c9cc5f7c331ba6bdb2a541e6ab134
(cherry picked from commit 40b90f72c9598beb7e21a07b280c43a68adc34f2)