]>
gerrit.simantics Code Review - simantics/interop.git/log
Marko Luukkainen [Tue, 5 May 2020 06:52:55 +0000 (09:52 +0300)]
Inverse relation for hasReference
gitlab #23
Change-Id: Ia7a89a759ded433f2074d63dfeb3c29a49e24d32
(cherry picked from commit
340cfaa1f26b43c9d51ee9d0fdc1316594c96c6a )
Marko Luukkainen [Tue, 5 May 2020 07:15:58 +0000 (10:15 +0300)]
Fix simantics sdk reference.
gitlab #24
Change-Id: I9310fdb65579cecd76d424ec52f0160ef1668391
Marko Luukkainen [Thu, 5 Mar 2020 14:51:51 +0000 (14:51 +0000)]
Merge "Include interop.diagram in P2 repo"
Marko Luukkainen [Thu, 5 Mar 2020 14:47:57 +0000 (16:47 +0200)]
Include interop.diagram in P2 repo
gitlab #7
Change-Id: I5770cbea22910fbc99d5c942cd6c9cbf79b3381c
Tuukka Lehtonen [Tue, 18 Feb 2020 21:46:15 +0000 (23:46 +0200)]
Add support for signing published bundles
gitlab simantics/platform#468
Marko Luukkainen [Fri, 7 Feb 2020 10:15:49 +0000 (12:15 +0200)]
SCL threads support
gitlab #22
Change-Id: I18e2cf1b2f7d45624362bd0712964e6ed5b08a94
Marko Luukkainen [Thu, 16 Jan 2020 11:30:11 +0000 (13:30 +0200)]
Prevent changing custom value after the change has been applied
Hide check icon for applied property changes.
gitlab #18
Change-Id: I52001e7acf098aa61591d93605c780543b68f29e
Marko Luukkainen [Tue, 14 Jan 2020 12:16:09 +0000 (14:16 +0200)]
Default dependencies made delete op to apply additions
gitlab #16
Change-Id: I5ccf1ffeb5fca0db25c3fde13b6bf85566a749ef
Marko Luukkainen [Mon, 13 Jan 2020 11:47:14 +0000 (13:47 +0200)]
Added object checks for graph path comparison
gitlab #21
Change-Id: I6dc5cfd1eae225590a551e5a5004f604e9e2cfea
Marko Luukkainen [Mon, 13 Jan 2020 09:22:50 +0000 (11:22 +0200)]
Improve PropertyChange.equals for asserted properties.
gitlab #10
Change-Id: I5ab2954f2cbcb0eb1b2a1bb116c0611ad7457298
Marko Luukkainen [Mon, 13 Jan 2020 09:20:24 +0000 (11:20 +0200)]
Allow UpdateOps to describe parent resource
gitlab #21
Change-Id: Idef9b151b3719268e97c63a6376f0945a0a9a8d1
Marko Luukkainen [Mon, 13 Jan 2020 09:16:13 +0000 (11:16 +0200)]
Added relations checks for graph path comparison
Note: I have not spotted any failures with the previous logic.
gitlab #21
Change-Id: I22cb17b35c6c21c65b93f6a2f04dd8e4ef0e4511
Marko Luukkainen [Thu, 9 Jan 2020 16:56:05 +0000 (18:56 +0200)]
Asserted properties caused wrong change reports.
ReadGraph.getStatements(s,L0.HasProperty) returns both instance
statements for s, but also asserted statements. Hence, the same
properties were added to processing list twice, causing skewed
comparison results.
gitlab #10
Change-Id: I2ebc3e3b9303c6716a830aee8cb95b391d68c6fd
Marko Luukkainen [Thu, 9 Jan 2020 11:53:22 +0000 (13:53 +0200)]
Getters for specific class UpdateOps
gitlab #20
Change-Id: Ic40fd6d18dca5839fa179083bbb754de1869aac9
Marko Luukkainen [Wed, 8 Jan 2020 12:43:33 +0000 (14:43 +0200)]
Show disabled items in change management UI
gitlab #19
Change-Id: I79e79918a8c1f37ce93c9733aae28f368a5cdc5b
Marko Luukkainen [Tue, 7 Jan 2020 13:44:11 +0000 (15:44 +0200)]
Copy all generic type definitions with SimpleObjectUpdate
gitlab #20
Change-Id: I9da08d7d8dd35778b64022d406c2c362d4ccea6c
Marko Luukkainen [Tue, 7 Jan 2020 13:42:43 +0000 (15:42 +0200)]
Necessary changes for UC change management support
UpdateTree changes are applied before property changes, so that possible
UC additions/deletions are processed first. (This may require additional
changes).
Use possible custom property relation when applying PropertyChange.
Do not report added/removed asserted properties with GraphComparator.
gitlab #21
Change-Id: Ida163051fd27db06ab504ec86dc86d2d8887bfa0
Marko Luukkainen [Fri, 3 Jan 2020 14:09:52 +0000 (16:09 +0200)]
Support for element connections.
gitlab #7
Change-Id: I6d487e39780a963f7e5835d01047cf60db0c2947
Marko Luukkainen [Fri, 20 Dec 2019 13:53:52 +0000 (15:53 +0200)]
Support for symbol removes.
Note. the code has not been tested, your results may vary.
gitlab #7
Change-Id: If367c11099fdf3bcf793ef948a1637bd1d6e0d77
Marko Luukkainen [Fri, 20 Dec 2019 13:53:00 +0000 (15:53 +0200)]
Copying tags and type information.
gitlab #20
Change-Id: I127386789bc3d071c53c0874e074fb834c1b3075
Marko Luukkainen [Thu, 19 Dec 2019 14:53:40 +0000 (16:53 +0200)]
Use named Comparator return values for most common cases
gitlab #20
Change-Id: I3390167b14c673c6b587ae484d8d3d30635a1181
Marko Luukkainen [Thu, 19 Dec 2019 11:36:21 +0000 (13:36 +0200)]
Handling property change from Literal to SCLValue
gitlab #20
Change-Id: I223b01159ad872ede440b1c194f68915ec18a0f1
Marko Luukkainen [Wed, 18 Dec 2019 18:49:03 +0000 (20:49 +0200)]
Copying SCLValues
gitlab #20
Change-Id: I2e46e71ba0c5df147bd1362eb23af082950fa455
Marko Luukkainen [Wed, 18 Dec 2019 18:48:11 +0000 (20:48 +0200)]
Fixed connection creation
gitlab #7
Change-Id: Ie10154d941b44f0ef48143535711798e84305989
Marko Luukkainen [Tue, 17 Dec 2019 15:52:55 +0000 (17:52 +0200)]
Simple update operation
Operation creates new objects by copyingL0.InstanceOf and L0.HasProperty
relations.
gitlab #20
Change-Id: I4a1bacd17a826c6cffea375dd311428e0a24ec89
Marko Luukkainen [Tue, 17 Dec 2019 15:50:49 +0000 (17:50 +0200)]
Allow Diagram API to work for Document instances.
gitlab #7
Change-Id: I1947db44ea134743abdcf50cbee7eaeac54e2a8c
Marko Luukkainen [Mon, 16 Dec 2019 11:19:43 +0000 (13:19 +0200)]
Better column customization
gitlab #19
Change-Id: I88b1a992e612379032e3f5593237cbb375cb99dd
Marko Luukkainen [Mon, 16 Dec 2019 11:18:14 +0000 (13:18 +0200)]
Support for custom property values.
gitlab #18
Change-Id: I2c5a7803ef7ac5f7156676fd8c3252cf38c35108
Marko Luukkainen [Tue, 26 Nov 2019 10:50:35 +0000 (12:50 +0200)]
Fix ResourceComparator initialization
gitlab #16
Change-Id: I09c32c66b4e15aaed42dac03f82502c3f723131e
Marko Luukkainen [Mon, 25 Nov 2019 12:36:34 +0000 (14:36 +0200)]
ResourceComparator initialization method
gitlab #16
Change-Id: I11df4cd5e5ae0f81f3ad929fe6944883b7ed4670
Marko Luukkainen [Fri, 22 Nov 2019 11:35:38 +0000 (13:35 +0200)]
UpdateOp specific selection propagation
This implementation replaces previous, direction (parent/sub) specific
propagation.
This is API change, implementations must be updated.
gitlab #16
Change-Id: I1da59958636495ee2e9c90cc6b86ce0cfb99c186
Marko Luukkainen [Thu, 21 Nov 2019 12:30:32 +0000 (14:30 +0200)]
Added enabled flag for UpdateOp
gitlab #16
Change-Id: I4f8e0146c15a30a0ad00650600f5275c0df05717
Marko Luukkainen [Wed, 20 Nov 2019 17:30:15 +0000 (19:30 +0200)]
Add post processing step to bind property and structural changes
Additionally added enabled flag for PropertyChanges
gitlab #16
Change-Id: I7ac9c999471ab934cc26bd36d920940cb91cb528
Marko Luukkainen [Wed, 20 Nov 2019 13:00:57 +0000 (15:00 +0200)]
Support for UpdateOps that are not adds or deletes.
gitlab #16
Change-Id: Idac97fbf7bb86c320fca3b242116f62e4f687228
Marko Luukkainen [Tue, 19 Nov 2019 09:35:01 +0000 (11:35 +0200)]
Property changes may incude data type changes.
gitlab #15
Change-Id: Iddcfd403cda7035bb8512687354666be4c269e93
Marko Luukkainen [Wed, 16 Oct 2019 09:54:29 +0000 (12:54 +0300)]
Improve matching logic for three way UpdateTree nodes.
gitlab #14
Change-Id: I87e14b14d548113c084882dd7e82939495aff92a
Marko Luukkainen [Wed, 25 Sep 2019 06:48:34 +0000 (09:48 +0300)]
Fix register and clear functions to have correct amount of arguments
gitlab #13
Change-Id: I315c513bc8e4ead8b9afdbd8b6e3d6f96682015c
Marko Luukkainen [Thu, 19 Sep 2019 14:44:30 +0000 (17:44 +0300)]
Include interop.scl in P2 repository
gitlab #13
Change-Id: I226b7c37ad93ea1e19d759b6cf2dcbf11d948639
Marko Luukkainen [Thu, 19 Sep 2019 14:29:37 +0000 (17:29 +0300)]
Clear for single functions + include interop.scl in the build
gilab #13
Change-Id: I2b1e0e1b3c4c41b902e5e95cc667651275d9e200
Marko Luukkainen [Tue, 17 Sep 2019 13:34:48 +0000 (16:34 +0300)]
SCL Function registry for emulating listeners
gitlab #13
Change-Id: I1c370495412d47cbd27a1cfe06d508a5fa645256
Marko Luukkainen [Thu, 12 Sep 2019 16:07:08 +0000 (19:07 +0300)]
Added new interface for user filters
ChangeFilter2 operates on change management objects, instead of raw
change data.
gitlab #12
Change-Id: I54f1bbc62b8715a3582ee71ecc802cdb315f0b3d
Marko Luukkainen [Thu, 29 Aug 2019 07:46:08 +0000 (10:46 +0300)]
Use ArrayList (instead of HashSet) to store changes
gitlab #11
Change-Id: I7d5a2c1f462c6de3c401288420350e25f650147f
Marko Luukkainen [Fri, 23 Aug 2019 12:49:10 +0000 (15:49 +0300)]
Added getPredicate() for Modification class
Left or right side statement can be null, but predicate is expected to
be the same on both statements.
gitlab #10
Change-Id: Idce23d4bc54ae19876bb444a5dd10b2af9661c04
Marko Luukkainen [Fri, 3 May 2019 10:41:51 +0000 (13:41 +0300)]
Handle asserted property statements
Added GraphComparator.Modification object for property changes
Store subject Resources to PropertyChanges objects
Use Java 1.8
gitlab #10
Change-Id: Ieb04c620c2be8e8d206d59f70f09ec2d62aea5f4
Marko Luukkainen [Fri, 29 Mar 2019 10:48:07 +0000 (10:48 +0000)]
Merge "Fix NPE in TypeComparator"
Marko Luukkainen [Thu, 28 Mar 2019 17:32:48 +0000 (19:32 +0200)]
Fix NPE in TypeComparator
Additional change: debug print for found Resource matches
refs #9
Change-Id: I5c44a4a9696df03d4676ad30b272bc71c7029545
Marko Luukkainen [Tue, 12 Mar 2019 17:00:49 +0000 (17:00 +0000)]
Merge "Remove outdated model browser contribution"
Marko Luukkainen [Tue, 12 Mar 2019 16:59:41 +0000 (16:59 +0000)]
Merge "Java API for diagrams, work in progress"
Marko Luukkainen [Tue, 12 Mar 2019 16:50:34 +0000 (18:50 +0200)]
Remove outdated model browser contribution
gitlab #8
Change-Id: Id331f99445265f02fd769a30c777aaf04a94747c
Marko Luukkainen [Tue, 12 Mar 2019 16:48:36 +0000 (18:48 +0200)]
Java API for diagrams, work in progress
gitlab #7
Change-Id: I05295206618511bd3d55589fd588fa1079f042e2
Marko Luukkainen [Mon, 4 Feb 2019 14:19:30 +0000 (14:19 +0000)]
Merge "Attribute namespace handling overrides."
Marko Luukkainen [Mon, 4 Feb 2019 14:16:25 +0000 (16:16 +0200)]
Attribute namespace handling overrides.
gitlab #3
Change-Id: I1968b61f24a3227a3a3634580fa63e3123b2c2c0
Miro Richard Eklund [Fri, 18 Jan 2019 10:43:57 +0000 (12:43 +0200)]
Add gitignore that ignores vaadin preferences
gitlab #6
closes #6
Change-Id: I9d79e90b768f94da267449bc6194a210c8a6afb0
Marko Luukkainen [Mon, 22 Oct 2018 09:19:25 +0000 (12:19 +0300)]
Improved attribute namespace handling + element characters data parsing
gitlab #3
Change-Id: Ia5a27bfb304b863b9e8ba30a968fd3558fd5d8b6
Marko Luukkainen [Fri, 5 Oct 2018 15:22:55 +0000 (18:22 +0300)]
Attribute namespace + multi-schema data export
gitlab #3
Change-Id: I7eb6cdae8be3be31301a0c4a2b5e59365c4d7293
Marko Luukkainen [Thu, 13 Sep 2018 10:26:37 +0000 (13:26 +0300)]
Generate SCL bindings for multi-version ontology references classes.
* Additionally, added SCL bindings to XML time/date data types
gitlab #5
Change-Id: Ia1b5786becf99b691a66d48b63bd2689cb646d9a
Marko Luukkainen [Tue, 11 Sep 2018 10:47:34 +0000 (13:47 +0300)]
Improved processing of multiple XML data files.
gitlab #3
Change-Id: Ice8db7eb7df11880f81850d7f1a714e8738ef945
Marko Luukkainen [Thu, 6 Sep 2018 10:42:52 +0000 (13:42 +0300)]
Handle multi-namespace XML files.
gitlab #3
Change-Id: I7b067e47a415116b127ecd707b54090c8d277446
Tuukka Lehtonen [Thu, 30 Aug 2018 12:05:41 +0000 (15:05 +0300)]
Remove usage of deprecated SimanticsUI-methods
gitlab #4
gitlab simantics/platform#95
Change-Id: I71a99f04b3db073268ad508c46841350574e077a
Marko Luukkainen [Fri, 24 Aug 2018 09:45:10 +0000 (12:45 +0300)]
XML data based schema and ontology generation
gitlab #3
Change-Id: Ibc1821ede1bafb1aa9b68b32aff2f57faffa5a1f
Marko Luukkainen [Mon, 13 Aug 2018 07:27:53 +0000 (10:27 +0300)]
Fix possible NPE when handling added and removed properties
gitlab #2
Change-Id: Iea39d4965096726162cc085a872c411e7433fa4b
Tuukka Lehtonen [Thu, 14 Jun 2018 11:44:49 +0000 (14:44 +0300)]
Added LICENSE
Marko Luukkainen [Thu, 31 May 2018 08:57:03 +0000 (08:57 +0000)]
Merge "Previous changes broke Apros specific code, heres a fix."
Marko Luukkainen [Thu, 31 May 2018 08:56:55 +0000 (08:56 +0000)]
Merge "Minor adjustments"
Marko Luukkainen [Thu, 31 May 2018 08:52:52 +0000 (11:52 +0300)]
Previous changes broke Apros specific code, heres a fix.
gitlab #1
Change-Id: I4fcbb926dd4c116ca9d27010353668936cc835c2
Marko Luukkainen [Wed, 30 May 2018 14:25:16 +0000 (17:25 +0300)]
Minor adjustments
Allowing code re-use by making things public
Fix for property change matching (for filtering)
gitlab #1
Change-Id: I40a1493ee7777f4e1ffbc820ca642878ae5b19ab
Marko Luukkainen [Tue, 29 May 2018 13:59:57 +0000 (13:59 +0000)]
Merge "Added support for filtering changes"
Marko Luukkainen [Tue, 29 May 2018 13:44:48 +0000 (16:44 +0300)]
Added support for filtering changes
gitlab #1
Change-Id: I765d0bdad5c304321bd3c82e77c386da890eb02e
jsimomaa [Tue, 8 May 2018 13:10:08 +0000 (16:10 +0300)]
Fixing compiler warning & testing gerrit -> gitlab replication
refs #xxxx
Change-Id: Icccba292397d9798ab0ea03b238daec53a2049e1
Marko Luukkainen [Tue, 6 Mar 2018 12:46:29 +0000 (14:46 +0200)]
Moved label generation to separate init() method
Change-Id: I19de25135578ffa826c46c940191b6e0337bc3c6
Marko Luukkainen [Wed, 28 Feb 2018 11:14:29 +0000 (13:14 +0200)]
Using bindings when comparing literal values (perf optimization)
Tuukka Lehtonen [Mon, 22 Jan 2018 11:06:12 +0000 (13:06 +0200)]
Fixing Logger fallout caused by platform commit
1dfeb7d5
refs #7719
Change-Id: I493f7330f826208446410e66b9eb7a0f34709da0
Antti Villberg [Mon, 8 Jan 2018 06:23:52 +0000 (08:23 +0200)]
Switch to delayed write for more performance.
refs #7656
Change-Id: Iaf7e364bdbb286ca4761f6dc7b78efcb54560e33
Marko Luukkainen [Thu, 21 Dec 2017 10:42:03 +0000 (12:42 +0200)]
Don't continue parsing XML file if root element is not recognised
jsimomaa [Thu, 14 Dec 2017 06:12:31 +0000 (08:12 +0200)]
Adding builtin type for Class in SCL so fix Update.scl
refs #7681
Change-Id: Id4f648a50e4c53b429e0ce0d67017e87f0baa2b4
Marko Luukkainen [Wed, 22 Nov 2017 16:22:09 +0000 (18:22 +0200)]
Add Maybe for SCL functions that can return null.
jsimomaa [Sun, 19 Nov 2017 19:00:31 +0000 (21:00 +0200)]
Add SCL-folder to build.properties for binary builds
Change-Id: I38c53ff4f6b7b56d712244a17412399e82e9a3fc
Marko Luukkainen [Wed, 1 Nov 2017 13:55:54 +0000 (15:55 +0200)]
UpdateNode / UpdateOp may have a Resource
Marko Luukkainen [Tue, 24 Oct 2017 14:26:17 +0000 (17:26 +0300)]
PropertyChange class (instead of Pair)
Marko Luukkainen [Tue, 24 Oct 2017 08:16:33 +0000 (11:16 +0300)]
Ability to reset the default selections
Marko Luukkainen [Mon, 23 Oct 2017 10:56:10 +0000 (13:56 +0300)]
Default property selection was using a wrong resource for comparison
Marko Luukkainen [Fri, 20 Oct 2017 12:29:08 +0000 (15:29 +0300)]
Three-way comparison
Marko Luukkainen [Tue, 17 Oct 2017 10:37:42 +0000 (13:37 +0300)]
Retrieving UpdateNodes with a Resource reference
Marko Luukkainen [Thu, 12 Oct 2017 15:02:36 +0000 (18:02 +0300)]
SCL bindings for model update
Marko Luukkainen [Tue, 3 Oct 2017 15:04:28 +0000 (18:04 +0300)]
Separating model update logic from UI
Hannu Niemistö [Wed, 27 Sep 2017 11:08:10 +0000 (14:08 +0300)]
Added interop.update to interop feature
Change-Id: I80d79177dbc9b6cd5a182d4c4eaac1d6646689ce
Tuukka Lehtonen [Wed, 27 Sep 2017 09:32:44 +0000 (12:32 +0300)]
Graphviz only as dependency of interop feature, not included
refs #7396
Change-Id: I0e37da3e4a6403a149ee3b9a4027e17bc4412939
Tuukka Lehtonen [Wed, 27 Sep 2017 07:29:01 +0000 (10:29 +0300)]
Added org.simantics.excel.poi.feature
The new feature is now also a part of
org.simantics.interop.repository.
refs #7396
Tuukka Lehtonen [Wed, 27 Sep 2017 06:38:05 +0000 (09:38 +0300)]
Tychoized Simantics interop repository
The repository built for org.simantics.interop.repository now
contains two features, org.simantics.interop.feature and the
newly added org.simantics.xml.sax.feature.
org.simantics.excel.poi is not a part of any feature yet.
refs #7396
Reino Ruusu [Wed, 28 Jun 2017 15:03:14 +0000 (18:03 +0300)]
Bug fix to importer and exporter generation for simpleType top level
elements.
Change-Id: I4f8df343ddfcf9c19e24d4d8563be64b3103fa54
Marko Luukkainen [Tue, 9 May 2017 07:19:38 +0000 (10:19 +0300)]
Add ComplexTpye inheritance to SimpleType or literal type when necessary
Change-Id: I112f7277b34ce770e63fbd0bdb2bb0d417780f00
Marko Luukkainen [Thu, 4 May 2017 10:28:35 +0000 (13:28 +0300)]
Schema conversion changes
Multiline base64 data import fixed
Use '_List' postfix with LinkedList
Processing a SimpleType when schema contains an Element with the same
name failed
Change-Id: I76607517d2e60dc87c0fc6e07c7b81b65e6d4d8a
Reino Ruusu [Tue, 25 Apr 2017 20:28:26 +0000 (23:28 +0300)]
Several updates to interoperability.
Declaration of simpleTypes as literal types.
Support for value elements with simple datatypes.
Fixed Base64 support.
Improved support for choice indicators.
Fixes for schemas without target namespace.
Generation of empty string literals for empty elements.
Change-Id: I8ae3b4fa47690c7c58df5a44eaf3191cc13f1fa2
Marko Luukkainen [Thu, 13 Apr 2017 07:34:54 +0000 (10:34 +0300)]
Improve graph comparison logic
Added additional processing step for Resources that cannot be identified
when they are encountered the first time
refs #7045
Change-Id: I4cdefb7ae765f2f8efe5ab7d2cf444d8e98d7185
Marko Luukkainen [Thu, 6 Apr 2017 15:02:33 +0000 (18:02 +0300)]
Fix introduced ConcurrentModficationException
refs #7045
Change-Id: Ib93731f246193505ec1bddc4e38928312b11981d
Marko Luukkainen [Thu, 6 Apr 2017 10:53:06 +0000 (13:53 +0300)]
Three-way comparison: utilise old changes in the update step
refs #7045
Change-Id: Icb060716503992e2dbb69b779952f397e6df9169
Marko Luukkainen [Mon, 3 Apr 2017 15:40:02 +0000 (18:40 +0300)]
Initial implementation of model updates with three-way comparison.
refs #7045
Change-Id: Ie6365fd4c5a7f8e93f5cb96b3cadc5b986213c14
Marko Luukkainen [Mon, 3 Apr 2017 14:02:00 +0000 (17:02 +0300)]
Add third Resource reference to UpdateEditorInput for three-way
comparison support.
refs #7045
Change-Id: I3137324f7ce6c2d9981d2a148167c0e1e8cfaebf
Marko Luukkainen [Mon, 3 Apr 2017 12:04:17 +0000 (15:04 +0300)]
Store Property change selections to UpdateList
refs #7045
Change-Id: If505e8452f4d424cadf281be5e5190b60db46d99
Marko Luukkainen [Thu, 30 Mar 2017 14:12:04 +0000 (17:12 +0300)]
UpdateList object for property changes
refs #7045
Change-Id: Ic1f86ee82e8fd214f8fd29ff00fb828bbf956ab1