]> gerrit.simantics Code Review - simantics/platform.git/log
simantics/platform.git
7 years agoUpdate jsoup version to 1.8.3 44/844/2
jsimomaa [Mon, 14 Aug 2017 14:24:23 +0000 (17:24 +0300)]
Update jsoup version to 1.8.3

refs #7429

Change-Id: Ia7278c59695bbfa22b2659e2543ab7db0e2b3120

7 years agoMerge "(refs #7428) Added predicatesOf function to Simantics/DB"
Tuukka Lehtonen [Mon, 14 Aug 2017 12:41:22 +0000 (15:41 +0300)]
Merge "(refs #7428) Added predicatesOf function to Simantics/DB"

7 years agoMerge "Removed unnecessary oxygen-specific feature"
Tuukka Lehtonen [Mon, 14 Aug 2017 12:39:42 +0000 (15:39 +0300)]
Merge "Removed unnecessary oxygen-specific feature"

7 years agoRemoved unnecessary oxygen-specific feature 40/840/2
Miro Richard Eklund [Mon, 14 Aug 2017 12:06:40 +0000 (15:06 +0300)]
Removed unnecessary oxygen-specific feature

org.simantics.desktop.product.oxygen.feature is no longer needed, as
every plugin it includes is already included by other features in the
base "org.simantics.desktop.product.feature".

Amend: Updated pom.xml

(refs #7358)

Change-Id: I25ebe7153cd5ca683908311d04b38eb73a5b6c02

7 years ago(refs #7428) Added predicatesOf function to Simantics/DB 38/838/2
Hannu Niemistö [Mon, 14 Aug 2017 11:46:28 +0000 (14:46 +0300)]
(refs #7428) Added predicatesOf function to Simantics/DB

Change-Id: I77e4962373d9fbea81fab37fd5b59ee434133eb3

7 years ago(refs #7427) Correct error markings for import errors in SCL editor 37/837/1
Hannu Niemistö [Mon, 14 Aug 2017 07:48:48 +0000 (10:48 +0300)]
(refs #7427) Correct error markings for import errors in SCL editor

Change-Id: I6562648117392aaa670964a629a4154a3707d2a6

7 years agoFix target platform for SCL REST API 35/835/1
jsimomaa [Mon, 14 Aug 2017 06:04:08 +0000 (09:04 +0300)]
Fix target platform for SCL REST API

Include javax.servlet and required Jersey dependencies to target
platform

refs #7374

Change-Id: I4f63583ad0ffa168586106dd5592bf8c67f7e633

7 years agoFix target platform for SCL REST API 34/834/1
jsimomaa [Mon, 14 Aug 2017 05:54:55 +0000 (08:54 +0300)]
Fix target platform for SCL REST API

Include javax.servlet and required Jersey dependencies to target
platform

refs #7374

Change-Id: I9291db6bb01f12fa45d733457df9f05d489dffee

7 years agoSCLProgressMonitor implements IProgressMonitor 33/833/1
jsimomaa [Mon, 14 Aug 2017 03:55:32 +0000 (06:55 +0300)]
SCLProgressMonitor implements IProgressMonitor

refs #7426

Change-Id: I17975178e3627db2ba623edc22cf938e4df9c9b8

7 years agoAdd org.eclipse.userstorage to desktop feature 30/830/2
Antti Villberg [Fri, 11 Aug 2017 14:44:25 +0000 (17:44 +0300)]
Add org.eclipse.userstorage to desktop feature

refs #7423

Change-Id: I172e0f49bde77e62e5bdbff0c6989d2eba67f7e8

7 years agoAmendment to commit 373affcc 29/829/1
Tuukka Lehtonen [Thu, 10 Aug 2017 15:56:33 +0000 (18:56 +0300)]
Amendment to commit 373affcc

Also remove <this> parameter from org.simantics.diagram/adapters.xml now
that the constructor is gone.

refs #7416

Change-Id: I615d911268124dd3f8a61e7b76c9146c5894bcfe

7 years agoAdded missing org.eclipse.ui.intro.quicklinks to os.ui.workbench feature 28/828/1
Tuukka Lehtonen [Thu, 10 Aug 2017 15:54:16 +0000 (18:54 +0300)]
Added missing org.eclipse.ui.intro.quicklinks to os.ui.workbench feature

This is now required thanks to Eclipse 4.7 Oxygen.

refs #7358

Change-Id: Iffc73274004a596da5a76b613745dcd99d8a13bb

7 years agoModelImportWizard.doImport does not import the model to specified target 21/821/2
Jussi Koskela [Wed, 9 Aug 2017 10:00:35 +0000 (13:00 +0300)]
ModelImportWizard.doImport does not import the model to specified target

When triggered from the UI the target should always be the project
resource. Otherwise any target resource should be accepted.
DefaultPasteImportAdvisor must be used instead of the
ModelImportAdvisor, since ModelImportAdvisor always replaces the target
with the project resource (to support copy-pasting of models in UI).

refs #7418

Change-Id: I1b7eaef30ab32154319822c0615b9ab96a3f70b6

7 years agoExport org.simantics.modeling.ui.sharedontology.wizard package 20/820/2
Jussi Koskela [Wed, 9 Aug 2017 09:59:28 +0000 (12:59 +0300)]
Export org.simantics.modeling.ui.sharedontology.wizard package

Allow external access to wizards.

refs #7419

Change-Id: I9669a8eea7495003816c0d001a4b0e75e871ac88

7 years agoDiagram to SVG to support selection cycling 26/826/2
Antti Villberg [Thu, 10 Aug 2017 07:44:27 +0000 (10:44 +0300)]
Diagram to SVG to support selection cycling

refs #7421

Change-Id: I0d9a0d54b38595d946e8f599136a59a3eff8e429

7 years agoMore type information for diagram elements 25/825/2
Antti Villberg [Thu, 10 Aug 2017 07:32:41 +0000 (10:32 +0300)]
More type information for diagram elements

refs #7420

Change-Id: Iab051ea3f367f6d421e2ae88d2290af35314a454

7 years agoRemoved useless constructor from class GraphLayerUtil 16/816/2
Tuukka Lehtonen [Tue, 8 Aug 2017 14:19:11 +0000 (17:19 +0300)]
Removed useless constructor from class GraphLayerUtil

refs #7416

Change-Id: I081e20d3bc6fc9ceb32af8b04dd9d48db894ca8a

7 years agoBumped Simantics Desktop product version to 1.31.0 27/827/1
Tuukka Lehtonen [Thu, 10 Aug 2017 12:49:21 +0000 (15:49 +0300)]
Bumped Simantics Desktop product version to 1.31.0

refs #7396

Change-Id: I32855cfb2329d9d5fc65543dccb84ec74a42a1ba

7 years agoWorking to get full platform to build working on linux
Tuukka Lehtonen [Thu, 10 Aug 2017 12:34:46 +0000 (15:34 +0300)]
Working to get full platform to build working on linux

Moved org.simantics.editors.win32 plugin and the feature newly created
to include it (org.simantics.editors.win32.feature) under the maven
<profile> called win32. So org.simantics.editors.win32 is no longer
included in org.simantics.ui.workbench feature and to build it,
-P win32 needs to be specified to maven.

refs #7358

7 years agoFixed mvn package and verify to also work with linux (+mac?)
Tuukka Lehtonen [Thu, 10 Aug 2017 10:35:14 +0000 (13:35 +0300)]
Fixed mvn package and verify to also work with linux (+mac?)

Added settings.xml file to root that contains credentials for Maven
to download the Simantics maven graph-compiler plugin.

refs #7358

7 years agoFix org.simantics.sdk.source.features to 1.31.0 24/824/1
Miro Richard Eklund [Wed, 9 Aug 2017 14:27:55 +0000 (17:27 +0300)]
Fix org.simantics.sdk.source.features to 1.31.0

During merge they stayed as 1.30.0 but should be 1.31.0.

Change-Id: Ibafb57322fe8ad813823cfd0b0808280ca41c732

7 years agoUpdate locations to use mirror-locations 22/822/4
Miro Richard Eklund [Wed, 9 Aug 2017 13:14:13 +0000 (16:14 +0300)]
Update locations to use mirror-locations

Mirror-locations are now used rather than eclipse's download site.

Before merge to master, update the locations to use /master/ rather than
/private/eclipse-4.7/.

Amend: Updated private/eclipse-4.7 to master

refs #7358

Change-Id: I62c8eb2f06cf79a5759d21da3a51a0db1dca3c16

7 years agoMerge branch 'master' into private/eclipse-4.7 19/819/5
Miro Richard Eklund [Wed, 9 Aug 2017 06:53:38 +0000 (09:53 +0300)]
Merge branch 'master' into private/eclipse-4.7

Resolved Conflicts:
releng/org.simantics.sdk.build.targetdefinition/simantics.target

refs #7358

Change-Id: Idefea4e4c60de59664904bdd0a2a0a517af8db4c

7 years agoOptimized EntityInstances and ModelingUtils.search*Shallow queries 15/815/1
Tuukka Lehtonen [Mon, 7 Aug 2017 15:05:35 +0000 (18:05 +0300)]
Optimized EntityInstances and ModelingUtils.search*Shallow queries

Shallow queries were previously doing tons of useless queries into
dependent ontologies which would have been filtered out anyway. Also
EntityInstances.QueryIndex.perform now optimizes two corner cases:
* only one search result which is usual for GUID searches
* removal of Types:*Entity filter term which is useless because all
  instances are entities.

refs #7415

Change-Id: I89b9495ea51ca8fba4bd40db113c91f4a12932d0

7 years agoMerge "Improvements to resolving primitive properties in document server"
Tuukka Lehtonen [Mon, 7 Aug 2017 09:38:19 +0000 (12:38 +0300)]
Merge "Improvements to resolving primitive properties in document server"

7 years ago(refs #7414) Added Dynamic constructor 14/814/1
Hannu Niemistö [Mon, 7 Aug 2017 08:08:39 +0000 (11:08 +0300)]
(refs #7414) Added Dynamic constructor

Change-Id: I64bd802966ac2f44b88b1b6d87518a730a0a6203

7 years agoMerge "Redirect document commandRelation and commandExecutorRelation terminals"
Tuukka Lehtonen [Mon, 7 Aug 2017 05:24:00 +0000 (08:24 +0300)]
Merge "Redirect document commandRelation and commandExecutorRelation terminals"

7 years agoImprovements to resolving primitive properties in document server 98/798/3
Jussi Koskela [Wed, 2 Aug 2017 11:38:23 +0000 (14:38 +0300)]
Improvements to resolving primitive properties in document server

Catch and report property value evaluation exceptions, fixed typo in
dataDefinitions reading, always initialize property map, improved error
message formatting.

refs #7405
Change-Id: I4ba78bb0b91b05e1f04a65f4dc92fcfe06620f60

7 years agoFixed RVI.fromResourceFormat GUID RVI part parsing
Tuukka Lehtonen [Sat, 5 Aug 2017 08:56:17 +0000 (11:56 +0300)]
Fixed RVI.fromResourceFormat GUID RVI part parsing

The code was skipping over the first character of GUID RVI parts
producing invalid RVIs. This again resulted in the creation of invalid
subscriptions etc.

refs #7413

Change-Id: I755b79ca352355789846b2ff49858b757fea9c63
(cherry picked from commit 1051b77973cc1ff7363798f1fed018ddc356dc1d)

7 years agoMerge "Added Simantics/Diagram#diagramsUnder to complement diagramsOf"
Tuukka Lehtonen [Sat, 5 Aug 2017 00:46:46 +0000 (03:46 +0300)]
Merge "Added Simantics/Diagram#diagramsUnder to complement diagramsOf"

7 years agoAdded Simantics/Diagram#diagramsUnder to complement diagramsOf 09/809/1
Tuukka Lehtonen [Fri, 4 Aug 2017 21:31:43 +0000 (00:31 +0300)]
Added Simantics/Diagram#diagramsUnder to complement diagramsOf

refs #7410

Change-Id: Iab18ab1bf44e96decbc14de2a5289b51feca387f
(cherry picked from commit 159f9e3b618521c76a9dc6c8ffd94a7a3c35b82a)

7 years agoFixed CommandContextImpl.merge to not duplicate same values in result 07/807/1
Tuukka Lehtonen [Fri, 4 Aug 2017 20:52:31 +0000 (23:52 +0300)]
Fixed CommandContextImpl.merge to not duplicate same values in result

According to Antti this was a known and very old problem that should now
finally be resolved.

refs #7409

Change-Id: I0ab43d7136fca3f3333a81751fc86e0da7085a26
(cherry picked from commit c09116b855b4bb4a377be1c573ddbb5d755c0bc1)

7 years agoRedirect document commandRelation and commandExecutorRelation terminals 06/806/1
Tuukka Lehtonen [Fri, 4 Aug 2017 21:51:16 +0000 (00:51 +0300)]
Redirect document commandRelation and commandExecutorRelation terminals

Previously they were modelled as inputs, now they are outputs like they
IMHO should be.

refs #7411

Change-Id: I42529a9969adf49ef314118fae16067821638c5e

7 years agoEXPERIMENT_STATE_READ needs to be triggered on state change 00/800/2
Antti Villberg [Thu, 3 Aug 2017 06:57:36 +0000 (09:57 +0300)]
EXPERIMENT_STATE_READ needs to be triggered on state change

refs #7407

Change-Id: I3ea065b9b822980a183048de910714cbf9321716

7 years agoMerge "PropertyMap.get does not return null if there is no mapping for the key"
Hannu Niemistö [Thu, 3 Aug 2017 06:48:31 +0000 (09:48 +0300)]
Merge "PropertyMap.get does not return null if there is no mapping for the key"

7 years agoPropertyMap.get does not return null if there is no mapping for the key 96/796/2
Jussi Koskela [Wed, 2 Aug 2017 10:23:34 +0000 (13:23 +0300)]
PropertyMap.get does not return null if there is no mapping for the key

This is against the Map interface specification.

refs #7403
Change-Id: I3235b823f670f09b372febb6746a3c3209cdc30c

7 years ago(refs #7404) Fixed a typo in the error message. 97/797/1
Hannu Niemistö [Wed, 2 Aug 2017 11:19:35 +0000 (14:19 +0300)]
(refs #7404) Fixed a typo in the error message.

Change-Id: Id7e134d8c8648e40ddc440257888e067e083451a

7 years agoFixed an error with recursive definition that is not exported or used 93/793/1
Hannu Niemistö [Wed, 2 Aug 2017 09:36:35 +0000 (12:36 +0300)]
Fixed an error with recursive definition that is not exported or used

refs #7402

Change-Id: Ic0a6263df965117eab72f1495dfdafb68135ce9d

7 years agoSafer URI unescaping for CSVFormatter subscription CSV exporter 88/788/1
Tuukka Lehtonen [Wed, 2 Aug 2017 07:16:26 +0000 (10:16 +0300)]
Safer URI unescaping for CSVFormatter subscription CSV exporter

refs #7401

Change-Id: I9d2da9b6725a457abf62020870bdf5759350a079

7 years agoBumped master target and org.simantics.sdk feature versions to 1.31.0.
Tuukka Lehtonen [Tue, 1 Aug 2017 14:54:39 +0000 (17:54 +0300)]
Bumped master target and org.simantics.sdk feature versions to 1.31.0.

refs #7396

7 years agoMerge "(refs #7371) Support expression cloning for ECHRSelect"
Hannu Niemistö [Tue, 1 Aug 2017 14:45:59 +0000 (17:45 +0300)]
Merge "(refs #7371) Support expression cloning for ECHRSelect"

7 years agoPrevent unnecessary exception logging in DescriptionTooltipRule 85/785/2
Tuukka Lehtonen [Tue, 1 Aug 2017 11:52:19 +0000 (14:52 +0300)]
Prevent unnecessary exception logging in DescriptionTooltipRule

refs #7393

Change-Id: Ifd473d11d0987f112c2bf616f2619d05cdf7c055

7 years agoCopy URI context menu action to Model Browser for development mode 31/731/4
jsimomaa [Thu, 20 Jul 2017 05:10:21 +0000 (08:10 +0300)]
Copy URI context menu action to Model Browser for development mode

The contribution is only visible if -dev argument has been specified,
i.e. org.eclipse.core.runtime.Platform.inDevelopmentMode() returns true.

It is also visible only when the input object is either a Resource or a
Variable.

refs #7372

Change-Id: Ie0a798f76a314da30cfd4023bb92f68ececd9f2a

7 years agoMerge "Improve PrettyPrintTG performance"
Tuukka Lehtonen [Tue, 1 Aug 2017 10:10:07 +0000 (13:10 +0300)]
Merge "Improve PrettyPrintTG performance"

7 years agoRelease engineering doc now reflects simupedia git move.
Tuukka Lehtonen [Tue, 1 Aug 2017 10:08:32 +0000 (13:08 +0300)]
Release engineering doc now reflects simupedia git move.

refs #7263

7 years agoImprove PrettyPrintTG performance 65/765/2
jsimomaa [Wed, 26 Jul 2017 06:40:35 +0000 (09:40 +0300)]
Improve PrettyPrintTG performance

refs #7383

Change-Id: I4c372679d1049d87a0c8c06ec18228ab826e1510

7 years agoFail safe import fixes made by Antti 17/717/3
jsimomaa [Mon, 17 Jul 2017 07:02:14 +0000 (10:02 +0300)]
Fail safe import fixes made by Antti

Fail safe import & pretty print fixes made by Antti and patch received
from Jussi

refs #7350 refs #7308 refs #7309

Change-Id: I63497ae3ac23f6cff579268e17e501b1647a74f3

7 years ago(refs #7371) Support expression cloning for ECHRSelect 84/784/2
Hannu Niemistö [Mon, 31 Jul 2017 15:12:18 +0000 (18:12 +0300)]
(refs #7371) Support expression cloning for ECHRSelect

Change-Id: Ie4ea77e03eccc3f59b7c0e27e0528527826df9e4

7 years agoIgnore multiple modelled tests via context menu action 64/764/2
jsimomaa [Wed, 26 Jul 2017 06:26:25 +0000 (09:26 +0300)]
Ignore multiple modelled tests via context menu action

refs #7382

Change-Id: I8e6c5abddd51a75fad027283c3bc845817b634bd

7 years agoMerge "LabelDecorator.decorateLabel can return null"
Hannu Niemistö [Mon, 31 Jul 2017 06:29:21 +0000 (09:29 +0300)]
Merge "LabelDecorator.decorateLabel can return null"

7 years agoIssue context modelling enhancements 83/783/1
Antti Villberg [Mon, 31 Jul 2017 05:26:45 +0000 (08:26 +0300)]
Issue context modelling enhancements

refs #7391

Change-Id: Ib1ecb5f161cf85487ee5b6ff43f5640b645ca600

7 years agoConfigurability for Layer0 List modelling 82/782/1
Antti Villberg [Mon, 31 Jul 2017 05:25:41 +0000 (08:25 +0300)]
Configurability for Layer0 List modelling

refs #7390

Change-Id: Iaa0409642364c5e75de4b1bdac1efb281150a06a

7 years agoOpen diagram from issue 67/767/2
xsimomjan [Wed, 26 Jul 2017 10:42:20 +0000 (13:42 +0300)]
Open diagram from issue

refs #7385

Change-Id: I23b599ec2708146c7de19186576d5a0e8d80fc56

7 years agoMerge "JsonNode support with Data/Json"
Hannu Niemistö [Fri, 28 Jul 2017 10:00:11 +0000 (13:00 +0300)]
Merge "JsonNode support with Data/Json"

7 years agoJsonNode support with Data/Json 71/771/1
Antti Villberg [Thu, 27 Jul 2017 11:57:17 +0000 (14:57 +0300)]
JsonNode support with Data/Json

refs #7388

Change-Id: I602fd4a3ca3dfa8aac2eb873d4dbce79698b612f

7 years ago(refs #7386) Minor SCL tools improvements 68/768/3
Hannu Niemistö [Wed, 26 Jul 2017 11:10:42 +0000 (14:10 +0300)]
(refs #7386) Minor SCL tools improvements

* A new error type for failed imports that are shown only after other
errors and have their own icon
* Definition location for data type constructors
* Improved content assist for nested namespaces

Change-Id: Ie2a32f755a2487d8d969bb10c927b39e4d304165

7 years agoMerge "(refs #7384) Added SetUtils module with Set.fromList and Set.toList"
Hannu Niemistö [Wed, 26 Jul 2017 11:16:58 +0000 (14:16 +0300)]
Merge "(refs #7384) Added SetUtils module with Set.fromList and Set.toList"

7 years ago(refs #7384) Added SetUtils module with Set.fromList and Set.toList 66/766/1
Hannu Niemistö [Wed, 26 Jul 2017 07:20:08 +0000 (10:20 +0300)]
(refs #7384) Added SetUtils module with Set.fromList and Set.toList

Change-Id: I25e9808539a2093af62a686a9c3dd1332d3d7abf

7 years agoCombination of Simantics-platform related changes and fixes for district 47/747/5
jsimomaa [Fri, 5 May 2017 04:31:32 +0000 (07:31 +0300)]
Combination of Simantics-platform related changes and fixes for district

Some platform changes for district

Change-Id: Ib7aa44432f3e468ca11542debf33191b8403c742

Some more fixes to platform for district

Change-Id: Ifd718c20d5a98806e93c365b45ce3bdd003b4118

7 years ago(refs #7375) export visitors package 63/763/1
jsimomaa [Tue, 25 Jul 2017 17:52:40 +0000 (20:52 +0300)]
(refs #7375) export visitors package

Change-Id: Ic3e4199f2e3b0a657c57b62b43077319fd6a9717

7 years agoTreeGridWidget improvements 62/762/2
Antti Villberg [Tue, 25 Jul 2017 13:13:25 +0000 (16:13 +0300)]
TreeGridWidget improvements

refs #7381

Change-Id: I79a2650fef07142cc95c6bd31e901e062baeba75

7 years agoisImmutable can NPE 58/758/2
Antti Villberg [Mon, 24 Jul 2017 12:54:19 +0000 (15:54 +0300)]
isImmutable can NPE

refs #7380

Change-Id: I8b1eac67b58664f0986dfeea5315f791721d8393

7 years ago(refs #7375) Fixed implementation of collectEffects 59/759/1
Hannu Niemistö [Mon, 24 Jul 2017 14:36:55 +0000 (17:36 +0300)]
(refs #7375) Fixed implementation of collectEffects

Change-Id: I25ebbb6b35e8d1828f36da5c55de8763364c8dd3

7 years ago(refs #7375) Replaced collectVars method by a visitor 56/756/1
Hannu Niemistö [Mon, 24 Jul 2017 12:08:41 +0000 (15:08 +0300)]
(refs #7375) Replaced collectVars method by a visitor

Change-Id: I4838702fadeca47449433693dae9630d5cac895d

7 years ago(refs #7375) Replaced collectFreeVariables method by a visitor 55/755/2
Hannu Niemistö [Mon, 24 Jul 2017 11:19:26 +0000 (14:19 +0300)]
(refs #7375) Replaced collectFreeVariables method by a visitor

Change-Id: I89817b8a075d6261b351fbbd70c40d9f9ccc59cc

7 years agoMerge "(refs #7375) Replaced collectEffects by CollectEffectsVisitor"
Hannu Niemistö [Mon, 24 Jul 2017 10:52:26 +0000 (13:52 +0300)]
Merge "(refs #7375) Replaced collectEffects by CollectEffectsVisitor"

7 years agoPreventing unnecessary ModuleSource compilation in SCL-editor 48/748/3
jsimomaa [Sun, 23 Jul 2017 15:39:38 +0000 (18:39 +0300)]
Preventing unnecessary ModuleSource compilation in SCL-editor

Current toTextualModuleSource() is called quite extensively when
isModifiable() is called. The module source can be cached as the input
of the editor does not tend to change

refs #7369

Change-Id: I671af197750301f8bffbb9624f58c5bab656e08b

7 years ago(refs #7375) Replaced collectEffects by CollectEffectsVisitor 53/753/1
Hannu Niemistö [Mon, 24 Jul 2017 10:02:04 +0000 (13:02 +0300)]
(refs #7375) Replaced collectEffects by CollectEffectsVisitor

Change-Id: I41b489ad872140bf7a0f0a83714a50431b48c3a6

7 years agoMerge "possibleVariable into Simantics/Variables"
Hannu Niemistö [Mon, 24 Jul 2017 10:01:47 +0000 (13:01 +0300)]
Merge "possibleVariable into Simantics/Variables"

7 years agopossibleVariable into Simantics/Variables 52/752/1
Antti Villberg [Mon, 24 Jul 2017 09:45:09 +0000 (12:45 +0300)]
possibleVariable into Simantics/Variables

#7379

Change-Id: I2fdfb4ed186f08262d0f220f112a29f0f825c401

7 years agoMerge "(refs #7375) Replace collectRefs by CollectRefsVisitor"
Hannu Niemistö [Mon, 24 Jul 2017 09:08:59 +0000 (12:08 +0300)]
Merge "(refs #7375) Replace collectRefs by CollectRefsVisitor"

7 years ago(refs #7375) Replace collectRefs by CollectRefsVisitor 51/751/1
Hannu Niemistö [Mon, 24 Jul 2017 08:15:12 +0000 (11:15 +0300)]
(refs #7375) Replace collectRefs by CollectRefsVisitor

Change-Id: I77bf548a062bb365f43284778845678fb50341d5

7 years agoMerge "(refs #7375) Replaced forVariables by a visitor"
Hannu Niemistö [Mon, 24 Jul 2017 07:53:07 +0000 (10:53 +0300)]
Merge "(refs #7375) Replaced forVariables by a visitor"

7 years ago(refs #7375) Replaced forVariables by a visitor 50/750/1
Hannu Niemistö [Mon, 24 Jul 2017 07:34:38 +0000 (10:34 +0300)]
(refs #7375) Replaced forVariables by a visitor

Change-Id: I5737e75491a1341711f89fbcf9749ee88d953c92

7 years agoUse single SCLOsgi.MODULE_REPOSITORY for ModelledSTSTest.run() 49/749/1
jsimomaa [Mon, 24 Jul 2017 06:56:44 +0000 (09:56 +0300)]
Use single SCLOsgi.MODULE_REPOSITORY for ModelledSTSTest.run()

refs #7378

Change-Id: Ib4a2b38cad5dbb275c2bdc69e89879878da72605

7 years agoBuiltins and JavaModule SCL modules may leak memory 35/735/4
jsimomaa [Thu, 20 Jul 2017 13:17:36 +0000 (16:17 +0300)]
Builtins and JavaModule SCL modules may leak memory

Still needs a better fix though

refs #7352

Change-Id: I9206376349bedf4a92763094b2859230dbf69f77

7 years agoMerge "CHR query translation and support for assignment in CHR bodies"
Hannu Niemistö [Sat, 22 Jul 2017 20:39:41 +0000 (23:39 +0300)]
Merge "CHR query translation and support for assignment in CHR bodies"

7 years agoSet sonar project version to 1.30.
Tuukka Lehtonen [Fri, 21 Jul 2017 21:07:38 +0000 (00:07 +0300)]
Set sonar project version to 1.30.

7 years agoCHR query translation and support for assignment in CHR bodies 43/743/1
Hannu Niemistö [Fri, 21 Jul 2017 13:22:19 +0000 (16:22 +0300)]
CHR query translation and support for assignment in CHR bodies

refs #7377

Change-Id: Ia9adf1cf52670c7a5de50210d7c155ff8bc4bf8d

7 years ago(refs #7377) Refactoring CHR query parsing
Hannu Niemistö [Fri, 21 Jul 2017 11:06:25 +0000 (14:06 +0300)]
(refs #7377) Refactoring CHR query parsing

Change-Id: Ia0e2e4589180505c02fabeb5b1dd2267825e3255

7 years ago(refs #7358) Updated .tpd files for simantics oxygen 38/738/3
Miro Richard Eklund [Fri, 21 Jul 2017 08:10:11 +0000 (11:10 +0300)]
(refs #7358) Updated .tpd files for simantics oxygen

The .tpd files are target platform definition file that generate
valid .target file.
Github:
https://github.com/mbarbero/fr.obeo.releng.targetplatform

Change-Id: Id7969173e5a04a89ab8b99329d38222f9170a59d

7 years ago(refs #7375) Replaced ExpressionDecorator by ExpressionTransformer 37/737/1
Hannu Niemistö [Fri, 21 Jul 2017 08:00:46 +0000 (11:00 +0300)]
(refs #7375) Replaced ExpressionDecorator by ExpressionTransformer

Change-Id: I4396a632a63902afd38065834d9c96c159bba9c1

7 years agoSCL REST API server 34/734/6
jsimomaa [Thu, 20 Jul 2017 11:59:19 +0000 (14:59 +0300)]
SCL REST API server

refs #7374

Change-Id: I24cf990d717cdc6bb3fc5bc44d4afdd39aade864

7 years agoChange default "Eclipse Launcher" shell title from workspace launcher 22/722/2
jsimomaa [Tue, 18 Jul 2017 10:51:43 +0000 (13:51 +0300)]
Change default "Eclipse Launcher" shell title from workspace launcher

refs #7358

Change-Id: I4919b533cb980dd6730fa7915507ddaac2cafab4

7 years ago(refs #7358) Mars to Oxygen updates 28/728/7
Miro Richard Eklund [Wed, 19 Jul 2017 11:58:56 +0000 (14:58 +0300)]
(refs #7358) Mars to Oxygen updates

+Removed org.eclipse.epp.mpc feature from simantics.desktop
and sdk, as the latest version contained unwanted
org.eclipse.mpc.epp.core.win32. Instead, hand-picked the three
plug-ins that are needed for org.eclipse.epp.mpc (ui, help.ui and core).

+Updated target definition to use new mirror-sites and removed
<includeBundles> defintion that bloated the file.

+Added oxygen-specific feature project and set simantics-desktop.product
to use it.

+Updated simantics.target

+Updated rcp feature to no longer depend on
org.eclipse.core.filesystem.java7 (see number 3 here:
https://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fporting%2F4.6%2Fincompatibilities.html&anchor=filesystem.java7)

+Included oxygen.feature into pom.xml under root->features
+Added missing source files
+Changed project type of org.simantics.root to maven
+Updated mirror-location url to be correct (dropin no longer
has /repository/ at the end)

Change-Id: Id20a3626dbce81cb2a45036d1983d55c151d7e52

7 years agoUncommon Acorn deadlock fix 32/732/2
jsimomaa [Thu, 20 Jul 2017 06:53:12 +0000 (09:53 +0300)]
Uncommon Acorn deadlock fix

refs #7373

Change-Id: Ica31908fca0b70da87bbcf75deb2476bdf305cde

7 years ago(refs #7374) Created CommandSessionWithModules 33/733/1
Hannu Niemistö [Thu, 20 Jul 2017 08:28:54 +0000 (11:28 +0300)]
(refs #7374) Created CommandSessionWithModules

Change-Id: I6706caaf92018e4ccbf4ad11bd9a58789085fb6a

7 years agoMerge "(refs #7371) Support for select keyword for CHR constraints"
Hannu Niemistö [Thu, 20 Jul 2017 07:47:57 +0000 (10:47 +0300)]
Merge "(refs #7371) Support for select keyword for CHR constraints"

7 years agoImplementing Java camelCase breaking in SCL module editor 24/724/3
jsimomaa [Tue, 18 Jul 2017 12:45:03 +0000 (15:45 +0300)]
Implementing Java camelCase breaking in SCL module editor

This feature enables the behavior familiar from Eclipse's Java-editor
where CTRL (SHIFT) + RIGHT_ARROW/LEFT_ARROW navigate text

[EDIT] add missing MANIFEST.MF

refs #7369

Change-Id: I7c9a37107ad9530bd421360fe35479960cce4d28

7 years agoChange mylyn.wikitext plugin names in feature.xml 21/721/2
jsimomaa [Tue, 18 Jul 2017 10:28:37 +0000 (13:28 +0300)]
Change mylyn.wikitext plugin names in feature.xml

refs #7358

Change-Id: Idad063d16304a491656554bb29a48a8411918614

7 years ago(refs #7371) Support for select keyword for CHR constraints 26/726/2
Hannu Niemistö [Wed, 19 Jul 2017 10:42:20 +0000 (13:42 +0300)]
(refs #7371) Support for select keyword for CHR constraints

Change-Id: Ie23a1cd698b230f9be05ff38c937cfcbd13d658b

7 years agoMerge "AbstractCompileStructuralValueRequest uses wrong RuntimeEnvironment"
Jani Simomaa [Mon, 17 Jul 2017 19:17:55 +0000 (22:17 +0300)]
Merge "AbstractCompileStructuralValueRequest uses wrong RuntimeEnvironment"

7 years agoIncrease the version number of org.simantics.document.server.io 02/702/2
jsimomaa [Sat, 8 Jul 2017 07:36:49 +0000 (10:36 +0300)]
Increase the version number of org.simantics.document.server.io

Increase the version number to fix simupedia git build problems

refs #6712 refs #7019

Change-Id: I45cd2268b8e24aea479c1901c30984e5b4464251

7 years ago(refs #7365) Fixed the bug in the test CHR11.scl 16/716/1
Hannu Niemistö [Sun, 16 Jul 2017 10:32:05 +0000 (13:32 +0300)]
(refs #7365) Fixed the bug in the test CHR11.scl

Change-Id: I961c3ae92013ec4085fe61eee9021a3cc0aff6e4

7 years ago(refs #7365) Unit test for the bug 15/715/1
Hannu Niemistö [Thu, 13 Jul 2017 11:56:46 +0000 (14:56 +0300)]
(refs #7365) Unit test for the bug

"CHR constraint from an included ruleset is activated multiple times"

Change-Id: If24b6b3251ad563ccc8f9db9c97c71279f688325

7 years ago(refs #7358) Continued updating of oxygen target platform 14/714/2
Miro Richard Eklund [Wed, 12 Jul 2017 13:44:55 +0000 (16:44 +0300)]
(refs #7358) Continued updating of oxygen target platform

Commit 1:
+ Include both com.sun.jna 4.1.0 and 4.3.0 to satisfy
nativemem and org.eclipse.epp.mpc.win32 dependencies.

Change-Id: I7373653241a038f8dd34184ae27bf4ab53d73d25

7 years agoLabelDecorator.decorateLabel can return null 13/713/1
jsimomaa [Wed, 12 Jul 2017 13:43:40 +0000 (16:43 +0300)]
LabelDecorator.decorateLabel can return null

refs #7364

Change-Id: I3850429ed8a75b375f4f7f63b23bf95d9bf8e81f

7 years ago(refs #7358) Initial 4.7 update commit 05/705/9
Miro Richard Eklund [Mon, 10 Jul 2017 14:35:31 +0000 (17:35 +0300)]
(refs #7358) Initial 4.7 update commit

Includes .tpd file definition and fixes for various
files that were not compatible with the update.

Amend 1:
+ Added simantics.tdp

Amend 2:
+ Change repo location to private/eclipse-4.7

Amend 3:
+ Add required bouncycastle files to .tdp file.

Amend 4, 5 and 6:
+ Updated wikitext from 1.0 to 2.0.
+ Finished .tpd file
+ Updated target platform

Amend 7:
+ Changed com.sun.jna version to 4.1.0 from 4.3.0, as changes to
org.eclipse.epp.mpc requires this version.

Change-Id: I85b9cf2d93468235b6473a547319c3dbc43f8b67

7 years agoAbstractCompileStructuralValueRequest uses wrong RuntimeEnvironment 12/712/1
jsimomaa [Wed, 12 Jul 2017 11:18:41 +0000 (14:18 +0300)]
AbstractCompileStructuralValueRequest uses wrong RuntimeEnvironment

refs #7363

Change-Id: I4b60a5cc4aefc65c86b88ff93fe8951f40bd1238

7 years ago(refs #7362) Creation of new SCL modules in SCL module browser 11/711/1
Hannu Niemistö [Wed, 12 Jul 2017 07:59:06 +0000 (10:59 +0300)]
(refs #7362) Creation of new SCL modules in SCL module browser

Change-Id: Ieb99edbd22db8092edd62449b739f6ae2b5824ab