Commit graph

7448 commits

Author SHA1 Message Date
Christian Dietrich
36babc7191 [eclipse/xtext#1605] update orbit to 2020-03
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-06 18:34:52 +01:00
Christian Dietrich
76712445ce
Merge pull request #1337 from eclipse/emf220Update
[eclipse/xtext#1282] update to EMF 2.20
2020-01-06 09:38:23 +01:00
Sebastian Zarnekow
9913e888dd [eclipse/xtext#1282] Update to EMF 2.20: Set GenRuntimeVersion to 2.20 by default 2020-01-04 08:37:28 +01:00
Christian Dietrich
a358326650 [eclipse/xtext#1282] Update to EMF 2.20: fix tycho build
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-03 16:38:15 +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
Christian Dietrich
1f8b21ff15 [eclipse/xtext#1282] Update to EMF 2.20: regenerated languages
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-03 16:38:14 +01:00
Christian Dietrich
de1a6b9bdb [eclipse/xtext#1282] Update to EMF 2.20: adapted workflows and manually maintained genmodels
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-03 16:38:14 +01:00
Lorenzo Bettini
b3147aebad 1335: updated CliWizardIntegrationTest expectations
Task-Url: https://github.com/eclipse/xtext-core/issues/1335
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2020-01-03 14:42:29 +01:00
Lorenzo Bettini
06c411c83b 1335: Don't ignore maven-resources goals in the generated parent POM
Task-Url: https://github.com/eclipse/xtext-core/issues/1335
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2020-01-03 14:40:46 +01:00
Arne Deutsch
d7ca0a4e72 Update forgotton copyright comments.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2019-12-18 10:22:59 +01:00
Tamas Miklossy
abddf5efc3 [#1108] Update the year in the copyright headers.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2019-12-16 18:57:01 +01:00
Sebastian Zarnekow
f45a3c4aaa
[eclipse/xtext#1629] Migrate server.concurrent from Xtend to Java (#1327)
Migrate server.concurrent from Xtend to Java

see eclipse/xtext#1629
2019-12-16 18:11:09 +01:00
Arne Deutsch
01c74550c4
Merge pull request #1333 from eclipse/ade-fix-tests-on-windows
[eclipse/xtext#1455] Resolve test failure in DocumentTest.
2019-12-16 15:14:38 +01:00
Arne Deutsch
1fff3d2648 [eclipse/xtext#1455] Dedicated DocumentTest case for \r\n.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2019-12-16 13:19:47 +01:00
Arne Deutsch
b18bb8ed7c [eclipse/xtext#1455] Fixing CompletionTest.
The tests work with concrete offsets and hence can only work with '\n'
because '\r\n' will always lead to broken expectations. Test case in
CompletionTest is only broken because TestLanguageProposalCreator, a
class used only for testing, adds 1 to the offset but "2" would be
needed for input with '\r\n'. In other places it is already ensured that
'\n' is used (e.g. AbstractLanguageServerTest#assertEquals). Hence just
align the input text to the rest of the implementation and using '\n'.

Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2019-12-16 13:09:29 +01:00
Arne Deutsch
44aafdae13 [eclipse/xtext#1455] Resolve windows test failure in DocumentTest.
Also fixes SemanticHighlightingTest.

Document#getLineContent returns the '\r' of '\r\n' on windows. This
leads to a failing test. But the line content should explicitly NOT
return the newline marker. Hence fixing the implementation to fix the
test.

Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2019-12-16 12:25:41 +01:00
Christian Dietrich
705ce6ee0d
Merge pull request #1331 from eclipse/cd_issue1328
[#1328] marked obsolete LineFilterOutputStream as deprecated
2019-12-15 18:31:23 +01:00
Christian Dietrich
771ff6052f [#1328] marked obsolete LineFilterOutputStream as deprecated
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-12-15 10:30:24 +01:00
Tamas Miklossy
b4cc111f25 [#1272] Add missing '@Override' to the descriptionLabelProvider methods.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2019-12-14 18:45:16 +01:00
Tamas Miklossy
00c6be4d34 [#1272] Add missing 'See' prefix to the url in javadoc comments.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2019-12-14 18:45:16 +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
Christian Dietrich
e3089c28c9 regenerated test lang
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-12-13 09:22:42 +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
Arne Deutsch
1cd12a8644
Merge pull request #1326 from eclipse/ade-project-wizard-avoid-image-override
[#1321] Do not override icons when regenerate.
2019-12-12 16:02:32 +01:00
Arne Deutsch
9d9137ef66 [#1321] Do not override icons when regenerate.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2019-12-12 13:51:30 +01:00
Christian Dietrich
762886ff6d
Merge pull request #1325 from eclipse/cd_issue1324
[#1324] teach partial class extractor about fragment rules
2019-12-12 12:12:59 +01:00
Christian Dietrich
18e4a6c7ee [#1324] teach partial class extractor about fragment rules
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-12-12 10:24:11 +01:00
mmews
f8fbc38a0b fix synchronization error (maybe)
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-12 00:19:51 +01:00
Sebastian Zarnekow
35c544fa81
Merge pull request #1323 from mmews-n4/use_indexOnly
Make use of already implemented flag indexOnly and set it in IProjectConfig
2019-12-11 18:26:06 +01:00
mmews
df3b967105 add tests for runRead, etc.
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-11 14:16:53 +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
8e3550e61b add test for IProjectConfig#isIndexOnly
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-10 22:35:04 +01:00
mmews
cefc79857a fix cancel future directly
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-10 12:46:05 +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
mmews
d620e0daae log exceptions in futures of RequestManager
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-10 12:04:25 +01:00
Christian Dietrich
09717910c9
Merge pull request #1320 from eclipse/cd_issue1318
[#1318] added missing xtend.lib dependency to make sure AA can run
2019-12-09 13:31:33 +01:00
Christian Dietrich
1320766ad3 [#1318] added missing xtend.lib dependency to make sure AA can run
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-12-09 13:18:36 +01:00
Christian Dietrich
024139f469
Merge pull request #1315 from eclipse/bot_update_xtext_bootstrap_version
[releng] Bootstrap against 2.20.0
2019-12-03 08:54:16 +01:00
Christian Dietrich
27699ec89f [releng] Bootstrap against 2.20.0
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-12-03 07:46:43 +00:00
Christian Dietrich
b8a99255f9
Merge pull request #1313 from eclipse/cd_issue1312
[#1312] fixed broken stub code
2019-12-02 22:01:48 +01:00
Christian Dietrich
d29aa413ac [#1312] fixed broken stub code
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-12-02 21:15:43 +01:00
Christian Dietrich
921e41bf7a
Merge pull request #1311 from eclipse/bot_update_xtext_version
[releng] Update Xtext version to 2.21.0
2019-12-02 15:36:31 +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
Karsten Thoms
dff75fe2fa
Merge pull request #1310 from eclipse/kt_issue1304_2
Fix regression in XtextVersion.getCurrent()
2019-11-28 12:13:29 +01:00
Karsten Thoms
85510e8157 [#1304] Catch exception in call to getBaseURL()
The call causes a MissingResourceException, since EMF does not find a
plugin.properties in xtext.utils. Fixes the regression that arised from
Xtend to Java refactoring. The old code catched the exception and
returned null.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-11-28 12:00:05 +01:00
Karsten Thoms
e1161dbe03 [#1304] Add test case for regression in getCurrent()
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-11-28 11:57:17 +01:00
Christian Dietrich
cd774217e1
Merge pull request #1287 from eclipse/cd_externalLexer
provide a new generator infrastructure external lexer fragment
2019-11-27 11:13:02 +01:00
Christian Dietrich
2acfc71137
Merge pull request #1308 from eclipse/cd_lsp4j081
updated to lsp4j 0.8.1
2019-11-27 08:14:59 +01:00