]> gerrit.simantics Code Review - simantics/platform.git/log
simantics/platform.git
7 years agoMerge "(refs #7567) Added throw function to builtins"
Hannu Niemistö [Fri, 20 Oct 2017 08:53:07 +0000 (11:53 +0300)]
Merge "(refs #7567) Added throw function to builtins"

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

Change-Id: I273e5c85b4a842e0ce4dc1603800742f9fbb6ea5

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

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

refs #7566

Change-Id: I2fd927ef2b65831fa9fc431a7430a2df7ac8ed6d

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

refs #7565

Change-Id: Ibea9155356882beb74e330ec8ed8b03bee3cbb15

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

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

refs #7547

Change-Id: I99cd747639430fa195dafdd1923a3257eb72be43

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

Change-Id: I299d723990673d945e67d46615edf90b55c6e8e6

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

refs #7558

Change-Id: If6ee7826972165584f93e2ee5acc60b1a9286324

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

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

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

Also moved rendering hints to more appropriate class.

refs #7557

Change-Id: If97b08ae82db111858b8350266b446b56114a30b

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

Change-Id: I02da6fe19a96d110bfcd43516c893fea40082cf1

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

Change-Id: I52d47de5eb16ce29720fdcf346356d5940dbf403

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

Change-Id: I4c8af1bf5cfef9ab7d65e06d95a7fa139b92eab9

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

refs #7556

Change-Id: I4c217d20cc1b96357276e72c59a228120ec5a607

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

refs #7555

Change-Id: I6ebd46e449f0cd165b9c2b49a95ddb9a62d63d15

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

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

refs #7554

Change-Id: I2867eddb69addba7f24b7c5d1bd4825c94f7aa75

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

Also protect against a potential NPE in
IndexedRelationsSearcherBase.initializeIndexImpl.

refs #7553

Change-Id: I516eecfa758b532b824693e9c6a2449a18a65a69

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

refs #7552

Change-Id: I107e25931fecc922b73586b97ce9be1cda4ecb7a

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

refs #7551

Change-Id: I2844c5d53a365d2f69aee169772e97e09dbda815

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

refs #7549

Change-Id: Iaaccb4eb6b127753b2f0fed261fef6e0e3821cff

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

refs #7550

Change-Id: Id2a86fae1c5b98e5cb740b2b09258dfeb2735034

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

refs #7547

Change-Id: I3cf58e84c05d2ea220bc41a47956c7c56142dca0

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

fixes #7546

Change-Id: Icf6121c4d9792fc32b155bc2f68549e615970b7e

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

refs #7545

Change-Id: I921a8f43129cb9710f6c5db0842c174ee802ab81

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

refs #7544

Change-Id: Id9ba7f7d698b3a98b44cae80173fb686971658c0

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

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

refs #7543

Change-Id: Id0720a95bdc912043c2ecebe69ca7192098731ee

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

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

refs #7396

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

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

refs #7542

Change-Id: I00d3df96eab2aedc690beb58551b4a71d537ad2c

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

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

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

refs #7542

Change-Id: I2d5c50f0eaca55b907a0233c9e405e12a91aa336

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

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

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

Change-Id: I61eac59be8891aabc00e0142f6ef812c6ddba922

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

Change-Id: I37c9a0e09ef436f29a5fcd92d7f10f14671059c0

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

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

refs #7540

Change-Id: Ibd25a6ac59316ad5a4876881a3af43551e740223

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

Use by specifying the JVM argument

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

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

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

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

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

refs #7211

Change-Id: Id67156c65047b429af71e0eab83b31a5d2fd5117

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

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

Change-Id: Ifb647c18fe66904c190ffc3b27ca65e606333435

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

refs #7534

Change-Id: Ia5a28f64d5b9f3cec12642fcacd364db8e14db3a

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

refs #7533

Change-Id: I2b1ff40aa64fbb10d215641962866dad634df472

7 years agoMerge "(refs #7535) Allow only selecting models in the model export"
Tuukka Lehtonen [Mon, 9 Oct 2017 20:28:27 +0000 (23:28 +0300)]
Merge "(refs #7535) Allow only selecting models in the model export"

7 years ago(refs #7535) Allow only selecting models in the model export 88/1088/1
Hannu Niemistö [Mon, 9 Oct 2017 20:14:39 +0000 (23:14 +0300)]
(refs #7535) Allow only selecting models in the model export

Change-Id: I5bf76ab83e9556b9eed580bee3f68dadcdc5f0f0

7 years ago(refs #7532) Changed the context of FunctorM from Functor to FunctorE 85/1085/1
Hannu Niemistö [Mon, 9 Oct 2017 15:31:53 +0000 (18:31 +0300)]
(refs #7532) Changed the context of FunctorM from Functor to FunctorE

Change-Id: I3d4e4d430a79f118d5b69426d02a24ccbbf345ce

7 years agoMerge "(refs #7531) Functions first and last to Prelude"
Hannu Niemistö [Mon, 9 Oct 2017 05:06:20 +0000 (08:06 +0300)]
Merge "(refs #7531) Functions first and last to Prelude"

7 years agoMore robustness fixes for editing of texts inside SVG elements. 83/1083/1
Tuukka Lehtonen [Sat, 7 Oct 2017 20:59:13 +0000 (23:59 +0300)]
More robustness fixes for editing of texts inside SVG elements.

refs #7458

Change-Id: I5cd30ed29229147b2dd1adf3862f1cd2cea99f60

7 years ago(refs #7531) Functions first and last to Prelude 82/1082/1
Hannu Niemistö [Fri, 6 Oct 2017 06:56:59 +0000 (09:56 +0300)]
(refs #7531) Functions first and last to Prelude

Change-Id: Ic8839efc97a619658e570f435c23ac0c1d9b3e18

7 years agoFixed incorrect interaction of EAmbigious and TMetaVar.setRef 79/1079/2
Hannu Niemistö [Thu, 5 Oct 2017 05:21:13 +0000 (08:21 +0300)]
Fixed incorrect interaction of EAmbigious and TMetaVar.setRef

refs #7530

Change-Id: I6b06e164861fd5eaf7dba9377311106133dd775f

7 years agoRemoved interrupt button from SCL Script Output console 78/1078/1
Tuukka Lehtonen [Wed, 4 Oct 2017 20:45:16 +0000 (23:45 +0300)]
Removed interrupt button from SCL Script Output console

The button is useless since it can only support commands executed with
the console's own CommandSession and in this case commands are always
executed with other fresh CommandSessions.

refs #7528

Change-Id: I75091b4664fc055880a6c66ae7ee0737915aa311

7 years agoMade SCL Console font configurable through preferences 77/1077/2
Tuukka Lehtonen [Wed, 4 Oct 2017 20:10:00 +0000 (23:10 +0300)]
Made SCL Console font configurable through preferences

The implementation is in AbstractCommandChannel so it touches all SCL
console, SCL Script Output console included.

The default font is now Courier New-regular-11 which is one size smaller
than before.

refs #7529

Change-Id: I421c3fc299d37c15ea05aa469b7163d4aec66624

7 years agoAdded SCL Script Output console view. 75/1075/3
Tuukka Lehtonen [Wed, 4 Oct 2017 13:09:02 +0000 (16:09 +0300)]
Added SCL Script Output console view.

refs #7528

Change-Id: I2a6230c39ca4f292866125911b2b5c74da6362ff

7 years agoMerge "(refs #7508) Added missing effects in the simplification of EBind"
Hannu Niemistö [Wed, 4 Oct 2017 19:42:19 +0000 (22:42 +0300)]
Merge "(refs #7508) Added missing effects in the simplification of EBind"

7 years ago(refs #7508) Added missing effects in the simplification of EBind 76/1076/1
Hannu Niemistö [Wed, 4 Oct 2017 19:24:31 +0000 (22:24 +0300)]
(refs #7508) Added missing effects in the simplification of EBind

Change-Id: I648db6332ebc7d6501dd07c44271bab0b5ab7857

7 years agoUpdated release engineering instructions for 1.31.0 release. 74/1074/1
Tuukka Lehtonen [Wed, 4 Oct 2017 10:26:31 +0000 (13:26 +0300)]
Updated release engineering instructions for 1.31.0 release.

refs #7396

Change-Id: I7bc6ec740e48407f4fe4495b62a97f6bb67199bc

7 years agoFixed NPE problem from org.simantics.browsing.ui.swt.widgets.Button 73/1073/1
Tuukka Lehtonen [Wed, 4 Oct 2017 10:21:21 +0000 (13:21 +0300)]
Fixed NPE problem from org.simantics.browsing.ui.swt.widgets.Button

Also fixed
org.simatnics.modeling.ui.chart.property.BooleanPropertyFactory to not
return null as Boolean selected.

refs #7527

Change-Id: I5f641141ce23ae214b775ccdf57cf55193491a61

7 years agoMerge "(refs #7526) Allow population of UC to diagram directly"
Tuukka Lehtonen [Wed, 4 Oct 2017 09:30:07 +0000 (12:30 +0300)]
Merge "(refs #7526) Allow population of UC to diagram directly"

7 years ago(refs #7526) Allow population of UC to diagram directly 72/1072/1
Hannu Niemistö [Wed, 4 Oct 2017 09:19:19 +0000 (12:19 +0300)]
(refs #7526) Allow population of UC to diagram directly

Change-Id: I23b480f326107baaf0996e9da8c2670caab0585f

7 years agoOne more dependency for SCL REST server (JAXB annotations) 71/1071/1
jsimomaa [Wed, 4 Oct 2017 07:56:27 +0000 (10:56 +0300)]
One more dependency for SCL REST server (JAXB annotations)

refs #7374

Change-Id: Ic70f7842bde3da2ad5d439efc381a5c15decd9eb

7 years agoAdd missing dependencies for REST server and include to desktop-feature 70/1070/4
jsimomaa [Wed, 4 Oct 2017 05:09:57 +0000 (08:09 +0300)]
Add missing dependencies for REST server and include to desktop-feature

refs #7374

Change-Id: I3c86f071820657d5582bb1240b19db9527497ee3

7 years agoMerge "(refs #7519) Added old constructor back to ConnectionVisuals."
Hannu Niemistö [Tue, 3 Oct 2017 19:08:37 +0000 (22:08 +0300)]
Merge "(refs #7519) Added old constructor back to ConnectionVisuals."

7 years ago(refs #7519) Added old constructor back to ConnectionVisuals. 69/1069/1
Reino Ruusu [Tue, 3 Oct 2017 14:56:08 +0000 (17:56 +0300)]
(refs #7519) Added old constructor back to ConnectionVisuals.

Change-Id: I3eecd6e8cd8099f5c48e4096136e41bcf9670dff

7 years agoAllow special category treatment for any predicate 68/1068/2
Antti Villberg [Mon, 2 Oct 2017 18:24:40 +0000 (21:24 +0300)]
Allow special category treatment for any predicate

refs #7525

Change-Id: I69b3e64d2d01bd7688f689b4f6facab96a87f127

7 years agoSupply SVG text editor with element measurement context 67/1067/3
Antti Villberg [Mon, 2 Oct 2017 13:38:46 +0000 (16:38 +0300)]
Supply SVG text editor with element measurement context

refs #7520

Change-Id: Iea98f28077efb628fee588df4d8cab64906add30

7 years agoMerge "Supply SVG text editor with element measurement context"
Tuukka Lehtonen [Mon, 2 Oct 2017 13:26:19 +0000 (16:26 +0300)]
Merge "Supply SVG text editor with element measurement context"

7 years agoMerge "Adding SCL REST server feature and including to SDK"
Tuukka Lehtonen [Mon, 2 Oct 2017 13:02:14 +0000 (16:02 +0300)]
Merge "Adding SCL REST server feature and including to SDK"

7 years agoAdding SCL REST server feature and including to SDK 66/1066/3
jsimomaa [Mon, 2 Oct 2017 12:11:00 +0000 (15:11 +0300)]
Adding SCL REST server feature and including to SDK

refs #7374

Change-Id: Icca0e7e5cf57004d7400ed8984632f5cca036562

7 years agoSupply SVG text editor with element measurement context 60/1060/7
Antti Villberg [Sun, 1 Oct 2017 17:49:17 +0000 (20:49 +0300)]
Supply SVG text editor with element measurement context

refs #7520

Change-Id: Ie72bc282f98b2545fed14ff6bd55fb10198e0151

7 years agoMerge "(refs #7521) Added FunctionalRelation types to properties in graphfile"
Tuukka Lehtonen [Mon, 2 Oct 2017 10:54:40 +0000 (13:54 +0300)]
Merge "(refs #7521) Added FunctionalRelation types to properties in graphfile"

7 years agoMerge "(refs #7524) Set Refresh automatically as default in SCLConsole"
Tuukka Lehtonen [Mon, 2 Oct 2017 10:54:20 +0000 (13:54 +0300)]
Merge "(refs #7524) Set Refresh automatically as default in SCLConsole"

7 years ago(refs #7521) Added FunctionalRelation types to properties in graphfile 65/1065/1
Hannu Niemistö [Mon, 2 Oct 2017 10:35:22 +0000 (13:35 +0300)]
(refs #7521) Added FunctionalRelation types to properties in graphfile

Change-Id: I7309b87a7c2fa5f9fda4601eb29fb8278371cd9a

7 years ago(refs #7524) Set Refresh automatically as default in SCLConsole 64/1064/1
Hannu Niemistö [Mon, 2 Oct 2017 10:30:17 +0000 (13:30 +0300)]
(refs #7524) Set Refresh automatically as default in SCLConsole

Change-Id: Iddeb05a729d49be1238aa895d5ecc0e17fdb7d53

7 years agoUpdate diagram element graphics when symbol graphics change 63/1063/5
Antti Villberg [Mon, 2 Oct 2017 06:13:12 +0000 (09:13 +0300)]
Update diagram element graphics when symbol graphics change

refs #7523

Change-Id: Ia600c55dbf607a657dee4ad1adb8a02c488205c0

7 years ago(refs #7522) Added isPersistent to Simantics/DB 62/1062/1
Hannu Niemistö [Mon, 2 Oct 2017 05:23:16 +0000 (08:23 +0300)]
(refs #7522) Added isPersistent to Simantics/DB

Change-Id: Ib7e405641d30380d668ed9d618776eca3e15adab

7 years ago(refs #7521) DIA.HasModCount should be functional 61/1061/1
Hannu Niemistö [Mon, 2 Oct 2017 05:22:25 +0000 (08:22 +0300)]
(refs #7521) DIA.HasModCount should be functional

Change-Id: If2bbad3e1c631db5c34137afcdf5e2961e8964d2

7 years ago(refs #7519) Configurable branch point radius 59/1059/1
Hannu Niemistö [Fri, 29 Sep 2017 13:27:01 +0000 (16:27 +0300)]
(refs #7519) Configurable branch point radius

Change-Id: I0fc188f24ef6d9308bef6836595792348a38f603

7 years agoStop click event propagation if something was selected 58/1058/1
Antti Villberg [Fri, 29 Sep 2017 09:30:05 +0000 (12:30 +0300)]
Stop click event propagation if something was selected

refs #7518

Change-Id: I78466af81c8d7215c198293c016ea641707dc3b1

7 years agoFixed event mask of org.simantics.diagram.elements.TextGridNode
Tuukka Lehtonen [Thu, 28 Sep 2017 16:09:10 +0000 (19:09 +0300)]
Fixed event mask of org.simantics.diagram.elements.TextGridNode

In order to function properly TextGridNode needs to listen to MouseMoved
and MouseButtonReleased events, which were missing from the event mask.

refs #7517

Change-Id: I301de9812ab9427a3ef037884c89b7cb4e7b0abe
(cherry picked from commit 7e1c0263ce7496c044e0de710b5db37a749df4f3)

7 years agoMerge "Exclude fully weak relations to external resources in model TG export"
Hannu Niemistö [Thu, 28 Sep 2017 11:23:14 +0000 (14:23 +0300)]
Merge "Exclude fully weak relations to external resources in model TG export"

7 years agoExclude fully weak relations to external resources in model TG export 52/1052/1
Antti Villberg [Thu, 28 Sep 2017 11:13:29 +0000 (14:13 +0300)]
Exclude fully weak relations to external resources in model TG export

refs #7516

Change-Id: I63759780310eab31f3b7f8417c8c48080857bfa9

7 years agoImprovement of index and group implementations and indexGroup(By) 50/1050/1
Hannu Niemistö [Thu, 28 Sep 2017 10:21:29 +0000 (13:21 +0300)]
Improvement of index and group implementations and indexGroup(By)

(refs #7514)

Change-Id: I0c3d6a08f17ba7f9028d0a7df515fec8abd04734

7 years agoIntroduced possibleUriOf for Browsable class in Simantics/DB 46/1046/5
Antti Villberg [Wed, 27 Sep 2017 14:28:14 +0000 (17:28 +0300)]
Introduced possibleUriOf for Browsable class in Simantics/DB

Imported possibleUriOfResource for Browsable Resource implementation.
Browsable Variable uses the same uri implementation for both uriOf and
possibleUriOf since Variables always have a URI.

Also added yet another utility function possiblePredicateByNameFromType
to Simantics/DB.

refs #7512

Change-Id: I2363aed7ed67ba84bd992847187fe8ac6c7b6bce

7 years agoSplash screen for Simantics Desktop product 48/1048/2
Tuukka Lehtonen [Wed, 27 Sep 2017 20:49:07 +0000 (23:49 +0300)]
Splash screen for Simantics Desktop product

refs #7396

Change-Id: Iaed2e3a56b2b0114f62ca75583dd2d047c36b4c1

7 years agoNew type class MonadE and corresponding monad syntax with edo keyword 37/1037/2
Hannu Niemistö [Tue, 26 Sep 2017 11:17:47 +0000 (14:17 +0300)]
New type class MonadE and corresponding monad syntax with edo keyword

Utilizing edo in GShow, also possibleCurrentModel in DB.

refs #7508

Change-Id: I9d1fd551ef61dc7f81f74203bf83017b40dc9664

7 years agoMerge "Allow creation of SCL modules to folders that are also module names"
Tuukka Lehtonen [Tue, 26 Sep 2017 07:33:55 +0000 (10:33 +0300)]
Merge "Allow creation of SCL modules to folders that are also module names"

7 years agoAdded org.eclipse.collections.eclipse-collections-api back to TPD 32/1032/2
Tuukka Lehtonen [Tue, 26 Sep 2017 06:57:24 +0000 (09:57 +0300)]
Added org.eclipse.collections.eclipse-collections-api back to TPD

Without this the implementation plug-in naturally won't resolve.

refs #7358

Change-Id: I9638d8ab3c57091b16a2b8fda601763a6b126dbf

7 years agoAllow creation of SCL modules to folders that are also module names 30/1030/1
Hannu Niemistö [Mon, 25 Sep 2017 13:34:25 +0000 (16:34 +0300)]
Allow creation of SCL modules to folders that are also module names

refs #7507

Change-Id: I5c1cc4686aad8b125a5d9debc70eb6376805f3a4

7 years ago(refs #7506) Added >=> operator to Prelude 29/1029/1
Hannu Niemistö [Mon, 25 Sep 2017 13:05:39 +0000 (16:05 +0300)]
(refs #7506) Added >=> operator to Prelude

Change-Id: I4e395bd3d2bc2f49741e66dab3bf9175cfb1bc9a

7 years agoAdded MMap.getOrCreate 18/1018/1
Hannu Niemistö [Mon, 25 Sep 2017 09:41:03 +0000 (12:41 +0300)]
Added MMap.getOrCreate

refs #7503

Change-Id: Ibc03b5c51365e4d5c2d2250fbf7265adc298a84a

7 years agoRobustness fixes for inline SVG text editing on diagrams 11/1011/4
Tuukka Lehtonen [Fri, 22 Sep 2017 06:31:55 +0000 (09:31 +0300)]
Robustness fixes for inline SVG text editing on diagrams

This fixes the code to not assume during scene graph rendering that the
canvas context is hosted by an AWTChassis.

refs #7458

Change-Id: Ibb9955424784a1d3c2069d6a668559d95d88b181

7 years agoMerge "Dirty hack to get CHR ruleset resolved before functions using them"
Hannu Niemistö [Fri, 22 Sep 2017 09:46:10 +0000 (12:46 +0300)]
Merge "Dirty hack to get CHR ruleset resolved before functions using them"

7 years agoDirty hack to get CHR ruleset resolved before functions using them 15/1015/2
Hannu Niemistö [Fri, 22 Sep 2017 08:04:48 +0000 (11:04 +0300)]
Dirty hack to get CHR ruleset resolved before functions using them

refs #7500

Change-Id: I2a0c64c2ee8bb6698d36ee3682f29e42201c96a5

7 years agoAdding system property support for starting SCL REST server on startup 14/1014/2
jsimomaa [Fri, 22 Sep 2017 07:30:52 +0000 (10:30 +0300)]
Adding system property support for starting SCL REST server on startup

refs #7374

Change-Id: I4d961a547ccf5101fd36846c4deddda4c20048b9

7 years agoImprove joinWithSeparator and intercalate documentation 10/1010/2
Tuukka Lehtonen [Thu, 21 Sep 2017 12:25:25 +0000 (15:25 +0300)]
Improve joinWithSeparator and intercalate documentation

refs #7490

Change-Id: Iaf856a02d806b4f1bcdc0b56c5724fbcd620dbca

7 years ago(refs #7498) Bugfixing implementation of skeleton refs 07/1007/1
Hannu Niemistö [Wed, 20 Sep 2017 15:29:53 +0000 (18:29 +0300)]
(refs #7498) Bugfixing implementation of skeleton refs

Change-Id: If396a5e40fdcb08ce0911115ac44fb516fc2bea7

7 years agoImproved exception information and logging in PlatformUtil.getGraph() 03/1003/4
jsimomaa [Wed, 20 Sep 2017 03:49:07 +0000 (06:49 +0300)]
Improved exception information and logging in PlatformUtil.getGraph()

* Wrap all Exceptions that may occur during execution
* Log and rethrow any Errors thrown to be able to trace startup errors
  in case of malformed graph.tg inputs

refs #7496

Change-Id: I3cd46f68ba389935ffb795e1b4bfc081d9ee5e75

7 years agoAdded cleaner rendering hint to decide text rendering mode: text/paths 92/992/2
Tuukka Lehtonen [Tue, 19 Sep 2017 06:50:05 +0000 (09:50 +0300)]
Added cleaner rendering hint to decide text rendering mode: text/paths

refs #7491

Change-Id: I0c22413f149b25fcfc16cde2c2f7279a9e0eaa55

7 years agoAdd undocumented functions in Prelude.scl to Prelude.md 91/991/4
Tuukka Lehtonen [Tue, 19 Sep 2017 06:35:22 +0000 (09:35 +0300)]
Add undocumented functions in Prelude.scl to Prelude.md

refs #7490

Change-Id: I4fef578b2880098755274f5078782db4d0dc0940

7 years ago(refs #7489) Added replicate function to Prelude 83/983/1
Hannu Niemistö [Mon, 18 Sep 2017 11:23:53 +0000 (14:23 +0300)]
(refs #7489) Added replicate function to Prelude

Also removed a debug print from OpenDeclaration.

Change-Id: I9fff24e82183dfee46354800f277ab1987bb5d09

7 years agoChange logback.xml ROOT log level to INFO and org.simantics* to DEBUG 78/978/2
jsimomaa [Mon, 18 Sep 2017 05:37:15 +0000 (08:37 +0300)]
Change logback.xml ROOT log level to INFO and org.simantics* to DEBUG

Add additivity="false" to not avoid duplicate logging

refs #7488

Change-Id: Ic7333bf6b6b36e554f4d43a21ba92826acd3eb86

7 years agoAdd qualifier for SLF4J version to force update of JAR in TP 66/966/2
jsimomaa [Wed, 13 Sep 2017 06:25:32 +0000 (09:25 +0300)]
Add qualifier for SLF4J version to force update of JAR in TP

Update target platform

refs #7474

Change-Id: Ied12f9d131a5605b03ced6ae7061186ea96b7fc3