]>
gerrit.simantics Code Review - simantics/platform.git/log
Tuukka Lehtonen [Tue, 30 Oct 2018 11:14:56 +0000 (13:14 +0200)]
Fixed ComponentTypeCommands.setUnit to support unit == null
If unit is null, also L0X.HasUnit should be removed.
gitlab #161
Change-Id: I0e6ba32917e6281803c7bbe8b94832291e58db9a
(cherry picked from commit
4e402f51b0e34d40c3f9d33a4bec7feffeb8d339 )
Tuukka Lehtonen [Tue, 30 Oct 2018 07:23:54 +0000 (09:23 +0200)]
Added possibility to directly schedule filter setting type URI
Also changed the typeURI load to directly set the filter text instead of
scheduling it to be set after a quiet time (500ms). This makes way for a
bit cleaner UI experience.
gitlab #140
Change-Id: If999ccf69182e56da2f520e2922ba2a7ed26ffdc
(cherry picked from commit
eb81a8ba87fabc50f712525508c938080d98da10 )
Tuukka Lehtonen [Sat, 27 Oct 2018 20:20:29 +0000 (23:20 +0300)]
Added editable unit for derived properties
gitlab #161
Change-Id: I81a7dc60fa0c4d4173dbfa128a509e7e2bfa18e9
(cherry picked from commit
72d52b5910e1ed0141b6768ef700e7321ac05553 )
Marko Luukkainen [Thu, 25 Oct 2018 10:20:07 +0000 (13:20 +0300)]
Use AlphaNum sorter in Symbol Library
gitlab #158
Change-Id: I753ff1f6fcb0acda780f18645f489850147a5c4c
Marko Luukkainen [Thu, 25 Oct 2018 10:11:25 +0000 (13:11 +0300)]
ConnectionTool fixes for overlapping terminals
gitlab #157
Change-Id: If011efcf774e18165e6ae1e62907dffe2c6a21f0
Tuukka Lehtonen [Fri, 19 Oct 2018 12:22:27 +0000 (15:22 +0300)]
Fixed history data collection minmax stream updates and plot rendering
After commit
30ca6dab the chart was rendering all plots as SAMPLING
instead of LINE because the commit changed all stream items' endTime
update logic to actually for all streams instead of just the minmax
stream. The fix was to change the plot rendering to still render
diagonal lines instead of step functions regardless of of the start and
end time of each history stream value band are. The lines vs. sampling
settings is now solely based on the chart rendering preferences.
gitlab #35
Change-Id: I9f8872994870bdedbf0708bb77beceab1c884313
(cherry picked from commit
fee871302ad4c53ca2c2307bd13366d99116d930 )
Tuukka Lehtonen [Thu, 18 Oct 2018 10:45:45 +0000 (13:45 +0300)]
Faster bounds calculation for zoom to selection and navigate to target
gitlab #151
Change-Id: If72f62ea8c5ce4789bc8331eb598668091158ab6
(cherry picked from commit
13edeabfa275ed09f6fa1b76923a96a1172fdc22 )
Tuukka Lehtonen [Wed, 17 Oct 2018 09:35:54 +0000 (12:35 +0300)]
Fix org.simantics.scl.tutorial classpath and build.properties
Removed source and bin directories from build path since there is no
source code in this bundle.
gitlab #138
Change-Id: I72cfc2a47d6a8d8b85239b4cec095160c7d9d107
(cherry picked from commit
fb1256f2cfbd58b316317ea8777bfe91fd93ccda )
Tuukka Lehtonen [Fri, 28 Sep 2018 12:41:34 +0000 (15:41 +0300)]
Import org.simantics.scl.tutorial from incubator SVN repo
gitlab #138
Change-Id: Ic3590a2992612847294a0db960e485dd3c7bbbf9
(cherry picked from commit
e0f2b602b8c67f642b1a88ef588b401f4e64a553 )
Marko Luukkainen [Tue, 16 Oct 2018 07:28:07 +0000 (10:28 +0300)]
Adding column data to tooltip event could cause NPE
gitlab #146
Change-Id: I4ce48cc851638fd5cd38bab77763fdfec9c48ed9
Reino Ruusu [Fri, 12 Oct 2018 11:39:29 +0000 (14:39 +0300)]
Fixed another source of deadlocks in DynamicExperimentThread.
gitlab #136
Change-Id: Iabeef360c93d617a38cbc7883533c3cb487ae6f2
Marko Luukkainen [Thu, 11 Oct 2018 11:13:14 +0000 (14:13 +0300)]
Expose helpContextId resolving to other implementations
gitlab #147
Change-Id: I34fd73a223a8ca00b89397f59870b6442411d4c6
Marko Luukkainen [Thu, 11 Oct 2018 11:12:36 +0000 (14:12 +0300)]
Allow column specific tooltips in the GraphExplorer
gitlab #146
Change-Id: I8c07e3013783ffd31fba95391e0b8ba35b855b84
Marko Luukkainen [Tue, 2 Oct 2018 09:15:16 +0000 (12:15 +0300)]
Type specific graph explorer filter area
gitlab #140
Change-Id: I62c0323cabfcf448f037f7cf3cc4fd3f7d2b65d6
(cherry picked from commit
ad09d0837dcd03c6925ca1154d70c930aa622c9c )
Reino Ruusu [Wed, 26 Sep 2018 10:58:58 +0000 (13:58 +0300)]
Fixed race condition in DynamicExperimentThread.
gitlab #136
Change-Id: I533e274bef62e7ce939c9a67a37d8e86d6f38bce
(cherry picked from commit
1b6efbcb17b7cf648145f83b1a82f6e1c1dce22e )
Tuukka Lehtonen [Thu, 20 Sep 2018 12:53:35 +0000 (15:53 +0300)]
New parametrisation of OpenDiagramFromConfigurationAdapter.openEditor
The new method allows giving Resource model and RVI arguments for
ResourceEditorInput2 externally.
gitlab #130
Change-Id: I1c70e2e7548047a376b4a8b0f3797a70564f0dc0
(cherry picked from commit
08f4d03f521f01e2482c9dda8b314571ea8c35c3 )
Tuukka Lehtonen [Tue, 18 Sep 2018 21:45:25 +0000 (00:45 +0300)]
Fixed diagram mouse wheel zooming for HiDPI monitors with zoom
SWTMouseEventAdapter now upscales coordinates which previously were just
passed to G2D as SWT API coordinates, not pixel coordinates.
gitlab #119
Change-Id: Icd3e00d1e515007f8573f7910783762a26916615
(cherry picked from commit
a45f69c08e4157a565cddce93bbf17aa64da2e2f )
(cherry picked from commit
b2f1da4c219c646ba3fce0498bf757d64c6dca6d )
Tuukka Lehtonen [Mon, 17 Sep 2018 12:34:42 +0000 (15:34 +0300)]
Small fix for SWTDPIUtil to prevent uninitialized use
gitlab #119
Change-Id: I27779078dca87927b9700a1acc3b26aed7cca308
(cherry picked from commit
1adc3807dea544d29512510dc9546ec65b72e389 )
Tuukka Lehtonen [Sun, 16 Sep 2018 12:25:59 +0000 (15:25 +0300)]
Small but effective HiDPI fixes for platform G2D
* GalleryViewer now scales accoring to swt.autoScale setting
* SWTPopupMenuParticipant now properly downscales pixel coordinates to
SWT API coordinates
* Default symbol title font size is now 12 which is more readable by
default now that the font size is scaled more correctly than before
gitlab #119
Change-Id: I9ced77879e367efd905138798b18c3fb908e5b21
(cherry picked from commit
181013801c831415efe3cfe346546b5ab62c3214 )
Tuukka Lehtonen [Tue, 18 Sep 2018 20:45:22 +0000 (23:45 +0300)]
Added new ExperimentRuns.createRun utility
The new method was added because more control was needed on whether
attachStateListener is invoked or not.
gitlab #126
Change-Id: I7132cb1bd2bd734403382b2d35c169510c8ea433
(cherry picked from commit
7903eb7d1e0e004cfa05a8775fda95e556b5727b )
jsimomaa [Sat, 1 Sep 2018 12:12:15 +0000 (15:12 +0300)]
Added new diagram element transformation function rotateToNeighborSlope
gitlab #97
Change-Id: I0a86ea5c8bc3f5c6d3019715580e38cd1483d85b
(cherry picked from commit
3e877b48594c98cff85f4db64964f86fe14c0f03 )
Tuukka Lehtonen [Wed, 29 Aug 2018 17:57:57 +0000 (20:57 +0300)]
ToggleFocusabilityHandler now updates UI state on active part change
gitlab #93
Change-Id: I1e9fd3f5190149529d6b3f9882b238c62745c154
(cherry picked from commit
f4b65f5afe961edc8d5e1696f32c8efbb8ea48f6 )
Tuukka Lehtonen [Mon, 27 Aug 2018 21:21:33 +0000 (00:21 +0300)]
Avoid unnecessary ElementClass validation work
GraphToDiagramSynchronizer.SubstituteElementClassImpl can safely ignore
ElementClass validation checks which speeds loading up a bit for very
large diagrams.
gitlab #90
Change-Id: I2aa561cbad8de034362a4a298272d3faa8242537
(cherry picked from commit
bb2be932187c70082a01e12e1f451dd06650a48c )
Tuukka Lehtonen [Mon, 27 Aug 2018 21:17:48 +0000 (00:17 +0300)]
Switch MapList to use Java HashMap
Java HashMap is more efficient than Trove THashMap already in JDK 8.
gitlab #89
Change-Id: I9eb9be8a513ad1cd90b8f6f4a45aca99bba9234b
(cherry picked from commit
c4f4133d961fb96ae7a99c86678cb09fb9aff1f5 )
Tuukka Lehtonen [Mon, 27 Aug 2018 14:01:39 +0000 (17:01 +0300)]
Debug logging through SLF4J Logger for Expressions
gitlab #88
Change-Id: I7917e8a207e99bf92feab50291bcb3d85e108cf3
(cherry picked from commit
a43df9e895f022132f9b94dfedeae78fb4eed712 )
Tuukka Lehtonen [Tue, 21 Aug 2018 15:54:52 +0000 (18:54 +0300)]
Render last known value in time series chart hairline value tip
Previously if a history item's data stream did not (yet) contain a value
with a timestamp >= than the chart hairline time, the value time on top
of the chart would not paint any value at all for that item. The best
thing the chart can do in such circumstances to prevent unwanted visual
skipping in the UI is to paint the last known sample's value regardless
of its endTime value.
gitlab #85
Change-Id: I362a19b8699c8c4a96240ddfc3fd68a91d6bbd06
(cherry picked from commit
e2e0b33c6a7b55c4b0f7a268dd37e545feefc5a2 )
Tuukka Lehtonen [Fri, 17 Aug 2018 08:23:20 +0000 (11:23 +0300)]
Improved Bindings.getBinding(Class) caching for Datatype.class
Previously Datatype.class binding was never cached nor statically
constructed and made available as Bindings.DATATYPE which is only
sensible because Datatype class is a central building block of Databoard
and therefore its binding should also be readily available instead of
all clients having to request for it separately.
A weak hashmap cache was also added for signature strings in
BindingRequest because it was noticed that in conditions where code
makes a lot of requests for uncached binding, the cost of String
construction in BindingRequest.getSignature starts to dominate
cpu/memory costs. Two main problems in there were: constantly creating
new strings and using the very inefficient String.replaceAll instead of
String.replace(char, char).
gitlab #82
Change-Id: I50fbbc2bbe1e5d6b8b5864c3aed4c228022e66dc
(cherry picked from commit
a1696e5257fae039410c924155fdeffc1ce1b3e9 )
jsimomaa [Fri, 3 Aug 2018 07:48:11 +0000 (10:48 +0300)]
Remove duplicate InputChannel inner classes
gitlab #73
Change-Id: I5ef3948f8b3437345536bd7e121cb3443d8fe26f
(cherry picked from commit
59cab457bcc89618e8557235fd65eaecbe583592 )
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 )
Tuukka Lehtonen [Fri, 3 Aug 2018 05:32:00 +0000 (08:32 +0300)]
Always write model activation information in activations VG
gitlab #72
Change-Id: Iae03fee489bfb3b50797dc2cd271e65ec535133a
(cherry picked from commit
0d600d71de7dfab22bdcd0588cd792800bfe3a8c )
Tuukka Lehtonen [Mon, 27 Aug 2018 14:00:02 +0000 (17:00 +0300)]
Generic <String, Object> property map for tree node structure
Allows requests generating these nodes to mark them with any data to be
used later in UI or elsewhere.
gitlab #87
Change-Id: Ifa0e0d6cd9be342057ff150e721cebe50105197f
(cherry picked from commit
6de980c76c96ea34c5824aca8916ddb61f64f2ff )
Jussi Koskela [Mon, 20 Aug 2018 06:24:34 +0000 (09:24 +0300)]
Check if root allows paste only for non-null target root to prevent NPE
gitlab #84
Change-Id: I7d736e78928bc203bfb05e72af31e16d204bdc32
(cherry picked from commit
3a2595f9c5b8a3c6d98add2e869678b26662fde9 )
Tuukka Lehtonen [Sun, 26 Aug 2018 12:28:01 +0000 (15:28 +0300)]
Backported
b75a6bbc for release/1.35.0
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 )
Jussi Koskela [Thu, 9 Aug 2018 10:22:16 +0000 (13:22 +0300)]
Use given base name when exporting tg file along with shared library
gitlab #79
Change-Id: I7cec6fe1546475a40de09514d8aeb8b219b290fa
(cherry picked from commit
cdfd997cc5118a9fb08a73f35c6f7306308abd86 )
Tuukka Lehtonen [Thu, 2 Aug 2018 20:05:22 +0000 (23:05 +0300)]
Configured release/1.35.0 branch for SDK builds
gitlab #71
jsimomaa [Fri, 27 Jul 2018 07:19:12 +0000 (10:19 +0300)]
IConnectionPoint and canBeConnected-checking util to SCL
gitlab #67
Change-Id: I7bcb4a3c415dd480cc7b4621ed6b18f1a277d83c
Antti Villberg [Mon, 23 Jul 2018 18:50:47 +0000 (21:50 +0300)]
Functions for manipulating column beans
gitlab #51
Change-Id: I27a62a07324fa3dc48f5d80efa660881f85940a1
Antti Villberg [Mon, 23 Jul 2018 16:25:19 +0000 (19:25 +0300)]
Support for multiple installable TG files in single bundle
gitlab #50
Change-Id: Id3f11ec8fbc4a3276fe7c48e538996542e768312
Miro Richard Eklund [Tue, 31 Jul 2018 10:43:02 +0000 (13:43 +0300)]
Change mode to operation in Spreadsheet when changing sheets
gitlab #70
Change-Id: I0735e72d817b3d1c7287ecfe0c6e2473bac32a01
Miro Richard Eklund [Tue, 31 Jul 2018 10:39:19 +0000 (13:39 +0300)]
Added static handler without event as input to AssignSymbolGroupsHandler
This minor change is needed by sysdyn to be able to add Modules to
symbol groups.
gitlab #69
Change-Id: I7df2c397a299e1a49a7912809fa7773917e6cfe3
jsimomaa [Mon, 30 Jul 2018 08:18:24 +0000 (11:18 +0300)]
Make transformChanged and dropQuality abstract in NavigationNode
gitlab #63
Change-Id: Iac86a4a40292597408a78903a372ee779c93b111
jsimomaa [Fri, 27 Jul 2018 07:09:16 +0000 (10:09 +0300)]
Option to disable duplicate MouseWheelMovedEvent in G2D EventQueue
gitlab #64
Change-Id: Ifda3fb71ac2ddc71fc94dfdc198841a55e166953
Jani Simomaa [Mon, 30 Jul 2018 05:27:38 +0000 (05:27 +0000)]
Merge "ResourceSCLTextGridStyle for creating Resource-based monitors with SCL"
Jani Simomaa [Mon, 30 Jul 2018 05:27:25 +0000 (05:27 +0000)]
Merge changes I7cd072f0,I499dc390
* changes:
Add progress monitoring for DeleteHandler
Improve performance of CommandMetadata (de)serialization
Miro Richard Eklund [Fri, 27 Jul 2018 15:08:34 +0000 (18:08 +0300)]
Add missing images back to SILK
The images are time with a rainbow and an italic font F, both used in
old versions of Sysdyn desktop.
gitlab #68
Change-Id: Ibc441c67f7599ea0a83940cbe2fa9ae240ea79d5
jsimomaa [Fri, 27 Jul 2018 07:07:40 +0000 (10:07 +0300)]
Customize NavigationNode for PanZoomRotateHandler
gitlab #63
Change-Id: I127743304e9ebae068c961e9929a18fb17115a08
jsimomaa [Fri, 27 Jul 2018 07:04:49 +0000 (10:04 +0300)]
ResourceSCLTextGridStyle for creating Resource-based monitors with SCL
gitlab #62
Change-Id: I17b33e561ff5194e8ebaaf4522d702b222e762cf
jsimomaa [Fri, 27 Jul 2018 07:02:50 +0000 (10:02 +0300)]
Add progress monitoring for DeleteHandler
Current implementation does not give any hints when deleting e.g. 10000
resources
gitlab #61
Change-Id: I7cd072f0adbfe02c9ee8f0e80350bec44a6e7c20
jsimomaa [Fri, 27 Jul 2018 06:59:25 +0000 (09:59 +0300)]
Improve performance of CommandMetadata (de)serialization
gitlab #60
Change-Id: I499dc390e84a733e9a890164695a79ad2a40e05f
jsimomaa [Fri, 27 Jul 2018 06:51:11 +0000 (09:51 +0300)]
Add max digits for ruler node for subclasses to override
gitlab #59
Change-Id: I7063af75d8ae1190271386a8441b90ccec7342af
Jani Simomaa [Thu, 26 Jul 2018 09:30:57 +0000 (12:30 +0300)]
Prevent paste to resources that are `L0.Entity_published`
gitlab #57
Change-Id: Ie4728421bca56ba0c10ae03d08f99123faffa1f1
Miro Richard Eklund [Wed, 25 Jul 2018 12:56:46 +0000 (15:56 +0300)]
Updated file importer interface and fixed Spreadsheet import
Spreadsheet import through the generic file importer always failed,
since the books cannot be imported to Development Project. Now the
generic file interface takes this into account and provides the
selection as a resource. Currently only ExcelFileImport uses
Amend 1: Changed the way the selected resource is found
Amend 2: Take into account Tuukka's review comments (1,2,3 and 5)
Amend 3 and 4: Changes by Jani and Miro to fix some issues with the
interface
gitlab #53
gitlab #56
Change-Id: Ibfb9d54d8c36a3dc2aa7da8f1043613159ae8383
Miro Richard Eklund [Wed, 25 Jul 2018 09:33:33 +0000 (12:33 +0300)]
Spreadsheet updates cell values properly
Cells referencing other cells weren't updated after change
"
8c8283a01e63980527d605936286747006bea601 " (see in History view), in
StandardNodeManager.java. I added a new setValue function that takes a
list of Nodes that need to be updated (removes them from valueCache),
which allows only specific cells to be updated when another cell is
updated.
I also removed invalidation code from Spreadsheet's "All.java" class and
added them to the value updated in SpreadsheetNodeManager, which
invalidates recursively the cells the use another cell.
I also made sure that SpreadsheetCells jave the same properties through
their life-cycle, rather than creating a properties map whenever the
properties are called.
gitlab #48
gitlab #54
gitlab #55
Change-Id: I125f644e014310937ed7697e9f44ec33825f9b0f
Miro Richard Eklund [Wed, 18 Jul 2018 11:12:05 +0000 (14:12 +0300)]
Spreadsheet Fixes
-Fix ArithmeticExpression + and - String cell value evaluation to check
for number properly.
-decodePossibleCellAbsolute by location rather than decodeCellAbsolute
in "getPossibleCellEditor" to avoid error being thrown unnecessarily
when trying to access cells by ID "Headers" (which is not a proper cell
ID)
-Update cell content expression after change rather than leaving the
default value.
gitlab #43
gitlab #44
gitlab #45
Change-Id: I8a89d86f6cdfd0651a36176a69066b8faa4faeac
Antti Villberg [Tue, 17 Jul 2018 09:49:35 +0000 (12:49 +0300)]
Utilities for listing of statements in DB
gitlab #42
Change-Id: I5d79c2542cffaff56cb6e6405c466e030115c7c3
Antti Villberg [Fri, 20 Jul 2018 05:09:50 +0000 (08:09 +0300)]
Re-export simulation.sequences in simulator.toolkit
gitlab #49
Change-Id: I12435be168e141efb69691d1dbe3cf8a92c4f8bc
Hannu Niemistö [Thu, 19 Jul 2018 11:18:29 +0000 (11:18 +0000)]
Merge "Use Runtime.halt instead of System.exit in delayed shutdown"
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
Antti Villberg [Thu, 19 Jul 2018 08:17:28 +0000 (11:17 +0300)]
Getter for experiment from DynamicExperimentActionContext
gitlab #47
Change-Id: I287952c70b5540b6ec4491cacba4a2804510b684
Hannu Niemistö [Tue, 17 Jul 2018 10:29:50 +0000 (10:29 +0000)]
Merge "Better emptying of trash bin"
Hannu Niemistö [Tue, 17 Jul 2018 10:29:35 +0000 (10:29 +0000)]
Merge "Block external and excluded seeds in ConsistsOfProcess"
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
Miro Richard Eklund [Tue, 10 Jul 2018 14:42:14 +0000 (17:42 +0300)]
Add workbenchselection json fetcher to SCL interface
Requires some small refactoring changes to AdaptableHintContext and
classes using it, which is why so many files were affected.
gitlab #41
Change-Id: I35bc8abe9e1eca8ff34ee503925645ee14d41664
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
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ö [Mon, 2 Jul 2018 09:24:27 +0000 (12:24 +0300)]
Graph debugger: handle case where assertions does not have predicate
gitlab #38
Change-Id: I85b9b2c014b44bcaec7cf3117b87df1215143435
Tuukka Lehtonen [Sun, 1 Jul 2018 11:03:46 +0000 (14:03 +0300)]
Added safety to release-helper.sh
Change-Id: I4505f0e6c935a94ebd4a869e39455fe6ff10b91c
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
Marko Luukkainen [Thu, 28 Jun 2018 14:40:26 +0000 (17:40 +0300)]
SCL API for GraphFile plug-in.
gitlab #34
Change-Id: I81b9d41cfa392545df629bf9e7a6197c21effa58
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 [Thu, 21 Jun 2018 20:19:09 +0000 (23:19 +0300)]
Inlined Prelude/maybe
gitlab #31
Change-Id: I88298efc212596ad57adf468ed54b8f268050126
Tuukka Lehtonen [Thu, 21 Jun 2018 15:01:28 +0000 (18:01 +0300)]
Added Prelude/maybe
`maybe def f v` returns `def` if `v=Nothing` and `f x` if `v=Just x`.
gitlab #31
Change-Id: I3319ee8e9e4cf678aece4878c1fb2ddf33395bc4
jsimomaa [Thu, 21 Jun 2018 06:46:10 +0000 (09:46 +0300)]
Generic OpenDiagramFromComponentAdapter
gitlab #30
Change-Id: Ib17df6e2a29642aa2e98976e4ad8df0cafd4e72e
Tuukka Lehtonen [Wed, 20 Jun 2018 14:23:38 +0000 (17:23 +0300)]
Added exception safety for createHistorySamplerItem2
gitlab #9
Change-Id: I2a5894b73a638aad3e05ee42d0b10e40d60f3270
jsimomaa [Thu, 14 Jun 2018 19:31:48 +0000 (22:31 +0300)]
Async utilities for SCL
* scheduleAtFixedRate
* scheduleWithFixedDelay
* schedule
gitlab #23
Change-Id: I72ab85f4458a17a83fa4de95bc668d8fadac1d50
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
jsimomaa [Wed, 20 Jun 2018 06:28:07 +0000 (09:28 +0300)]
Reinitialize visible diagrams after shared library migration
gitlab #28
Change-Id: Ie3f8f5c90ed98490e2f03f1c955995d30b9a3923
Hannu Niemistö [Tue, 19 Jun 2018 13:24:25 +0000 (16:24 +0300)]
Prefer methods with more parameters when resolving importJava
gitlab #27
Change-Id: Idd6ec1a08f127a503c456cea45f5bda7dbf9703a
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
Hannu Niemistö [Mon, 18 Jun 2018 10:19:56 +0000 (13:19 +0300)]
Upper bound to ANTLR version range
gitlab #24
Change-Id: I23967ea9b3e4bc6960f83b6d22bd3f3a80e3b43b
Hannu Niemistö [Mon, 18 Jun 2018 09:12:01 +0000 (12:12 +0300)]
Fix ANTLR package versions
gitlab #24
Change-Id: I9c9cdbe4fe3f27364f7248822942bca75a268525
Hannu Niemistö [Mon, 18 Jun 2018 08:05:39 +0000 (11:05 +0300)]
Removed org.simantics.ltk[.antlr] bundles, exact import for antlr
gitlab #24
Change-Id: I582628d505edcec5565e768a42b984fdb3e096fb
Hannu Niemistö [Fri, 15 Jun 2018 13:39:07 +0000 (16:39 +0300)]
Removed extra debug/timing prints from graph compiler
gitlab #25
Change-Id: Ibeb73046154a53595acd3bb31e51551c4b5c9fe5
Hannu Niemistö [Fri, 15 Jun 2018 13:11:42 +0000 (16:11 +0300)]
Restricted version of imported ANTLR packages, compile with 3.5.2
gitlab #24
Change-Id: Ie5bace3044f290d400a17c2bbe97774429c86ba8
Jussi Koskela [Wed, 7 Feb 2018 11:50:07 +0000 (13:50 +0200)]
Improvements to Lucene indexing
refs #7750
Change-Id: Ie93ff3058882bc61835d25d72440031c240be494
Jussi Koskela [Tue, 12 Jun 2018 11:41:51 +0000 (14:41 +0300)]
New implementation of server state based on StandardNodeManager
gitlab #20
Change-Id: I51e56095fb1e76b4c67945eead07d1e9da54eed4
Tuukka Lehtonen [Mon, 11 Jun 2018 08:03:49 +0000 (11:03 +0300)]
Modernized release engineering instructions.
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
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
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
Tuukka Lehtonen [Fri, 8 Jun 2018 06:37:38 +0000 (09:37 +0300)]
Bumped master versions to 1.35.0
gitlab #16
Change-Id: Iafe0abeaffca3d15c35c629f7fe2eb4aaac437a5
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."