Commit graph

7205 commits

Author SHA1 Message Date
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
Christian Dietrich
00bd504cf3
Merge pull request #1377 from eclipse/cd_xtext-core-issue1372
[#1372] update hover service to use MarkupContent
2020-02-09 19:14:38 +01:00
Christian Dietrich
b13367970f [#1372] update hover service to use MarkupContent
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-02-03 22:33:32 +01:00
Christian Dietrich
7050b2faba
Merge pull request #1375 from eclipse/cd_lsp4j090Snapshot
[#1244] lsp4j 0.9.0
2020-02-03 22:31:49 +01:00
Christian Dietrich
fb5344d1b8
Merge pull request #1376 from eclipse/bot_update_xtext_bootstrap_version
[releng] Bootstrap against 2.21.0.M2
2020-02-03 19:40:19 +01:00
Nico Prediger
56ecd517ce [releng] Bootstrap against 2.21.0.M2
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2020-02-03 11:46:18 +00: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
Christian Dietrich
a5af72b948
Merge pull request #1373 from eclipse/cd_explicit412
use junit 4.12 explicitely
2020-01-31 10:41:58 +01:00
Arne Deutsch
8bb9bdf6e1
Merge pull request #1365 from eclipse/ade-inode-gettext-no-null
[#1303] Throw exception instead of returning null.
2020-01-31 09:56:57 +01:00
Christian Dietrich
6892f6be24 use junit 4.12 explicitely
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-31 09:25:41 +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
Tamas Miklossy
5f86d1ae28 Use consistent indentation in the ImplicitFragment (plugin.xml).
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-01-30 12:39:20 +01:00
Christian Dietrich
0766f69605 [#1244] lsp4j 0.9.0
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-30 12:21:41 +01:00
Christian Dietrich
3f597184aa
Merge pull request #1364 from eclipse/cd_ideTestlangNoXtend
[eclipse/xtext#1629] moved ide testlangs not to prefer xtend
2020-01-27 17:32:20 +01:00
Christian Dietrich
1ebd765e0b
Merge pull request #1369 from eclipse/cd_moreXtend2Java
[eclipse/xtext#1629] ported more Xtend code to Java
2020-01-27 15:55:45 +01:00
Christian Dietrich
257601d8ad [eclipse/xtext#1629] ported more Xtend code to Java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-27 15:26:46 +01:00
Christian Dietrich
aa90ba73ae
Merge pull request #1368 from eclipse/cd_regen
regenerated test langs
2020-01-27 11:04:05 +01:00
Christian Dietrich
0131ff0c43 regenerated test langs
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-27 10:15:15 +01:00
Tamas Miklossy
4cc8ba90ca Remove trailing whitespace from EMFGeneratorFragment2 (plugin.xml).
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-01-27 08:57:00 +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
Christian Dietrich
fd6eea7b09 [eclipse/xtext#1629] moved ide testlangs not to prefer xtend
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-24 11:47:47 +01:00
Christian Dietrich
ef65b96ec0 fixed unused imports
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-23 13:10:54 +01:00
Karsten Thoms
3682b57be1
Merge pull request #1361 from eclipse/kt/issue1595_escape_branchname
[eclipse/xtext#1595] Escape branch name for k8s label
2020-01-23 09:43:53 +01:00
Karsten Thoms
235c42b3ef
Merge pull request #1362 from eclipse/kt_issue1569_1
[eclipse/xtext#1569] Refactor Xtend to Java
2020-01-21 15:57:48 +01:00
Karsten Thoms
5083d86efa [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.

This change extracts classes formerly defined in
AbstractLanguageServerTests.xtend to own files.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2020-01-21 15:35:04 +01:00
Christian Dietrich
12c5a2215e
Merge pull request #1360 from eclipse/cd_tycho160final
[eclipse/xtext#1643] update to tycho 1.6.0
2020-01-20 17:12:27 +01:00
Christian Dietrich
d6a22de8a9 [eclipse/xtext#1643] update to tycho 1.6.0
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-20 15:54:50 +01:00
Karsten Thoms
582ea14f9d [eclipse/xtext#1595] Escape branch name for k8s label
The k8s agent label becomes invalid when the branch name contains '/'.
ERROR: Labels must follow required specs -
https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set

This change escapes the slash character by underscore.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2020-01-20 15:41:16 +01:00
Christian Dietrich
c6718b9499
Merge pull request #1350 from eclipse/cd_xtext_issue1644
[eclipse/xtext#1644] use java platform
2020-01-20 15:15:21 +01:00
Christian Dietrich
df71148106 [eclipse/xtext#1644] use java platform
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-20 15:03:55 +01:00
Christian Dietrich
bda917bab3
Merge pull request #1359 from eclipse/cd_issue1651
[eclipse/xtext#1651] made error handling in StorageAwareResource null-safe
2020-01-20 13:47:45 +01: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
9d419220eb
Merge pull request #1352 from eclipse/cd_issue1351
[#1351] match milestone versions in test too
2020-01-18 08:43:12 +01:00
Christian Dietrich
f8d52a593f
Merge pull request #1355 from mmews-n4/hashCode_for_ReplaceRegion
Add hashCode() and equals() to ReplaceRegion
2020-01-17 10:01:07 +01:00
Christian Dietrich
e57cb3bfee
Merge pull request #1357 from eclipse/cd_grgit401
update grgit to 4.0.1
2020-01-17 08:26:30 +01:00
Christian Dietrich
0083da3f89 update grgit to 4.0.1
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-17 07:50:47 +01:00
mmews
4353ade62b performance improvements, add check for class
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2020-01-16 10:46:24 +01:00
mmews
198a74e270 add hashCode() and equals() to ReplaceRegion
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2020-01-15 14:33:58 +01:00
Christian Dietrich
0b7156d54f
Merge pull request #1354 from eclipse/bot_update_xtext_bootstrap_version
[releng] Bootstrap against 2.21.0.M1
2020-01-14 08:51:08 +01:00
Nico Prediger
9eb48f4879 [releng] Bootstrap against 2.21.0.M1
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2020-01-14 07:23:16 +00:00
Christian Dietrich
ccf274d016 [#1351] match milestone versions in test too
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-13 13:31:53 +01:00
Christian Dietrich
a928fbe711
Merge pull request #1348 from eclipse/cd_xtext_issue1642regen
[eclipse/xtext#1642] regenerated xtend code with latest xtend
2020-01-10 12:19:22 +01:00
Christian Dietrich
cb2d00c8a9
Merge pull request #1349 from eclipse/cd_enhanceDeprecations
Enhance Dreprecations (get fewer warnings)
2020-01-10 09:15:13 +01:00
Christian Dietrich
0f87a7343c enhance deprecation of fragments
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-10 07:54:24 +01:00
Christian Dietrich
828d11d33b enhance deprecation of coloring service
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-10 07:52:19 +01: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
664fb2e8e8 Convert EMFGeneratorFragment2.trimMultiLineComment to an instance method
- to be able to override that method in derived classes.

Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-01-09 10:15:30 +01:00
Lorenzo Bettini
c8196eeca2
Merge pull request #1336 from eclipse/lb_issue_1335
The generated parent POM should not ignore maven-resources-plugin goals
2020-01-09 09:24:45 +01:00