Commit graph

5575 commits

Author SHA1 Message Date
Christian Dietrich
a6e1e03053 updated to tycho 1.0.0
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-03-27 13:16:56 +02:00
Christian Dietrich
355eff6df9 updated to tycho 1.0.0
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-03-27 13:10:52 +02:00
Sven Efftinge
9a9526ec45 [tracing] disable line separator harmonizer for trace aware contents 2017-03-24 13:56:25 +01:00
Christian Dietrich
46f2a0155e Merge pull request #303 from eclipse/cd_fixErrorsInEclipse
fixed errors in eclipse
2017-03-20 12:28:23 +01:00
Christian Dietrich
69bc39ada7 fixed errors in eclipse
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-03-17 16:17:03 +01:00
Christian Dietrich
4db0732ef5 fixed broken javadoc
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-03-13 12:18:29 +01:00
Christian Dietrich
04f21fd7b3 generalized charset setting
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-03-10 14:52:55 +01:00
Miro Spönemann
8ffc40c904 [build] Updated xtext-gradle-plugin to 1.0.17 2017-03-10 10:46:46 +01:00
Miro Spönemann
67885f0abf [build] Updated to Gradle 3.4.1 2017-03-10 10:42:14 +01:00
Christian Dietrich
c04281255e Merge pull request #299 from gallandarakhneorg/patch-1
Use getValuesProvider function in IssueSeveritiesProvider.
2017-03-07 17:55:42 +01:00
Stéphane Galland
6e413dbe41 Use getValuesProvider function in IssueSeveritiesProvider.
The function `getValueProvider` is defined in `IssueSeveritiesProvider`
for replying the value provider instance.
This function seems to be defined as protected in order to be overriden.
But is it not called from the rest of the code of
`IssueSeveritiesProvider`. This PR fixes this issue.

Signed-off-by: Stéphane Galland <galland@arakhne.org>
2017-03-07 17:49:41 +01:00
Lorenzo Bettini
917944c0f7 Merge pull request #298 from eclipse/lb_flaky-tests
Added tests for .xtext.testing.Flaky
2017-03-06 12:35:51 +01:00
Lorenzo Bettini
822e76cf7e Added tests for .xtext.testing.Flaky
Since now Flaky is also part of .xtext.testing, I copied the tests for
Flaky from .junit4.tests project

Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2017-03-06 11:54:25 +01:00
Lorenzo Bettini
790fa3eb74 Merge pull request #296 from eclipse/lb_flaky
Copied Flaky into .xtext.testing
2017-03-06 10:26:30 +01:00
Christian Dietrich
214f6f00a4 fixed some typos
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-03-04 13:48:25 +01:00
Moritz Eysholdt
a928465b27 Merge pull request #297 from Bananeweizen/performanceStateBasedContainer
refactor: improve performance of StateBasedContainer
2017-03-03 18:00:29 +01:00
Michael Keppler
2b8de2905e refactor: improve performance of StateBasedContainer
When using huge models, the getContents() call takes really big runtime.
Shorten runtime by only asking it for much faster isEmpty().

Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
2017-03-03 16:25:36 +01:00
Lorenzo Bettini
e763d9adc2 Copied Flaky into .xtext.testing
This annotation was still present in .xtext.junit4, so why not copying
that into the new .xtext.testing and then later deprecate the one in
.xtext.junit4?

Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2017-03-03 14:58:47 +01:00
Karsten Thoms
493cd3c29c Merge branch 'master' of git@github.com:eclipse/xtext-core.git 2017-03-02 04:53:26 +01:00
Karsten Thoms
2070a18a5b Fixed link to documentation
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-03-02 04:52:55 +01:00
Moritz Eysholdt
a58cdf7383 Merge pull request #295 from eclipse/me_perf2
fixed #294 improve performance of IContainerState#contains(URI)
2017-02-28 19:46:37 +01:00
Moritz Eysholdt
db5d5dde2d fixed #294 improve performance of IContainerState#contains(URI)
This change adds a default method 
boolean containsURI(String containerHandle, URI candidateURI)
to IAllContainersState, so that implementations can introduce 
a faster algorithm that leverages the internals data structures.

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-02-28 19:32:46 +01:00
Sven Efftinge
250d421868 Merge pull request #288 from eclipse/se_tracing
[code gen] Added support for tracing in code generation (#287)
2017-02-28 12:45:56 +01:00
Sven Efftinge
0ac49cb58c [tracing] changes regarding moritz’ feedback (fixes #287) 2017-02-27 16:38:35 +01:00
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
a061aa6fb1 Merge remote-tracking branch 'origin/maintenance_2.11' 2017-02-27 15:57:13 +01:00
Christian Dietrich
91415830fc Merge pull request #286 from eclipse/cd_issue284
[Wizard] Include .xtext file in jar created by gradle #284
2017-02-23 10:54:29 +01:00
Christian Dietrich
fcce289084 [Wizard] Include .xtext file in jar created by gradle #284
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-02-22 20:16:08 +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
Christian Dietrich
dc0ece7d6e Merge pull request #274 from eclipse/cd_issue273
Fixed Broken Launch Config. Resolves #273
2017-02-06 09:21:21 +01:00
Christian Dietrich
a31ea419d2 Fixed Broken Launch Config. Resolves #273
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-02-06 09:11:01 +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