]> gerrit.simantics Code Review - simantics/platform.git/log
simantics/platform.git
4 years agoPut back unpack=true for org.simantics.g2d.feature 87/3387/2
jsimomaa [Mon, 21 Oct 2019 11:13:33 +0000 (14:13 +0300)]
Put back unpack=true for org.simantics.g2d.feature

gitlab #404

Change-Id: I8c52debbf41e5f9f6595b4c743288e5d94a4c74e

4 years agoAdd missing eclipse-collections bundles to org.simantics.g2d.feature 85/3385/2
jsimomaa [Mon, 21 Oct 2019 10:35:08 +0000 (13:35 +0300)]
Add missing eclipse-collections bundles to org.simantics.g2d.feature

gitlab #404

Change-Id: I947e06bbd4e256132338066a8b18b45b23db6d2e

4 years agoUpdate target platforms with eclipse 2019-09 (4.13) 68/3368/1
jsimomaa [Fri, 18 Oct 2019 11:04:33 +0000 (14:04 +0300)]
Update target platforms with eclipse 2019-09 (4.13)

This is WIP - once everything seems to work okay we need to mirror the
respective Eclipse repositories to simantics.org

gitlab #405

Change-Id: I46710067ef2334863a102d4d91b39867336d07e5

4 years agoUtilize eclipse-collections in AbstractDiagram datastructures 63/3363/1
jsimomaa [Fri, 18 Oct 2019 06:47:22 +0000 (09:47 +0300)]
Utilize eclipse-collections in AbstractDiagram datastructures

gitlab #404

Change-Id: Ib792edf0c3ef2603e0eb8639bc384faf382a0f92

4 years agoLog SCL compilation errors in AbstractExpressionCompilationRequest 62/3362/1
jsimomaa [Fri, 18 Oct 2019 06:27:03 +0000 (09:27 +0300)]
Log SCL compilation errors in AbstractExpressionCompilationRequest

There are cases where stack trace for compilation error would be nice to
have

gitlab #403

Change-Id: Iefeb2fb0b89040ad3696f484403b601bbfbf4b85

4 years agoAdd configurationBySolverName map to MappingBase 61/3361/2
jsimomaa [Thu, 17 Oct 2019 18:15:35 +0000 (21:15 +0300)]
Add configurationBySolverName map to MappingBase

gitlab #402

Change-Id: I3a315e48a79efbcbca73408de8f0f172cf6d8344

4 years agoFixed NPE from Change Information when given unexpected input 57/3357/1
Tuukka Lehtonen [Thu, 17 Oct 2019 11:01:46 +0000 (14:01 +0300)]
Fixed NPE from Change Information when given unexpected input

gitlab #401

Change-Id: I31b56160e95d3169699db9fb141d10fa4046d46d

4 years agoMerge changes Iff524dd3,I91bb154e
Tuukka Lehtonen [Thu, 17 Oct 2019 08:52:02 +0000 (08:52 +0000)]
Merge changes Iff524dd3,I91bb154e

* changes:
  Diagram threading and ThreadLogger improvements
  Fix livelock situation in QueryProcessor

4 years agoRid TypicalPropertyTester of database read transactions 52/3352/3
Tuukka Lehtonen [Thu, 17 Oct 2019 07:52:39 +0000 (10:52 +0300)]
Rid TypicalPropertyTester of database read transactions

After this, the normal workbench invocations of TypicalPropertyTester no
longer perform any database transactions to do their work. DiagramViewer
now has built-in support for doing the required queries based on
IDiagram hints alone.

gitlab #399

Change-Id: I0dcebcc871f72c16d58a932704c16398df9dd900

4 years agoDiagram threading and ThreadLogger improvements 75/3275/5
Antti Villberg [Tue, 24 Sep 2019 08:03:34 +0000 (11:03 +0300)]
Diagram threading and ThreadLogger improvements

gitlab #387
gitlab #388

Conflicts:
bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/ReadGraphImpl.java

Change-Id: Iff524dd3d8ebf66632772077a06dc10cae0c6f9c

4 years agoFix livelock situation in QueryProcessor 74/3274/5
Antti Villberg [Tue, 24 Sep 2019 08:00:28 +0000 (11:00 +0300)]
Fix livelock situation in QueryProcessor

gitlab #386

Change-Id: I91bb154e6410b125eb13171f9152996286a6d54d

4 years agoIntroduced G2DRenderingHints.KEY_TRANSFORM_UNDER_SPATIAL_ROOT 50/3350/1
Tuukka Lehtonen [Wed, 16 Oct 2019 22:57:08 +0000 (01:57 +0300)]
Introduced G2DRenderingHints.KEY_TRANSFORM_UNDER_SPATIAL_ROOT

gitlab #398

Change-Id: I505af1d0ef38a001c6bbb4fc900e62091099fafd

4 years agoAccept multiple types in browse context contributions 38/3338/2
Antti Villberg [Wed, 16 Oct 2019 08:26:21 +0000 (11:26 +0300)]
Accept multiple types in browse context contributions

gitlab #397

Change-Id: Ie653266a7a54cdf78cad923dcb2e62e46e31423d

4 years agoAllow module updaters to customise applyRules 26/3326/1
Antti Villberg [Mon, 14 Oct 2019 05:29:46 +0000 (08:29 +0300)]
Allow module updaters to customise applyRules

gitlab #395

Change-Id: I2c0579cf2e805e1fa88e9f4e1b8dfeb0c8845c1f

4 years agoTake the transform hint of DragItem into account during drag 21/3321/1
Jussi Koskela [Thu, 10 Oct 2019 07:13:05 +0000 (10:13 +0300)]
Take the transform hint of DragItem into account during drag

gitlab #394

Change-Id: I2b0f18e663e9cc72145bb1a268bbc359293a46d5

4 years agoUtilize eclipse-collections immutable lists/map in datastructures 13/3213/3
jsimomaa [Fri, 6 Sep 2019 08:56:11 +0000 (11:56 +0300)]
Utilize eclipse-collections immutable lists/map in datastructures

gitlab #376

Change-Id: Ic96633256050766e385ea27816684e97cf0068c2

4 years agoUpdated simantics.target for Nebula 2.2.0 05/3305/1
Tuukka Lehtonen [Mon, 30 Sep 2019 08:29:25 +0000 (11:29 +0300)]
Updated simantics.target for Nebula 2.2.0

gitlab #383

Change-Id: Ie631881f1a1678261a136d7e08f14398c5854a2c

4 years agoMove to Nebula widget release 2.2.0 01/3301/1
Tuukka Lehtonen [Mon, 30 Sep 2019 08:06:18 +0000 (11:06 +0300)]
Move to Nebula widget release 2.2.0

gitlab #383

Change-Id: I9e9316096d9c97503594d64e72af33aa7698cc96

4 years agoSimple migration step implementation that runs a specified SCL script 98/3298/2
Tuukka Lehtonen [Mon, 30 Sep 2019 07:14:29 +0000 (10:14 +0300)]
Simple migration step implementation that runs a specified SCL script

gitlab #343

Change-Id: I61a658e9888e9b03d595cee5fecee51c54d95719

4 years agoTwo rendering glitch fixes for time series charts 87/3287/1
Tuukka Lehtonen [Thu, 26 Sep 2019 20:24:12 +0000 (23:24 +0300)]
Two rendering glitch fixes for time series charts

1. Grid values were not rendered properly when the [yMin,yMax] interval
   gets too small (under 1e-6). The calculations in
   GridSpacing.makeGridSpacing contain a capping logic for parameter
   viewboxSize which doesn't necessarily have to be there (IMHO). The
   problem is essentially that auto-scaling the Y-axis allows zooming to
   any small value interval, but the vertical ruler rendering just
   doesn't work properly in those cases.

2. GridUtil.calcLabelWidth calculated the rendered Y-value labels
   differently from the rendering logic in GridUtil.paintVerticalRuler
   and GridUtil.paintVerticalSlaveRuler, i.e. in a more inprecise manner
   which results in the y-axis reserved width not following properly
   what is rendered.

gitlab #392

Change-Id: I30998d9336e50606956a78ad547ee437e0439f1a

4 years agoMake ValueFormat.toFormat safe to call with any noOfDecimals value 86/3286/1
Tuukka Lehtonen [Thu, 26 Sep 2019 13:02:39 +0000 (16:02 +0300)]
Make ValueFormat.toFormat safe to call with any noOfDecimals value

noOfDecimals is now capped between [0,16].

gitlab #391

Change-Id: Id24752a908b65c261f02964ec18cdb8e759ea0d0
(cherry picked from commit 83249a1e50b8ea706fde5e3074856fbf5f9eb1ac)

4 years agoChange editor font in UI and update on editor reload. 83/3283/2
Alpi Rimppi [Thu, 26 Sep 2019 08:26:55 +0000 (11:26 +0300)]
Change editor font in UI and update on editor reload.

gitlab #390

Change-Id: Ieae1ceb208a3e401f122725eda5693e1e4aeb5b5

4 years agoAdded two new user component SCL script simulation stages 76/3276/1
Tuukka Lehtonen [Tue, 24 Sep 2019 11:44:57 +0000 (14:44 +0300)]
Added two new user component SCL script simulation stages

1. pre-step: executed during each simulation step,
   before native simulation stepping
2. post-step: executed during each simulation step,
   after native and all other stepping logics

The purpose of these is to allow simulation step initialization and
finalization with UC SCL scripts.

gitlab #389

Change-Id: Idbd818f80f30c3bdaefdf75a6c11f0747a9a6a26

4 years agoAllow simulation stop handling in Simantics/Sequences 72/3272/2
Tuukka Lehtonen [Fri, 20 Sep 2019 11:17:46 +0000 (14:17 +0300)]
Allow simulation stop handling in Simantics/Sequences

`StopReason` enumerates supported reasons for simulation stops which is
delivered once to functions registered through `executeWhenStopped`.

It is up to the domain-specific sequence runners to implement the actual
identification of simulation stopping situations and to invoke
AbstractActionContext.stop(StopReason reason) when needed.

gitlab #385

Change-Id: I2bc354b3bf433909c5224f82c98c17b1ec564920

4 years agoPrevent undesirable UI code access when workbench is not running 66/3266/1
Tuukka Lehtonen [Thu, 19 Sep 2019 11:25:39 +0000 (14:25 +0300)]
Prevent undesirable UI code access when workbench is not running

Also removed old and useless E3 ExperimentListener implementation

gitlab #384

Change-Id: I2ae3bd5efbc3ab92fc87aca0de8625dfe6a0e7a0
(cherry picked from commit f37ba060464d2230f86c6786572d33026800eedc)

4 years agoSet resources immutable 64/3164/2
Alpi Rimppi [Wed, 28 Aug 2019 08:18:30 +0000 (11:18 +0300)]
Set resources immutable

gitlab #369

Change-Id: Id1ddcc8253339ac7ab60f2772ab53d5c06547b19

4 years agoSeparate query dependency management from QueryProcessor 49/3249/9
Antti Villberg [Thu, 12 Sep 2019 11:15:24 +0000 (14:15 +0300)]
Separate query dependency management from QueryProcessor

gitlab #379

Change-Id: I23afbaef397f23b3645d47ac71906736b1021044

4 years agoMerge changes I78c3a258,I7bf72f04
Tuukka Lehtonen [Wed, 11 Sep 2019 21:41:46 +0000 (21:41 +0000)]
Merge changes I78c3a258,I7bf72f04

* changes:
  Handle componentless parent nodes of UCs in synchronization
  Added logging for history archive import failure cases

4 years agoHandle componentless parent nodes of UCs in synchronization 46/3246/1
Tuukka Lehtonen [Wed, 11 Sep 2019 21:32:39 +0000 (00:32 +0300)]
Handle componentless parent nodes of UCs in synchronization

gitlab #382

Change-Id: I78c3a258e5a33cb16ae38ef080424d382f42c710

4 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

4 years agoMerge "Add node class names to generated SVG"
Marko Luukkainen [Wed, 11 Sep 2019 10:16:57 +0000 (10:16 +0000)]
Merge "Add node class names to generated SVG"

4 years agoAdd node class names to generated SVG 38/3238/1
Marko Luukkainen [Wed, 11 Sep 2019 10:06:27 +0000 (13:06 +0300)]
Add node class names to generated SVG

gitlab #380

Change-Id: I721d774f8adf8864704409ec48c88f3a06fe15a3

4 years agoMerge "Try to read queries from cache also in cases where cache is not written"
Tuukka Lehtonen [Tue, 10 Sep 2019 12:56:00 +0000 (12:56 +0000)]
Merge "Try to read queries from cache also in cases where cache is not written"

4 years agoBumped master version to 1.41.0
Tuukka Lehtonen [Tue, 10 Sep 2019 12:54:20 +0000 (15:54 +0300)]
Bumped master version to 1.41.0

4 years agoMerge "An action for experiment activation"
Tuukka Lehtonen [Tue, 10 Sep 2019 12:31:47 +0000 (12:31 +0000)]
Merge "An action for experiment activation"

4 years agoAn action for experiment activation 33/3233/1
Antti Villberg [Tue, 10 Sep 2019 08:45:43 +0000 (11:45 +0300)]
An action for experiment activation

gitlab #378

Change-Id: Ie52f085a94d71905044dc32debae3fc46732e8a1

4 years agoMissing arguments in SCLFunctions.evaluate 32/3232/1
Antti Villberg [Tue, 10 Sep 2019 08:44:14 +0000 (11:44 +0300)]
Missing arguments in SCLFunctions.evaluate

gitlab #377

Change-Id: I4318bcea21696a69e3ae6ce4718090ac7737cf2b

4 years agoTry to read queries from cache also in cases where cache is not written 31/3231/1
Antti Villberg [Tue, 10 Sep 2019 08:42:47 +0000 (11:42 +0300)]
Try to read queries from cache also in cases where cache is not written

gitlab #320

Change-Id: I4446238b8998f592df710b2992ba3c2cc6fe0bee

4 years agoMerge "Include disconnected flag terminals for connection judgement"
Tuukka Lehtonen [Fri, 6 Sep 2019 13:29:10 +0000 (13:29 +0000)]
Merge "Include disconnected flag terminals for connection judgement"

4 years agoFix ObserverGroupListener equals 12/3212/1
jsimomaa [Fri, 6 Sep 2019 08:54:10 +0000 (11:54 +0300)]
Fix ObserverGroupListener equals

gitlab #375

Change-Id: Ib9155cabef7833f1433aa90c2754f82c3c2185f8

4 years agoSupport enumerated property types in UC interface (2nd try) 03/3203/2
Jussi Koskela [Thu, 5 Sep 2019 11:41:27 +0000 (14:41 +0300)]
Support enumerated property types in UC interface (2nd try)

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: Ia452d0523a7a215181745870515cb74b8c838e90

4 years agoImproved the positioning of issue decoration for connection elements 02/3202/2
Jussi Koskela [Thu, 5 Sep 2019 10:06:16 +0000 (13:06 +0300)]
Improved the positioning of issue decoration for connection elements

Shows the issue decorator at a point that belongs to the connection and
is closest to the center of its bounding box. Also fixed the updating of
position.

gitlab #372

Change-Id: Icf948997a9a2ce11a6420d83286144328af4e877

4 years agoPass model instead of null 95/3195/1
Jussi Koskela [Wed, 4 Sep 2019 06:47:54 +0000 (09:47 +0300)]
Pass model instead of null

Fixes yet another regression.

gitlab #355

Change-Id: Ic61cbbe347c8f66addf10397fa0f5969dacacad6

4 years agoPass graph to prevent transaction within transaction 93/3193/1
Jussi Koskela [Wed, 4 Sep 2019 05:45:20 +0000 (08:45 +0300)]
Pass graph to prevent transaction within transaction

Fixes regression from previous change.

gitlab #355

Change-Id: I40e8351373cf6b7f291402aded74ab73f624e70e

4 years agoPass graphs as ReadGraph instead of Object for clarity 92/3192/1
Jussi Koskela [Wed, 4 Sep 2019 05:40:57 +0000 (08:40 +0300)]
Pass graphs as ReadGraph instead of Object for clarity

gitlab #321

Change-Id: Id061b4d16f95a403a861e3cc06f1980c1a1dab60

4 years agoUse PreferredDiagramEditorID in OpenDiagramEditorFromComponentAdapter 90/3190/1
Jussi Koskela [Tue, 3 Sep 2019 10:28:13 +0000 (13:28 +0300)]
Use PreferredDiagramEditorID in OpenDiagramEditorFromComponentAdapter

gitlab #371

Change-Id: Ia2b39d03f346a47c45b3982ec882b9facc9e28eb

4 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

4 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

4 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

4 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""

4 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

4 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"

4 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

4 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

4 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"

4 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

4 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"

4 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

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

4 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

4 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

4 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)"

4 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

4 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

4 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"

4 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

4 years agoInclude disconnected flag terminals for connection judgement 36/3136/3
Jussi Koskela [Wed, 21 Aug 2019 10:38:06 +0000 (13:38 +0300)]
Include disconnected flag terminals for connection judgement

gitlab #354

Change-Id: I318b0594d52fd4faf2d77e662e1ff04653922956

4 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

4 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

4 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

4 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"

4 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

4 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

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

4 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

4 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

4 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

4 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

4 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"

4 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

4 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"

4 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

4 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"

4 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"

4 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

4 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

4 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

4 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."

4 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

4 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

4 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

4 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

4 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

4 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.

4 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

4 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

4 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"

4 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

4 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

4 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)