Commit graph

672 commits

Author SHA1 Message Date
Arne Deutsch
a514456771 [eclipse/xtext#1697] Abstract super class for java based formatters.
Remove API restrictions.
Testing java based formatter.

Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2020-10-23 09:57:41 +02:00
Christian Dietrich
0a72c07d61 [eclipse/xtext#1837] converted xtend 2 java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-10-23 09:28:49 +02:00
Christian Dietrich
f9d2f340bc
Merge pull request #1593 from eclipse/cd_J11_gedoens
fixed platform targetplatform badness with Java 11 in wizard
2020-10-19 11:31:14 +02:00
Christian Dietrich
877efdb25e fix temp folder security flaw
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-10-19 10:05:41 +02:00
Christian Dietrich
12e396a62a fixed platform targetplatform badness with Java 11 in wizard
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-10-19 09:21:54 +02:00
Christian Dietrich
70607b6081 fixed some bugs
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-10-16 13:39:45 +02:00
Christian Dietrich
d78563ecf0
Merge pull request #1581 from eclipse/cd_X2J224
[eclipse/xtext#1837] ported xtend code 2 java
2020-10-16 09:02:49 +02:00
Christian Dietrich
8997e0c803 update to latest jetty
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-10-11 09:42:14 +02:00
Christian Dietrich
0d7ada7615 [eclipse/xtext-web#262] update to jquery 3.5.1
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-10-09 09:58:11 +02:00
Christian Dietrich
76b2337b9e
Merge pull request #1584 from eclipse/cd_asm9
[eclipse/xtext#1852] Update to ASM 9
2020-10-06 10:03:40 +02:00
Christian Dietrich
e9bba8f355 [eclipse/xtext#1852] Update to ASM 9
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-10-06 09:07:47 +02:00
Christian Dietrich
8c89020086
Merge pull request #1583 from eclipse/cd_issue1582
made tests order independent. fixes #1582
2020-10-05 17:40:30 +02:00
Christian Dietrich
91c518ea7c made tests order independent. fixes #1582
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-10-05 14:41:10 +02:00
Christian Dietrich
e9faad369b [eclipse/xtext#1837] ported xtend code 2 java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-09-28 17:27:54 +02:00
Christian Dietrich
56de6162c0 [eclipse/xtext-eclipse#1547] enhance ecore2xtext generator & xtext2ecore transformer for reserved keywords in enums
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-09-28 11:35:33 +02:00
Sebastian Zarnekow
5d251e5af2 [eclipse/xtext#1850] Fix resource leaks 2020-09-18 21:07:17 +02:00
Arne Deutsch
5c43b18fb4
Merge pull request #1567 from eclipse/ade-eobject-comment-offset0
[#1521] Return root on parse success and no other element found.
2020-09-18 09:06:08 +02:00
Karsten Thoms
8a6605a018
Merge pull request #1572 from eclipse/cd_xtext_issuue1831b
[eclipse/xtext#1831] update to download.eclipse.org/releases/2020-12
2020-09-15 10:37:09 +02:00
Christian Dietrich
d959d8dde1 [eclipse/xtext#1831] update to download.eclipse.org/releases/2020-12
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-09-15 08:43:43 +02:00
Christian Dietrich
05500a92f1 [eclipse/xtext#1828] update orbit to 2020-12
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-09-14 20:50:05 +02:00
Arne Deutsch
1c0ec04ab0 [#1521] Return root on parse success and no other element found.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2020-09-04 08:59:13 +02:00
Christian Dietrich
ee7cf5f196
Merge pull request #1556 from eclipse/cd_fixJava11Warnings
fixed warnings when compiling against Java 11
2020-09-01 08:05:28 +02:00
kthoms
599b17be0a [releng] Update Xtext version to 2.24.0
Signed-off-by: kthoms <karsten.thoms@karakun.com>
2020-08-31 21:37:37 +00:00
Titouan Vervack
c15d749416
Fixed spaces after ML comments in format(#1543)
When customizing the formatter to consider indentation + spaces, ML comments are prepended with a space. This patch fixes that.
2020-08-26 11:07:23 +02:00
Christian Dietrich
57d599543a fixed warnings when compiling against Java 11
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-08-17 14:55:32 +02:00
Christian Dietrich
7297fd4786 [eclipse/xtext#1777] ported xtend code to java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-08-09 21:13:06 +02:00
Sebastian Zarnekow
108ea555d7
Improved validation against imported ecore meta model (#1552)
closes #1551 

Signed-off-by: Sebastian Zarnekow <sebastian.zarnekow@gmail.com>
2020-08-07 14:56:30 +02:00
Sebastian Zarnekow
6d7097ef24 Improved grammar validation in the context of unassigned rule calls
Subsequent unassigned actions are not allowed if there was already a
current instance present.

Signed-off-by: Sebastian Zarnekow <sebastian.zarnekow@gmail.com>
2020-08-07 14:32:57 +02:00
Christian Dietrich
22107ae55a removed obsolete org.eclipse.xtend.shared.ui.prefs
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-08-03 13:18:44 +02:00
Christian Dietrich
8fbb799ddd removed unused import
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-07-15 17:31:41 +02:00
Christian Dietrich
b4c4be04fa [eclipse/xtext#1777] ported xtend code to java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-07-14 14:32:36 +02:00
Sebastian Zarnekow
8990d9c55d [#1497] Don't clear the cache on bulk changes to errors or warnings 2020-06-29 11:42:08 +02:00
Christian Dietrich
ce9df3cd82 [eclipse/xtext#1784] use download.eclipse.org/releases/2020-09 in wizard
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-06-17 17:28:12 +02:00
Christian Dietrich
7c14947d46 [eclipse/xtext#1781] update orbit to 2020-09
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-06-15 14:16:32 +02:00
Christian Dietrich
26ff6099b6 [eclipse/xtext#1777] ported more xtend code to java & cleanup
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-06-05 10:17:20 +02:00
Christian Dietrich
60688817f5 [eclipse/xtext#1777] ported more xtend code to java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-06-04 09:32:30 +02:00
Nico Prediger
5aae2d0e6b [releng] Update Xtext version to 2.23.0
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2020-06-02 17:18:46 +00:00
Sebastian Zarnekow
b751b9e2e0
[#1499] Enable JavaDoc validation on org.eclipse.xtext (#1500)
closes #1499
2020-05-20 17:11:07 +02:00
Christian Dietrich
ebe2eaccc7 [eclipse/xtext#1770] update to mwe 2.11.3 final
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-05-20 16:33:47 +02:00
Sebastian Zarnekow
7b5900fc5a
[#1466] Global unique name validator (#1483)
This change introduces an explicit validation context that is used by the INamesAreUniqueValidationHelper. This allows to fine tune the scope of the validation in various ways. Default contexts are available to validation uniqueness in the current container, along the chain of visible containers or local to the current resource (the default).

Local unique name validation can be implemented now based on the LocalUniqueNameContext.

closes #1466
2020-05-15 21:16:47 +02:00
Tamas Miklossy
7b0469e1cc [#1443] Fix XtextFormatter behaviour on different line endings.
- Modify the FormattingConfigBasedStream to handle the different line
endings properly.
- Implement corresponding XtextFormatterTest and
GrammarAccessExtensions2Test test cases.

Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-05-12 22:16:31 +02:00
Tamas Miklossy
b66b4c6186 Fix typo in LineSeparatorHarminizerTest test class name.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-05-12 22:15:49 +02:00
Tamas Miklossy
dfdceddc5c [https://github.com/eclipse/xtext-eclipse/issues/1221] Serializer.
- Improve the serializeReplacement implementation by modifying the
ReplaceRegion length calculation so that it takes not only the
ICompositeNode.getTotalLength() into account, but considers if the new
text contains additional whitespaces and the old text is also followed
by white spaces, than the whitespaces contained by the original document
is also consumed by the quickfix.
- Implement corresponding SerializerReplacementCalculationTest test case
based on the NoJdtTestLanguage.

Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-05-12 17:54:34 +02:00
Christian Dietrich
2bf9d438ec [eclipse/xtext#1765] update to MWE 2.11.3.M3
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-05-11 14:45:04 +02:00
Christian Dietrich
5416808eda
Merge pull request #1481 from eclipse/cd_deprXtendXtext2EcorePostProcessor
marked xpand/xtend(1) depending XtendXtext2EcorePostProcessor as deprecated
2020-05-07 18:01:26 +02:00
Christian Dietrich
070cf973dc
Merge pull request #1474 from eclipse/cd_testX2J
[eclipse/xtext#1679]ported test code to java
2020-05-07 17:32:49 +02:00
Christian Dietrich
317c2d7a0d marked xpand/xtend(1) depending XtendXtext2EcorePostProcessor as deprecated
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-05-07 17:25:16 +02:00
Christian Dietrich
c2773a68ca [eclipse/xtext#1738] removed no longer needed icu dependency
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-05-06 14:11:09 +02:00
Christian Dietrich
34c2846870
Merge pull request #1476 from eclipse/cd_xtext_issue1738b
[eclipse/xtext#1738] avoid usage of icu.Transliterator
2020-05-06 09:44:39 +02:00
Tamas Miklossy
d9d493b8b9 [#269] Regenerate languages 2020-05-06 09:08:19 +02:00