Commit graph

5546 commits

Author SHA1 Message Date
Sven Efftinge
d909078dfd [tracing] various improvements (#287)
- fixed indentation issues
 - support newLineIfNotEmpty semantics
 - indent and newline nodes contain the actual string
 - better naming
 - documentation
2017-02-27 16:38:23 +01:00
Sven Efftinge
ac2b856e6e [tracing] rename (#287) 2017-02-27 16:38:07 +01:00
Sven Efftinge
3e96aa3939 [tracing] Improved client API (#287) 2017-02-27 16:37:57 +01:00
Sven Efftinge
cfc62dea7a [tracing] Added support for tracing in code generation (#287)
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-02-27 16:37:43 +01:00
Christian Dietrich
2d6140d345 Merge pull request #281 from eclipse/cd_issue280
run test with UTF-8 always #280
2017-02-20 09:06:32 +01:00
Christian Dietrich
4c275f67f0 run test with UTF-8 always #280
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-02-17 21:32:55 +01:00
Christian Dietrich
6aae7e057f Merge pull request #279 from eclipse/cd_issue222
[Wizard] Use Current Gradle Version in Wizard. #222
2017-02-15 14:07:41 +01:00
Christian Dietrich
1ff8ec6361 adaped test expectations. #222
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-02-15 13:45:16 +01:00
Christian Dietrich
db782ad5bd [Wizard] Use Current Gradle Version in Wizard. #222
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-02-15 13:22:22 +01:00
Christian Dietrich
ef97105805 Merge pull request #276 from eclipse/cd_bug415677
[415677] Language Specific Compare Viewer title
2017-02-14 17:15:50 +01:00
Christian Dietrich
3d74fa82e3 [415677] Language Specific Compare Viewer title
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-02-14 15:26:35 +01:00
Christian Dietrich
7618b7cd1b Merge pull request #278 from eclipse/cd_eclipse_issue153
Introduce Nullable Annotation
2017-02-14 11:34:56 +01:00
Christian Dietrich
8354a3b7d4 Introduce Nullable Annotation to allow Null-Injections with google guice. see https://github.com/eclipse/xtext-eclipse/issues/153 for details
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-02-14 10:04:18 +01:00
Christian Dietrich
f7f1c2fea6 #277 fixed typo
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-02-13 14:33:29 +01:00
Sven Efftinge
a2c83da23d [lsp] allow scheme’s for unregistered filesystems 2017-02-11 15:25:32 +01:00
akosyakov
361ac9f799 Replace Either<T, List<T>> with List<T> 2017-02-07 08:42:06 +05:00
Christian Dietrich
e198644811 Merge pull request #275 from tivervac/readme_typo
Fixed typo in readme
2017-02-06 13:30:30 +01:00
Titouan Vervack
1094e784a2 Fixed typo in readme
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2017-02-06 13:27:15 +01:00
Moritz Eysholdt
2edd3214c2 Merge pull request #272 from eclipse/me_PolymorphicDispatcher3
fixed #238 in PolymorphicDispatcher#compare by not sorting methods
2017-02-04 01:14:34 +01:00
Moritz Eysholdt
923422737e fixed #238 in PolymorphicDispatcher#compare by not sorting methods
This fix prevents exceptions such as "IllegalArgumentException:
Comparison method violates its general contract" by not sorting the list
of methods at all. Since the method selection algorithm scans the
complete list of methods, the order of the list does not impact the
algorithm's outcome. 

The fix does not change the precedence of methods since the
implementation of compare(method1, method2) is kept the same.

However, this bug taught us that compare(m1, m2) is not suitable to
establish a total order among a list of methods and that 
compare(m1, m2)==0 && compare(m2, m3)==0 
does NOT imply compare(m1, m3)==0.

Example:
m1(A a), m2(B b), m3(C c), class A{}, class B{}, class C extends A{}

This observation required another change: When scanning the list of
methods for candidates, it does not suffice to compare the current
candidate with the last best candidate. Instead, it is needed to compare
the current candidate with all best candidates, because
compare(currentCandidate, lastBestCandidate)==0 does NOT imply compare()
to return 0 for the other best candidates. 

When calling compare(m1, m2) among the best candidates it is always
expected to return 0, meaning the candidates are unrelated (e.g.
independent inheritance hierarchies of their parameter types) or equal.

see https://github.com/eclipse/xtext-core/issues/238

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-02-04 01:01:27 +01:00
akosyakov
14f8f9b58b [lsp] apply Either type 2017-02-03 19:53:13 +05:00
Christian Dietrich
d13843f6aa Merge pull request #271 from eclipse/cd_issue270
Respect @Repeatable property of Annotations in the Xtext Generator.
2017-02-03 12:50:18 +01:00
Christian Dietrich
b5055c9aff Respect @Repeatable property of Annotations in the Xtext Generator. Fixes #270
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-02-03 11:59:42 +01:00
Sven Efftinge
945301f598 use lsp4j 0.2.0-SNAPSHOT 2017-02-03 11:31:18 +01:00
Sven Efftinge
5d21810da0 use lsp4j master 2017-02-03 11:10:28 +01:00
Sven Efftinge
8342fcb19f [LS / Incremental Builder] Fixed issues (failing tests) with reused resource sets 2017-02-02 09:34:47 +01:00
Miro Spönemann
70aa01c596 Update README.md 2017-02-02 09:06:48 +01:00
Miro Spönemann
a3272341e7 Update README.md 2017-02-02 09:02:35 +01:00
akosyakov
b7a5726d9f Migrate to the version 0.2.0-SNAPSHOT of lsp4j 2017-02-02 11:06:48 +05:00
Miro Spönemann
a531fe18c7 Update README.md 2017-02-01 16:41:11 +01:00
Sven Efftinge
1c2b7a49f3 Merge pull request #237 from eclipse/se_reuse_resourcet
[language server / incrmental builder] allow reusing resource set
2017-02-01 12:08:19 +01:00
Miro Spönemann
7476b7bdb0 Merge branch 'maintenance_2.11' with 'ours' strategy 2017-02-01 11:45:33 +01:00
Miro Spönemann
406cc6c7bd [build] Reverted target platform version 2017-02-01 11:34:36 +01:00
Miro Spönemann
eaa0a66288 [build] Increased version number to 2.11.1-SNAPSHOT 2017-02-01 11:20:39 +01:00
Miro Spönemann
9344682208 [build] Use Xtend 2.11.0.RC2 2017-01-31 13:17:12 +01:00
Miro Spönemann
0bc4eb7975 Merge branch 'release_2.11.0' 2017-01-31 13:16:13 +01:00
akosyakov
65ac06cfae release the semaphore if the read request is cancelled 2017-01-31 10:24:49 +05:00
Miro Spönemann
99f6aacbae Merge pull request #266 from eclipse/release_2.11.0_me_debug_info
fixed #265: Create pom.xml that installs Xtend Debug Info
2017-01-30 09:06:13 +01:00
Moritz Eysholdt
8cbddaa4d8 fixed #265: Create pom.xml that installs Xtend Debug Info
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-01-28 15:14:07 +01:00
Karsten Thoms
88b04302cb Merge pull request #258 from eclipse/kth_junit412
Change import of AssumptionViolatedException
2017-01-27 08:48:53 +01:00
Christian Dietrich
662c79d34d Merge pull request #262 from eclipse/cd_issue47
load XtextValidationTest.ecore from code to avoid validation problems in workspace
2017-01-25 13:24:52 +01:00
Christian Dietrich
b37a087fd7 load XtextValidationTest.ecore from code to avoid validation problems in workspace. fixes #47
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-01-25 12:49:51 +01:00
Karsten Thoms
6dc1063633 Change import of AssumptionViolatedException
With JUnit 4.12 the class was made public API, the old class is
deprecated.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-01-25 09:58:09 +01:00
Miro Spönemann
64700b13f0 [build] Clean xtend-gen before build 2017-01-24 15:24:03 +01:00
Miro Spönemann
c5710fb2b1 Updated to LSP4J 0.1.1 2017-01-24 15:17:27 +01:00
Miro Spönemann
edf68739d8 Merge pull request #256 from eclipse/msp_issue58
Removed some @noreference, @noextend tags; added Javadoc
2017-01-20 15:19:01 +01:00
Miro Spönemann
fb8a4fe495 #58: Removed some @noreference, @noextend tags; added Javadoc documentation 2017-01-19 11:10:05 +01:00
Miro Spönemann
8f9a5c0e27 Merge pull request #255 from eclipse/msp_issue223
Deprecated XtextGeneratorLanguage.generateXtendStubs
2017-01-19 11:09:40 +01:00
Miro Spönemann
baad5c1aaf Merge branch 'release_2.11.0' with 'ours' strategy 2017-01-18 16:32:17 +01:00
Miro Spönemann
1b140cbcac [build] Implemented more intelligent upstream branch selection 2017-01-18 16:27:03 +01:00