]> gerrit.simantics Code Review - simantics/platform.git/log
simantics/platform.git
6 years agoUse synchronized hash map instead of ConcurrentHashMap in LazyModule 84/1684/1
Hannu Niemistö [Tue, 3 Apr 2018 12:15:11 +0000 (15:15 +0300)]
Use synchronized hash map instead of ConcurrentHashMap in LazyModule

refs #7826

Change-Id: I660f5f3312a7d1db49441f02d55864e36c950d74
(cherry picked from commit fca6027f6beef8081d719b078e80b98fb56f7a8a)

6 years agoRace condition fix caused deadlock, allow parallel recomputation 77/1677/1
Hannu Niemistö [Tue, 3 Apr 2018 07:52:58 +0000 (10:52 +0300)]
Race condition fix caused deadlock, allow parallel recomputation

refs #7826

Change-Id: Ib0515c2ae7d3e6d1474f991965307969a439baf7
(cherry picked from commit 1c75fce06a3e89c74d3dccd055a7082e9d0375d7)

6 years agoFail-safe import can now be disabled with a system property 71/1671/1
Tuukka Lehtonen [Mon, 2 Apr 2018 20:54:03 +0000 (23:54 +0300)]
Fail-safe import can now be disabled with a system property

Use the system property -Dorg.simantics.tg.import.failOnMissingEntities@
to disable fail-safe import by settings its value to true.

refs #7850

Change-Id: I2c29d1795ba0c04b16be1798c237651556326bd9
(cherry picked from commit f7c2f46c7c411c5c9dd3323d3cec3a4b8b6a3bbe)

6 years agoImproved subscription CSV export wizard page initial selection handling 68/1668/1
Tuukka Lehtonen [Fri, 30 Mar 2018 07:23:00 +0000 (10:23 +0300)]
Improved subscription CSV export wizard page initial selection handling

Now it supports chart/chart group/chart item selections as well to
initialize the subscription item selection.

refs #7849

Change-Id: Idbfbd979116b932f0d54958a63b01142401366a6
(cherry picked from commit b6f0f7aa4de4c172a830ef9087749e38185a8edf)

6 years agoImproved network-drive-resilience in index directory creation 56/1656/1
Tuukka Lehtonen [Mon, 26 Mar 2018 11:52:39 +0000 (14:52 +0300)]
Improved network-drive-resilience in index directory creation

In a product, the removed Files.exists(p) && !Files.isDirectory(p) code
threw an exception because the examined path was not guaranteed to be in
a coherent state at the time of examination but Files.createDirectories
would still take care of throwing any exceptions if there were any
problems in creating the directory.

The worst thing was that this exception was hidden and not even logged.
Luckily a problem case forced the find.

refs #7845

Change-Id: Ic3ae84afeb798772996057eee33f7467c448f3e7

6 years agoOnly claim new identifier if instance L0.TypeWithIdentifier 53/1653/1
Tuukka Lehtonen [Mon, 26 Mar 2018 08:29:34 +0000 (11:29 +0300)]
Only claim new identifier if instance L0.TypeWithIdentifier

Fixed long-standing bug from CopyComponentAdvisor which added
identifiers for non-STR.Component instances which has started causing
problems in team server products in version comparisons.

refs #7842

Change-Id: Iac3e604993ec579cd8feb443843af944a8fa01f3
(cherry picked from commit c912edf13bf5a91b2f6dc855f54d8728aa0a64f5)

6 years agoImproved usability of shared library export wizard 47/1647/1
Tuukka Lehtonen [Fri, 23 Mar 2018 14:06:36 +0000 (16:06 +0200)]
Improved usability of shared library export wizard

Now allows selection of the exported shared library from the combo box
and does not allow the user to export any model-browser-selected
resource but only shared ontologies.

refs #7130

Change-Id: I19356805e37242967cb3bec7f26bb96689248d89
(cherry picked from commit bd8834c00c213045b3967794f5841f5f33bd809c)

6 years agoAllow client-logic in component type interface property name editing 34/1634/1
Tuukka Lehtonen [Thu, 22 Mar 2018 16:00:37 +0000 (18:00 +0200)]
Allow client-logic in component type interface property name editing

refs #7838

Change-Id: I17cebd2f303b2713444eeba5b4480657e3fba057
(cherry picked from commit 6bf51de1941aa1dc5ee0a3aa8c50d53168b0c068)

6 years agoMerge "Include Jaxen in org.simantics.scl.feature to keep JDom2 happy" into release...
Tuukka Lehtonen [Wed, 21 Mar 2018 20:09:01 +0000 (22:09 +0200)]
Merge "Include Jaxen in org.simantics.scl.feature to keep JDom2 happy" into release/1.33.0

6 years agoInclude Jaxen in org.simantics.scl.feature to keep JDom2 happy 23/1623/1
Tuukka Lehtonen [Wed, 21 Mar 2018 19:41:43 +0000 (21:41 +0200)]
Include Jaxen in org.simantics.scl.feature to keep JDom2 happy

refs #7833

Change-Id: I5bb045780b7463c357acb596dd18d535d394b7c8

6 years agoIncluded Jaxen in the platform's external-components 20/1620/1
Tuukka Lehtonen [Wed, 21 Mar 2018 16:07:51 +0000 (18:07 +0200)]
Included Jaxen in the platform's external-components

JDom2 requires Jaxen in its classpath to perform non-validating XML
parsing and it is not available at the moment in its classpath.

refs #7833

Change-Id: I961370f9c09c10dd61fe49f0147cd32716f010ef
(cherry picked from commit 7552ff1578c53bb92e7bba8af9d69d50dcdc2f29)
(cherry picked from commit 6890c93f4d9b181382f423d5468074ca0bbd065e)

6 years agoIndexedRelationsSearcherBase possible deadlock with semaphore 01/1601/1
jsimomaa [Thu, 8 Mar 2018 07:56:08 +0000 (09:56 +0200)]
IndexedRelationsSearcherBase possible deadlock with semaphore

refs #7805

Change-Id: I0a3e7d03b648d2b03b187baf171c0c95b4b7abb9
(cherry picked from commit 3826e289058a51d09310b7ba1251e959dc0ed3d0)

6 years agoFixed race condition in getValues/Relations/EntityTypes 95/1595/1
Hannu Niemistö [Sun, 18 Mar 2018 20:45:52 +0000 (22:45 +0200)]
Fixed race condition in getValues/Relations/EntityTypes

refs #7826

Change-Id: I30842b6fe067b58c6916679804f56ed20b821ada
(cherry picked from commit 9ea5cf59a4d87c3db3a486e86d7b54efffd5516d)

6 years agoExport org.simantics.modeling.ui.scl package from os.modeling.ui 83/1583/1
Tuukka Lehtonen [Thu, 15 Mar 2018 15:07:04 +0000 (17:07 +0200)]
Export org.simantics.modeling.ui.scl package from os.modeling.ui

refs #7823

Change-Id: I299da65fed3a7670ead3fae1b02ea6166124100b
(cherry picked from commit 3e4f9c4926e49efb26785e47a234de013a7ef15e)

6 years agoAdded more createRun utility functions to ExperimentRuns 13/1513/1
Tuukka Lehtonen [Wed, 28 Feb 2018 11:08:16 +0000 (13:08 +0200)]
Added more createRun utility functions to ExperimentRuns

The new functions directly take WriteGraph as input to allow clients to
create an experiment run within one write transaction and still work on
it afterwards.

refs #7790

Change-Id: I49c86df960ec9a42d7dfa3fdba95315398ec6f65
(cherry picked from commit 52f757730dc0355e187d36e745cb7b57375766ee)

6 years agoConfigured release/1.33.0 branch for SDK builds 09/1509/1
Tuukka Lehtonen [Tue, 27 Feb 2018 20:13:53 +0000 (22:13 +0200)]
Configured release/1.33.0 branch for SDK builds

refs #7712

Change-Id: Id2b664adcc5ff940684708f5d391b9d63e54ce23

6 years agoFix to a NatTable-based graph explorer issue (fixes #7787) 07/1507/1
Reino Ruusu [Tue, 27 Feb 2018 14:38:52 +0000 (16:38 +0200)]
Fix to a NatTable-based graph explorer issue (fixes #7787)

Change-Id: I53e073f06fe4f487e2145879d8c545292a5de08d

6 years agoFix to NatTable graph explorer issue. (fixes #7786) 06/1506/1
Reino Ruusu [Tue, 27 Feb 2018 14:35:06 +0000 (16:35 +0200)]
Fix to NatTable graph explorer issue. (fixes #7786)

Change-Id: I4de3502e86eebc5de915ca91311a4026edac3f5a

6 years agoSimanticsPlatform.startUp ensures updateness of installed feature groups 90/1490/1
Tuukka Lehtonen [Wed, 21 Feb 2018 10:58:32 +0000 (12:58 +0200)]
SimanticsPlatform.startUp ensures updateness of installed feature groups

Previously the installed feature group update code was only executed
when the workspace was first initialized. This does work when new
features are installed into Simantics programs running on existing
workspaces.

refs #7005

Change-Id: I5879c398c966dc5d0e15344569b37610703d5e51

6 years agoDefer change set disposal in State.commitWriteTransaction 88/1488/1
Tuukka Lehtonen [Wed, 21 Feb 2018 10:21:35 +0000 (12:21 +0200)]
Defer change set disposal in State.commitWriteTransaction

The change set was still used after disposal in notifying db change
listeners.

refs #6233

Change-Id: I3e9f49ea084703afdc2129162402ab592f2f3f72

6 years agoFixed InvertBasicExpressionVisitor.invert to keep inverted value type 86/1486/1
Tuukka Lehtonen [Tue, 20 Feb 2018 22:26:16 +0000 (00:26 +0200)]
Fixed InvertBasicExpressionVisitor.invert to keep inverted value type

Previously the code would convert all Number-values to Double instead of
passing the inverted value to Variable.setValue in the same type the
original non-inverted value was in.

refs #7777

Change-Id: I78771698d3e2222ede47969e3cceea2166c23a75

6 years agoDon't report ResourceNotFoundExceptions when looking for browse context 85/1485/2
Tuukka Lehtonen [Tue, 20 Feb 2018 15:02:09 +0000 (17:02 +0200)]
Don't report ResourceNotFoundExceptions when looking for browse context

This changes the code to behave like it did before commit 1dfeb7d5 as
intended.

refs #7719

Change-Id: I4fa9ae5114713d4e61acd1363a5369d16e1a5043

6 years agoDispose ClientChangesImpl ChangeSets to minimize memory footprint 74/1474/7
Tuukka Lehtonen [Fri, 16 Feb 2018 13:09:29 +0000 (15:09 +0200)]
Dispose ClientChangesImpl ChangeSets to minimize memory footprint

This change stems from the fact that
org.simantics.db.common.changeset.GenericChangeListener gives ChangeSets
as an argument to DB requests which can leave strong references to the
ChangeSet instances in the DB QueryProcessor until the DB client
garbage collects these requests. Usually DB client request parameters
should be immutable, but in this case the request is never listened to
for changes so it is OK dispose of the ChangeSet parameter after all
DB ChangeListeners are notified.

This change adds a Disposable implementation to ClientChangesImpl which
minimizes the memory footprint of the class down to 192 bytes compared
to ~2^17 bytes. The instances can take up a very considerable amount of
memory if not disposed. It has not been uncommon to see multiple
gigabytes of memory being spent by these byte[] buffers that are not
really used anymore but still referenced.

Once more note that this is not a case of memory leakage but simply bad
use of memory through over-sized buffers that were GC'ed eventually.

refs #6233

Change-Id: I2e96754f106602a4986c37187a9af3bbd64356dc

6 years ago(refs #7776) Fixed module export for javaImports 82/1482/2
Hannu Niemistö [Tue, 20 Feb 2018 08:53:57 +0000 (10:53 +0200)]
(refs #7776) Fixed module export for javaImports

Change-Id: I50a5f635445d1b1d1df9dfc3ea0195f0859f86c0

6 years agoRemoved unused but similarly buggy code to fb2f890c from WriteBindings 75/1475/2
Tuukka Lehtonen [Fri, 16 Feb 2018 13:27:23 +0000 (15:27 +0200)]
Removed unused but similarly buggy code to fb2f890c from WriteBindings

refs #7770

Change-Id: I3750d0272c3fd4a228fe2c943dcf331955cbcee5

6 years agoImprovements to HTTP client SCL API 71/1471/1
Jussi Koskela [Thu, 15 Feb 2018 13:10:59 +0000 (15:10 +0200)]
Improvements to HTTP client SCL API

Added support for: POST, PUT, DELETE, asynchronous requests, forms,
media types, multi part content, reading response status.

refs #7774

Change-Id: I5220ae0a3bb07b616f9e54c0668a52607114b7a1

6 years agoAdd Future to SCL API 69/1469/1
Jussi Koskela [Thu, 15 Feb 2018 10:48:51 +0000 (12:48 +0200)]
Add Future to SCL API

refs #7772

Change-Id: Ibcc74f90e3111b720d8969a393e2b115bbeefd72

6 years agoAdd support for strings that are longer than 127 characters 66/1466/2
Antti Villberg [Thu, 15 Feb 2018 09:05:53 +0000 (11:05 +0200)]
Add support for strings that are longer than 127 characters

refs #7770

Change-Id: I60990b0f3a0c8051abc43b824df1a88afc07bc87

6 years agosetSystemProperty function to Simantics/Misc SCL-module 65/1465/2
jsimomaa [Thu, 15 Feb 2018 08:54:00 +0000 (10:54 +0200)]
setSystemProperty function to Simantics/Misc SCL-module

refs #7769

Change-Id: I6e1969bf09f0267b706242ad80b483fd11db140d

6 years agoRemove fixed "testlog" as client id and read from system property 64/1464/2
jsimomaa [Thu, 15 Feb 2018 08:53:18 +0000 (10:53 +0200)]
Remove fixed "testlog" as client id and read from system property

refs #7768

Change-Id: I673f29eccc06c8375811fe5da557d506737209c2

6 years agoMerge "(refs #7771) Fixed invalid inline"
Hannu Niemistö [Thu, 15 Feb 2018 10:34:48 +0000 (12:34 +0200)]
Merge "(refs #7771) Fixed invalid inline"

6 years ago(refs #7767) SafeDynamic module 63/1463/2
Hannu Niemistö [Thu, 15 Feb 2018 08:35:07 +0000 (10:35 +0200)]
(refs #7767) SafeDynamic module

Change-Id: I7691aa77ab048f71b7906512bd6962bd52b2e230

6 years ago(refs #7771) Fixed invalid inline 67/1467/1
Hannu Niemistö [Thu, 15 Feb 2018 09:13:09 +0000 (11:13 +0200)]
(refs #7771) Fixed invalid inline

Change-Id: I7b28d6915e792bc9fe858c701d1138f9082dcea3

6 years agoModify createTempFile to make files to $TEMP by default 47/1447/1
jsimomaa [Sat, 10 Feb 2018 15:08:35 +0000 (17:08 +0200)]
Modify createTempFile to make files to $TEMP by default

refs #7761

Change-Id: I834187ce78d2c23d9a92ddb77e9a5257b826910f

6 years agoAdded more TransferableGraphs.writeTransferableGraph methods 39/1439/1
Tuukka Lehtonen [Fri, 9 Feb 2018 08:26:29 +0000 (10:26 +0200)]
Added more TransferableGraphs.writeTransferableGraph methods

* writeTransferableGraph(RequestProcessor,
                         TransferableGraphSource,
                         File,
                         TGStatusMonitor)
  writes the specified TG source into the specified file as a variant
  (i.e. datatype + data)
* writeTransferableGraphVariant(RequestProcessor,
                                TransferableGraphSource,
                                RandomAccessBinary,
                                TGStatusMonitor)
  writes the specified TG source into the specified output binary file
  as a variant (i.e. datatype + data)

refs #7758

Change-Id: Ia50a1ce9c461681ac10be73674fa0e5e9c22b404

6 years agoFixed index query regression in L0.Entity instance queries 34/1434/1
Tuukka Lehtonen [Thu, 8 Feb 2018 21:14:16 +0000 (23:14 +0200)]
Fixed index query regression in L0.Entity instance queries

L0.Entity queries no longer returned any results after the changes done
in #7415.

refs #7753

Change-Id: I7f24b200b410606f93b5f8be7dd0c50de4fd7097
(cherry picked from commit bd2e11cd11e6f5caca215c7546e870564d2c80d4)

6 years agoMerge "Query control functions into Simantics/DB"
Tuukka Lehtonen [Thu, 8 Feb 2018 09:50:52 +0000 (11:50 +0200)]
Merge "Query control functions into Simantics/DB"

6 years agoQuery control functions into Simantics/DB 32/1432/3
Antti Villberg [Wed, 7 Feb 2018 12:53:32 +0000 (14:53 +0200)]
Query control functions into Simantics/DB

refs #7752

Change-Id: I6de90fddcf5cb3b1834a096c8238f63ea6a7d33a

6 years agoFixed org.simantics.modeling.tests to be a normal plug-in
Tuukka Lehtonen [Wed, 7 Feb 2018 19:01:21 +0000 (21:01 +0200)]
Fixed org.simantics.modeling.tests to be a normal plug-in

Previously Tycho's pomless build seems to have thought
of it as a test-plugin automatically because of its name.

refs #7422
refs #7712

(cherry picked from commit cd63fe4ecc67014d294685faeb1bd4334b74d658)

6 years agoAdded org.simantics.modeling.tests to org.simantics.sdk.feature
Tuukka Lehtonen [Wed, 7 Feb 2018 14:00:19 +0000 (16:00 +0200)]
Added org.simantics.modeling.tests to org.simantics.sdk.feature

refs #7422
refs #7712

6 years agoMerge "(refs #7751) Added orElseM"
Hannu Niemistö [Wed, 7 Feb 2018 12:34:18 +0000 (14:34 +0200)]
Merge "(refs #7751) Added orElseM"

6 years ago(refs #7751) Added orElseM 29/1429/1
Hannu Niemistö [Wed, 7 Feb 2018 12:20:34 +0000 (14:20 +0200)]
(refs #7751) Added orElseM

Change-Id: I365c89a1d4ad60b1763854b6d6cd0a3a94e1ab49

6 years agoAnother version of shared ontology import which returns the roots (SCL) 27/1427/1
Jussi Koskela [Wed, 7 Feb 2018 10:53:58 +0000 (12:53 +0200)]
Another version of shared ontology import which returns the roots (SCL)

refs #7749

Change-Id: I01079e807e23efa123d3ac025ddc793f663b8017

6 years agoMerge "Customisable selection padding on diagrams"
Tuukka Lehtonen [Wed, 7 Feb 2018 07:08:13 +0000 (09:08 +0200)]
Merge "Customisable selection padding on diagrams"

6 years agoCustomisable selection padding on diagrams 25/1425/2
Antti Villberg [Wed, 7 Feb 2018 06:16:18 +0000 (08:16 +0200)]
Customisable selection padding on diagrams

refs #7747

Change-Id: I884be9b927a35e77ef23167c06eb7b836297002d

6 years ago(refs #7746) Fixed applications with intermediate effects 24/1424/2
Hannu Niemistö [Tue, 6 Feb 2018 12:25:27 +0000 (14:25 +0200)]
(refs #7746) Fixed applications with intermediate effects

Change-Id: Ida2b7c8e96cbfd45361838e69900a7307e69e343

6 years agoMore options for SCL progress monitoring 22/1422/2
Antti Villberg [Tue, 6 Feb 2018 06:16:29 +0000 (08:16 +0200)]
More options for SCL progress monitoring

#7744

Change-Id: I10169845aa780ce6f351ea54fde814d8d2f0eee8

6 years agoAbstractResponseHandler uses wrong identity 21/1421/2
Antti Villberg [Tue, 6 Feb 2018 06:15:30 +0000 (08:15 +0200)]
AbstractResponseHandler uses wrong identity

refs #7743

Change-Id: I3faabdf8b096758a5fd67c5229a011601083de49

6 years agoFixed yet another fallout bug caused by commit b9b77f42 20/1420/1
Tuukka Lehtonen [Mon, 5 Feb 2018 14:19:35 +0000 (16:19 +0200)]
Fixed yet another fallout bug caused by commit b9b77f42

refs #7742

Change-Id: I2a267c11e5e9a151352d08beab38b604368fbdc1

6 years agoFix rollingFileAppender fileNamePattern in logback.xml 18/1418/1
jsimomaa [Fri, 2 Feb 2018 10:50:57 +0000 (12:50 +0200)]
Fix rollingFileAppender fileNamePattern in logback.xml

refs #7740

Change-Id: Ibcc6f3b19f4d159ee75a42640f000299061ac5c9

6 years agoAdd SubMonitor features to UI/Progress SCL-module 16/1416/1
jsimomaa [Thu, 1 Feb 2018 07:55:16 +0000 (09:55 +0200)]
Add SubMonitor features to UI/Progress SCL-module

refs #7738

Change-Id: Id65d40a133f443b005f8dbe93c015d6c6150f6ee

6 years agoFix opening of SCL-definitions 15/1415/1
jsimomaa [Thu, 1 Feb 2018 06:43:06 +0000 (08:43 +0200)]
Fix opening of SCL-definitions

refs #7733

Change-Id: Iffab8f3330d2b491c6ec29728271c2f1a260d3b4

6 years agoFixed leftover problems in unification of *Array and Vector types 13/1413/1
Tuukka Lehtonen [Wed, 31 Jan 2018 14:58:34 +0000 (16:58 +0200)]
Fixed leftover problems in unification of *Array and Vector types

The fix was to remove the leftover `Show DoubleArray` instance from
Prelude.

ConstraintEnvironment.reduce now produces better error output in cases
where reduction cannot be completed due to multiple remaining matches.

refs #7734

Change-Id: Id970c1090f5bf951c94e99e645664e86b1adb42d

6 years agoFix TG export regression caused by commit b9b77f42 12/1412/5
Antti Villberg [Wed, 31 Jan 2018 12:58:37 +0000 (14:58 +0200)]
Fix TG export regression caused by commit b9b77f42

refs #7728

Change-Id: I37bba678fbc756484b8b58514461f68f9b12e5f6

6 years agoSafely set part name and tooltip in ResourceEditorPart 11/1411/2
jsimomaa [Wed, 31 Jan 2018 10:29:40 +0000 (12:29 +0200)]
Safely set part name and tooltip in ResourceEditorPart

refs #7737

Change-Id: I5704e9189d18baf449f419026a1876cca3c02870

6 years agoGetting rid of *Array and replace with Vector * (SCL) 08/1408/4
jsimomaa [Tue, 30 Jan 2018 11:39:17 +0000 (13:39 +0200)]
Getting rid of *Array and replace with Vector * (SCL)

refs #7734

Change-Id: Ibc97edbd65de8363dcd77e141ac518287a07bff2

6 years agoAdding getBytes for String in SCL 06/1406/2
jsimomaa [Tue, 30 Jan 2018 09:13:05 +0000 (11:13 +0200)]
Adding getBytes for String in SCL

refs #7732

Change-Id: Ic340712ffbbc6944c0b31e2420f6adfacce29eaf

6 years agoFix annoying editor focus jumping with Ctrl+Shift+D/M 07/1407/3
jsimomaa [Tue, 30 Jan 2018 11:10:31 +0000 (13:10 +0200)]
Fix annoying editor focus jumping with Ctrl+Shift+D/M

refs #7733

Change-Id: Ie3fd1bb97b67de77b3a6e82bc5690835caec08e2

6 years agoAdded syncActivateModel function for deterministic SCL script execution 03/1403/3
Tuukka Lehtonen [Mon, 29 Jan 2018 13:54:46 +0000 (15:54 +0200)]
Added syncActivateModel function for deterministic SCL script execution

syncActivateModel works directly by invoking the old activeModel
function and then waiting until all related activities are finished by
using the old trusty Simantics/Misc/syncGraph function.

refs #7730

Change-Id: Ib75bc3c33e1dcf6b5c46d61dffdcd106f451730a

6 years agoClean up and support internal seed resources in tg export 02/1402/2
Antti Villberg [Mon, 29 Jan 2018 07:27:55 +0000 (09:27 +0200)]
Clean up and support internal seed resources in tg export

refs #7728

Change-Id: I95abd44fe4dea1ec639c4b8a328bdbfb0de3d4ae

6 years agoFixed SCL Console Clear Console active-state when imports are erroneous 01/1401/1
Tuukka Lehtonen [Fri, 26 Jan 2018 11:33:10 +0000 (13:33 +0200)]
Fixed SCL Console Clear Console active-state when imports are erroneous

Current imports were set too early in SCLConsoleView which before the
SCLConsoleListener that enables the buttons is registered.

refs #7727

Change-Id: I7cb0645bea5dc48a4ad54f2147c83cb8dfb2f35f

6 years agoRemoved graphviz dependency from org.simantics.browsing.ui.model 95/1395/2
Tuukka Lehtonen [Mon, 22 Jan 2018 11:15:04 +0000 (13:15 +0200)]
Removed graphviz dependency from org.simantics.browsing.ui.model

refs #7721

Change-Id: Ie4aec36287f8f37d11a75d560180350b283fbad4

6 years agoFixing Logger fallout from commit 1dfeb7d5 93/1393/1
Tuukka Lehtonen [Mon, 22 Jan 2018 11:04:53 +0000 (13:04 +0200)]
Fixing Logger fallout from commit 1dfeb7d5

refs #7719

Change-Id: I1aa2844d7c794d5e162cf1d98d4b73f19dd5ec22

6 years agoMoved org.simantics.issues.ui.ontology to org.simantics.issues.feature 91/1391/2
Tuukka Lehtonen [Fri, 19 Jan 2018 13:50:54 +0000 (15:50 +0200)]
Moved org.simantics.issues.ui.ontology to org.simantics.issues.feature

org.simantics.issues.common depends on org.simantics.issues.ui.ontology
now anyway, and the ontology plug-in, albeit is UI related, does not
have any direct dependency to any UI code anyway.

refs #7720

Change-Id: Ie42682895cb7de1a455f849f2ea481317144b4f7

6 years agoAdd RollingFileAppender to default logback configuration 90/1390/1
jsimomaa [Fri, 19 Jan 2018 11:32:48 +0000 (13:32 +0200)]
Add RollingFileAppender to default logback configuration

refs #7719

Change-Id: I2e04f76b3b5ce13f984e796901bf76ac81f8766a

6 years agoReplace System.err and System.out with SLF4J Logging 86/1386/2
jsimomaa [Wed, 17 Jan 2018 09:22:13 +0000 (11:22 +0200)]
Replace System.err and System.out with SLF4J Logging

refs #7719

Change-Id: Iae42f94b542b17bc2e1aa839f506a6e1a46928ae

6 years agoAdded migration step implementation for changing InstanceOf statements 84/1384/5
Tuukka Lehtonen [Mon, 15 Jan 2018 14:29:39 +0000 (16:29 +0200)]
Added migration step implementation for changing InstanceOf statements

refs #7717

Change-Id: I0f427b5f222feae9b74d9e2d3d82becb0cda46af

6 years agoUse transient listener caching for NodePropertyTester requests 85/1385/2
Tuukka Lehtonen [Mon, 15 Jan 2018 08:39:54 +0000 (10:39 +0200)]
Use transient listener caching for NodePropertyTester requests

refs #7718

Change-Id: I6ccb4ef720c4fe8677c78e58fe7ee273caa7ddae

6 years agoAdded Variable/Resource type information for DnD'd entities to JSON 70/1370/3
Tuukka Lehtonen [Fri, 12 Jan 2018 09:16:46 +0000 (11:16 +0200)]
Added Variable/Resource type information for DnD'd entities to JSON

refs #7715

Change-Id: I238e9b036a9c781ef8910bd5d6125b220e32f41e

6 years agoExport auditlogging package & fix server address prefix check 66/1366/1
jsimomaa [Tue, 9 Jan 2018 14:25:22 +0000 (16:25 +0200)]
Export auditlogging package & fix server address prefix check

refs #7684

Change-Id: I8d6cb285256d9fa909cae7c458b04be4290db54a

6 years agoMinor NPE fix for auditlogging 65/1365/1
jsimomaa [Tue, 9 Jan 2018 12:51:02 +0000 (14:51 +0200)]
Minor NPE fix for auditlogging

refs #7684

Change-Id: I86f892bf133b1965d9631ce82ddf02b78ec88a5a

6 years agoUpdated release engineering instructions 63/1363/1
Tuukka Lehtonen [Mon, 8 Jan 2018 13:57:25 +0000 (15:57 +0200)]
Updated release engineering instructions

refs #7712

Change-Id: I511149845a69a686832665bcc95ac854ee00bbe4

6 years agoBumped master target and org.simantics.sdk versions to 1.33.0 62/1362/1
Tuukka Lehtonen [Mon, 8 Jan 2018 13:06:40 +0000 (15:06 +0200)]
Bumped master target and org.simantics.sdk versions to 1.33.0

refs #7712

Change-Id: Ifd56d8887366e0988b9b148dfe663fb09904e830

6 years agoImproved exception message 60/1360/1
Tuukka Lehtonen [Mon, 8 Jan 2018 11:01:00 +0000 (13:01 +0200)]
Improved exception message

refs #7422

Change-Id: I5179ed29a7b660f4574101f5358820a860e66c72

6 years agoFixed MigrationUtils.importTo root activation to use virtual graph 59/1359/2
Tuukka Lehtonen [Mon, 8 Jan 2018 09:06:28 +0000 (11:06 +0200)]
Fixed MigrationUtils.importTo root activation to use virtual graph

Also made the activation optional based on the new migration state key
MigrationKeys.ACTIVATE_ROOT_IF_NONE_ACTIVE.

refs #7686

Change-Id: I8b7c5868231c3b258bb1ad7f63fa96ba42390f24

6 years agoAuditLogging improvements for easier unit testing 56/1356/2
jsimomaa [Mon, 8 Jan 2018 05:54:46 +0000 (07:54 +0200)]
AuditLogging improvements for easier unit testing

refs #7684

Change-Id: I6f4b10d2344b4588582f2558b9fda75f6d20145a

6 years agoFixing duplicate entries from SCL search result page 50/1350/4
jsimomaa [Thu, 4 Jan 2018 11:24:45 +0000 (13:24 +0200)]
Fixing duplicate entries from SCL search result page

refs #7683

Change-Id: Ie57502323d18be7106f1264688b2a500bc37465d

6 years agoclaimWithInverse & possibleInverseOf function to DB.scl 53/1353/1
jsimomaa [Fri, 5 Jan 2018 18:48:47 +0000 (20:48 +0200)]
claimWithInverse & possibleInverseOf function to DB.scl

refs #7709

Change-Id: I2869df644ca01b77212d34ffbf11af85c3da7946

6 years agowrite method to Files.scl 51/1351/3
Antti Villberg [Fri, 5 Jan 2018 16:17:28 +0000 (18:17 +0200)]
write method to Files.scl

refs #7707

Change-Id: I9c7e249461da388b94d3b12af48f17523cddddf5

6 years agoCDATA support to Data/XML 52/1352/2
Antti Villberg [Fri, 5 Jan 2018 16:18:31 +0000 (18:18 +0200)]
CDATA support to Data/XML

#7708

Change-Id: I6a2e9e05b4f79e83a11b4051658832053feadff9

6 years agoList SCL references in order of reference location in search results 49/1349/2
Jussi Koskela [Thu, 4 Jan 2018 08:24:58 +0000 (10:24 +0200)]
List SCL references in order of reference location in search results

refs #7683

Change-Id: I8842ffad7133a4dddf98e691f741ba8dbe48a95c

6 years agoAdd more Throwable & Exception handling functionality to Prelude 48/1348/3
jsimomaa [Thu, 4 Jan 2018 07:56:34 +0000 (09:56 +0200)]
Add more Throwable & Exception handling functionality to Prelude

refs #7705

Change-Id: Ie335d3e8f7dacb0da66d0bb1491862fb054c61cb

6 years agoAdded <Proc>-effect for function pmap in Async module 47/1347/1
jsimomaa [Thu, 4 Jan 2018 07:19:15 +0000 (09:19 +0200)]
Added <Proc>-effect for function pmap in Async module

refs #7703

Change-Id: I435c69382b0e7a242c393f8529fd6ca40b4a68ed

6 years agoAdded a new function pmap to Async module 44/1344/1
Hannu Niemistö [Wed, 3 Jan 2018 11:09:24 +0000 (13:09 +0200)]
Added a new function pmap to Async module

refs #7703

Change-Id: I848203393d115a0c8f9bbbfbf80e47f35f17616d

6 years agoFall back to HasName if HasResourceName not available for GraphFile 40/1340/5
jsimomaa [Fri, 29 Dec 2017 11:21:36 +0000 (13:21 +0200)]
Fall back to HasName if HasResourceName not available for GraphFile

Also adding watching of externally opened files and writeback for data
changed by the external editor

Now with hashed URI based filename

refs #7699

Change-Id: I2eadb539d599b0e55840e0fd7f141e44004833fc

6 years agoMerge "Print console messages to IDE by default"
Hannu Niemistö [Fri, 29 Dec 2017 09:43:23 +0000 (11:43 +0200)]
Merge "Print console messages to IDE by default"

6 years agoFixed a bug related to the extent of variable frames (see test case) 39/1339/1
Hannu Niemistö [Fri, 29 Dec 2017 08:49:21 +0000 (10:49 +0200)]
Fixed a bug related to the extent of variable frames (see test case)

refs #7698

Change-Id: I18879f6cffb9f796f673f697711249c962b1e073

6 years agoPrint console messages to IDE by default 38/1338/2
Antti Villberg [Thu, 28 Dec 2017 11:03:36 +0000 (13:03 +0200)]
Print console messages to IDE by default

#7697

Change-Id: Ibb08764c4d41f17cd7bc084b6d1b99ed2af09bdd

6 years agoMove scaling of SelectionNodes to upper g-element with transform 37/1337/2
jsimomaa [Thu, 28 Dec 2017 09:12:32 +0000 (11:12 +0200)]
Move scaling of SelectionNodes to upper g-element with transform

refs #7696

Change-Id: Ibc4502c9adad9be6fb71801b042ec8464baac283

6 years agoAdd missing feature requirement from o.s.tests.modelled.ui.feature 35/1335/2
jsimomaa [Wed, 27 Dec 2017 06:48:27 +0000 (08:48 +0200)]
Add missing feature requirement from o.s.tests.modelled.ui.feature

refs #7694

Change-Id: I70eaafce289ec07dc77282f239798da4e53d2022

7 years agoCompilation of SCL expressions from SCL 36/1336/1
Hannu Niemistö [Wed, 27 Dec 2017 12:12:55 +0000 (14:12 +0200)]
Compilation of SCL expressions from SCL

refs #7695

Change-Id: I053be9e6d4197ad563a31f09e21c6bea89c3e5ed

7 years agoGeneric HTTP REST Client/Server AuditLogging framework 23/1323/6
jsimomaa [Fri, 15 Dec 2017 12:21:43 +0000 (14:21 +0200)]
Generic HTTP REST Client/Server AuditLogging framework

refs #7684

Change-Id: Ia861758f0e23a4bc55edeffd946030fff4e52121

7 years agoUse listener as listener in TimeoutingRequest 33/1333/1
Antti Villberg [Thu, 21 Dec 2017 11:35:35 +0000 (13:35 +0200)]
Use listener as listener in TimeoutingRequest

refs #7692

Change-Id: I94aafae16131f3d7a9c688d3861db5b3f56dea1b

7 years agoRead previous BTree modification count from the graph 30/1330/2
Jussi Koskela [Wed, 20 Dec 2017 06:52:49 +0000 (08:52 +0200)]
Read previous BTree modification count from the graph

Modification count is used when generating unique names for the
resources. We should continue from the previous modification count
whenever creating new BTree object to work on.

refs #7690

Change-Id: I446af8ad22157a1c64c984071ae6c36cae374935

7 years agoFix possible NPE in SCLExpressionIssueProvider 29/1329/1
jsimomaa [Wed, 20 Dec 2017 06:34:26 +0000 (08:34 +0200)]
Fix possible NPE in SCLExpressionIssueProvider

refs #7689

Change-Id: If7c4cad3b5ae238d90dd03e1d40f2aec2f597276

7 years agonameOfFile into File module 27/1327/2
Antti Villberg [Mon, 18 Dec 2017 10:23:15 +0000 (12:23 +0200)]
nameOfFile into File module

refs #7687

Change-Id: Ieebb374f811c3d9641065fdd3d8e34c631988eb7

7 years agoFixing missing eclipse.search references. 28/1328/1
Marko Luukkainen [Mon, 18 Dec 2017 10:38:40 +0000 (12:38 +0200)]
Fixing missing eclipse.search references.

refs #7688

Change-Id: I047e913267620c2c3fc59ddd311f87f022b957ee

7 years agoDisable model activation during model migration 26/1326/1
Marko Luukkainen [Mon, 18 Dec 2017 09:09:11 +0000 (11:09 +0200)]
Disable model activation during model migration

refs #7686

Change-Id: Ide98ff661dba6b863923ebe4ca795bf03d77a2e1

7 years agoFind SCL references in SCLModuleEditor with Ctrl+Shift+G 25/1325/2
jsimomaa [Mon, 18 Dec 2017 09:00:53 +0000 (11:00 +0200)]
Find SCL references in SCLModuleEditor with Ctrl+Shift+G

Add missing .project-file to org.simantics.scl.ui.feature

refs #7683

Change-Id: I2faf6c39b74a011e841704a6c7ff54aa0fdf9763

7 years agoFind SCL references in SCLModuleEditor with Ctrl+Shift+G 21/1321/3
jsimomaa [Fri, 15 Dec 2017 10:57:37 +0000 (12:57 +0200)]
Find SCL references in SCLModuleEditor with Ctrl+Shift+G

refs #7683

Change-Id: I553e61518a16f2b711b82f41576e07b3f99df1ba