Commit graph

148 commits

Author SHA1 Message Date
Karsten Thoms
f46a269fdd gradleprojectbuilder added by Buildship project import
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-07-01 23:09:36 +02:00
Anton Kosiakov
2782bd4e8c [ls/resourceAccess] fail if the resource set is null
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 12:03:17 +02:00
Anton Kosiakov
7f91cc9c09 [referenceFinder] refine a javadoc for IResourceAccess
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:32 +02:00
Karsten Thoms
aca69748fd formatting
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-06-14 19:08:56 +02:00
Sebastian Zarnekow
34bf1e5d30 Introduce local vars to avoid compiler warning 2017-06-02 12:42:28 +02:00
Sebastian Zarnekow
1521d1ffc3 Mark overriding methods as synchronized since it does no harm 2017-06-02 12:41:56 +02:00
Christian Dietrich
569a3ab241 cleanup unused imports
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-05-24 15:11:20 +02:00
Miro Spönemann
a75bac8287 Increased version number to 2.13.0-SNAPSHOT 2017-05-24 13:41:16 +02:00
Christian Dietrich
72a2e8856e dont generate traced accessor for java.lang.Object#getClass
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-05-24 11:12:39 +02:00
Christian Dietrich
9158fdbed0 added logging to inform the user that calling the formatter with an non resource eobject is a bad idea
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-05-18 11:57:01 +02:00
Christian Dietrich
915d9df13d Made Code Guava 21 Compatible
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-05-10 08:38:34 +02:00
Miro Spönemann
ecc8da5c4f Merge pull request #328 from eclipse/msp_templateNodes
Fixed inconsistencies between TemplateNode and Xtend templates
2017-05-02 09:46:15 +02:00
Karsten Thoms
e6d86d9d3c Merge pull request #329 from eclipse/kth_bug515846
handle null argument for projectConfig
2017-05-02 09:27:29 +02:00
Miro Spönemann
e9c0e220cf Don’t indent if there is no content, added another special case test 2017-05-02 09:17:59 +02:00
Karsten Thoms
bebc514648 [515846] getTraceToTarget: return null when argument projectConfig is
null

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-05-01 21:43:52 +02:00
Karsten Thoms
a571fa9ba1 [515846] Add null guard for projectConfig
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-04-29 20:48:28 +02:00
Miro Spönemann
3a115a7977 Fixed inconsistencies between TemplateNode and Xtend templates 2017-04-28 15:32:19 +02:00
Miro Spönemann
4345a10408 Code cleanup and comments 2017-04-28 09:25:10 +02:00
Miro Spönemann
e40329c501 Allow templates and generator nodes as input to append(Object), improved handling of indent nodes 2017-04-28 09:24:26 +02:00
Miro Spönemann
05dc198460 Fixed mismatch between IndentNode and TargetStringConcatenation wrt. indentation of the first line 2017-04-28 08:57:58 +02:00
Sven Efftinge
0cb38c5f4c [tracing] handle indent differently 2017-04-27 15:02:30 +02:00
Miro Spönemann
82b2ad56a7 Merge pull request #325 from eclipse/msp_generatorErrorMessage
Improved error message of Xtext grammar validation
2017-04-27 08:43:54 +02:00
Miro Spönemann
c5dd2694e5 Removed @EqualsHashCode from generator nodes 2017-04-27 08:38:25 +02:00
Miro Spönemann
a104e77dbc Allow postprocessing on generator result tree 2017-04-26 15:58:19 +02:00
Miro Spönemann
da893449d2 #41: Improved error message of Xtext grammar validation when the type of a reference cannot be resolved 2017-04-26 13:22:04 +02:00
Miro Spönemann
e1d1859709 Fixed IndexOutOfBoundsException in TemplateNode 2017-04-26 08:35:32 +02:00
Christian Dietrich
778ac24720 NPE in PartialParsingHelper #219
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-04-12 13:27:05 +02:00
Sven Efftinge
f2017600f9 [tracing] Handle null argument in template append (fixes #314) 2017-03-31 08:52:46 +02:00
Jan Köhnlein
12a23df787 Merge pull request #293 from eclipse/me_perf1
fixed #292 Improve performance of FilterUriContainer#isEmpty()
2017-03-30 09:20:08 +02:00
Christian Dietrich
ffad50d897 Merge pull request #307 from eclipse/cd_bug410605
[410605]  [grammar][terminal] Validate that EOF cannot be inverted
2017-03-29 09:34:59 +02:00
Christian Dietrich
6ef6a0f16f Merge pull request #305 from eclipse/cd_bug380449
[380449] Enhancements to Task Finder
2017-03-29 09:30:41 +02:00
Christian Dietrich
697fc6dc67 [380449] implemented reuse of END_TAG pattern from MUltiLineCommentProvider
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-03-28 18:21:06 +02:00
Christian Dietrich
8e303f37ec Merge pull request #306 from eclipse/cd_bug493990
[493990] Fixed Duplicate Problem in TraceRegionMerger
2017-03-28 17:31:11 +02:00
Christian Dietrich
282afa652b made signature of new traceregion constructor more relaxed
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-03-28 17:16:32 +02:00
Christian Dietrich
257c2c88fc [410605] [grammar][terminal] Validate that EOF cannot be inverted
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-03-24 15:39:00 +01:00
Christian Dietrich
6919d13563 [493990] Fixed Duplicate Problem in TraceRegionMerger
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-03-24 15:28:04 +01:00
Sven Efftinge
9a9526ec45 [tracing] disable line separator harmonizer for trace aware contents 2017-03-24 13:56:25 +01:00
Christian Dietrich
770e6897d7 [380449] Enhancements to Task Finder
- Introduced a hook to allow stripping of the node text before calling the task parser
- Stripped trailing comment in tasks

Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-03-22 10:55:54 +01:00
Stéphane Galland
6e413dbe41 Use getValuesProvider function in IssueSeveritiesProvider.
The function `getValueProvider` is defined in `IssueSeveritiesProvider`
for replying the value provider instance.
This function seems to be defined as protected in order to be overriden.
But is it not called from the rest of the code of
`IssueSeveritiesProvider`. This PR fixes this issue.

Signed-off-by: Stéphane Galland <galland@arakhne.org>
2017-03-07 17:49:41 +01:00
Christian Dietrich
214f6f00a4 fixed some typos
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-03-04 13:48:25 +01:00
Michael Keppler
2b8de2905e refactor: improve performance of StateBasedContainer
When using huge models, the getContents() call takes really big runtime.
Shorten runtime by only asking it for much faster isEmpty().

Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
2017-03-03 16:25:36 +01:00
Moritz Eysholdt
db5d5dde2d fixed #294 improve performance of IContainerState#contains(URI)
This change adds a default method 
boolean containsURI(String containerHandle, URI candidateURI)
to IAllContainersState, so that implementations can introduce 
a faster algorithm that leverages the internals data structures.

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-02-28 19:32:46 +01:00
Moritz Eysholdt
af9e9150c8 fixed #292 Improve performance of FilterUriContainer#isEmpty()
it's called often from e.g. SelectableBasedScope.createScope(...)



Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-02-28 18:47:19 +01:00
Sven Efftinge
0ac49cb58c [tracing] changes regarding moritz’ feedback (fixes #287) 2017-02-27 16:38:35 +01:00
Sven Efftinge
d909078dfd [tracing] various improvements (#287)
- fixed indentation issues
 - support newLineIfNotEmpty semantics
 - indent and newline nodes contain the actual string
 - better naming
 - documentation
2017-02-27 16:38:23 +01:00
Sven Efftinge
ac2b856e6e [tracing] rename (#287) 2017-02-27 16:38:07 +01:00
Sven Efftinge
3e96aa3939 [tracing] Improved client API (#287) 2017-02-27 16:37:57 +01:00
Sven Efftinge
cfc62dea7a [tracing] Added support for tracing in code generation (#287)
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-02-27 16:37:43 +01:00
Sven Efftinge
8342fcb19f [LS / Incremental Builder] Fixed issues (failing tests) with reused resource sets 2017-02-02 09:34:47 +01:00
Sven Efftinge
1c2b7a49f3 Merge pull request #237 from eclipse/se_reuse_resourcet
[language server / incrmental builder] allow reusing resource set
2017-02-01 12:08:19 +01:00