]>
gerrit.simantics Code Review - simantics/platform.git/log
Antti Villberg [Thu, 15 Jun 2017 03:22:24 +0000 (06:22 +0300)]
Default property editing restores assertions
refs #7302
Change-Id: I6e3b189cae025bcea85ae1265b4c80ade2dc9d16
jsimomaa [Tue, 13 Jun 2017 04:47:11 +0000 (07:47 +0300)]
Fix stackoverflow from excel import
refs #7295
Change-Id: I4a6815fa42ccd4d337f37ff0f527e0d46a129598
jsimomaa [Mon, 12 Jun 2017 10:01:05 +0000 (13:01 +0300)]
Editor for modelled STS variables for easier debugging
refs #7294
Change-Id: Ie100c751bf2e6e1cf8b173dd02de724959aadcc3
Hannu Niemistö [Thu, 8 Jun 2017 07:55:30 +0000 (10:55 +0300)]
Merge "Enhancements to modelled tests"
Hannu Niemistö [Thu, 8 Jun 2017 07:40:47 +0000 (10:40 +0300)]
Merge "(refs #7284) Fixed SCLAnnotationModel to cope invalid error ranges"
Tuukka Lehtonen [Wed, 7 Jun 2017 09:21:08 +0000 (12:21 +0300)]
Take Tycho 1.0.0 into use.
Set useProjectSettings=false to keep backwards compliant.
refs #7288
Change-Id: I3b1735cb27676baae89549a4e4281e6003f5bbf7
Tuukka Lehtonen [Wed, 7 Jun 2017 07:43:01 +0000 (10:43 +0300)]
Updated external dependencies and p2-maven-plugin
* eclipse collections 7.1.0 to 8.1.0
* fastutil 7.0.13 to 7.2.1
* removed gnu.trove 2.1.0
refs #7285
Tuukka Lehtonen [Wed, 7 Jun 2017 05:49:43 +0000 (08:49 +0300)]
Minor wording update to release engineering instructions.
refs #7263
Change-Id: I8cc31482fb4db482aa76e4798623f62e4948655f
Hannu Niemistö [Tue, 6 Jun 2017 21:08:03 +0000 (00:08 +0300)]
(refs #7284) Fixed SCLAnnotationModel to cope invalid error ranges
Change-Id: I346088d720595a213445c8cb988de442cfb90863
jsimomaa [Tue, 6 Jun 2017 06:33:52 +0000 (09:33 +0300)]
Enhancements to modelled tests
* Added an assertion for long strings
* Unique test descriptions even though they are similarly named
* equals and hashCode for ModelledSTSTest
refs #7277
Change-Id: I25bb7a96291050a81e9346e78306a67666b87877
Hannu Niemistö [Mon, 5 Jun 2017 10:50:33 +0000 (13:50 +0300)]
(refs #7278, refs #7279) Small fixes to InternalCompilerExceptions
Change-Id: I771fb27ecc98a7cd4f05aaf5e23a4763a6a0ca52
jsimomaa [Mon, 5 Jun 2017 11:56:31 +0000 (14:56 +0300)]
E4WorkbenchUtils.getMPartById to create the part if not already created
refs #7275
Change-Id: Iff469ad0586c8ad16f411ab232ffc5a47825ef72
Tuukka Lehtonen [Mon, 5 Jun 2017 20:16:17 +0000 (23:16 +0300)]
Merge "Do not merge TG if it is not set as immutable"
jsimomaa [Mon, 5 Jun 2017 19:28:33 +0000 (22:28 +0300)]
Fixing NPE with modelled tests
refs #7277
Change-Id: Ie3dc4c982fe01e469a0e302f3ace0e5f484737f6
jsimomaa [Mon, 5 Jun 2017 11:54:08 +0000 (14:54 +0300)]
Do not merge TG if it is not set as immutable
refs #7274
Change-Id: I8a13dc2b0bb0cc3cc98c5f661da8b46dae7e0455
Tuukka Lehtonen [Mon, 5 Jun 2017 19:36:33 +0000 (22:36 +0300)]
Merge "Resolve some dependency problems with SDK features"
jsimomaa [Mon, 5 Jun 2017 11:50:27 +0000 (14:50 +0300)]
Resolve some dependency problems with SDK features
* org.simantics.db.client.feature should include necessary compression
plugins in order to work
refs #7273
Change-Id: I73085731826803cb6e49884384a709dab309baeb
jsimomaa [Mon, 5 Jun 2017 12:14:49 +0000 (15:14 +0300)]
Enhancements to modelled tests
* Single test has now an isolated and own SCL CommandSession
* Tests can depend on one another and the SCL variables are available
for the depenent tests
* Added support for declaring SCL variables under the test definition
(suitable e.g. for large literals for comparison)
refs #7277
Change-Id: I5089bca479f681b42ee955851ab50ce24a3158a3
jsimomaa [Mon, 5 Jun 2017 12:00:05 +0000 (15:00 +0300)]
Make prettyPrintTG available via SCL from Simantics/DB-module
refs #7276
Change-Id: I640f4cb6d929482577ed8874e6b8fadcaa05ba64
Hannu Niemistö [Mon, 5 Jun 2017 12:47:37 +0000 (15:47 +0300)]
(refs #7250) Merged feature/modularCHR to master.
Change-Id: Icad6e8c9594826f70d929792f7d258c5514d0550
Hannu Niemistö [Sun, 4 Jun 2017 11:49:30 +0000 (14:49 +0300)]
(refs #7250) Support for record syntax for CHR relations
Change-Id: I8dd80eb5216a1b6023ab9097af58d4f1aaa077b2
Tuukka Lehtonen [Sat, 3 Jun 2017 07:05:56 +0000 (10:05 +0300)]
Merge "(refs #7272) Support updating named Graphviz windows"
Hannu Niemistö [Fri, 2 Jun 2017 18:13:11 +0000 (21:13 +0300)]
(refs #7272) Support updating named Graphviz windows
Change-Id: I72080ec1cba333cf9639a9801814e5fc100a8309
Hannu Niemistö [Fri, 2 Jun 2017 18:18:01 +0000 (21:18 +0300)]
Merge "Optionally print also into IDE console"
Hannu Niemistö [Fri, 2 Jun 2017 17:06:29 +0000 (20:06 +0300)]
(refs #7250) Error messages for undefined existentials
Change-Id: Iaddc3d0536350eef85086b0a73a5c1b08055398c
Hannu Niemistö [Fri, 2 Jun 2017 16:29:13 +0000 (19:29 +0300)]
(refs #7250) CHR bugfixes, cleaning up unit tests
Change-Id: If0f255ce74938029ab91975a2db7a09c517473aa
Hannu Niemistö [Fri, 2 Jun 2017 13:39:28 +0000 (16:39 +0300)]
(refs #7250) Merging master, minor CHR bugfixes
Change-Id: I11c76beee0e73ff78370f72bbfb88fdbdf6c7616
Hannu Niemistö [Fri, 2 Jun 2017 12:11:53 +0000 (15:11 +0300)]
Merge "Improved Statement API in Simantics/DB"
Hannu Niemistö [Fri, 2 Jun 2017 12:11:27 +0000 (15:11 +0300)]
Merge "(refs #7264) Better updating of SCL module tree"
Hannu Niemistö [Thu, 1 Jun 2017 10:04:26 +0000 (13:04 +0300)]
(refs #7250) CHR rules modularization (first working version)
This change adds a complete implementation of CHR modularization. New
top level declaration ruleset allows to define rulesets that can be
included into other rulesets (see CHR{5,6}.scl).
Change-Id: I3a188d788602fa27f863e16969f956d79c9684a9
Antti Villberg [Fri, 2 Jun 2017 10:19:02 +0000 (13:19 +0300)]
Optionally print also into IDE console
refs #7226
Change-Id: I52c900d8b495cb68eed028cc219dd56965447e7c
Antti Villberg [Fri, 2 Jun 2017 10:17:52 +0000 (13:17 +0300)]
Improved Statement API in Simantics/DB
refs #7270
Change-Id: I3780a424247bea8eaeeaa204595625844f3b0883
Tuukka Lehtonen [Fri, 2 Jun 2017 09:29:50 +0000 (12:29 +0300)]
Merge "Removed print"
Antti Villberg [Fri, 2 Jun 2017 09:14:15 +0000 (12:14 +0300)]
Removed print
refs #7173
Change-Id: Ie6d163943cafebbbde14253590d6298525327b03
Hannu Niemistö [Wed, 31 May 2017 21:00:28 +0000 (00:00 +0300)]
(refs #7264) Better updating of SCL module tree
Change-Id: I0f8c7f1314335b301bcfe84422d9e5eb4df36593
Tuukka Lehtonen [Thu, 1 Jun 2017 05:08:36 +0000 (08:08 +0300)]
Updated release engineering documentation.
refs #7263
Tuukka Lehtonen [Thu, 1 Jun 2017 04:47:32 +0000 (07:47 +0300)]
Bumped master target and org.simantics.sdk feature versions to 1.30.0.
refs #7263
Hannu Niemistö [Wed, 31 May 2017 20:59:24 +0000 (23:59 +0300)]
Merge "(refs #7260) Added a new DerivedProperty to SCLValues"
Hannu Niemistö [Wed, 31 May 2017 12:49:02 +0000 (15:49 +0300)]
Merge "(refs #7259) Added Iterator.filter and MSet.filterInPlace"
Hannu Niemistö [Wed, 31 May 2017 12:47:17 +0000 (15:47 +0300)]
(refs #7260) Added a new DerivedProperty to SCLValues
DerivedProperty prevents certain optimizations applied for private
values. This is needed because mechanisms deriving values are assuming
that certain Java methods will be generated.
Change-Id: I1ca9d839b6a4a4c9faa63e5faaa832e49f2d76d8
Hannu Niemistö [Wed, 31 May 2017 12:23:37 +0000 (15:23 +0300)]
Merge "Moved passing tests from UnimplementedTests to ModuleRegressionTests"
Hannu Niemistö [Wed, 31 May 2017 12:14:21 +0000 (15:14 +0300)]
(refs #7259) Added Iterator.filter and MSet.filterInPlace
Change-Id: If8d9ff797a2747346e42e3242da292dc78784e9b
Antti Villberg [Tue, 30 May 2017 11:33:46 +0000 (14:33 +0300)]
sclChildRule template for defining child rules with SCL code
refs #7258
Change-Id: Id6a898d5d194ab909101add4babe9ee5bc0ae463
Hannu Niemistö [Wed, 31 May 2017 07:33:42 +0000 (10:33 +0300)]
(refs #7250) Added new grammar rules for modular CHR rules
Change-Id: I55851a496fda5b1bc135a17d37f28770b36f5007
Antti Villberg [Tue, 30 May 2017 11:33:02 +0000 (14:33 +0300)]
Fixes to variable implementations
refs #7251
Change-Id: I955e563f7b78496968305fe5b3bdc23255194db8
Hannu Niemistö [Wed, 31 May 2017 06:59:10 +0000 (09:59 +0300)]
Moved passing tests from UnimplementedTests to ModuleRegressionTests
Change-Id: Id5e2c8c18c73147e7f1c30bb7cb8fcb56dcb6e76
Antti Villberg [Tue, 30 May 2017 11:32:26 +0000 (14:32 +0300)]
ResourceCollectionVariableMap for defining custom variable spaces in SCL
refs #7257
Change-Id: Ia523efed9fbcb9248e65938c790b347e6ad3a41a
Hannu Niemistö [Tue, 30 May 2017 07:49:26 +0000 (10:49 +0300)]
(refs #7250) Refactoring CHR implementation
This change is preparation for the modularization of the CHR rule
systems. The main change is moving the major rule execution code from
fact classes to priority level classes.
Change-Id: Idd63339d8c2cf81e2af07660f0f81cae273c1d62
Antti Villberg [Mon, 29 May 2017 12:06:26 +0000 (15:06 +0300)]
Diagram to SVG enhancements
refs #7253
Change-Id: I155f57928428f8ec4c39ffad90558396547dc10f
Tuukka Lehtonen [Tue, 30 May 2017 05:36:33 +0000 (08:36 +0300)]
Merge "Fixes to variable implementations"
Antti Villberg [Mon, 29 May 2017 12:04:37 +0000 (15:04 +0300)]
Fixes to variable implementations
refs #7251
Change-Id: Ideebcc4caca35339544554c287cccb2107caced3
Hannu Niemistö [Mon, 29 May 2017 13:36:07 +0000 (16:36 +0300)]
Merge "(refs #7250) Cleaning up CHR code generation"
Antti Villberg [Mon, 29 May 2017 12:05:28 +0000 (15:05 +0300)]
OpenDefaultEditor should not cache adapters that cannot be opened
#7252
Change-Id: Idf1a4e15fd808c540934dbfc6bc75d5b72016a1b
Hannu Niemistö [Mon, 29 May 2017 11:53:57 +0000 (14:53 +0300)]
(refs #7250) Cleaning up CHR code generation
Change-Id: Iad454f1f7cdc0f27e21a2db03680312f49ab1059
Hannu Niemistö [Mon, 29 May 2017 11:44:07 +0000 (14:44 +0300)]
Merge "(refs #7245) The first version of decompiler for SCL compilations"
Tuukka Lehtonen [Mon, 29 May 2017 11:38:41 +0000 (14:38 +0300)]
Merge "Added Simantics/Diagram function positionToVector."
Tuukka Lehtonen [Mon, 29 May 2017 09:58:32 +0000 (12:58 +0300)]
Added Simantics/Diagram function positionToVector.
This function complements the existing positionToDoubleArray and is
required to support for instance diagram template scenegraph node
transform property definition with SCL formulas.
Also fixes:
* Potential NPE in ExperimentUtil.scheduleShutdownActiveExperiment
* MANIFEST.MF warnings from org.simantics.document.server
refs #7246
Change-Id: Icfe41a33824c91e5be76940bbf4d46d34c8d0334
Antti Villberg [Sat, 27 May 2017 06:29:23 +0000 (09:29 +0300)]
Support for dynamic transforms for both elements and terminals
Includes also minor code warning/logging cleanup.
refs #7119
Change-Id: I2df8f0f0707e8adf1569679ab41a74f605ae1268
Hannu Niemistö [Mon, 29 May 2017 09:23:24 +0000 (12:23 +0300)]
(refs #7245) The first version of decompiler for SCL compilations
It is intentional that the new fragment
org.simantics.scl.compiler.decompiler is not added to the module
listings in bundles/pom.xml, because currently this feature is intended
only for development purposes.
Change-Id: Iff184f783c1a924ff00823486b4c13aa957ca184
Hannu Niemistö [Mon, 29 May 2017 09:15:18 +0000 (12:15 +0300)]
(refs #7242) Fixed NPE in SCLModuleTree
A null input must be handled when the component is disposed.
Change-Id: I915c68aa3d15b4d5a3cbd89220bd3701f262fee1
Hannu Niemistö [Sun, 28 May 2017 16:44:57 +0000 (19:44 +0300)]
Added procyon decompiler to target platform
Change-Id: I0bfad66709f89c3c27f16311d3adde69b80afda2
Hannu Niemistö [Fri, 26 May 2017 07:53:51 +0000 (10:53 +0300)]
(refs #6923) Explicit export annotation for SCL modules
Added module export list to module header. It looks like this:
module {
export = [foo, bar]
}
When using export list, @private annotation is not supported anymore.
All symbols not exported are effectively private.
Change-Id: I7827f6cf6062388ddd06be0ab401409bd08464fe
jsimomaa [Thu, 25 May 2017 04:07:50 +0000 (07:07 +0300)]
Jersey HTTP Client - increase .target's sequenceNumber just in case
#7243
Change-Id: I455326fbad7adfff04fa0a23a50ab689d3091e7b
Jani Simomaa [Thu, 25 May 2017 04:02:00 +0000 (07:02 +0300)]
Merge "Add missing jersey-server for Jersey HTTP Client.. does not make sense.."
jsimomaa [Thu, 25 May 2017 04:01:28 +0000 (07:01 +0300)]
Add missing jersey-server for Jersey HTTP Client.. does not make sense..
#7243
Change-Id: I378c43b1d9f72dc98b9f23d790c544238fe177f3
Hannu Niemistö [Wed, 24 May 2017 20:43:32 +0000 (23:43 +0300)]
Merge "(refs #7242) Refresh button to SCL Module browser"
Jani Simomaa [Wed, 24 May 2017 19:31:35 +0000 (22:31 +0300)]
Merge "Jersey HTTP Client - Remove (hopefully) unnecessary dependencies.."
jsimomaa [Wed, 24 May 2017 19:28:55 +0000 (22:28 +0300)]
Jersey HTTP Client - Remove (hopefully) unnecessary dependencies..
Change-Id: I7e532295639158da7f0971cd75252a0068406b3e
Jani Simomaa [Wed, 24 May 2017 19:12:02 +0000 (22:12 +0300)]
Merge "Jersey HTTP Client - Why "-" is not good enough for versioning?"
jsimomaa [Wed, 24 May 2017 19:11:50 +0000 (22:11 +0300)]
Jersey HTTP Client - Why "-" is not good enough for versioning?
#7243
Change-Id: I98952ab61b6e4ef1a37795bab2a530772a2761ae
jsimomaa [Wed, 24 May 2017 19:06:00 +0000 (22:06 +0300)]
Jersey HTTP Client - Oh my ruis, yet another version mismatch
#7243
Change-Id: I0be124f994a3ed777c48792a68de59e489a3c3c8
jsimomaa [Wed, 24 May 2017 18:58:24 +0000 (21:58 +0300)]
Jersey HTTP Client - Ok now I get how this works
#7243
Change-Id: I69fa5d738663f0dee462a41841097bc70f9f7e6e
jsimomaa [Wed, 24 May 2017 18:48:28 +0000 (21:48 +0300)]
Jersey HTTP Client - Still going strong
#7243
Change-Id: Ied41cc202f0efb01aefacd737b673e47eb209960
jsimomaa [Wed, 24 May 2017 18:45:45 +0000 (21:45 +0300)]
Jersey HTTP Client - almost finished :)
#7243
Change-Id: Ie7f79a9980ddb2e8c9d60dfb76f670a30267f400
jsimomaa [Wed, 24 May 2017 18:40:37 +0000 (21:40 +0300)]
Jersey HTTP Client - Wrong version numbers..
#7243
Change-Id: Id0af2b5d4caae2dfc12d87b2b2d5d94b5cc4df5c
jsimomaa [Wed, 24 May 2017 18:32:38 +0000 (21:32 +0300)]
Forgot to update logback and slf4j version in target files
#7243
Change-Id: I24e9e8ef33f856c4eb826c58bfee7dec5acc86ed
jsimomaa [Wed, 24 May 2017 18:24:56 +0000 (21:24 +0300)]
Adding Jersey HTTP Client to target platform
#7243
Change-Id: I004c550f611b2dec92c9a680e62d023ea1095ea3
Hannu Niemistö [Wed, 24 May 2017 17:28:07 +0000 (20:28 +0300)]
(refs #7242) Refresh button to SCL Module browser
Change-Id: I51a7441fc6fe702b6f7fc4410b67e24e6d788ae4
Hannu Niemistö [Wed, 24 May 2017 12:20:58 +0000 (15:20 +0300)]
Added null check to StreamingTransferableGraphImportProcess
refs #7240
Change-Id: I5724ddfff4eae6c17dcd92eff71e25fb80bc8cf6
Tuukka Lehtonen [Wed, 24 May 2017 10:40:28 +0000 (13:40 +0300)]
Merge "StreamingTransferableGraphImportProcess assumes index root cluster set"
Hannu Niemistö [Wed, 24 May 2017 08:50:15 +0000 (11:50 +0300)]
(refs #7242) First version of SCL Development perspective
Change-Id: Ica1a3d93c05e11ccee2cab3c0cf517cbe332106a
Antti Villberg [Tue, 23 May 2017 11:00:44 +0000 (14:00 +0300)]
StreamingTransferableGraphImportProcess assumes index root cluster set
refs #7240
Change-Id: I32ef3d78a8c278849fa6a44052a85e61510a72f5
(cherry picked from commit
b8403a3565fc946a389ea509ef8fd4067610fa00 )
Antti Villberg [Tue, 23 May 2017 11:02:22 +0000 (14:02 +0300)]
LayerCleanupMigrationStep is too eager
refs #7241
Change-Id: Ia389c085b09270a9bea5479ffaefbb2eb08a1ef7
jsimomaa [Mon, 22 May 2017 09:05:09 +0000 (12:05 +0300)]
Better and prettier printing
refs 7224
Change-Id: I6afdcfe04f4cef811c514b1c2f42478ebee30646
Jani Simomaa [Mon, 22 May 2017 08:09:13 +0000 (11:09 +0300)]
Merge "Support DB images in url requests"
Jani Simomaa [Mon, 22 May 2017 08:08:58 +0000 (11:08 +0300)]
Merge "Console printing also for content prints"
Antti Villberg [Fri, 19 May 2017 11:29:13 +0000 (14:29 +0300)]
Console printing also for content prints
refs #7226
Change-Id: Ia95b0d5e2432d8a9a2697a9184dd268a6c1fb8ab
Antti Villberg [Fri, 19 May 2017 11:28:19 +0000 (14:28 +0300)]
Support DB images in url requests
refs #7237
Change-Id: If642626d1ee420af0c694f48a3304cd51455465c
Antti Villberg [Fri, 19 May 2017 11:25:45 +0000 (14:25 +0300)]
More console printing
refs #7226
Change-Id: I255d30cc7188e6aff2111952b1a37ee4c755be68
Tuukka Lehtonen [Wed, 17 May 2017 13:26:41 +0000 (16:26 +0300)]
Check head.state file existence before validating its integrity
This prevents unnecessary NoSuchFileExceptions from being logged at
startup.
refs #7124
Change-Id: I500c937ec8894f6c97dcfe73b01efc4adc9b59a6
(cherry picked from commit
b4e846e4206e688050b659f2d66581d26e3dc1ce )
Hannu Niemistö [Wed, 17 May 2017 10:53:26 +0000 (13:53 +0300)]
Merge "(refs #6878) Don't validate SCL expressions in console input area"
Hannu Niemistö [Wed, 17 May 2017 10:07:41 +0000 (13:07 +0300)]
(refs #6878) Don't validate SCL expressions in console input area
Change-Id: I49ab2879aaf55bddf1e47c980bd944fbe32e2f5a
Jussi Koskela [Tue, 16 May 2017 05:23:41 +0000 (08:23 +0300)]
Calculating bounding box for dynamic symbol fails for empty TSpan
Replace empty content with dash as a workaround.
refs #7231
Change-Id: Iac8257d12d4a6201f766a7458c6315ab5e84f113
Hannu Niemistö [Mon, 15 May 2017 19:12:24 +0000 (22:12 +0300)]
(refs #6178) Added missing dependencies of kryo to target files
Change-Id: I26acf11b3218ec6a6ac0716abcff23dbdf326743
Tuukka Lehtonen [Mon, 15 May 2017 14:35:11 +0000 (17:35 +0300)]
Merge "(refs #6178) Added Kryo serialization library to target platform"
Hannu Niemistö [Mon, 15 May 2017 14:14:01 +0000 (17:14 +0300)]
(refs #6178) Added Kryo serialization library to target platform
Change-Id: I419b756f648a40a4f3809bb5eb8e1d6b8c399d1b
Antti Villberg [Mon, 15 May 2017 07:53:28 +0000 (10:53 +0300)]
CompilePGraphs takes previous bundled version of ontology
#7229
Change-Id: I71520cf139aa4131031a59bd377ca82410d36044
Antti Villberg [Sat, 13 May 2017 18:37:09 +0000 (21:37 +0300)]
Make NodeContext builtin keys available through Simantics/All
refs #7227
Change-Id: I8890d36f31feac77fcda9f9684b7cab86c7d8f91
Antti Villberg [Sat, 13 May 2017 18:36:10 +0000 (21:36 +0300)]
Console printing enhancements for documents (Simupedia)
#7226
Change-Id: Ib6f67ee6461dd3cec7d22b60c784631b065a4caa
Antti Villberg [Sat, 13 May 2017 18:33:37 +0000 (21:33 +0300)]
An action to show a pgraph for resources in ontologies
#7225
Change-Id: I358fc705d5a7afcb20edb6520019a3689a978cd7