]>
gerrit.simantics Code Review - simantics/platform.git/log
jsimomaa [Tue, 17 Apr 2018 12:27:32 +0000 (15:27 +0300)]
System.currentTimeMillis to "Simantics/Misc" SCL-module
refs #7867
Change-Id: Ib7a26a7e982dca3de316cb203763a0f720a12b84
(cherry picked from commit
269ebef90930b55f6bfb61caa559d5df93be67ce )
jsimomaa [Thu, 15 Feb 2018 08:54:00 +0000 (10:54 +0200)]
setSystemProperty function to Simantics/Misc SCL-module
refs #7769
Change-Id: I6e1969bf09f0267b706242ad80b483fd11db140d
(cherry picked from commit
4e4e1a6afd61fb03feaba789d99bd24c0ce68e8c )
Jussi Koskela [Thu, 15 Feb 2018 10:48:51 +0000 (12:48 +0200)]
Add Future to SCL API
refs #7772
Change-Id: Ibcc74f90e3111b720d8969a393e2b115bbeefd72
(cherry picked from commit
8e8367aa523006cefa590f8cda8ed30818a6eb71 )
Tuukka Lehtonen [Wed, 20 Jun 2018 14:23:38 +0000 (17:23 +0300)]
Added exception safety for createHistorySamplerItem2
gitlab #9
Change-Id: I2a5894b73a638aad3e05ee42d0b10e40d60f3270
(cherry picked from commit
44e8128ac39960e863368b235e81a44303a94633 )
Tuukka Lehtonen [Mon, 18 Jun 2018 10:58:54 +0000 (13:58 +0300)]
HistorySampler.sample(HistorySamplerItem2, ...) now uses mipmapped data
Implemented selection of sampled history data source based on the
seconds/pixel (= timeWindow / maxSamples) ratio provided to the sampler.
This is one way to attempt not sampling too much data for trend views
that cannot inherently handle large amounts of data.
gitlab #9
Change-Id: I8c67068d6e832d33d4ac3adef270d31f1cb0e722
(cherry picked from commit
e3940e67813aa0988bdd0fe6161500034e6e7518 )
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
(cherry picked from commit
f3617565a8ffe49d63016f0c1d78e0d4282214b0 )
Tuukka Lehtonen [Fri, 3 Aug 2018 08:01:31 +0000 (11:01 +0300)]
Configured release/1.32.0.2 branch for SDK builds
Tuukka Lehtonen [Fri, 8 Jun 2018 22:24:40 +0000 (01:24 +0300)]
Worked around Windows FS problems in IndexedRelationsSearcherBase
See https://blogs.msdn.microsoft.com/oldnewthing/
20120907 -00/?p=6663/
gitlab #19
Change-Id: I0bdcdc4945bde80446da20f18f7e471af0a97c07
Tuukka Lehtonen [Tue, 5 Jun 2018 13:52:23 +0000 (16:52 +0300)]
Fix for empty cancelled write transactions leaving scheduled updates
gitlab #15
Change-Id: I844dab6a59df56f2097a507bcd6b6d3ec75124b1
(cherry picked from commit
4b3689543c26ac085970dd200218a9a6c122467b )
Tuukka Lehtonen [Fri, 8 Jun 2018 08:37:07 +0000 (11:37 +0300)]
Fixed version
gitlab #17
Tuukka Lehtonen [Fri, 8 Jun 2018 07:40:10 +0000 (10:40 +0300)]
Fixed target platforms for release/1.32.0.1
gitlab #17
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
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
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
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
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
Change-Id: I92fdce70a1e436cc13af3cf0738a7e227fddd682
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
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 )
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 )
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
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
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
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
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
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 )
Tuukka Lehtonen [Wed, 21 Mar 2018 18:54:48 +0000 (20:54 +0200)]
Include Jaxen in org.simantics.scl.feature to keep JDom2 happy
refs #7833
Change-Id: I3848de2b6118dc2cde2da19e762af1a99c809762
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 )
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 )
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 )
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 )
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 )
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
(cherry picked from commit
4f743d81482d51262a7bc07d2a4874cdd0856a17 )
Hannu Niemistö [Thu, 15 Feb 2018 09:13:09 +0000 (11:13 +0200)]
(refs #7771) Fixed invalid inline
Change-Id: I7b28d6915e792bc9fe858c701d1138f9082dcea3
(cherry picked from commit
cc611d5d42a8d44c967dccdc201e0569b692e0c9 )
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
(cherry picked from commit
59fb587c2dae32a2e865c9198aa20ffcad7f3c7f )
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
(cherry picked from commit
dbe0a77f0869111219b69d412d0bb90d17c391c1 )
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
(cherry picked from commit
a0c282689925d3b29dbb5239426163decc61689d )
jsimomaa [Thu, 1 Feb 2018 06:43:06 +0000 (08:43 +0200)]
Fix opening of SCL-definitions
refs #7733
Change-Id: Iffab8f3330d2b491c6ec29728271c2f1a260d3b4
(cherry picked from commit
bcf2330da2396b0fab4d01e0e41cb8cb8fee84ac )
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
(cherry picked from commit
de6536eb0ff08cf9b3f75a25b35ff44b33a6038b )
jsimomaa [Fri, 2 Feb 2018 10:50:57 +0000 (12:50 +0200)]
Fix rollingFileAppender fileNamePattern in logback.xml
refs #7740
Change-Id: Ibcc6f3b19f4d159ee75a42640f000299061ac5c9
(cherry picked from commit
a4db45c33974b536813afb60c3f7f0f1a8bfc9fa )
jsimomaa [Fri, 19 Jan 2018 11:32:48 +0000 (13:32 +0200)]
Add RollingFileAppender to default logback configuration
refs #7719
Change-Id: I2e04f76b3b5ce13f984e796901bf76ac81f8766a
(cherry picked from commit
f8324fc5a564f6eb45af8318471cb7197490f74e )
Hannu Niemistö [Tue, 6 Feb 2018 12:25:27 +0000 (14:25 +0200)]
(refs #7746) Fixed applications with intermediate effects
Change-Id: Ida2b7c8e96cbfd45361838e69900a7307e69e343
(cherry picked from commit
e515d1fda563f0fa3b8b71f9099696cf49a06d25 )
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
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
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
(cherry picked from commit
2d4412b39adec45db06b74948ba835ea1449b699 )
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
(cherry picked from commit
91469ec9b9d3fea2767f44adb75fe3bc009efbe3 )
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
(cherry picked from commit
c13c4179bda758e77fe1f2032d3c4268bb9e3120 )
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
(cherry picked from commit
72186a982dc8b076bef48313fbbd22ecc78c08bc )
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
(cherry picked from commit
f94662db8f48e79c706844ace3692734dd6c2f48 )
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
(cherry picked from commit
5d11e5fb4cbf16686caa91a4ae7df7c1116ee87e )
jsimomaa [Tue, 9 Jan 2018 12:51:02 +0000 (14:51 +0200)]
Minor NPE fix for auditlogging
refs #7684
Change-Id: I86f892bf133b1965d9631ce82ddf02b78ec88a5a
(cherry picked from commit
aaa0aa90d9fdfc8350e36da4e0629c3f5916f68c )
Tuukka Lehtonen [Mon, 8 Jan 2018 12:56:24 +0000 (14:56 +0200)]
Configured release/1.32.0 branch for SDK builds
refs #7422
Change-Id: Idc14a640e531768df289e3f6eacfae52d9431166
Tuukka Lehtonen [Mon, 8 Jan 2018 11:01:00 +0000 (13:01 +0200)]
Improved exception message
refs #7422
Change-Id: I5179ed29a7b660f4574101f5358820a860e66c72
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
jsimomaa [Mon, 8 Jan 2018 05:54:46 +0000 (07:54 +0200)]
AuditLogging improvements for easier unit testing
refs #7684
Change-Id: I6f4b10d2344b4588582f2558b9fda75f6d20145a
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
jsimomaa [Fri, 5 Jan 2018 18:48:47 +0000 (20:48 +0200)]
claimWithInverse & possibleInverseOf function to DB.scl
refs #7709
Change-Id: I2869df644ca01b77212d34ffbf11af85c3da7946
Antti Villberg [Fri, 5 Jan 2018 16:17:28 +0000 (18:17 +0200)]
write method to Files.scl
refs #7707
Change-Id: I9c7e249461da388b94d3b12af48f17523cddddf5
Antti Villberg [Fri, 5 Jan 2018 16:18:31 +0000 (18:18 +0200)]
CDATA support to Data/XML
#7708
Change-Id: I6a2e9e05b4f79e83a11b4051658832053feadff9
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
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
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
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
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
Hannu Niemistö [Fri, 29 Dec 2017 09:43:23 +0000 (11:43 +0200)]
Merge "Print console messages to IDE by default"
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
Antti Villberg [Thu, 28 Dec 2017 11:03:36 +0000 (13:03 +0200)]
Print console messages to IDE by default
#7697
Change-Id: Ibb08764c4d41f17cd7bc084b6d1b99ed2af09bdd
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
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
Hannu Niemistö [Wed, 27 Dec 2017 12:12:55 +0000 (14:12 +0200)]
Compilation of SCL expressions from SCL
refs #7695
Change-Id: I053be9e6d4197ad563a31f09e21c6bea89c3e5ed
jsimomaa [Fri, 15 Dec 2017 12:21:43 +0000 (14:21 +0200)]
Generic HTTP REST Client/Server AuditLogging framework
refs #7684
Change-Id: Ia861758f0e23a4bc55edeffd946030fff4e52121
Antti Villberg [Thu, 21 Dec 2017 11:35:35 +0000 (13:35 +0200)]
Use listener as listener in TimeoutingRequest
refs #7692
Change-Id: I94aafae16131f3d7a9c688d3861db5b3f56dea1b
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
jsimomaa [Wed, 20 Dec 2017 06:34:26 +0000 (08:34 +0200)]
Fix possible NPE in SCLExpressionIssueProvider
refs #7689
Change-Id: If7c4cad3b5ae238d90dd03e1d40f2aec2f597276
Antti Villberg [Mon, 18 Dec 2017 10:23:15 +0000 (12:23 +0200)]
nameOfFile into File module
refs #7687
Change-Id: Ieebb374f811c3d9641065fdd3d8e34c631988eb7
Marko Luukkainen [Mon, 18 Dec 2017 10:38:40 +0000 (12:38 +0200)]
Fixing missing eclipse.search references.
refs #7688
Change-Id: I047e913267620c2c3fc59ddd311f87f022b957ee
Marko Luukkainen [Mon, 18 Dec 2017 09:09:11 +0000 (11:09 +0200)]
Disable model activation during model migration
refs #7686
Change-Id: Ide98ff661dba6b863923ebe4ca795bf03d77a2e1
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
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
Antti Villberg [Sat, 16 Dec 2017 20:57:10 +0000 (22:57 +0200)]
DB client state gets corrupted
refs #7685
Change-Id: Ic6a8b7f2f9e327c8aba774a86f834d160a9c4c66
Tuukka Lehtonen [Fri, 8 Dec 2017 10:50:34 +0000 (12:50 +0200)]
First test on Simantics documentation using gitbook
Only few parts transferred and somehow quickly reformatted for now.
Lots of work remaining.
refs #7674
Change-Id: I1cf8b6a3da5ec14064f79d0a0c765899be1d8872
jsimomaa [Thu, 14 Dec 2017 06:16:51 +0000 (08:16 +0200)]
Replace OrientationRestorer TimerTask usage with ScheduledExecutor
Timer can exhaust the system with TimerTask-runnables that are queued up
e.g. during computer hibernate and sleep. According to documentation:
If an execution is delayed for any reason (such as garbage collection or
other background activity), two or more executions will occur in rapid
succession to "catch up." In the long run, the frequency of execution
will be exactly the reciprocal of the specified period
With heavy tasks this is very bad
refs #7682
Change-Id: I5a097c8bc5e1ea2a5abe30905b2a46fa8b8386f8
jsimomaa [Wed, 13 Dec 2017 08:23:38 +0000 (10:23 +0200)]
HTTP/Client SCL module for HTTP requests
Also adding builtin type for Class in SCL
refs #7681
Change-Id: Id794bfce7ff5deb3e13127dfa9107bc31aceef30
Hannu Niemistö [Tue, 12 Dec 2017 14:12:31 +0000 (16:12 +0200)]
Merge "Added MMap.clone"
Hannu Niemistö [Tue, 12 Dec 2017 13:56:49 +0000 (15:56 +0200)]
Added MMap.clone
refs #7680
Change-Id: I4ed5c23709f5f0fc02937deba9af0f58eca3ea5d
Miro Richard Eklund [Mon, 11 Dec 2017 12:39:35 +0000 (14:39 +0200)]
Fixed CompilePGraphsAction that gave a NullPointerException
A worker thread with a null displayed tried to compile the pgraph for
ontology definition files. Ensuring that a default display is used in
such cases fixed the issues.
An error message mentioned missing dependencies if the ontology file
containers syntax errors. Thie message now mentioned problems in the
ontology file instead.
refs #7679
Change-Id: Icd483835462ec3cd27c16ca751eaee3d7b3dbdd2
Jussi Koskela [Fri, 8 Dec 2017 08:49:04 +0000 (10:49 +0200)]
Style support in IListItem
refs #7671
Change-Id: I3d112cfe967b1be1cf25388b828c84426e64ea1d
Tuukka Lehtonen [Thu, 7 Dec 2017 14:31:54 +0000 (16:31 +0200)]
Added Edit main menu to all Simantics Desktop based applications
refs #7667
Change-Id: Ie4f41081f6eb070031d0f3b56f9cd1418f72e353
Tuukka Lehtonen [Thu, 7 Dec 2017 13:42:02 +0000 (15:42 +0200)]
Bumped master target and org.simantics.sdk versions to 1.32.0
refs #7422
Change-Id: Ic0f25ca2e4571cbb13a36307017fcf8b57f56ab4
Tuukka Lehtonen [Thu, 7 Dec 2017 12:41:05 +0000 (14:41 +0200)]
Helper script for doing release train related project branching and tagging.
refs #7396
Tuukka Lehtonen [Thu, 7 Dec 2017 08:59:34 +0000 (10:59 +0200)]
Fixed regression in IndexedRelationsImpl.replace return value.
The return value was always false which caused index query listeners to
never be fired upon index replace operations. This in turn caused
potentially invalidated query results to be returne for database
clients.
The regression was introduced in commit
702195f3 for release/1.28.0.
refs #7665
Change-Id: I9103f0fd9001ffc42f85633bc6a11d77ed863613
Tuukka Lehtonen [Thu, 7 Dec 2017 08:04:36 +0000 (10:04 +0200)]
Fixed Map & Set equals implementations in CollectionSupportImpl
refs #7654
Change-Id: I9bb10c8b529b705ad8a34a6793a002296a6bea06
Tuukka Lehtonen [Thu, 7 Dec 2017 08:01:30 +0000 (10:01 +0200)]
Merge "Use Consumer interface instead of deprecated Callback interface"
Tuukka Lehtonen [Thu, 7 Dec 2017 07:32:18 +0000 (09:32 +0200)]
Use Consumer interface instead of deprecated Callback interface
Also removed some compilation warnings at the same time.
refs #7655
Change-Id: I8e84652fd50853d598ddec299fc1fc6e30776bc2
Tuukka Lehtonen [Thu, 30 Nov 2017 17:48:29 +0000 (19:48 +0200)]
Fixed CollectionSupportImpl.ResourceList iteration order
Implemented CollectionSupportImpl.ResourceList#listIterator methods.
Removed use of the deprecated Callback interface in
org.simantics.db.ResourceMap.
refs #7654
Change-Id: I22ee6da55326bf884b24e63eb2d9ed30fc242771
Tuukka Lehtonen [Tue, 5 Dec 2017 20:54:51 +0000 (22:54 +0200)]
Merge "Potential fix for diagram scene graph screw-up regression"
Tuukka Lehtonen [Tue, 5 Dec 2017 20:32:59 +0000 (22:32 +0200)]
Potential fix for diagram scene graph screw-up regression
refs #7663
Change-Id: I092889d83fcfd653647e4de38984304461649b3f
Reino Ruusu [Tue, 5 Dec 2017 11:15:06 +0000 (13:15 +0200)]
Improved scaling of diagrams rendered into selectable SVG. (refs #7593)
Merge of change 1184.
Change-Id: I27ad59665d0be021a1fcd8d68e6d4eca0edc3fda
Hannu Niemistö [Mon, 4 Dec 2017 14:40:09 +0000 (16:40 +0200)]
Removed a clash between two nameOf functions
refs #7662
Change-Id: I49845c132c6c2eb5d9e3ae1c34c9d0349a9f4144
Hannu Niemistö [Mon, 4 Dec 2017 12:20:31 +0000 (14:20 +0200)]
Collect reference hierarchy for SCL values
refs #7662
Change-Id: I4bf296f8c676fdc5c3387d496a898a364ca78a7b
Tuukka Lehtonen [Sun, 3 Dec 2017 20:07:15 +0000 (22:07 +0200)]
Tested and fixed utility for truncating history data.
HistoryUtil.truncateHistory now actually works as intended. Care must be
taken not to interfere with the history data while it is being
truncated. This must be ensured externally.
A reference counter (AtomicInteger) was also added to ChartData to be
able to see how many users the ChartData has and to wait until it no
longer has any users. This is required to wait until all chart editors
have detached themselves from the history data.
refs #7622
Change-Id: I35863f5258da2cae193b3086500b5514c4699518