Commit graph

437 commits

Author SHA1 Message Date
Sebastian Zarnekow
1647521e63
[#1462] Syntax errors will lead to unexpected calls to value converters (#1463)
Don't call a value converter if nothing was matched. Also don't assign naively true for boolean values without checking if there was a token consumed.

closes #1462
2020-05-04 13:47:16 +02:00
Christian Dietrich
a15344e18a
Merge pull request #1459 from eclipse/cd_issue1458
[#1458] made XtextResource.getParser more easily customizeable
2020-04-29 18:17:34 +02:00
Christian Dietrich
71f17744eb [eclipse/xtext#1679]ported more code to java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-04-29 11:42:44 +02:00
Christian Dietrich
d83619ad80 [#1458] made XtextResource.getParser more easily customizeable
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-04-28 12:47:11 +02:00
Christian Dietrich
e7db3d48a8
Merge pull request #1457 from eclipse/cd_asm8
[eclipse/xtext#1649] update to ASM 8.0
2020-04-28 08:42:54 +02:00
Christian Dietrich
4ac89676f9 [eclipse/xtext#1649] update to ASM 8.0
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-04-28 08:27:41 +02:00
Arne Deutsch
fe6bd76975 [eclipse/xtext#1679] Refactor more Xtend to java.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2020-04-24 08:30:38 +02:00
Christian Dietrich
d685cf29ea [eclipse/xtext-eclipse#1389] fixed exception handing (revert to old behaviour)
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-04-06 10:34:38 +02:00
Arne Deutsch
2f5ad0017f
Merge pull request #1423 from eclipse/ade-refactor-xtend-to-java
[eclipse/xtext#1679] Refactor more Xtend to java.
2020-03-30 09:50:37 +02:00
Arne Deutsch
98ba18e78f [eclipse/xtext#1679] Refactor more Xtend to java.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2020-03-30 09:49:49 +02:00
Sebastian Zarnekow
12a21c9114
[eclipse/xtext#1679] Refactor more Xtend to Java (#1428)
* [eclipse/xtext#1679] Refactor more Xtend to Java
2020-03-26 16:54:05 +01:00
Arne Deutsch
9f4bf0fb16 [eclipse/xtext#1679] Refactor more Xtend to java.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2020-03-13 08:46:15 +01:00
Christian Dietrich
b9c9d679c4 fixed more unused imports
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-03-06 08:02:15 +01:00
Christian Dietrich
f7650e0bbc
Merge pull request #1411 from eclipse/cd_xtend_issue1018
fixed getEntryParserRule with actions [eclipse/xtext-xtend#1018]
2020-03-06 06:14:08 +01:00
Christian Dietrich
0d3bbbc5fc regenerated xtend code & cleanup imports
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-03-05 20:06:40 +01:00
Christian Dietrich
1969166a60 fixed getEntryParserRule with actions [eclipse/xtext-xtend#1018]
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-03-05 19:44:12 +01:00
Nico Prediger
7c82447f16 [releng] Update Xtext version to 2.22.0
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2020-03-03 12:00:56 +00:00
Sven Efftinge
f9b6d1bebe
[eclipse/xtext#1176] Migrate to EPL 2.0
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
Co-authored-by: Sebastian Zarnekow <Sebastian.Zarnekow@gmail.com>
2020-02-11 12:02:02 +01:00
Sebastian Zarnekow
04aedc416e
Merge pull request #1358 from rablewis/1262
[#1262] Prevent infinite loop with NodeIterator.
2020-02-03 09:35:28 +01:00
Arne Deutsch
5dec13b7b4 [#1303] Throw exception instead of returning null.
Extend JavaDoc.
Adapt unit test.

Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2020-01-31 08:21:07 +01:00
Robert Lewis
dc4699fb40 [#1262] Prevent infinite loop with NodeIterator.
Throw NullPointerException if null is passed to NodeIterator constructor
to prevent iterator state where hasNext() and hasPrevious() always
return true, but getNext() and getPrevious() always return null.
Similarly, throw NPE for null passed to constructors of NodeIterable,
BasicNodeIterator and BasicNodeIterable. Added unit tests for all four
classes.

Signed-off-by: Robert Lewis <rablewis@algo-pop.com>
2020-01-24 23:18:58 +00:00
Christian Dietrich
6b552f0659 [eclipse/xtext#1651] made error handling in StorageAwareResource null-safe
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-20 12:52:13 +01:00
Robert Lewis
da46e06388 [#1262] Prevent infinite loop with NodeIterator.
Throw NullPointerException if null is passed to NodeIterator constructor
to prevent iterator state where hasNext() and hasPrevious() always
return true, but getNext() and getPrevious() always return null.

Signed-off-by: Robert Lewis <rablewis@algo-pop.com>
2020-01-19 15:10:26 +00:00
Christian Dietrich
79e1ebcfed [eclipse/xtext#1642] regenerated xtend code with latest xtend
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-09 13:57:00 +01:00
Tamas Miklossy
3641ec9a97 [#1343] Fix invalid link in javadoc.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-01-07 20:53:00 +01:00
Christian Dietrich
83249956d4 [eclipse/xtext#1282] Update to EMF 2.20: change version constraints in MANIFESTs
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-03 16:38:15 +01:00
mmews-n4
4b37a9e4f5 [#1316| Add end line and end column positions to Issue
[#1316] Add end line and end column positions to Issue. Also initialise lines and columns with 0. 

Previously, end line and end column information was not part of Issue, IssueImpl, IssueLocation, AbstractDiagnostic, and ExceptionDiagnostic. It is helpful to have this information in these classes, because otherwise (i.e. now in LanguageServerImpl#toDiagnostic(Issue)) this information has to be computed by loading the Document again.

closes #1316 

Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-13 09:54:04 +01:00
Sebastian Zarnekow
f8c791989c
Merge pull request #1322 from mmews-n4/requestManger_logging
Log Exceptions thrown in futures created by the RequestManger
2019-12-12 17:28:25 +01:00
mmews
85e1620ab4 incorporate review feedback
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-11 11:18:47 +01:00
mmews
3102556c4e add CancellationException to OCM#getPlatformOperationCanceledException
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-10 22:51:31 +01:00
mmews
f360e6b1a0 add annotation @since
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-10 22:46:27 +01:00
mmews
c59ce4d0db add isIndexOnly as default method and read it to create build request
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-10 12:29:40 +01:00
Karsten Thoms
325fa1e8d6 [releng] Update Xtext version to 2.21.0
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-12-02 14:06:33 +00:00
Christian Dietrich
b7589ed9c5 fixed unused import
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-11-22 12:22:04 +01:00
Christian Dietrich
8f89743894
Merge pull request #1253 from tisis2/fix#1252
[eclipse/xtext-core#1252] filter for contained resource descriptions
2019-11-19 10:15:12 +01:00
gabrield
acdd7c8482 add the since tags
Signed-off-by: gabrield <d.gabriel@bachmann.info>
2019-11-19 09:41:40 +01:00
gabrield
49447a65aa remove behavior changes of getExportedObjectsByType
Signed-off-by: gabrield <d.gabriel@bachmann.info>
2019-11-19 08:35:04 +01:00
Sebastian Zarnekow
0db28cc4c2 Add output folders to build.properties 2019-11-18 08:42:38 +01:00
Sebastian Zarnekow
e814a7d8dd Fixed build.properties, fixed a few warnings on the go 2019-11-18 08:42:38 +01:00
Sebastian Zarnekow
bbbdf68391 Added missing build.properties, fixed a couple of warnings 2019-11-18 08:42:38 +01:00
Christian Dietrich
98bd79e264 [eclipse/xtext#1504] added Eclipse-SourceReferences to manifests
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-11-15 12:28:44 +01:00
Christian Dietrich
dbb27240a2 log deprecation warning if xtend based postprocessor is used
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-11-11 15:14:12 +01:00
Sebastian Zarnekow
d58d1ea7e4
Merge pull request #1273 from eclipse/sz_issue1573
[eclipse/xtext#1573] Ensure that all plugins do have a ManifestBuilder
2019-11-04 16:55:55 +01:00
Sebastian Zarnekow
9f8aee979a [eclipse/xtext#1573] Ensure that all plugins do have a ManifestBuilder 2019-11-04 14:34:21 +01:00
Karsten Thoms
3a4ec33e7c
Merge pull request #1268 from eclipse/kt_issue1569_1
[eclipse/xtext#1569] Refactor Xtend to Java
2019-11-04 14:32:35 +01:00
Karsten Thoms
5703d41f3a [eclipse/xtext#1569] Refactor Xtend to Java
The usage of Xtend in the Xtext code base should be reduced where the
usage of Xtend is not super beneficial. Replaced Xtend classes by the
compiled code and refactored the code to more readable Java. Performed
source cleanup action.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-11-04 12:53:45 +01:00
Karsten Thoms
5e70dd0360
Merge pull request #1269 from eclipse/kt/issue1569/3
[eclipse/xtext#1569] Refactor Xtend to Java
2019-11-04 12:34:24 +01:00
Karsten Thoms
4eba252aa9 [eclipse/xtext#1569] Refactor Xtend to Java
The usage of Xtend in the Xtext code base should be reduced where the
usage of Xtend is not super beneficial. Replaced Xtend classes by the
compiled code and refactored the code to more readable Java.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-11-04 12:33:52 +01:00
Sebastian Zarnekow
eea345fba1
[eclipse/xtext#1569] Migrate Xtend code to Java (#1270)
* Migrate Xtend code to Java
* Apply auto-formatting and cleanup actions
* Add `@since` tags

see eclipse/xtext#1569
2019-10-31 16:06:12 +01:00
Karsten Thoms
85db097d56 [eclipse/xtext#1569] Refactor Xtend to Java
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-10-30 14:42:09 +01:00