]>
gerrit.simantics Code Review - simantics/platform.git/log
Marko Luukkainen [Wed, 19 Jun 2019 11:00:03 +0000 (14:00 +0300)]
Update to io.grcp 1.21.0 and protobuf 3.7.1
GRPC is available via third-party repo.
gitlab #308
Change-Id: I17261abf736782a055f0d6e580052079335d09a8
Marko Luukkainen [Tue, 18 Jun 2019 14:01:23 +0000 (17:01 +0300)]
Update to io.grcp 1.21.0 and protobuf 3.7.1
Trying a workaround for split package conflicts.
gitlab #308
Change-Id: I73625512c49eef5380752cd43e15b2708351a495
Marko Luukkainen [Tue, 18 Jun 2019 12:15:55 +0000 (15:15 +0300)]
Update to io.grcp 1.21.0 and protobuf 3.7.1
Dependency fix: grpc.core -> io.grpc.core
gitlab #308
Change-Id: I26c6f999a84c95fb742ffba923e916521e662199
Marko Luukkainen [Tue, 18 Jun 2019 11:46:07 +0000 (14:46 +0300)]
Updated target platform for io.grpc 1.21.0 / protobuf 3.7.1
Change-Id: I61f3d2f9be003c5f540d3c3b363fb9715ce8ec20
Marko Luukkainen [Tue, 18 Jun 2019 10:22:00 +0000 (13:22 +0300)]
Update to io.grcp 1.21.0 and protobuf 3.7.1
gitlab #308
Change-Id: I106491d49c449045e990f2e01d814479fda83820
Marko Luukkainen [Fri, 14 Sep 2018 10:28:55 +0000 (13:28 +0300)]
Expose History REST API implementation to other plug-ins
gitlab #123
Change-Id: If99ceb8b6c0349b4be57b8f9cd10e93abf5356e5
(cherry picked from commit
d3e012391b3e1cf74d238ac2afecb66eec4d1e1b )
Jani Simomaa [Sat, 8 Sep 2018 05:32:00 +0000 (08:32 +0300)]
DelayedWriteGraph denyValue should deny the value statement as well
gitlab #113
Change-Id: I5913e3d888d10315fadb323dfffb585e22d68444
(cherry picked from commit
5f3260ea85b48717183e28efee5806f706d04c05 )
jsimomaa [Mon, 10 Sep 2018 07:23:04 +0000 (10:23 +0300)]
SCL-compiler should activate installed bundles
gitlab #115
Change-Id: I4b383d7987b760c8cbf945ceddac4603c9d4428b
jsimomaa [Sat, 8 Sep 2018 04:18:25 +0000 (07:18 +0300)]
Add Simantics History Feature to SDK to include in target platform
gitlab #40
Change-Id: I834f7eeee24109bbb211a91beda3f61dda26c022
Marko Luukkainen [Thu, 6 Sep 2018 07:33:30 +0000 (10:33 +0300)]
Remove unnecessary System.out print from DynamicExperimentThread
gitlab #111
Change-Id: I987361fcce0cf53b058ece699a187b03cc068b6f
(cherry picked from commit
9b9f2a9206583894edb1a4a4a93a6c6720c8dddd )
Marko Luukkainen [Thu, 28 Jun 2018 13:25:55 +0000 (16:25 +0300)]
History data collector did not collect min/max/avg values correctly
gitlab #35
Change-Id: Iabc44ba0d8fb8a0348f27df07cd4d114975c4d0d
(cherry picked from commit
30ca6dab0384054fec22139c2e88fbcc31a463cd )
Marko Luukkainen [Thu, 28 Jun 2018 14:40:26 +0000 (17:40 +0300)]
SCL API for GraphFile plug-in.
gitlab #34
Change-Id: I81b9d41cfa392545df629bf9e7a6197c21effa58
(cherry picked from commit
24d45eec3a3bad14d1a275387c20a94cea594562 )
jsimomaa [Thu, 6 Sep 2018 12:07:43 +0000 (15:07 +0300)]
Add grpc target related changes to release/1.34.1
gitlab #98
Change-Id: I408f271c8fe8ea0aeae6bcb956917011e73162f2
jsimomaa [Thu, 6 Sep 2018 11:24:23 +0000 (14:24 +0300)]
Add grpc target related changes to release/1.34.1
gitlab #98
Change-Id: Id7ceaf67367f1a2baa68823bc42fc117f79671e5
jsimomaa [Thu, 6 Sep 2018 11:12:49 +0000 (14:12 +0300)]
Add grpc to release/1.34.1 as well
gitlab #98
Change-Id: Iac17f24b208919946e89804ca72c2cf4f4793041
Marko Luukkainen [Wed, 4 Jul 2018 10:28:35 +0000 (13:28 +0300)]
Rest API for Historian data
gitlab #40
Change-Id: I4bc9cc2dec3d3c2dcf902d372fc895b073d5e767
(cherry picked from commit
286183f3501ea34badb28d05bd8de954eff9b8bc )
jsimomaa [Mon, 3 Sep 2018 05:23:58 +0000 (08:23 +0300)]
Updated SDK target platform to include org.eclipse.jetty.servlets
gitlab #40
gitlab #81
Change-Id: Ib05a69df5ae7a834a7a38b7e6df3ff7f43793b22
Tuukka Lehtonen [Tue, 14 Aug 2018 10:10:30 +0000 (13:10 +0300)]
Include org.eclipse.jetty.servlets in SDK external dependencies
This takes version 9.4.5.v20170502 which is the same as the Jetty
plug-ins provided by Eclipse RCP SDK the current SDK uses.
gitlab #81
Change-Id: Idb2f93f0d79fe3656fc745860d8e6ccce1bb1d1e
(cherry picked from commit
37c463c49793553991a5b4412a7f9cd30d410d49 )
Tuukka Lehtonen [Sun, 26 Aug 2018 12:28:01 +0000 (15:28 +0300)]
Backported
b75a6bbc for release/1.34.1
Previous too-optimized implementation had multiple flaws:
* Index calculation did not have enough parenthesis in it which meant
that the value table index was sometimes calculated incorrectly.
This lead to string literal values being read incorrectly.
* Did not take into account string literals longer than 127 characters
* Did not take into account that string literals are modified-utf-8
encoded and simply decoded them as US-ASCII bytes. Essentially all
resources with name containing special characters were indexed
incorrectly up until now.
All of these flaws have been in the code for ages.
gitlab #86
Change-Id: Ibd5ecbaa1cdd1b8be759905bd8c29b9f8e012207
(cherry picked from commit
cd47b6877cee258113eb00523701a57374becfd8 )
Miro Richard Eklund [Fri, 3 Aug 2018 11:02:17 +0000 (14:02 +0300)]
Remove error in ClusterChange isLoaded()
gitlab #75
Change-Id: I2014788d390d581a9b185f2a25150619895f4acb
(cherry picked from commit
85eac68ed3cae0996c54b536a2f2a49abf8fc303 )
Hannu Niemistö [Wed, 18 Jul 2018 10:26:07 +0000 (13:26 +0300)]
Use Runtime.halt instead of System.exit in delayed shutdown
Change-Id: I4c43ff1f73639948bcefa4bf3c41cf4a06ff6b95
Hannu Niemistö [Tue, 17 Jul 2018 12:11:17 +0000 (15:11 +0300)]
Fixed target defintion references to 1.34.1
Change-Id: Ib5e62d908935727110d5ea78f8355ab442a53aa5
Antti Villberg [Tue, 17 Jul 2018 09:09:14 +0000 (12:09 +0300)]
Better emptying of trash bin
Statement removal was broken in write only request. TG remover did not
correctly manage internal resources. Added hardening against errors.
gitlab #32
Change-Id: I120fcbdb7077e0f037104331480a2b1ab090d798
Antti Villberg [Sat, 7 Jul 2018 06:11:52 +0000 (09:11 +0300)]
Block external and excluded seeds in ConsistsOfProcess
refs #14162
Change-Id: I3d8048ee763b5e41e0b9835afcb129ad50b88025
Tuukka Lehtonen [Tue, 26 Jun 2018 08:28:36 +0000 (11:28 +0300)]
Modified UTF-8 decoding fixes for TG reading and indexing
gitlab #33
Change-Id: Ibd4239b76d1d88fe4303bec9d7cc407d15e8505b
Tuukka Lehtonen [Wed, 20 Jun 2018 08:07:58 +0000 (11:07 +0300)]
Allow ExecutorWorker thread pool shutdown
Also made the pool spawn daemon threads to allow shutdown regardless of
whether the pool is shut down or not.
gitlab #29
Change-Id: I680e15407c0fd0586070a212d291efd44dc28f5d
Hannu Niemistö [Mon, 2 Jul 2018 08:24:40 +0000 (11:24 +0300)]
Force platform shutdown after some delay when workbench is closed
gitlab #37
Change-Id: I6ab788e55824dbc3b2dd656cbb6ead407e35938a
Hannu Niemistö [Tue, 3 Jul 2018 09:25:11 +0000 (12:25 +0300)]
Simantics 1.34.1 release engineering
gitlab #39
Change-Id: I182b1aeec26a2d0e5397d3d996cfecbb0dccae14
Hannu Niemistö [Fri, 8 Jun 2018 11:10:30 +0000 (14:10 +0300)]
Prevent NPE if the path to the module source cannot be found
gitlab #18
Change-Id: Iac92cfae81f8caffa5c8dfba129e3e9868801e82
(cherry picked from commit
c52bf8a84f74dd22f49ca1c6e5443720c2d0ac3a )
Tuukka Lehtonen [Fri, 8 Jun 2018 22:35:29 +0000 (01:35 +0300)]
Worked around Windows FS problems in IndexedRelationsSearcherBase
See https://blogs.msdn.microsoft.com/oldnewthing/
20120907 -00/?p=6663/
gitlab #19
Change-Id: Ia12c848aa75836597121eadec05061ea23bb1240
(cherry picked from commit
ad8fc537d4cde0d8891cf1cd39862055ca7f03cb )
Tuukka Lehtonen [Fri, 8 Jun 2018 06:10:58 +0000 (09:10 +0300)]
Fixed target platforms for release/1.34.0
gitlab #16
Tuukka Lehtonen [Thu, 31 May 2018 11:07:26 +0000 (14:07 +0300)]
Use SLF4J Logger in SessionRequestManager.
gitlab #14
Change-Id: Ia79a0fd4b895f02f98c6113cd1ca9fe95104c9d0
Hannu Niemistö [Thu, 31 May 2018 12:25:59 +0000 (12:25 +0000)]
Merge "Fixes to thread safety problems in SCL compiler"
Hannu Niemistö [Tue, 29 May 2018 09:09:37 +0000 (12:09 +0300)]
Fixes to thread safety problems in SCL compiler
gitlab #12
Change-Id: I0b0aec3bb71138a5033ae2337178c86ff04f5e59
Jussi Koskela [Tue, 29 May 2018 07:29:45 +0000 (10:29 +0300)]
Improvements to SCL HTTP client
Add missing Proc effect to buildClient function. Function to read
content length from response. Function to read headers from response.
Option to add read / write progress callback functions.
gitlab #11
Change-Id: Iaff99e05e35a494b154d7d5b04bd936bb95b0407
Tuukka Lehtonen [Thu, 24 May 2018 22:29:31 +0000 (01:29 +0300)]
Fixed ComponentCopyAdvisor to account for L0.TypeWithIdentifier properly
The previous fix done for the same problem in Simantics redmine issue
7842 and commits
c912edf13bf5a91b2f6dc855f54d8728aa0a64f5 ,
803c42fd316859809eaeb3dc6a88b22cbf86b4b6 and
0cfc6a9b8b186ba432bc6758c089726b1471fd1f was simply wrong. Using
ModelingUtils.needsIdentifier is the most proper way to fix this.
gitlab #10
Change-Id: Id7cdc32a6596588154913fced742d751ce6ba864
(cherry picked from commit
290c3cfc8bf5a7b2cc6e8532f124512e0bf10517 )
Tuukka Lehtonen [Fri, 18 May 2018 18:45:14 +0000 (18:45 +0000)]
Merge "Added another sampling method to HistorySampler"
Tuukka Lehtonen [Fri, 18 May 2018 18:27:28 +0000 (21:27 +0300)]
Added another sampling method to HistorySampler
This intentionally doesn't replace the original history
sampling function since it might be used elsewhere.
gitlab #9
Change-Id: Ie7ea8f37f29a5a277a6678e7716e340884d30e69
Hannu Niemistö [Fri, 18 May 2018 09:43:12 +0000 (12:43 +0300)]
GraphList: List interface to linked lists in Simantics database
gitlab #8
Change-Id: I87a1dc12d84c7875db075dec09ad08a60d8e40d1
Marko Luukkainen [Thu, 17 May 2018 11:31:58 +0000 (11:31 +0000)]
Merge "Fix column width issues on HiDPI displays. KeyTiSelection fixes."
Marko Luukkainen [Thu, 17 May 2018 11:14:53 +0000 (14:14 +0300)]
Fix column width issues on HiDPI displays. KeyTiSelection fixes.
gitlab #7
Change-Id: I03a51472f2e9d38a78e38b92617d0e9f975f6c54
jsimomaa [Tue, 15 May 2018 11:32:45 +0000 (14:32 +0300)]
Deprecate duplicate functionality in SimanticsUI
gitlab #4
Change-Id: I0f4482a8c2d482e59d0e1641de65a3936a03f1eb
Jussi Koskela [Wed, 11 Apr 2018 10:16:01 +0000 (13:16 +0300)]
Filter also history items in resource search dialog
refs #7864
Change-Id: I5d9dac3fc1dd43c21ff4a63d9e7ecab0081c3dcb
Hannu Niemistö [Mon, 14 May 2018 10:20:02 +0000 (10:20 +0000)]
Merge "Support for edge widths in rendering"
Hannu Niemistö [Mon, 14 May 2018 10:07:02 +0000 (13:07 +0300)]
Support for edge widths in rendering
Change-Id: I079ad59d7997a4a17abaf7835f7d71ce8c006085
Hannu Niemistö [Mon, 14 May 2018 10:06:03 +0000 (10:06 +0000)]
Merge "Fixed record constructor resolving from namespaces"
Tuukka Lehtonen [Mon, 14 May 2018 07:16:45 +0000 (10:16 +0300)]
Fixed SCLCompletionProposal.validate to allow complete matches as well
This fixes a case where the SCL module editor stops showing content
proposals once they fully match with the typed word, which is really
annoying.
gitlab #3
Change-Id: I7b1119bff4cb08063a838a441a628a785344220b
Hannu Niemistö [Sun, 13 May 2018 08:34:33 +0000 (11:34 +0300)]
Fixed record constructor resolving from namespaces
Change-Id: Ib8b40c416672bcc97ec7ec24c97e1a0df08a8730
Tuukka Lehtonen [Fri, 11 May 2018 08:57:05 +0000 (11:57 +0300)]
Added SCL functions for exporting event log contents to CSV
gitlab #2
Change-Id: I14423646d035e02f0ec6149a87d170ebb3c01bae
Hannu Niemistö [Wed, 25 Apr 2018 13:57:31 +0000 (16:57 +0300)]
New solver for SCL effects inequalities
In particularly, solving of cyclic inequalities.
Change-Id: I5d5734e9f029bf694221db2d7fc994d16d8d607a
Hannu Niemistö [Wed, 25 Apr 2018 12:03:16 +0000 (15:03 +0300)]
New method to Prelude: indexSet
Change-Id: I06affe3386f014ae098c31416503fd941f3c7d36
Hannu Niemistö [Wed, 25 Apr 2018 12:02:43 +0000 (15:02 +0300)]
New SCL syntax <<effects>>
Change-Id: Iec61620d424e583b854a743ccc4ac37dc8e8f56f
Hannu Niemistö [Mon, 23 Apr 2018 12:02:59 +0000 (15:02 +0300)]
Function to read and write bytes from streams
Change-Id: I5aa133cbdda3acaf36ed4cb0d7175a7ec1e8caff
Jussi Koskela [Fri, 20 Apr 2018 06:13:28 +0000 (09:13 +0300)]
Create HTTP(s) client in SCL with certificate verification disabled
Also fixed buildClient function to actually use the provided
ClientBuilder.
refs #7870
Change-Id: Ie0d7ae420fc3b96df607efacb64a8bc8384ec717
Tuukka Lehtonen [Thu, 19 Apr 2018 06:25:05 +0000 (09:25 +0300)]
Merge "Some SCL functions to control graphical debugger"
Hannu Niemistö [Thu, 19 Apr 2018 06:09:34 +0000 (09:09 +0300)]
Some SCL functions to control graphical debugger
Possibility to set statement filter and add resources with a function.
refs #7869
Change-Id: Ifb5cc1fb09d3120ea73302d0b1195bc00ec2949e
Jussi Koskela [Wed, 11 Apr 2018 11:14:38 +0000 (14:14 +0300)]
Test equality of ObjectVariants using Objects.equals
refs #7865
Change-Id: I331d7696662709cdabaa9808d07071b079fc853e
jsimomaa [Tue, 17 Apr 2018 12:27:32 +0000 (15:27 +0300)]
System.currentTimeMillis to "Simantics/Misc" SCL-module
refs #7867
Change-Id: Ib7a26a7e982dca3de316cb203763a0f720a12b84
Tuukka Lehtonen [Fri, 13 Apr 2018 21:31:15 +0000 (00:31 +0300)]
Better fix for ClusterTable maps going out of sync
ClusterSmall.toBig was not copying importance over to the constructed
ClusterBig causing importanceMap to go out of sync on the first call to
ClusterSmall.toBig.
refs #7724
Change-Id: I6e56b7f94962de3ec243a9d50775e649f930d0d2
(cherry picked from commit
980d21d8a26dddd2e57dbffdc8f320a76aa0973e )
Tuukka Lehtonen [Thu, 12 Apr 2018 21:43:36 +0000 (00:43 +0300)]
Fixed ClusterTable cluster hash/importance map book-keeping problem
The main problem was that importance values should have been started
from 1 and 0 is considered an invalid importance value. This prevents
ClusterTable.replaceCluster from making mistakes in importanceMap.
refs #7724
Change-Id: Ie15a2d11bef2b8bdbcee2f5baba47633faa97826
(cherry picked from commit
f59872e129c2d1b84fe322ae120fbeac22a94f88 )
Hannu Niemistö [Thu, 12 Apr 2018 10:04:44 +0000 (13:04 +0300)]
Merge "Refactoring CHR handling code"
Hannu Niemistö [Thu, 12 Apr 2018 09:51:23 +0000 (12:51 +0300)]
Refactoring CHR handling code
refs #7866
Change-Id: If2b2a08c740c93d1a4b01830ab0e6de3c014fbec
Hannu Niemistö [Thu, 12 Apr 2018 09:47:15 +0000 (12:47 +0300)]
Merge "(refs #7866) Better error location for the NPE in compilation"
Hannu Niemistö [Thu, 12 Apr 2018 07:04:44 +0000 (10:04 +0300)]
(refs #7866) Better error location for the NPE in compilation
Change-Id: I3027ac4cd1061edefed6b46ddf1c79773d03caca
Tuukka Lehtonen [Tue, 10 Apr 2018 20:48:18 +0000 (23:48 +0300)]
Allow changing DisposingPolicy max queue length
Needed to suppor preference-configurability of diagram editor background
disposal.
refs #7863
Change-Id: Ibf9f29dde2c06f5b055bfd42f989368c7573f327
(cherry picked from commit
56a44956cc6cf02ee85b7cfd55c8d3cbfb80a82f )
meklund [Tue, 10 Apr 2018 14:12:44 +0000 (17:12 +0300)]
Use unpack in hdf.hdf5lib
Unpack helps on Linux, since otherwise libhdf5_java.so cannot find
libhdf5.so.101.
refs #7858
Change-Id: I8946d5e30b2b4c8ac98a5555f8869399b516fdca
Tuukka Lehtonen [Sun, 8 Apr 2018 22:01:52 +0000 (01:01 +0300)]
Upgraded HDF5 library to 1.10.2 and added linux support
Amend by Miro:
Ran patchelf -set-rpath \$ORIGIN libhdf5_java.so and updated README
refs #7858
Change-Id: Ibe6d56443b8d02c4e2896adaed9b76f86e042f6e
Hannu Niemistö [Tue, 10 Apr 2018 12:24:20 +0000 (15:24 +0300)]
Fixes the dpi value in SVGSalamander to 96
If SVG file defining symbol graphics does not contain unit information,
it is converted from points to pixels using a dpi-value. The value is 96
in most cases but in some machines differs from this default. This makes
the symbol graphics scaled compared to originally drawn graphics which
is undesirable.
refs #7860
Change-Id: I1f858ec0703a6f4dba9547fed2aca0438172248b
Hannu Niemistö [Tue, 10 Apr 2018 06:57:49 +0000 (09:57 +0300)]
A utility class for recursive search in cyclic graph
refs #7859
Change-Id: Idba80d0a6a42ab06fa774da1933ffd1d636085f1
Tuukka Lehtonen [Thu, 5 Apr 2018 06:47:03 +0000 (09:47 +0300)]
Fixing problems in the database unit testing environment with Acorn
* Removed static map from org.simantics.acorn.FileIO.
Moved the map into a session service as org.simantics.acorn.FileCache
* Changed org.simantics.db.testing.common.Tests utilities to use Acorn
instead of ProCore (AcornTestHandler). Did not introduce abstraction
for this for now.
refs #7855
Conflicts:
bundles/org.simantics.acorn/src/org/simantics/acorn/FileIO.java
Change-Id: Iec42395cc71b30a4c376a44778b358e3807e6ec9
(cherry picked from commit
03fac449ec81e88669169d671bb386eb93ac060d )
Tuukka Lehtonen [Thu, 5 Apr 2018 13:33:58 +0000 (16:33 +0300)]
Finalizing improve startup time for fresh or rollback'd session
Finally fixed the long-sought InputStream reading bug from
TransferableGraphFileReader.InputChannel.read(ByteBuffer).
The ByteFileReader implementation expected the provided
ReadableByteChannel to always provide a full buffer of data unless EOF
was encountered and the InputChannel.read implementation was not taking
care of that.
Also added simpler utilities for reading TG's from files/InputStreams
directly using static TransferableGraphFileReader.read(File/InputStream)
methods.
PlatformUtil.readTG can now finally use TransferableGraphFileReader for
maximal performance.
refs #7835
Change-Id: I170986bf271a409f9205fad808ae029becc1d3a4
Hannu Niemistö [Thu, 5 Apr 2018 10:28:31 +0000 (13:28 +0300)]
Show imports of nonexistent modules as errors
Previously there was a separate error category IMPORT_ERROR for all
import errors that was sorted with WARNINGS. Now IMPORT_ERROR category
is also used for import failures whose reason is compilation problem in
the upstream module (although this is fatal for compilation, the problem
is not located in the current module).
refs #7857
Change-Id: Id9227a69d045b68a3e94c1562eb6d24f70d7aaa1
Hannu Niemistö [Thu, 5 Apr 2018 08:07:16 +0000 (11:07 +0300)]
Streaming serialization of values, debugger for corrupted values
refs #7856
Change-Id: If9d7bdb84c46c3b3626241f9a63e582fe0a15004
Tuukka Lehtonen [Tue, 3 Apr 2018 20:48:36 +0000 (23:48 +0300)]
Support diagram profile activity store/restore in model export/import
Diagram profile selections are stored in the "profiles" workspace
persistent virtual graph. They cannot be done in the persistent database
because we do not want the profile selections to be part of the database
version/undo history. This just doesn't fit the current way of using
diagram profiles.
The code introduced in this commit needs to be put to use in
product-specific custom export/import logic and copy/paste handlers to
take advantage of it.
refs #7854
Change-Id: Ib996144f1afa376a1563e4309fe41421ee4da529
(cherry picked from commit
95e05b3cc3208ec57118e8167a090c9b90edfaf2 )
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
jsimomaa [Tue, 3 Apr 2018 10:11:38 +0000 (13:11 +0300)]
Cleaning up some bloat from CompilePGraphs
refs #7852
Change-Id: Ie3cfe8d7873f9c687bffca776054c626cc65497b
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
Jussi Koskela [Tue, 3 Apr 2018 06:24:31 +0000 (09:24 +0300)]
Escape the dot in regular expression
refs #7848
Change-Id: Iffbdcdc50150f24e4f6517fd8154a5a47bbf8eb0
Jussi Koskela [Tue, 3 Apr 2018 06:00:03 +0000 (09:00 +0300)]
Reset SVGNode's data hash on clean up
AnimatedSVGNode assumes that its diagram cache is initialized if data
hash is not null.
refs #7851
Change-Id: Id143816210c7905a772e2c391a32026bf838f8e6
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 )
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 )
Tuukka Lehtonen [Thu, 29 Mar 2018 11:41:33 +0000 (14:41 +0300)]
Fixed invalid comparison from AcornBackupProvider.RestoreCopyVisitor
Also removed unnecessary Files.exists checks.
refs #7847
Change-Id: I67d9d5a500824a275f4412ef2ecb7c2860f7f1c7
Tuukka Lehtonen [Wed, 28 Mar 2018 13:01:10 +0000 (16:01 +0300)]
Removed redundant Files.exists/isDirectory checks
refs #7847
Change-Id: Id2f5936a801ece1828c13e29662c15d61b04abaa
Tuukka Lehtonen [Wed, 28 Mar 2018 19:44:18 +0000 (22:44 +0300)]
Fixed compilation problems and SWTAWTComponent focus problem with Java9+
refs #7848
Change-Id: If166f7864d05c67f4c58b87018b273a36f085801
Tuukka Lehtonen [Mon, 26 Mar 2018 20:33:42 +0000 (23:33 +0300)]
Use searchByTypeShallow in ModelingUtils.createMissingGUIDs
refs #7845
Change-Id: Idf9c33687c53a9725821911fce59d9cf7287ce9c
Tuukka Lehtonen [Mon, 26 Mar 2018 15:36:02 +0000 (18:36 +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: Id44c5118ad97fbb83dcec87f77717185d3e402a1
Tuukka Lehtonen [Mon, 26 Mar 2018 09:30:51 +0000 (12:30 +0300)]
Prevent NPEs in ViewUtils layout loading code
refs #7843
Change-Id: Ia34be3d08b8a368ed314c56e3af0b4e39aa45cec
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 )
jsimomaa [Mon, 26 Mar 2018 05:40:13 +0000 (08:40 +0300)]
Adding FileSystem and FileSystems to Files SCL-API
refs #7841
Change-Id: I8b2a02b68c29bb5be724def3e0c2d67b2b6c51e6
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 )
Hannu Niemistö [Thu, 22 Mar 2018 19:33:17 +0000 (21:33 +0200)]
Show instance for SafeDynamic
refs #7839
Change-Id: Ib84dceb46e1d43666b8f089e75c79e52f7bc3390
jsimomaa [Thu, 22 Mar 2018 13:38:34 +0000 (15:38 +0200)]
Ctrl+Shift+G support for finding also expressions from properties
refs #7834
Change-Id: I24ba4188bbe3b2ba412a9e42fc762f21f76aca55
jsimomaa [Thu, 22 Mar 2018 13:44:22 +0000 (15:44 +0200)]
Remove duplicate string/regex functionality from Simantics/Misc
refs #7836
Change-Id: I485f09891cb0bd60f2e3b53209a3aaa47e5f7d24
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
jsimomaa [Thu, 22 Mar 2018 13:34:35 +0000 (15:34 +0200)]
Minor fixes for product build information querying
refs #7828
Change-Id: Ibddcc305bce0d4e84f3fc684c80f3f65592374b6
jsimomaa [Thu, 22 Mar 2018 13:46:34 +0000 (15:46 +0200)]
Introduce QueryIndexUtils in favor of bloated ModelingUtils
Usage of ModelingUtils requires dependency for the whole modeling-plugin
which brings in a lot of unwanted stuff for simple query indexing
refs #7837
Change-Id: I1d2c4c7881b21904ad72c101acc12b9d61169994
Tuukka Lehtonen [Wed, 21 Mar 2018 16:15:54 +0000 (18:15 +0200)]
Include Jaxen in org.simantics.scl.feature to keep JDom2 happy
refs #7833
Change-Id: Ic55cec2e2cd94d49206dc6324974bc798cf6a98b
Tuukka Lehtonen [Wed, 21 Mar 2018 16:09:32 +0000 (18:09 +0200)]
Merge "Included Jaxen in the platform's external-components"
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
jsimomaa [Tue, 20 Mar 2018 20:51:42 +0000 (22:51 +0200)]
SCL-functionality for build information querying
refs #7828
Change-Id: Ic4b02ce9a205309a7f9a3fd38b0842c6b0597087