]>
gerrit.simantics Code Review - simantics/platform.git/log
Jussi Koskela [Thu, 21 Mar 2019 13:02:02 +0000 (15:02 +0200)]
Improved logic to find imports/includes in SCLTextEditorEnvironement
gitlab #268
Change-Id: I2030ed897474264b5c7e191b0f14a6cd769cd6e8
Jussi Koskela [Thu, 21 Mar 2019 10:48:21 +0000 (12:48 +0200)]
Possibility to define label color decorator rules in SCL
gitlab #279
Change-Id: I9e34cb3af0434492ec26795f4f044c4e2484ecce
Hannu Niemistö [Wed, 20 Mar 2019 10:52:12 +0000 (10:52 +0000)]
Merge "Make SCL compiler accept "." as a valid relative path in imports."
Reino Ruusu [Wed, 20 Mar 2019 10:40:50 +0000 (12:40 +0200)]
Make SCL compiler accept "." as a valid relative path in imports.
gitlab #278
Change-Id: I8f74d26d15545f65400e9ba383fecb34a11be4c5
jsimomaa [Tue, 19 Mar 2019 08:27:17 +0000 (10:27 +0200)]
Fix server SCL handler value request for procedural user components
gitlab #277
Change-Id: Iedfbcec6411f98a197eff947673c0400fcd0d4b8
Reino Ruusu [Mon, 18 Mar 2019 16:24:27 +0000 (18:24 +0200)]
Always show version label for non-initial versions.
gitlab #276
Change-Id: I5c1c2ad67c1bf010ceb372d06203395c52e6ed71
jsimomaa [Sun, 17 Mar 2019 19:41:44 +0000 (21:41 +0200)]
Fix async NPE with GraphToDiagramSynchronizer
gitlab #275
Change-Id: I4e4baa18a9d2a14250498c1d1d3cf1d209dc94f3
Jani Simomaa [Sat, 16 Mar 2019 14:48:34 +0000 (14:48 +0000)]
Merge "Fetch all audit logging events"
jsimomaa [Sat, 16 Mar 2019 14:44:10 +0000 (16:44 +0200)]
Fetch all audit logging events
gitlab #274
Change-Id: I50f7368d758a3bbac424506db65966062895a213
Marko Luukkainen [Fri, 15 Mar 2019 13:46:25 +0000 (15:46 +0200)]
Allow loading databoard serialized files with type adapting
refs #273
Change-Id: I8aeb070809910ae502ead24bcb87eeba3142bf22
(cherry picked from commit
4797ec6414d21a81c5e0b23bf8a48b356b6711c5 )
Reino Ruusu [Thu, 14 Mar 2019 15:02:31 +0000 (17:02 +0200)]
Enhancements to UC migration.
gitlab #271
gitlab #272
Change-Id: Idefd29805e5c9cc5f7c331ba6bdb2a541e6ab134
(cherry picked from commit
40b90f72c9598beb7e21a07b280c43a68adc34f2 )
Jussi Koskela [Mon, 11 Mar 2019 06:29:29 +0000 (08:29 +0200)]
Provide classifications and datatype for Variable-based drag sources
gitlab #270
Change-Id: Idf4b2b82e56f4c20897e4d403d075dbfde9b57b1
jsimomaa [Wed, 6 Mar 2019 12:58:51 +0000 (14:58 +0200)]
Diagram mapping should remove connections alongside elements
gitlab #269
Change-Id: Ib848eb96f6f61093fc76dac3c49983e3febc3595
Hannu Niemistö [Sat, 2 Mar 2019 16:43:55 +0000 (16:43 +0000)]
Merge "Allow effects mapFst and mapSnd"
Hannu Niemistö [Fri, 1 Mar 2019 12:46:09 +0000 (12:46 +0000)]
Merge "Expose CommandSession in SCL"
Hannu Niemistö [Fri, 1 Mar 2019 12:45:56 +0000 (12:45 +0000)]
Merge "Warn for existential variables in head pattern referred only once"
Hannu Niemistö [Fri, 1 Mar 2019 12:45:37 +0000 (14:45 +0200)]
Allow effects mapFst and mapSnd
Change-Id: I873f82453ec1a306d486f3daa065ada61133bd64
Hannu Niemistö [Fri, 1 Mar 2019 12:28:02 +0000 (12:28 +0000)]
Merge "Implemented many type class instances for Set.T"
Tuukka Lehtonen [Fri, 1 Mar 2019 12:07:42 +0000 (14:07 +0200)]
Remove useless ReadGraph effect from addSubscription
gitlab #266
Change-Id: Ie8584836020e61d70f8917788c207f894ec3aa4d
Hannu Niemistö [Fri, 1 Mar 2019 11:04:14 +0000 (13:04 +0200)]
Implemented many type class instances for Set.T
Change-Id: I6190579fb7715ebfc5b165941cb33c6d27e84148
Hannu Niemistö [Thu, 28 Feb 2019 12:52:47 +0000 (14:52 +0200)]
Warn for existential variables in head pattern referred only once
#265
Change-Id: Ie022bbfb0b1829bc462bf88f44f65009464de096
Hannu Niemistö [Thu, 28 Feb 2019 14:34:22 +0000 (16:34 +0200)]
Expose CommandSession in SCL
Change-Id: Ie4bee3c9a56f357e8e8797f96254731dcd9878a6
Hannu Niemistö [Thu, 28 Feb 2019 13:22:43 +0000 (15:22 +0200)]
Don't list warnings in console when module import fails
Change-Id: I54832d5c530f173665c632493403963dda80e2ea
Hannu Niemistö [Wed, 27 Feb 2019 12:10:32 +0000 (14:10 +0200)]
Check that both returnTypeDesc and parameterTypeDescs are initialized
Change-Id: I6b3004ab9119ceef7ae0431cea64b28c8819fc4a
Reino Ruusu [Mon, 25 Feb 2019 15:51:59 +0000 (17:51 +0200)]
Added proper equals() implementations for validation compilation request
Fix to use of old value from cache while validating derived properties.
gitlab #252
Change-Id: I2adf76401dac90ddecc0bf2b3c222da6e242c2d2
jsimomaa [Mon, 25 Feb 2019 09:25:15 +0000 (11:25 +0200)]
Fix typical toolbar calculations to not throw ClassCastExceptions
gitlab #264
Change-Id: I352dcf48397f76986a44c01494a7ff5c89852f4a
jsimomaa [Mon, 25 Feb 2019 09:21:06 +0000 (11:21 +0200)]
No point computing ordered set if resource does not have any statements
gitlab #263
Change-Id: I92dbe0ea64bb8d7969124c27a37614abc724a8e1
Marko Luukkainen [Wed, 20 Feb 2019 17:14:33 +0000 (17:14 +0000)]
Merge "Use STR.Component base type for resolving actual type."
Marko Luukkainen [Wed, 20 Feb 2019 15:34:56 +0000 (17:34 +0200)]
Use STR.Component base type for resolving actual type.
This change should fix at least some problems with multi-instances.
gitlab #259
Change-Id: Id8496ba4bc03d9c0e7dba3cc0d0db858896ddce1
jsimomaa [Tue, 19 Feb 2019 12:04:45 +0000 (14:04 +0200)]
Duplicate MouseWheelMovedEvent was not actually fixed
gitlab #64
Change-Id: I4989c4f57e0a1f44a3366640c6e756ad2c93c4ad
jsimomaa [Tue, 19 Feb 2019 09:48:26 +0000 (11:48 +0200)]
Add outline page for SCLModuleEditor2
gitlab #257
Change-Id: I95b26ee8056b16103e12f32711167257b324eacf
Hannu Niemistö [Tue, 19 Feb 2019 08:33:48 +0000 (08:33 +0000)]
Merge "Data types imported from Java cannot be trivial"
jsimomaa [Mon, 18 Feb 2019 06:50:58 +0000 (08:50 +0200)]
WIP: Some old-ish adapter registry initialization improvements
gitlab #189
Change-Id: Ibcae41336b9d24cdf34444702b9319ae0c2ce34e
Hannu Niemistö [Fri, 15 Feb 2019 14:39:02 +0000 (16:39 +0200)]
Data types imported from Java cannot be trivial
Change-Id: I8740ddd940708ab1dbf60e958e04dff6082a0cbb
Hannu Niemistö [Thu, 14 Feb 2019 12:45:23 +0000 (14:45 +0200)]
Automatic deriving of instances for Json
Example:
data GeographicalLocation = GeographicalLocation {
latitude :: Double,
longitude :: Maybe Double
}
deriving instance Json GeographicalLocation
testIt :: <Proc> ()
testIt = do
print $ toJsonString GeographicalLocation {
latitude = 1,
longitude = Just 2 }
print (fromJsonString
"{ \"latitude\": 1, \"longitude\": 2 }"
:: GeographicalLocation)
print $ toJsonString GeographicalLocation {
latitude = 1,
longitude = Nothing }
print (fromJsonString
"{ \"latitude\": 1 }"
:: GeographicalLocation)
#256
Change-Id: I7f44b65472436779045e4d15871858d14132dff9
jsimomaa [Thu, 14 Feb 2019 11:24:34 +0000 (13:24 +0200)]
Add lookupJsonField to Data/Json SCL module
gitlab #256
Change-Id: If3be1a2f355f4542ffb60e0984ceec2b8771ed0f
Jussi Koskela [Fri, 8 Feb 2019 13:13:31 +0000 (15:13 +0200)]
Fixed broken validation of document SCL Handler expressions
The implementation was originally in Simupedia but was obviously lost
while moving the validation implementation to Simantics Platform.
gitlab #255
Change-Id: I81c92620631caa352daa5a7380733a4edb91e938
jsimomaa [Fri, 1 Feb 2019 07:39:08 +0000 (09:39 +0200)]
Initial version of validating derived properties formulas
Note: untested the procedural use case and still the solution can be a
bit hackish with e.g. constructing Variables and passing them along
However, at least this does something instead of just silently failing
gitlab #252
Change-Id: I209d9d585379b7b987861355589427ee90375738
Marko Luukkainen [Fri, 1 Feb 2019 13:24:08 +0000 (13:24 +0000)]
Merge "Fix selectPath returning true for nodes that haven't been loaded."
Marko Luukkainen [Fri, 1 Feb 2019 13:01:16 +0000 (15:01 +0200)]
Fix selectPath returning true for nodes that haven't been loaded.
gitlab #253
Change-Id: Ifdc5853e34f2c213acc6dcbffb4da3085936d60d
Jussi Koskela [Thu, 31 Jan 2019 14:34:16 +0000 (16:34 +0200)]
Mark SPECIAL_ROOTs as EXTERNAL in DomainProcessor3 - fixed condition
gitlab #251
Change-Id: I8bbffd898d2c5ea2a12330461dbf65daeacbe14d
Marko Luukkainen [Tue, 29 Jan 2019 11:06:53 +0000 (13:06 +0200)]
Rename linked list functions that are overlapping or are too generic
gitlab #250
Change-Id: Iae2e7ffc420970cb52c85c391361f02da3be3f28
Antti Villberg [Fri, 25 Jan 2019 10:26:23 +0000 (12:26 +0200)]
Fix document update / even better optimization of document requests
gitlab #249
Change-Id: I3b76b4ec8e767e974de83f4e52deba7c940b7174
Marko Luukkainen [Tue, 22 Jan 2019 16:13:37 +0000 (18:13 +0200)]
Bumped master version to 1.38.0
gitlab #248
Marko Luukkainen [Mon, 21 Jan 2019 10:21:04 +0000 (10:21 +0000)]
Merge "Added hashcode/equals methods to generic profile Group implementations"
Marko Luukkainen [Mon, 21 Jan 2019 09:30:47 +0000 (11:30 +0200)]
Added hashcode/equals methods to generic profile Group implementations
gitlab #247
Change-Id: I16603a738c7a43847a38e6007cd72cfcc268afd1
Miro Richard Eklund [Fri, 18 Jan 2019 10:20:06 +0000 (12:20 +0200)]
Ignore vaading designer preference files
Added to .gitignore com.vaadin.designer.prefs
gitlab #246
Change-Id: I20d6ddcc9f3abdf628beb0a709cd5ed389e57cb6
Marko Luukkainen [Thu, 17 Jan 2019 15:03:28 +0000 (15:03 +0000)]
Merge "General event listening interface for DB and purge events."
Marko Luukkainen [Thu, 17 Jan 2019 14:27:55 +0000 (16:27 +0200)]
General event listening interface for DB and purge events.
gitlab #245
Change-Id: Icdceaba3f8848751a24ee5aa9e1888b2540f0c73
Tuukka Lehtonen [Mon, 14 Jan 2019 11:32:35 +0000 (11:32 +0000)]
Merge "Fixed escaping in semiautomatic linking of shared libraries dialog"
Marko Luukkainen [Mon, 7 Jan 2019 07:40:42 +0000 (07:40 +0000)]
Merge "Remove unnecessary getComparableKey from HashMapBinding"
Marko Luukkainen [Fri, 4 Jan 2019 15:06:34 +0000 (17:06 +0200)]
Added addFirst/After/Before + remove SCL functions for Ordered Sets
gitlab #244
Change-Id: I40f921dc2f8cacf34692a0733ef6080e2d048eb7
Jussi Koskela [Thu, 3 Jan 2019 10:50:38 +0000 (12:50 +0200)]
Fixed escaping in semiautomatic linking of shared libraries dialog
gitlab #215
Change-Id: Iaa135ff44179edb1177d8e8c6b0a89c7aa4b5c8a
Marko Luukkainen [Wed, 2 Jan 2019 15:29:22 +0000 (17:29 +0200)]
QueryCaching broke DiagramViewer
gitlab #5
Change-Id: I510bdb56e57d6ff5dd17e72683f21265a5d91f22
Tuukka Lehtonen [Mon, 31 Dec 2018 13:36:49 +0000 (15:36 +0200)]
ImportPdfReader now implements Closeable
gitlab #243
Change-Id: I1d422e6c4103a4836210d15648ad47785fbe3972
jsimomaa [Mon, 24 Dec 2018 21:03:31 +0000 (23:03 +0200)]
Cache PropertyInfoRequests in getStandardChildDomainPropertyVariables
gitlab #5
Change-Id: Ia893c931bcab5adfb30d60d0caf109046f36e68a
jsimomaa [Fri, 21 Dec 2018 13:33:19 +0000 (15:33 +0200)]
Use query caching previous to multi-query-thread to retain performance
gitlab #5
Change-Id: I5ea3de8d088ad97d465ae67521fe107a60c8258a
Tuukka Lehtonen [Wed, 19 Dec 2018 09:13:51 +0000 (11:13 +0200)]
Don't run branch in branch-release if branch is not given
Change-Id: I033d3bbf3d75330b40f4c3185fa6e1eb968c5936
jsimomaa [Wed, 19 Dec 2018 06:39:11 +0000 (08:39 +0200)]
Add missing relation field when computing hashCode/equals
gitlab #239
Change-Id: Ie263a1183a2141a9257972698f4d849e181ff723
jsimomaa [Tue, 18 Dec 2018 13:52:49 +0000 (15:52 +0200)]
Remove unnecessary getComparableKey from HashMapBinding
This speeds up loading e.g. 60MB mapping file from 32s to 2s
gitlab #241
Change-Id: I14a4f6d4998c61f88a7d7798947e70ce041a4f1f
Tuukka Lehtonen [Tue, 18 Dec 2018 14:55:23 +0000 (16:55 +0200)]
Fixed database request threading issue in FlagUtil.join
gitlab #234
Change-Id: Ic97e56de1af19938e622143bf9acbe2f6154f74a
Tuukka Lehtonen [Tue, 18 Dec 2018 14:37:39 +0000 (16:37 +0200)]
Optimized Layer0Utils.getPossibleDefaultBinding
Removed badly named datatype_binging public static field from
Layer0Utils in favor of Bindings.DATATYPE. If you were using the
previous Layer0Utils constant in some place, just replace it.
The problem in the optimized code was that it was constantly converting
SCL types like "Double", "Boolean" etc. to databoard datatypes using the
databoard type parser even though those basic primitive types should
have been already premapped somewhere to prevent the need for any kind
of parsing.
gitlab #242
Change-Id: I336d5ebb6b5dbe080372d5b7304d5608f0472297
jsimomaa [Tue, 18 Dec 2018 13:26:44 +0000 (15:26 +0200)]
Do not compute replaceable type for non ReplaceableDefinedComponentTypes
gitlab #240
Change-Id: Ia982e16172698e855eac2845be0304363c9987f7
jsimomaa [Tue, 18 Dec 2018 13:12:44 +0000 (15:12 +0200)]
Add hashCode and equals to AbstractExpressionCompilationRequest
gitlab #239
Change-Id: I33940420ee95a52d14042bd6857be4950d878dbb
jsimomaa [Tue, 18 Dec 2018 13:10:14 +0000 (15:10 +0200)]
Disable flickering in ColorSelectionDialog
gitlab #238
Change-Id: Ib21e8b4eb569172f96db1b463297abe12d3d061c
Marko Luukkainen [Mon, 17 Dec 2018 17:32:41 +0000 (19:32 +0200)]
Resolving a variable for name that has no Resource representation fails.
gitlab #235
Change-Id: I673f6fec7f66ae0f16179c299a0f747c4f595cec
Tuukka Lehtonen [Fri, 14 Dec 2018 21:04:54 +0000 (21:04 +0000)]
Merge "Implement ImageDescriptor.getImageData(int zoom)"
Tuukka Lehtonen [Fri, 14 Dec 2018 13:32:44 +0000 (15:32 +0200)]
Added L0.typeResource SCL type to SCLTypeUtils to prevent warning prints
gitlab #83
Change-Id: I811959a6ef16fa57710b67aea2f454cef1cf2206
Tuukka Lehtonen [Thu, 13 Dec 2018 14:43:14 +0000 (14:43 +0000)]
Merge "Truncate size of the binary file"
Tuukka Lehtonen [Thu, 13 Dec 2018 11:43:37 +0000 (13:43 +0200)]
Revert "Usability fixes for GraphExplorerImpl -related WB selection propagation"
This reverts commit
270834ce3962a4bca3945d06e642a99d21688c16 .
Tuukka Lehtonen [Thu, 13 Dec 2018 11:43:37 +0000 (13:43 +0200)]
Revert "Fixed GraphExplorerImpl to set selection upon keyboard-based selection"
This reverts commit
75dc26dacf421e7027e959643963af1efdf10986 .
Tuukka Lehtonen [Thu, 13 Dec 2018 11:43:36 +0000 (13:43 +0200)]
Revert "Fire selection change events on every selection change"
This reverts commit
a8ee105b0825fcefc76b9aa967b275f418308df7 .
Tuukka Lehtonen [Thu, 13 Dec 2018 11:43:35 +0000 (13:43 +0200)]
Revert "Fixed PropertyPageView to publish its selection to the workbench"
This reverts commit
5675f72f9664c8ff275614d1ebe8a5a5d3014a98 .
Jussi Koskela [Thu, 13 Dec 2018 11:03:00 +0000 (13:03 +0200)]
Truncate size of the binary file
gitlab #233
Change-Id: I563e413ce2b3ecf3e1b3455221c3a3690bc31674
Antti Villberg [Thu, 13 Dec 2018 10:34:03 +0000 (12:34 +0200)]
Truncate big value cluster file if its size decreases
gitlab #232
Change-Id: I62617e6857a150cb27d0d81a53da604577173bfe
Tuukka Lehtonen [Wed, 12 Dec 2018 21:03:41 +0000 (23:03 +0200)]
Fixed target platform problem with missing net.jcip.annotations
It seems that updating eclipse.collections caused
net.jcip.annotations dependency to be removed which meant
the bundle is no longer in the external dependencies P2 site.
This change adds it back in there.
gitlab #231
Change-Id: I8dcfd805351f44830d964b64a773a42fb5b41c32
jsimomaa [Wed, 12 Dec 2018 14:07:40 +0000 (16:07 +0200)]
Update eclipse-collections to version 9.2.0 & add caffeine
gitlab #231
Change-Id: I7d9f767f16702d3ae40820557dff0c9d574cc9aa
Tuukka Lehtonen [Thu, 6 Dec 2018 21:38:15 +0000 (23:38 +0200)]
Externalize strings
* org.simantics.fileimport.ui
* org.simantics.graphviz.ui
* org.simantics.help.ui
* org.simantics.image.ui
* org.simantics.issues.ui
* org.simantics.logging.ui
* org.simantics.message.ui
* org.simantics.migration.ui
* org.simantics.modeling.ui (unfinished, contains around 1500 strings)
gitlab #210
Change-Id: Ib408f94694481876dfbedcf81b86e607bce3f32d
Tuukka Lehtonen [Fri, 30 Nov 2018 15:14:46 +0000 (17:14 +0200)]
Externalize strings in org.simantics.export.ui
gitlab #210
Change-Id: I4eb50d5c00043eebac377b26a98409c9770f2e34
Tuukka Lehtonen [Fri, 30 Nov 2018 14:34:35 +0000 (16:34 +0200)]
Externalize strings in org.simantics.document.ui
gitlab #210
Change-Id: Ibf869b4b7a0c8efcc6705f887cfb0ed1f3fac260
Tuukka Lehtonen [Thu, 29 Nov 2018 14:01:59 +0000 (16:01 +0200)]
Externalize org.simantics.document.linking.ui
gitlab #210
Change-Id: I5518a1c41c87a606ce68b69c9462750a49add088
Tuukka Lehtonen [Wed, 28 Nov 2018 15:12:28 +0000 (17:12 +0200)]
Externalize strings in org.simantics.desktop.ui
gitlab #210
Change-Id: Id1ac35d76c9cd9b6541b9c6eed1b21322d30fbb7
Tuukka Lehtonen [Wed, 28 Nov 2018 14:55:17 +0000 (16:55 +0200)]
Externalize strings in org.simantics.debug.ui
gitlab #210
Change-Id: Ie9366b4ce9f0530df946bed292a918fc7f6ac7f3
Tuukka Lehtonen [Wed, 28 Nov 2018 13:15:54 +0000 (15:15 +0200)]
Externalize strings in org.simantics.db.procore.ui
gitlab #210
Change-Id: Id68728d5e8202fdadeef86d1d91e4f397ab6a4a7
Tuukka Lehtonen [Fri, 7 Dec 2018 12:52:57 +0000 (14:52 +0200)]
Implement ImageDescriptor.getImageData(int zoom)
gitlab #228
Change-Id: I0b0294a8a48d6d633c452fee780be502f4d58406
Tuukka Lehtonen [Fri, 7 Dec 2018 12:18:49 +0000 (14:18 +0200)]
HistoryUtil API for exporting subscription history data archive file
Previously exporting was supported only directly into the database.
gitlab #227
Change-Id: I672cc3f5ca20b3b26e9b35d0c3eaf5415d1a3e5f
Tuukka Lehtonen [Fri, 7 Dec 2018 09:53:05 +0000 (11:53 +0200)]
Fixed StandardCutHandler IllegalThreadAccess problem
Also changed old deprecated logger to SLF4J logging to the related
classes.
gitlab #74
gitlab #133
Change-Id: I0dbb14d4025a5fc2c58519d933e3dfdf03de1878
jsimomaa [Fri, 7 Dec 2018 06:55:51 +0000 (08:55 +0200)]
Use Logger in DependencyChanges & related mechanisms
gitlab #226
Change-Id: If6a85641c64853154a65e77e43e053b3d7f35bb5
jsimomaa [Fri, 7 Dec 2018 06:53:37 +0000 (08:53 +0200)]
Update SCL-editor annotations asynchronously
gitlab #225
Change-Id: Iec9fce3432b701b540526b1bd95ada331252951a
jsimomaa [Wed, 5 Dec 2018 09:18:47 +0000 (11:18 +0200)]
Search deeply for generic superclass in ReflectionUtils
gitlab #224
Change-Id: I3f3decead033c62726c5919b2b3f36b786de5135
jsimomaa [Tue, 4 Dec 2018 09:22:07 +0000 (11:22 +0200)]
Replace e.printStackTrace() with Logger in DependencyChanges
gitlab #223
Change-Id: Ia0f585e0f78a225959e4a882760b1b3f4c73753f
Tuukka Lehtonen [Fri, 30 Nov 2018 23:16:34 +0000 (01:16 +0200)]
Fixed invalid argument problem from RouteGraphUtils.load
Wrong IElement passed to TerminalLayout.getTerminalPosition.
gitlab #220
Change-Id: I46b82ccd8937107a771c1f157cd4581066736abc
Antti Villberg [Wed, 28 Nov 2018 06:42:22 +0000 (08:42 +0200)]
Document performance optimizations
gitlab #217
Change-Id: Ia61baca7ab92f73d10ddc87456aca1575795e80e
Tuukka Lehtonen [Fri, 30 Nov 2018 20:26:50 +0000 (20:26 +0000)]
Merge "Fixed PropertyPageView to publish its selection to the workbench"
Tuukka Lehtonen [Fri, 30 Nov 2018 20:08:02 +0000 (22:08 +0200)]
Fixed PropertyPageView to publish its selection to the workbench
Removing the property page view site selection provider caused the
workbench to naturally never receive any selections from the view thus
breaking any handlers whose activity/functionality relies on the current
workbench selection being accurate also with property tabs.
gitlab #185
Change-Id: I0d7067a0880486b93d135631baccd14ca613be90
jsimomaa [Fri, 30 Nov 2018 12:04:34 +0000 (14:04 +0200)]
Speeding up platform startup time
Shaved ~1.5seconds off by starting SCL compiler priming at the beginning
of platform startup on the background before the LifeCycleProcesses
project feature needs the compiler.
Also removed seemingly unused VirtualGraphInitializer that installed
virtualgraphs/*.tg files into random memory-persistent virtual graphs
during platform startup. It simply piles on some startup overhead and
does nothing.
gitlab #221
Change-Id: I1ebbc4e292957755cd88f2941cd02730ae8605c8
jsimomaa [Mon, 26 Nov 2018 20:15:33 +0000 (22:15 +0200)]
Move shutdown of worker pools to SimanticsPlatform.shutdown()
Closing of public worker pools should be done before we are closing our
db-connection. The platform-shutdown routine has already started and
therefore it should not be meaningful to execute any more work for a
closing platform
gitlab #212
Change-Id: I9fb8fb0970d649f7b53282be0627bf5387c9dde9
Tuukka Lehtonen [Tue, 27 Nov 2018 12:28:48 +0000 (14:28 +0200)]
Ask to link library to model when dropping symbol from unlinked library
This simplifies workflow for users that want to add symbols from a user
library but have not yet linked the library to the model.
gitlab #215
Change-Id: I1eb4c0680a14dc21fca8dc8961baf1f059ecccd9
jsimomaa [Mon, 26 Nov 2018 20:11:19 +0000 (22:11 +0200)]
Remove unnecessary logback logger definition
org.simantics logger is basically identical with the root logger what
comes to configuration. This specific logger can be removed to keep the
configuration clear and simple.
Also, this makes it more complicated to programmatically modify loggers
as both the root logger and org.simantics logger has to be
programmatically configured
gitlab #216
Change-Id: I8e27ea03ad3c5b6f2654edf0a7d863319e06bfa7
Marko Luukkainen [Mon, 26 Nov 2018 11:18:34 +0000 (13:18 +0200)]
Passing data between tooltip check and content creation.
gitlab #146
Change-Id: I415f79b182cacbeca9999aacc50ac920c31a344b
(cherry picked from commit
2309629a2b9cb57e86c3b34bf8d94f2bdfd5a1ef )