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
Christian Dietrich
035df74a4e
updated to lsp4j 0.8.1
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-11-26 21:43:34 +01:00
Lorenzo Bettini
239498fe84
Merge pull request #1306 from eclipse/lb_use_mwe2Version
...
Use mwe2version in Tycho-based POMs instead of hard-coding
2019-11-26 18:03:01 +01:00
Lorenzo Bettini
b7ada2599a
Use mwe2version in Tycho-based POMs instead of hard-coding
...
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2019-11-26 17:27:36 +01:00
Lorenzo Bettini
123f609750
Merge pull request #1305 from eclipse/lb_use_mwe2Version
...
Use mwe2version in POMs and target platform, instead of hard-coding
2019-11-26 16:55:48 +01:00
Lorenzo Bettini
533b8dd988
Use mwe2version in POMs and target platform, instead of hard-coding
...
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2019-11-26 16:12:48 +01:00
Christian Dietrich
a43790dd8a
Merge pull request #1302 from eclipse/bot_update_xtext_bootstrap_version
...
[releng] Bootstrap against 2.20.0.M3
2019-11-26 14:11:55 +01:00
Christian Dietrich
b78d337a9c
review feedback
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-11-26 12:39:28 +01:00
Karsten Thoms
a4ee3e160d
[releng] Bootstrap against 2.20.0.M3
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-11-26 09:31:43 +00:00
Karsten Thoms
d9a45cfd05
Merge pull request #1298 from eclipse/kt_issue1569_2
...
[eclipse/xtext#1569 ] Refactor Xtend to Java
2019-11-25 08:52:40 +01:00
Sebastian Zarnekow
231b4ef862
Reuse parts of the AbstractAntlrGeneratorFragment2
2019-11-24 15:20:39 +01:00
Christian Dietrich
6245f3e6e6
provided replacement for ExternalAntlrLexerFragment
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-11-24 14:30:49 +01:00
Christian Dietrich
9e1e8ac888
Merge pull request #1300 from eclipse/cd_avoidUnwantedBPChanges
...
fix unwanted build properties changes
2019-11-22 19:06:29 +01:00
Christian Dietrich
15c2115a28
fix unwanted build properties changes
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-11-22 18:22:01 +01:00
Karsten Thoms
f12d7540ef
[ eclipse/xtext#1569 ] Refactor Xtend to Java
...
Replaced usage of Xtend in project org.eclipse.xtext.util, except for
active annotations.
Performed refactorings see
https://github.com/eclipse/xtext/wiki/DevGuide_RefactorXtend2Java
Added test case for UriExtensions#withEmptyAuthority().
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-11-22 14:31:46 +01:00
Christian Dietrich
b7589ed9c5
fixed unused import
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-11-22 12:22:04 +01:00