]> gerrit.simantics Code Review - simantics/platform.git/log
simantics/platform.git
2 years agoAdded logging for history archive import failure cases 45/3245/1
Tuukka Lehtonen [Wed, 11 Sep 2019 21:14:46 +0000 (00:14 +0300)]
Added logging for history archive import failure cases

gitlab #381

Change-Id: I7bf72f047a24932e3dbc4fd48781bad0f879a472

2 years agoReport non-existent .sts tests using error logger instead of NPE crash 78/3178/1
Tuukka Lehtonen [Fri, 30 Aug 2019 12:12:53 +0000 (15:12 +0300)]
Report non-existent .sts tests using error logger instead of NPE crash

gitlab #367

Change-Id: I55408e6b8b539bb3775e7ff5afc7f32323e32eb2

2 years agoFixed typical synchronization to work without template diagram desc 75/3175/1
Tuukka Lehtonen [Fri, 30 Aug 2019 07:21:40 +0000 (10:21 +0300)]
Fixed typical synchronization to work without template diagram desc

gitlab #370

Change-Id: I243d9baa3939234c9b31e1c8f34526b2c9fe641f

2 years agoLog test name before and after execution with timeout and exec time 74/3174/1
Tuukka Lehtonen [Fri, 30 Aug 2019 06:53:56 +0000 (09:53 +0300)]
Log test name before and after execution with timeout and exec time

gitlab #367

Change-Id: I3ff6b1da4e773987bfc1d83fee9cef3f302a3d5e

2 years agoMerge "Revert "Support enumerated property types in UC interface""
Tuukka Lehtonen [Wed, 28 Aug 2019 17:04:21 +0000 (17:04 +0000)]
Merge "Revert "Support enumerated property types in UC interface""

2 years agoRevert "Support enumerated property types in UC interface" 66/3166/1
Tuukka Lehtonen [Wed, 28 Aug 2019 16:54:23 +0000 (16:54 +0000)]
Revert "Support enumerated property types in UC interface"

This reverts commit a175b74181c4841b403170f03e1ad9caac946f53.

Reason for revert: The changes caused problems for String datatype users. The implementation needs further refinement.

Change-Id: Ie891a235fd21b44f178b7ccd40b04a5e9724a32d

2 years agoMerge "Fixed typo from string returned from Rename.renameNode" private/solvo2
Tuukka Lehtonen [Wed, 28 Aug 2019 09:45:08 +0000 (09:45 +0000)]
Merge "Fixed typo from string returned from Rename.renameNode"

2 years agoFixed typo from string returned from Rename.renameNode 63/3163/1
Tuukka Lehtonen [Wed, 28 Aug 2019 07:43:11 +0000 (10:43 +0300)]
Fixed typo from string returned from Rename.renameNode

gitlab #367

Change-Id: I5524ae8c3133968a4819045fc2556439b5aa3526

2 years agoMade orElseM associative 62/3162/2
Alpi Rimppi [Tue, 27 Aug 2019 08:09:16 +0000 (11:09 +0300)]
Made orElseM associative

gitlab #368

Change-Id: Ideb97278b16455f0bf2d130547cf1c8713897686

2 years agoMerge "Clean up also indexes during DB unit test environment initialization"
Tuukka Lehtonen [Mon, 26 Aug 2019 13:07:35 +0000 (13:07 +0000)]
Merge "Clean up also indexes during DB unit test environment initialization"

2 years agoClean up also indexes during DB unit test environment initialization 60/3160/1
Tuukka Lehtonen [Mon, 26 Aug 2019 12:52:50 +0000 (15:52 +0300)]
Clean up also indexes during DB unit test environment initialization

gitlab #367

Change-Id: Ia93e2e7169575f97b51ef27130b2579ef4d6fb4e

2 years agoMerge "Selection view tab for managing issue validations"
Tuukka Lehtonen [Mon, 26 Aug 2019 09:16:32 +0000 (09:16 +0000)]
Merge "Selection view tab for managing issue validations"

2 years agoSelection view tab for managing issue validations 57/3157/2
Antti Villberg [Mon, 26 Aug 2019 07:51:40 +0000 (10:51 +0300)]
Selection view tab for managing issue validations

gitlab #365

Change-Id: I273baaecb90bd88ec6f993593eb9315eb993479f

2 years agoMerge "Improved constraint modelling utilities"
Tuukka Lehtonen [Mon, 26 Aug 2019 09:08:15 +0000 (09:08 +0000)]
Merge "Improved constraint modelling utilities"

2 years agoImproved constraint modelling utilities 56/3156/1
Antti Villberg [Mon, 26 Aug 2019 07:28:35 +0000 (10:28 +0300)]
Improved constraint modelling utilities

gitlab #348

Change-Id: If1409441816c3d29b9f87829be965bda19f5280f

2 years agoImprovements to SCL browse context contributions 55/3155/3
Antti Villberg [Mon, 26 Aug 2019 07:00:30 +0000 (10:00 +0300)]
Improvements to SCL browse context contributions

gitlab #364

Change-Id: Iaa5d45e3c1a1023ca62110066947d4a822037991

2 years agoMerge "Improvements to modelled SWT documents (fixed)"
Tuukka Lehtonen [Sun, 25 Aug 2019 21:29:46 +0000 (21:29 +0000)]
Merge "Improvements to modelled SWT documents (fixed)"

2 years agoImprovements to modelled SWT documents (fixed) 46/3146/4
Antti Villberg [Fri, 23 Aug 2019 10:52:32 +0000 (13:52 +0300)]
Improvements to modelled SWT documents (fixed)

gitlab #357

Change-Id: Id366f13e6be8b598158e67af5d5a4aeb7644abb3

2 years agopossibleObjectForType utility 51/3151/4
Antti Villberg [Sun, 25 Aug 2019 10:38:56 +0000 (13:38 +0300)]
possibleObjectForType utility

gitlab #362

Change-Id: I3c88a860df44be625b8f63cbacdd906ea79264e9

2 years agoMerge "Move contents of SCLMain in PlatformUI from pgraph to scl-file"
Tuukka Lehtonen [Sun, 25 Aug 2019 19:12:30 +0000 (19:12 +0000)]
Merge "Move contents of SCLMain in PlatformUI from pgraph to scl-file"

2 years agoMove contents of SCLMain in PlatformUI from pgraph to scl-file 50/3150/4
Antti Villberg [Sun, 25 Aug 2019 10:35:15 +0000 (13:35 +0300)]
Move contents of SCLMain in PlatformUI from pgraph to scl-file

gitlab #361

Change-Id: I45fa44cc708a0292b0b68dfe2015cd4aef3e462a

2 years agoUse UTF-8 charset in SVG byte[] to String conversion 44/3144/3
Jussi Koskela [Thu, 22 Aug 2019 11:02:13 +0000 (14:02 +0300)]
Use UTF-8 charset in SVG byte[] to String conversion

Suggestions for API cleanup listed in the issue description.

gitlab #358

Change-Id: I79c3a8f25f3ad679a5699bf43e689474fbe421f4

2 years agoSupport subrelations of DIA.Flag.ConnectionPoint in Diagram.setElements 45/3145/4
Jussi Koskela [Thu, 22 Aug 2019 11:20:01 +0000 (14:20 +0300)]
Support subrelations of DIA.Flag.ConnectionPoint in Diagram.setElements

gitlab #359

Change-Id: I070a1615057c7f17a55e43bdb975712201f3d710

2 years agoAdd index root resource initially to its own index 47/3147/2
Jussi Koskela [Fri, 23 Aug 2019 10:57:35 +0000 (13:57 +0300)]
Add index root resource initially to its own index

gitlab #360

Change-Id: I9c90b7ba36b818e3559741d72282ad057c58f774

2 years agoMerge "Improvements to constraint-based issues"
Tuukka Lehtonen [Thu, 22 Aug 2019 07:33:56 +0000 (07:33 +0000)]
Merge "Improvements to constraint-based issues"

2 years agoImprovements to constraint-based issues 37/3137/8
Antti Villberg [Wed, 21 Aug 2019 12:26:18 +0000 (15:26 +0300)]
Improvements to constraint-based issues

gitlab #355

Change-Id: Ia6ab17a6850e4ad1600e739063797a330077d5f6

2 years agoImprovements to modelled SWT documents 40/3140/5
Antti Villberg [Wed, 21 Aug 2019 12:46:28 +0000 (15:46 +0300)]
Improvements to modelled SWT documents

gitlab #357

Change-Id: I281e90d871157775e1d9b789eb1a8886fb87bb17

2 years agoMerge "VariableOrResource SCL type"
Tuukka Lehtonen [Thu, 22 Aug 2019 06:13:57 +0000 (06:13 +0000)]
Merge "VariableOrResource SCL type"

2 years agoVariableOrResource SCL type 26/3126/3
Antti Villberg [Tue, 20 Aug 2019 13:24:48 +0000 (16:24 +0300)]
VariableOrResource SCL type

gitlab #351

Change-Id: I9106238d1bd2e8e07024a2bd21e0dd371ab8c091

2 years agoSupport enumerated property types in UC interface 94/3094/4
Jussi Koskela [Tue, 13 Aug 2019 05:55:06 +0000 (08:55 +0300)]
Support enumerated property types in UC interface

Other improvements:
-Support labels in enumeration values
-Sort enum values in edit combo alphanumerically (was hash order)

Bugs fixed:
-Instantiated values for IC properties were not converted properly on
type edit if the UC was defined in linked index root

gitlab #339

Change-Id: I7d73a7465adb0ff13b3245ac332a37bff9095810

2 years 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

2 years 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

2 years 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"

2 years 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

2 years 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"

2 years 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

2 years 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"

2 years 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"

2 years 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

2 years 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

2 years 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

2 years 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."

2 years 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

2 years 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

2 years 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

2 years 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

3 years 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

3 years 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.

3 years 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

3 years 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

3 years 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"

3 years 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

3 years 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

3 years 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)

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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""

3 years 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

3 years 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"

3 years 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"

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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"

3 years 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"

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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)

3 years 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"

3 years 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"

3 years 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

3 years 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"

3 years 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

3 years 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

3 years 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

3 years 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"

3 years 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

3 years 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

3 years 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"

3 years 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

3 years 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

3 years 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

3 years 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"