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

15 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

15 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

15 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

15 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

15 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

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

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

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

15 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

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

15 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

15 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

15 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

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

15 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

15 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

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

16 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

16 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

16 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

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

16 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

16 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

16 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

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

16 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

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

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

17 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

17 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

17 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

17 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

17 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

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

17 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

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

17 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

17 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

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

18 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

18 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

18 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

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

18 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

18 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

18 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

18 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

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

18 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

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

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

18 months agoProvide classifications and datatype for Variable-based drag sources 64/2764/2
Jussi Koskela [Mon, 11 Mar 2019 06:29:29 +0000 (08:29 +0200)]
Provide classifications and datatype for Variable-based drag sources

gitlab #270

Change-Id: Idf4b2b82e56f4c20897e4d403d075dbfde9b57b1

18 months agoDiagram mapping should remove connections alongside elements 50/2750/1
jsimomaa [Wed, 6 Mar 2019 12:58:51 +0000 (14:58 +0200)]
Diagram mapping should remove connections alongside elements

gitlab #269

Change-Id: Ib848eb96f6f61093fc76dac3c49983e3febc3595

18 months agoMerge "Allow effects mapFst and mapSnd"
Hannu Niemistö [Sat, 2 Mar 2019 16:43:55 +0000 (16:43 +0000)]
Merge "Allow effects mapFst and mapSnd"

18 months agoMerge "Expose CommandSession in SCL"
Hannu Niemistö [Fri, 1 Mar 2019 12:46:09 +0000 (12:46 +0000)]
Merge "Expose CommandSession in SCL"

18 months agoMerge "Warn for existential variables in head pattern referred only once"
Hannu Niemistö [Fri, 1 Mar 2019 12:45:56 +0000 (12:45 +0000)]
Merge "Warn for existential variables in head pattern referred only once"

18 months agoAllow effects mapFst and mapSnd 43/2743/1
Hannu Niemistö [Fri, 1 Mar 2019 12:45:37 +0000 (14:45 +0200)]
Allow effects mapFst and mapSnd

Change-Id: I873f82453ec1a306d486f3daa065ada61133bd64

18 months agoMerge "Implemented many type class instances for Set.T"
Hannu Niemistö [Fri, 1 Mar 2019 12:28:02 +0000 (12:28 +0000)]
Merge "Implemented many type class instances for Set.T"

18 months agoRemove useless ReadGraph effect from addSubscription 42/2742/1
Tuukka Lehtonen [Fri, 1 Mar 2019 12:07:42 +0000 (14:07 +0200)]
Remove useless ReadGraph effect from addSubscription

gitlab #266

Change-Id: Ie8584836020e61d70f8917788c207f894ec3aa4d

18 months agoImplemented many type class instances for Set.T 41/2741/2
Hannu Niemistö [Fri, 1 Mar 2019 11:04:14 +0000 (13:04 +0200)]
Implemented many type class instances for Set.T

Change-Id: I6190579fb7715ebfc5b165941cb33c6d27e84148

18 months agoWarn for existential variables in head pattern referred only once 37/2737/5
Hannu Niemistö [Thu, 28 Feb 2019 12:52:47 +0000 (14:52 +0200)]
Warn for existential variables in head pattern referred only once

#265

Change-Id: Ie022bbfb0b1829bc462bf88f44f65009464de096

18 months agoExpose CommandSession in SCL 39/2739/1
Hannu Niemistö [Thu, 28 Feb 2019 14:34:22 +0000 (16:34 +0200)]
Expose CommandSession in SCL

Change-Id: Ie4bee3c9a56f357e8e8797f96254731dcd9878a6

18 months agoDon't list warnings in console when module import fails 38/2738/1
Hannu Niemistö [Thu, 28 Feb 2019 13:22:43 +0000 (15:22 +0200)]
Don't list warnings in console when module import fails

Change-Id: I54832d5c530f173665c632493403963dda80e2ea

18 months agoCheck that both returnTypeDesc and parameterTypeDescs are initialized 33/2733/1
Hannu Niemistö [Wed, 27 Feb 2019 12:10:32 +0000 (14:10 +0200)]
Check that both returnTypeDesc and parameterTypeDescs are initialized

Change-Id: I6b3004ab9119ceef7ae0431cea64b28c8819fc4a

18 months agoAdded proper equals() implementations for validation compilation request 12/2712/1
Reino Ruusu [Mon, 25 Feb 2019 15:51:59 +0000 (17:51 +0200)]
Added proper equals() implementations for validation compilation request

Fix to use of old value from cache while validating derived properties.

gitlab #252

Change-Id: I2adf76401dac90ddecc0bf2b3c222da6e242c2d2

18 months agoFix typical toolbar calculations to not throw ClassCastExceptions 84/2684/4
jsimomaa [Mon, 25 Feb 2019 09:25:15 +0000 (11:25 +0200)]
Fix typical toolbar calculations to not throw ClassCastExceptions

gitlab #264

Change-Id: I352dcf48397f76986a44c01494a7ff5c89852f4a

18 months agoNo point computing ordered set if resource does not have any statements 83/2683/2
jsimomaa [Mon, 25 Feb 2019 09:21:06 +0000 (11:21 +0200)]
No point computing ordered set if resource does not have any statements

gitlab #263

Change-Id: I92dbe0ea64bb8d7969124c27a37614abc724a8e1

19 months agoMerge "Use STR.Component base type for resolving actual type."
Marko Luukkainen [Wed, 20 Feb 2019 17:14:33 +0000 (17:14 +0000)]
Merge "Use STR.Component base type for resolving actual type."

19 months agoUse STR.Component base type for resolving actual type. 60/2660/1
Marko Luukkainen [Wed, 20 Feb 2019 15:34:56 +0000 (17:34 +0200)]
Use STR.Component base type for resolving actual type.

This change should fix at least some problems with multi-instances.

gitlab #259

Change-Id: Id8496ba4bc03d9c0e7dba3cc0d0db858896ddce1

19 months agoDuplicate MouseWheelMovedEvent was not actually fixed 59/2659/2
jsimomaa [Tue, 19 Feb 2019 12:04:45 +0000 (14:04 +0200)]
Duplicate MouseWheelMovedEvent was not actually fixed

gitlab #64

Change-Id: I4989c4f57e0a1f44a3366640c6e756ad2c93c4ad

19 months agoAdd outline page for SCLModuleEditor2 57/2657/3
jsimomaa [Tue, 19 Feb 2019 09:48:26 +0000 (11:48 +0200)]
Add outline page for SCLModuleEditor2

gitlab #257

Change-Id: I95b26ee8056b16103e12f32711167257b324eacf

19 months agoMerge "Data types imported from Java cannot be trivial"
Hannu Niemistö [Tue, 19 Feb 2019 08:33:48 +0000 (08:33 +0000)]
Merge "Data types imported from Java cannot be trivial"

19 months agoWIP: Some old-ish adapter registry initialization improvements 53/2653/2
jsimomaa [Mon, 18 Feb 2019 06:50:58 +0000 (08:50 +0200)]
WIP: Some old-ish adapter registry initialization improvements

gitlab #189

Change-Id: Ibcae41336b9d24cdf34444702b9319ae0c2ce34e

19 months agoData types imported from Java cannot be trivial 52/2652/1
Hannu Niemistö [Fri, 15 Feb 2019 14:39:02 +0000 (16:39 +0200)]
Data types imported from Java cannot be trivial

Change-Id: I8740ddd940708ab1dbf60e958e04dff6082a0cbb

19 months agoAutomatic deriving of instances for Json 51/2651/1
Hannu Niemistö [Thu, 14 Feb 2019 12:45:23 +0000 (14:45 +0200)]
Automatic deriving of instances for Json

Example:

data GeographicalLocation = GeographicalLocation {
    latitude :: Double,
    longitude :: Maybe Double
}

deriving instance Json GeographicalLocation

testIt :: <Proc> ()
testIt = do
    print $ toJsonString GeographicalLocation {
        latitude = 1,
        longitude = Just 2 }
    print (fromJsonString
        "{ \"latitude\": 1, \"longitude\": 2 }"
        :: GeographicalLocation)
    print $ toJsonString GeographicalLocation {
        latitude = 1,
        longitude = Nothing }
    print (fromJsonString
        "{ \"latitude\": 1 }"
        :: GeographicalLocation)

#256

Change-Id: I7f44b65472436779045e4d15871858d14132dff9

19 months agoAdd lookupJsonField to Data/Json SCL module 50/2650/2
jsimomaa [Thu, 14 Feb 2019 11:24:34 +0000 (13:24 +0200)]
Add lookupJsonField to Data/Json SCL module

gitlab #256

Change-Id: If3be1a2f355f4542ffb60e0984ceec2b8771ed0f

19 months agoFixed broken validation of document SCL Handler expressions 46/2646/1
Jussi Koskela [Fri, 8 Feb 2019 13:13:31 +0000 (15:13 +0200)]
Fixed broken validation of document SCL Handler expressions

The implementation was originally in Simupedia but was obviously lost
while moving the validation implementation to Simantics Platform.

gitlab #255

Change-Id: I81c92620631caa352daa5a7380733a4edb91e938

19 months agoInitial version of validating derived properties formulas 35/2635/3
jsimomaa [Fri, 1 Feb 2019 07:39:08 +0000 (09:39 +0200)]
Initial version of validating derived properties formulas

Note: untested the procedural use case and still the solution can be a
bit hackish with e.g. constructing Variables and passing them along

However, at least this does something instead of just silently failing

gitlab #252

Change-Id: I209d9d585379b7b987861355589427ee90375738

19 months agoMerge "Fix selectPath returning true for nodes that haven't been loaded."
Marko Luukkainen [Fri, 1 Feb 2019 13:24:08 +0000 (13:24 +0000)]
Merge "Fix selectPath returning true for nodes that haven't been loaded."

19 months agoFix selectPath returning true for nodes that haven't been loaded. 37/2637/1
Marko Luukkainen [Fri, 1 Feb 2019 13:01:16 +0000 (15:01 +0200)]
Fix selectPath returning true for nodes that haven't been loaded.

gitlab #253

Change-Id: Ifdc5853e34f2c213acc6dcbffb4da3085936d60d

19 months agoMark SPECIAL_ROOTs as EXTERNAL in DomainProcessor3 - fixed condition 34/2634/1
Jussi Koskela [Thu, 31 Jan 2019 14:34:16 +0000 (16:34 +0200)]
Mark SPECIAL_ROOTs as EXTERNAL in DomainProcessor3 - fixed condition

gitlab #251

Change-Id: I8bbffd898d2c5ea2a12330461dbf65daeacbe14d

19 months agoRename linked list functions that are overlapping or are too generic 25/2625/1
Marko Luukkainen [Tue, 29 Jan 2019 11:06:53 +0000 (13:06 +0200)]
Rename linked list functions that are overlapping or are too generic

gitlab  #250

Change-Id: Iae2e7ffc420970cb52c85c391361f02da3be3f28

19 months agoFix document update / even better optimization of document requests 22/2622/1
Antti Villberg [Fri, 25 Jan 2019 10:26:23 +0000 (12:26 +0200)]
Fix document update / even better optimization of document requests

gitlab #249

Change-Id: I3b76b4ec8e767e974de83f4e52deba7c940b7174

20 months agoBumped master version to 1.38.0
Marko Luukkainen [Tue, 22 Jan 2019 16:13:37 +0000 (18:13 +0200)]
Bumped master version to 1.38.0

gitlab #248

20 months agoMerge "Added hashcode/equals methods to generic profile Group implementations"
Marko Luukkainen [Mon, 21 Jan 2019 10:21:04 +0000 (10:21 +0000)]
Merge "Added hashcode/equals methods to generic profile Group implementations"

20 months agoAdded hashcode/equals methods to generic profile Group implementations 09/2609/1
Marko Luukkainen [Mon, 21 Jan 2019 09:30:47 +0000 (11:30 +0200)]
Added hashcode/equals methods to generic profile Group implementations

gitlab #247

Change-Id: I16603a738c7a43847a38e6007cd72cfcc268afd1

20 months agoIgnore vaading designer preference files 97/2597/1
Miro Richard Eklund [Fri, 18 Jan 2019 10:20:06 +0000 (12:20 +0200)]
Ignore vaading designer preference files

Added to .gitignore com.vaadin.designer.prefs

gitlab #246

Change-Id: I20d6ddcc9f3abdf628beb0a709cd5ed389e57cb6

20 months agoMerge "General event listening interface for DB and purge events."
Marko Luukkainen [Thu, 17 Jan 2019 15:03:28 +0000 (15:03 +0000)]
Merge "General event listening interface for DB and purge events."

20 months agoGeneral event listening interface for DB and purge events. 95/2595/2
Marko Luukkainen [Thu, 17 Jan 2019 14:27:55 +0000 (16:27 +0200)]
General event listening interface for DB and purge events.

gitlab #245

Change-Id: Icdceaba3f8848751a24ee5aa9e1888b2540f0c73

20 months agoMerge "Fixed escaping in semiautomatic linking of shared libraries dialog"
Tuukka Lehtonen [Mon, 14 Jan 2019 11:32:35 +0000 (11:32 +0000)]
Merge "Fixed escaping in semiautomatic linking of shared libraries dialog"

20 months agoMerge "Remove unnecessary getComparableKey from HashMapBinding"
Marko Luukkainen [Mon, 7 Jan 2019 07:40:42 +0000 (07:40 +0000)]
Merge "Remove unnecessary getComparableKey from HashMapBinding"

20 months agoAdded addFirst/After/Before + remove SCL functions for Ordered Sets 92/2592/1
Marko Luukkainen [Fri, 4 Jan 2019 15:06:34 +0000 (17:06 +0200)]
Added addFirst/After/Before + remove SCL functions for Ordered Sets

gitlab #244

Change-Id: I40f921dc2f8cacf34692a0733ef6080e2d048eb7

20 months agoFixed escaping in semiautomatic linking of shared libraries dialog 91/2591/1
Jussi Koskela [Thu, 3 Jan 2019 10:50:38 +0000 (12:50 +0200)]
Fixed escaping in semiautomatic linking of shared libraries dialog

gitlab #215

Change-Id: Iaa135ff44179edb1177d8e8c6b0a89c7aa4b5c8a

20 months agoQueryCaching broke DiagramViewer 90/2590/1
Marko Luukkainen [Wed, 2 Jan 2019 15:29:22 +0000 (17:29 +0200)]
QueryCaching broke DiagramViewer

gitlab #5

Change-Id: I510bdb56e57d6ff5dd17e72683f21265a5d91f22

20 months agoImportPdfReader now implements Closeable 89/2589/1
Tuukka Lehtonen [Mon, 31 Dec 2018 13:36:49 +0000 (15:36 +0200)]
ImportPdfReader now implements Closeable

gitlab #243

Change-Id: I1d422e6c4103a4836210d15648ad47785fbe3972

20 months agoCache PropertyInfoRequests in getStandardChildDomainPropertyVariables 84/2584/2
jsimomaa [Mon, 24 Dec 2018 21:03:31 +0000 (23:03 +0200)]
Cache PropertyInfoRequests in getStandardChildDomainPropertyVariables

gitlab #5

Change-Id: Ia893c931bcab5adfb30d60d0caf109046f36e68a

21 months agoUse query caching previous to multi-query-thread to retain performance 81/2581/2
jsimomaa [Fri, 21 Dec 2018 13:33:19 +0000 (15:33 +0200)]
Use query caching previous to multi-query-thread to retain performance

gitlab #5

Change-Id: I5ea3de8d088ad97d465ae67521fe107a60c8258a

21 months agoDon't run branch in branch-release if branch is not given
Tuukka Lehtonen [Wed, 19 Dec 2018 09:13:51 +0000 (11:13 +0200)]
Don't run branch in branch-release if branch is not given

Change-Id: I033d3bbf3d75330b40f4c3185fa6e1eb968c5936

21 months agoAdd missing relation field when computing hashCode/equals 68/2568/2
jsimomaa [Wed, 19 Dec 2018 06:39:11 +0000 (08:39 +0200)]
Add missing relation field when computing hashCode/equals

gitlab #239

Change-Id: Ie263a1183a2141a9257972698f4d849e181ff723