]> gerrit.simantics Code Review - simantics/platform.git/log
simantics/platform.git
8 years agoMerge commit 'd1a82fe'
Tuukka Lehtonen [Mon, 26 Sep 2016 13:08:12 +0000 (16:08 +0300)]
Merge commit 'd1a82fe'

Allow selection of modules to rename through checkboxes and Select All/Clear Selection buttons.

refs #6708
[PRIVATE-11320]

8 years agoAllow selection of modules to rename through checkboxes and Select All/Clear Selectio...
Tuukka Lehtonen [Mon, 26 Sep 2016 13:07:37 +0000 (16:07 +0300)]
Allow selection of modules to rename through checkboxes and Select All/Clear Selection buttons.

refs #6708
[PRIVATE-11320]

8 years agoMerge commit 'bb1507f'
Tuukka Lehtonen [Mon, 26 Sep 2016 10:31:57 +0000 (13:31 +0300)]
Merge commit 'bb1507f'

8 years agoSync git svn branch with SVN repository r33219.
Tuukka Lehtonen [Mon, 26 Sep 2016 10:30:21 +0000 (13:30 +0300)]
Sync git svn branch with SVN repository r33219.

refs #6706
refs #6704
refs #6702
refs #6701

8 years agoUtilize slf4j 93/93/1
Hannu Niemistö [Mon, 26 Sep 2016 06:08:29 +0000 (09:08 +0300)]
Utilize slf4j

Changed System.out/err prints to use logging in several places. Removed
org.simantics.Logging and replaced all uses by slf4j.

Change-Id: Ib0a9f4f87b945fd59130a9dfd02fe02d39ee0eac

8 years agoChanging existing log4j logging to use slf4j 92/92/1
Tuukka Lehtonen [Fri, 23 Sep 2016 21:30:33 +0000 (00:30 +0300)]
Changing existing log4j logging to use slf4j

Removed org.simantics.utils.logging.{Logger,LogManager}. Anybody using
those should just switch to using slf4j. Removed their use from
org.simantics.spreadsheet.graph.

Also changed org.simantics.utils.FileUtils to use slf4j instead of
log4j.

Also added .keep to org.simantics.logback.configuration/src folder to
help it compile properly.

refs #6705

Change-Id: Ib6d78ee964e0a05aedb332167456aee4eea2a4d7
Signed-off-by: Tuukka Lehtonen <tuukka.lehtonen@semantum.fi>
8 years agoAdding configuration logging for Simantics platform with SLF4J and 90/90/2
jsimomaa [Fri, 23 Sep 2016 13:14:33 +0000 (16:14 +0300)]
Adding configuration logging for Simantics platform with SLF4J and
Logback

Adding logback.xml file to org.simantics.logback.configuration bundle
for configuring logback logging

refs #6705

Change-Id: I67abe04ed0d6a54b6a45fb3591bbb6b5a3991b2a

8 years agoChanged database driver of TestSCLOsgi to acorn 89/89/3
Hannu Niemistö [Fri, 23 Sep 2016 12:48:32 +0000 (15:48 +0300)]
Changed database driver of TestSCLOsgi to acorn

Change-Id: Ie8d92025bb3976a210a8f4d36a0e2d74eea5eb09

8 years agoAutomatic execution of SCL tests in Maven 88/88/1
Hannu Niemistö [Fri, 23 Sep 2016 12:14:20 +0000 (15:14 +0300)]
Automatic execution of SCL tests in Maven

This includes both compiler tests (in
tests/org.simantics.scl.compiler.tests) and a test that checks that all
SCL modules in org.simantics.sdk feature compile (in
tests/org.simantics.scl.osgi.tests).

This commit contains also some modifications to make all SCL
modules compile:
* Disabled Data/Json, because it does not compile (missing jackson)
* Committed away Simantics/Image/linkImage

Change-Id: I22a460d756f65139971f1e7d2cc8624a7a6b8ffb

8 years agoMerge "More Enhance logging for Simantics platform with SLF4J and Logback "
Jani Simomaa [Fri, 23 Sep 2016 10:43:47 +0000 (13:43 +0300)]
Merge "More Enhance logging for Simantics platform with SLF4J and Logback "

8 years agoMore Enhance logging for Simantics platform with SLF4J and Logback 87/87/1
jsimomaa [Fri, 23 Sep 2016 08:47:02 +0000 (11:47 +0300)]
More Enhance logging for Simantics platform with SLF4J and Logback

Changing pom.xml to override generation of ch.qos.logback.classic

refs #6705

Change-Id: I512378d6a583b062c74bffc8c46b743eb2d68305

8 years agoEnhance logging for Simantics platform with SLF4J and Logback 86/86/1
jsimomaa [Fri, 23 Sep 2016 08:47:02 +0000 (11:47 +0300)]
Enhance logging for Simantics platform with SLF4J and Logback

Fixing typo in feature.xml

refs #6705

Change-Id: I2984a5017265389ebede223111c8d78627117ada

8 years agoEnhance logging for Simantics platform with SLF4J and Logback 85/85/3
jsimomaa [Fri, 23 Sep 2016 08:47:02 +0000 (11:47 +0300)]
Enhance logging for Simantics platform with SLF4J and Logback

Include the new logging bundles in org.simantics.rcp.feature.

refs #6705

Change-Id: I0711950cbb858a1bbcf0b3a14f648b98707dc1ca

8 years agoMerge "Open module when pressing F3 on import or include declaration"
Tuukka Lehtonen [Wed, 21 Sep 2016 12:25:02 +0000 (15:25 +0300)]
Merge "Open module when pressing F3 on import or include declaration"

8 years agoMerge "Rebuilt graph.tg with latest graph compiler version"
Tuukka Lehtonen [Wed, 21 Sep 2016 12:09:57 +0000 (15:09 +0300)]
Merge "Rebuilt graph.tg with latest graph compiler version"

8 years agoRebuilt graph.tg with latest graph compiler version 84/84/1
Tuukka Lehtonen [Wed, 21 Sep 2016 12:05:43 +0000 (15:05 +0300)]
Rebuilt graph.tg with latest graph compiler version

refs #6692

Change-Id: I13172185137f8b6164efdf235d18d6e0d288f784

8 years agoOpen module when pressing F3 on import or include declaration 82/82/3
Hannu Niemistö [Wed, 21 Sep 2016 11:28:31 +0000 (14:28 +0300)]
Open module when pressing F3 on import or include declaration

Change-Id: If53a968b8a29a7c6a18ae9f1e44bac06df13bbd4

8 years agoCheck that do block is not empty. 81/81/3
Hannu Niemistö [Wed, 21 Sep 2016 11:27:57 +0000 (14:27 +0300)]
Check that do block is not empty.

A new check is needed, because parser was modified before
to allow empty blocks.

Change-Id: I7fa51c7ef25cae6a51e69f9a39378780094c0d8e

8 years agoFixed target platform e4 tool location content. 83/83/1
Tuukka Lehtonen [Wed, 21 Sep 2016 11:46:00 +0000 (14:46 +0300)]
Fixed target platform e4 tool location content.

Change-Id: Ic4a58eebb4cf864db0d4c4cc6cfee361c635a13a

8 years agoMerge commit '12468c2'
Tuukka Lehtonen [Tue, 20 Sep 2016 08:01:16 +0000 (11:01 +0300)]
Merge commit '12468c2'

8 years agoSync git svn branch with SVN repository r33219.
Tuukka Lehtonen [Tue, 20 Sep 2016 08:00:44 +0000 (11:00 +0300)]
Sync git svn branch with SVN repository r33219.

refs #5039

8 years agoMerge commit 'a371783'
Tuukka Lehtonen [Tue, 20 Sep 2016 07:34:24 +0000 (10:34 +0300)]
Merge commit 'a371783'

8 years agoSync git svn branch with SVN repository r33218.
Tuukka Lehtonen [Tue, 20 Sep 2016 07:33:37 +0000 (10:33 +0300)]
Sync git svn branch with SVN repository r33218.

refs #6692
refs #6568

8 years agoMerge commit '8e4e41fa135641b23f68e205832e0696951c5f63'
Tuukka Lehtonen [Mon, 19 Sep 2016 14:10:17 +0000 (17:10 +0300)]
Merge commit '8e4e41fa135641b23f68e205832e0696951c5f63'

8 years agoSync git svn branch with SVN repository r33216.
Tuukka Lehtonen [Mon, 19 Sep 2016 14:09:15 +0000 (17:09 +0300)]
Sync git svn branch with SVN repository r33216.

refs #6653
refs #6699
refs #6700

8 years agoMerge remote-tracking branch 'origin/svn' 80/80/1
Hannu Niemistö [Mon, 19 Sep 2016 09:15:51 +0000 (12:15 +0300)]
Merge remote-tracking branch 'origin/svn'

Change-Id: I6de2fe5c0e54e45498ef01e5ee398325dee1a2a7

8 years agoMerged changes from SVN
Hannu Niemistö [Mon, 19 Sep 2016 09:08:31 +0000 (12:08 +0300)]
Merged changes from SVN

8 years agoMerge "Small improvements to statement collision reporting."
Hannu Niemistö [Mon, 19 Sep 2016 05:36:52 +0000 (08:36 +0300)]
Merge "Small improvements to statement collision reporting."

8 years agoMerge commit '621bec7'
Tuukka Lehtonen [Sat, 17 Sep 2016 11:37:47 +0000 (14:37 +0300)]
Merge commit '621bec7'

8 years agoSync git svn branch with SVN repository r33205.
Tuukka Lehtonen [Sat, 17 Sep 2016 11:32:15 +0000 (14:32 +0300)]
Sync git svn branch with SVN repository r33205.

refs #6692
refs #6695

8 years agoSmall improvements to statement collision reporting. 79/79/1
Hannu Niemistö [Fri, 16 Sep 2016 14:28:01 +0000 (17:28 +0300)]
Small improvements to statement collision reporting.

Change-Id: I18469fcc69d11f1fcd652ad7f8ffd52496064d30

8 years agoMerge commit 'fd452722e97db9cf876f4f03a9e44fe750625a92'
Tuukka Lehtonen [Fri, 16 Sep 2016 10:47:30 +0000 (13:47 +0300)]
Merge commit 'fd452722e97db9cf876f4f03a9e44fe750625a92'

8 years agoSync git svn branch with SVN repository r33203.
Tuukka Lehtonen [Fri, 16 Sep 2016 10:45:33 +0000 (13:45 +0300)]
Sync git svn branch with SVN repository r33203.

refs #6695

8 years agoMerge commit 'a4c65e9'
Tuukka Lehtonen [Fri, 16 Sep 2016 09:59:21 +0000 (12:59 +0300)]
Merge commit 'a4c65e9'

8 years agoSync git svn branch with SVN repository r33200.
Tuukka Lehtonen [Fri, 16 Sep 2016 09:58:41 +0000 (12:58 +0300)]
Sync git svn branch with SVN repository r33200.

refs #6493

8 years agoMerge branch 'master' of ssh://www.simantics.org:29418/simantics/platform
Tuukka Lehtonen [Fri, 16 Sep 2016 08:28:03 +0000 (11:28 +0300)]
Merge branch 'master' of ssh://www.simantics.org:29418/simantics/platform

8 years agoMerge commit '728147df5d63a3333daff3d8c0e9bfd4f5597e3a'
Tuukka Lehtonen [Fri, 16 Sep 2016 08:17:32 +0000 (11:17 +0300)]
Merge commit '728147df5d63a3333daff3d8c0e9bfd4f5597e3a'

refs #6694

8 years agoSync git svn branch with SVN repository r33199.
Tuukka Lehtonen [Fri, 16 Sep 2016 08:14:02 +0000 (11:14 +0300)]
Sync git svn branch with SVN repository r33199.

refs #6694

8 years agoFixed the version range of ANTLR dependency of graph compiler 77/77/1
Hannu Niemistö [Fri, 16 Sep 2016 08:04:35 +0000 (11:04 +0300)]
Fixed the version range of ANTLR dependency of graph compiler

Change-Id: I80f240a913ef4f5d7d2aa839c53c595d75b2e4dd

8 years agoMerge "Rebuilt graph.tg's with latest graph compiler version"
Tuukka Lehtonen [Thu, 15 Sep 2016 18:44:38 +0000 (21:44 +0300)]
Merge "Rebuilt graph.tg's with latest graph compiler version"

8 years agoRebuilt graph.tg's with latest graph compiler version 75/75/1
Tuukka Lehtonen [Thu, 15 Sep 2016 18:49:53 +0000 (21:49 +0300)]
Rebuilt graph.tg's with latest graph compiler version

refs #6692

Change-Id: I9cda9b562958aff6b3edc647c5f882718204f1e7

8 years agoMerge "Check statement collisions"
Tuukka Lehtonen [Thu, 15 Sep 2016 18:33:03 +0000 (21:33 +0300)]
Merge "Check statement collisions"

8 years agoMerge commit 'd11239c402eec37ba28edcfa7ea6ca7c1f01147f'
Tuukka Lehtonen [Thu, 15 Sep 2016 18:19:22 +0000 (21:19 +0300)]
Merge commit 'd11239c402eec37ba28edcfa7ea6ca7c1f01147f'

8 years agoSync git svn branch with SVN repository r33198.
Tuukka Lehtonen [Thu, 15 Sep 2016 18:18:22 +0000 (21:18 +0300)]
Sync git svn branch with SVN repository r33198.

refs #6688
refs #6692

8 years agoCheck statement collisions 73/73/1
Hannu Niemistö [Thu, 15 Sep 2016 10:58:42 +0000 (13:58 +0300)]
Check statement collisions

Added a new validation step that checks whether the result
of graph compilation contains the same statement more than once.

Change-Id: I3d1f5941048d62538e4f732f30cd55099a015513

8 years agoMerge commit '2bcb7e8598e769cf21fa6525fc244e1da3eceb31'
Tuukka Lehtonen [Thu, 15 Sep 2016 10:18:36 +0000 (13:18 +0300)]
Merge commit '2bcb7e8598e769cf21fa6525fc244e1da3eceb31'

8 years agoSync git svn branch with SVN repository r33196.
Tuukka Lehtonen [Thu, 15 Sep 2016 10:06:08 +0000 (13:06 +0300)]
Sync git svn branch with SVN repository r33196.

refs #6692

8 years agoResolve a clash between two implementations of org.w3c.dom 72/72/2
Hannu Niemistö [Thu, 15 Sep 2016 05:55:13 +0000 (08:55 +0300)]
Resolve a clash between two implementations of org.w3c.dom

The bundle org.apache.batik contained its own version of
org.w3c.dom and other basic xml packages. This change
adds javax.xml as a required bundle for org.apache.batik
and removes corresponding import package declarations.
Import package declarations didn't work because of
split packages.

Change-Id: Id49851c63e37ebe12cb9dbab557dc0b3a32b7f58

8 years agoMerge commit '606a8f7'
Tuukka Lehtonen [Wed, 14 Sep 2016 11:31:57 +0000 (14:31 +0300)]
Merge commit '606a8f7'

8 years agoSync git svn branch with SVN repository r33191.
Tuukka Lehtonen [Wed, 14 Sep 2016 11:31:12 +0000 (14:31 +0300)]
Sync git svn branch with SVN repository r33191.

refs #6685

8 years agoMerge "Added target-folders that Maven creates to .gitignore"
Tuukka Lehtonen [Wed, 14 Sep 2016 06:15:42 +0000 (09:15 +0300)]
Merge "Added target-folders that Maven creates to .gitignore"

8 years agoAdded target-folders that Maven creates to .gitignore 59/59/1
Hannu Niemistö [Tue, 13 Sep 2016 15:09:52 +0000 (18:09 +0300)]
Added target-folders that Maven creates to .gitignore

Change-Id: I1cb9ff5b0bee6cfd21f12e0a08d73dd3b989ac98

8 years agoMerge commit 'b809a171b6dfb81ed9ef9e84870dcbcbc5912f0e'
Tuukka Lehtonen [Tue, 13 Sep 2016 15:09:15 +0000 (18:09 +0300)]
Merge commit 'b809a171b6dfb81ed9ef9e84870dcbcbc5912f0e'

8 years agoSync git svn branch with SVN repository r33189.
Tuukka Lehtonen [Tue, 13 Sep 2016 15:08:40 +0000 (18:08 +0300)]
Sync git svn branch with SVN repository r33189.

refs #6653
refs #6684

8 years agoMerge "Small SCL changes"
Hannu Niemistö [Tue, 13 Sep 2016 14:26:45 +0000 (17:26 +0300)]
Merge "Small SCL changes"

8 years agoMerge "Removed standard xml packages from apache and import them from elsewhere"
Hannu Niemistö [Tue, 13 Sep 2016 14:26:40 +0000 (17:26 +0300)]
Merge "Removed standard xml packages from apache and import them from elsewhere"

8 years agoMerge "An initial implementation of Json module."
Hannu Niemistö [Tue, 13 Sep 2016 14:26:34 +0000 (17:26 +0300)]
Merge "An initial implementation of Json module."

8 years agoSmall SCL changes 58/58/1
Hannu Niemistö [Tue, 13 Sep 2016 13:49:01 +0000 (16:49 +0300)]
Small SCL changes

Removed error message from subsumption constraints that
cannot be simplified away, because the simplification is not
working correctly in certain standard cases.

Removed Json2 from StandardLibrary

Small efficiency fix in Prelude

Check if the input block expression is empty in ExpressionEvalutor.

Change-Id: I1b1843cb7847886618aea5063aff53fef35814cb

8 years agoRemoved standard xml packages from apache and import them from elsewhere 57/57/1
Hannu Niemistö [Tue, 13 Sep 2016 13:46:56 +0000 (16:46 +0300)]
Removed standard xml packages from apache and import them from elsewhere

Change-Id: I9499e63a4905bea38461d9ead48dcea68ea6f77b

8 years agoAn initial implementation of Json module. 56/56/1
Hannu Niemistö [Tue, 13 Sep 2016 13:29:17 +0000 (16:29 +0300)]
An initial implementation of Json module.

Change-Id: I33668d8cfdcafd91f7f205a49d5660337f2f0c46

8 years agoAdd missing external dependency plug-ins to SDK build platform.
Tuukka Lehtonen [Tue, 13 Sep 2016 10:40:43 +0000 (13:40 +0300)]
Add missing external dependency plug-ins to SDK build platform.

refs #6475

8 years agoAdd missing external dependency plug-ins to SDK build platform.
Tuukka Lehtonen [Tue, 13 Sep 2016 10:14:40 +0000 (13:14 +0300)]
Add missing external dependency plug-ins to SDK build platform.

refs #6475

8 years agoAdded org.simantics.fileimport{,ui} to bundles POM.
Tuukka Lehtonen [Tue, 13 Sep 2016 09:42:51 +0000 (12:42 +0300)]
Added org.simantics.fileimport{,ui} to bundles POM.

This fixes the SDK build.

refs #6475

8 years agoAdded com.fasterxml.jackson.core.jackson-core version 2.8.2 to ext-deps 55/55/1
Tuukka Lehtonen [Tue, 13 Sep 2016 08:21:04 +0000 (11:21 +0300)]
Added com.fasterxml.jackson.core.jackson-core version 2.8.2 to ext-deps

refs #6683

Change-Id: I187c6edff7e58e26093a879b4f184c38f02ac663

8 years agoRefresh native part of org.simantics.fastlz compilation instructions. 54/54/4
Tuukka Lehtonen [Mon, 12 Sep 2016 20:17:54 +0000 (23:17 +0300)]
Refresh native part of org.simantics.fastlz compilation instructions.

Added Visual Studio 2012 solution/project for compiling with Microsoft
Platform SDK for Windows Server 2003 R2.

Renamed libfastlz-darwin-x86_64.jnilib to libfastlz-darwin-x86_64.dylib
since .dylib is what System.mapLibraryName adds to library names. Also
updated compile.sh to produce .dylib on Darwin.

Removed LZ4 codes from the native codebase, they are already elsewhere
and don't belong here anymore.

refs #6675

Change-Id: I8dc95c5f91bc906c627b47e32ee1b9d1b6a4cb6d
Signed-off-by: Tuukka Lehtonen <tuukka.lehtonen@semantum.fi>
8 years agoMerge branch 'master' of ssh://www.simantics.org:29418/simantics/platform
Tuukka Lehtonen [Fri, 9 Sep 2016 13:05:42 +0000 (16:05 +0300)]
Merge branch 'master' of ssh://www.simantics.org:29418/simantics/platform

8 years agoMerge commit '0e8cf1e'
Tuukka Lehtonen [Fri, 9 Sep 2016 13:05:22 +0000 (16:05 +0300)]
Merge commit '0e8cf1e'

8 years agoSync git svn branch with SVN repository r33184.
Tuukka Lehtonen [Fri, 9 Sep 2016 12:46:09 +0000 (15:46 +0300)]
Sync git svn branch with SVN repository r33184.

refs #6621
refs #6679
refs #6682

8 years agoMerge "Re-implement URIStringUtils escape and unescape using Unicode"
Tuukka Lehtonen [Wed, 7 Sep 2016 13:01:04 +0000 (16:01 +0300)]
Merge "Re-implement URIStringUtils escape and unescape using Unicode"

8 years agoSync git svn branch with SVN repository r33176.
Tuukka Lehtonen [Wed, 7 Sep 2016 12:50:57 +0000 (15:50 +0300)]
Sync git svn branch with SVN repository r33176.

refs #6677

8 years agoSync git svn branch with SVN repository r33176.
Tuukka Lehtonen [Wed, 7 Sep 2016 12:50:57 +0000 (15:50 +0300)]
Sync git svn branch with SVN repository r33176.

refs #6677

8 years agoRe-implement URIStringUtils escape and unescape using Unicode 53/53/2
Tuukka Lehtonen [Wed, 7 Sep 2016 07:09:22 +0000 (10:09 +0300)]
Re-implement URIStringUtils escape and unescape using Unicode

Now escape only performs the absolute minimum amount of escaping
necessary. All String inputs are treated directly as UTF-16 characters
and only the smallest amount of 7-bit US-ASCII characters are escaped.
These characters are " ", "%", "#", "/" and "&". All other unicode chars
(> 127) are written directly as is into the escaped output.

The main effect of this change is that Simantics database URIs will
contain much less escaped characters than before. Since we always deal
with Java String (Unicode) character sequences in Simantics and these
URIs are only valid within Simantics, this approach doesn't really cause
any problems for us.

This implementation is not in accordance with RFC 2396 - Uniform
Resource Identifiers (URI): Generic Syntax but it works for us.

refs #6673

Change-Id: I5279f68993a087b856d58c36d63427562ea1d1e4

8 years agoFixed og.simantics.backup.ontology/build.properties
Tuukka Lehtonen [Tue, 6 Sep 2016 12:24:10 +0000 (15:24 +0300)]
Fixed og.simantics.backup.ontology/build.properties

It contained an extra plugin.xml row which doesn't exist.

refs #6475

8 years agoAdded missing bundles to pom.xml.
Tuukka Lehtonen [Tue, 6 Sep 2016 12:06:33 +0000 (15:06 +0300)]
Added missing bundles to pom.xml.

Missing: org.simantics.acorn, org.simantics.backup{,.db,.ontology}.

refs #6475

8 years agoMerge "Some Acorn improvements"
Tuukka Lehtonen [Tue, 6 Sep 2016 11:45:06 +0000 (14:45 +0300)]
Merge "Some Acorn improvements"

8 years agoInclude acorn db in db.client feature and make it the default db driver 52/52/1
Tuukka Lehtonen [Mon, 5 Sep 2016 20:47:11 +0000 (23:47 +0300)]
Include acorn db in db.client feature and make it the default db driver

refs #6596

Change-Id: I3be497696e5f0876387de5e6b5fb05144df2670b

8 years agoMerge commit '15f7f51'
Tuukka Lehtonen [Mon, 5 Sep 2016 20:09:42 +0000 (23:09 +0300)]
Merge commit '15f7f51'

8 years agoSync git svn branch with SVN repository r33173.
Tuukka Lehtonen [Mon, 5 Sep 2016 20:08:56 +0000 (23:08 +0300)]
Sync git svn branch with SVN repository r33173.

refs #6475

8 years agoFixed org.antlr.runtime inclusion in dev.simupedia.com target definition 51/51/1
Tuukka Lehtonen [Mon, 5 Sep 2016 14:24:01 +0000 (17:24 +0300)]
Fixed org.antlr.runtime inclusion in dev.simupedia.com target definition

refs #6475

Change-Id: I9ce74f8d45fe464576c34616604adfb13c64aed7

8 years agoFix URIStringUtils.needsEscaping to escape chars outside 7-bit ASCII. 49/49/3
Tuukka Lehtonen [Mon, 5 Sep 2016 12:37:50 +0000 (15:37 +0300)]
Fix URIStringUtils.needsEscaping to escape chars outside 7-bit ASCII.

refs #6673

Change-Id: I445d800182d3ecb2d2d7248036fb3b8dfb102e81

8 years agoSome Acorn improvements 48/48/3
jsimomaa [Mon, 5 Sep 2016 12:28:00 +0000 (15:28 +0300)]
Some Acorn improvements

1) Acorn: do not make snapshot if cancelCommit() is called

In some situations it is possible that when cancelCommit() is called
that acorn head.state writing writes nonsense due to
IllegalStateException being thrown from LRUObject.getStateKey()

2) Acorn: use a lock file to lock the current database

Use a lock file to prevent simultaneous usages of same database in Acorn

refs #6596

Change-Id: Ia33b90f85371c48154763f8a603cdce9a61d9ed6

8 years agoMerge commit '4a2d762'
Tuukka Lehtonen [Mon, 5 Sep 2016 11:07:37 +0000 (14:07 +0300)]
Merge commit '4a2d762'

8 years agoSync git svn branch with SVN repository r33166.
Tuukka Lehtonen [Mon, 5 Sep 2016 11:06:50 +0000 (14:06 +0300)]
Sync git svn branch with SVN repository r33166.

refs #6475

8 years agoChanged semantum target platform addresses to public ones. 47/47/1
Tuukka Lehtonen [Mon, 5 Sep 2016 06:16:19 +0000 (09:16 +0300)]
Changed semantum target platform addresses to public ones.

refs #6475

Change-Id: Ib6d7513396c266a8aeda4898429b5f2d16c8f02a

8 years agoMerge commit 'ad8333027322fda6b9a8a524c7a7e15a54c52f38'
Tuukka Lehtonen [Thu, 1 Sep 2016 11:09:40 +0000 (14:09 +0300)]
Merge commit 'ad8333027322fda6b9a8a524c7a7e15a54c52f38'

8 years agoSync git svn branch with SVN repository r33158.
Tuukka Lehtonen [Thu, 1 Sep 2016 11:05:42 +0000 (14:05 +0300)]
Sync git svn branch with SVN repository r33158.

refs #6475

8 years agoMerge "Reverted unintentional MANIFEST.MF change from c160c0a55f"
Tuukka Lehtonen [Mon, 29 Aug 2016 14:13:39 +0000 (17:13 +0300)]
Merge "Reverted unintentional MANIFEST.MF change from c160c0a55f"

8 years agoReverted unintentional MANIFEST.MF change from c160c0a55f 46/46/1
Tuukka Lehtonen [Mon, 29 Aug 2016 14:18:16 +0000 (17:18 +0300)]
Reverted unintentional MANIFEST.MF change from c160c0a55f

refs #6666

Change-Id: I2c999479a2b0c1756fac6f2a1188e2b8fa5fcc4d

8 years agoMerge commit '2ef2a5e5a52f8bfdbb5f2f47be2d3fbdcd2a8834'
Tuukka Lehtonen [Mon, 29 Aug 2016 10:36:39 +0000 (13:36 +0300)]
Merge commit '2ef2a5e5a52f8bfdbb5f2f47be2d3fbdcd2a8834'

8 years agoMerge commit '25b6c25959c1fb3c60bb41cd0e1f0808e7fc3769'
Tuukka Lehtonen [Mon, 29 Aug 2016 10:36:04 +0000 (13:36 +0300)]
Merge commit '25b6c25959c1fb3c60bb41cd0e1f0808e7fc3769'

8 years agoSync git svn branch with SVN repository r33154.
Tuukka Lehtonen [Mon, 29 Aug 2016 10:33:44 +0000 (13:33 +0300)]
Sync git svn branch with SVN repository r33154.

refs #6475

8 years agoSync git svn branch with SVN repository r33153.
Tuukka Lehtonen [Mon, 29 Aug 2016 10:25:38 +0000 (13:25 +0300)]
Sync git svn branch with SVN repository r33153.

refs #6475

8 years agoSpreadsheetCells with Circular References support iterations.
Tuukka Lehtonen [Mon, 29 Aug 2016 10:15:21 +0000 (13:15 +0300)]
SpreadsheetCells with Circular References support iterations.

Default number of iterations is 100 times.
Previously, AstIdentifier visits in CellValueVisitor would throw
IllegalStateException. Now, a FormulaError is returned instead.

refs #6659

8 years agoAdded some enforcement of immutability to structural user component UI's.
Tuukka Lehtonen [Mon, 29 Aug 2016 10:04:26 +0000 (13:04 +0300)]
Added some enforcement of immutability to structural user component UI's.

The changed UI components are:

* UC SCL Script/Module text editors
* UC interface editor

refs #6666

8 years agoSeveral Wiki documentation view improvements.
Tuukka Lehtonen [Mon, 29 Aug 2016 09:17:11 +0000 (12:17 +0300)]
Several Wiki documentation view improvements.

* Pin Selection toggle button added to Documentation view toolbar
* Added support for linking to internal documents within the Simantics database in wiki documentation: [[Media:root://Documents/Document.pdf|This is the anchor text for the created link]]
** DocumentDialect will transform links like this into external links that look like this: [http://simantics-internal/http://Projects/Development%20Project/Project/Documents/Document.pdf This is the anchor text for the created link]
** Obviously external browsers and viewers do not understand these links but when these links are clicked in the Workbench Documentation view, the Browser component location changes are intercepted by the function returned by org.simantics.document.ui.function.All.locationChanging and the workbench's default action is performed for the database resource/variable that the URI in the link resolves to in the Simantics database.
* DiagramViewerSelectionProvider.SelectionElement will now return a the variable of the diagram composite when element selection is the diagram resource itself. This helps the Documentation view show the wiki page of the diagram composite when nothing is selected on the diagram editor.
* Fixed a couple of typos from org.simantics.scl.reflection.internal.registry.Namespace
* org.simantics.views.ontology now supports defining SWT RowLayout/RowData for modelled composites. This is used in the Documentation view to flow all the action buttons above the text editor to separate rows even when the view is not wide enough to fit all buttons on a single row.

refs #6449

8 years agoSearch-field in Help->Contents Fix.
Tuukka Lehtonen [Mon, 29 Aug 2016 09:14:19 +0000 (12:14 +0300)]
Search-field in Help->Contents Fix.

Previously, searching in help contents caused NullPointerException when indexing.
Now, by setting extraDocuments to an empty array before indexing, NullPointer
doesn't occur and indexing proceeds as normal.

refs #6658

8 years agoIncluded org.slf4j.api bundle in org.simantics.rcp feature.
Tuukka Lehtonen [Mon, 29 Aug 2016 09:12:05 +0000 (12:12 +0300)]
Included org.slf4j.api bundle in org.simantics.rcp feature.

The SLF4J API is required by the HDF5 Java interface library (JHI5) in Simantics based products.

refs #6621

8 years agoFixed master Simantics SDK target files. 45/45/1
Tuukka Lehtonen [Mon, 29 Aug 2016 08:24:45 +0000 (11:24 +0300)]
Fixed master Simantics SDK target files.

refs #6475

Change-Id: Id93034d42367a3621256be2fc4d19688839eb49a

8 years agoMerge "Testing SonarQube with Simantics Platform SDK - still"
Jani Simomaa [Fri, 26 Aug 2016 11:56:10 +0000 (14:56 +0300)]
Merge "Testing SonarQube with Simantics Platform SDK - still"

8 years agoTesting SonarQube with Simantics Platform SDK - still 44/44/1
Jani Simomaa [Fri, 26 Aug 2016 11:40:23 +0000 (14:40 +0300)]
Testing SonarQube with Simantics Platform SDK - still

Change-Id: I9aad52c8e9cbcf0606fb17f8c5af6bd5552ded68