Christian Dietrich
9515372b39
[ eclipse/xtext#1325 ] switch to ASM 7
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-10-31 12:51:25 +01:00
Kulla Christoph
c7e3deacd9
Fix race condition when getting the grammar ( fixes #906 )
...
Signed-off-by: Kulla Christoph <christoph.kulla@de.bosch.com>
2018-10-15 13:55:10 +02:00
Christian Dietrich
ac598a676d
fixed javadoc
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-10-12 21:44:12 +02:00
Tamas Miklossy
2764048fe4
Fix a typo in the javadoc of the DefaultCommentAssociater class.
...
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2018-10-05 16:09:22 +02:00
Karsten Thoms
2b7e2b4609
[ eclipse/xtext#1272 ] Compile with Xtend 2.15
...
Order of static & final modifiers changed
(eclipse/xtext-xtend#554 )
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-09-21 17:45:41 +02:00
Karsten Thoms
cad7d13c31
Merge remote-tracking branch 'origin/release_2.15.0' into kth_merge_release
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
# Conflicts:
# gradle/versions.gradle
# releng/pom.xml
2018-09-16 07:59:59 +02:00
Karsten Thoms
72501e9af8
[trivial] Added whitespace
...
if and catch keywords are usually followed by one space
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-09-16 07:52:36 +02:00
Sebastian Zarnekow
78a91474af
Fixed another location with duplicated code
2018-09-16 00:24:30 +02:00
Tamas Miklossy
b0563c0947
Fix typo 'recordedErrros'->'recordedErrors' in CrossReferenceSerializer.
...
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2018-09-14 13:57:51 +02:00
Christian Dietrich
2f0f093fb5
updated versions to 2.16.0
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-09-03 11:11:51 +02:00
Christian Dietrich
26a8247033
Merge pull request #848 from eclipse/cd_issue261_b
...
[xtext/xtext-gradle-plugin#120 ] performance optimization java source lang
2018-08-30 09:18:08 +02:00
Christian Dietrich
f3457dbe9e
Merge pull request #846 from eclipse/xtext-core-845-task-marker-collections
...
[#845 ] Avoid creation of collections if not necessary.
2018-08-29 18:57:03 +02:00
Arne Deutsch
e389e23880
[ #845 ] Avoid creation of collections if not necessary.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-08-29 18:17:33 +02:00
Sebastian Zarnekow
f4f7607975
Refined solution to better match the other value converter messages
2018-08-29 17:10:59 +02:00
Sebastian Zarnekow
c9f659bf92
Merge branch 'wi_issue525' of git://github.com/waqasilyas/xtext-core into waqasilyas-wi_issue525
2018-08-29 17:06:44 +02:00
Christian Dietrich
1639c0a2b0
Merge pull request #839 from eclipse/cd_issue1266_asm62
...
[eclipse/xtext#1266 ] Update to ASM 6.2
2018-08-29 14:38:30 +02:00
Christian Dietrich
a2250de55e
[ eclipse/xtext#1266 ] Update to ASM 6.2
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-08-29 14:37:03 +02:00
Arne Deutsch
40333a7257
[ eclipse/xtext-eclipse#809 ] Cache task marker pattern for performance
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-08-29 14:06:45 +02:00
Sebastian Zarnekow
39ad0d05a6
Added slightly more efficient way to create QualifiedNames
2018-08-28 23:46:38 +02:00
Sebastian Zarnekow
4da2fbf082
Refined API of DefaultDeclarativeQualifiedNameProvider
2018-08-28 17:26:43 +02:00
Sebastian Zarnekow
88ced22ef3
Performance tuning for the incremental builder
...
Especially for projects with many files, the on-demand requested services
from the resource service provider are expensive. This reduces these attempts
by introducing intermediate data objects, making services a singleton or
using the known resource service provider that is available as a field on
XtextResource instances.
2018-08-28 16:55:56 +02:00
Sebastian Zarnekow
6f2253cb3e
Allow to circumvent the expensive copying of URI sets in the SourceLevelURIsAdapter
2018-08-28 16:54:22 +02:00
Sebastian Zarnekow
2c405104ff
Made DefaultDeclarativeQualifiedNameProvider easier to customize
2018-08-28 16:49:37 +02:00
Titouan Vervack
2dbb39ebc0
Fixed typo in IQualifiedNameConverter
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-08-20 12:32:29 +02:00
Titouan Vervack
9010afb07f
Merge pull request #810 from eclipse/TargetURIConverter_non_ui
...
Added TargetURIConverter to non UI
2018-08-07 10:25:14 +02:00
Titouan Vervack
496fecef26
Added TargetURIConverter to non UI
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-08-07 10:21:23 +02:00
Christian Dietrich
06ab1b01ad
[ #221 ] Fixed Templats
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-08-06 10:00:40 +02:00
Akos Kitta
b0c664fd76
GH-798: Increased the visibility of the stateful incremental builder.
...
Added `protected` setters for the build context and the request.
Replaced the context and request assignments with setter calls.
Closes #798 .
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2018-07-30 09:14:33 +02:00
Christian Dietrich
1e36a3b7c9
[ #790 ] Search Check annotation only once
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-07-18 19:11:30 +02:00
Christian Dietrich
0277b89235
[ eclipse/xtext#1231 ] fixed jdt and platform versions
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-07-03 19:24:04 +02:00
Christian Dietrich
58b683d085
[474468][ eclipse/xtext-core#778 ] Fix bogus validation in MaxLineWidthDocument
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-06-27 20:32:06 +02:00
Titouan Vervack
08d59c6e4d
Added equals to Task and TaskTag making TaskAssert useless
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-06-04 18:46:03 +02:00
Karsten Thoms
d627e9aad4
Merge pull request #754 from eclipse/develop_2.15.0
...
[release] Increment version to 2.15.0
2018-05-26 10:37:56 +02:00
Christian Dietrich
7b55d9b0d0
Merge pull request #752 from tivervac/taskTagsDuplicateKeys
...
Fixed duplicate key insertion with task tags
2018-05-24 21:25:50 +02:00
Titouan Vervack
b3717cc478
Fixed typo in EObjectDiagnosticImpl
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-05-24 18:41:15 +02:00
Titouan Vervack
e91be2aee3
Fixed duplicate key insertion with task tags
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-05-24 18:29:38 +02:00
Karsten Thoms
7dcc65bb2e
[release] Increment version to 2.15.0
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-05-22 23:53:44 +02:00
Jan Koehnlein
42dda5e9d3
[serializer] relax API
...
Signed-off-by: Jan Koehnlein <jan.koehnlein@typefox.io>
2018-05-22 14:45:09 +02:00
Moritz Eysholdt
42be5d030d
fixes #739 : Potential NPE during ChangeSerialization
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2018-05-17 16:39:37 +02:00
Karsten Thoms
81ceecd9ff
Update copyright
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-05-15 06:10:10 +02:00
Christian Dietrich
be7a958127
[ #716 ] [LSP] Problems for a deleted file are shown after deletion
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-04-25 14:29:38 +02:00
Christian Dietrich
de25d13970
[ eclipse/xtext#1190 ] Narrowed the version range for asm to [6.1.1,6.2.0)
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-04-23 13:01:11 +02:00
Christian Dietrich
497b70425c
added missing since
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-04-20 18:52:22 +02:00
Christian Dietrich
ef9817b9a8
Merge pull request #696 from ArneDeutsch/xtext-eclipse-599
...
[eclipse/xtext-eclipse#599 ] Support waiting operation.
2018-04-20 18:49:24 +02:00
Arne Deutsch
693c7e420c
[ eclipse/xtext#1177 ] Update ASM to 6.1.1 and JDT Core to 3.13.102.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-04-17 07:37:44 +02:00
Arne Deutsch
f826570410
[ eclipse/xtext-eclipse#599 ] Support waiting operation.
...
ActiveAnnotationProcessors might run in parallel. Read operations should
wait until all write operations are ready to avoid race conditions.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-04-11 13:39:59 +02:00
Moritz Eysholdt
5804e8b6bc
Fix eclipse/xtext-xtend#408 : Allow mismatching node model
...
Because quick fixes change the model and can cause any kind of mismatch
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2018-04-05 17:10:21 +02:00
Titouan Vervack
4f702ddc7a
Added throw keyword to Throwables.propagate
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-03-30 11:58:41 +02:00
Titouan Vervack
57af220521
Fixed guava compatibility issue
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-03-29 18:26:41 +02:00
Titouan Vervack
0ea85189c8
Fixed warnings
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-03-29 18:18:18 +02:00
Christian Dietrich
6e23809dee
reduced warnings
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-29 14:36:26 +02:00
Holger Schill
e75a44c254
Merge pull request #680 from eclipse/hs/ValidationFragment2_configurableIssue
...
Hs/validation fragment2 configurable issue
2018-03-29 13:12:15 +02:00
Holger Schill
2e99cff76d
#664 [Grammar] Add Support for more Annotations
...
Signed-off-by: Holger Schill <Holger.Schill@itemis.de>
2018-03-29 11:14:39 +02:00
Christian Dietrich
14fd588a2d
Merge pull request #679 from tivervac/redundant_modifier
...
Removed redundant modifiers
2018-03-28 18:57:08 +02:00
Holger Schill
026df8e630
Make multiple annotations on enum rule possible
...
Add validations to see if Annotation works on the rule in the grammar
Add configurable issue for @Deprecate Annotation
2018-03-28 18:03:29 +02:00
Titouan Vervack
127fa42d17
Removed redundant modifiers
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-03-28 17:41:41 +02:00
Arne Deutsch
89baed80ba
[ eclipse/xtext-eclipse#616 ] Reverse of empty is empty again, not null.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-03-27 15:33:12 +02:00
Holger Schill
47effb3ff1
Allow multiple annotations on Terminal but restrict it to a well defined set.
2018-03-26 16:15:53 +02:00
Holger Schill
70886d54a5
Make ResourceDesecriptionStrategyFragment and ValidationFragment more configurable
2018-03-26 12:40:19 +02:00
Holger Schill
8893b09e57
GrammarAnnotations: @Deprecated Annotation and corresponding tests
2018-03-22 14:40:23 +01:00
Holger Schill
fafdce378e
Merge branch 'master' into grammarannotations
2018-03-22 11:17:31 +01:00
Holger Schill
2bfe5fb64b
Allow multiple Annotations on ParserRules
2018-03-22 11:12:08 +01:00
Sebastian Zarnekow
7da28520af
Merge pull request #663 from eclipse/sz/bug361216
...
[361216] Improved logic that registers scope wrappers
2018-03-21 18:48:14 +01:00
Christian Dietrich
4b0d37e1aa
Merge pull request #659 from ArneDeutsch/recursive-emf
...
[#449 ] Avoid stack overflow with deep EMF containment trees.
2018-03-21 18:45:30 +01:00
Sebastian Zarnekow
9adf2d94ed
[361216] Improved logic that registeres scope wrappers
2018-03-21 17:13:06 +01:00
Arne Deutsch
e90230f1b1
[ #476 ] Support EMF's ResourceLocators in XtextResourceSet.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-03-21 15:40:22 +01:00
Arne Deutsch
3ecaa1a493
[ #449 ] Avoid stack overflow with deep EMF containment trees.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-03-21 14:22:01 +01:00
Holger Schill
04e0375fec
Introduce Final Annotation on ParserRules and corresponding test
2018-03-20 16:57:28 +01:00
Moritz Eysholdt
cfb627da1e
[hidden regions] Code Cleanup
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2018-03-05 17:16:54 +01:00
Karsten Thoms
4fea27469a
Merge pull request #651 from eclipse/kth_qn_startwith_null
...
startsWith: return false for null argument
2018-03-05 14:36:29 +01:00
Karsten Thoms
2e534b5246
startsWith: check that prefix is not null
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-03-05 11:41:44 +01:00
Moritz Eysholdt
43b7d1df8c
Handle comments and whitespace properly in rewrite scenarios
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2018-03-04 19:41:46 +01:00
Christian Dietrich
58113d0f41
Regenerated against lastest xbase-lib
...
https://github.com/eclipse/xtext/issues/1174
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-02-26 15:07:09 +01:00
Christian Dietrich
1a86a763fb
maintained x-friends https://github.com/eclipse/xtext/issues/1173
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-02-26 12:39:26 +01:00
Christian Dietrich
7ab31042c8
maintained x-friends https://github.com/eclipse/xtext/issues/1173
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-02-23 15:57:53 +01:00
Karsten Thoms
77c13da27d
Merge pull request #634 from kthoms/kth_Reader_mwe2doc
...
[doc] Added MWE2 usage example
2018-02-13 23:19:54 +01:00
Karsten Thoms
5316f0c66c
Merge pull request #635 from TraneSlink/doc
...
Print mwe2 syntax in error message
2018-02-13 23:19:09 +01:00
Karsten Thoms
1ea9596739
[doc] Added MWE2 usage example
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-02-08 22:35:27 +01:00
René Purrio
f760c53548
Print mwe2 syntax in error message
...
Signed-off-by: René Purrio <rpurrio@itemis.de>
2018-02-08 16:52:16 +01:00
Karsten Thoms
4bdb317e10
Return empty list instead of null
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-02-08 16:26:12 +01:00
Christian Dietrich
26e06d1f26
implemented review feedback
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-01-26 11:43:48 +01:00
Christian Dietrich
26d6870c88
[ #550 ] Cache AbstractInternalAntlrParser.createAllRules
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-01-26 10:08:02 +01:00
Christian Dietrich
5292c344c6
Merge pull request #613 from eclipse/cd_issue611
...
[#611 ] Fixed broken/outdated javadoc
2018-01-23 07:17:37 +01:00
Karsten Thoms
809377cd27
[420984] Compiler optimization: Suppress creation of unused exception variable
...
Recompiled Xtend files
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-16 14:54:22 +01:00
Karsten Thoms
90cef27ab4
[ eclipse/xtext#1160 ] Update copyright date range
...
Recompiled Xtend files
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-16 09:11:22 +01:00
Karsten Thoms
134c788006
[ eclipse/xtext#1160 ] Update copyright date range
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-15 16:28:39 +01:00
Christian Dietrich
d1d596d64b
[ #611 ] Fixed broken/outdated javadoc
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-01-15 13:26:35 +01:00
Arne Deutsch
7b1bb9d188
[ eclipse/xtext-eclipse#145 ] Create new implementations in core.
...
Move implementation from CopyQualifiedNameService and
DefaultCopyQualifiedNameService to xtext core plugin.
Rename CopyQualifiedNameService to ICopyQualifiedNameService.
Document the interface.
Move to public API package "org.eclipse.xtext.naming".
Change-Id: I3ffdbbcda641cc4f70396f4274e42934e4248278
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-01-11 09:56:49 +01:00
Florian Stolte
3a740a437e
[ eclipse/xtext#1155 ] Cleaned up javadoc to remove some warnings.
...
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-19 12:04:05 +01:00
Karsten Thoms
d5e6578a6d
Merge pull request #588 from FStolte/issue1152
...
[eclipse/xtext#1152 ] Java 9 - Added Automatic-Module-Name header
2017-12-18 10:04:26 +01:00
Florian Stolte
1bc930b5b6
[ eclipse/xtext#1152 ] Java 9 - Added Automatic-Module-Name header
...
- added header to existing manifest files
- added header to manifest generation in xtext generator and wizard
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-14 14:16:20 +01:00
Christian Dietrich
c3893bc200
Duplicate @Named ids in AbstractMultiLineCommentProvider https://github.com/eclipse/xtext/issues/1153
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-14 13:34:46 +01:00
Christian Dietrich
c7ab2c7b32
Merge pull request #578 from FStolte/issue570
...
[#570 ] Added error message for invalid override
2017-12-13 12:39:30 +01:00
Florian Stolte
6b9d505b07
[ #570 ] Added error message for invalid override.
...
- rules with an @Override annotation in a grammar without super grammar
now correctly display an error
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-13 12:23:06 +01:00
Florian Stolte
9d6f9434a1
Fixed a typo in XtextValidator.
...
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-13 10:53:40 +01:00
Christian Dietrich
1894da8a38
made code of resource storage facade more consistent
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-12 16:32:33 +01:00
Jan Koehnlein
9e4087bf5b
GH-520 more tests for live scoping
...
Signed-off-by: Jan Koehnlein <jan.koehnlein@typefox.io>
2017-12-06 08:51:30 +01:00
Jan Koehnlein
2c0b77541a
[cleanup] various typos
2017-12-05 20:56:55 +01:00
Jan Koehnlein
15b13a279d
GH-520 allow shadowed resource descriptions in language server scenario
2017-12-05 20:56:55 +01:00
Sebastian Zarnekow
c4b4c8e4a9
Merge pull request #565 from eclipse/sz_stableSyntacticSequencerOrder
...
Make generated code in syntactic sequence more stable
2017-12-01 19:23:26 +01:00
Sebastian Zarnekow
e48a062d2b
Make generated code in syntactic sequence more stable
2017-12-01 12:41:32 +01:00
Christian Dietrich
3b4910adae
more review feedback
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-01 11:38:35 +01:00
Christian Dietrich
d9e4a5d265
more review feedback
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-01 11:37:27 +01:00
Christian Dietrich
bb9b15316b
implemented review feedback
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-01 11:11:13 +01:00
Christian Dietrich
6997cb0697
[tracing] NPE thrown when a file is generated without traces https://github.com/eclipse/xtext-core/issues/359
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-01 09:54:43 +01:00
Christian Dietrich
67a36a5b64
Merge pull request #563 from eclipse/cd_core_issue544
...
moved 'copy java problems' configurable issue code to xtext core
2017-11-30 10:35:59 +01:00
Christian Dietrich
94a43ed825
moved 'copy java problems' configurable issue code to xtext core https://github.com/eclipse/xtext-core/issues/544
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-11-30 10:07:19 +01:00
Karsten Thoms
f3d2655cab
Refactoring & additional tests
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-11-29 16:35:30 +01:00
Karsten Thoms
e3baf9ede5
[refactoring] formatting
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-11-29 08:57:38 +01:00
Florian Stolte
c322f3e73a
[ #556 ] Added test for TextRegionsToString::quote
...
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-11-22 16:55:51 +01:00
Florian Stolte
22820aac32
[ #555 ] Fix for issue.
...
Since windows line endings are replaced by unix line endings - i.e. the
"\r" character is removed -, the result string can be shorter than the
input string.
Since the loop iterating over the characters of the input string is
limited to "maxLength + 1" iterations, the check "result.size() >
maxLength" did not give the desired result in the presence of windows
line endings.
Now, the number of iterations is incremented when a character is deleted
from the string.
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-11-22 14:04:02 +01:00
Karsten Thoms
07b182918c
Merge pull request #529 from eclipse/me/newline_fix
...
Fixed #460 : Test failure on Windows due to CarriageReturn char
2017-11-22 12:17:49 +01:00
Karsten Thoms
c22e0bb047
Merge pull request #549 from FStolte/refactoring
...
Refactoring: Cleaning up warnings
2017-11-15 17:32:25 +01:00
Florian Stolte
2a503da006
Refactoring: Cleaning up warnings.
...
Removed four unused imports and one unused local variable declaration.
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-11-15 15:54:57 +01:00
fstolte
88fdbc819f
[ #537 ] Added null guards.
...
Added null guards to all relevant public methods of the Serializer
class.
Signed-off-by: fstolte <fstolte@itemis.de>
2017-11-15 11:33:50 +01:00
Christian Dietrich
dfa56bfc2e
fixed formatting of annotations (e.g. @Override) in Xtext Grammars #534
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-11-08 22:29:43 +01:00
Christian Dietrich
84533e40f1
fixed formatting of annotations (e.g. @Override) in Xtext Grammars #534
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-11-08 22:16:22 +01:00
Moritz Eysholdt
f41d82c540
Fixed #460 : Test failure on Windows due to CarriageReturn char
2017-11-08 08:48:31 +01:00
Waqas Ilyas
b8d1aa0294
Fix for #525 : Detect incomplete escape sequences
...
Signed-off-by: Waqas Ilyas <waqas.ilyas@gmail.com>
2017-11-05 03:21:42 -06:00
Christian Dietrich
4960af9c0a
set version to 2.14
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-10-27 09:03:34 +02:00
Moritz Eysholdt
ee2d61b332
[textRegionAccess] grammar elements may be TerminalRules
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-18 19:54:34 +02:00
Christian Dietrich
5f2b37de0f
widened version range for asm to include version 6 https://github.com/eclipse/xtext-core/issues/501
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-10-13 10:32:42 +02:00
Moritz Eysholdt
5c293fb6c4
Made another value converter null-safe
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-12 09:50:46 +02:00
Moritz Eysholdt
d68ca48a55
Fix an NPE during ValueConversion of xtext.xtext.GrammarID
...
java.lang.NullPointerException: null
at
org.eclipse.xtext.xtext.XtextValueConverters$1.internalToValue(XtextValueConverters.java:44)
at
org.eclipse.xtext.xtext.XtextValueConverters$1.internalToValue(XtextValueConverters.java:40)
at
org.eclipse.xtext.conversion.impl.AbstractNullSafeConverter.toValue(AbstractNullSafeConverter.java:31)
at
org.eclipse.xtext.conversion.impl.AbstractDeclarativeValueConverterService.toValue(AbstractDeclarativeValueConverterService.java:79)
at
org.eclipse.xtext.ide.serializer.impl.ReferenceUpdater.getQualifiedName(ReferenceUpdater.java:124)
at
org.eclipse.xtext.ide.serializer.impl.ReferenceUpdater.needsUpdating(ReferenceUpdater.java:146)
at
org.eclipse.xtext.ide.serializer.impl.ReferenceUpdater.update(ReferenceUpdater.java:172)
at
org.eclipse.xtext.ide.serializer.impl.RecordingXtextResourceUpdater.applyChange(RecordingXtextResourceUpdater.java:70)
at
org.eclipse.xtext.ide.serializer.impl.ChangeSerializer.endRecordChanges(ChangeSerializer.java:136)
at
org.eclipse.xtext.ide.serializer.impl.ChangeSerializer.applyModifications(ChangeSerializer.java:75)
at
org.eclipse.xtext.ui.editor.quickfix.WorkbenchMarkerResolutionAdapter$1.lambda$1(WorkbenchMarkerResolutionAdapter.java:131)
at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
at
org.eclipse.xtext.ui.editor.quickfix.WorkbenchMarkerResolutionAdapter$1.execute(WorkbenchMarkerResolutionAdapter.java:139)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at
org.eclipse.xtext.ui.editor.quickfix.WorkbenchMarkerResolutionAdapter.run(WorkbenchMarkerResolutionAdapter.java:142)
at
org.eclipse.xtext.xtext.ui.editor.quickfix.XtextGrammarQuickfixProviderTest.assertAndApplyAllResolutions(XtextGrammarQuickfixProviderTest.java:172)
at
org.eclipse.xtext.xtext.ui.editor.quickfix.XtextGrammarQuickfixProviderTest.testFixAllEmptyEnumLiteral(XtextGrammarQuickfixProviderTest.java:106)
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-11 19:02:45 +02:00
Moritz Eysholdt
85f07a23c0
[textRegionAccess] make accessing EStructuralFeatures easier
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-11 14:54:40 +02:00
Christian Dietrich
81df41e85b
removed unused imports
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-10-05 08:26:22 +02:00
Jan Koehnlein
08ab8fe119
GH-488 fixed DefaultReferenceDescription test
...
We need the fragment path URIs in the renam scenario only
Signed-off-by: Jan Koehnlein <jan.koehnlein@typefox.io>
2017-10-02 20:56:19 +02:00
Jan Koehnlein
dd3513b8a9
[refactoring] Fixes in core for https://github.com/eclipse/xtext-eclipse/issues/284
...
Signed-off-by: Jan Koehnlein <jan.koehnlein@typefox.io>
2017-10-02 18:08:52 +02:00
Christian Dietrich
abc098556c
Merge pull request #484 from tkutz/tku_templateNodeWhitespace
...
#483 : Remove last whitespaces only when appending separator in for-loops
2017-10-01 21:26:50 +02:00
Knut Wannheden
ea7e45a602
#481 : Improve performance of ResourceStorageLoadable
...
Wrap ZipInputStream in a BufferedInputStream before reading from it with
with a DataInputStream or ObjectInputStream. This improves performance
quite significantly (overall roughly by a factor 4), as the
decompression works much more efficiently with larger chunks of data.
Signed-off-by: Knut Wannheden <knut.wannheden@paranor.ch>
2017-10-01 21:23:32 +02:00
Thomas Kutz
0b74443d41
[ #483 ] Append trailing whitespaces and newlines after appending separator in for-loops
...
Signed-off-by: Thomas Kutz <thomas.kutz@itemis.de>
2017-09-29 13:40:36 +02:00
Moritz Eysholdt
c1014a0972
[formatter/perf] Avoid calling List.newArrayList() during autowrap
...
To navigate the TextReplacers in reverse order, this change introduces a
reversed iterable. Thus, it is no longer necessary to copy all the
TextReplacers into a list for reverse navigation.
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-09-27 19:42:42 +02:00
Christian Dietrich
b71f866eb3
[Tracing] Allow to specify UseForDebugging #467
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-22 13:25:42 +02:00
Sven Efftinge
11c084dc5e
GH-73 Replaced the string replace with URI factory to fix the authority.
...
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-09-13 17:24:57 +02:00
Moritz Eysholdt
846e686bd7
[formatter] improved comment handling in undefined regions
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-09-12 09:18:26 +02:00
Sebastian Zarnekow
278a115708
Merge pull request #404 from eclipse/sz_gh341
...
Problem with content assist and grammar fragments
2017-09-06 14:29:14 +02:00
Christian Dietrich
d8a45bcfe2
fixed wrong import
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-06 10:41:45 +02:00
Christian Dietrich
7b2e23b94e
[479137]improved Misleading error message 'Cannot create datatype' for terminal rule #91
...
- added test
- fixed broken test framework
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-06 09:34:28 +02:00
Sebastian Zarnekow
7be950d6a2
Merge branch 'master' into sz_gh341
2017-09-05 23:11:22 +02:00
Sebastian Zarnekow
1c5b2b0320
Merge pull request #366 from eclipse/sz_bug476690
...
Refined token placement for indentation based languages
2017-09-05 23:02:36 +02:00
Karsten Thoms
077b26c5ca
[formatting] removed obsolete tab
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-08-24 16:05:23 +02:00
Dennis Huebner
87e7b088e3
Merge pull request #354 from yanntm/master
...
remove greedy flags from critical dependency paths
2017-08-24 08:59:32 +02:00
Moritz Eysholdt
8ff6017c62
[ChangeSerializer] improved toString()
2017-08-23 18:27:51 +02:00
Moritz Eysholdt
6a55da1434
[TextRegionDiffBuilder] improved handling of multi-inserts
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-23 17:31:59 +02:00
Moritz Eysholdt
ae9d0259ef
fixed #438 : error in ITextRegionAccess.regionForLineAtOffset(int)
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-21 19:25:51 +02:00
Moritz Eysholdt
353cdac76e
make AbstractEObjectRegion.addChild(IAstRegion) public
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-21 10:16:53 +02:00
Moritz Eysholdt
b304d5e921
[ChangeSerializer] improve handling of multiple deleted regions
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-20 20:10:02 +02:00
Moritz Eysholdt
b913ac015f
[TextRegionAccess] Allow usage on mutable EMF models
...
This includes the possibility that an EObject has been removed from the
EMF containment tree or moved to another resource.
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-20 20:10:02 +02:00
Moritz Eysholdt
fcdd7c4011
[TextRegionAccess] keep track of containment among EObjectRegions
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-18 11:24:29 +02:00
Moritz Eysholdt
80f8bca39f
[debug] also visualize changes that only change URIs but not text
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-16 18:09:20 +02:00
Moritz Eysholdt
0845899c84
Support Modifications on a TextRegionAccess
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-11 08:07:05 +02:00
Moritz Eysholdt
9d8bfe5c5a
[JavaFormatter] auto-line-wrap for Code+Comments to 120 chars
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-11 08:07:05 +02:00
Anton Kosiakov
987146a77f
[ls] unifies workspace configs
...
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-08-09 09:48:30 +02:00
Sebastian Zarnekow
4a59384b6f
Missing @since tags
2017-08-07 11:13:13 +02:00
Christian Dietrich
4857bce25b
[468777] [formatter] ITextRegionAccess.regionForEObject(EObject) should throw exception for resource-external eobjects
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-08-04 13:37:02 +02:00
Moritz Eysholdt
1a57c83086
[textRegionAccess] simplified inheritance hierarchy
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-03 14:21:35 +02:00
Alex Tugarev
bf995d259b
[textRegionAccess] Fixed missing import.
...
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2017-07-31 09:45:45 +02:00
Karsten Thoms
f8ccf33644
Merge pull request #409 from AlexTugarev/GH-408
...
[textRegionAccess] Make state of `NodeModelBasedRegionAccessBuilder` accessible in subclasses
2017-07-29 18:51:42 +02:00
Alex Tugarev
d8c31d4a79
[textRegionAccess] Make state of NodeModelBasedRegionAccessBuilder
accessible in subclasses.
...
Signed-off-by: Alex Tugarev <alex.tugarev@typefox.io>
2017-07-29 05:01:45 +02:00
Sebastian Zarnekow
2580fb8ffc
Minor cleanup in GrammarUtils
2017-07-23 19:52:22 +02:00
Moritz Eysholdt
58ca794e9e
fixed #398 : formatting must not be applied outside requested regions
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-07-20 19:19:34 +02:00
Moritz Eysholdt
dd63a84305
Make it easier to traverse text regions of a TextRegionAccess
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-07-18 13:15:31 +02:00
Moritz Eysholdt
81aa59709e
fixed #383 : LiveShadowedResourceDescriptions should be live
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-07-18 13:14:56 +02:00
Moritz Eysholdt
2b268a4f4f
fix #301 : Improved support for IAutoWrapFormatter
...
The previous fix
906be319a4
dind't handle insertion of new ITextReplacers
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-07-10 22:15:20 +02:00
Moritz Eysholdt
906be319a4
fix #301 : Rollback bc autowrap may ignore change from IAutoWrapFormatter
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-07-10 19:26:09 +02:00
Christian Dietrich
8eecbdcd4d
[519299] LiveShadowedAllContainerState.containsURI() breaks scoping while refactoring (regression)
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-07-06 15:19:07 +02:00
Karsten Thoms
50e1919579
Merge pull request #380 from eclipse/bug519241
...
[519241] Throw AssertionError when scope provider returns null
2017-07-05 16:48:20 +02:00
Karsten Thoms
3f486be870
[519241] Throw AssertionError when scope provider returns null
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-07-05 16:41:52 +02:00
Miro Spönemann
84dece4cd4
Merge pull request #372 from eclipse/msp_issue57
...
Create an in-memory workspace configuration when no root URI is given
2017-07-05 12:45:55 +02:00
Miro Spönemann
cdeb89d335
Explicitly return null
2017-07-05 12:44:21 +02:00
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
Miro Spönemann
d424d9f80d
Fixed #57 : Create an in-memory workspace configuration when no rootURI is given
2017-06-30 11:17:51 +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
0657d731dd
Make test cases green, improve token placement
2017-06-12 15:09:57 +02:00
Sebastian Zarnekow
19a3930632
Improved synthetic token placement
2017-06-07 10:31:21 +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
Yann Thierry-Mieg
3f9898593c
remove greedy flags from critical dependency paths These greedy flags are pulling in a lot of unwanted plugins in eclipse update scenarios.
...
More precisely, any install of org.eclipse.xtext into an eclipse with eclipse/releases/ update site (e.g. every eclipse) will install e.g. jdt.core among other things.
This is a problem especially when the original eclipse product is very lean, e.g. a headless application relying on Xtext to parse models to EMF.
It is also undesirable overall in other scenarios, see also :
(older bug report) https://bugs.eclipse.org/bugs/show_bug.cgi?id=464344
(current issue on github) #345
(documentation for why greedy is bad for tool providers using Xtext) https://wiki.eclipse.org/Equinox/p2/Publisher
This commit removes greedy from dependencies on things which are not needed at runtime : xtend, mwe
Signed-off-by: Yann Thierry-Mieg <Yann.Thierry-Mieg@lip6.fr>
2017-05-25 12:21:55 +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
Miro Spönemann
ba911b4790
Lifted version number to 2.12.0-SNAPSHOT
2017-01-18 11:47:03 +01:00
Moritz Eysholdt
2012ce7256
fixed #251 : Formatter erroneously applies default formatting
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-01-16 20:02:07 +01:00
Sven Efftinge
6133b66961
added explicit dependency to org.eclipse.osgi (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=510504 )
2017-01-16 14:48:40 +01:00
Miro Spönemann
0515d22685
Refreshed projects with Buildship 2.0
2017-01-12 10:32:06 +01:00
Sven Efftinge
dd82d2ac5f
[language server / incrmental builder] allow reusing resource set
2017-01-11 15:14:15 +01:00
Moritz Eysholdt
066e22f507
fixed #12 : [formatter] IllegalArgumentException in NodeRegion.toString()
...
see https://github.com/eclipse/xtext-core/issues/12
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-01-11 10:53:08 +01:00
Miro Spönemann
6b52efede3
Merge pull request #229 from eclipse/msp_grammarAnalysisNullCheck
...
Added null / proxy check to GrammarElementTitleSwitch
2017-01-11 09:36:12 +01:00
Moritz Eysholdt
e968946b4f
[formatter/performance] Don't create stack traces
...
This change:
- introduces a flag that by default disables creation of stack traces
- lets the formatter do a second pass on conflict with that flag enabled
This combines the benefits of both worlds:
- performance without the need for tweaking
- debug information without the need to enable some magic config
see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=508894
https://bugs.eclipse.org/bugs/show_bug.cgi?id=507174
https://github.com/eclipse/xtext-core/pull/195
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-01-10 17:54:44 +01:00
Miro Spönemann
5a6394afbc
Added null / proxy check to GrammarElementTitleSwitch
2017-01-10 14:39:07 +01:00
Holger Schill
7c96131e2a
Change Group and version for core.runtime
2017-01-09 16:45:30 +01:00
Holger Schill
a44c88c4e1
Change version and group ID for equinox.registry
...
Signed-off-by: Holger Schill <Holger.Schill@itemis.de>
2017-01-09 16:31:27 +01:00
Holger Schill
e51e61cece
[Wizard] General: Gradle Tests dont work #224
...
Signed-off-by: Holger Schill <Holger.Schill@itemis.de>
2017-01-09 16:25:15 +01:00
Miro Spönemann
0618470051
Merge pull request #218 from eclipse/msp_crossRefSerializer
...
Fixed CrossReferenceSerializer regression for special proxy URI formats
2017-01-06 16:43:29 +01:00
Miro Spönemann
a0c5eacbe0
Added missing encoding settings
2017-01-06 16:20:58 +01:00
Miro Spönemann
383b65b7ad
Fixed CrossReferenceSerializer regression for special proxy URI formats
2017-01-06 15:37:34 +01:00
Miro Spönemann
5867a8e76b
Added null check in SerializationDiagnostic
2017-01-05 11:58:49 +01:00
Karsten Thoms
89fc6af674
Added @SafeVarargs annotation for methods with varargs
...
Suppress compiler warning
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-01-05 07:16:44 +01:00
Karsten Thoms
56f1d1079e
[492072] Regenerated Xtend code
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-01-02 14:33:55 +01:00
Sven Efftinge
4cc8c07641
[smap] made old smap installer try to delegate to new impl. This will allow users to fix this just by adding the corresponding dependency to the classpath.
2016-12-23 09:02:08 +01:00
Karsten Thoms
c9b7bf5af2
[492072] Minimized usage of local variables
...
The Xtend compiler was optimized to minimize the usage of synthetic variables for member feature calls and right-hand assignments
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-12-22 00:54:25 +01:00
Karsten Thoms
f2b5cdfe39
[507077] Do not emit empty concatenation
...
Changes to generated Xtend code due to compiler optimization
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-12-19 15:47:59 +01:00
Sven Efftinge
ad9ef47b80
Merge pull request #204 from lievenlemiengre/master
...
Allow customisation of allRules creation in AbstractInternalAntlrParser
2016-12-18 14:21:14 +01:00
Titouan Vervack
0e3063dcb2
Fixed typo in PreferenceKey.java
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2016-12-15 12:11:11 +01:00
Christian Schneider
d46773cfc1
[xtext lang] re-generated runtime parts of with new generator
...
Signed-off-by: Christian Schneider <christian.schneider@typefox.io>
2016-12-14 13:16:00 +01:00
Christian Schneider
d4d1e0e83f
[xtext lang] re-generated Terminals-related parts (runtime only) with new generator
...
Signed-off-by: Christian Schneider <christian.schneider@typefox.io>
2016-12-14 13:15:59 +01:00
Christian Schneider
483d3ac819
[xtext lang] re-generated antlr grammar with new generator, re-generated lexer+parser impl
...
Signed-off-by: Christian Schneider <christian.schneider@typefox.io>
2016-12-14 13:15:57 +01:00