]> gerrit.simantics Code Review - simantics/platform.git/log
simantics/platform.git
7 years agoMerge "Declare effects for constants and variables"
Tuukka Lehtonen [Thu, 13 Apr 2017 11:27:56 +0000 (14:27 +0300)]
Merge "Declare effects for constants and variables"

7 years agoDeclare effects for constants and variables 10/410/2
Hannu Niemistö [Thu, 13 Apr 2017 10:08:54 +0000 (13:08 +0300)]
Declare effects for constants and variables

Effectful constants and variables now correctly declare their effects.

refs #7140
[PRIVATE-13312]

Change-Id: Ie40c3985ac61acb707293161b8aefb361d691732

7 years agoMerge "Accept existential variables as record shorthand fields"
Hannu Niemistö [Tue, 11 Apr 2017 09:30:14 +0000 (12:30 +0300)]
Merge "Accept existential variables as record shorthand fields"

7 years agoAccept existential variables as record shorthand fields 09/409/1
Hannu Niemistö [Mon, 10 Apr 2017 21:27:16 +0000 (00:27 +0300)]
Accept existential variables as record shorthand fields

Change-Id: I2d4ca35f26ba80795696b357f81d778420f40d51

7 years agoFixed old DB tests to compile after merging commit:d33a5a61. 08/408/1
Tuukka Lehtonen [Mon, 10 Apr 2017 15:03:02 +0000 (18:03 +0300)]
Fixed old DB tests to compile after merging commit:d33a5a61.

refs #6998

Change-Id: I0dc864d925bc1a2b27b32d4211dfd788e3ec41fe

7 years agoMerge branch 'feature/funcwrite'
Tuukka Lehtonen [Fri, 7 Apr 2017 07:38:57 +0000 (10:38 +0300)]
Merge branch 'feature/funcwrite'

7 years agoMap some ListUtils functions to SCL (refs #7134). 07/407/2
tmtuomas [Thu, 6 Apr 2017 07:16:11 +0000 (10:16 +0300)]
Map some ListUtils functions to SCL (refs #7134).

Change-Id: I7307c34dd068af6f3be1032d6e5841d5b3b1c346

7 years agoMerge "Enabling ResourceFile CR filtering based on locale"
Tuukka Lehtonen [Wed, 5 Apr 2017 14:50:47 +0000 (17:50 +0300)]
Merge "Enabling ResourceFile CR filtering based on locale"

7 years agoMerge "Update all graph.tg files that seem to be out-of-date in git"
Tuukka Lehtonen [Wed, 5 Apr 2017 14:20:03 +0000 (17:20 +0300)]
Merge "Update all graph.tg files that seem to be out-of-date in git"

7 years agoEnabling ResourceFile CR filtering based on locale 06/406/1
Hannu Niemistö [Wed, 5 Apr 2017 13:40:35 +0000 (16:40 +0300)]
Enabling ResourceFile CR filtering based on locale

Change-Id: Ia16ff6a5fd090aca4f679a1d5aa1e5ae2590b37d

7 years agoUpdate all graph.tg files that seem to be out-of-date in git 04/404/1
Tuukka Lehtonen [Wed, 5 Apr 2017 13:25:40 +0000 (16:25 +0300)]
Update all graph.tg files that seem to be out-of-date in git

refs #7132

Change-Id: Id6513256d7987c322dd35833f7b8fc87607d6e5e

7 years agoAllow SWTThread to be constructed to do execute(Runnable) asynchronously 03/403/1
Tuukka Lehtonen [Wed, 5 Apr 2017 13:18:23 +0000 (16:18 +0300)]
Allow SWTThread to be constructed to do execute(Runnable) asynchronously

refs #7131

Change-Id: I0fa2072895253cf0fcf80f3de48efe536004c6b8

7 years agoDynamic positioning of terminals in G2D 91/391/2
Antti Villberg [Mon, 3 Apr 2017 07:21:16 +0000 (10:21 +0300)]
Dynamic positioning of terminals in G2D

refs #7119

Change-Id: Ib0585c71c94ddca77ce41311cdce4916d033afba

7 years agoGuard against NPE in ConnectionRelationLabelDecorationRule 93/393/3
Antti Villberg [Mon, 3 Apr 2017 07:24:40 +0000 (10:24 +0300)]
Guard against NPE in ConnectionRelationLabelDecorationRule

refs #7121

Change-Id: I3067fa3f80823690301239adba24f3548721a500

7 years agoSupport SVG generation from scenegraph 94/394/4
Antti Villberg [Mon, 3 Apr 2017 07:25:30 +0000 (10:25 +0300)]
Support SVG generation from scenegraph

refs #7054

Change-Id: Ide69219fee786bd19ccf447c227c2424d9cabdc2

7 years agoDatabase backwards compatibility fix for fail-safe import changes 98/398/1
Tuukka Lehtonen [Mon, 3 Apr 2017 12:10:34 +0000 (15:10 +0300)]
Database backwards compatibility fix for fail-safe import changes

To keep databases created before Mar 30 18:39 compatible with the
current git master version.

refs #7016

Change-Id: Ic327809eae90d01d115cfb880a33b9dc37051a36

7 years agoAllow overriding of CopyPasteHandler and Paster methods 95/395/5
Marko Luukkainen [Mon, 3 Apr 2017 09:41:47 +0000 (12:41 +0300)]
Allow overriding of CopyPasteHandler and Paster methods

Changed some method signatures from private to protected for
inheritance purposes.

refs #7125

Change-Id: Ib66104a271d18824ad1f397e4a48e89086f694cd

7 years agoSlightly improved diagnostics in ExtendedUris 92/392/2
Antti Villberg [Mon, 3 Apr 2017 07:22:35 +0000 (10:22 +0300)]
Slightly improved diagnostics in ExtendedUris

refs #7120

Change-Id: I22cde4ac4dbd9c0542316889670925c40918b3bb

7 years agoMove graph file document codes around a bit 90/390/1
Antti Villberg [Mon, 3 Apr 2017 07:19:37 +0000 (10:19 +0300)]
Move graph file document codes around a bit

refs #7118

Change-Id: I8a1036a8717b74f3e57b5ea2519de27fb9dc2eab

7 years agoReplaced use of deprecated BinaryFunction et al with BiFunction et al 87/387/2
Tuukka Lehtonen [Fri, 31 Mar 2017 13:14:02 +0000 (16:14 +0300)]
Replaced use of deprecated BinaryFunction et al with BiFunction et al

Also added missing logic to GraphExplorerComposite.SelectionElement to
discover Resource from Variable when WorkbenchSelectionElement is asked
for AnyResource. This is part of the fix for #7116.

Fixed breakage from ContextualHelp F1 keystroke handler which was
introduced in the original SVN commit r32734 (#6446).

refs #7116
refs #7117

Change-Id: Ia7c88d2c1b274fd788a0a18d95c2f059cea36086

7 years agoFixed target definition files after commit:e6d39241.
Tuukka Lehtonen [Fri, 31 Mar 2017 09:13:05 +0000 (12:13 +0300)]
Fixed target definition files after commit:e6d39241.

refs #7114

7 years agoReversioned org.jdom2 from 2.0.6 to 2.0.6.b0001
Tuukka Lehtonen [Fri, 31 Mar 2017 09:05:47 +0000 (12:05 +0300)]
Reversioned org.jdom2 from 2.0.6 to 2.0.6.b0001

This ensures that people loading the target platform will
receive the correct version of the plug-in. Currently developers
still have old cached versions of the old bundle with version
2.0.6 that the system unwantedly keeps loading while P2 should
be loading the correct file on the web. The only way to prevent
this is to bump the version qualifier stamp to force downloads.

refs #7114

7 years agoImport/export changes. A load. 51/351/13
Antti Villberg [Wed, 8 Mar 2017 14:50:59 +0000 (16:50 +0200)]
Import/export changes. A load.

May cause some problems. Exports create Internals instead of blanks if
possible. FixExportedOntology treatment now produces tgs that are
compatible with Graph Compiler. Import creates L0.ExternalEntity
instances for unresolved external references (thus making it fail safe).

Note that addBuiltin("http://Projects") was removed from class
CoreInitialization because its existence resulted in a non-functioning
URI space because:
* http://Projects was added as a "built-in resource" when the database
is first initialized which means that
ReadGraph.getResource("http://Projects") would succeed even when the
resource was not yet properly imported from the project ontology
* When the project ontology is imported, a new resource is created to
represent http://Projects instead of using the existing uninitialized
"built-in resource". The L0.ExternalEntity changes made to the standard
transferable graph import in this patch caused the code to find the
built-in resource for "http://Projects" and think that it has to be a
resource that's already properly initialized. This led to the TG import
not initializing the resource at all. Previously there was a bug here as
well but it was hidden by the fact that the system would import the
actual/new "http://Projects" resource from the ontology anyway. This
effectively left the uninitialized built-in resource just hanging in the
database as trash.

refs #7016

Change-Id: I5d9dd8dea4df58cc54d4a6664c112a770ae7f7b3

7 years agoBumped master target and org.simantics.sdk feature versions to 1.29.0.
Tuukka Lehtonen [Thu, 30 Mar 2017 14:09:01 +0000 (17:09 +0300)]
Bumped master target and org.simantics.sdk feature versions to 1.29.0.

refs #7114

7 years agoAdded base diagram profile style for showing terminal names on diagrams 83/383/1
Tuukka Lehtonen [Tue, 28 Mar 2017 15:02:18 +0000 (18:02 +0300)]
Added base diagram profile style for showing terminal names on diagrams

Previously there has been an implementation for showing terminal names
in the symbol editor (SymbolTerminalNameStyle). This implementation is
for showing symbol instance terminal names on modelling diagrams
containing symbol instances. The names are positioned outside the
current symbol's bounding box.

ConnectionPointNameStyle also employs the new TextNode automatic text
flipping feature added in #7112.

refs #7107

Change-Id: Icf4709bf115a9c25b894192d186c6ce514cc0d29

7 years agoAdded automatic text flipping option for text readability in TextNode 82/382/1
Tuukka Lehtonen [Tue, 28 Mar 2017 14:55:13 +0000 (17:55 +0300)]
Added automatic text flipping option for text readability in TextNode

refs #7112

Change-Id: I6027ff66e3bc60d81385088fcf072e09dff7e6a7

7 years agoSupport tg discovery in export/import 81/381/2
Antti Villberg [Mon, 27 Mar 2017 08:17:25 +0000 (11:17 +0300)]
Support tg discovery in export/import

refs #7103

Change-Id: I471f9f0d5fa2b1bb1b825d7fde69eabc57422799

7 years agoAdded alias property to L0.SCLModule 80/380/3
Tuukka Lehtonen [Mon, 27 Mar 2017 05:59:51 +0000 (08:59 +0300)]
Added alias property to L0.SCLModule

refs #7105

Change-Id: I7f8a2f3cb4c0a4c317619adc561d93334edea529

7 years ago(refs #7090) New functions subquery and subqueryC 79/379/2
Hannu Niemistö [Fri, 24 Mar 2017 13:00:43 +0000 (15:00 +0200)]
(refs #7090) New functions subquery and subqueryC

For making graph queries.

Change-Id: I3ca5088ff2fd43730a64bb7a169d84500a939cd5

7 years agoUse node bounds for defined elements 78/378/2
Antti Villberg [Thu, 23 Mar 2017 10:05:20 +0000 (12:05 +0200)]
Use node bounds for defined elements

refs #7109

Change-Id: I887c20e105c1f4b0f852de0d3e0d4beba3e30071

7 years agosclAssertion template into MOD (add missing files) 77/377/1
Jussi Koskela [Wed, 22 Mar 2017 11:30:14 +0000 (13:30 +0200)]
sclAssertion template into MOD (add missing files)

Added missing files related to:
Iec870d7723cebe17d29e93533b4d80bb78ae9b20.

refs #7081

Change-Id: I76204909f13a31133773322bf1b7c6e6be126db7

7 years agoOpening symbol code editor / symbol drop handler code editor fails 76/376/1
Jussi Koskela [Wed, 22 Mar 2017 11:14:39 +0000 (13:14 +0200)]
Opening symbol code editor / symbol drop handler code editor fails

Opening symbol code editor / symbol drop handler code editor fails if
there is no existing code available.

refs #7106

Change-Id: Iceea446030237819878fda58a40a557b5f03f91a

7 years agoMerge "Not possible to open declaration of SCL module from relative path (F3)"
Hannu Niemistö [Tue, 21 Mar 2017 08:43:21 +0000 (10:43 +0200)]
Merge "Not possible to open declaration of SCL module from relative path (F3)"

7 years agoMerge "(refs #7102) Fixed comparator NodeEventHandler.TreePreOrderComparator"
Hannu Niemistö [Tue, 21 Mar 2017 08:33:45 +0000 (10:33 +0200)]
Merge "(refs #7102) Fixed comparator NodeEventHandler.TreePreOrderComparator"

7 years agoNot possible to open declaration of SCL module from relative path (F3) 73/373/2
Jussi Koskela [Mon, 20 Mar 2017 13:04:31 +0000 (15:04 +0200)]
Not possible to open declaration of SCL module from relative path (F3)

Resolve absolute path of SCL module when user presses F3 on
import/include that uses relative path. Refactored absolute path
resolving to static utility function.

refs #7101

Change-Id: I21cadedd6b8baf9ec4d7fae25cd4a0135836a439

7 years ago(refs #7102) Fixed comparator NodeEventHandler.TreePreOrderComparator 74/374/1
Hannu Niemistö [Tue, 21 Mar 2017 08:15:45 +0000 (10:15 +0200)]
(refs #7102) Fixed comparator NodeEventHandler.TreePreOrderComparator

Change-Id: Ib7db825832affc47306e351d28935752a8a1c9d6

7 years agoHardening of DB index integrity 53/353/5
Jussi Koskela [Fri, 10 Mar 2017 07:38:28 +0000 (09:38 +0200)]
Hardening of DB index integrity

Mark index dirty as early as possible on write operations (and sync to
disk). Clean index dirtiness indicator as last step when deleting the
index. Cache dirty statuses to write dirty files only once.

refs #7075

Change-Id: I1c8a6882270b5fbd53bc88249ba5f50c05a83b51

7 years agoAdded functional FileOperation interface to FileService. 72/372/2
Tuukka Lehtonen [Mon, 20 Mar 2017 11:59:02 +0000 (13:59 +0200)]
Added functional FileOperation interface to FileService.

This makes using method references with FileService easier/possible and
provides for cleaner code.

refs #7100

Change-Id: I6929654b5f9d41cbad9fe4b35b2219d91e64a791

7 years agoProject feature dependency injection is broken 69/369/3
Antti Villberg [Mon, 20 Mar 2017 06:48:52 +0000 (08:48 +0200)]
Project feature dependency injection is broken

refs #7027

Change-Id: I97bef3d5be9bf2689de25919d021a3ab005137a4

7 years agopossibleActiveRunVariable should return Maybe Variable 70/370/2
Antti Villberg [Mon, 20 Mar 2017 06:50:32 +0000 (08:50 +0200)]
possibleActiveRunVariable should return Maybe Variable

refs #7026

Change-Id: I00cd147ab934932027753bd9f17b51da5c05a85e

7 years agoRemoved useless class org.simantics.utils.thread.Executors2. 71/371/2
Tuukka Lehtonen [Mon, 20 Mar 2017 06:56:08 +0000 (08:56 +0200)]
Removed useless class org.simantics.utils.thread.Executors2.

Also removed the optional org.eclipse.swt dependency introduced to
org.simantics.utils.thread by Executors2. org.simantics.utils.thread.swt
already contains SWTThread which is where this dependency should be
kept.

refs #7099

Change-Id: Ica27eed205306090f876767cd0a018009fb25fd5

7 years agoHistory sampling improvements 68/368/1
Antti Villberg [Mon, 20 Mar 2017 06:43:29 +0000 (08:43 +0200)]
History sampling improvements

refs #7028

Change-Id: Ia4653ee76859dae1842bdef82fe552ca70f61995

7 years agoPredicate by label request into Layer0Utils 67/367/1
Antti Villberg [Mon, 20 Mar 2017 05:46:49 +0000 (07:46 +0200)]
Predicate by label request into Layer0Utils

refs #7035

Change-Id: I322dbcb8f51fd16e39d4408a6a5043713ddd8530

7 years agoExperiment state request 66/366/1
Antti Villberg [Mon, 20 Mar 2017 05:44:48 +0000 (07:44 +0200)]
Experiment state request

refs #7036

Change-Id: I2704afcc626a3deb7430eb1a42ea453f71e931d6

7 years agoSymbol filter changed to show whole group when filter matches group name 65/365/1
Tuukka Lehtonen [Sat, 18 Mar 2017 13:33:33 +0000 (15:33 +0200)]
Symbol filter changed to show whole group when filter matches group name

refs #7098

Change-Id: I3c3fa87b711f3791787e59207a0e50e479a13152

7 years ago(refs #7090) Generated Function objects implement equals and hashCode 64/364/1
Hannu Niemistö [Wed, 15 Mar 2017 14:13:46 +0000 (16:13 +0200)]
(refs #7090) Generated Function objects implement equals and hashCode

Change-Id: I93118f7bd0f975bb68e14b7288dad6546a62faa1

7 years ago(refs #7088) Improvements to tail call optimization 63/363/2
Hannu Niemistö [Wed, 15 Mar 2017 08:46:21 +0000 (10:46 +0200)]
(refs #7088) Improvements to tail call optimization

Change-Id: I7e6b914c239b1aa81a06ad9da2cdbf046ac5e0e2

7 years agoSVGNode reference counting breaks with assignments 56/356/4
Antti Villberg [Fri, 10 Mar 2017 09:07:30 +0000 (11:07 +0200)]
SVGNode reference counting breaks with assignments

refs #7078

Change-Id: I72c42302d6ed04d0cd5b95525d2ee68d9fda248b

7 years agoAdded ModuleUpdateContext.getModuleType() 62/362/2
Tuukka Lehtonen [Tue, 14 Mar 2017 09:22:47 +0000 (11:22 +0200)]
Added ModuleUpdateContext.getModuleType()

refs #7087

Change-Id: I90355f8f28cbbd36168375734e3b8e3766edfb48

7 years agoSupport L0.loadString in CompilePGraphs 61/361/2
Antti Villberg [Mon, 13 Mar 2017 09:30:06 +0000 (11:30 +0200)]
Support L0.loadString in CompilePGraphs

refs #7085

Change-Id: Ia386a6b0f654ca26708dec5b2b5b19f4a975cec3

7 years agoNavigate to substructure 58/358/4
Antti Villberg [Fri, 10 Mar 2017 09:17:28 +0000 (11:17 +0200)]
Navigate to substructure

refs #7080

Change-Id: I2b183bf6b2d314577c664c16471c80658ce57450

7 years agoPrefer WorkbenchSelectionUtils when obtaining Resource from selection 55/355/3
Antti Villberg [Fri, 10 Mar 2017 08:57:46 +0000 (10:57 +0200)]
Prefer WorkbenchSelectionUtils when obtaining Resource from selection

refs #7077

Change-Id: I45cfa3940df8e1f4abe016b215843dc083227b2b

7 years agosclAssertion template into MOD 59/359/3
Antti Villberg [Fri, 10 Mar 2017 09:20:29 +0000 (11:20 +0200)]
sclAssertion template into MOD

refs #7081

Change-Id: Iec870d7723cebe17d29e93533b4d80bb78ae9b20

7 years agoUse single available diagram profile by default 57/357/2
Antti Villberg [Fri, 10 Mar 2017 09:12:37 +0000 (11:12 +0200)]
Use single available diagram profile by default

Use single available diagram profile if no other information is
available

refs #7079

Change-Id: Ib195bdacac5a3e25bf62c540e6480b907ff043a0

7 years agoFonts are now embedded in diagram, wiki, etc PDF exports. 60/360/1
Tuukka Lehtonen [Fri, 10 Mar 2017 16:27:03 +0000 (18:27 +0200)]
Fonts are now embedded in diagram, wiki, etc PDF exports.

A lot of general cleanup/refactoring for the old "Diagrams to PDF"
export wizard backend implementation. Consolidated some page numbering
code into org.simantics.export.core.pdf.PageNumbering.

Also consolidated iText FontMapper initialization into
org.simantics.export.core.pdf.FontMapping. It turned out that the key to
getting iText to embed fonts for text rendered into PDFs was that the
FontMapper used needs to have all system fonts registered into it.

Also fixed PDF export page number positioning in the more generic PDF
export wizard.

refs #7084

Change-Id: Ife4f96889659834a780566152f63e9e1ccd4979f

7 years agoSort editor adapters by default 54/354/2
Antti Villberg [Fri, 10 Mar 2017 08:56:00 +0000 (10:56 +0200)]
Sort editor adapters by default

refs #7076

Change-Id: I320fea43416d53bc48ce8044f517815dad4c6952

7 years agoAdded .keep file to org.simantics.views.text.ontology/src 52/352/1
Tuukka Lehtonen [Wed, 8 Mar 2017 15:18:09 +0000 (17:18 +0200)]
Added .keep file to org.simantics.views.text.ontology/src

refs #7066

Change-Id: Idc505dc1beafd74a0af4ffe9763391add56bde1a

7 years agoFix incorrect filtering condition in file deletion 48/348/2
Jussi Koskela [Tue, 7 Mar 2017 13:54:56 +0000 (15:54 +0200)]
Fix incorrect filtering condition in file deletion

refs #7074

Change-Id: I3421b8b27ab8fb27afdf105ade58894e21c5bd71

7 years ago(refs #7071) User Logger instead of System.out/err.println 46/346/4
Hannu Niemistö [Mon, 6 Mar 2017 12:50:54 +0000 (14:50 +0200)]
(refs #7071) User Logger instead of System.out/err.println

Change-Id: I196a529dd7005367863bb937703f2cd581728cdd

7 years agoMerge "Removed javax.vecmath from target definitions."
Tuukka Lehtonen [Tue, 7 Mar 2017 14:12:00 +0000 (16:12 +0200)]
Merge "Removed javax.vecmath from target definitions."

7 years agoRemoved javax.vecmath from target definitions. 50/350/1
Tuukka Lehtonen [Tue, 7 Mar 2017 14:11:37 +0000 (16:11 +0200)]
Removed javax.vecmath from target definitions.

refs #7023

Change-Id: Iea68c7ac42f428882c2e64c9a1c3f4c7dd9a0566

7 years agoFixed JNA version from target platform definitions. 49/349/1
Tuukka Lehtonen [Tue, 7 Mar 2017 13:59:34 +0000 (15:59 +0200)]
Fixed JNA version from target platform definitions.

refs #7023

Change-Id: Ibfb6e5652f44aa7d6e34b13a6acce595e9a76051

7 years agoRemove all dependencies on javax.vecmath. 31/331/5
Tuukka Lehtonen [Tue, 7 Feb 2017 14:11:00 +0000 (16:11 +0200)]
Remove all dependencies on javax.vecmath.

Apache Commons Math3 library can be used to replace the functionality.
The only downside is that Math3 is over 10 times larger than the old
vecmath library (180kB vs. >2MB).

Also removed javax.vecmath entirely from platform external dependencies.

refs #7023

Change-Id: I4b9a3cf25567552b0cc1f35e07615baeaa982269

7 years agoAdded org.simantics.views.text[.ontology] for modelled source viewers 47/347/2
Tuukka Lehtonen [Mon, 6 Mar 2017 21:44:51 +0000 (23:44 +0200)]
Added org.simantics.views.text[.ontology] for modelled source viewers

For now, SWTMarkupSourceViewer is hardcoded for mediawiki markup. The
new plug-ins are included in org.simantics.views.swt.feature.

Also:
* removed useless old code SG loader code from org.simantics.views.swt
* started using SLF4J in org.simantics.document.ui

refs #7066

Change-Id: Id3d058d676072ccff5898c013cf3353a5a54dce9

7 years agoSupport also Resource inputs in standardIssueContexts property function 44/344/1
Tuukka Lehtonen [Fri, 3 Mar 2017 12:43:11 +0000 (14:43 +0200)]
Support also Resource inputs in standardIssueContexts property function

Previous version only supported Variables.

refs #7064

Change-Id: If309d7c3d6c8d0b270a8344d3abaf9061e92da31

7 years agoPrevent NPE when comparing a node that is still without parent. 42/342/1
Tuukka Lehtonen [Fri, 3 Mar 2017 07:33:57 +0000 (09:33 +0200)]
Prevent NPE when comparing a node that is still without parent.

refs #7062

Change-Id: I13990a8db66408c1bc3cab6e4da8ba7997220c1a

7 years agoMerge "Added start level configuration to desktop product"
Tuukka Lehtonen [Wed, 1 Mar 2017 11:09:11 +0000 (13:09 +0200)]
Merge "Added start level configuration to desktop product"

7 years agoAdded start level configuration to desktop product 39/339/2
Hannu Niemistö [Wed, 1 Mar 2017 10:10:23 +0000 (12:10 +0200)]
Added start level configuration to desktop product

refs #7057

Change-Id: Ia6886f9981ee3a66d991972d7d56059c3b2c1a52

7 years agoInclude org.simantics.desktop.product.feature in SDK builds 38/338/1
Tuukka Lehtonen [Wed, 1 Mar 2017 09:27:16 +0000 (11:27 +0200)]
Include org.simantics.desktop.product.feature in SDK builds

refs #7056

Change-Id: I81d84530c1b9f902f0f266eb84c09529d57e8133

7 years agoMerge "SLF2J logging from SCL"
Jani Simomaa [Sun, 26 Feb 2017 07:41:33 +0000 (09:41 +0200)]
Merge "SLF2J logging from SCL"

7 years agoSLF2J logging from SCL 36/336/1
Hannu Niemistö [Fri, 24 Feb 2017 13:43:35 +0000 (15:43 +0200)]
SLF2J logging from SCL

Added a new module Logging with methods trace, debug, warn and error
taking a string as a parameter.

refs #7051

Change-Id: I8b11f82e3c15b56ee2c7fc87c8bf9cff4e315261

7 years agoMisc. changes to support Selection View in modelled documents 35/335/2
Antti Villberg [Fri, 24 Feb 2017 12:47:17 +0000 (14:47 +0200)]
Misc. changes to support Selection View in modelled documents

refs #7050

Change-Id: Ia088db3d75c8d9963d0e513d1e6042a63b13e6c8

7 years agoMerge "(refs #7042) Added a new compiler optimization (eta-reduce)"
Hannu Niemistö [Mon, 20 Feb 2017 10:13:29 +0000 (12:13 +0200)]
Merge "(refs #7042) Added a new compiler optimization (eta-reduce)"

7 years ago(refs #7042) Added a new compiler optimization (eta-reduce) 34/334/1
Hannu Niemistö [Mon, 20 Feb 2017 09:17:31 +0000 (11:17 +0200)]
(refs #7042) Added a new compiler optimization (eta-reduce)

Adds new optimization to SCL compiler that transforms the following code
    \someParameters = f someOtherParameters someParameters'
to
    f someOtherParameters
with the following restrictions:
* someParameters and someParameters' are lists of equal variables
  or the type is ()
* someOtherParameters does not refer to variables in someParameters
  or the lambda expression itself or something depending on it
  recursively

[PRIVATE-13082]

Change-Id: I0e666771c72128ab73b0e46af727236ba4811080

7 years agoAllow bypassing VolatileImage rendering to gain performance 33/333/1
Marko Luukkainen [Wed, 15 Feb 2017 14:14:32 +0000 (16:14 +0200)]
Allow bypassing VolatileImage rendering to gain performance

refs #7034

Change-Id: I3a53175ed86ba9b0705498f8c0652fec69cc1cd1

7 years agoMerge "Some fixes for FileImportService to throw exceptions forward"
Jani Simomaa [Mon, 13 Feb 2017 17:32:45 +0000 (19:32 +0200)]
Merge "Some fixes for FileImportService to throw exceptions forward"

7 years agoMerge "Include jetty and javax.servlet plugins (debug.browser requirement)"
Tuukka Lehtonen [Tue, 7 Feb 2017 14:52:44 +0000 (16:52 +0200)]
Merge "Include jetty and javax.servlet plugins (debug.browser requirement)"

7 years agoUse slf4j logger in ExperimentManager. 30/330/1
Tuukka Lehtonen [Tue, 7 Feb 2017 14:02:55 +0000 (16:02 +0200)]
Use slf4j logger in ExperimentManager.

refs #6938

Change-Id: I6f5d2450e472aab6762bf33c2be94658ce7acc99

7 years agoInclude jetty and javax.servlet plugins (debug.browser requirement) 27/327/2
Tuukka Lehtonen [Tue, 7 Feb 2017 13:57:07 +0000 (15:57 +0200)]
Include jetty and javax.servlet plugins (debug.browser requirement)

refs #7022

Change-Id: Id32f233c6972dc9d138ed55c0b1b48d4dff60f50

7 years agoFilter out CR in resource files generated by graph compiler. 26/326/2
Hannu Niemistö [Mon, 6 Feb 2017 11:01:11 +0000 (13:01 +0200)]
Filter out CR in resource files generated by graph compiler.

Change-Id: I10e0dfe6a0726c001f63dd438c50256f4fc7cfe6

7 years agoMerge "Replace crlf by lf in resource files generated by graph compiler."
Hannu Niemistö [Mon, 6 Feb 2017 09:04:48 +0000 (11:04 +0200)]
Merge "Replace crlf by lf in resource files generated by graph compiler."

7 years agoReplace crlf by lf in resource files generated by graph compiler. 25/325/1
Hannu Niemistö [Mon, 6 Feb 2017 08:39:20 +0000 (10:39 +0200)]
Replace crlf by lf in resource files generated by graph compiler.

Change-Id: I502a5f0c6b9eb1f2ba257ab8dba57302263c658a

7 years agoInitial version of purge 24/324/1
Antti Villberg [Mon, 6 Feb 2017 08:37:54 +0000 (10:37 +0200)]
Initial version of purge

refs #6882

Change-Id: Ica6119ebdb38360390d8f5563d9b5f53b6963107

7 years agoSome fixes for FileImportService to throw exceptions forward 23/323/1
jsimomaa [Thu, 2 Feb 2017 14:59:38 +0000 (16:59 +0200)]
Some fixes for FileImportService to throw exceptions forward

refs #7014

Change-Id: I03350d056b6258e964a990c50973f2597be5080d

7 years agoMerge "Removed logging of PendingVariableExceptions from LabelContribution"
Tuukka Lehtonen [Thu, 2 Feb 2017 14:09:49 +0000 (16:09 +0200)]
Merge "Removed logging of PendingVariableExceptions from LabelContribution"

7 years agoMerge "Added module header feature to SCL language."
Hannu Niemistö [Thu, 2 Feb 2017 12:07:54 +0000 (14:07 +0200)]
Merge "Added module header feature to SCL language."

7 years agoAdded module header feature to SCL language. 15/315/3
Hannu Niemistö [Wed, 1 Feb 2017 14:40:11 +0000 (16:40 +0200)]
Added module header feature to SCL language.

Module header must be in the beginning of the module. However, comments
are allowed before the header. Header has the following form:
    module {
        field = value,
        field = value
    }

Currently field name classLoader is supported. It makes it possible to
specify which classLoader is used to resolve importJava declarations.
    module {
        classLoader = "my.bundle.name.somewhere"
    }

refs #6931

Change-Id: Ibca2152597a738d1e4641cf6262af06069b38af5

7 years agoRemoved logging of PendingVariableExceptions from LabelContribution 22/322/1
Tuukka Lehtonen [Thu, 2 Feb 2017 11:22:03 +0000 (13:22 +0200)]
Removed logging of PendingVariableExceptions from LabelContribution

org.simantics.browsing.ui.model.labels.LabelContribution.getLabel used
to log all DatabaseExceptions which filled logs with very uninformative
PendingVariableException prints in normal operation.
PendingVariableExceptions are expected to happen in this context and
therefore should simply be ignored by returning empty labeling results.

refs #7011

Change-Id: Iec164d65682da038646c9fbfbee074016546095e

7 years agoMerge "Removed stderr logging from CompileSCLMonitorRequest."
Hannu Niemistö [Thu, 2 Feb 2017 11:18:13 +0000 (13:18 +0200)]
Merge "Removed stderr logging from CompileSCLMonitorRequest."

7 years agoIncluded Simantics-Desktop product into the platform build.
Tuukka Lehtonen [Wed, 1 Feb 2017 13:34:24 +0000 (15:34 +0200)]
Included Simantics-Desktop product into the platform build.

refs #6879

7 years agoRemoved stderr logging from CompileSCLMonitorRequest. 06/306/1
Tuukka Lehtonen [Wed, 1 Feb 2017 10:01:15 +0000 (12:01 +0200)]
Removed stderr logging from CompileSCLMonitorRequest.

refs #7008

Change-Id: I28c4cf4068a137679eeb641d0b7e085ac2cc3c63

7 years agoParametrize dump-wikis.sh and backup mediawiki sites in dump-wikis.sh
Tuukka Lehtonen [Thu, 26 Jan 2017 22:05:04 +0000 (00:05 +0200)]
Parametrize dump-wikis.sh and backup mediawiki sites in dump-wikis.sh

refs #6916

7 years agoRewrote line endings for SCLReportingWriter.
Tuukka Lehtonen [Thu, 26 Jan 2017 19:58:53 +0000 (21:58 +0200)]
Rewrote line endings for SCLReportingWriter.

refs #7000

7 years agoBumped target and org.simantics.sdk feature versions to 1.28.0.
Tuukka Lehtonen [Thu, 26 Jan 2017 19:17:40 +0000 (21:17 +0200)]
Bumped target and org.simantics.sdk feature versions to 1.28.0.

refs #6916

7 years agoUpdated missing steps into release engineering branch configuration doc.
Tuukka Lehtonen [Thu, 26 Jan 2017 18:46:24 +0000 (20:46 +0200)]
Updated missing steps into release engineering branch configuration doc.

refs #6916

7 years agoAdded SCLReportingWriter to org.simantics.scl.runtime. (refs #7000) 93/293/1
Reino Ruusu [Wed, 25 Jan 2017 16:28:49 +0000 (18:28 +0200)]
Added SCLReportingWriter to org.simantics.scl.runtime. (refs #7000)

Change-Id: I2e988c0699bf228a3c13f80ac1917b202b2995f6

7 years agoMinor enhancement to Scenegraph attribute dialog 92/292/1
jsimomaa [Wed, 25 Jan 2017 06:28:17 +0000 (08:28 +0200)]
Minor enhancement to Scenegraph attribute dialog

refs #6999

Change-Id: Ibc35e3a74f144893ea25b5bed69294979c070aa3

7 years agoRemoved uses of deprecated functions 91/291/1
Hannu Niemistö [Tue, 24 Jan 2017 13:55:26 +0000 (15:55 +0200)]
Removed uses of deprecated functions

Change-Id: I64fa1d6ce189f24edf33657db81780c3fb83f2ee

7 years agoMake Write-interfaces as @FunctionalInterface for lambdas 90/290/1
jsimomaa [Tue, 24 Jan 2017 13:34:00 +0000 (15:34 +0200)]
Make Write-interfaces as @FunctionalInterface for lambdas

refs #6998

Change-Id: I7552f2f13c6a034296249b4ebe8909269419ecac

7 years agoGraphExplorerComposite now accepts TextTransfer and MOVE/DEFAULT dnd ops 89/289/1
Tuukka Lehtonen [Mon, 23 Jan 2017 18:56:03 +0000 (20:56 +0200)]
GraphExplorerComposite now accepts TextTransfer and MOVE/DEFAULT dnd ops

TextTransfer must be enabled to allow JSON drops into the model browser.
The MOVE and DEFAULT drag operations are allowed to see if this affects
people with problems dragging files from system file explorer to the
model browser.

refs #6997

Change-Id: I740a8b29e7f43c5215748e0a0a193560ccbf600f