Commit graph

6784 commits

Author SHA1 Message Date
Arne Deutsch
86f6342354
Merge pull request #1027 from eclipse/ade-mergable-manifest-xtend
#1018 Maintain existing formatting.
2019-02-12 09:46:32 +01:00
Sebastian Zarnekow
53756198b2
Merge pull request #1030 from eclipse/kt_findInstantiableCompatible
[performance] Improve isInstantiatableSubType
2019-02-11 22:25:04 +01:00
Sebastian Zarnekow
5912d71a34
Merge pull request #1031 from eclipse/kt_EcoreUtil2_isAssignableFrom
isAssignableFrom: check both args for null & identity
2019-02-11 22:21:04 +01:00
Karsten Thoms
e00313cff2 [performance] Short cut findInstantiableCompatible
Avoid calling isInstantiatableSubType to reduce number of conditions to
check until identity is checked.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-02-11 21:12:34 +01:00
Karsten Thoms
bf0546ba3b isAssignableFrom: check both args for null & identity
Added covering test case

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-02-11 21:08:32 +01:00
Christian Dietrich
56be27b066 [eclipse/xtext#1283] update to MWE 2.10
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-11 09:17:58 +01:00
Christian Dietrich
1587bcb542 [eclipse/xtext#1283] switched to MWE 2.10 in wizard
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-11 09:17:58 +01:00
Sebastian Zarnekow
e34bcf8a71
Merge pull request #1024 from eclipse/sz_classpath
Make bin/main also the default output directory to avoid buildship confusion
2019-02-11 08:49:30 +01:00
Christian Dietrich
f2961f8a67
Merge pull request #1026 from eclipse/cd_fixJavaDocX
fixed some javadocs
2019-02-11 07:47:04 +01:00
Christian Dietrich
dfe72b83c0 fixed some javadocs
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-10 22:25:11 +01:00
Sebastian Zarnekow
09c3ceac85 Make bin/main also the default output directory to avoid buildship confusion 2019-02-10 14:55:03 +01:00
Christian Dietrich
cef06991c2 [eclipse/xtext#1393][Wizard] update to gradle 5.2.1
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-09 11:47:11 +01:00
Christian Dietrich
26a3bf1928 [eclipse/xtext#1393] update to gradle 5.2.1
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-09 11:32:38 +01:00
Christian Dietrich
882165995c
Merge pull request #1023 from eclipse/cd_xtext_issue1394
[eclipse/xtext#1394] bootstrap against 2.17.0.M2
2019-02-07 23:33:22 +01:00
Christian Dietrich
96d15425d1
Merge pull request #1022 from eclipse/kth_issue1274
[eclipse/xtext#1274] Updated .classpath by Gradle
2019-02-07 23:13:52 +01:00
Christian Dietrich
559f7fb755 [eclipse/xtext#1394] bootstrap against 2.17.0.M2
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-07 20:57:41 +01:00
Karsten Thoms
98a17c35da [eclipse/xtext#1274] Updated .classpath by Gradle
Changes done by Buildship 3.0.1.v20181217-1554

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-02-07 17:03:45 +01:00
Arne Deutsch
8d34e55e11 #1018 Maintain existing formatting.
To avoid reformatting we maintain the separators (e.g. line breaks) with
the entries (e.g. inside the required bundles entry).

Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2019-02-07 12:23:49 +01:00
Sebastian Zarnekow
e376e522fc
Merge pull request #1017 from eclipse/sz_improvedLexerSplitting
Improved lexer splitting
2019-02-06 10:58:45 +01:00
Sebastian Zarnekow
4ca8b7e08f Updated test expectation 2019-02-05 23:55:07 +01:00
Sebastian Zarnekow
cb8a9aa96b Incorporated review feedback 2019-02-05 14:33:49 +01:00
Sebastian Zarnekow
64e0edcb76 Bootstrap Xtext 2019-02-05 14:21:50 +01:00
Sebastian Zarnekow
c1c208e971 Regenerate test langs 2019-02-05 14:20:02 +01:00
Sebastian Zarnekow
56d43cdc6a Allow to pass eclipse dir since it's not always simply relative to the core dir 2019-02-05 14:14:54 +01:00
Sebastian Zarnekow
6e243524dc Also extract the dfa string array into an own static inner class 2019-02-05 14:14:32 +01:00
Karsten Thoms
ed9822833e
Merge pull request #986 from eclipse/kth_issue985
[#985] Make swallowing of NPEs in validation code configurable
2019-02-05 10:05:03 +01:00
Karsten Thoms
929b393e75 [#985] Make exception handling for validation code customizable
Added AbstractDeclarativeValidator#handleExceptionDuringValidation to
allow overriding of the default exception handling behavior. Clients
especially may want to propagate or handle NPEs more decent than just
swallowing it.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-02-05 10:04:34 +01:00
Karsten Thoms
6f86c146f7
Merge pull request #1016 from eclipse/kt_bom_encoding
Set sourceEncoding ISO-8859-1
2019-02-04 19:18:56 +01:00
Karsten Thoms
a6faa2dff0 Set sourceEncoding ISO-8859-1
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-02-04 17:31:06 +01:00
Christian Dietrich
22afec172c
Merge pull request #1015 from eclipse/cd_guava21mf
[eclipse/xtext#1391] pin guava version to 21
2019-02-04 12:00:41 +01:00
Christian Dietrich
640e11f60c [eclipse/xtext#1391] pin guava version to 21
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-04 11:48:42 +01:00
Sebastian Zarnekow
f665cfa984
Merge pull request #984 from eclipse/kth_issue983
[#983] Make issue message customizable
2019-02-04 11:19:22 +01:00
Arne Deutsch
2e89ec4e80
Merge pull request #1014 from eclipse/ade-fix-ui-tests
Fix ui tests
2019-02-04 10:11:12 +01:00
Arne Deutsch
cad1c87268 itemis/xtext-reference-projects#36: Fix version constraint.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2019-02-04 09:54:19 +01:00
Arne Deutsch
1a888f1923 Revert "itemis/xtext-reference-projects#36: Fix version constraint."
This reverts commit 311068fe82.
2019-02-04 09:52:20 +01:00
Arne Deutsch
311068fe82 itemis/xtext-reference-projects#36: Fix version constraint.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2019-02-04 09:48:32 +01:00
Christian Dietrich
1e0cc3d941
Merge pull request #1013 from eclipse/cd_bump_grgit
bump grgit
2019-02-02 10:36:09 +01:00
Christian Dietrich
3c1d095530 bump grgit
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-02 09:37:41 +01:00
Christian Dietrich
9ca2282d3a
Merge pull request #1012 from eclipse/cd_mweManifests
set minimal mwe version to the one from oxygen
2019-02-01 13:34:01 +01:00
Christian Dietrich
175d7bc975 set minimal mwe version to the one from oxygen
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-01 10:39:20 +01:00
Jelle Schuhmacher
86dfd39e94 ... and don't forget to return the result
Signed-off-by: Jelle Schuhmacher <jelle.schuhmacher@altran.com>
2019-02-01 08:06:59 +01:00
Sebastian Zarnekow
4a231019ae
Fixed javadoc (#1011) 2019-01-31 16:47:41 +01:00
Sebastian Zarnekow
68545d3721
Added RepeatedTest annotation to xtext.testing (#1010)
Added utility to run Junit 4 tests in a loop to tackle flaky tests
2019-01-31 15:58:28 +01:00
Christian Dietrich
81f3ebd5ed no https
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-01-30 15:03:52 +01:00
Christian Dietrich
920374354e
Merge pull request #1007 from eclipse/cd_mwe210M2
[eclipse/xtext#1283] update to MWE 2.10 M2
2019-01-30 14:54:51 +01:00
Jelle Schuhmacher
b40ce61068 ... also invoke super ResourceDescriptionStrategy
Oops

Signed-off-by: Jelle Schuhmacher <jelle.schuhmacher@altran.com>
2019-01-30 12:17:43 +01:00
Jelle Schuhmacher
2ef95c9623 Make ResourceDescriptionStrategyFragment aware of super grammars
such that the @Exported annotations of any supergrammars are used as
well, making it behave like the ValidatorFragment2.

Signed-off-by: Jelle Schuhmacher <jelle.schuhmacher@altran.com>
2019-01-30 11:50:01 +01:00
Christian Dietrich
63e99b9e11 [eclipse/xtext#1283] update to MWE 2.10 M2
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-01-30 07:07:46 +01:00
Karsten Thoms
cc6ab5469f
Merge pull request #1006 from eclipse/kt_issue1009
[#1009] Remove managed dependencies from build descriptors
2019-01-29 17:23:58 +01:00
Karsten Thoms
3017efb3f6 [#1009] Remove managed dependencies from build descriptors
- removed managed versions of
  - org.eclipse.emf.mwe2.launch
  - xtext-antlr-generator
  - org.junit:junit
  - org.junit.jupiter.api
  - xtext-dev-bom
- updated test expectation
- GradleBuildFile: Use single quoted dependencies for managed
dependencies (where version is null)
- added xtext-antlr-generator as optional dependency to Maven runtime
module. This avoids download of antlr-generator-3.2.0-patch.jar from
itemis server.
- XtextVersion: pin xtext-antlr-version to 2.1.1. Still needed for Tycho
based build for configuration of exec-maven-plugin.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-01-29 15:33:09 +01:00