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
Christian Dietrich
16d926c7f3
[ eclipse/xtext#1679 ]ported test code to java
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-05-05 17:26:08 +02:00
Christian Dietrich
ef118b8eed
[ eclipse/xtext#1738 ] avoid usage of icu.Transliterator
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-05-05 14:24:10 +02:00
Christian Dietrich
b55bbcce30
[ eclipse/xtext#1738 ] use java.text.SimpleDateFormat instead of com.ibm.icu.SimpleDateFormat
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-05-05 09:14:55 +02:00
Sebastian Zarnekow
b15fd84cfe
[ #1467 ] Made lookAhead independent from encountered hidden tokens ( #1469 )
...
Made lookAhead independent from encountered hidden tokens
closes #1467
2020-05-04 17:18:34 +02:00
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
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
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
Christian Dietrich
4a29a0bf5d
[ eclipse/xtext#1679 ] converted Xtend code to Java
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-04-26 13:08:20 +02:00
Tamas Miklossy
f2a452ef39
[ https://github.com/eclipse/xtext/issues/1732 ] Update to Tycho 1.7.0
...
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-04-24 08:16:36 +02:00
Christian Dietrich
dcd234c02a
[ eclipse/xtext#1679 ] ported xtend code to java
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-04-06 13:26:12 +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
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
Christian Dietrich
aaaa0b7f3c
[ eclipse/xtext#1682 ] update orbit to 2020-06
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-03-20 08:12:48 +01:00
Christian Dietrich
24ab236af1
[ eclipse/xtext#1685 ] use 2020-06 update site
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-03-16 13:25:18 +01:00
Sebastian Zarnekow
8413a4df0e
Merge pull request #1413 from eclipse/sz_bug318482
...
[bug 318482] Support keywords as terminals in cross references
2020-03-10 12:17:32 +01:00
Sebastian Zarnekow
7425f83b2a
[bug 318482] Support keywords as terminals in cross references
2020-03-05 22:19:34 +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
Christian Dietrich
400e93b8a5
fixed unused imports
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-02-28 10:18:07 +01:00
Christian Dietrich
4ac7a0ef10
[ eclipse/xtext#1673 ] udpate to MWE 2.11.2
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-02-24 20:12:31 +01:00
Christian Dietrich
ee77317dd2
test with MWE 2.11.2.M3
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-02-17 13:11:48 +01:00
Christian Dietrich
543d37bed1
[ #1384 ] removed xpand/generator(1) dependency from wizard for existing ecore models
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-02-14 10:25:12 +01:00
Hannes Niederhausen
2d4b45fc4f
Added exclude configuration for p1.features for ls-pom.xml
...
Commit missing updated xtend file.
Signed-off-by: Hannes Niederhausen <hniederhausen@itemis.de>
2020-02-11 16:49:59 +01: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
792bfe3b29
[ #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-25 14:51:39 +00: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